@batijs/elements 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/elements/full.js +1301 -1753
  2. package/package.json +21 -29
@@ -1,856 +1,616 @@
1
- function cloneProps(props) {
2
- const propKeys = Object.keys(props);
3
- return propKeys.reduce((memo, k) => {
4
- const prop = props[k];
5
- memo[k] = Object.assign({}, prop);
6
- if (isObject(prop.value) && !isFunction(prop.value) && !Array.isArray(prop.value)) memo[k].value = Object.assign({}, prop.value);
7
- if (Array.isArray(prop.value)) memo[k].value = prop.value.slice(0);
8
- return memo;
1
+ function Ye(e) {
2
+ return Object.keys(e).reduce((r, o) => {
3
+ const i = e[o];
4
+ return r[o] = Object.assign({}, i), Se(i.value) && !Je(i.value) && !Array.isArray(i.value) && (r[o].value = Object.assign({}, i.value)), Array.isArray(i.value) && (r[o].value = i.value.slice(0)), r;
9
5
  }, {});
10
6
  }
11
-
12
- function normalizePropDefs(props) {
13
- if (!props) return {};
14
- const propKeys = Object.keys(props);
15
- return propKeys.reduce((memo, k) => {
16
- const v = props[k];
17
- memo[k] = !(isObject(v) && "value" in v) ? {
18
- value: v
19
- } : v;
20
- memo[k].attribute || (memo[k].attribute = toAttribute(k));
21
- memo[k].parse = "parse" in memo[k] ? memo[k].parse : typeof memo[k].value !== "string";
22
- return memo;
23
- }, {});
24
- }
25
- function propValues(props) {
26
- const propKeys = Object.keys(props);
27
- return propKeys.reduce((memo, k) => {
28
- memo[k] = props[k].value;
29
- return memo;
30
- }, {});
31
- }
32
- function initializeProps(element, propDefinition) {
33
- const props = cloneProps(propDefinition),
34
- propKeys = Object.keys(propDefinition);
35
- propKeys.forEach(key => {
36
- const prop = props[key],
37
- attr = element.getAttribute(prop.attribute),
38
- value = element[key];
39
- if (attr) prop.value = prop.parse ? parseAttributeValue(attr) : attr;
40
- if (value != null) prop.value = Array.isArray(value) ? value.slice(0) : value;
41
- prop.reflect && reflect(element, prop.attribute, prop.value);
42
- Object.defineProperty(element, key, {
7
+ function Xe(e) {
8
+ return e ? Object.keys(e).reduce((r, o) => {
9
+ const i = e[o];
10
+ return r[o] = Se(i) && "value" in i ? i : {
11
+ value: i
12
+ }, r[o].attribute || (r[o].attribute = We(o)), r[o].parse = "parse" in r[o] ? r[o].parse : typeof r[o].value != "string", r;
13
+ }, {}) : {};
14
+ }
15
+ function He(e) {
16
+ return Object.keys(e).reduce((r, o) => (r[o] = e[o].value, r), {});
17
+ }
18
+ function qe(e, t) {
19
+ const r = Ye(t);
20
+ return Object.keys(t).forEach((i) => {
21
+ const n = r[i], l = e.getAttribute(n.attribute), a = e[i];
22
+ l && (n.value = n.parse ? Ce(l) : l), a != null && (n.value = Array.isArray(a) ? a.slice(0) : a), n.reflect && we(e, n.attribute, n.value), Object.defineProperty(e, i, {
43
23
  get() {
44
- return prop.value;
24
+ return n.value;
45
25
  },
46
-
47
- set(val) {
48
- const oldValue = prop.value;
49
- prop.value = val;
50
- prop.reflect && reflect(this, prop.attribute, prop.value);
51
-
52
- for (let i = 0, l = this.__propertyChangedCallbacks.length; i < l; i++) {
53
- this.__propertyChangedCallbacks[i](key, val, oldValue);
54
- }
26
+ set(c) {
27
+ const u = n.value;
28
+ n.value = c, n.reflect && we(this, n.attribute, n.value);
29
+ for (let s = 0, d = this.__propertyChangedCallbacks.length; s < d; s++)
30
+ this.__propertyChangedCallbacks[s](i, c, u);
55
31
  },
56
-
57
- enumerable: true,
58
- configurable: true
32
+ enumerable: !0,
33
+ configurable: !0
59
34
  });
60
- });
61
- return props;
62
- }
63
- function parseAttributeValue(value) {
64
- if (!value) return;
65
-
66
- try {
67
- return JSON.parse(value);
68
- } catch (err) {
69
- return value;
70
- }
35
+ }), r;
36
+ }
37
+ function Ce(e) {
38
+ if (e)
39
+ try {
40
+ return JSON.parse(e);
41
+ } catch {
42
+ return e;
43
+ }
71
44
  }
72
- function reflect(node, attribute, value) {
73
- if (value == null || value === false) return node.removeAttribute(attribute);
74
- let reflect = JSON.stringify(value);
75
- node.__updating[attribute] = true;
76
- if (reflect === "true") reflect = "";
77
- node.setAttribute(attribute, reflect);
78
- Promise.resolve().then(() => delete node.__updating[attribute]);
45
+ function we(e, t, r) {
46
+ if (r == null || r === !1)
47
+ return e.removeAttribute(t);
48
+ let o = JSON.stringify(r);
49
+ e.__updating[t] = !0, o === "true" && (o = ""), e.setAttribute(t, o), Promise.resolve().then(() => delete e.__updating[t]);
79
50
  }
80
- function toAttribute(propName) {
81
- return propName.replace(/\.?([A-Z]+)/g, (x, y) => "-" + y.toLowerCase()).replace("_", "-").replace(/^-/, "");
51
+ function We(e) {
52
+ return e.replace(/\.?([A-Z]+)/g, (t, r) => "-" + r.toLowerCase()).replace("_", "-").replace(/^-/, "");
82
53
  }
83
- function isObject(obj) {
84
- return obj != null && (typeof obj === "object" || typeof obj === "function");
54
+ function Se(e) {
55
+ return e != null && (typeof e == "object" || typeof e == "function");
85
56
  }
86
- function isFunction(val) {
87
- return Object.prototype.toString.call(val) === "[object Function]";
57
+ function Je(e) {
58
+ return Object.prototype.toString.call(e) === "[object Function]";
88
59
  }
89
- function isConstructor(f) {
90
- return typeof f === "function" && f.toString().indexOf("class") === 0;
60
+ function Ge(e) {
61
+ return typeof e == "function" && e.toString().indexOf("class") === 0;
91
62
  }
92
-
93
- let currentElement;
94
- function createElementType(BaseElement, propDefinition) {
95
- const propKeys = Object.keys(propDefinition);
96
- return class CustomElement extends BaseElement {
63
+ let re;
64
+ function Qe(e, t) {
65
+ const r = Object.keys(t);
66
+ return class extends e {
97
67
  static get observedAttributes() {
98
- return propKeys.map(k => propDefinition[k].attribute);
68
+ return r.map((i) => t[i].attribute);
99
69
  }
100
-
101
70
  constructor() {
102
- super();
103
- this.__initialized = false;
104
- this.__released = false;
105
- this.__releaseCallbacks = [];
106
- this.__propertyChangedCallbacks = [];
107
- this.__updating = {};
108
- this.props = {};
71
+ super(), this.__initialized = !1, this.__released = !1, this.__releaseCallbacks = [], this.__propertyChangedCallbacks = [], this.__updating = {}, this.props = {};
109
72
  }
110
-
111
73
  connectedCallback() {
112
- if (this.__initialized) return;
113
- this.__releaseCallbacks = [];
114
- this.__propertyChangedCallbacks = [];
115
- this.__updating = {};
116
- this.props = initializeProps(this, propDefinition);
117
- const props = propValues(this.props),
118
- ComponentType = this.Component,
119
- outerElement = currentElement;
120
-
74
+ if (this.__initialized)
75
+ return;
76
+ this.__releaseCallbacks = [], this.__propertyChangedCallbacks = [], this.__updating = {}, this.props = qe(this, t);
77
+ const i = He(this.props), n = this.Component, l = re;
121
78
  try {
122
- currentElement = this;
123
- this.__initialized = true;
124
- if (isConstructor(ComponentType)) new ComponentType(props, {
79
+ re = this, this.__initialized = !0, Ge(n) ? new n(i, {
125
80
  element: this
126
- });else ComponentType(props, {
81
+ }) : n(i, {
127
82
  element: this
128
83
  });
129
84
  } finally {
130
- currentElement = outerElement;
85
+ re = l;
131
86
  }
132
87
  }
133
-
134
88
  async disconnectedCallback() {
135
- // prevent premature releasing when element is only temporarely removed from DOM
136
- await Promise.resolve();
137
- if (this.isConnected) return;
89
+ if (await Promise.resolve(), this.isConnected)
90
+ return;
138
91
  this.__propertyChangedCallbacks.length = 0;
139
- let callback = null;
140
-
141
- while (callback = this.__releaseCallbacks.pop()) callback(this);
142
-
143
- delete this.__initialized;
144
- this.__released = true;
92
+ let i = null;
93
+ for (; i = this.__releaseCallbacks.pop(); )
94
+ i(this);
95
+ delete this.__initialized, this.__released = !0;
145
96
  }
146
-
147
- attributeChangedCallback(name, oldVal, newVal) {
148
- if (!this.__initialized) return;
149
- if (this.__updating[name]) return;
150
- name = this.lookupProp(name);
151
-
152
- if (name in propDefinition) {
153
- if (newVal == null && !this[name]) return;
154
- this[name] = propDefinition[name].parse ? parseAttributeValue(newVal) : newVal;
97
+ attributeChangedCallback(i, n, l) {
98
+ if (this.__initialized && !this.__updating[i] && (i = this.lookupProp(i), i in t)) {
99
+ if (l == null && !this[i])
100
+ return;
101
+ this[i] = t[i].parse ? Ce(l) : l;
155
102
  }
156
103
  }
157
-
158
- lookupProp(attrName) {
159
- if (!propDefinition) return;
160
- return propKeys.find(k => attrName === k || attrName === propDefinition[k].attribute);
104
+ lookupProp(i) {
105
+ if (t)
106
+ return r.find((n) => i === n || i === t[n].attribute);
161
107
  }
162
-
163
108
  get renderRoot() {
164
109
  return this.shadowRoot || this.attachShadow({
165
110
  mode: "open"
166
111
  });
167
112
  }
168
-
169
- addReleaseCallback(fn) {
170
- this.__releaseCallbacks.push(fn);
113
+ addReleaseCallback(i) {
114
+ this.__releaseCallbacks.push(i);
171
115
  }
172
-
173
- addPropertyChangedCallback(fn) {
174
- this.__propertyChangedCallbacks.push(fn);
116
+ addPropertyChangedCallback(i) {
117
+ this.__propertyChangedCallbacks.push(i);
175
118
  }
176
-
177
119
  };
178
120
  }
179
-
180
- function register(tag, props = {}, options = {}) {
121
+ function Ze(e, t = {}, r = {}) {
181
122
  const {
182
- BaseElement = HTMLElement,
183
- extension
184
- } = options;
185
- return ComponentType => {
186
- if (!tag) throw new Error("tag is required to register a Component");
187
- let ElementType = customElements.get(tag);
188
-
189
- if (ElementType) {
190
- // Consider disabling this in a production mode
191
- ElementType.prototype.Component = ComponentType;
192
- return ElementType;
193
- }
194
-
195
- ElementType = createElementType(BaseElement, normalizePropDefs(props));
196
- ElementType.prototype.Component = ComponentType;
197
- ElementType.prototype.registeredTag = tag;
198
- customElements.define(tag, ElementType, extension);
199
- return ElementType;
123
+ BaseElement: o = HTMLElement,
124
+ extension: i
125
+ } = r;
126
+ return (n) => {
127
+ if (!e)
128
+ throw new Error("tag is required to register a Component");
129
+ let l = customElements.get(e);
130
+ return l ? (l.prototype.Component = n, l) : (l = Qe(o, Xe(t)), l.prototype.Component = n, l.prototype.registeredTag = e, customElements.define(e, l, i), l);
200
131
  };
201
132
  }
202
-
203
- const sharedConfig = {
204
- context: undefined,
205
- registry: undefined
206
- };
207
-
208
- const equalFn = (a, b) => a === b;
209
- const $PROXY = Symbol("solid-proxy");
210
- const $TRACK = Symbol("solid-track");
211
- const signalOptions = {
212
- equals: equalFn
133
+ const et = (e, t) => e === t, S = Symbol("solid-proxy"), ne = Symbol("solid-track"), Y = {
134
+ equals: et
213
135
  };
214
- let runEffects = runQueue;
215
- const STALE = 1;
216
- const PENDING = 2;
217
- const UNOWNED = {
136
+ let Ae = Le;
137
+ const E = 1, X = 2, $e = {
218
138
  owned: null,
219
139
  cleanups: null,
220
140
  context: null,
221
141
  owner: null
222
142
  };
223
- var Owner = null;
224
- let Transition = null;
225
- let Listener = null;
226
- let Updates = null;
227
- let Effects = null;
228
- let ExecCount = 0;
229
- function createRoot(fn, detachedOwner) {
230
- const listener = Listener,
231
- owner = Owner,
232
- unowned = fn.length === 0,
233
- root = unowned ? UNOWNED : {
234
- owned: null,
235
- cleanups: null,
236
- context: null,
237
- owner: detachedOwner === undefined ? owner : detachedOwner
238
- },
239
- updateFn = unowned ? fn : () => fn(() => untrack(() => cleanNode(root)));
240
- Owner = root;
241
- Listener = null;
143
+ var h = null;
144
+ let oe = null, p = null, y = null, O = null, Z = 0;
145
+ function M(e, t) {
146
+ const r = p, o = h, i = e.length === 0, n = i ? $e : {
147
+ owned: null,
148
+ cleanups: null,
149
+ context: null,
150
+ owner: t === void 0 ? o : t
151
+ }, l = i ? e : () => e(() => A(() => ee(n)));
152
+ h = n, p = null;
242
153
  try {
243
- return runUpdates(updateFn, true);
154
+ return F(l, !0);
244
155
  } finally {
245
- Listener = listener;
246
- Owner = owner;
156
+ p = r, h = o;
247
157
  }
248
158
  }
249
- function createSignal(value, options) {
250
- options = options ? Object.assign({}, signalOptions, options) : signalOptions;
251
- const s = {
252
- value,
159
+ function K(e, t) {
160
+ t = t ? Object.assign({}, Y, t) : Y;
161
+ const r = {
162
+ value: e,
253
163
  observers: null,
254
164
  observerSlots: null,
255
- comparator: options.equals || undefined
256
- };
257
- const setter = value => {
258
- if (typeof value === "function") {
259
- value = value(s.value);
260
- }
261
- return writeSignal(s, value);
262
- };
263
- return [readSignal.bind(s), setter];
264
- }
265
- function createRenderEffect(fn, value, options) {
266
- const c = createComputation(fn, value, false, STALE);
267
- updateComputation(c);
268
- }
269
- function createMemo(fn, value, options) {
270
- options = options ? Object.assign({}, signalOptions, options) : signalOptions;
271
- const c = createComputation(fn, value, true, 0);
272
- c.observers = null;
273
- c.observerSlots = null;
274
- c.comparator = options.equals || undefined;
275
- updateComputation(c);
276
- return readSignal.bind(c);
277
- }
278
- function batch(fn) {
279
- return runUpdates(fn, false);
280
- }
281
- function untrack(fn) {
282
- if (Listener === null) return fn();
283
- const listener = Listener;
284
- Listener = null;
165
+ comparator: t.equals || void 0
166
+ }, o = (i) => (typeof i == "function" && (i = i(r.value)), Ne(r, i));
167
+ return [ze.bind(r), o];
168
+ }
169
+ function x(e, t, r) {
170
+ const o = be(e, t, !1, E);
171
+ R(o);
172
+ }
173
+ function tt(e, t, r) {
174
+ Ae = at;
175
+ const o = be(e, t, !1, E);
176
+ (!r || !r.render) && (o.user = !0), O ? O.push(o) : R(o);
177
+ }
178
+ function C(e, t, r) {
179
+ r = r ? Object.assign({}, Y, r) : Y;
180
+ const o = be(e, t, !0, 0);
181
+ return o.observers = null, o.observerSlots = null, o.comparator = r.equals || void 0, R(o), ze.bind(o);
182
+ }
183
+ function Oe(e) {
184
+ return F(e, !1);
185
+ }
186
+ function A(e) {
187
+ if (p === null)
188
+ return e();
189
+ const t = p;
190
+ p = null;
285
191
  try {
286
- return fn();
192
+ return e();
287
193
  } finally {
288
- Listener = listener;
194
+ p = t;
289
195
  }
290
196
  }
291
- function onCleanup(fn) {
292
- if (Owner === null) ;else if (Owner.cleanups === null) Owner.cleanups = [fn];else Owner.cleanups.push(fn);
293
- return fn;
197
+ function rt(e, t, r) {
198
+ const o = Array.isArray(e);
199
+ let i, n = r && r.defer;
200
+ return (l) => {
201
+ let a;
202
+ if (o) {
203
+ a = Array(e.length);
204
+ for (let u = 0; u < e.length; u++)
205
+ a[u] = e[u]();
206
+ } else
207
+ a = e();
208
+ if (n) {
209
+ n = !1;
210
+ return;
211
+ }
212
+ const c = A(() => t(a, i, l));
213
+ return i = a, c;
214
+ };
215
+ }
216
+ function Pe(e) {
217
+ return h === null || (h.cleanups === null ? h.cleanups = [e] : h.cleanups.push(e)), e;
294
218
  }
295
- function getListener() {
296
- return Listener;
219
+ function Ee() {
220
+ return p;
297
221
  }
298
- function createContext(defaultValue, options) {
299
- const id = Symbol("context");
222
+ function ot(e, t) {
223
+ const r = Symbol("context");
300
224
  return {
301
- id,
302
- Provider: createProvider(id),
303
- defaultValue
225
+ id: r,
226
+ Provider: ct(r),
227
+ defaultValue: e
304
228
  };
305
229
  }
306
- function useContext(context) {
307
- let ctx;
308
- return (ctx = lookup(Owner, context.id)) !== undefined ? ctx : context.defaultValue;
309
- }
310
- function children(fn) {
311
- const children = createMemo(fn);
312
- const memo = createMemo(() => resolveChildren(children()));
313
- memo.toArray = () => {
314
- const c = memo();
315
- return Array.isArray(c) ? c : c != null ? [c] : [];
316
- };
317
- return memo;
318
- }
319
- function readSignal() {
320
- if (this.sources && (this.state)) {
321
- if ((this.state) === STALE) updateComputation(this);else {
322
- const updates = Updates;
323
- Updates = null;
324
- runUpdates(() => lookUpstream(this), false);
325
- Updates = updates;
326
- }
327
- }
328
- if (Listener) {
329
- const sSlot = this.observers ? this.observers.length : 0;
330
- if (!Listener.sources) {
331
- Listener.sources = [this];
332
- Listener.sourceSlots = [sSlot];
333
- } else {
334
- Listener.sources.push(this);
335
- Listener.sourceSlots.push(sSlot);
336
- }
337
- if (!this.observers) {
338
- this.observers = [Listener];
339
- this.observerSlots = [Listener.sources.length - 1];
340
- } else {
341
- this.observers.push(Listener);
342
- this.observerSlots.push(Listener.sources.length - 1);
230
+ function fe(e) {
231
+ let t;
232
+ return (t = Be(h, e.id)) !== void 0 ? t : e.defaultValue;
233
+ }
234
+ function it(e) {
235
+ const t = C(e), r = C(() => le(t()));
236
+ return r.toArray = () => {
237
+ const o = r();
238
+ return Array.isArray(o) ? o : o != null ? [o] : [];
239
+ }, r;
240
+ }
241
+ function ze() {
242
+ if (this.sources && this.state)
243
+ if (this.state === E)
244
+ R(this);
245
+ else {
246
+ const e = y;
247
+ y = null, F(() => q(this), !1), y = e;
343
248
  }
249
+ if (p) {
250
+ const e = this.observers ? this.observers.length : 0;
251
+ p.sources ? (p.sources.push(this), p.sourceSlots.push(e)) : (p.sources = [this], p.sourceSlots = [e]), this.observers ? (this.observers.push(p), this.observerSlots.push(p.sources.length - 1)) : (this.observers = [p], this.observerSlots = [p.sources.length - 1]);
344
252
  }
345
253
  return this.value;
346
254
  }
347
- function writeSignal(node, value, isComp) {
348
- let current = node.value;
349
- if (!node.comparator || !node.comparator(current, value)) {
350
- node.value = value;
351
- if (node.observers && node.observers.length) {
352
- runUpdates(() => {
353
- for (let i = 0; i < node.observers.length; i += 1) {
354
- const o = node.observers[i];
355
- const TransitionRunning = Transition && Transition.running;
356
- if (TransitionRunning && Transition.disposed.has(o)) ;
357
- if (TransitionRunning ? !o.tState : !o.state) {
358
- if (o.pure) Updates.push(o);else Effects.push(o);
359
- if (o.observers) markDownstream(o);
360
- }
361
- if (!TransitionRunning) o.state = STALE;
362
- }
363
- if (Updates.length > 10e5) {
364
- Updates = [];
365
- if (false) ;
366
- throw new Error();
367
- }
368
- }, false);
255
+ function Ne(e, t, r) {
256
+ let o = e.value;
257
+ return (!e.comparator || !e.comparator(o, t)) && (e.value = t, e.observers && e.observers.length && F(() => {
258
+ for (let i = 0; i < e.observers.length; i += 1) {
259
+ const n = e.observers[i], l = oe && oe.running;
260
+ l && oe.disposed.has(n), (l ? !n.tState : !n.state) && (n.pure ? y.push(n) : O.push(n), n.observers && Te(n)), l || (n.state = E);
369
261
  }
370
- }
371
- return value;
372
- }
373
- function updateComputation(node) {
374
- if (!node.fn) return;
375
- cleanNode(node);
376
- const owner = Owner,
377
- listener = Listener,
378
- time = ExecCount;
379
- Listener = Owner = node;
380
- runComputation(node, node.value, time);
381
- Listener = listener;
382
- Owner = owner;
383
- }
384
- function runComputation(node, value, time) {
385
- let nextValue;
262
+ if (y.length > 1e6)
263
+ throw y = [], new Error();
264
+ }, !1)), t;
265
+ }
266
+ function R(e) {
267
+ if (!e.fn)
268
+ return;
269
+ ee(e);
270
+ const t = h, r = p, o = Z;
271
+ p = h = e, nt(e, e.value, o), p = r, h = t;
272
+ }
273
+ function nt(e, t, r) {
274
+ let o;
386
275
  try {
387
- nextValue = node.fn(value);
388
- } catch (err) {
389
- if (node.pure) {
390
- {
391
- node.state = STALE;
392
- node.owned && node.owned.forEach(cleanNode);
393
- node.owned = null;
394
- }
395
- }
396
- node.updatedAt = time + 1;
397
- return handleError(err);
398
- }
399
- if (!node.updatedAt || node.updatedAt <= time) {
400
- if (node.updatedAt != null && "observers" in node) {
401
- writeSignal(node, nextValue);
402
- } else node.value = nextValue;
403
- node.updatedAt = time;
276
+ o = e.fn(t);
277
+ } catch (i) {
278
+ return e.pure && (e.state = E, e.owned && e.owned.forEach(ee), e.owned = null), e.updatedAt = r + 1, Fe(i);
404
279
  }
280
+ (!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? Ne(e, o) : e.value = o, e.updatedAt = r);
405
281
  }
406
- function createComputation(fn, init, pure, state = STALE, options) {
407
- const c = {
408
- fn,
409
- state: state,
282
+ function be(e, t, r, o = E, i) {
283
+ const n = {
284
+ fn: e,
285
+ state: o,
410
286
  updatedAt: null,
411
287
  owned: null,
412
288
  sources: null,
413
289
  sourceSlots: null,
414
290
  cleanups: null,
415
- value: init,
416
- owner: Owner,
291
+ value: t,
292
+ owner: h,
417
293
  context: null,
418
- pure
294
+ pure: r
419
295
  };
420
- if (Owner === null) ;else if (Owner !== UNOWNED) {
421
- {
422
- if (!Owner.owned) Owner.owned = [c];else Owner.owned.push(c);
296
+ return h === null || h !== $e && (h.owned ? h.owned.push(n) : h.owned = [n]), n;
297
+ }
298
+ function H(e) {
299
+ if (e.state === 0)
300
+ return;
301
+ if (e.state === X)
302
+ return q(e);
303
+ if (e.suspense && A(e.suspense.inFallback))
304
+ return e.suspense.effects.push(e);
305
+ const t = [e];
306
+ for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Z); )
307
+ e.state && t.push(e);
308
+ for (let r = t.length - 1; r >= 0; r--)
309
+ if (e = t[r], e.state === E)
310
+ R(e);
311
+ else if (e.state === X) {
312
+ const o = y;
313
+ y = null, F(() => q(e, t[0]), !1), y = o;
423
314
  }
424
- }
425
- return c;
426
- }
427
- function runTop(node) {
428
- if ((node.state) === 0) return;
429
- if ((node.state) === PENDING) return lookUpstream(node);
430
- if (node.suspense && untrack(node.suspense.inFallback)) return node.suspense.effects.push(node);
431
- const ancestors = [node];
432
- while ((node = node.owner) && (!node.updatedAt || node.updatedAt < ExecCount)) {
433
- if (node.state) ancestors.push(node);
434
- }
435
- for (let i = ancestors.length - 1; i >= 0; i--) {
436
- node = ancestors[i];
437
- if ((node.state) === STALE) {
438
- updateComputation(node);
439
- } else if ((node.state) === PENDING) {
440
- const updates = Updates;
441
- Updates = null;
442
- runUpdates(() => lookUpstream(node, ancestors[0]), false);
443
- Updates = updates;
444
- }
445
- }
446
315
  }
447
- function runUpdates(fn, init) {
448
- if (Updates) return fn();
449
- let wait = false;
450
- if (!init) Updates = [];
451
- if (Effects) wait = true;else Effects = [];
452
- ExecCount++;
316
+ function F(e, t) {
317
+ if (y)
318
+ return e();
319
+ let r = !1;
320
+ t || (y = []), O ? r = !0 : O = [], Z++;
453
321
  try {
454
- const res = fn();
455
- completeUpdates(wait);
456
- return res;
457
- } catch (err) {
458
- if (!wait) Effects = null;
459
- Updates = null;
460
- handleError(err);
322
+ const o = e();
323
+ return lt(r), o;
324
+ } catch (o) {
325
+ r || (O = null), y = null, Fe(o);
461
326
  }
462
327
  }
463
- function completeUpdates(wait) {
464
- if (Updates) {
465
- runQueue(Updates);
466
- Updates = null;
328
+ function lt(e) {
329
+ if (y && (Le(y), y = null), e)
330
+ return;
331
+ const t = O;
332
+ O = null, t.length && F(() => Ae(t), !1);
333
+ }
334
+ function Le(e) {
335
+ for (let t = 0; t < e.length; t++)
336
+ H(e[t]);
337
+ }
338
+ function at(e) {
339
+ let t, r = 0;
340
+ for (t = 0; t < e.length; t++) {
341
+ const o = e[t];
342
+ o.user ? e[r++] = o : H(o);
467
343
  }
468
- if (wait) return;
469
- const e = Effects;
470
- Effects = null;
471
- if (e.length) runUpdates(() => runEffects(e), false);
472
- }
473
- function runQueue(queue) {
474
- for (let i = 0; i < queue.length; i++) runTop(queue[i]);
475
- }
476
- function lookUpstream(node, ignore) {
477
- node.state = 0;
478
- for (let i = 0; i < node.sources.length; i += 1) {
479
- const source = node.sources[i];
480
- if (source.sources) {
481
- const state = source.state;
482
- if (state === STALE) {
483
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
484
- } else if (state === PENDING) lookUpstream(source, ignore);
344
+ for (t = 0; t < r; t++)
345
+ H(e[t]);
346
+ }
347
+ function q(e, t) {
348
+ e.state = 0;
349
+ for (let r = 0; r < e.sources.length; r += 1) {
350
+ const o = e.sources[r];
351
+ if (o.sources) {
352
+ const i = o.state;
353
+ i === E ? o !== t && (!o.updatedAt || o.updatedAt < Z) && H(o) : i === X && q(o, t);
485
354
  }
486
355
  }
487
356
  }
488
- function markDownstream(node) {
489
- for (let i = 0; i < node.observers.length; i += 1) {
490
- const o = node.observers[i];
491
- if (!o.state) {
492
- o.state = PENDING;
493
- if (o.pure) Updates.push(o);else Effects.push(o);
494
- o.observers && markDownstream(o);
495
- }
357
+ function Te(e) {
358
+ for (let t = 0; t < e.observers.length; t += 1) {
359
+ const r = e.observers[t];
360
+ r.state || (r.state = X, r.pure ? y.push(r) : O.push(r), r.observers && Te(r));
496
361
  }
497
362
  }
498
- function cleanNode(node) {
499
- let i;
500
- if (node.sources) {
501
- while (node.sources.length) {
502
- const source = node.sources.pop(),
503
- index = node.sourceSlots.pop(),
504
- obs = source.observers;
505
- if (obs && obs.length) {
506
- const n = obs.pop(),
507
- s = source.observerSlots.pop();
508
- if (index < obs.length) {
509
- n.sourceSlots[s] = index;
510
- obs[index] = n;
511
- source.observerSlots[index] = s;
512
- }
363
+ function ee(e) {
364
+ let t;
365
+ if (e.sources)
366
+ for (; e.sources.length; ) {
367
+ const r = e.sources.pop(), o = e.sourceSlots.pop(), i = r.observers;
368
+ if (i && i.length) {
369
+ const n = i.pop(), l = r.observerSlots.pop();
370
+ o < i.length && (n.sourceSlots[l] = o, i[o] = n, r.observerSlots[o] = l);
513
371
  }
514
372
  }
373
+ if (e.owned) {
374
+ for (t = e.owned.length - 1; t >= 0; t--)
375
+ ee(e.owned[t]);
376
+ e.owned = null;
515
377
  }
516
- if (node.owned) {
517
- for (i = node.owned.length - 1; i >= 0; i--) cleanNode(node.owned[i]);
518
- node.owned = null;
519
- }
520
- if (node.cleanups) {
521
- for (i = node.cleanups.length - 1; i >= 0; i--) node.cleanups[i]();
522
- node.cleanups = null;
378
+ if (e.cleanups) {
379
+ for (t = e.cleanups.length - 1; t >= 0; t--)
380
+ e.cleanups[t]();
381
+ e.cleanups = null;
523
382
  }
524
- node.state = 0;
525
- node.context = null;
526
- }
527
- function handleError(err) {
528
- throw err;
529
- }
530
- function lookup(owner, key) {
531
- return owner ? owner.context && owner.context[key] !== undefined ? owner.context[key] : lookup(owner.owner, key) : undefined;
532
- }
533
- function resolveChildren(children) {
534
- if (typeof children === "function" && !children.length) return resolveChildren(children());
535
- if (Array.isArray(children)) {
536
- const results = [];
537
- for (let i = 0; i < children.length; i++) {
538
- const result = resolveChildren(children[i]);
539
- Array.isArray(result) ? results.push.apply(results, result) : results.push(result);
383
+ e.state = 0, e.context = null;
384
+ }
385
+ function st(e) {
386
+ return e instanceof Error ? e : new Error(typeof e == "string" ? e : "Unknown error", {
387
+ cause: e
388
+ });
389
+ }
390
+ function Fe(e, t = h) {
391
+ throw st(e);
392
+ }
393
+ function Be(e, t) {
394
+ return e ? e.context && e.context[t] !== void 0 ? e.context[t] : Be(e.owner, t) : void 0;
395
+ }
396
+ function le(e) {
397
+ if (typeof e == "function" && !e.length)
398
+ return le(e());
399
+ if (Array.isArray(e)) {
400
+ const t = [];
401
+ for (let r = 0; r < e.length; r++) {
402
+ const o = le(e[r]);
403
+ Array.isArray(o) ? t.push.apply(t, o) : t.push(o);
540
404
  }
541
- return results;
405
+ return t;
542
406
  }
543
- return children;
544
- }
545
- function createProvider(id, options) {
546
- return function provider(props) {
547
- let res;
548
- createRenderEffect(() => res = untrack(() => {
549
- Owner.context = {
550
- [id]: props.value
551
- };
552
- return children(() => props.children);
553
- }), undefined);
554
- return res;
407
+ return e;
408
+ }
409
+ function ct(e, t) {
410
+ return function(o) {
411
+ let i;
412
+ return x(() => i = A(() => (h.context = {
413
+ [e]: o.value
414
+ }, it(() => o.children))), void 0), i;
555
415
  };
556
416
  }
557
-
558
- const FALLBACK = Symbol("fallback");
559
- function dispose(d) {
560
- for (let i = 0; i < d.length; i++) d[i]();
561
- }
562
- function mapArray(list, mapFn, options = {}) {
563
- let items = [],
564
- mapped = [],
565
- disposers = [],
566
- len = 0,
567
- indexes = mapFn.length > 1 ? [] : null;
568
- onCleanup(() => dispose(disposers));
569
- return () => {
570
- let newItems = list() || [],
571
- i,
572
- j;
573
- newItems[$TRACK];
574
- return untrack(() => {
575
- let newLen = newItems.length,
576
- newIndices,
577
- newIndicesNext,
578
- temp,
579
- tempdisposers,
580
- tempIndexes,
581
- start,
582
- end,
583
- newEnd,
584
- item;
585
- if (newLen === 0) {
586
- if (len !== 0) {
587
- dispose(disposers);
588
- disposers = [];
589
- items = [];
590
- mapped = [];
591
- len = 0;
592
- indexes && (indexes = []);
593
- }
594
- if (options.fallback) {
595
- items = [FALLBACK];
596
- mapped[0] = createRoot(disposer => {
597
- disposers[0] = disposer;
598
- return options.fallback();
599
- });
600
- len = 1;
601
- }
602
- }
603
- else if (len === 0) {
604
- mapped = new Array(newLen);
605
- for (j = 0; j < newLen; j++) {
606
- items[j] = newItems[j];
607
- mapped[j] = createRoot(mapper);
608
- }
609
- len = newLen;
417
+ const dt = Symbol("fallback");
418
+ function me(e) {
419
+ for (let t = 0; t < e.length; t++)
420
+ e[t]();
421
+ }
422
+ function ut(e, t, r = {}) {
423
+ let o = [], i = [], n = [], l = 0, a = t.length > 1 ? [] : null;
424
+ return Pe(() => me(n)), () => {
425
+ let c = e() || [], u, s;
426
+ return c[ne], A(() => {
427
+ let f = c.length, b, w, j, _, z, k, v, $, N;
428
+ if (f === 0)
429
+ l !== 0 && (me(n), n = [], o = [], i = [], l = 0, a && (a = [])), r.fallback && (o = [dt], i[0] = M((Me) => (n[0] = Me, r.fallback())), l = 1);
430
+ else if (l === 0) {
431
+ for (i = new Array(f), s = 0; s < f; s++)
432
+ o[s] = c[s], i[s] = M(d);
433
+ l = f;
610
434
  } else {
611
- temp = new Array(newLen);
612
- tempdisposers = new Array(newLen);
613
- indexes && (tempIndexes = new Array(newLen));
614
- for (start = 0, end = Math.min(len, newLen); start < end && items[start] === newItems[start]; start++);
615
- for (end = len - 1, newEnd = newLen - 1; end >= start && newEnd >= start && items[end] === newItems[newEnd]; end--, newEnd--) {
616
- temp[newEnd] = mapped[end];
617
- tempdisposers[newEnd] = disposers[end];
618
- indexes && (tempIndexes[newEnd] = indexes[end]);
619
- }
620
- newIndices = new Map();
621
- newIndicesNext = new Array(newEnd + 1);
622
- for (j = newEnd; j >= start; j--) {
623
- item = newItems[j];
624
- i = newIndices.get(item);
625
- newIndicesNext[j] = i === undefined ? -1 : i;
626
- newIndices.set(item, j);
627
- }
628
- for (i = start; i <= end; i++) {
629
- item = items[i];
630
- j = newIndices.get(item);
631
- if (j !== undefined && j !== -1) {
632
- temp[j] = mapped[i];
633
- tempdisposers[j] = disposers[i];
634
- indexes && (tempIndexes[j] = indexes[i]);
635
- j = newIndicesNext[j];
636
- newIndices.set(item, j);
637
- } else disposers[i]();
638
- }
639
- for (j = start; j < newLen; j++) {
640
- if (j in temp) {
641
- mapped[j] = temp[j];
642
- disposers[j] = tempdisposers[j];
643
- if (indexes) {
644
- indexes[j] = tempIndexes[j];
645
- indexes[j](j);
646
- }
647
- } else mapped[j] = createRoot(mapper);
648
- }
649
- mapped = mapped.slice(0, len = newLen);
650
- items = newItems.slice(0);
435
+ for (j = new Array(f), _ = new Array(f), a && (z = new Array(f)), k = 0, v = Math.min(l, f); k < v && o[k] === c[k]; k++)
436
+ ;
437
+ for (v = l - 1, $ = f - 1; v >= k && $ >= k && o[v] === c[$]; v--, $--)
438
+ j[$] = i[v], _[$] = n[v], a && (z[$] = a[v]);
439
+ for (b = /* @__PURE__ */ new Map(), w = new Array($ + 1), s = $; s >= k; s--)
440
+ N = c[s], u = b.get(N), w[s] = u === void 0 ? -1 : u, b.set(N, s);
441
+ for (u = k; u <= v; u++)
442
+ N = o[u], s = b.get(N), s !== void 0 && s !== -1 ? (j[s] = i[u], _[s] = n[u], a && (z[s] = a[u]), s = w[s], b.set(N, s)) : n[u]();
443
+ for (s = k; s < f; s++)
444
+ s in j ? (i[s] = j[s], n[s] = _[s], a && (a[s] = z[s], a[s](s))) : i[s] = M(d);
445
+ i = i.slice(0, l = f), o = c.slice(0);
651
446
  }
652
- return mapped;
447
+ return i;
653
448
  });
654
- function mapper(disposer) {
655
- disposers[j] = disposer;
656
- if (indexes) {
657
- const [s, set] = createSignal(j);
658
- indexes[j] = set;
659
- return mapFn(newItems[j], s);
449
+ function d(f) {
450
+ if (n[s] = f, a) {
451
+ const [b, w] = K(s);
452
+ return a[s] = w, t(c[s], b);
660
453
  }
661
- return mapFn(newItems[j]);
454
+ return t(c[s]);
662
455
  }
663
456
  };
664
457
  }
665
- function createComponent(Comp, props) {
666
- return untrack(() => Comp(props || {}));
458
+ function m(e, t) {
459
+ return A(() => e(t || {}));
667
460
  }
668
- function trueFn() {
669
- return true;
461
+ function U() {
462
+ return !0;
670
463
  }
671
- const propTraps = {
672
- get(_, property, receiver) {
673
- if (property === $PROXY) return receiver;
674
- return _.get(property);
464
+ const ae = {
465
+ get(e, t, r) {
466
+ return t === S ? r : e.get(t);
675
467
  },
676
- has(_, property) {
677
- if (property === $PROXY) return true;
678
- return _.has(property);
468
+ has(e, t) {
469
+ return t === S ? !0 : e.has(t);
679
470
  },
680
- set: trueFn,
681
- deleteProperty: trueFn,
682
- getOwnPropertyDescriptor(_, property) {
471
+ set: U,
472
+ deleteProperty: U,
473
+ getOwnPropertyDescriptor(e, t) {
683
474
  return {
684
- configurable: true,
685
- enumerable: true,
475
+ configurable: !0,
476
+ enumerable: !0,
686
477
  get() {
687
- return _.get(property);
478
+ return e.get(t);
688
479
  },
689
- set: trueFn,
690
- deleteProperty: trueFn
480
+ set: U,
481
+ deleteProperty: U
691
482
  };
692
483
  },
693
- ownKeys(_) {
694
- return _.keys();
484
+ ownKeys(e) {
485
+ return e.keys();
695
486
  }
696
487
  };
697
- function resolveSource(s) {
698
- return !(s = typeof s === "function" ? s() : s) ? {} : s;
699
- }
700
- function resolveSources() {
701
- for (let i = 0, length = this.length; i < length; ++i) {
702
- const v = this[i]();
703
- if (v !== undefined) return v;
488
+ function ie(e) {
489
+ return (e = typeof e == "function" ? e() : e) ? e : {};
490
+ }
491
+ function ft() {
492
+ for (let e = 0, t = this.length; e < t; ++e) {
493
+ const r = this[e]();
494
+ if (r !== void 0)
495
+ return r;
704
496
  }
705
497
  }
706
- function mergeProps(...sources) {
707
- let proxy = false;
708
- for (let i = 0; i < sources.length; i++) {
709
- const s = sources[i];
710
- proxy = proxy || !!s && $PROXY in s;
711
- sources[i] = typeof s === "function" ? (proxy = true, createMemo(s)) : s;
498
+ function bt(...e) {
499
+ let t = !1;
500
+ for (let n = 0; n < e.length; n++) {
501
+ const l = e[n];
502
+ t = t || !!l && S in l, e[n] = typeof l == "function" ? (t = !0, C(l)) : l;
712
503
  }
713
- if (proxy) {
504
+ if (t)
714
505
  return new Proxy({
715
- get(property) {
716
- for (let i = sources.length - 1; i >= 0; i--) {
717
- const v = resolveSource(sources[i])[property];
718
- if (v !== undefined) return v;
506
+ get(n) {
507
+ for (let l = e.length - 1; l >= 0; l--) {
508
+ const a = ie(e[l])[n];
509
+ if (a !== void 0)
510
+ return a;
719
511
  }
720
512
  },
721
- has(property) {
722
- for (let i = sources.length - 1; i >= 0; i--) {
723
- if (property in resolveSource(sources[i])) return true;
724
- }
725
- return false;
513
+ has(n) {
514
+ for (let l = e.length - 1; l >= 0; l--)
515
+ if (n in ie(e[l]))
516
+ return !0;
517
+ return !1;
726
518
  },
727
519
  keys() {
728
- const keys = [];
729
- for (let i = 0; i < sources.length; i++) keys.push(...Object.keys(resolveSource(sources[i])));
730
- return [...new Set(keys)];
520
+ const n = [];
521
+ for (let l = 0; l < e.length; l++)
522
+ n.push(...Object.keys(ie(e[l])));
523
+ return [...new Set(n)];
731
524
  }
732
- }, propTraps);
733
- }
734
- const target = {};
735
- const sourcesMap = {};
736
- let someNonTargetKey = false;
737
- for (let i = sources.length - 1; i >= 0; i--) {
738
- const source = sources[i];
739
- if (!source) continue;
740
- const sourceKeys = Object.getOwnPropertyNames(source);
741
- someNonTargetKey = someNonTargetKey || i !== 0 && !!sourceKeys.length;
742
- for (let i = 0, length = sourceKeys.length; i < length; i++) {
743
- const key = sourceKeys[i];
744
- if (key === "__proto__" || key === "constructor") {
525
+ }, ae);
526
+ const r = {}, o = {}, i = /* @__PURE__ */ new Set();
527
+ for (let n = e.length - 1; n >= 0; n--) {
528
+ const l = e[n];
529
+ if (!l)
530
+ continue;
531
+ const a = Object.getOwnPropertyNames(l);
532
+ for (let c = 0, u = a.length; c < u; c++) {
533
+ const s = a[c];
534
+ if (s === "__proto__" || s === "constructor")
745
535
  continue;
746
- } else if (!(key in target)) {
747
- const desc = Object.getOwnPropertyDescriptor(source, key);
748
- if (desc.get) {
749
- Object.defineProperty(target, key, {
750
- enumerable: true,
751
- configurable: true,
752
- get: resolveSources.bind(sourcesMap[key] = [desc.get.bind(source)])
753
- });
754
- } else target[key] = desc.value;
755
- } else {
756
- const sources = sourcesMap[key];
757
- const desc = Object.getOwnPropertyDescriptor(source, key);
758
- if (sources) {
759
- if (desc.get) {
760
- sources.push(desc.get.bind(source));
761
- } else if (desc.value !== undefined) {
762
- sources.push(() => desc.value);
763
- }
764
- } else if (target[key] === undefined) target[key] = desc.value;
536
+ const d = Object.getOwnPropertyDescriptor(l, s);
537
+ if (!i.has(s))
538
+ d.get ? (i.add(s), Object.defineProperty(r, s, {
539
+ enumerable: !0,
540
+ configurable: !0,
541
+ get: ft.bind(o[s] = [d.get.bind(l)])
542
+ })) : (d.value !== void 0 && i.add(s), r[s] = d.value);
543
+ else {
544
+ const f = o[s];
545
+ f ? d.get ? f.push(d.get.bind(l)) : d.value !== void 0 && f.push(() => d.value) : r[s] === void 0 && (r[s] = d.value);
765
546
  }
766
547
  }
767
548
  }
768
- return target;
769
- }
770
- function splitProps(props, ...keys) {
771
- if ($PROXY in props) {
772
- const blocked = new Set(keys.length > 1 ? keys.flat() : keys[0]);
773
- const res = keys.map(k => {
774
- return new Proxy({
775
- get(property) {
776
- return k.includes(property) ? props[property] : undefined;
777
- },
778
- has(property) {
779
- return k.includes(property) && property in props;
780
- },
781
- keys() {
782
- return k.filter(property => property in props);
783
- }
784
- }, propTraps);
785
- });
786
- res.push(new Proxy({
787
- get(property) {
788
- return blocked.has(property) ? undefined : props[property];
549
+ return r;
550
+ }
551
+ function pt(e, ...t) {
552
+ if (S in e) {
553
+ const i = new Set(t.length > 1 ? t.flat() : t[0]), n = t.map((l) => new Proxy({
554
+ get(a) {
555
+ return l.includes(a) ? e[a] : void 0;
789
556
  },
790
- has(property) {
791
- return blocked.has(property) ? false : property in props;
557
+ has(a) {
558
+ return l.includes(a) && a in e;
792
559
  },
793
560
  keys() {
794
- return Object.keys(props).filter(k => !blocked.has(k));
561
+ return l.filter((a) => a in e);
795
562
  }
796
- }, propTraps));
797
- return res;
798
- }
799
- const otherObject = {};
800
- const objects = keys.map(() => ({}));
801
- for (const propName of Object.getOwnPropertyNames(props)) {
802
- const desc = Object.getOwnPropertyDescriptor(props, propName);
803
- const isDefaultDesc = !desc.get && !desc.set && desc.enumerable && desc.writable && desc.configurable;
804
- let blocked = false;
805
- let objectIndex = 0;
806
- for (const k of keys) {
807
- if (k.includes(propName)) {
808
- blocked = true;
809
- isDefaultDesc ? objects[objectIndex][propName] = desc.value : Object.defineProperty(objects[objectIndex], propName, desc);
563
+ }, ae));
564
+ return n.push(new Proxy({
565
+ get(l) {
566
+ return i.has(l) ? void 0 : e[l];
567
+ },
568
+ has(l) {
569
+ return i.has(l) ? !1 : l in e;
570
+ },
571
+ keys() {
572
+ return Object.keys(e).filter((l) => !i.has(l));
810
573
  }
811
- ++objectIndex;
812
- }
813
- if (!blocked) {
814
- isDefaultDesc ? otherObject[propName] = desc.value : Object.defineProperty(otherObject, propName, desc);
815
- }
574
+ }, ae)), n;
575
+ }
576
+ const r = {}, o = t.map(() => ({}));
577
+ for (const i of Object.getOwnPropertyNames(e)) {
578
+ const n = Object.getOwnPropertyDescriptor(e, i), l = !n.get && !n.set && n.enumerable && n.writable && n.configurable;
579
+ let a = !1, c = 0;
580
+ for (const u of t)
581
+ u.includes(i) && (a = !0, l ? o[c][i] = n.value : Object.defineProperty(o[c], i, n)), ++c;
582
+ a || (l ? r[i] = n.value : Object.defineProperty(r, i, n));
816
583
  }
817
- return [...objects, otherObject];
584
+ return [...o, r];
818
585
  }
819
-
820
- const narrowedError = name => `Stale read from <${name}>.`;
821
- function For(props) {
822
- const fallback = "fallback" in props && {
823
- fallback: () => props.fallback
586
+ const ht = (e) => `Stale read from <${e}>.`;
587
+ function De(e) {
588
+ const t = "fallback" in e && {
589
+ fallback: () => e.fallback
824
590
  };
825
- return createMemo(mapArray(() => props.each, props.children, fallback || undefined));
591
+ return C(ut(() => e.each, e.children, t || void 0));
826
592
  }
827
- function Show(props) {
828
- const keyed = props.keyed;
829
- const condition = createMemo(() => props.when, undefined, {
830
- equals: (a, b) => keyed ? a === b : !a === !b
593
+ function ye(e) {
594
+ const t = e.keyed, r = C(() => e.when, void 0, {
595
+ equals: (o, i) => t ? o === i : !o == !i
831
596
  });
832
- return createMemo(() => {
833
- const c = condition();
834
- if (c) {
835
- const child = props.children;
836
- const fn = typeof child === "function" && child.length > 0;
837
- return fn ? untrack(() => child(keyed ? c : () => {
838
- if (!untrack(condition)) throw narrowedError("Show");
839
- return props.when;
840
- })) : child;
597
+ return C(() => {
598
+ const o = r();
599
+ if (o) {
600
+ const i = e.children;
601
+ return typeof i == "function" && i.length > 0 ? A(() => i(t ? o : () => {
602
+ if (!A(r))
603
+ throw ht("Show");
604
+ return e.when;
605
+ })) : i;
841
606
  }
842
- return props.fallback;
843
- }, undefined, undefined);
844
- }
845
-
846
- const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
847
- const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
848
- const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
849
- const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
607
+ return e.fallback;
608
+ }, void 0, void 0);
609
+ }
610
+ const gt = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], wt = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...gt]), mt = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), yt = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
850
611
  className: "class",
851
612
  htmlFor: "for"
852
- });
853
- const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
613
+ }), vt = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
854
614
  class: "className",
855
615
  formnovalidate: {
856
616
  $: "formNoValidate",
@@ -875,1170 +635,958 @@ const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
875
635
  TEXTAREA: 1
876
636
  }
877
637
  });
878
- function getPropAlias(prop, tagName) {
879
- const a = PropAliases[prop];
880
- return typeof a === "object" ? a[tagName] ? a["$"] : undefined : a;
638
+ function xt(e, t) {
639
+ const r = vt[e];
640
+ return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
881
641
  }
882
- const DelegatedEvents = /*#__PURE__*/new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
883
- const SVGNamespace = {
642
+ const kt = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), jt = {
884
643
  xlink: "http://www.w3.org/1999/xlink",
885
644
  xml: "http://www.w3.org/XML/1998/namespace"
886
645
  };
887
-
888
- function reconcileArrays(parentNode, a, b) {
889
- let bLength = b.length,
890
- aEnd = a.length,
891
- bEnd = bLength,
892
- aStart = 0,
893
- bStart = 0,
894
- after = a[aEnd - 1].nextSibling,
895
- map = null;
896
- while (aStart < aEnd || bStart < bEnd) {
897
- if (a[aStart] === b[bStart]) {
898
- aStart++;
899
- bStart++;
646
+ function _t(e, t, r) {
647
+ let o = r.length, i = t.length, n = o, l = 0, a = 0, c = t[i - 1].nextSibling, u = null;
648
+ for (; l < i || a < n; ) {
649
+ if (t[l] === r[a]) {
650
+ l++, a++;
900
651
  continue;
901
652
  }
902
- while (a[aEnd - 1] === b[bEnd - 1]) {
903
- aEnd--;
904
- bEnd--;
905
- }
906
- if (aEnd === aStart) {
907
- const node = bEnd < bLength ? bStart ? b[bStart - 1].nextSibling : b[bEnd - bStart] : after;
908
- while (bStart < bEnd) parentNode.insertBefore(b[bStart++], node);
909
- } else if (bEnd === bStart) {
910
- while (aStart < aEnd) {
911
- if (!map || !map.has(a[aStart])) a[aStart].remove();
912
- aStart++;
913
- }
914
- } else if (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]) {
915
- const node = a[--aEnd].nextSibling;
916
- parentNode.insertBefore(b[bStart++], a[aStart++].nextSibling);
917
- parentNode.insertBefore(b[--bEnd], node);
918
- a[aEnd] = b[bEnd];
653
+ for (; t[i - 1] === r[n - 1]; )
654
+ i--, n--;
655
+ if (i === l) {
656
+ const s = n < o ? a ? r[a - 1].nextSibling : r[n - a] : c;
657
+ for (; a < n; )
658
+ e.insertBefore(r[a++], s);
659
+ } else if (n === a)
660
+ for (; l < i; )
661
+ (!u || !u.has(t[l])) && t[l].remove(), l++;
662
+ else if (t[l] === r[n - 1] && r[a] === t[i - 1]) {
663
+ const s = t[--i].nextSibling;
664
+ e.insertBefore(r[a++], t[l++].nextSibling), e.insertBefore(r[--n], s), t[i] = r[n];
919
665
  } else {
920
- if (!map) {
921
- map = new Map();
922
- let i = bStart;
923
- while (i < bEnd) map.set(b[i], i++);
666
+ if (!u) {
667
+ u = /* @__PURE__ */ new Map();
668
+ let d = a;
669
+ for (; d < n; )
670
+ u.set(r[d], d++);
924
671
  }
925
- const index = map.get(a[aStart]);
926
- if (index != null) {
927
- if (bStart < index && index < bEnd) {
928
- let i = aStart,
929
- sequence = 1,
930
- t;
931
- while (++i < aEnd && i < bEnd) {
932
- if ((t = map.get(a[i])) == null || t !== index + sequence) break;
933
- sequence++;
934
- }
935
- if (sequence > index - bStart) {
936
- const node = a[aStart];
937
- while (bStart < index) parentNode.insertBefore(b[bStart++], node);
938
- } else parentNode.replaceChild(b[bStart++], a[aStart++]);
939
- } else aStart++;
940
- } else a[aStart++].remove();
672
+ const s = u.get(t[l]);
673
+ if (s != null)
674
+ if (a < s && s < n) {
675
+ let d = l, f = 1, b;
676
+ for (; ++d < i && d < n && !((b = u.get(t[d])) == null || b !== s + f); )
677
+ f++;
678
+ if (f > s - a) {
679
+ const w = t[l];
680
+ for (; a < s; )
681
+ e.insertBefore(r[a++], w);
682
+ } else
683
+ e.replaceChild(r[a++], t[l++]);
684
+ } else
685
+ l++;
686
+ else
687
+ t[l++].remove();
941
688
  }
942
689
  }
943
690
  }
944
-
945
- const $$EVENTS = "_$DX_DELEGATE";
946
- function template(html, isCE, isSVG) {
947
- let node;
948
- const create = () => {
949
- const t = document.createElement("template");
950
- t.innerHTML = html;
951
- return isSVG ? t.content.firstChild.firstChild : t.content.firstChild;
952
- };
953
- const fn = isCE ? () => untrack(() => document.importNode(node || (node = create()), true)) : () => (node || (node = create())).cloneNode(true);
954
- fn.cloneNode = fn;
955
- return fn;
956
- }
957
- function delegateEvents(eventNames, document = window.document) {
958
- const e = document[$$EVENTS] || (document[$$EVENTS] = new Set());
959
- for (let i = 0, l = eventNames.length; i < l; i++) {
960
- const name = eventNames[i];
961
- if (!e.has(name)) {
962
- e.add(name);
963
- document.addEventListener(name, eventHandler);
964
- }
691
+ const ve = "_$DX_DELEGATE";
692
+ function P(e, t, r) {
693
+ let o;
694
+ const i = () => {
695
+ const l = document.createElement("template");
696
+ return l.innerHTML = e, r ? l.content.firstChild.firstChild : l.content.firstChild;
697
+ }, n = t ? () => A(() => document.importNode(o || (o = i()), !0)) : () => (o || (o = i())).cloneNode(!0);
698
+ return n.cloneNode = n, n;
699
+ }
700
+ function pe(e, t = window.document) {
701
+ const r = t[ve] || (t[ve] = /* @__PURE__ */ new Set());
702
+ for (let o = 0, i = e.length; o < i; o++) {
703
+ const n = e[o];
704
+ r.has(n) || (r.add(n), t.addEventListener(n, Et));
965
705
  }
966
706
  }
967
- function setAttribute(node, name, value) {
968
- if (value == null) node.removeAttribute(name);else node.setAttribute(name, value);
969
- }
970
- function setAttributeNS(node, namespace, name, value) {
971
- if (value == null) node.removeAttributeNS(namespace, name);else node.setAttributeNS(namespace, name, value);
972
- }
973
- function className(node, value) {
974
- if (value == null) node.removeAttribute("class");else node.className = value;
975
- }
976
- function addEventListener(node, name, handler, delegate) {
977
- if (delegate) {
978
- if (Array.isArray(handler)) {
979
- node[`$$${name}`] = handler[0];
980
- node[`$$${name}Data`] = handler[1];
981
- } else node[`$$${name}`] = handler;
982
- } else if (Array.isArray(handler)) {
983
- const handlerFn = handler[0];
984
- node.addEventListener(name, handler[0] = e => handlerFn.call(node, handler[1], e));
985
- } else node.addEventListener(name, handler);
986
- }
987
- function classList(node, value, prev = {}) {
988
- const classKeys = Object.keys(value || {}),
989
- prevKeys = Object.keys(prev);
990
- let i, len;
991
- for (i = 0, len = prevKeys.length; i < len; i++) {
992
- const key = prevKeys[i];
993
- if (!key || key === "undefined" || value[key]) continue;
994
- toggleClassKey(node, key, false);
995
- delete prev[key];
996
- }
997
- for (i = 0, len = classKeys.length; i < len; i++) {
998
- const key = classKeys[i],
999
- classValue = !!value[key];
1000
- if (!key || key === "undefined" || prev[key] === classValue || !classValue) continue;
1001
- toggleClassKey(node, key, true);
1002
- prev[key] = classValue;
707
+ function W(e, t, r) {
708
+ r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
709
+ }
710
+ function Ct(e, t, r, o) {
711
+ o == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, o);
712
+ }
713
+ function J(e, t) {
714
+ t == null ? e.removeAttribute("class") : e.className = t;
715
+ }
716
+ function St(e, t, r, o) {
717
+ if (o)
718
+ Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
719
+ else if (Array.isArray(r)) {
720
+ const i = r[0];
721
+ e.addEventListener(t, r[0] = (n) => i.call(e, r[1], n));
722
+ } else
723
+ e.addEventListener(t, r);
724
+ }
725
+ function he(e, t, r = {}) {
726
+ const o = Object.keys(t || {}), i = Object.keys(r);
727
+ let n, l;
728
+ for (n = 0, l = i.length; n < l; n++) {
729
+ const a = i[n];
730
+ !a || a === "undefined" || t[a] || (xe(e, a, !1), delete r[a]);
1003
731
  }
1004
- return prev;
1005
- }
1006
- function style(node, value, prev) {
1007
- if (!value) return prev ? setAttribute(node, "style") : value;
1008
- const nodeStyle = node.style;
1009
- if (typeof value === "string") return nodeStyle.cssText = value;
1010
- typeof prev === "string" && (nodeStyle.cssText = prev = undefined);
1011
- prev || (prev = {});
1012
- value || (value = {});
1013
- let v, s;
1014
- for (s in prev) {
1015
- value[s] == null && nodeStyle.removeProperty(s);
1016
- delete prev[s];
732
+ for (n = 0, l = o.length; n < l; n++) {
733
+ const a = o[n], c = !!t[a];
734
+ !a || a === "undefined" || r[a] === c || !c || (xe(e, a, !0), r[a] = c);
1017
735
  }
1018
- for (s in value) {
1019
- v = value[s];
1020
- if (v !== prev[s]) {
1021
- nodeStyle.setProperty(s, v);
1022
- prev[s] = v;
1023
- }
1024
- }
1025
- return prev;
1026
- }
1027
- function spread(node, props = {}, isSVG, skipChildren) {
1028
- const prevProps = {};
1029
- if (!skipChildren) {
1030
- createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
1031
- }
1032
- createRenderEffect(() => props.ref && props.ref(node));
1033
- createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
1034
- return prevProps;
1035
- }
1036
- function use(fn, element, arg) {
1037
- return untrack(() => fn(element, arg));
1038
- }
1039
- function insert(parent, accessor, marker, initial) {
1040
- if (marker !== undefined && !initial) initial = [];
1041
- if (typeof accessor !== "function") return insertExpression(parent, accessor, initial, marker);
1042
- createRenderEffect(current => insertExpression(parent, accessor(), current, marker), initial);
1043
- }
1044
- function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
1045
- props || (props = {});
1046
- for (const prop in prevProps) {
1047
- if (!(prop in props)) {
1048
- if (prop === "children") continue;
1049
- prevProps[prop] = assignProp(node, prop, null, prevProps[prop], isSVG, skipRef);
736
+ return r;
737
+ }
738
+ function At(e, t, r) {
739
+ if (!t)
740
+ return r ? W(e, "style") : t;
741
+ const o = e.style;
742
+ if (typeof t == "string")
743
+ return o.cssText = t;
744
+ typeof r == "string" && (o.cssText = r = void 0), r || (r = {}), t || (t = {});
745
+ let i, n;
746
+ for (n in r)
747
+ t[n] == null && o.removeProperty(n), delete r[n];
748
+ for (n in t)
749
+ i = t[n], i !== r[n] && (o.setProperty(n, i), r[n] = i);
750
+ return r;
751
+ }
752
+ function $t(e, t = {}, r, o) {
753
+ const i = {};
754
+ return o || x(() => i.children = T(e, t.children, i.children)), x(() => t.ref && t.ref(e)), x(() => Ot(e, t, r, !0, i, !0)), i;
755
+ }
756
+ function Ie(e, t, r) {
757
+ return A(() => e(t, r));
758
+ }
759
+ function g(e, t, r, o) {
760
+ if (r !== void 0 && !o && (o = []), typeof t != "function")
761
+ return T(e, t, o, r);
762
+ x((i) => T(e, t(), i, r), o);
763
+ }
764
+ function Ot(e, t, r, o, i = {}, n = !1) {
765
+ t || (t = {});
766
+ for (const l in i)
767
+ if (!(l in t)) {
768
+ if (l === "children")
769
+ continue;
770
+ i[l] = ke(e, l, null, i[l], r, n);
1050
771
  }
1051
- }
1052
- for (const prop in props) {
1053
- if (prop === "children") {
1054
- if (!skipChildren) insertExpression(node, props.children);
772
+ for (const l in t) {
773
+ if (l === "children") {
774
+ o || T(e, t.children);
1055
775
  continue;
1056
776
  }
1057
- const value = props[prop];
1058
- prevProps[prop] = assignProp(node, prop, value, prevProps[prop], isSVG, skipRef);
1059
- }
1060
- }
1061
- function getNextElement(template) {
1062
- let key;
1063
- {
1064
- if (!template) throw new Error("Unrecoverable Hydration Mismatch. No template for key: " + key);
1065
- return template();
1066
- }
1067
- }
1068
- function getNextMarker(start) {
1069
- let end = start,
1070
- current = [];
1071
- return [end, current];
1072
- }
1073
- function runHydrationEvents() {
1074
- if (sharedConfig.events && !sharedConfig.events.queued) {
1075
- queueMicrotask(() => {
1076
- const {
1077
- completed,
1078
- events
1079
- } = sharedConfig;
1080
- events.queued = false;
1081
- while (events.length) {
1082
- const [el, e] = events[0];
1083
- if (!completed.has(el)) return;
1084
- eventHandler(e);
1085
- events.shift();
1086
- }
1087
- });
1088
- sharedConfig.events.queued = true;
777
+ const a = t[l];
778
+ i[l] = ke(e, l, a, i[l], r, n);
1089
779
  }
1090
780
  }
1091
- function toPropertyName(name) {
1092
- return name.toLowerCase().replace(/-([a-z])/g, (_, w) => w.toUpperCase());
1093
- }
1094
- function toggleClassKey(node, key, value) {
1095
- const classNames = key.trim().split(/\s+/);
1096
- for (let i = 0, nameLen = classNames.length; i < nameLen; i++) node.classList.toggle(classNames[i], value);
1097
- }
1098
- function assignProp(node, prop, value, prev, isSVG, skipRef) {
1099
- let isCE, isProp, isChildProp, propAlias, forceProp;
1100
- if (prop === "style") return style(node, value, prev);
1101
- if (prop === "classList") return classList(node, value, prev);
1102
- if (value === prev) return prev;
1103
- if (prop === "ref") {
1104
- if (!skipRef) value(node);
1105
- } else if (prop.slice(0, 3) === "on:") {
1106
- const e = prop.slice(3);
1107
- prev && node.removeEventListener(e, prev);
1108
- value && node.addEventListener(e, value);
1109
- } else if (prop.slice(0, 10) === "oncapture:") {
1110
- const e = prop.slice(10);
1111
- prev && node.removeEventListener(e, prev, true);
1112
- value && node.addEventListener(e, value, true);
1113
- } else if (prop.slice(0, 2) === "on") {
1114
- const name = prop.slice(2).toLowerCase();
1115
- const delegate = DelegatedEvents.has(name);
1116
- if (!delegate && prev) {
1117
- const h = Array.isArray(prev) ? prev[0] : prev;
1118
- node.removeEventListener(name, h);
1119
- }
1120
- if (delegate || value) {
1121
- addEventListener(node, name, value, delegate);
1122
- delegate && delegateEvents([name]);
781
+ function Pt(e) {
782
+ return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
783
+ }
784
+ function xe(e, t, r) {
785
+ const o = t.trim().split(/\s+/);
786
+ for (let i = 0, n = o.length; i < n; i++)
787
+ e.classList.toggle(o[i], r);
788
+ }
789
+ function ke(e, t, r, o, i, n) {
790
+ let l, a, c, u, s;
791
+ if (t === "style")
792
+ return At(e, r, o);
793
+ if (t === "classList")
794
+ return he(e, r, o);
795
+ if (r === o)
796
+ return o;
797
+ if (t === "ref")
798
+ n || r(e);
799
+ else if (t.slice(0, 3) === "on:") {
800
+ const d = t.slice(3);
801
+ o && e.removeEventListener(d, o), r && e.addEventListener(d, r);
802
+ } else if (t.slice(0, 10) === "oncapture:") {
803
+ const d = t.slice(10);
804
+ o && e.removeEventListener(d, o, !0), r && e.addEventListener(d, r, !0);
805
+ } else if (t.slice(0, 2) === "on") {
806
+ const d = t.slice(2).toLowerCase(), f = kt.has(d);
807
+ if (!f && o) {
808
+ const b = Array.isArray(o) ? o[0] : o;
809
+ e.removeEventListener(d, b);
1123
810
  }
1124
- } else if (prop.slice(0, 5) === "attr:") {
1125
- setAttribute(node, prop.slice(5), value);
1126
- } 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("-"))) {
1127
- if (forceProp) {
1128
- prop = prop.slice(5);
1129
- isProp = true;
1130
- }
1131
- if (prop === "class" || prop === "className") className(node, value);else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;else node[propAlias || prop] = value;
1132
- } else {
1133
- const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
1134
- if (ns) setAttributeNS(node, ns, prop, value);else setAttribute(node, Aliases[prop] || prop, value);
1135
- }
1136
- return value;
1137
- }
1138
- function eventHandler(e) {
1139
- const key = `$$${e.type}`;
1140
- let node = e.composedPath && e.composedPath()[0] || e.target;
1141
- if (e.target !== node) {
1142
- Object.defineProperty(e, "target", {
1143
- configurable: true,
1144
- value: node
1145
- });
811
+ (f || r) && (St(e, d, r, f), f && pe([d]));
812
+ } else if (t.slice(0, 5) === "attr:")
813
+ W(e, t.slice(5), r);
814
+ else if ((s = t.slice(0, 5) === "prop:") || (c = mt.has(t)) || !i && ((u = xt(t, e.tagName)) || (a = wt.has(t))) || (l = e.nodeName.includes("-")))
815
+ s && (t = t.slice(5), a = !0), t === "class" || t === "className" ? J(e, r) : l && !a && !c ? e[Pt(t)] = r : e[u || t] = r;
816
+ else {
817
+ const d = i && t.indexOf(":") > -1 && jt[t.split(":")[0]];
818
+ d ? Ct(e, d, t, r) : W(e, yt[t] || t, r);
1146
819
  }
1147
- Object.defineProperty(e, "currentTarget", {
1148
- configurable: true,
820
+ return r;
821
+ }
822
+ function Et(e) {
823
+ const t = `$$${e.type}`;
824
+ let r = e.composedPath && e.composedPath()[0] || e.target;
825
+ for (e.target !== r && Object.defineProperty(e, "target", {
826
+ configurable: !0,
827
+ value: r
828
+ }), Object.defineProperty(e, "currentTarget", {
829
+ configurable: !0,
1149
830
  get() {
1150
- return node || document;
831
+ return r || document;
1151
832
  }
1152
- });
1153
- while (node) {
1154
- const handler = node[key];
1155
- if (handler && !node.disabled) {
1156
- const data = node[`${key}Data`];
1157
- data !== undefined ? handler.call(node, data, e) : handler.call(node, e);
1158
- if (e.cancelBubble) return;
833
+ }); r; ) {
834
+ const o = r[t];
835
+ if (o && !r.disabled) {
836
+ const i = r[`${t}Data`];
837
+ if (i !== void 0 ? o.call(r, i, e) : o.call(r, e), e.cancelBubble)
838
+ return;
1159
839
  }
1160
- node = node._$host || node.parentNode || node.host;
840
+ r = r._$host || r.parentNode || r.host;
1161
841
  }
1162
842
  }
1163
- function insertExpression(parent, value, current, marker, unwrapArray) {
1164
- while (typeof current === "function") current = current();
1165
- if (value === current) return current;
1166
- const t = typeof value,
1167
- multi = marker !== undefined;
1168
- parent = multi && current[0] && current[0].parentNode || parent;
1169
- if (t === "string" || t === "number") {
1170
- if (t === "number") value = value.toString();
1171
- if (multi) {
1172
- let node = current[0];
1173
- if (node && node.nodeType === 3) {
1174
- node.data = value;
1175
- } else node = document.createTextNode(value);
1176
- current = cleanChildren(parent, current, marker, node);
1177
- } else {
1178
- if (current !== "" && typeof current === "string") {
1179
- current = parent.firstChild.data = value;
1180
- } else current = parent.textContent = value;
1181
- }
1182
- } else if (value == null || t === "boolean") {
1183
- current = cleanChildren(parent, current, marker);
1184
- } else if (t === "function") {
1185
- createRenderEffect(() => {
1186
- let v = value();
1187
- while (typeof v === "function") v = v();
1188
- current = insertExpression(parent, v, current, marker);
1189
- });
1190
- return () => current;
1191
- } else if (Array.isArray(value)) {
1192
- const array = [];
1193
- const currentArray = current && Array.isArray(current);
1194
- if (normalizeIncomingArray(array, value, current, unwrapArray)) {
1195
- createRenderEffect(() => current = insertExpression(parent, array, current, marker, true));
1196
- return () => current;
1197
- }
1198
- if (array.length === 0) {
1199
- current = cleanChildren(parent, current, marker);
1200
- if (multi) return current;
1201
- } else if (currentArray) {
1202
- if (current.length === 0) {
1203
- appendNodes(parent, array, marker);
1204
- } else reconcileArrays(parent, current, array);
1205
- } else {
1206
- current && cleanChildren(parent);
1207
- appendNodes(parent, array);
1208
- }
1209
- current = array;
1210
- } else if (value.nodeType) {
1211
- if (Array.isArray(current)) {
1212
- if (multi) return current = cleanChildren(parent, current, marker, value);
1213
- cleanChildren(parent, current, null, value);
1214
- } else if (current == null || current === "" || !parent.firstChild) {
1215
- parent.appendChild(value);
1216
- } else parent.replaceChild(value, parent.firstChild);
1217
- current = value;
1218
- } else console.warn(`Unrecognized value. Skipped inserting`, value);
1219
- return current;
1220
- }
1221
- function normalizeIncomingArray(normalized, array, current, unwrap) {
1222
- let dynamic = false;
1223
- for (let i = 0, len = array.length; i < len; i++) {
1224
- let item = array[i],
1225
- prev = current && current[i],
1226
- t;
1227
- if (item == null || item === true || item === false) ; else if ((t = typeof item) === "object" && item.nodeType) {
1228
- normalized.push(item);
1229
- } else if (Array.isArray(item)) {
1230
- dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
1231
- } else if (t === "function") {
1232
- if (unwrap) {
1233
- while (typeof item === "function") item = item();
1234
- dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
1235
- } else {
1236
- normalized.push(item);
1237
- dynamic = true;
843
+ function T(e, t, r, o, i) {
844
+ for (; typeof r == "function"; )
845
+ r = r();
846
+ if (t === r)
847
+ return r;
848
+ const n = typeof t, l = o !== void 0;
849
+ if (e = l && r[0] && r[0].parentNode || e, n === "string" || n === "number")
850
+ if (n === "number" && (t = t.toString()), l) {
851
+ let a = r[0];
852
+ a && a.nodeType === 3 ? a.data = t : a = document.createTextNode(t), r = L(e, r, o, a);
853
+ } else
854
+ r !== "" && typeof r == "string" ? r = e.firstChild.data = t : r = e.textContent = t;
855
+ else if (t == null || n === "boolean")
856
+ r = L(e, r, o);
857
+ else {
858
+ if (n === "function")
859
+ return x(() => {
860
+ let a = t();
861
+ for (; typeof a == "function"; )
862
+ a = a();
863
+ r = T(e, a, r, o);
864
+ }), () => r;
865
+ if (Array.isArray(t)) {
866
+ const a = [], c = r && Array.isArray(r);
867
+ if (se(a, t, r, i))
868
+ return x(() => r = T(e, a, r, o, !0)), () => r;
869
+ if (a.length === 0) {
870
+ if (r = L(e, r, o), l)
871
+ return r;
872
+ } else
873
+ c ? r.length === 0 ? je(e, a, o) : _t(e, r, a) : (r && L(e), je(e, a));
874
+ r = a;
875
+ } else if (t.nodeType) {
876
+ if (Array.isArray(r)) {
877
+ if (l)
878
+ return r = L(e, r, o, t);
879
+ L(e, r, null, t);
880
+ } else
881
+ r == null || r === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
882
+ r = t;
883
+ } else
884
+ console.warn("Unrecognized value. Skipped inserting", t);
885
+ }
886
+ return r;
887
+ }
888
+ function se(e, t, r, o) {
889
+ let i = !1;
890
+ for (let n = 0, l = t.length; n < l; n++) {
891
+ let a = t[n], c = r && r[n], u;
892
+ if (!(a == null || a === !0 || a === !1))
893
+ if ((u = typeof a) == "object" && a.nodeType)
894
+ e.push(a);
895
+ else if (Array.isArray(a))
896
+ i = se(e, a, c) || i;
897
+ else if (u === "function")
898
+ if (o) {
899
+ for (; typeof a == "function"; )
900
+ a = a();
901
+ i = se(e, Array.isArray(a) ? a : [a], Array.isArray(c) ? c : [c]) || i;
902
+ } else
903
+ e.push(a), i = !0;
904
+ else {
905
+ const s = String(a);
906
+ c && c.nodeType === 3 && c.data === s ? e.push(c) : e.push(document.createTextNode(s));
1238
907
  }
1239
- } else {
1240
- const value = String(item);
1241
- if (prev && prev.nodeType === 3 && prev.data === value) normalized.push(prev);else normalized.push(document.createTextNode(value));
1242
- }
1243
908
  }
1244
- return dynamic;
1245
- }
1246
- function appendNodes(parent, array, marker = null) {
1247
- for (let i = 0, len = array.length; i < len; i++) parent.insertBefore(array[i], marker);
1248
- }
1249
- function cleanChildren(parent, current, marker, replacement) {
1250
- if (marker === undefined) return parent.textContent = "";
1251
- const node = replacement || document.createTextNode("");
1252
- if (current.length) {
1253
- let inserted = false;
1254
- for (let i = current.length - 1; i >= 0; i--) {
1255
- const el = current[i];
1256
- if (node !== el) {
1257
- const isParent = el.parentNode === parent;
1258
- if (!inserted && !i) isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);else isParent && el.remove();
1259
- } else inserted = true;
1260
- }
1261
- } else parent.insertBefore(node, marker);
1262
- return [node];
1263
- }
1264
-
1265
- function createProps(raw) {
1266
- const keys = Object.keys(raw);
1267
- const props = {};
1268
- for (let i = 0; i < keys.length; i++) {
1269
- const [get, set] = createSignal(raw[keys[i]]);
1270
- Object.defineProperty(props, keys[i], {
1271
- get,
1272
- set(v) {
1273
- set(() => v);
1274
- }
1275
- });
909
+ return i;
910
+ }
911
+ function je(e, t, r = null) {
912
+ for (let o = 0, i = t.length; o < i; o++)
913
+ e.insertBefore(t[o], r);
914
+ }
915
+ function L(e, t, r, o) {
916
+ if (r === void 0)
917
+ return e.textContent = "";
918
+ const i = o || document.createTextNode("");
919
+ if (t.length) {
920
+ let n = !1;
921
+ for (let l = t.length - 1; l >= 0; l--) {
922
+ const a = t[l];
923
+ if (i !== a) {
924
+ const c = a.parentNode === e;
925
+ !n && !l ? c ? e.replaceChild(i, a) : e.insertBefore(i, r) : c && a.remove();
926
+ } else
927
+ n = !0;
1276
928
  }
1277
- return props;
1278
- }
1279
- function lookupContext(el) {
1280
- if (el.assignedSlot && el.assignedSlot._$owner)
1281
- return el.assignedSlot._$owner;
1282
- let next = el.parentNode;
1283
- while (next &&
1284
- !next._$owner &&
1285
- !(next.assignedSlot && next.assignedSlot._$owner))
1286
- next = next.parentNode;
1287
- return next && next.assignedSlot
1288
- ? next.assignedSlot._$owner
1289
- : el._$owner;
1290
- }
1291
- function withSolid(ComponentType) {
1292
- return (rawProps, options) => {
1293
- const { element } = options;
1294
- return createRoot((dispose) => {
1295
- const props = createProps(rawProps);
1296
- element.addPropertyChangedCallback((key, val) => (props[key] = val));
1297
- element.addReleaseCallback(() => {
1298
- element.renderRoot.textContent = "";
1299
- dispose();
1300
- });
1301
- const comp = ComponentType(props, options);
1302
- return insert(element.renderRoot, comp);
1303
- }, lookupContext(element));
1304
- };
1305
- }
1306
- function customElement(tag, props, ComponentType) {
1307
- if (arguments.length === 2) {
1308
- ComponentType = props;
1309
- props = {};
1310
- }
1311
- return register(tag, props)(withSolid(ComponentType));
1312
- }
1313
-
1314
- function styleInject(css, ref) {
1315
- if ( ref === void 0 ) ref = {};
1316
- var insertAt = ref.insertAt;
1317
-
1318
- if (!css || typeof document === 'undefined') { return; }
1319
-
1320
- var head = document.head || document.getElementsByTagName('head')[0];
1321
- var style = document.createElement('style');
1322
- style.type = 'text/css';
1323
-
1324
- if (insertAt === 'top') {
1325
- if (head.firstChild) {
1326
- head.insertBefore(style, head.firstChild);
1327
- } else {
1328
- head.appendChild(style);
1329
- }
1330
- } else {
1331
- head.appendChild(style);
1332
- }
1333
-
1334
- if (style.styleSheet) {
1335
- style.styleSheet.cssText = css;
1336
- } else {
1337
- style.appendChild(document.createTextNode(css));
929
+ } else
930
+ e.insertBefore(i, r);
931
+ return [i];
932
+ }
933
+ function zt(e) {
934
+ const t = Object.keys(e), r = {};
935
+ for (let o = 0; o < t.length; o++) {
936
+ const [i, n] = K(e[t[o]]);
937
+ Object.defineProperty(r, t[o], {
938
+ get: i,
939
+ set(l) {
940
+ n(() => l);
941
+ }
942
+ });
1338
943
  }
944
+ return r;
945
+ }
946
+ function Nt(e) {
947
+ if (e.assignedSlot && e.assignedSlot._$owner)
948
+ return e.assignedSlot._$owner;
949
+ let t = e.parentNode;
950
+ for (; t && !t._$owner && !(t.assignedSlot && t.assignedSlot._$owner); )
951
+ t = t.parentNode;
952
+ return t && t.assignedSlot ? t.assignedSlot._$owner : e._$owner;
953
+ }
954
+ function Lt(e) {
955
+ return (t, r) => {
956
+ const { element: o } = r;
957
+ return M((i) => {
958
+ const n = zt(t);
959
+ o.addPropertyChangedCallback((a, c) => n[a] = c), o.addReleaseCallback(() => {
960
+ o.renderRoot.textContent = "", i();
961
+ });
962
+ const l = e(n, r);
963
+ return g(o.renderRoot, l);
964
+ }, Nt(o));
965
+ };
1339
966
  }
1340
-
1341
- var css_248z = ":root,\n[data-theme] {\n background-color: hsl(var(--b1) / var(--tw-bg-opacity, 1));\n color: hsl(var(--bc) / var(--tw-text-opacity, 1))\n}\nhtml {\n -webkit-tap-highlight-color: transparent\n}\n:root {\n color-scheme: light;\n --pf: 259 94% 44%;\n --sf: 314 100% 40%;\n --af: 174 75% 39%;\n --nf: 214 20% 14%;\n --in: 198 93% 60%;\n --su: 158 64% 52%;\n --wa: 43 96% 56%;\n --er: 0 91% 71%;\n --inc: 198 100% 12%;\n --suc: 158 100% 10%;\n --wac: 43 100% 11%;\n --erc: 0 100% 14%;\n --rounded-box: 1rem;\n --rounded-btn: 0.5rem;\n --rounded-badge: 1.9rem;\n --animation-btn: 0.25s;\n --animation-input: .2s;\n --btn-text-case: uppercase;\n --btn-focus-scale: 0.95;\n --border-btn: 1px;\n --tab-border: 1px;\n --tab-radius: 0.5rem;\n --p: 259 94% 51%;\n --pc: 259 96% 91%;\n --s: 314 100% 47%;\n --sc: 314 100% 91%;\n --a: 174 75% 46%;\n --ac: 174 75% 11%;\n --n: 214 20% 21%;\n --nc: 212 19% 87%;\n --b1: 0 0% 100%;\n --b2: 0 0% 95%;\n --b3: 180 2% 90%;\n --bc: 215 28% 17%\n}\n@media (prefers-color-scheme: dark) {\n :root {\n color-scheme: dark;\n --pf: 262 80% 43%;\n --sf: 316 70% 43%;\n --af: 175 70% 34%;\n --in: 198 93% 60%;\n --su: 158 64% 52%;\n --wa: 43 96% 56%;\n --er: 0 91% 71%;\n --inc: 198 100% 12%;\n --suc: 158 100% 10%;\n --wac: 43 100% 11%;\n --erc: 0 100% 14%;\n --rounded-box: 1rem;\n --rounded-btn: 0.5rem;\n --rounded-badge: 1.9rem;\n --animation-btn: 0.25s;\n --animation-input: .2s;\n --btn-text-case: uppercase;\n --btn-focus-scale: 0.95;\n --border-btn: 1px;\n --tab-border: 1px;\n --tab-radius: 0.5rem;\n --p: 262 80% 50%;\n --pc: 0 0% 100%;\n --s: 316 70% 50%;\n --sc: 0 0% 100%;\n --a: 175 70% 41%;\n --ac: 0 0% 100%;\n --n: 213 18% 20%;\n --nf: 212 17% 17%;\n --nc: 220 13% 69%;\n --b1: 212 18% 14%;\n --b2: 213 18% 12%;\n --b3: 213 18% 10%;\n --bc: 220 13% 69%\n }\n}\n[data-theme=light] {\n color-scheme: light;\n --pf: 259 94% 44%;\n --sf: 314 100% 40%;\n --af: 174 75% 39%;\n --nf: 214 20% 14%;\n --in: 198 93% 60%;\n --su: 158 64% 52%;\n --wa: 43 96% 56%;\n --er: 0 91% 71%;\n --inc: 198 100% 12%;\n --suc: 158 100% 10%;\n --wac: 43 100% 11%;\n --erc: 0 100% 14%;\n --rounded-box: 1rem;\n --rounded-btn: 0.5rem;\n --rounded-badge: 1.9rem;\n --animation-btn: 0.25s;\n --animation-input: .2s;\n --btn-text-case: uppercase;\n --btn-focus-scale: 0.95;\n --border-btn: 1px;\n --tab-border: 1px;\n --tab-radius: 0.5rem;\n --p: 259 94% 51%;\n --pc: 259 96% 91%;\n --s: 314 100% 47%;\n --sc: 314 100% 91%;\n --a: 174 75% 46%;\n --ac: 174 75% 11%;\n --n: 214 20% 21%;\n --nc: 212 19% 87%;\n --b1: 0 0% 100%;\n --b2: 0 0% 95%;\n --b3: 180 2% 90%;\n --bc: 215 28% 17%\n}\n[data-theme=dark] {\n color-scheme: dark;\n --pf: 262 80% 43%;\n --sf: 316 70% 43%;\n --af: 175 70% 34%;\n --in: 198 93% 60%;\n --su: 158 64% 52%;\n --wa: 43 96% 56%;\n --er: 0 91% 71%;\n --inc: 198 100% 12%;\n --suc: 158 100% 10%;\n --wac: 43 100% 11%;\n --erc: 0 100% 14%;\n --rounded-box: 1rem;\n --rounded-btn: 0.5rem;\n --rounded-badge: 1.9rem;\n --animation-btn: 0.25s;\n --animation-input: .2s;\n --btn-text-case: uppercase;\n --btn-focus-scale: 0.95;\n --border-btn: 1px;\n --tab-border: 1px;\n --tab-radius: 0.5rem;\n --p: 262 80% 50%;\n --pc: 0 0% 100%;\n --s: 316 70% 50%;\n --sc: 0 0% 100%;\n --a: 175 70% 41%;\n --ac: 0 0% 100%;\n --n: 213 18% 20%;\n --nf: 212 17% 17%;\n --nc: 220 13% 69%;\n --b1: 212 18% 14%;\n --b2: 213 18% 12%;\n --b3: 213 18% 10%;\n --bc: 220 13% 69%\n}\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: \n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: \n}\n.container {\n width: 100%\n}\n@media (min-width: 640px) {\n .container {\n max-width: 640px\n }\n}\n@media (min-width: 768px) {\n .container {\n max-width: 768px\n }\n}\n@media (min-width: 1024px) {\n .container {\n max-width: 1024px\n }\n}\n@media (min-width: 1280px) {\n .container {\n max-width: 1280px\n }\n}\n@media (min-width: 1536px) {\n .container {\n max-width: 1536px\n }\n}\n@media (hover:hover) {\n .checkbox-success:hover {\n --tw-border-opacity: 1;\n border-color: hsl(var(--su) / var(--tw-border-opacity))\n }\n .label a:hover {\n --tw-text-opacity: 1;\n color: hsl(var(--bc) / var(--tw-text-opacity))\n }\n .menu :where(li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):where(.active), .menu :where(li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):where(.active) {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--n) / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: hsl(var(--nc) / var(--tw-text-opacity))\n }\n}\n.checkbox {\n flex-shrink: 0;\n --chkbg: var(--bc);\n --chkfg: var(--b1);\n height: 1.5rem;\n width: 1.5rem;\n cursor: pointer;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-width: 1px;\n border-color: hsl(var(--bc) / var(--tw-border-opacity));\n --tw-border-opacity: 0.2;\n border-radius: var(--rounded-btn, 0.5rem)\n}\n.divider {\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 1rem;\n white-space: nowrap\n}\n.divider:before,\n .divider:after {\n content: \"\";\n flex-grow: 1;\n height: 0.125rem;\n width: 100%\n}\n.drawer {\n position: relative;\n display: grid;\n grid-auto-columns: max-content auto;\n width: 100%\n}\n@media (hover: hover) {\n .btm-nav > *.disabled:hover,\n .btm-nav > *[disabled]:hover {\n pointer-events: none;\n --tw-border-opacity: 0;\n background-color: hsl(var(--n) / var(--tw-bg-opacity));\n --tw-bg-opacity: 0.1;\n color: hsl(var(--bc) / var(--tw-text-opacity));\n --tw-text-opacity: 0.2\n }\n .menu :where(li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)):not(.active):hover, .menu :where(li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)):not(.active):hover {\n cursor: pointer;\n background-color: hsl(var(--bc) / 0.1);\n --tw-text-opacity: 1;\n color: hsl(var(--bc) / var(--tw-text-opacity));\n outline: 2px solid transparent;\n outline-offset: 2px\n }\n}\n.form-control {\n display: flex;\n flex-direction: column\n}\n.label {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n justify-content: space-between;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem\n}\n.input {\n flex-shrink: 1;\n height: 3rem;\n padding-left: 1rem;\n padding-right: 1rem;\n font-size: 1rem;\n line-height: 2;\n line-height: 1.5rem;\n border-width: 1px;\n border-color: hsl(var(--bc) / var(--tw-border-opacity));\n --tw-border-opacity: 0;\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b1) / var(--tw-bg-opacity));\n border-radius: var(--rounded-btn, 0.5rem)\n}\n.input-group > .input {\n isolation: isolate\n}\n.input-group > *,\n .input-group > .input,\n .input-group > .textarea,\n .input-group > .select {\n border-radius: 0px\n}\n.join {\n display: inline-flex;\n align-items: stretch;\n border-radius: var(--rounded-btn, 0.5rem)\n}\n.join :where(.join-item) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0\n}\n.join .join-item:not(:first-child):not(:last-child),\n .join *:not(:first-child):not(:last-child) .join-item {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0\n}\n.join .join-item:first-child:not(:last-child),\n .join *:first-child:not(:last-child) .join-item {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0\n}\n.join :where(.join-item:first-child:not(:last-child)),\n .join :where(*:first-child:not(:last-child) .join-item) {\n border-bottom-left-radius: inherit;\n border-top-left-radius: inherit\n}\n.join .join-item:last-child:not(:first-child),\n .join *:last-child:not(:first-child) .join-item {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0\n}\n.join :where(.join-item:last-child:not(:first-child)),\n .join :where(*:last-child:not(:first-child) .join-item) {\n border-top-right-radius: inherit;\n border-bottom-right-radius: inherit\n}\n:where(.join *) {\n border-radius: inherit\n}\n.kbd {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-width: 1px;\n border-color: hsl(var(--bc) / var(--tw-border-opacity));\n --tw-border-opacity: 0.2;\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b2) / var(--tw-bg-opacity));\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n border-radius: var(--rounded-btn, 0.5rem);\n border-bottom-width: 2px;\n min-height: 2.2em;\n min-width: 2.2em\n}\n.link {\n cursor: pointer;\n text-decoration-line: underline\n}\n.menu li.disabled {\n cursor: not-allowed;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: hsl(var(--bc) / 0.3)\n}\n.select {\n display: inline-flex;\n flex-shrink: 0;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n height: 3rem;\n padding-left: 1rem;\n padding-right: 2.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n line-height: 2;\n min-height: 3rem;\n border-width: 1px;\n border-color: hsl(var(--bc) / var(--tw-border-opacity));\n --tw-border-opacity: 0;\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b1) / var(--tw-bg-opacity));\n font-weight: 600;\n border-radius: var(--rounded-btn, 0.5rem);\n background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),\n linear-gradient(135deg, currentColor 50%, transparent 50%);\n background-position: calc(100% - 20px) calc(1px + 50%), calc(100% - 16px) calc(1px + 50%);\n background-size: 4px 4px, 4px 4px;\n background-repeat: no-repeat\n}\n.select[multiple] {\n height: auto\n}\n.btm-nav > *.disabled,\n .btm-nav > *[disabled] {\n pointer-events: none;\n --tw-border-opacity: 0;\n background-color: hsl(var(--n) / var(--tw-bg-opacity));\n --tw-bg-opacity: 0.1;\n color: hsl(var(--bc) / var(--tw-text-opacity));\n --tw-text-opacity: 0.2\n}\n.btm-nav > * .label {\n font-size: 1rem;\n line-height: 1.5rem\n}\n@keyframes button-pop {\n 0% {\n transform: scale(var(--btn-focus-scale, 0.98))\n }\n 40% {\n transform: scale(1.02)\n }\n 100% {\n transform: scale(1)\n }\n}\n.checkbox:focus-visible {\n outline-style: solid;\n outline-width: 2px;\n outline-offset: 2px;\n outline-color: hsl(var(--bc) / 1)\n}\n.checkbox:checked,\n .checkbox[checked=\"true\"],\n .checkbox[aria-checked=\"true\"] {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--bc) / var(--tw-bg-opacity));\n background-repeat: no-repeat;\n animation: checkmark var(--animation-input, 0.2s) ease-in-out;\n background-image: linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 65.99%),\n linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 75.99%),\n linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 40.99%),\n linear-gradient(\n 45deg,\n hsl(var(--chkbg)) 30%,\n hsl(var(--chkfg)) 30.99%,\n hsl(var(--chkfg)) 40%,\n transparent 40.99%\n ),\n linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%)\n}\n.checkbox:indeterminate {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--bc) / var(--tw-bg-opacity));\n background-repeat: no-repeat;\n animation: checkmark var(--animation-input, 0.2s) ease-in-out;\n background-image: linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 80%),\n linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 80%),\n linear-gradient(\n 0deg,\n hsl(var(--chkbg)) 43%,\n hsl(var(--chkfg)) 43%,\n hsl(var(--chkfg)) 57%,\n hsl(var(--chkbg)) 57%\n )\n}\n.checkbox-success {\n --chkbg: var(--su);\n --chkfg: var(--suc);\n --tw-border-opacity: 1;\n border-color: hsl(var(--su) / var(--tw-border-opacity))\n}\n.checkbox-success:focus-visible {\n outline-color: hsl(var(--su) / 1)\n}\n.checkbox-success:checked,\n .checkbox-success[checked=\"true\"],\n .checkbox-success[aria-checked=\"true\"] {\n --tw-border-opacity: 1;\n border-color: hsl(var(--su) / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: hsl(var(--su) / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: hsl(var(--suc) / var(--tw-text-opacity))\n}\n.checkbox:disabled {\n cursor: not-allowed;\n border-color: transparent;\n --tw-bg-opacity: 1;\n background-color: hsl(var(--bc) / var(--tw-bg-opacity));\n opacity: 0.2\n}\n@keyframes checkmark {\n 0% {\n background-position-y: 5px\n }\n 50% {\n background-position-y: -2px\n }\n 100% {\n background-position-y: 0\n }\n}\n[dir=\"rtl\"] .checkbox:checked,\n [dir=\"rtl\"] .checkbox[checked=\"true\"],\n [dir=\"rtl\"] .checkbox[aria-checked=\"true\"] {\n background-image: linear-gradient(45deg, transparent 65%, hsl(var(--chkbg)) 65.99%),\n linear-gradient(-45deg, transparent 75%, hsl(var(--chkbg)) 75.99%),\n linear-gradient(45deg, hsl(var(--chkbg)) 40%, transparent 40.99%),\n linear-gradient(\n -45deg,\n hsl(var(--chkbg)) 30%,\n hsl(var(--chkfg)) 30.99%,\n hsl(var(--chkfg)) 40%,\n transparent 40.99%\n ),\n linear-gradient(45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%)\n}\n.divider:before {\n background-color: hsl(var(--bc) / var(--tw-bg-opacity));\n --tw-bg-opacity: 0.1\n}\n.divider:after {\n background-color: hsl(var(--bc) / var(--tw-bg-opacity));\n --tw-bg-opacity: 0.1\n}\n.divider:not(:empty) {\n gap: 1rem\n}\n.label-text {\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: hsl(var(--bc) / var(--tw-text-opacity))\n}\n.input[list]::-webkit-calendar-picker-indicator {\n line-height: 1em\n}\n.input:focus {\n outline-style: solid;\n outline-width: 2px;\n outline-offset: 2px;\n outline-color: hsl(var(--bc) / 0.2)\n}\n.input-disabled,\n .input:disabled,\n .input[disabled] {\n cursor: not-allowed;\n --tw-border-opacity: 1;\n border-color: hsl(var(--b2) / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b2) / var(--tw-bg-opacity));\n --tw-text-opacity: 0.2\n}\n.input-disabled::-moz-placeholder, .input:disabled::-moz-placeholder, .input[disabled]::-moz-placeholder {\n color: hsl(var(--bc) / var(--tw-placeholder-opacity));\n --tw-placeholder-opacity: 0.2\n}\n.input-disabled::placeholder,\n .input:disabled::placeholder,\n .input[disabled]::placeholder {\n color: hsl(var(--bc) / var(--tw-placeholder-opacity));\n --tw-placeholder-opacity: 0.2\n}\n.join > :where(*:not(:first-child)) {\n margin-top: 0px;\n margin-bottom: 0px;\n margin-left: -1px\n}\n.join-item:focus {\n isolation: isolate\n}\n.link:focus {\n outline: 2px solid transparent;\n outline-offset: 2px\n}\n.link:focus-visible {\n outline: 2px solid currentColor;\n outline-offset: 2px\n}\n@keyframes modal-pop {\n 0% {\n opacity: 0\n }\n}\n@keyframes progress-loading {\n 50% {\n background-position-x: -115%\n }\n}\n@keyframes radiomark {\n 0% {\n box-shadow: 0 0 0 12px hsl(var(--b1)) inset, 0 0 0 12px hsl(var(--b1)) inset\n }\n 50% {\n box-shadow: 0 0 0 3px hsl(var(--b1)) inset, 0 0 0 3px hsl(var(--b1)) inset\n }\n 100% {\n box-shadow: 0 0 0 4px hsl(var(--b1)) inset, 0 0 0 4px hsl(var(--b1)) inset\n }\n}\n@keyframes rating-pop {\n 0% {\n transform: translateY(-0.125em)\n }\n 40% {\n transform: translateY(-0.125em)\n }\n 100% {\n transform: translateY(0)\n }\n}\n.select:focus {\n outline-style: solid;\n outline-width: 2px;\n outline-offset: 2px;\n outline-color: hsl(var(--bc) / 0.2)\n}\n.select-primary {\n --tw-border-opacity: 1;\n border-color: hsl(var(--p) / var(--tw-border-opacity))\n}\n.select-primary:focus {\n outline-color: hsl(var(--p) / 1)\n}\n.select-success {\n --tw-border-opacity: 1;\n border-color: hsl(var(--su) / var(--tw-border-opacity))\n}\n.select-success:focus {\n outline-color: hsl(var(--su) / 1)\n}\n.select-disabled,\n .select:disabled,\n .select[disabled] {\n cursor: not-allowed;\n --tw-border-opacity: 1;\n border-color: hsl(var(--b2) / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b2) / var(--tw-bg-opacity));\n --tw-text-opacity: 0.2\n}\n.select-disabled::-moz-placeholder, .select:disabled::-moz-placeholder, .select[disabled]::-moz-placeholder {\n color: hsl(var(--bc) / var(--tw-placeholder-opacity));\n --tw-placeholder-opacity: 0.2\n}\n.select-disabled::placeholder,\n .select:disabled::placeholder,\n .select[disabled]::placeholder {\n color: hsl(var(--bc) / var(--tw-placeholder-opacity));\n --tw-placeholder-opacity: 0.2\n}\n.select-multiple,\n .select[multiple],\n .select[size].select:not([size=\"1\"]) {\n background-image: none;\n padding-right: 1rem\n}\n[dir=\"rtl\"] .select {\n background-position: calc(0% + 12px) calc(1px + 50%), calc(0% + 16px) calc(1px + 50%)\n}\n@keyframes toast-pop {\n 0% {\n transform: scale(0.9);\n opacity: 0\n }\n 100% {\n transform: scale(1);\n opacity: 1\n }\n}\n.tooltip.tooltip-primary {\n --tooltip-color: hsl(var(--p));\n --tooltip-text-color: hsl(var(--pc))\n}\n.tooltip.tooltip-secondary {\n --tooltip-color: hsl(var(--s));\n --tooltip-text-color: hsl(var(--sc))\n}\n.tooltip.tooltip-accent {\n --tooltip-color: hsl(var(--a));\n --tooltip-text-color: hsl(var(--ac))\n}\n.tooltip.tooltip-info {\n --tooltip-color: hsl(var(--in));\n --tooltip-text-color: hsl(var(--inc))\n}\n.tooltip.tooltip-success {\n --tooltip-color: hsl(var(--su));\n --tooltip-text-color: hsl(var(--suc))\n}\n.tooltip.tooltip-warning {\n --tooltip-color: hsl(var(--wa));\n --tooltip-text-color: hsl(var(--wac))\n}\n.tooltip.tooltip-error {\n --tooltip-color: hsl(var(--er));\n --tooltip-text-color: hsl(var(--erc))\n}\n.join.join-vertical {\n flex-direction: column\n}\n.join.join-vertical .join-item:first-child:not(:last-child),\n .join.join-vertical *:first-child:not(:last-child) .join-item {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: inherit;\n border-top-right-radius: inherit\n}\n.join.join-vertical .join-item:last-child:not(:first-child),\n .join.join-vertical *:last-child:not(:first-child) .join-item {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit\n}\n.join.join-horizontal {\n flex-direction: row\n}\n.join.join-horizontal .join-item:first-child:not(:last-child),\n .join.join-horizontal *:first-child:not(:last-child) .join-item {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: inherit;\n border-top-left-radius: inherit\n}\n.join.join-horizontal .join-item:last-child:not(:first-child),\n .join.join-horizontal *:last-child:not(:first-child) .join-item {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: inherit;\n border-top-right-radius: inherit\n}\n.kbd-lg {\n padding-left: 1rem;\n padding-right: 1rem;\n font-size: 1.125rem;\n line-height: 1.75rem;\n min-height: 2.5em;\n min-width: 2.5em\n}\n.tooltip {\n position: relative;\n display: inline-block;\n --tooltip-offset: calc(100% + 1px + var(--tooltip-tail, 0px))\n}\n.tooltip:before {\n position: absolute;\n pointer-events: none;\n z-index: 1;\n content: var(--tw-content);\n --tw-content: attr(data-tip)\n}\n.tooltip:before, .tooltip-top:before {\n transform: translateX(-50%);\n top: auto;\n left: 50%;\n right: auto;\n bottom: var(--tooltip-offset)\n}\n.tooltip-bottom:before {\n transform: translateX(-50%);\n top: var(--tooltip-offset);\n left: 50%;\n right: auto;\n bottom: auto\n}\n.join.join-vertical > :where(*:not(:first-child)) {\n margin-left: 0px;\n margin-right: 0px;\n margin-top: -1px\n}\n.join.join-horizontal > :where(*:not(:first-child)) {\n margin-top: 0px;\n margin-bottom: 0px;\n margin-left: -1px\n}\n.tooltip {\n position: relative;\n display: inline-block;\n text-align: center;\n --tooltip-tail: 0.1875rem;\n --tooltip-color: hsl(var(--n));\n --tooltip-text-color: hsl(var(--nc));\n --tooltip-tail-offset: calc(100% + 0.0625rem - var(--tooltip-tail))\n}\n.tooltip:before,\n.tooltip:after {\n opacity: 0;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-delay: 100ms;\n transition-duration: 200ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)\n}\n.tooltip:after {\n position: absolute;\n content: \"\";\n border-style: solid;\n border-width: var(--tooltip-tail, 0);\n width: 0;\n height: 0;\n display: block\n}\n.tooltip:before {\n max-width: 20rem;\n border-radius: 0.25rem;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n background-color: var(--tooltip-color);\n color: var(--tooltip-text-color);\n width: -moz-max-content;\n width: max-content\n}\n.tooltip.tooltip-open:before,\n.tooltip.tooltip-open:after,\n.tooltip:hover:before,\n.tooltip:hover:after {\n opacity: 1;\n transition-delay: 75ms\n}\n.tooltip:has(:focus-visible):after,\n.tooltip:has(:focus-visible):before {\n opacity: 1;\n transition-delay: 75ms\n}\n.tooltip:not([data-tip]):hover:before,\n.tooltip:not([data-tip]):hover:after {\n visibility: hidden;\n opacity: 0\n}\n.tooltip:after, .tooltip-top:after {\n transform: translateX(-50%);\n border-color: var(--tooltip-color) transparent transparent transparent;\n top: auto;\n left: 50%;\n right: auto;\n bottom: var(--tooltip-tail-offset)\n}\n.tooltip-bottom:after {\n transform: translateX(-50%);\n border-color: transparent transparent var(--tooltip-color) transparent;\n top: var(--tooltip-tail-offset);\n left: 50%;\n right: auto;\n bottom: auto\n}\n.absolute {\n position: absolute\n}\n.relative {\n position: relative\n}\n.bottom-2 {\n bottom: 0.5rem\n}\n.left-2 {\n left: 0.5rem\n}\n.left-2\\.5 {\n left: 0.625rem\n}\n.right-2 {\n right: 0.5rem\n}\n.top-2 {\n top: 0.5rem\n}\n.top-2\\.5 {\n top: 0.625rem\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto\n}\n.mb-2 {\n margin-bottom: 0.5rem\n}\n.mt-8 {\n margin-top: 2rem\n}\n.inline-block {\n display: inline-block\n}\n.flex {\n display: flex\n}\n.inline-flex {\n display: inline-flex\n}\n.hidden {\n display: none\n}\n.w-4\\/5 {\n width: 80%\n}\n.w-full {\n width: 100%\n}\n.max-w-xs {\n max-width: 20rem\n}\n.flex-1 {\n flex: 1 1 0%\n}\n.select-all {\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all\n}\n.flex-row {\n flex-direction: row\n}\n.flex-col {\n flex-direction: column\n}\n.flex-wrap {\n flex-wrap: wrap\n}\n.items-end {\n align-items: flex-end\n}\n.items-center {\n align-items: center\n}\n.justify-start {\n justify-content: flex-start\n}\n.justify-center {\n justify-content: center\n}\n.gap-2 {\n gap: 0.5rem\n}\n.gap-2\\.5 {\n gap: 0.625rem\n}\n.gap-4 {\n gap: 1rem\n}\n.gap-8 {\n gap: 2rem\n}\n.overflow-hidden {\n overflow: hidden\n}\n.whitespace-nowrap {\n white-space: nowrap\n}\n.rounded {\n border-radius: 0.25rem\n}\n.rounded-md {\n border-radius: 0.375rem\n}\n.rounded-sm {\n border-radius: 0.125rem\n}\n.rounded-xl {\n border-radius: 0.75rem\n}\n.border {\n border-width: 1px\n}\n.border-l-0 {\n border-left-width: 0px\n}\n.border-l-8 {\n border-left-width: 8px\n}\n.border-solid {\n border-style: solid\n}\n.border-base-200 {\n --tw-border-opacity: 1;\n border-color: hsl(var(--b2) / var(--tw-border-opacity))\n}\n.border-primary {\n --tw-border-opacity: 1;\n border-color: hsl(var(--p) / var(--tw-border-opacity))\n}\n.border-success {\n --tw-border-opacity: 1;\n border-color: hsl(var(--su) / var(--tw-border-opacity))\n}\n.border-l-\\[\\#de624e\\] {\n --tw-border-opacity: 1;\n border-left-color: rgb(222 98 78 / var(--tw-border-opacity))\n}\n.bg-\\[\\#ec7259\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(236 114 89 / var(--tw-bg-opacity))\n}\n.bg-base-100 {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b1) / var(--tw-bg-opacity))\n}\n.bg-base-200 {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b2) / var(--tw-bg-opacity))\n}\n.bg-base-300 {\n --tw-bg-opacity: 1;\n background-color: hsl(var(--b3) / var(--tw-bg-opacity))\n}\n.p-1 {\n padding: 0.25rem\n}\n.p-1\\.5 {\n padding: 0.375rem\n}\n.p-5 {\n padding: 1.25rem\n}\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem\n}\n.py-8 {\n padding-top: 2rem;\n padding-bottom: 2rem\n}\n.pb-4 {\n padding-bottom: 1rem\n}\n.pl-1 {\n padding-left: 0.25rem\n}\n.pl-10 {\n padding-left: 2.5rem\n}\n.font-sans {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"\n}\n.text-8xl {\n font-size: 6rem;\n line-height: 1\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.font-bold {\n font-weight: 700\n}\n.leading-10 {\n line-height: 2.5rem\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity))\n}\n.opacity-50 {\n opacity: 0.5\n}\n.opacity-60 {\n opacity: 0.6\n}\n.opacity-70 {\n opacity: 0.7\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)\n}\n.group:hover .group-hover\\:inline {\n display: inline\n}\n";
1342
- styleInject(css_248z);
1343
-
1344
- const $RAW = Symbol("store-raw"),
1345
- $NODE = Symbol("store-node");
1346
- function wrap$1(value) {
1347
- let p = value[$PROXY];
1348
- if (!p) {
1349
- Object.defineProperty(value, $PROXY, {
1350
- value: p = new Proxy(value, proxyTraps$1)
1351
- });
1352
- if (!Array.isArray(value)) {
1353
- const keys = Object.keys(value),
1354
- desc = Object.getOwnPropertyDescriptors(value);
1355
- for (let i = 0, l = keys.length; i < l; i++) {
1356
- const prop = keys[i];
1357
- if (desc[prop].get) {
1358
- Object.defineProperty(value, prop, {
1359
- enumerable: desc[prop].enumerable,
1360
- get: desc[prop].get.bind(p)
1361
- });
1362
- }
1363
- }
967
+ function Tt(e, t, r) {
968
+ return arguments.length === 2 && (r = t, t = {}), Ze(e, t)(Lt(r));
969
+ }
970
+ const Ft = `.bati-widget,[data-theme]{background-color:hsl(var(--b1) / var(--tw-bg-opacity, 1));color:hsl(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}.bati-widget{color-scheme:light;--pf: 259 94% 44%;--sf: 314 100% 40%;--af: 174 75% 39%;--nf: 214 20% 14%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 259 94% 51%;--pc: 259 96% 91%;--s: 314 100% 47%;--sc: 314 100% 91%;--a: 174 75% 46%;--ac: 174 75% 11%;--n: 214 20% 21%;--nc: 212 19% 87%;--b1: 0 0% 100%;--b2: 0 0% 95%;--b3: 180 2% 90%;--bc: 215 28% 17% }@media (prefers-color-scheme: dark){.bati-widget{color-scheme:dark;--pf: 262 80% 43%;--sf: 316 70% 43%;--af: 175 70% 34%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262 80% 50%;--pc: 0 0% 100%;--s: 316 70% 50%;--sc: 0 0% 100%;--a: 175 70% 41%;--ac: 0 0% 100%;--n: 213 18% 20%;--nf: 212 17% 17%;--nc: 220 13% 69%;--b1: 212 18% 14%;--b2: 213 18% 12%;--b3: 213 18% 10%;--bc: 220 13% 69% }}[data-theme=light]{color-scheme:light;--pf: 259 94% 44%;--sf: 314 100% 40%;--af: 174 75% 39%;--nf: 214 20% 14%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 259 94% 51%;--pc: 259 96% 91%;--s: 314 100% 47%;--sc: 314 100% 91%;--a: 174 75% 46%;--ac: 174 75% 11%;--n: 214 20% 21%;--nc: 212 19% 87%;--b1: 0 0% 100%;--b2: 0 0% 95%;--b3: 180 2% 90%;--bc: 215 28% 17% }[data-theme=dark]{color-scheme:dark;--pf: 262 80% 43%;--sf: 316 70% 43%;--af: 175 70% 34%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 262 80% 50%;--pc: 0 0% 100%;--s: 316 70% 50%;--sc: 0 0% 100%;--a: 175 70% 41%;--ac: 0 0% 100%;--n: 213 18% 20%;--nf: 212 17% 17%;--nc: 220 13% 69%;--b1: 212 18% 14%;--b2: 213 18% 12%;--b3: 213 18% 10%;--bc: 220 13% 69% }*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }@media (hover:hover){.link-hover:hover{text-decoration-line:underline}.checkbox-success:hover{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.label a:hover{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}}.card{position:relative;display:flex;flex-direction:column;border-radius:var(--rounded-box, 1rem)}.card:focus{outline:2px solid transparent;outline-offset:2px}.card-body{display:flex;flex:1 1 auto;flex-direction:column;padding:var(--padding-card, 2rem);gap:.5rem}.card-body :where(p){flex-grow:1}.card figure{display:flex;align-items:center;justify-content:center}.card.image-full{display:grid}.card.image-full:before{position:relative;content:"";z-index:10;--tw-bg-opacity: 1;background-color:hsl(var(--n) / var(--tw-bg-opacity));opacity:.75;border-radius:var(--rounded-box, 1rem)}.card.image-full:before,.card.image-full>*{grid-column-start:1;grid-row-start:1}.card.image-full>figure img{height:100%;-o-object-fit:cover;object-fit:cover}.card.image-full>.card-body{position:relative;z-index:20;--tw-text-opacity: 1;color:hsl(var(--nc) / var(--tw-text-opacity))}.checkbox{flex-shrink:0;--chkbg: var(--bc);--chkfg: var(--b1);height:1.5rem;width:1.5rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;border-radius:var(--rounded-btn, .5rem)}.divider{display:flex;flex-direction:row;align-items:center;align-self:stretch;margin-top:1rem;margin-bottom:1rem;height:1rem;white-space:nowrap}.divider:before,.divider:after{content:"";flex-grow:1;height:.125rem;width:100%}@media (hover: hover){.btm-nav>*.disabled:hover,.btm-nav>*[disabled]:hover{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2 }:where(.menu li:not(.menu-title):not(.disabled)>*:not(ul):not(details):not(.menu-title)):not(.active):hover,:where(.menu li:not(.menu-title):not(.disabled)>details>summary:not(.menu-title)):not(.active):hover{cursor:pointer;background-color:hsl(var(--bc) / .1);--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}}.footer{display:grid;width:100%;grid-auto-flow:row;place-items:start;row-gap:2.5rem;-moz-column-gap:1rem;column-gap:1rem;font-size:.875rem;line-height:1.25rem}.footer>*{display:grid;place-items:start;gap:.5rem}.footer-center{place-items:center;text-align:center}.footer-center>*{place-items:center}@media (min-width: 48rem){.footer{grid-auto-flow:column}.footer-center{grid-auto-flow:row dense}}.form-control{display:flex;flex-direction:column}.label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding:.5rem .25rem}.input{flex-shrink:1;height:3rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:2;line-height:1.5rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));border-radius:var(--rounded-btn, .5rem)}.input-group>.input{isolation:isolate}.input-group>*,.input-group>.input,.input-group>.textarea,.input-group>.select{border-radius:0}.join{display:inline-flex;align-items:stretch;border-radius:var(--rounded-btn, .5rem)}.join :where(.join-item){border-radius:0}.join .join-item:not(:first-child):not(:last-child),.join *:not(:first-child):not(:last-child) .join-item{border-radius:0}.join .join-item:first-child:not(:last-child),.join *:first-child:not(:last-child) .join-item{border-top-right-radius:0;border-bottom-right-radius:0}.join :where(.join-item:first-child:not(:last-child)),.join :where(*:first-child:not(:last-child) .join-item){border-bottom-left-radius:inherit;border-top-left-radius:inherit}.join .join-item:last-child:not(:first-child),.join *:last-child:not(:first-child) .join-item{border-bottom-left-radius:0;border-top-left-radius:0}.join :where(.join-item:last-child:not(:first-child)),.join :where(*:last-child:not(:first-child) .join-item){border-top-right-radius:inherit;border-bottom-right-radius:inherit}:where(.join *){border-radius:inherit}.kbd{display:inline-flex;align-items:center;justify-content:center;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: .2;--tw-bg-opacity: 1;background-color:hsl(var(--b2) / var(--tw-bg-opacity));padding-left:.5rem;padding-right:.5rem;border-radius:var(--rounded-btn, .5rem);border-bottom-width:2px;min-height:2.2em;min-width:2.2em}.link{cursor:pointer;text-decoration-line:underline}.link-hover{text-decoration-line:none}.menu li.disabled{cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:hsl(var(--bc) / .3)}.select{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3rem;padding-left:1rem;padding-right:2.5rem;font-size:.875rem;line-height:1.25rem;line-height:2;min-height:3rem;border-width:1px;border-color:hsl(var(--bc) / var(--tw-border-opacity));--tw-border-opacity: 0;--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity));font-weight:600;border-radius:var(--rounded-btn, .5rem);background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-size:4px 4px,4px 4px;background-repeat:no-repeat}.select[multiple]{height:auto}.stack{display:inline-grid;place-items:center;align-items:flex-end}.stack>*{grid-column-start:1;grid-row-start:1;transform:translateY(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack>*:nth-child(2){transform:translateY(5%) scale(.95);z-index:2;opacity:.8}.stack>*:nth-child(1){transform:translateY(0) scale(1);z-index:3;opacity:1}.btm-nav>*.disabled,.btm-nav>*[disabled]{pointer-events:none;--tw-border-opacity: 0;background-color:hsl(var(--n) / var(--tw-bg-opacity));--tw-bg-opacity: .1;color:hsl(var(--bc) / var(--tw-text-opacity));--tw-text-opacity: .2 }.btm-nav>* .label{font-size:1rem;line-height:1.5rem}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale, .98))}40%{transform:scale(1.02)}to{transform:scale(1)}}.card :where(figure:first-child){overflow:hidden;border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-start-radius:unset;border-end-end-radius:unset}.card :where(figure:last-child){overflow:hidden;border-start-start-radius:unset;border-start-end-radius:unset;border-end-start-radius:inherit;border-end-end-radius:inherit}.card:focus-visible{outline:2px solid currentColor;outline-offset:2px}.card.bordered{border-width:1px;--tw-border-opacity: 1;border-color:hsl(var(--b2) / var(--tw-border-opacity))}.card.compact .card-body{padding:1rem;font-size:.875rem;line-height:1.25rem}.card-title{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.card.image-full :where(figure){overflow:hidden;border-radius:inherit}.checkbox:focus-visible{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:hsl(var(--bc) / 1)}.checkbox:checked,.checkbox[checked=true],.checkbox[aria-checked=true]{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.checkbox:indeterminate{--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));background-repeat:no-repeat;animation:checkmark var(--animation-input, .2s) ease-out;background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%)}.checkbox-success{--chkbg: var(--su);--chkfg: var(--suc);--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.checkbox-success:focus-visible{outline-color:hsl(var(--su) / 1)}.checkbox-success:checked,.checkbox-success[checked=true],.checkbox-success[aria-checked=true]{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--su) / var(--tw-bg-opacity));--tw-text-opacity: 1;color:hsl(var(--suc) / var(--tw-text-opacity))}.checkbox:disabled{cursor:not-allowed;border-color:transparent;--tw-bg-opacity: 1;background-color:hsl(var(--bc) / var(--tw-bg-opacity));opacity:.2}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}[dir=rtl] .checkbox:checked,[dir=rtl] .checkbox[checked=true],[dir=rtl] .checkbox[aria-checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.divider:before{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1 }.divider:after{background-color:hsl(var(--bc) / var(--tw-bg-opacity));--tw-bg-opacity: .1 }.divider:not(:empty){gap:1rem}.label-text{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.input[list]::-webkit-calendar-picker-indicator{line-height:1em}.input:focus{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:hsl(var(--bc) / .2)}.input-disabled,.input:disabled,.input[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2) / var(--tw-bg-opacity));--tw-text-opacity: .2 }.input-disabled::-moz-placeholder,.input:disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2 }.input-disabled::placeholder,.input:disabled::placeholder,.input[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2 }.join>:where(*:not(:first-child)){margin-top:0;margin-bottom:0;margin-left:-1px}.join-item:focus{isolation:isolate}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.mockup-browser .mockup-browser-toolbar .input{position:relative;margin-left:auto;margin-right:auto;display:block;height:1.75rem;width:24rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-bg-opacity: 1;background-color:hsl(var(--b2) / var(--tw-bg-opacity));padding-left:2rem}.mockup-browser .mockup-browser-toolbar .input:before{content:"";position:absolute;top:50%;left:.5rem;aspect-ratio:1 / 1;height:.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:2px;border-color:currentColor;opacity:.6}.mockup-browser .mockup-browser-toolbar .input:after{content:"";position:absolute;top:50%;left:1.25rem;height:.5rem;--tw-translate-y: 25%;--tw-rotate: -45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;border-width:1px;border-color:currentColor;opacity:.6}@keyframes modal-pop{0%{opacity:0}}@keyframes progress-loading{50%{background-position-x:-115%}}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select:focus{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:hsl(var(--bc) / .2)}.select-primary{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.select-primary:focus{outline-color:hsl(var(--p) / 1)}.select-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.select-success:focus{outline-color:hsl(var(--su) / 1)}.select-disabled,.select:disabled,.select[disabled]{cursor:not-allowed;--tw-border-opacity: 1;border-color:hsl(var(--b2) / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:hsl(var(--b2) / var(--tw-bg-opacity));--tw-text-opacity: .2 }.select-disabled::-moz-placeholder,.select:disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2 }.select-disabled::placeholder,.select:disabled::placeholder,.select[disabled]::placeholder{color:hsl(var(--bc) / var(--tw-placeholder-opacity));--tw-placeholder-opacity: .2 }.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}[dir=rtl] .select{background-position:calc(0% + 12px) calc(1px + 50%),calc(0% + 16px) calc(1px + 50%)}@keyframes toast-pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.tooltip.tooltip-primary{--tooltip-color: hsl(var(--p));--tooltip-text-color: hsl(var(--pc)) }.tooltip.tooltip-secondary{--tooltip-color: hsl(var(--s));--tooltip-text-color: hsl(var(--sc)) }.tooltip.tooltip-accent{--tooltip-color: hsl(var(--a));--tooltip-text-color: hsl(var(--ac)) }.tooltip.tooltip-info{--tooltip-color: hsl(var(--in));--tooltip-text-color: hsl(var(--inc)) }.tooltip.tooltip-success{--tooltip-color: hsl(var(--su));--tooltip-text-color: hsl(var(--suc)) }.tooltip.tooltip-warning{--tooltip-color: hsl(var(--wa));--tooltip-text-color: hsl(var(--wac)) }.tooltip.tooltip-error{--tooltip-color: hsl(var(--er));--tooltip-text-color: hsl(var(--erc)) }.join.join-vertical{flex-direction:column}.join.join-vertical .join-item:first-child:not(:last-child),.join.join-vertical *:first-child:not(:last-child) .join-item{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:inherit;border-top-right-radius:inherit}.join.join-vertical .join-item:last-child:not(:first-child),.join.join-vertical *:last-child:not(:first-child) .join-item{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.join.join-horizontal{flex-direction:row}.join.join-horizontal .join-item:first-child:not(:last-child),.join.join-horizontal *:first-child:not(:last-child) .join-item{border-bottom-right-radius:0;border-top-right-radius:0;border-bottom-left-radius:inherit;border-top-left-radius:inherit}.join.join-horizontal .join-item:last-child:not(:first-child),.join.join-horizontal *:last-child:not(:first-child) .join-item{border-bottom-left-radius:0;border-top-left-radius:0;border-bottom-right-radius:inherit;border-top-right-radius:inherit}.kbd-lg{padding-left:1rem;padding-right:1rem;font-size:1.125rem;line-height:1.75rem;min-height:2.5em;min-width:2.5em}.tooltip{position:relative;display:inline-block;--tooltip-offset: calc(100% + 1px + var(--tooltip-tail, 0px)) }.tooltip:before{position:absolute;pointer-events:none;z-index:1;content:var(--tw-content);--tw-content: attr(data-tip) }.tooltip:before,.tooltip-top:before{transform:translate(-50%);top:auto;left:50%;right:auto;bottom:var(--tooltip-offset)}.tooltip-bottom:before{transform:translate(-50%);top:var(--tooltip-offset);left:50%;right:auto;bottom:auto}.card-compact .card-body{padding:1rem;font-size:.875rem;line-height:1.25rem}.card-compact .card-title{margin-bottom:.25rem}.card-normal .card-body{padding:var(--padding-card, 2rem);font-size:1rem;line-height:1.5rem}.card-normal .card-title{margin-bottom:.75rem}.join.join-vertical>:where(*:not(:first-child)){margin-left:0;margin-right:0;margin-top:-1px}.join.join-horizontal>:where(*:not(:first-child)){margin-top:0;margin-bottom:0;margin-left:-1px}.tooltip{position:relative;display:inline-block;text-align:center;--tooltip-tail: .1875rem;--tooltip-color: hsl(var(--n));--tooltip-text-color: hsl(var(--nc));--tooltip-tail-offset: calc(100% + .0625rem - var(--tooltip-tail)) }.tooltip:before,.tooltip:after{opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-delay:.1s;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tooltip:after{position:absolute;content:"";border-style:solid;border-width:var(--tooltip-tail, 0);width:0;height:0;display:block}.tooltip:before{max-width:20rem;border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;background-color:var(--tooltip-color);color:var(--tooltip-text-color);width:-moz-max-content;width:max-content}.tooltip.tooltip-open:before,.tooltip.tooltip-open:after,.tooltip:hover:before,.tooltip:hover:after{opacity:1;transition-delay:75ms}.tooltip:has(:focus-visible):after,.tooltip:has(:focus-visible):before{opacity:1;transition-delay:75ms}.tooltip:not([data-tip]):hover:before,.tooltip:not([data-tip]):hover:after{visibility:hidden;opacity:0}.tooltip:after,.tooltip-top:after{transform:translate(-50%);border-color:var(--tooltip-color) transparent transparent transparent;top:auto;left:50%;right:auto;bottom:var(--tooltip-tail-offset)}.tooltip-bottom:after{transform:translate(-50%);border-color:transparent transparent var(--tooltip-color) transparent;top:var(--tooltip-tail-offset);left:50%;right:auto;bottom:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-2{left:.5rem}.left-2\\.5{left:.625rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-2{top:.5rem}.top-2\\.5{top:.625rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.w-4\\/5{width:80%}.w-full{width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.basis-full{flex-basis:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-l-0{border-left-width:0px}.border-solid{border-style:solid}.border-base-200{--tw-border-opacity: 1;border-color:hsl(var(--b2) / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:hsl(var(--p) / var(--tw-border-opacity))}.border-success{--tw-border-opacity: 1;border-color:hsl(var(--su) / var(--tw-border-opacity))}.bg-base-100{--tw-bg-opacity: 1;background-color:hsl(var(--b1) / var(--tw-bg-opacity))}.bg-base-200{--tw-bg-opacity: 1;background-color:hsl(var(--b2) / var(--tw-bg-opacity))}.bg-base-300{--tw-bg-opacity: 1;background-color:hsl(var(--b3) / var(--tw-bg-opacity))}.fill-base-100{fill:hsl(var(--b1) / 1)}.fill-neutral-800{fill:#262626}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-4{padding-bottom:1rem}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.text-left{text-align:left}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-8xl{font-size:6rem;line-height:1}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.leading-10{line-height:2.5rem}.text-base-content{--tw-text-opacity: 1;color:hsl(var(--bc) / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-amber-500{text-decoration-color:#f59e0b}.decoration-fuchsia-700{text-decoration-color:#a21caf}.decoration-sky-500{text-decoration-color:#0ea5e9}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-1{outline-width:1px}.outline-offset-2{outline-offset:2px}.outline-amber-500{outline-color:#f59e0b}.outline-fuchsia-700{outline-color:#a21caf}.outline-sky-500{outline-color:#0ea5e9}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:outline:hover{outline-style:solid}.group:hover .group-hover\\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (prefers-color-scheme: dark){.dark\\:fill-neutral-200{fill:#e5e5e5}}@media (min-width: 640px){.sm\\:w-auto{width:auto}.sm\\:max-w-xs{max-width:20rem}}@media (min-width: 768px){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1280px){.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
971
+ `, ce = Symbol("store-raw"), D = Symbol("store-node");
972
+ function Ke(e) {
973
+ let t = e[S];
974
+ if (!t && (Object.defineProperty(e, S, {
975
+ value: t = new Proxy(e, It)
976
+ }), !Array.isArray(e))) {
977
+ const r = Object.keys(e), o = Object.getOwnPropertyDescriptors(e);
978
+ for (let i = 0, n = r.length; i < n; i++) {
979
+ const l = r[i];
980
+ o[l].get && Object.defineProperty(e, l, {
981
+ enumerable: o[l].enumerable,
982
+ get: o[l].get.bind(t)
983
+ });
1364
984
  }
1365
985
  }
1366
- return p;
986
+ return t;
1367
987
  }
1368
- function isWrappable(obj) {
1369
- let proto;
1370
- return obj != null && typeof obj === "object" && (obj[$PROXY] || !(proto = Object.getPrototypeOf(obj)) || proto === Object.prototype || Array.isArray(obj));
1371
- }
1372
- function unwrap(item, set = new Set()) {
1373
- let result, unwrapped, v, prop;
1374
- if (result = item != null && item[$RAW]) return result;
1375
- if (!isWrappable(item) || set.has(item)) return item;
1376
- if (Array.isArray(item)) {
1377
- if (Object.isFrozen(item)) item = item.slice(0);else set.add(item);
1378
- for (let i = 0, l = item.length; i < l; i++) {
1379
- v = item[i];
1380
- if ((unwrapped = unwrap(v, set)) !== v) item[i] = unwrapped;
1381
- }
988
+ function G(e) {
989
+ let t;
990
+ return e != null && typeof e == "object" && (e[S] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
991
+ }
992
+ function I(e, t = /* @__PURE__ */ new Set()) {
993
+ let r, o, i, n;
994
+ if (r = e != null && e[ce])
995
+ return r;
996
+ if (!G(e) || t.has(e))
997
+ return e;
998
+ if (Array.isArray(e)) {
999
+ Object.isFrozen(e) ? e = e.slice(0) : t.add(e);
1000
+ for (let l = 0, a = e.length; l < a; l++)
1001
+ i = e[l], (o = I(i, t)) !== i && (e[l] = o);
1382
1002
  } else {
1383
- if (Object.isFrozen(item)) item = Object.assign({}, item);else set.add(item);
1384
- const keys = Object.keys(item),
1385
- desc = Object.getOwnPropertyDescriptors(item);
1386
- for (let i = 0, l = keys.length; i < l; i++) {
1387
- prop = keys[i];
1388
- if (desc[prop].get) continue;
1389
- v = item[prop];
1390
- if ((unwrapped = unwrap(v, set)) !== v) item[prop] = unwrapped;
1391
- }
1003
+ Object.isFrozen(e) ? e = Object.assign({}, e) : t.add(e);
1004
+ const l = Object.keys(e), a = Object.getOwnPropertyDescriptors(e);
1005
+ for (let c = 0, u = l.length; c < u; c++)
1006
+ n = l[c], !a[n].get && (i = e[n], (o = I(i, t)) !== i && (e[n] = o));
1392
1007
  }
1393
- return item;
1008
+ return e;
1394
1009
  }
1395
- function getDataNodes(target) {
1396
- let nodes = target[$NODE];
1397
- if (!nodes) Object.defineProperty(target, $NODE, {
1398
- value: nodes = Object.create(null)
1399
- });
1400
- return nodes;
1401
- }
1402
- function getDataNode(nodes, property, value) {
1403
- return nodes[property] || (nodes[property] = createDataNode(value));
1404
- }
1405
- function proxyDescriptor$1(target, property) {
1406
- const desc = Reflect.getOwnPropertyDescriptor(target, property);
1407
- if (!desc || desc.get || !desc.configurable || property === $PROXY || property === $NODE) return desc;
1408
- delete desc.value;
1409
- delete desc.writable;
1410
- desc.get = () => target[$PROXY][property];
1411
- return desc;
1412
- }
1413
- function trackSelf(target) {
1414
- if (getListener()) {
1415
- const nodes = getDataNodes(target);
1416
- (nodes._ || (nodes._ = createDataNode()))();
1010
+ function ge(e) {
1011
+ let t = e[D];
1012
+ return t || Object.defineProperty(e, D, {
1013
+ value: t = /* @__PURE__ */ Object.create(null)
1014
+ }), t;
1015
+ }
1016
+ function de(e, t, r) {
1017
+ return e[t] || (e[t] = Ue(r));
1018
+ }
1019
+ function Bt(e, t) {
1020
+ const r = Reflect.getOwnPropertyDescriptor(e, t);
1021
+ return !r || r.get || !r.configurable || t === S || t === D || (delete r.value, delete r.writable, r.get = () => e[S][t]), r;
1022
+ }
1023
+ function Re(e) {
1024
+ if (Ee()) {
1025
+ const t = ge(e);
1026
+ (t._ || (t._ = Ue()))();
1417
1027
  }
1418
1028
  }
1419
- function ownKeys(target) {
1420
- trackSelf(target);
1421
- return Reflect.ownKeys(target);
1029
+ function Dt(e) {
1030
+ return Re(e), Reflect.ownKeys(e);
1422
1031
  }
1423
- function createDataNode(value) {
1424
- const [s, set] = createSignal(value, {
1425
- equals: false,
1426
- internal: true
1032
+ function Ue(e) {
1033
+ const [t, r] = K(e, {
1034
+ equals: !1,
1035
+ internal: !0
1427
1036
  });
1428
- s.$ = set;
1429
- return s;
1430
- }
1431
- const proxyTraps$1 = {
1432
- get(target, property, receiver) {
1433
- if (property === $RAW) return target;
1434
- if (property === $PROXY) return receiver;
1435
- if (property === $TRACK) {
1436
- trackSelf(target);
1437
- return receiver;
1037
+ return t.$ = r, t;
1038
+ }
1039
+ const It = {
1040
+ get(e, t, r) {
1041
+ if (t === ce)
1042
+ return e;
1043
+ if (t === S)
1044
+ return r;
1045
+ if (t === ne)
1046
+ return Re(e), r;
1047
+ const o = ge(e), i = o[t];
1048
+ let n = i ? i() : e[t];
1049
+ if (t === D || t === "__proto__")
1050
+ return n;
1051
+ if (!i) {
1052
+ const l = Object.getOwnPropertyDescriptor(e, t);
1053
+ Ee() && (typeof n != "function" || e.hasOwnProperty(t)) && !(l && l.get) && (n = de(o, t, n)());
1438
1054
  }
1439
- const nodes = getDataNodes(target);
1440
- const tracked = nodes[property];
1441
- let value = tracked ? tracked() : target[property];
1442
- if (property === $NODE || property === "__proto__") return value;
1443
- if (!tracked) {
1444
- const desc = Object.getOwnPropertyDescriptor(target, property);
1445
- if (getListener() && (typeof value !== "function" || target.hasOwnProperty(property)) && !(desc && desc.get)) value = getDataNode(nodes, property, value)();
1446
- }
1447
- return isWrappable(value) ? wrap$1(value) : value;
1055
+ return G(n) ? Ke(n) : n;
1448
1056
  },
1449
- has(target, property) {
1450
- if (property === $RAW || property === $PROXY || property === $TRACK || property === $NODE || property === "__proto__") return true;
1451
- this.get(target, property, target);
1452
- return property in target;
1057
+ has(e, t) {
1058
+ return t === ce || t === S || t === ne || t === D || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
1453
1059
  },
1454
1060
  set() {
1455
- return true;
1061
+ return !0;
1456
1062
  },
1457
1063
  deleteProperty() {
1458
- return true;
1064
+ return !0;
1459
1065
  },
1460
- ownKeys: ownKeys,
1461
- getOwnPropertyDescriptor: proxyDescriptor$1
1066
+ ownKeys: Dt,
1067
+ getOwnPropertyDescriptor: Bt
1462
1068
  };
1463
- function setProperty(state, property, value, deleting = false) {
1464
- if (!deleting && state[property] === value) return;
1465
- const prev = state[property],
1466
- len = state.length;
1467
- if (value === undefined) delete state[property];else state[property] = value;
1468
- let nodes = getDataNodes(state),
1469
- node;
1470
- if (node = getDataNode(nodes, property, prev)) node.$(() => value);
1471
- if (Array.isArray(state) && state.length !== len) {
1472
- for (let i = state.length; i < len; i++) (node = nodes[i]) && node.$();
1473
- (node = getDataNode(nodes, "length", len)) && node.$(state.length);
1069
+ function Q(e, t, r, o = !1) {
1070
+ if (!o && e[t] === r)
1071
+ return;
1072
+ const i = e[t], n = e.length;
1073
+ r === void 0 ? delete e[t] : e[t] = r;
1074
+ let l = ge(e), a;
1075
+ if ((a = de(l, t, i)) && a.$(() => r), Array.isArray(e) && e.length !== n) {
1076
+ for (let c = e.length; c < n; c++)
1077
+ (a = l[c]) && a.$();
1078
+ (a = de(l, "length", n)) && a.$(e.length);
1474
1079
  }
1475
- (node = nodes._) && node.$();
1080
+ (a = l._) && a.$();
1476
1081
  }
1477
- function mergeStoreNode(state, value) {
1478
- const keys = Object.keys(value);
1479
- for (let i = 0; i < keys.length; i += 1) {
1480
- const key = keys[i];
1481
- setProperty(state, key, value[key]);
1082
+ function Ve(e, t) {
1083
+ const r = Object.keys(t);
1084
+ for (let o = 0; o < r.length; o += 1) {
1085
+ const i = r[o];
1086
+ Q(e, i, t[i]);
1482
1087
  }
1483
1088
  }
1484
- function updateArray(current, next) {
1485
- if (typeof next === "function") next = next(current);
1486
- next = unwrap(next);
1487
- if (Array.isArray(next)) {
1488
- if (current === next) return;
1489
- let i = 0,
1490
- len = next.length;
1491
- for (; i < len; i++) {
1492
- const value = next[i];
1493
- if (current[i] !== value) setProperty(current, i, value);
1089
+ function Kt(e, t) {
1090
+ if (typeof t == "function" && (t = t(e)), t = I(t), Array.isArray(t)) {
1091
+ if (e === t)
1092
+ return;
1093
+ let r = 0, o = t.length;
1094
+ for (; r < o; r++) {
1095
+ const i = t[r];
1096
+ e[r] !== i && Q(e, r, i);
1494
1097
  }
1495
- setProperty(current, "length", len);
1496
- } else mergeStoreNode(current, next);
1497
- }
1498
- function updatePath(current, path, traversed = []) {
1499
- let part,
1500
- prev = current;
1501
- if (path.length > 1) {
1502
- part = path.shift();
1503
- const partType = typeof part,
1504
- isArray = Array.isArray(current);
1505
- if (Array.isArray(part)) {
1506
- for (let i = 0; i < part.length; i++) {
1507
- updatePath(current, [part[i]].concat(path), traversed);
1508
- }
1098
+ Q(e, "length", o);
1099
+ } else
1100
+ Ve(e, t);
1101
+ }
1102
+ function B(e, t, r = []) {
1103
+ let o, i = e;
1104
+ if (t.length > 1) {
1105
+ o = t.shift();
1106
+ const l = typeof o, a = Array.isArray(e);
1107
+ if (Array.isArray(o)) {
1108
+ for (let c = 0; c < o.length; c++)
1109
+ B(e, [o[c]].concat(t), r);
1509
1110
  return;
1510
- } else if (isArray && partType === "function") {
1511
- for (let i = 0; i < current.length; i++) {
1512
- if (part(current[i], i)) updatePath(current, [i].concat(path), traversed);
1513
- }
1111
+ } else if (a && l === "function") {
1112
+ for (let c = 0; c < e.length; c++)
1113
+ o(e[c], c) && B(e, [c].concat(t), r);
1514
1114
  return;
1515
- } else if (isArray && partType === "object") {
1115
+ } else if (a && l === "object") {
1516
1116
  const {
1517
- from = 0,
1518
- to = current.length - 1,
1519
- by = 1
1520
- } = part;
1521
- for (let i = from; i <= to; i += by) {
1522
- updatePath(current, [i].concat(path), traversed);
1523
- }
1117
+ from: c = 0,
1118
+ to: u = e.length - 1,
1119
+ by: s = 1
1120
+ } = o;
1121
+ for (let d = c; d <= u; d += s)
1122
+ B(e, [d].concat(t), r);
1524
1123
  return;
1525
- } else if (path.length > 1) {
1526
- updatePath(current[part], path, [part].concat(traversed));
1124
+ } else if (t.length > 1) {
1125
+ B(e[o], t, [o].concat(r));
1527
1126
  return;
1528
1127
  }
1529
- prev = current[part];
1530
- traversed = [part].concat(traversed);
1531
- }
1532
- let value = path[0];
1533
- if (typeof value === "function") {
1534
- value = value(prev, traversed);
1535
- if (value === prev) return;
1128
+ i = e[o], r = [o].concat(r);
1536
1129
  }
1537
- if (part === undefined && value == undefined) return;
1538
- value = unwrap(value);
1539
- if (part === undefined || isWrappable(prev) && isWrappable(value) && !Array.isArray(value)) {
1540
- mergeStoreNode(prev, value);
1541
- } else setProperty(current, part, value);
1542
- }
1543
- function createStore(...[store, options]) {
1544
- const unwrappedStore = unwrap(store || {});
1545
- const isArray = Array.isArray(unwrappedStore);
1546
- const wrappedStore = wrap$1(unwrappedStore);
1547
- function setStore(...args) {
1548
- batch(() => {
1549
- isArray && args.length === 1 ? updateArray(unwrappedStore, args[0]) : updatePath(unwrappedStore, args);
1130
+ let n = t[0];
1131
+ typeof n == "function" && (n = n(i, r), n === i) || o === void 0 && n == null || (n = I(n), o === void 0 || G(i) && G(n) && !Array.isArray(n) ? Ve(i, n) : Q(e, o, n));
1132
+ }
1133
+ function Rt(...[e, t]) {
1134
+ const r = I(e || {}), o = Array.isArray(r), i = Ke(r);
1135
+ function n(...l) {
1136
+ Oe(() => {
1137
+ o && l.length === 1 ? Kt(r, l[0]) : B(r, l);
1550
1138
  });
1551
1139
  }
1552
- return [wrappedStore, setStore];
1553
- }
1554
-
1555
- var framework = {
1556
- label: "Framework",
1557
- inview: true,
1558
- features: [
1559
- {
1560
- label: "SolidJS ★",
1561
- value: "solid",
1562
- selected: true
1563
- },
1564
- {
1565
- label: "React - Coming Soon",
1566
- value: "react",
1567
- disabled: true
1568
- },
1569
- {
1570
- label: "Vue - Coming Soon",
1571
- value: "vue",
1572
- disabled: true
1573
- }
1574
- ]
1575
- };
1576
- var auth = {
1577
- label: "Auth",
1578
- features: [
1579
- {
1580
- label: "AuthJS ★",
1581
- value: "authjs",
1582
- selected: true
1583
- },
1584
- {
1585
- label: "Auth0 - Coming Soon",
1586
- value: "auth0",
1587
- disabled: true
1588
- },
1589
- {
1590
- label: "Firebase - Coming Soon",
1591
- value: "firebase",
1592
- disabled: true
1593
- }
1594
- ]
1595
- };
1596
- var rpc = {
1597
- label: "RPC",
1598
- features: [
1599
- {
1600
- label: "Telefunc ★",
1601
- value: "telefunc",
1602
- selected: true
1603
- },
1604
- {
1605
- label: "tRPC - Coming Soon",
1606
- value: "trpc",
1607
- disabled: true
1608
- }
1609
- ]
1610
- };
1611
- var server = {
1612
- label: "Server",
1613
- features: [
1614
- {
1615
- label: "Hattip ★",
1616
- value: "hattip",
1617
- selected: true
1618
- },
1619
- {
1620
- label: "Express",
1621
- value: "express"
1622
- }
1623
- ]
1624
- };
1625
- var uikit = {
1626
- label: "CSS",
1627
- features: [
1628
- {
1629
- label: "TailwindCSS",
1630
- value: "tailwindcss",
1631
- selected: true
1632
- },
1633
- {
1634
- label: "UnoCSS - Coming Soon",
1635
- value: "unocss",
1636
- disabled: true
1637
- },
1638
- {
1639
- label: "MUI - Coming Soon",
1640
- value: "mui",
1641
- disabled: true
1642
- }
1643
- ]
1644
- };
1645
- var db = {
1646
- label: "Database",
1647
- features: [
1648
- {
1649
- label: "Prisma",
1650
- value: "prisma",
1651
- selected: true
1652
- },
1653
- {
1654
- label: "EdgeDB",
1655
- value: "edgedb"
1656
- }
1657
- ]
1658
- };
1659
- var hosting = {
1660
- disabled: true,
1661
- label: "Hosting",
1662
- features: [
1663
- {
1664
- label: "Coming Soon",
1665
- selected: true
1666
- },
1667
- {
1668
- label: "Vercel - Coming Soon",
1669
- value: "vercel",
1670
- disabled: true
1671
- },
1672
- {
1673
- label: "Netlify - Coming Soon",
1674
- value: "netlify",
1675
- disabled: true
1676
- }
1677
- ]
1678
- };
1679
- var analytics = {
1680
- label: "Analytics",
1681
- features: [
1682
- {
1683
- label: "Plausible.io",
1684
- value: "plausible.io",
1685
- selected: true
1686
- },
1687
- {
1688
- label: "Google Analytics - Coming Soon",
1689
- value: "google-analytics",
1690
- disabled: true
1691
- },
1692
- {
1693
- label: "Segment - Coming Soon",
1694
- value: "segment",
1695
- disabled: true
1696
- }
1697
- ]
1698
- };
1699
- var error = {
1700
- disabled: true,
1701
- label: "Error tracking",
1702
- features: [
1703
- {
1704
- label: "Coming Soon",
1705
- selected: true
1706
- },
1707
- {
1708
- label: "Sentry - Coming Soon",
1709
- value: "sentry",
1710
- disabled: true
1711
- },
1712
- {
1713
- label: "Logrocket - Coming Soon",
1714
- value: "logrocket",
1715
- disabled: true
1716
- }
1717
- ]
1718
- };
1719
- var features = {
1720
- framework: framework,
1721
- auth: auth,
1722
- rpc: rpc,
1723
- server: server,
1724
- uikit: uikit,
1725
- db: db,
1726
- hosting: hosting,
1727
- analytics: analytics,
1728
- error: error
1140
+ return [i, n];
1141
+ }
1142
+ const Ut = {
1143
+ label: "Framework",
1144
+ inview: !0,
1145
+ features: [
1146
+ {
1147
+ label: "SolidJS ★",
1148
+ value: "solid",
1149
+ selected: !0
1150
+ },
1151
+ {
1152
+ label: "React",
1153
+ value: "react"
1154
+ },
1155
+ {
1156
+ label: "Vue - Coming Soon",
1157
+ value: "vue",
1158
+ disabled: !0
1159
+ }
1160
+ ]
1161
+ }, Vt = {
1162
+ label: "Auth",
1163
+ features: [
1164
+ {
1165
+ label: "AuthJS ★",
1166
+ value: "authjs",
1167
+ selected: !0
1168
+ },
1169
+ {
1170
+ label: "Auth0 - Coming Soon",
1171
+ value: "auth0",
1172
+ disabled: !0
1173
+ },
1174
+ {
1175
+ label: "Firebase - Coming Soon",
1176
+ value: "firebase",
1177
+ disabled: !0
1178
+ }
1179
+ ]
1180
+ }, Mt = {
1181
+ label: "RPC",
1182
+ features: [
1183
+ {
1184
+ label: "Telefunc ★",
1185
+ value: "telefunc",
1186
+ selected: !0
1187
+ },
1188
+ {
1189
+ label: "tRPC - Coming Soon",
1190
+ value: "trpc",
1191
+ disabled: !0
1192
+ }
1193
+ ]
1194
+ }, Yt = {
1195
+ label: "Server",
1196
+ features: [
1197
+ {
1198
+ label: "Hattip ★",
1199
+ value: "hattip",
1200
+ selected: !0
1201
+ },
1202
+ {
1203
+ label: "Express",
1204
+ value: "express"
1205
+ }
1206
+ ]
1207
+ }, Xt = {
1208
+ label: "CSS",
1209
+ features: [
1210
+ {
1211
+ label: "TailwindCSS",
1212
+ value: "tailwindcss",
1213
+ selected: !0
1214
+ },
1215
+ {
1216
+ label: "UnoCSS - Coming Soon",
1217
+ value: "unocss",
1218
+ disabled: !0
1219
+ },
1220
+ {
1221
+ label: "MUI - Coming Soon",
1222
+ value: "mui",
1223
+ disabled: !0
1224
+ }
1225
+ ]
1226
+ }, Ht = {
1227
+ label: "Database",
1228
+ features: [
1229
+ {
1230
+ label: "Prisma",
1231
+ value: "prisma",
1232
+ selected: !0
1233
+ },
1234
+ {
1235
+ label: "EdgeDB",
1236
+ value: "edgedb"
1237
+ }
1238
+ ]
1239
+ }, qt = {
1240
+ disabled: !0,
1241
+ label: "Hosting",
1242
+ features: [
1243
+ {
1244
+ label: "Coming Soon",
1245
+ selected: !0
1246
+ },
1247
+ {
1248
+ label: "Vercel - Coming Soon",
1249
+ value: "vercel",
1250
+ disabled: !0
1251
+ },
1252
+ {
1253
+ label: "Netlify - Coming Soon",
1254
+ value: "netlify",
1255
+ disabled: !0
1256
+ }
1257
+ ]
1258
+ }, Wt = {
1259
+ label: "Analytics",
1260
+ features: [
1261
+ {
1262
+ label: "Plausible.io",
1263
+ value: "plausible.io",
1264
+ selected: !0
1265
+ },
1266
+ {
1267
+ label: "Google Analytics - Coming Soon",
1268
+ value: "google-analytics",
1269
+ disabled: !0
1270
+ },
1271
+ {
1272
+ label: "Segment - Coming Soon",
1273
+ value: "segment",
1274
+ disabled: !0
1275
+ }
1276
+ ]
1277
+ }, Jt = {
1278
+ disabled: !0,
1279
+ label: "Error tracking",
1280
+ features: [
1281
+ {
1282
+ label: "Coming Soon",
1283
+ selected: !0
1284
+ },
1285
+ {
1286
+ label: "Sentry - Coming Soon",
1287
+ value: "sentry",
1288
+ disabled: !0
1289
+ },
1290
+ {
1291
+ label: "Logrocket - Coming Soon",
1292
+ value: "logrocket",
1293
+ disabled: !0
1294
+ }
1295
+ ]
1296
+ }, ue = {
1297
+ framework: Ut,
1298
+ auth: Vt,
1299
+ rpc: Mt,
1300
+ server: Yt,
1301
+ uikit: Xt,
1302
+ db: Ht,
1303
+ hosting: qt,
1304
+ analytics: Wt,
1305
+ error: Jt
1729
1306
  };
1730
-
1731
- function filteredObject(obj, filter) {
1732
- return Object.keys(obj).reduce(function (r, e) {
1733
- if (filter(obj, e)) r[e] = obj[e];
1734
- return r;
1307
+ function _e(e, t) {
1308
+ return Object.keys(e).reduce(function(r, o) {
1309
+ return t(e, o) && (r[o] = e[o]), r;
1735
1310
  }, {});
1736
1311
  }
1737
- function initStore() {
1738
- const [currentFeatures, setCurrentFeatures] = createStore(features);
1739
- const inViewFeatures = createMemo(() => filteredObject(currentFeatures, (o, k) => Boolean(o[k].inview)));
1740
- const drawerFeatures = createMemo(() => filteredObject(currentFeatures, (o, k) => !o[k].inview));
1741
- function moveFeature(k) {
1742
- setCurrentFeatures(k, "inview", val => !val);
1312
+ function Gt() {
1313
+ const [e, t] = Rt(ue), r = C(() => _e(e, (s, d) => !!s[d].inview)), o = C(() => _e(e, (s, d) => !s[d].inview));
1314
+ function i(s) {
1315
+ t(s, "inview", (d) => !d);
1743
1316
  }
1744
- function selectFeature(k, value) {
1745
- setCurrentFeatures(k, "features", fs => {
1746
- return fs.map(f => ({
1747
- ...f,
1748
- selected: value ? value === f.value : features[k].features.find(f2 => f2.value === f.value)?.selected
1749
- }));
1317
+ function n(s, d) {
1318
+ t(s, "features", (f) => f.map((b) => {
1319
+ var w;
1320
+ return {
1321
+ ...b,
1322
+ selected: d ? d === b.value : (w = ue[s].features.find((j) => j.value === b.value)) == null ? void 0 : w.selected
1323
+ };
1324
+ }));
1325
+ }
1326
+ const l = C(() => Object.assign({}, ...Object.entries(r()).map(([s, d]) => {
1327
+ var f;
1328
+ return {
1329
+ [s]: (f = d.features.find((b) => b.selected)) == null ? void 0 : f.value
1330
+ };
1331
+ }))), [a, c] = K(0);
1332
+ function u(s) {
1333
+ Oe(() => {
1334
+ Object.keys(e).forEach((d) => {
1335
+ t(d, "inview", s.includes(d));
1336
+ }), c(1);
1750
1337
  });
1751
1338
  }
1752
- const featuresValues = createMemo(() => Object.assign({}, ...Object.entries(inViewFeatures()).map(([ns, fs]) => ({
1753
- [ns]: fs.features.find(f => f.selected)?.value
1754
- }))));
1755
1339
  return {
1756
- inViewFeatures,
1757
- drawerFeatures,
1758
- moveFeature,
1759
- selectFeature,
1760
- featuresValues,
1761
- currentFeatures
1340
+ inViewFeatures: r,
1341
+ drawerFeatures: o,
1342
+ moveFeature: i,
1343
+ selectFeature: n,
1344
+ featuresValues: l,
1345
+ currentFeatures: e,
1346
+ getBottomPanel: a,
1347
+ setBottomPanel: c,
1348
+ selectPreset: u
1762
1349
  };
1763
1350
  }
1764
- const StoreContext = createContext(void 0);
1765
- function StoreProvider(props) {
1766
- const store = initStore();
1767
- return createComponent(StoreContext.Provider, {
1768
- value: store,
1351
+ const te = ot(void 0);
1352
+ function Qt(e) {
1353
+ const t = Gt();
1354
+ return m(te.Provider, {
1355
+ value: t,
1769
1356
  get children() {
1770
- return props.children;
1357
+ return e.children;
1771
1358
  }
1772
1359
  });
1773
1360
  }
1774
-
1775
- var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3csvg viewBox='0 0 512 512' width='512' height='512' xmlns='http://www.w3.org/2000/svg'%3e %3cdefs%3e %3clinearGradient id='paint1_linear' x1='194.651' y1='8.81818' x2='236.076' y2='292.989' gradientUnits='userSpaceOnUse' gradientTransform='matrix(1.217517%2c 0%2c 0%2c 1.217517%2c -20.691875%2c 43.730177)'%3e %3cstop stop-color='%23FFEA83'/%3e %3cstop offset='0.0833' stop-color='%23FFDD35'/%3e %3cstop offset='1' stop-color='%23FFA800'/%3e %3c/linearGradient%3e %3c/defs%3e %3cg stroke-width='2.00' fill='none' stroke-linecap='butt'%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 60.56 0.00 Q 59.95 0.60 57.56 2.31 Q 54.85 4.26 54.63 8.01 Q 54.17 16.00 54.14 24.00 Q 54.00 61.00 54.02 98.00 Q 54.02 106.05 61.25 109.21'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 61.25 109.21 L 54.25 109.79'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.25 109.79 Q 43.89 109.55 10.25 109.50 Q 2.47 109.49 0.00 101.94'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 101.78 0.04 Q 105.60 2.73 106.69 4.81 Q 108.48 8.25 108.35 13.47 Q 108.26 16.98 108.26 17.02 Q 108.42 57.16 108.03 97.30 Q 107.99 102.00 106.94 104.01 Q 105.22 107.31 101.18 108.52 Q 98.78 109.24 94.00 109.25 Q 77.63 109.28 61.25 109.21'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 140.56 0.00 Q 135.96 3.08 135.07 7.95 Q 135.00 8.36 135.00 17.06 Q 135.00 55.52 135.00 93.99 Q 135.00 100.69 135.13 101.49 Q 135.87 105.99 139.60 108.04 Q 142.25 109.49 149.15 109.47 Q 163.70 109.43 178.25 109.82 Q 187.27 110.06 196.25 109.21'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 196.25 109.21 Q 277.75 109.28 359.25 109.25 Q 367.45 109.25 368.72 109.02 Q 374.83 107.91 376.45 102.33 Q 377.00 100.45 377.00 90.12 Q 377.01 52.31 377.18 14.50 Q 377.21 9.14 376.00 5.75 Q 374.58 1.76 369.80 0.03'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 410.58 0.02 Q 406.22 2.08 404.81 5.06 Q 403.63 7.58 403.70 11.94 Q 403.75 14.46 403.74 14.55 Q 403.58 56.88 403.97 99.21 Q 404.01 102.95 405.30 104.99 Q 408.04 109.31 413.75 109.50 Q 423.27 109.82 448.92 109.59 Q 448.96 109.59 455.96 109.73 Q 460.61 109.83 465.25 109.21'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 465.25 109.21 Q 481.25 109.28 497.25 109.46 Q 501.39 109.50 504.75 108.75 Q 511.18 107.31 511.25 100.63 A 0.37 0.23 -3.7 0 1 511.59 100.39 Q 511.80 100.37 512.00 100.06'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 512.00 142.31 Q 510.68 136.45 504.88 135.05 Q 501.54 134.25 494.75 134.25 Q 412.62 134.25 330.51 134.25'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 330.51 134.25 Q 308.59 133.86 286.67 133.97 Q 279.01 134.01 277.85 134.22 Q 272.21 135.25 270.61 140.34 Q 270.00 142.29 270.00 151.71 Q 270.00 192.98 270.00 234.25 Q 270.00 239.75 274.06 241.94 Q 277.88 243.99 282.25 244.04 Q 306.26 244.31 330.25 243.58'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 330.25 243.58 Q 414.08 243.49 497.91 243.44 Q 504.10 243.44 506.34 242.46 Q 510.74 240.53 511.95 235.05'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 512.00 276.31 Q 509.40 268.37 500.75 268.50 Q 487.54 268.70 464.56 268.34'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 464.56 268.34 Q 428.47 267.48 415.00 268.00 Q 406.04 268.35 404.18 275.30 Q 403.76 276.87 403.73 286.73 Q 403.60 326.73 403.97 366.72 Q 404.01 371.27 405.39 373.50 Q 408.10 377.89 414.25 377.94 Q 439.10 378.16 464.05 377.79'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 464.05 377.79 Q 480.59 377.72 497.25 377.95 Q 501.72 378.01 504.75 377.25 Q 510.84 375.72 511.96 369.05'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 512.00 409.81 Q 509.47 404.41 504.43 403.11 Q 503.00 402.75 495.04 402.75 Q 413.14 402.79 331.26 402.69'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 331.26 402.69 Q 300.85 402.28 280.00 402.50 Q 275.03 402.55 272.23 405.92 Q 270.42 408.09 270.18 412.06 Q 270.02 414.76 270.00 418.75 Q 269.82 460.54 270.22 502.33 Q 270.25 505.32 271.40 507.39 Q 272.76 509.85 274.73 511.97'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 235.19 512.00 Q 239.41 509.52 240.44 507.69 Q 242.26 504.42 242.12 499.00 Q 242.01 495.06 242.01 495.00 Q 242.17 454.17 241.78 413.34 Q 241.74 410.03 240.92 408.30 Q 239.73 405.79 237.36 404.33 Q 235.56 403.24 232.80 402.96 Q 230.72 402.74 228.00 402.75 Q 196.04 402.83 61.25 402.71'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 61.25 402.71 L 54.00 402.21'/%3e %3cpath stroke='%23c8473e' vector-effect='non-scaling-stroke' d=' M 54.00 402.21 L 54.29 378.25'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 54.29 378.25 L 60.06 377.67'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 60.06 377.67 Q 90.57 377.89 97.75 377.75 Q 103.86 377.63 106.47 373.31 Q 107.98 370.83 108.06 364.89 Q 108.56 323.80 108.06 282.71 Q 107.98 275.94 106.74 273.48 Q 104.27 268.60 97.50 268.50 Q 89.29 268.38 60.86 268.57'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 60.86 268.57 Q 57.40 267.66 54.00 267.96'/%3e %3cpath stroke='%23c8473e' vector-effect='non-scaling-stroke' d=' M 54.00 267.96 L 54.25 244.04'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 54.25 244.04 Q 57.30 244.32 60.27 243.49'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 60.27 243.49 Q 143.60 243.51 226.98 243.50 Q 227.04 243.50 229.52 243.56 Q 232.96 243.64 235.56 242.81 Q 239.90 241.43 241.27 236.68 Q 242.00 234.18 242.00 229.25 Q 242.00 189.91 242.00 150.56 Q 242.00 142.47 241.00 140.06 Q 238.60 134.26 230.50 134.25 Q 126.36 134.18 61.00 134.46'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 61.00 134.46 L 54.25 133.95'/%3e %3cpath stroke='%23c8473e' vector-effect='non-scaling-stroke' d=' M 54.25 133.95 Q 53.63 121.63 54.25 109.79'/%3e %3cpath stroke='%23dd604d' vector-effect='non-scaling-stroke' d=' M 195.75 377.71 Q 280.88 377.78 366.00 377.69 Q 373.11 377.68 375.68 372.68 Q 377.00 370.12 377.00 363.11 Q 377.00 321.06 377.00 279.00 Q 377.00 272.10 371.36 269.56 Q 369.47 268.71 366.50 268.58 Q 364.40 268.49 361.50 268.50 Q 311.73 268.60 195.52 268.43'/%3e %3cpath stroke='%23d65848' vector-effect='non-scaling-stroke' d=' M 195.52 268.43 Q 172.50 267.68 149.50 267.82 Q 146.21 267.84 143.01 268.56 Q 136.66 269.99 135.30 275.20 Q 135.00 276.36 135.00 284.35 Q 135.00 322.83 135.00 361.31 Q 135.00 369.91 135.51 371.63 Q 137.35 377.81 145.50 378.00 Q 162.06 378.39 195.75 377.71'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 195.52 268.43 Q 189.13 272.10 189.06 278.81 Q 188.92 291.75 188.88 360.75 Q 188.87 369.24 189.56 370.94 Q 191.40 375.45 195.75 377.71'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 196.58 0.04 Q 189.47 2.59 189.31 9.56 Q 188.52 45.65 189.20 97.09 Q 189.26 101.96 190.47 104.19 Q 192.29 107.58 196.25 109.21'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 464.56 0.00 Q 463.12 1.08 461.64 2.12 Q 458.71 4.16 458.37 7.74 Q 458.00 11.62 458.00 14.00 Q 458.00 52.97 458.00 91.94 Q 458.00 100.48 458.24 101.53 Q 459.47 106.81 465.25 109.21'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.25 133.95 Q 31.43 133.86 8.50 134.34 Q 3.42 134.45 1.14 139.18 Q 0.09 141.34 0.33 138.95 Q 0.44 137.81 0.00 135.94'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 61.00 134.46 Q 54.00 137.39 54.00 144.50 Q 54.00 188.50 54.00 232.50 Q 54.00 239.54 60.27 243.49'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.25 244.04 Q 32.63 243.58 11.00 243.81 Q 2.43 243.89 -0.03 235.96'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 330.51 134.25 Q 327.13 136.25 325.47 139.27 Q 324.26 141.47 324.22 145.95 Q 323.81 189.22 323.83 232.50 Q 323.83 238.65 328.06 241.69 Q 329.94 243.03 330.25 243.58'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.00 267.96 Q 44.88 267.92 11.00 268.25 Q 3.04 268.33 0.00 275.19'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 60.86 268.57 Q 55.24 271.24 54.50 276.00 Q 54.01 279.16 54.00 284.00 Q 53.93 334.80 54.22 366.15 Q 54.26 370.34 55.47 372.61 Q 57.07 375.60 60.06 377.67'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.29 378.25 Q 38.15 377.81 22.00 378.08 Q 14.49 378.20 9.00 377.75 Q 2.39 377.21 0.00 370.94'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 464.56 268.34 Q 459.07 271.68 458.05 277.15 Q 458.01 277.35 457.98 287.37 Q 457.84 327.07 458.22 366.77 Q 458.26 370.80 459.49 372.98 Q 461.08 375.79 464.05 377.79'/%3e %3cpath stroke='%23cf5144' vector-effect='non-scaling-stroke' d=' M 54.00 402.21 Q 34.13 402.72 14.25 402.49 Q 11.27 402.45 7.25 403.00 Q 4.01 403.44 2.18 405.80 Q 1.86 406.21 1.60 406.89 Q 0.25 410.40 0.00 405.94'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 61.25 402.71 Q 55.61 405.34 54.32 410.63 Q 54.00 411.93 54.00 420.41 Q 53.99 458.83 53.83 497.25 Q 53.82 500.79 54.38 504.27 Q 54.94 507.72 57.44 509.56 Q 58.79 510.56 58.94 512.00'/%3e %3cpath stroke='%23e46a54' vector-effect='non-scaling-stroke' d=' M 331.26 402.69 Q 325.51 405.42 324.26 410.80 Q 324.00 411.92 324.00 420.73 Q 323.99 455.62 323.87 490.50 Q 323.85 497.39 324.53 504.25 Q 324.88 507.83 327.76 509.79 Q 328.14 510.05 328.41 510.51 Q 329.21 511.92 330.94 512.00'/%3e %3c/g%3e %3cpath fill='%23dd624e' d=' M 7.81 0.00 L 60.56 0.00 Q 59.95 0.60 57.56 2.31 Q 54.85 4.26 54.63 8.01 Q 54.17 16.00 54.14 24.00 Q 54.00 61.00 54.02 98.00 Q 54.02 106.05 61.25 109.21 L 54.25 109.79 Q 43.89 109.55 10.25 109.50 Q 2.47 109.49 0.00 101.94 L 0.00 7.94 Q 1.52 1.66 7.81 0.00 Z'/%3e %3cpath fill='%23eb7259' d=' M 60.56 0.00 L 101.78 0.04 Q 105.60 2.73 106.69 4.81 Q 108.48 8.25 108.35 13.47 Q 108.26 16.98 108.26 17.02 Q 108.42 57.16 108.03 97.30 Q 107.99 102.00 106.94 104.01 Q 105.22 107.31 101.18 108.52 Q 98.78 109.24 94.00 109.25 Q 77.63 109.28 61.25 109.21 Q 54.02 106.05 54.02 98.00 Q 54.00 61.00 54.14 24.00 Q 54.17 16.00 54.63 8.01 Q 54.85 4.26 57.56 2.31 Q 59.95 0.60 60.56 0.00 Z'/%3e %3cpath fill='%23ce4e41' d=' M 101.78 0.04 L 140.56 0.00 Q 135.96 3.08 135.07 7.95 Q 135.00 8.36 135.00 17.06 Q 135.00 55.52 135.00 93.99 Q 135.00 100.69 135.13 101.49 Q 135.87 105.99 139.60 108.04 Q 142.25 109.49 149.15 109.47 Q 163.70 109.43 178.25 109.82 Q 187.27 110.06 196.25 109.21 Q 277.75 109.28 359.25 109.25 Q 367.45 109.25 368.72 109.02 Q 374.83 107.91 376.45 102.33 Q 377.00 100.45 377.00 90.12 Q 377.01 52.31 377.18 14.50 Q 377.21 9.14 376.00 5.75 Q 374.58 1.76 369.80 0.03 L 410.58 0.02 Q 406.22 2.08 404.81 5.06 Q 403.63 7.58 403.70 11.94 Q 403.75 14.46 403.74 14.55 Q 403.58 56.88 403.97 99.21 Q 404.01 102.95 405.30 104.99 Q 408.04 109.31 413.75 109.50 Q 423.27 109.82 448.92 109.59 Q 448.96 109.59 455.96 109.73 Q 460.61 109.83 465.25 109.21 Q 481.25 109.28 497.25 109.46 Q 501.39 109.50 504.75 108.75 Q 511.18 107.31 511.25 100.63 A 0.37 0.23 -3.7 0 1 511.59 100.39 Q 511.80 100.37 512.00 100.06 L 512.00 142.31 Q 510.68 136.45 504.88 135.05 Q 501.54 134.25 494.75 134.25 Q 412.62 134.25 330.51 134.25 Q 308.59 133.86 286.67 133.97 Q 279.01 134.01 277.85 134.22 Q 272.21 135.25 270.61 140.34 Q 270.00 142.29 270.00 151.71 Q 270.00 192.98 270.00 234.25 Q 270.00 239.75 274.06 241.94 Q 277.88 243.99 282.25 244.04 Q 306.26 244.31 330.25 243.58 Q 414.08 243.49 497.91 243.44 Q 504.10 243.44 506.34 242.46 Q 510.74 240.53 511.95 235.05 L 512.00 276.31 Q 509.40 268.37 500.75 268.50 Q 487.54 268.70 464.56 268.34 Q 428.47 267.48 415.00 268.00 Q 406.04 268.35 404.18 275.30 Q 403.76 276.87 403.73 286.73 Q 403.60 326.73 403.97 366.72 Q 404.01 371.27 405.39 373.50 Q 408.10 377.89 414.25 377.94 Q 439.10 378.16 464.05 377.79 Q 480.59 377.72 497.25 377.95 Q 501.72 378.01 504.75 377.25 Q 510.84 375.72 511.96 369.05 L 512.00 409.81 Q 509.47 404.41 504.43 403.11 Q 503.00 402.75 495.04 402.75 Q 413.14 402.79 331.26 402.69 Q 300.85 402.28 280.00 402.50 Q 275.03 402.55 272.23 405.92 Q 270.42 408.09 270.18 412.06 Q 270.02 414.76 270.00 418.75 Q 269.82 460.54 270.22 502.33 Q 270.25 505.32 271.40 507.39 Q 272.76 509.85 274.73 511.97 L 235.19 512.00 Q 239.41 509.52 240.44 507.69 Q 242.26 504.42 242.12 499.00 Q 242.01 495.06 242.01 495.00 Q 242.17 454.17 241.78 413.34 Q 241.74 410.03 240.92 408.30 Q 239.73 405.79 237.36 404.33 Q 235.56 403.24 232.80 402.96 Q 230.72 402.74 228.00 402.75 Q 196.04 402.83 61.25 402.71 L 54.00 402.21 L 54.29 378.25 L 60.06 377.67 Q 90.57 377.89 97.75 377.75 Q 103.86 377.63 106.47 373.31 Q 107.98 370.83 108.06 364.89 Q 108.56 323.80 108.06 282.71 Q 107.98 275.94 106.74 273.48 Q 104.27 268.60 97.50 268.50 Q 89.29 268.38 60.86 268.57 Q 57.40 267.66 54.00 267.96 L 54.25 244.04 Q 57.30 244.32 60.27 243.49 Q 143.60 243.51 226.98 243.50 Q 227.04 243.50 229.52 243.56 Q 232.96 243.64 235.56 242.81 Q 239.90 241.43 241.27 236.68 Q 242.00 234.18 242.00 229.25 Q 242.00 189.91 242.00 150.56 Q 242.00 142.47 241.00 140.06 Q 238.60 134.26 230.50 134.25 Q 126.36 134.18 61.00 134.46 L 54.25 133.95 Q 53.63 121.63 54.25 109.79 L 61.25 109.21 Q 77.63 109.28 94.00 109.25 Q 98.78 109.24 101.18 108.52 Q 105.22 107.31 106.94 104.01 Q 107.99 102.00 108.03 97.30 Q 108.42 57.16 108.26 17.02 Q 108.26 16.98 108.35 13.47 Q 108.48 8.25 106.69 4.81 Q 105.60 2.73 101.78 0.04 Z M 195.75 377.71 Q 280.88 377.78 366.00 377.69 Q 373.11 377.68 375.68 372.68 Q 377.00 370.12 377.00 363.11 Q 377.00 321.06 377.00 279.00 Q 377.00 272.10 371.36 269.56 Q 369.47 268.71 366.50 268.58 Q 364.40 268.49 361.50 268.50 Q 311.73 268.60 195.52 268.43 Q 172.50 267.68 149.50 267.82 Q 146.21 267.84 143.01 268.56 Q 136.66 269.99 135.30 275.20 Q 135.00 276.36 135.00 284.35 Q 135.00 322.83 135.00 361.31 Q 135.00 369.91 135.51 371.63 Q 137.35 377.81 145.50 378.00 Q 162.06 378.39 195.75 377.71 Z'/%3e %3cpath fill='%23dd624e' d=' M 140.56 0.00 L 196.58 0.04 Q 189.47 2.59 189.31 9.56 Q 188.52 45.65 189.20 97.09 Q 189.26 101.96 190.47 104.19 Q 192.29 107.58 196.25 109.21 Q 187.27 110.06 178.25 109.82 Q 163.70 109.43 149.15 109.47 Q 142.25 109.49 139.60 108.04 Q 135.87 105.99 135.13 101.49 Q 135.00 100.69 135.00 93.99 Q 135.00 55.52 135.00 17.06 Q 135.00 8.36 135.07 7.95 Q 135.96 3.08 140.56 0.00 Z'/%3e %3cpath fill='%23eb7259' d=' M 196.58 0.04 L 369.80 0.03 Q 374.58 1.76 376.00 5.75 Q 377.21 9.14 377.18 14.50 Q 377.01 52.31 377.00 90.12 Q 377.00 100.45 376.45 102.33 Q 374.83 107.91 368.72 109.02 Q 367.45 109.25 359.25 109.25 Q 277.75 109.28 196.25 109.21 Q 192.29 107.58 190.47 104.19 Q 189.26 101.96 189.20 97.09 Q 188.52 45.65 189.31 9.56 Q 189.47 2.59 196.58 0.04 Z'/%3e %3cpath fill='%23dd624e' d=' M 410.58 0.02 L 464.56 0.00 Q 463.12 1.08 461.64 2.12 Q 458.71 4.16 458.37 7.74 Q 458.00 11.62 458.00 14.00 Q 458.00 52.97 458.00 91.94 Q 458.00 100.48 458.24 101.53 Q 459.47 106.81 465.25 109.21 Q 460.61 109.83 455.96 109.73 Q 448.96 109.59 448.92 109.59 Q 423.27 109.82 413.75 109.50 Q 408.04 109.31 405.30 104.99 Q 404.01 102.95 403.97 99.21 Q 403.58 56.88 403.74 14.55 Q 403.75 14.46 403.70 11.94 Q 403.63 7.58 404.81 5.06 Q 406.22 2.08 410.58 0.02 Z'/%3e %3cpath fill='%23eb7259' d=' M 464.56 0.00 L 503.06 0.00 Q 510.81 1.27 512.00 9.06 L 512.00 100.06 Q 511.80 100.37 511.59 100.39 A 0.37 0.23 -3.7 0 0 511.25 100.63 Q 511.18 107.31 504.75 108.75 Q 501.39 109.50 497.25 109.46 Q 481.25 109.28 465.25 109.21 Q 459.47 106.81 458.24 101.53 Q 458.00 100.48 458.00 91.94 Q 458.00 52.97 458.00 14.00 Q 458.00 11.62 458.37 7.74 Q 458.71 4.16 461.64 2.12 Q 463.12 1.08 464.56 0.00 Z'/%3e %3cpath fill='%23c1403a' d=' M 0.00 101.94 Q 2.47 109.49 10.25 109.50 Q 43.89 109.55 54.25 109.79 Q 53.63 121.63 54.25 133.95 Q 31.43 133.86 8.50 134.34 Q 3.42 134.45 1.14 139.18 Q 0.09 141.34 0.33 138.95 Q 0.44 137.81 0.00 135.94 L 0.00 101.94 Z'/%3e %3cpath fill='%23dd624e' d=' M 54.25 133.95 L 61.00 134.46 Q 54.00 137.39 54.00 144.50 Q 54.00 188.50 54.00 232.50 Q 54.00 239.54 60.27 243.49 Q 57.30 244.32 54.25 244.04 Q 32.63 243.58 11.00 243.81 Q 2.43 243.89 -0.03 235.96 L 0.00 135.94 Q 0.44 137.81 0.33 138.95 Q 0.09 141.34 1.14 139.18 Q 3.42 134.45 8.50 134.34 Q 31.43 133.86 54.25 133.95 Z'/%3e %3cpath fill='%23dd624e' d=' M 330.51 134.25 Q 327.13 136.25 325.47 139.27 Q 324.26 141.47 324.22 145.95 Q 323.81 189.22 323.83 232.50 Q 323.83 238.65 328.06 241.69 Q 329.94 243.03 330.25 243.58 Q 306.26 244.31 282.25 244.04 Q 277.88 243.99 274.06 241.94 Q 270.00 239.75 270.00 234.25 Q 270.00 192.98 270.00 151.71 Q 270.00 142.29 270.61 140.34 Q 272.21 135.25 277.85 134.22 Q 279.01 134.01 286.67 133.97 Q 308.59 133.86 330.51 134.25 Z'/%3e %3cpath fill='%23eb7259' d=' M 60.27 243.49 Q 54.00 239.54 54.00 232.50 Q 54.00 188.50 54.00 144.50 Q 54.00 137.39 61.00 134.46 Q 126.36 134.18 230.50 134.25 Q 238.60 134.26 241.00 140.06 Q 242.00 142.47 242.00 150.56 Q 242.00 189.91 242.00 229.25 Q 242.00 234.18 241.27 236.68 Q 239.90 241.43 235.56 242.81 Q 232.96 243.64 229.52 243.56 Q 227.04 243.50 226.98 243.50 Q 143.60 243.51 60.27 243.49 Z'/%3e %3cpath fill='%23eb7259' d=' M 512.00 142.31 L 511.95 235.05 Q 510.74 240.53 506.34 242.46 Q 504.10 243.44 497.91 243.44 Q 414.08 243.49 330.25 243.58 Q 329.94 243.03 328.06 241.69 Q 323.83 238.65 323.83 232.50 Q 323.81 189.22 324.22 145.95 Q 324.26 141.47 325.47 139.27 Q 327.13 136.25 330.51 134.25 Q 412.62 134.25 494.75 134.25 Q 501.54 134.25 504.88 135.05 Q 510.68 136.45 512.00 142.31 Z'/%3e %3cpath fill='%23c1403a' d=' M -0.03 235.96 Q 2.43 243.89 11.00 243.81 Q 32.63 243.58 54.25 244.04 L 54.00 267.96 Q 44.88 267.92 11.00 268.25 Q 3.04 268.33 0.00 275.19 L -0.03 235.96 Z'/%3e %3cpath fill='%23dd624e' d=' M 60.86 268.57 Q 55.24 271.24 54.50 276.00 Q 54.01 279.16 54.00 284.00 Q 53.93 334.80 54.22 366.15 Q 54.26 370.34 55.47 372.61 Q 57.07 375.60 60.06 377.67 L 54.29 378.25 Q 38.15 377.81 22.00 378.08 Q 14.49 378.20 9.00 377.75 Q 2.39 377.21 0.00 370.94 L 0.00 275.19 Q 3.04 268.33 11.00 268.25 Q 44.88 267.92 54.00 267.96 Q 57.40 267.66 60.86 268.57 Z'/%3e %3cpath fill='%23dd624e' d=' M 195.52 268.43 Q 189.13 272.10 189.06 278.81 Q 188.92 291.75 188.88 360.75 Q 188.87 369.24 189.56 370.94 Q 191.40 375.45 195.75 377.71 Q 162.06 378.39 145.50 378.00 Q 137.35 377.81 135.51 371.63 Q 135.00 369.91 135.00 361.31 Q 135.00 322.83 135.00 284.35 Q 135.00 276.36 135.30 275.20 Q 136.66 269.99 143.01 268.56 Q 146.21 267.84 149.50 267.82 Q 172.50 267.68 195.52 268.43 Z'/%3e %3cpath fill='%23dd624e' d=' M 464.56 268.34 Q 459.07 271.68 458.05 277.15 Q 458.01 277.35 457.98 287.37 Q 457.84 327.07 458.22 366.77 Q 458.26 370.80 459.49 372.98 Q 461.08 375.79 464.05 377.79 Q 439.10 378.16 414.25 377.94 Q 408.10 377.89 405.39 373.50 Q 404.01 371.27 403.97 366.72 Q 403.60 326.73 403.73 286.73 Q 403.76 276.87 404.18 275.30 Q 406.04 268.35 415.00 268.00 Q 428.47 267.48 464.56 268.34 Z'/%3e %3cpath fill='%23eb7259' d=' M 60.86 268.57 Q 89.29 268.38 97.50 268.50 Q 104.27 268.60 106.74 273.48 Q 107.98 275.94 108.06 282.71 Q 108.56 323.80 108.06 364.89 Q 107.98 370.83 106.47 373.31 Q 103.86 377.63 97.75 377.75 Q 90.57 377.89 60.06 377.67 Q 57.07 375.60 55.47 372.61 Q 54.26 370.34 54.22 366.15 Q 53.93 334.80 54.00 284.00 Q 54.01 279.16 54.50 276.00 Q 55.24 271.24 60.86 268.57 Z'/%3e %3cpath fill='%23eb7259' d=' M 195.52 268.43 Q 311.73 268.60 361.50 268.50 Q 364.40 268.49 366.50 268.58 Q 369.47 268.71 371.36 269.56 Q 377.00 272.10 377.00 279.00 Q 377.00 321.06 377.00 363.11 Q 377.00 370.12 375.68 372.68 Q 373.11 377.68 366.00 377.69 Q 280.88 377.78 195.75 377.71 Q 191.40 375.45 189.56 370.94 Q 188.87 369.24 188.88 360.75 Q 188.92 291.75 189.06 278.81 Q 189.13 272.10 195.52 268.43 Z'/%3e %3cpath fill='%23eb7259' d=' M 464.56 268.34 Q 487.54 268.70 500.75 268.50 Q 509.40 268.37 512.00 276.31 L 511.96 369.05 Q 510.84 375.72 504.75 377.25 Q 501.72 378.01 497.25 377.95 Q 480.59 377.72 464.05 377.79 Q 461.08 375.79 459.49 372.98 Q 458.26 370.80 458.22 366.77 Q 457.84 327.07 457.98 287.37 Q 458.01 277.35 458.05 277.15 Q 459.07 271.68 464.56 268.34 Z'/%3e %3cpath fill='%23c1403a' d=' M 0.00 370.94 Q 2.39 377.21 9.00 377.75 Q 14.49 378.20 22.00 378.08 Q 38.15 377.81 54.29 378.25 L 54.00 402.21 Q 34.13 402.72 14.25 402.49 Q 11.27 402.45 7.25 403.00 Q 4.01 403.44 2.18 405.80 Q 1.86 406.21 1.60 406.89 Q 0.25 410.40 0.00 405.94 L 0.00 370.94 Z'/%3e %3cpath fill='%23dd624e' d=' M 54.00 402.21 L 61.25 402.71 Q 55.61 405.34 54.32 410.63 Q 54.00 411.93 54.00 420.41 Q 53.99 458.83 53.83 497.25 Q 53.82 500.79 54.38 504.27 Q 54.94 507.72 57.44 509.56 Q 58.79 510.56 58.94 512.00 L 7.94 512.00 Q 1.62 510.46 0.00 504.19 L 0.00 405.94 Q 0.25 410.40 1.60 406.89 Q 1.86 406.21 2.18 405.80 Q 4.01 403.44 7.25 403.00 Q 11.27 402.45 14.25 402.49 Q 34.13 402.72 54.00 402.21 Z'/%3e %3cpath fill='%23dd624e' d=' M 331.26 402.69 Q 325.51 405.42 324.26 410.80 Q 324.00 411.92 324.00 420.73 Q 323.99 455.62 323.87 490.50 Q 323.85 497.39 324.53 504.25 Q 324.88 507.83 327.76 509.79 Q 328.14 510.05 328.41 510.51 Q 329.21 511.92 330.94 512.00 L 274.73 511.97 Q 272.76 509.85 271.40 507.39 Q 270.25 505.32 270.22 502.33 Q 269.82 460.54 270.00 418.75 Q 270.02 414.76 270.18 412.06 Q 270.42 408.09 272.23 405.92 Q 275.03 402.55 280.00 402.50 Q 300.85 402.28 331.26 402.69 Z'/%3e %3cpath fill='%23eb7259' d=' M 61.25 402.71 Q 196.04 402.83 228.00 402.75 Q 230.72 402.74 232.80 402.96 Q 235.56 403.24 237.36 404.33 Q 239.73 405.79 240.92 408.30 Q 241.74 410.03 241.78 413.34 Q 242.17 454.17 242.01 495.00 Q 242.01 495.06 242.12 499.00 Q 242.26 504.42 240.44 507.69 Q 239.41 509.52 235.19 512.00 L 58.94 512.00 Q 58.79 510.56 57.44 509.56 Q 54.94 507.72 54.38 504.27 Q 53.82 500.79 53.83 497.25 Q 53.99 458.83 54.00 420.41 Q 54.00 411.93 54.32 410.63 Q 55.61 405.34 61.25 402.71 Z'/%3e %3cpath fill='%23eb7259' d=' M 331.26 402.69 Q 413.14 402.79 495.04 402.75 Q 503.00 402.75 504.43 403.11 Q 509.47 404.41 512.00 409.81 L 512.00 503.06 Q 510.73 510.82 502.94 512.00 L 330.94 512.00 Q 329.21 511.92 328.41 510.51 Q 328.14 510.05 327.76 509.79 Q 324.88 507.83 324.53 504.25 Q 323.85 497.39 323.87 490.50 Q 323.99 455.62 324.00 420.73 Q 324.00 411.92 324.26 410.80 Q 325.51 405.42 331.26 402.69 Z'/%3e %3cpath d='M 335.997 45.647 L 170.215 78.132 C 167.491 78.665 165.473 80.974 165.309 83.746 L 155.111 255.98 C 154.871 260.037 158.597 263.186 162.556 262.272 L 208.712 251.62 C 213.031 250.625 216.933 254.428 216.045 258.771 L 202.332 325.921 C 201.409 330.44 205.653 334.304 210.066 332.964 L 238.574 324.303 C 242.994 322.961 247.24 326.836 246.305 331.359 L 224.513 436.836 C 223.149 443.434 231.925 447.032 235.585 441.375 L 238.03 437.597 L 373.118 168.005 C 375.38 163.49 371.48 158.344 366.522 159.301 L 319.012 168.47 C 314.547 169.331 310.749 165.173 312.009 160.805 L 343.018 53.309 C 344.279 48.933 340.467 44.772 335.997 45.647 Z' fill='url(%23paint1_linear)' style='opacity: 0.8%3b'/%3e%3c/svg%3e";
1776
-
1777
- const _tmpl$$5 = /*#__PURE__*/template(`<img alt="Bâti logo">`);
1778
- function Logo(props) {
1779
- return (() => {
1780
- const _el$ = getNextElement(_tmpl$$5);
1781
- setAttribute(_el$, "src", img);
1782
- createRenderEffect(_p$ => {
1783
- const _v$ = props.size,
1784
- _v$2 = props.size,
1785
- _v$3 = props.class;
1786
- _v$ !== _p$._v$ && setAttribute(_el$, "height", _p$._v$ = _v$);
1787
- _v$2 !== _p$._v$2 && setAttribute(_el$, "width", _p$._v$2 = _v$2);
1788
- _v$3 !== _p$._v$3 && className(_el$, _p$._v$3 = _v$3);
1789
- return _p$;
1790
- }, {
1791
- _v$: undefined,
1792
- _v$2: undefined,
1793
- _v$3: undefined
1794
- });
1795
- return _el$;
1796
- })();
1797
- }
1798
-
1799
- function flip(el, accessor) {
1800
- const name = accessor();
1801
- if (!name) return;
1802
- el.setAttribute("data-flip-name", name);
1803
- el.style.viewTransitionName = name;
1361
+ function Zt(e, t) {
1362
+ const r = t();
1363
+ r && (e.setAttribute("data-flip-name", r), e.style.viewTransitionName = r);
1804
1364
  }
1805
-
1806
- const _tmpl$$4 = /*#__PURE__*/template(`<div><label class="label"><span class="label-text"></span></label><!#><!/>`);
1807
- function FormControl(props) {
1365
+ const er = /* @__PURE__ */ P('<div><label class="label"><span class="label-text">');
1366
+ function tr(e) {
1808
1367
  return (() => {
1809
- const _el$ = getNextElement(_tmpl$$4),
1810
- _el$2 = _el$.firstChild,
1811
- _el$3 = _el$2.firstChild,
1812
- _el$4 = _el$2.nextSibling,
1813
- [_el$5, _co$] = getNextMarker(_el$4.nextSibling);
1814
- use(flip, _el$, () => props.flipLabel);
1815
- insert(_el$3, () => props.label);
1816
- insert(_el$, () => props.children, _el$5, _co$);
1817
- createRenderEffect(() => className(_el$, "form-control max-w-xs " + (props.class ?? "")));
1818
- return _el$;
1368
+ const t = er(), r = t.firstChild, o = r.firstChild;
1369
+ return Ie(Zt, t, () => e.flipLabel), g(o, () => e.label), g(t, () => e.children, null), x(() => J(t, "form-control sm:max-w-xs " + (e.class ?? ""))), t;
1819
1370
  })();
1820
1371
  }
1821
-
1822
- const _tmpl$$3 = /*#__PURE__*/template(`<select>`),
1823
- _tmpl$2$3 = /*#__PURE__*/template(`<option>`);
1824
- function Select(props) {
1825
- const [local, others] = splitProps(props, ["options", "class"]);
1372
+ const rr = /* @__PURE__ */ P("<select>"), or = /* @__PURE__ */ P("<option>");
1373
+ function ir(e) {
1374
+ const [t, r] = pt(e, ["options", "class"]);
1826
1375
  return (() => {
1827
- const _el$ = getNextElement(_tmpl$$3);
1828
- spread(_el$, mergeProps(others, {
1829
- get ["class"]() {
1830
- return "select max-w-xs " + (local.class ?? "");
1376
+ const o = rr();
1377
+ return $t(o, bt(r, {
1378
+ get class() {
1379
+ return "select max-w-xs " + (t.class ?? "");
1831
1380
  }
1832
- }), false, true);
1833
- insert(_el$, createComponent(For, {
1381
+ }), !1, !0), g(o, m(De, {
1834
1382
  get each() {
1835
- return local.options;
1383
+ return t.options;
1836
1384
  },
1837
- children: option => (() => {
1838
- const _el$2 = getNextElement(_tmpl$2$3);
1839
- insert(_el$2, () => option.label);
1840
- createRenderEffect(_p$ => {
1841
- const _v$ = option.disabled,
1842
- _v$2 = option.selected;
1843
- _v$ !== _p$._v$ && (_el$2.disabled = _p$._v$ = _v$);
1844
- _v$2 !== _p$._v$2 && (_el$2.selected = _p$._v$2 = _v$2);
1845
- return _p$;
1385
+ children: (i) => (() => {
1386
+ const n = or();
1387
+ return g(n, () => i.label), x((l) => {
1388
+ const a = i.disabled, c = i.selected;
1389
+ return a !== l._v$ && (n.disabled = l._v$ = a), c !== l._v$2 && (n.selected = l._v$2 = c), l;
1846
1390
  }, {
1847
- _v$: undefined,
1848
- _v$2: undefined
1849
- });
1850
- createRenderEffect(() => _el$2.value = option.value ?? "");
1851
- return _el$2;
1391
+ _v$: void 0,
1392
+ _v$2: void 0
1393
+ }), x(() => n.value = i.value ?? ""), n;
1852
1394
  })()
1853
- }));
1854
- runHydrationEvents();
1855
- return _el$;
1395
+ })), o;
1856
1396
  })();
1857
1397
  }
1858
-
1859
- const _tmpl$$2 = /*#__PURE__*/template(`<ul class="flex flex-wrap gap-4 px-4 w-full">`),
1860
- _tmpl$2$2 = /*#__PURE__*/template(`<div class="join group"><div class="join-item flex justify-center items-center px-2 border border-solid bg-base-100"><input type="checkbox" class="checkbox rounded bg-base-100"></div><!#><!/>`);
1861
- function Features() {
1398
+ const nr = /* @__PURE__ */ P('<div class="flex flex-wrap gap-4 px-4 box-border w-full relative"><span class="absolute bottom-0 right-4 link link-hover">← presets'), lr = /* @__PURE__ */ P('<div class="join group w-full"><div class="join-item flex justify-center items-center px-2 border border-solid bg-base-100"><input type="checkbox" class="checkbox rounded bg-base-100">');
1399
+ function ar() {
1862
1400
  const {
1863
- currentFeatures,
1864
- selectFeature,
1865
- moveFeature
1866
- } = useContext(StoreContext);
1401
+ currentFeatures: e,
1402
+ selectFeature: t,
1403
+ moveFeature: r,
1404
+ setBottomPanel: o
1405
+ } = fe(te);
1867
1406
  return (() => {
1868
- const _el$ = getNextElement(_tmpl$$2);
1869
- insert(_el$, createComponent(For, {
1407
+ const i = nr(), n = i.firstChild;
1408
+ return g(i, m(De, {
1870
1409
  get each() {
1871
- return Object.keys(currentFeatures);
1410
+ return Object.keys(e);
1872
1411
  },
1873
- children: ns => {
1874
- const f = currentFeatures[ns];
1875
- return createComponent(FormControl, {
1412
+ children: (l) => {
1413
+ const a = e[l];
1414
+ return m(tr, {
1876
1415
  get label() {
1877
- return f.label;
1416
+ return a.label;
1878
1417
  },
1879
- flipLabel: ns,
1418
+ flipLabel: l,
1419
+ class: "w-full sm:w-auto",
1880
1420
  get children() {
1881
- const _el$2 = getNextElement(_tmpl$2$2),
1882
- _el$3 = _el$2.firstChild,
1883
- _el$4 = _el$3.firstChild,
1884
- _el$5 = _el$3.nextSibling,
1885
- [_el$6, _co$] = getNextMarker(_el$5.nextSibling);
1886
- _el$4.addEventListener("change", () => moveFeature(ns));
1887
- insert(_el$2, createComponent(Select, {
1888
- "class": "text-xs join-item border-l-0 pl-1",
1421
+ const c = lr(), u = c.firstChild, s = u.firstChild;
1422
+ return s.addEventListener("change", () => r(l)), g(c, m(ir, {
1423
+ class: "text-xs join-item border-l-0 pl-1 w-full",
1889
1424
  get classList() {
1890
1425
  return {
1891
- "select-primary": !f.inview,
1892
- "select-success": Boolean(f.inview)
1426
+ "select-primary": !a.inview,
1427
+ "select-success": !!a.inview
1893
1428
  };
1894
1429
  },
1895
1430
  get disabled() {
1896
- return f.disabled;
1431
+ return a.disabled;
1897
1432
  },
1898
- onChange: e => {
1899
- selectFeature(ns, e.target.value || void 0);
1433
+ onChange: (d) => {
1434
+ t(l, d.target.value || void 0);
1900
1435
  },
1901
1436
  get options() {
1902
- return f.features;
1437
+ return a.features;
1903
1438
  }
1904
- }), _el$6, _co$);
1905
- createRenderEffect(_p$ => {
1906
- const _v$ = {
1907
- "border-success": Boolean(f.inview),
1908
- "border-base-200 bg-base-200 opacity-70": Boolean(f.disabled),
1909
- "border-primary": !f.inview && !f.disabled
1910
- },
1911
- _v$2 = !!Boolean(f.inview),
1912
- _v$3 = !f.disabled,
1913
- _v$4 = f.disabled;
1914
- _p$._v$ = classList(_el$3, _v$, _p$._v$);
1915
- _v$2 !== _p$._v$2 && _el$4.classList.toggle("checkbox-success", _p$._v$2 = _v$2);
1916
- _v$3 !== _p$._v$3 && _el$4.classList.toggle("border-solid", _p$._v$3 = _v$3);
1917
- _v$4 !== _p$._v$4 && (_el$4.disabled = _p$._v$4 = _v$4);
1918
- return _p$;
1439
+ }), null), x((d) => {
1440
+ const f = {
1441
+ "border-success": !!a.inview,
1442
+ "border-base-200 bg-base-200 opacity-70": !!a.disabled,
1443
+ "border-primary": !a.inview && !a.disabled
1444
+ }, b = !!a.inview, w = !a.disabled, j = a.disabled;
1445
+ return d._v$ = he(u, f, d._v$), b !== d._v$2 && s.classList.toggle("checkbox-success", d._v$2 = b), w !== d._v$3 && s.classList.toggle("border-solid", d._v$3 = w), j !== d._v$4 && (s.disabled = d._v$4 = j), d;
1919
1446
  }, {
1920
- _v$: undefined,
1921
- _v$2: undefined,
1922
- _v$3: undefined,
1923
- _v$4: undefined
1924
- });
1925
- createRenderEffect(() => _el$4.checked = f.inview);
1926
- return _el$2;
1447
+ _v$: void 0,
1448
+ _v$2: void 0,
1449
+ _v$3: void 0,
1450
+ _v$4: void 0
1451
+ }), x(() => s.checked = a.inview), c;
1927
1452
  }
1928
1453
  });
1929
1454
  }
1930
- }));
1931
- return _el$;
1455
+ }), n), n.$$click = () => o(0), i;
1932
1456
  })();
1933
1457
  }
1934
-
1935
- function copy(el) {
1936
- let clear;
1937
- async function writeSelectionClipboard() {
1938
- clearTimeout(clear);
1939
- const selObj = window.getSelection();
1940
- if (selObj) {
1941
- const toCopy = selObj.toString().replaceAll("\n", " ");
1942
- await navigator.clipboard.writeText(toCopy);
1943
- el.classList.add("tooltip", "tooltip-open");
1944
- clear = setTimeout(() => {
1945
- el.classList.remove("tooltip", "tooltip-open");
1458
+ pe(["click"]);
1459
+ function sr(e) {
1460
+ let t;
1461
+ async function r() {
1462
+ clearTimeout(t);
1463
+ const o = window.getSelection();
1464
+ if (o) {
1465
+ const i = o.toString().replaceAll(`
1466
+ `, " ");
1467
+ await navigator.clipboard.writeText(i), e.classList.add("tooltip", "tooltip-open"), t = setTimeout(() => {
1468
+ e.classList.remove("tooltip", "tooltip-open");
1946
1469
  }, 3e3);
1947
1470
  }
1948
1471
  }
1949
- el.addEventListener("click", writeSelectionClipboard);
1950
- onCleanup(() => el.removeEventListener("click", writeSelectionClipboard));
1951
- }
1952
-
1953
- const _tmpl$$1 = /*#__PURE__*/template(`<div class="w-full items-center flex justify-center gap-8"><a class="inline-block" href="/"></a><h1 class="font-sans font-bold text-8xl pb-4">Bâti`),
1954
- _tmpl$2$1 = /*#__PURE__*/template(`<div class="container mt-8"><!#><!/><div class="w-full items-center flex justify-center mt-8"><div class="w-4/5 flex flex-col bg-base-300 px-4 py-8 rounded-xl shadow-2xl relative"><div class="px-4 flex"><kbd class="group relative flex-1 justify-start pl-10 tooltip-primary inline-flex tooltip-bottom kbd kbd-lg select-all flex-wrap leading-10 gap-2.5" data-tip="Copied to clipboard!"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right absolute top-2.5 left-2.5 opacity-50"><polyline points="9 18 15 12 9 6"></polyline></svg><!#><!/></kbd></div><div class="divider"></div><div class="flex flex-row flex-wrap flex-1 justify-center gap-4">`),
1955
- _tmpl$3 = /*#__PURE__*/template(`<span class="relative whitespace-nowrap">`);
1956
- function word(w, ns) {
1957
- return {
1958
- word: w,
1959
- ns
1960
- };
1472
+ e.addEventListener("click", r), Pe(() => e.removeEventListener("click", r));
1473
+ }
1474
+ const cr = /* @__PURE__ */ P('<button type="button"><div class="card-body"><h2></h2><p class="text-left">'), dr = /* @__PURE__ */ P('<div class="w-full px-4 box-border grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4">');
1475
+ function V(e) {
1476
+ const {
1477
+ selectPreset: t
1478
+ } = fe(te);
1479
+ return (() => {
1480
+ const r = cr(), o = r.firstChild, i = o.firstChild, n = i.nextSibling;
1481
+ return r.$$click = () => !e.disabled && t(e.features), g(i, () => e.title), g(n, () => e.description), x((l) => {
1482
+ const a = "card card-compact border-0 bg-base-100 " + (e.class ?? ""), c = {
1483
+ "cursor-default opacity-50": e.disabled
1484
+ }, u = "card-title " + (e.titleClass ?? "");
1485
+ return a !== l._v$ && J(r, l._v$ = a), l._v$2 = he(r, c, l._v$2), u !== l._v$3 && J(i, l._v$3 = u), l;
1486
+ }, {
1487
+ _v$: void 0,
1488
+ _v$2: void 0,
1489
+ _v$3: void 0
1490
+ }), r;
1491
+ })();
1492
+ }
1493
+ function ur() {
1494
+ return (() => {
1495
+ const e = dr();
1496
+ return g(e, m(V, {
1497
+ title: "Plain Vike",
1498
+ class: "hover:outline outline-amber-500 outline-1 outline-offset-2",
1499
+ titleClass: "underline decoration-amber-500",
1500
+ description: "For trying out Vike, or manually assembling your stack",
1501
+ features: ["framework"]
1502
+ }), null), g(e, m(V, {
1503
+ title: "Frontend only",
1504
+ class: "hover:outline outline-sky-500 outline-1 outline-offset-2",
1505
+ titleClass: "underline decoration-sky-500",
1506
+ description: "If a backend isn't needed, or a backend already exists",
1507
+ features: ["framework", "uikit"]
1508
+ }), null), g(e, m(V, {
1509
+ title: "Full-stack",
1510
+ class: "hover:outline outline-fuchsia-700 outline-1 outline-offset-2",
1511
+ titleClass: "underline decoration-fuchsia-700",
1512
+ description: "Frontend + Server + Database",
1513
+ features: ["framework", "rpc", "auth", "db", "uikit", "server"]
1514
+ }), null), g(e, m(V, {
1515
+ title: "E-commerce",
1516
+ description: "E-commerce website powered by Shopify or BigCommerce.",
1517
+ features: ["framework"],
1518
+ disabled: !0
1519
+ }), null), e;
1520
+ })();
1961
1521
  }
1962
- function App(props) {
1522
+ pe(["click"]);
1523
+ const fr = /* @__PURE__ */ P('<div class="flex flex-col bg-base-300 px-4 py-8 rounded-xl shadow-2xl relative bati-widget"><div class="px-4 flex"><kbd class="group relative flex-1 justify-start pl-10 tooltip-primary text-left inline-flex tooltip-bottom kbd kbd-lg select-all flex-wrap leading-10 gap-2.5" data-tip="Copied to clipboard!"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right absolute top-2.5 left-2.5 opacity-50"><polyline points="9 18 15 12 9 6"></polyline></svg></kbd></div><div class="divider"></div><div class="w-full overflow-hidden"><div class="flex w-full relative transform transition-transform duration-300 py-1"><div class="flex-grow flex-shrink-0 basis-full"></div><div class="flex-grow flex-shrink-0 basis-full">'), br = 300;
1524
+ function pr(e) {
1963
1525
  const {
1964
- featuresValues
1965
- } = useContext(StoreContext);
1966
- const keys = Object.keys(features);
1967
- function getFlags() {
1968
- return keys.filter(ns => featuresValues()[ns]).map(ns => word(`--${featuresValues()[ns]}`, ns));
1526
+ featuresValues: t,
1527
+ getBottomPanel: r
1528
+ } = fe(te), [o, i] = K([r()]), n = Object.keys(ue);
1529
+ tt(rt(r, (c, u) => {
1530
+ const s = [c];
1531
+ typeof u == "number" && s.push(u), i(s), setTimeout(() => {
1532
+ i([c]);
1533
+ }, br);
1534
+ }, {
1535
+ defer: !0
1536
+ }));
1537
+ function l() {
1538
+ return n.filter((c) => t()[c]).map((c) => `--${t()[c]}`);
1969
1539
  }
1970
- const words = createMemo(() => [word("pnpm"), word("create"), word("@batijs/app"), ...getFlags(), word("my-app")]);
1971
- return (// <Drawer drawer={<DrawerContent />}>
1972
- (() => {
1973
- const _el$ = getNextElement(_tmpl$2$1),
1974
- _el$13 = _el$.firstChild,
1975
- [_el$14, _co$2] = getNextMarker(_el$13.nextSibling),
1976
- _el$4 = _el$14.nextSibling,
1977
- _el$5 = _el$4.firstChild,
1978
- _el$6 = _el$5.firstChild,
1979
- _el$7 = _el$6.firstChild,
1980
- _el$8 = _el$7.firstChild,
1981
- _el$9 = _el$8.nextSibling,
1982
- [_el$10, _co$] = getNextMarker(_el$9.nextSibling),
1983
- _el$11 = _el$6.nextSibling,
1984
- _el$12 = _el$11.nextSibling;
1985
- insert(_el$, createComponent(Show, {
1986
- get when() {
1987
- return !props.widget;
1988
- },
1989
- get children() {
1990
- const _el$2 = getNextElement(_tmpl$$1),
1991
- _el$3 = _el$2.firstChild;
1992
- insert(_el$3, createComponent(Logo, {
1993
- size: 96
1994
- }));
1995
- return _el$2;
1996
- }
1997
- }), _el$14, _co$2);
1998
- use(copy, _el$7, () => true);
1999
- insert(_el$7, createComponent(For, {
2000
- get each() {
2001
- return words();
2002
- },
2003
- children: ({
2004
- word: word2
2005
- }) => (() => {
2006
- const _el$15 = getNextElement(_tmpl$3);
2007
- insert(_el$15, word2);
2008
- return _el$15;
2009
- })()
2010
- }), _el$10, _co$);
2011
- insert(_el$12, createComponent(Features, {}));
2012
- return _el$;
2013
- })()
2014
- );
2015
- }
2016
-
2017
- const _tmpl$ = /*#__PURE__*/template(`<style>`),
2018
- _tmpl$2 = /*#__PURE__*/template(`<div class="flex flex-col mx-auto">`);
2019
- function LayoutDefault(props) {
2020
- return createComponent(StoreProvider, {
1540
+ const a = C(() => ["pnpm", "create", "@batijs/app", ...l(), "my-app"]);
1541
+ return (() => {
1542
+ const c = fr(), u = c.firstChild, s = u.firstChild;
1543
+ s.firstChild;
1544
+ const d = u.nextSibling, f = d.nextSibling, b = f.firstChild, w = b.firstChild, j = w.nextSibling;
1545
+ return Ie(sr, s, () => !0), g(s, () => a().join(" "), null), g(w, m(ye, {
1546
+ get when() {
1547
+ return o().includes(0);
1548
+ },
1549
+ get children() {
1550
+ return m(ur, {});
1551
+ }
1552
+ })), g(j, m(ye, {
1553
+ get when() {
1554
+ return o().includes(1);
1555
+ },
1556
+ get children() {
1557
+ return m(ar, {});
1558
+ }
1559
+ })), x((_) => {
1560
+ const z = e.theme, k = !e.widget, v = r() * -100 + "%";
1561
+ return z !== _._v$ && W(c, "data-theme", _._v$ = z), k !== _._v$2 && c.classList.toggle("w-4/5", _._v$2 = k), v !== _._v$3 && ((_._v$3 = v) != null ? b.style.setProperty("--tw-translate-x", v) : b.style.removeProperty("--tw-translate-x")), _;
1562
+ }, {
1563
+ _v$: void 0,
1564
+ _v$2: void 0,
1565
+ _v$3: void 0
1566
+ }), c;
1567
+ })();
1568
+ }
1569
+ const hr = /* @__PURE__ */ P("<style>");
1570
+ function gr(e) {
1571
+ return m(Qt, {
2021
1572
  get children() {
2022
1573
  return [(() => {
2023
- const _el$ = getNextElement(_tmpl$);
2024
- insert(_el$, css_248z);
2025
- return _el$;
2026
- })(), (() => {
2027
- const _el$2 = getNextElement(_tmpl$2);
2028
- insert(_el$2, () => props.children);
2029
- return _el$2;
2030
- })()];
1574
+ const t = hr();
1575
+ return g(t, Ft), t;
1576
+ })(), C(() => e.children)];
2031
1577
  }
2032
1578
  });
2033
1579
  }
2034
- function AppWidget(props) {
2035
- return createComponent(LayoutDefault, {
1580
+ function wr(e) {
1581
+ return m(gr, {
2036
1582
  get children() {
2037
- return createComponent(App, props);
1583
+ return m(pr, {
1584
+ widget: !0,
1585
+ get theme() {
1586
+ return e.theme;
1587
+ }
1588
+ });
2038
1589
  }
2039
1590
  });
2040
1591
  }
2041
-
2042
- customElement("bati-widget", {
2043
- widget: true
2044
- }, AppWidget);
1592
+ Tt("bati-widget", { theme: "" }, wr);