@hiai-gg/docsmint 0.5.0 → 0.5.2

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 (75) hide show
  1. package/dist/backend/index.js +47 -8
  2. package/dist/backend-account-runtime-cleanup.js +20 -3
  3. package/dist/backend-api-key-facade.js +20 -3
  4. package/dist/backend-pipeline-cancellation.js +20 -3
  5. package/dist/frontend/{CategoryDialog-DyytjQn6.js → CategoryDialog-DmlX0Z97.js} +1 -1
  6. package/dist/frontend/DatePicker-D6E-EEtZ.js +340 -0
  7. package/dist/frontend/{FolderNode-DAGPgi-M.js → FolderNode-D3rN3yLV.js} +1 -1
  8. package/dist/frontend/{HiaiDocsExtensionProvider-CMiTXi2J.js → HiaiDocsExtensionProvider-OSn96BBw.js} +1 -1
  9. package/dist/frontend/{SettingsDialog-DEx1eEZm.js → SettingsDialog-Bd_S2RKW.js} +104 -96
  10. package/dist/frontend/ShareDialog-BC-Jl6v1.js +257 -0
  11. package/dist/frontend/{Sidebar-BdB8CfXS.js → Sidebar-BnZgNl_8.js} +679 -657
  12. package/dist/frontend/api/attachments.js +1 -1
  13. package/dist/frontend/app-shell.js +3 -3
  14. package/dist/frontend/{attachments-C2DBzU-r.js → attachments-B8AuDjno.js} +8 -5
  15. package/dist/frontend/components/category-dialog.js +1 -1
  16. package/dist/frontend/components/editor/document-editor.js +240 -228
  17. package/dist/frontend/components/folder-node.js +1 -1
  18. package/dist/frontend/components/save-as-dialog.js +1 -1
  19. package/dist/frontend/components/settings.js +1 -1
  20. package/dist/frontend/components/share-dialog.js +1 -1
  21. package/dist/frontend/components/sidebar.js +1 -1
  22. package/dist/frontend/{context-KLiM3QQ0.js → context-D0zPFXZ4.js} +2 -0
  23. package/dist/frontend/dashboard.js +1106 -1068
  24. package/dist/frontend/{dropdown-menu-Cre80-CJ.js → dropdown-menu-CJ_7V3N0.js} +43 -43
  25. package/dist/frontend/extension.d.ts +3 -2
  26. package/dist/frontend/extension.js +1 -1
  27. package/dist/frontend/{floating-layer-anchor-BDs7vO-M.js → floating-layer-anchor-S5RSefGN.js} +1 -1
  28. package/dist/frontend/frontend.css +1 -1
  29. package/dist/frontend/search.js +421 -405
  30. package/dist/frontend/{select-value-GXwx90Pr.js → select-value-JCAp2PmU.js} +466 -466
  31. package/dist/frontend/shared-document.js +1 -1
  32. package/dist/frontend-ssr/api/attachments.js +1 -1
  33. package/dist/frontend-ssr/app-shell.js +4 -4
  34. package/dist/frontend-ssr/assets/{CategoryDialog-CLAGMZPz.js → CategoryDialog-Cnlmr1sz.js} +2 -2
  35. package/dist/frontend-ssr/assets/{CreateSnapshotDialog-DNAjd4eD.js → CreateSnapshotDialog-b6O0nUVp.js} +1 -1
  36. package/dist/frontend-ssr/assets/{DatePicker-Cp6Qmgdb.js → DatePicker-D84cJ-Eq.js} +1 -1
  37. package/dist/frontend-ssr/assets/{FolderNode-Ty6fMbDu.js → FolderNode-CnFVWuQi.js} +2 -2
  38. package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-B_MrN08c.js → HiaiDocsExtensionProvider-BRKWmcDd.js} +1 -1
  39. package/dist/frontend-ssr/assets/{SettingsDialog-BymUxBgg.js → SettingsDialog-BPdUl6pd.js} +23 -9
  40. package/dist/frontend-ssr/assets/ShareDialog-BZd28sg-.js +45 -0
  41. package/dist/frontend-ssr/assets/{Sidebar-DzbIUZFc.js → Sidebar-DwYZH0Tr.js} +49 -14
  42. package/dist/frontend-ssr/assets/{TagCreateDialog-B7wDbVqG.js → TagCreateDialog-DUPMitlL.js} +1 -1
  43. package/dist/frontend-ssr/assets/{attachments-CXgatN0B.js → attachments-Cj3fQyUp.js} +11 -4
  44. package/dist/frontend-ssr/assets/{confirm-dialog-B3C0WeMn.js → confirm-dialog-XuyaL8sr.js} +1 -1
  45. package/dist/frontend-ssr/assets/{context-BtCMqdVe.js → context-Bi_mO-NS.js} +2 -0
  46. package/dist/frontend-ssr/assets/{dropdown-menu-CGkf8-rb.js → dropdown-menu-Dn_vQq9b.js} +1 -1
  47. package/dist/frontend-ssr/assets/{floating-layer-anchor-CYIE8Oj6.js → floating-layer-anchor-BIAu-252.js} +1 -1
  48. package/dist/frontend-ssr/assets/{messages-D-auzk9H.js → messages-BAQzILs4.js} +1 -1
  49. package/dist/frontend-ssr/assets/{select-value-6Lk0ToYd.js → select-value-DBhbkNcc.js} +1 -1
  50. package/dist/frontend-ssr/components/category-dialog.js +1 -1
  51. package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
  52. package/dist/frontend-ssr/components/editor/document-editor.js +37 -23
  53. package/dist/frontend-ssr/components/editor/document-title.js +1 -1
  54. package/dist/frontend-ssr/components/editor/markdown-toggle.js +1 -1
  55. package/dist/frontend-ssr/components/folder-node.js +1 -1
  56. package/dist/frontend-ssr/components/save-as-dialog.js +2 -2
  57. package/dist/frontend-ssr/components/settings.js +1 -1
  58. package/dist/frontend-ssr/components/share-dialog.js +1 -1
  59. package/dist/frontend-ssr/components/sidebar.js +1 -1
  60. package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
  61. package/dist/frontend-ssr/components/version-history.js +2 -2
  62. package/dist/frontend-ssr/dashboard.js +280 -81
  63. package/dist/frontend-ssr/extension.js +1 -1
  64. package/dist/frontend-ssr/i18n.js +1 -1
  65. package/dist/frontend-ssr/search.js +4 -4
  66. package/dist/frontend-ssr/shared-document.js +1 -1
  67. package/dist/lifecycle-runtime.js +18 -3
  68. package/dist/types.d.ts +5 -0
  69. package/package.json +1 -1
  70. package/packages/cli/src/index.ts +1 -1
  71. package/packages/db/src/schema.ts +17 -2
  72. package/packages/mcp-server/src/index.ts +1 -1
  73. package/dist/frontend/DatePicker-BkaaNS1l.js +0 -256
  74. package/dist/frontend/ShareDialog-ChZogJtW.js +0 -166
  75. package/dist/frontend-ssr/assets/ShareDialog-C-9VDKSz.js +0 -56
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./utils-BPDRytUU.js";
2
- import { $ as t, A as n, C as r, D as i, E as a, G as o, H as s, J as c, K as l, O as u, P as d, Q as f, S as p, T as m, V as h, W as g, X as _, Y as v, Z as y, _ as b, a as x, b as S, g as C, h as w, i as T, j as ee, k as te, n as ne, o as E, q as D, r as O, t as k, v as A, w as j, x as re, y as ie, z as ae } from "./floating-layer-anchor-BDs7vO-M.js";
2
+ import { $ as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, J as l, K as u, M as d, O as f, Q as p, S as m, T as h, U as g, X as _, Y as v, Z as y, _ as b, a as x, b as S, et as C, g as w, h as T, i as E, j as ee, k as te, n as ne, o as D, q as O, r as k, t as A, v as j, w as M, x as re, y as ie } from "./floating-layer-anchor-S5RSefGN.js";
3
3
  import "svelte/internal/disclose-version";
4
- import * as M from "svelte/internal/client";
5
- import { untrack as oe } from "svelte";
6
- import { on as N } from "svelte/events";
4
+ import * as N from "svelte/internal/client";
5
+ import { untrack as ae } from "svelte";
6
+ import { on as oe } from "svelte/events";
7
7
  //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+68f06e2e1fdd21f8/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
8
8
  var P = {
9
9
  position: "absolute",
@@ -17,17 +17,17 @@ var P = {
17
17
  borderWidth: "0",
18
18
  transform: "translateX(-100%)"
19
19
  };
20
- f(P);
20
+ t(P);
21
21
  //#endregion
22
22
  //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+68f06e2e1fdd21f8/node_modules/svelte-toolbelt/dist/utils/on-mount-effect.svelte.js
23
23
  function F(e) {
24
- M.user_effect(() => oe(() => e()));
24
+ N.user_effect(() => ae(() => e()));
25
25
  }
26
26
  //#endregion
27
27
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
28
28
  var I = class {
29
29
  #e;
30
- #t = M.derived(() => this.#e.candidateValues());
30
+ #t = N.derived(() => this.#e.candidateValues());
31
31
  #n;
32
32
  constructor(e) {
33
33
  this.#e = e, this.#n = b("", {
@@ -36,21 +36,21 @@ var I = class {
36
36
  }), this.handleTypeaheadSearch = this.handleTypeaheadSearch.bind(this), this.resetTypeahead = this.resetTypeahead.bind(this);
37
37
  }
38
38
  handleTypeaheadSearch(e) {
39
- if (!this.#e.enabled() || !M.get(this.#t).length) return;
39
+ if (!this.#e.enabled() || !N.get(this.#t).length) return;
40
40
  this.#n.current = this.#n.current + e;
41
- let t = this.#e.getCurrentItem(), n = M.get(this.#t).find((e) => e === t) ?? "", r = re(M.get(this.#t).map((e) => e ?? ""), this.#n.current, n), i = M.get(this.#t).find((e) => e === r);
41
+ let t = this.#e.getCurrentItem(), n = N.get(this.#t).find((e) => e === t) ?? "", r = re(N.get(this.#t).map((e) => e ?? ""), this.#n.current, n), i = N.get(this.#t).find((e) => e === r);
42
42
  return i && this.#e.onMatch(i), i;
43
43
  }
44
44
  resetTypeahead() {
45
45
  this.#n.current = "";
46
46
  }
47
47
  }, L = [
48
- ee,
49
- s,
50
- ae
51
- ], R = [
52
48
  d,
53
- h,
49
+ g,
50
+ n
51
+ ], R = [
52
+ o,
53
+ c,
54
54
  "End"
55
55
  ], z = [...L, ...R], B = i({
56
56
  component: "select",
@@ -70,108 +70,108 @@ var I = class {
70
70
  "item-text",
71
71
  "value"
72
72
  ]
73
- }), V = new l("Select.Root | Combobox.Root");
74
- new l("Select.Group | Combobox.Group");
75
- var H = new l("Select.Content | Combobox.Content"), U = class {
73
+ }), V = new O("Select.Root | Combobox.Root");
74
+ new O("Select.Group | Combobox.Group");
75
+ var H = new O("Select.Content | Combobox.Content"), U = class {
76
76
  opts;
77
- #e = M.state(!1);
77
+ #e = N.state(!1);
78
78
  get touchedInput() {
79
- return M.get(this.#e);
79
+ return N.get(this.#e);
80
80
  }
81
81
  set touchedInput(e) {
82
- M.set(this.#e, e, !0);
82
+ N.set(this.#e, e, !0);
83
83
  }
84
- #t = M.state(null);
84
+ #t = N.state(null);
85
85
  get inputNode() {
86
- return M.get(this.#t);
86
+ return N.get(this.#t);
87
87
  }
88
88
  set inputNode(e) {
89
- M.set(this.#t, e, !0);
89
+ N.set(this.#t, e, !0);
90
90
  }
91
- #n = M.state(null);
91
+ #n = N.state(null);
92
92
  get contentNode() {
93
- return M.get(this.#n);
93
+ return N.get(this.#n);
94
94
  }
95
95
  set contentNode(e) {
96
- M.set(this.#n, e, !0);
96
+ N.set(this.#n, e, !0);
97
97
  }
98
98
  contentPresence;
99
- #r = M.state(null);
99
+ #r = N.state(null);
100
100
  get viewportNode() {
101
- return M.get(this.#r);
101
+ return N.get(this.#r);
102
102
  }
103
103
  set viewportNode(e) {
104
- M.set(this.#r, e, !0);
104
+ N.set(this.#r, e, !0);
105
105
  }
106
- #i = M.state(null);
106
+ #i = N.state(null);
107
107
  get triggerNode() {
108
- return M.get(this.#i);
108
+ return N.get(this.#i);
109
109
  }
110
110
  set triggerNode(e) {
111
- M.set(this.#i, e, !0);
111
+ N.set(this.#i, e, !0);
112
112
  }
113
- #a = M.state(null);
113
+ #a = N.state(null);
114
114
  get valueNode() {
115
- return M.get(this.#a);
115
+ return N.get(this.#a);
116
116
  }
117
117
  set valueNode(e) {
118
- M.set(this.#a, e, !0);
118
+ N.set(this.#a, e, !0);
119
119
  }
120
- #o = M.state("");
120
+ #o = N.state("");
121
121
  get valueId() {
122
- return M.get(this.#o);
122
+ return N.get(this.#o);
123
123
  }
124
124
  set valueId(e) {
125
- M.set(this.#o, e, !0);
125
+ N.set(this.#o, e, !0);
126
126
  }
127
- #s = M.state(null);
127
+ #s = N.state(null);
128
128
  get highlightedNode() {
129
- return M.get(this.#s);
129
+ return N.get(this.#s);
130
130
  }
131
131
  set highlightedNode(e) {
132
- M.set(this.#s, e, !0);
132
+ N.set(this.#s, e, !0);
133
133
  }
134
- #c = M.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-value") : null);
134
+ #c = N.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-value") : null);
135
135
  get highlightedValue() {
136
- return M.get(this.#c);
136
+ return N.get(this.#c);
137
137
  }
138
138
  set highlightedValue(e) {
139
- M.set(this.#c, e);
139
+ N.set(this.#c, e);
140
140
  }
141
- #l = M.derived(() => {
141
+ #l = N.derived(() => {
142
142
  if (this.highlightedNode) return this.highlightedNode.id;
143
143
  });
144
144
  get highlightedId() {
145
- return M.get(this.#l);
145
+ return N.get(this.#l);
146
146
  }
147
147
  set highlightedId(e) {
148
- M.set(this.#l, e);
148
+ N.set(this.#l, e);
149
149
  }
150
- #u = M.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-label") : null);
150
+ #u = N.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-label") : null);
151
151
  get highlightedLabel() {
152
- return M.get(this.#u);
152
+ return N.get(this.#u);
153
153
  }
154
154
  set highlightedLabel(e) {
155
- M.set(this.#u, e);
155
+ N.set(this.#u, e);
156
156
  }
157
- #d = M.state(!1);
157
+ #d = N.state(!1);
158
158
  get contentIsPositioned() {
159
- return M.get(this.#d);
159
+ return N.get(this.#d);
160
160
  }
161
161
  set contentIsPositioned(e) {
162
- M.set(this.#d, e, !0);
162
+ N.set(this.#d, e, !0);
163
163
  }
164
164
  isUsingKeyboard = !1;
165
165
  isCombobox = !1;
166
- domContext = new c(() => null);
166
+ domContext = new v(() => null);
167
167
  constructor(e) {
168
- this.opts = e, this.isCombobox = e.isCombobox, this.contentPresence = new w({
169
- ref: t(() => this.contentNode),
168
+ this.opts = e, this.isCombobox = e.isCombobox, this.contentPresence = new T({
169
+ ref: C(() => this.contentNode),
170
170
  open: this.opts.open,
171
171
  onComplete: () => {
172
172
  this.opts.onOpenChangeComplete.current(this.opts.open.current);
173
173
  }
174
- }), M.user_pre_effect(() => {
174
+ }), N.user_pre_effect(() => {
175
175
  this.opts.open.current || this.setHighlightedNode(null);
176
176
  });
177
177
  }
@@ -233,38 +233,38 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
233
233
  }, W = class extends U {
234
234
  opts;
235
235
  isMulti = !1;
236
- #e = M.derived(() => this.opts.value.current !== "");
236
+ #e = N.derived(() => this.opts.value.current !== "");
237
237
  get hasValue() {
238
- return M.get(this.#e);
238
+ return N.get(this.#e);
239
239
  }
240
240
  set hasValue(e) {
241
- M.set(this.#e, e);
241
+ N.set(this.#e, e);
242
242
  }
243
- #t = M.derived(() => this.opts.items.current.length ? this.opts.items.current.find((e) => e.value === this.opts.value.current)?.label ?? "" : "");
243
+ #t = N.derived(() => this.opts.items.current.length ? this.opts.items.current.find((e) => e.value === this.opts.value.current)?.label ?? "" : "");
244
244
  get currentLabel() {
245
- return M.get(this.#t);
245
+ return N.get(this.#t);
246
246
  }
247
247
  set currentLabel(e) {
248
- M.set(this.#t, e);
248
+ N.set(this.#t, e);
249
249
  }
250
- #n = M.derived(() => this.opts.items.current.length ? this.opts.items.current.filter((e) => !e.disabled).map((e) => e.label) : []);
250
+ #n = N.derived(() => this.opts.items.current.length ? this.opts.items.current.filter((e) => !e.disabled).map((e) => e.label) : []);
251
251
  get candidateLabels() {
252
- return M.get(this.#n);
252
+ return N.get(this.#n);
253
253
  }
254
254
  set candidateLabels(e) {
255
- M.set(this.#n, e);
255
+ N.set(this.#n, e);
256
256
  }
257
- #r = M.derived(() => !(this.isMulti || this.opts.items.current.length === 0));
257
+ #r = N.derived(() => !(this.isMulti || this.opts.items.current.length === 0));
258
258
  get dataTypeaheadEnabled() {
259
- return M.get(this.#r);
259
+ return N.get(this.#r);
260
260
  }
261
261
  set dataTypeaheadEnabled(e) {
262
- M.set(this.#r, e);
262
+ N.set(this.#r, e);
263
263
  }
264
264
  constructor(e) {
265
- super(e), this.opts = e, M.user_effect(() => {
265
+ super(e), this.opts = e, N.user_effect(() => {
266
266
  !this.opts.open.current && this.highlightedNode && this.setHighlightedNode(null);
267
- }), o(() => this.opts.open.current, () => {
267
+ }), u(() => this.opts.open.current, () => {
268
268
  this.opts.open.current && this.setInitialHighlightedNode();
269
269
  });
270
270
  }
@@ -276,7 +276,7 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
276
276
  this.opts.value.current = n, n !== "" && (this.opts.inputValue.current = t);
277
277
  }
278
278
  setInitialHighlightedNode() {
279
- v(() => {
279
+ _(() => {
280
280
  if (!(this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode))) {
281
281
  if (this.opts.value.current !== "") {
282
282
  let e = this.getNodeByValue(this.opts.value.current);
@@ -292,17 +292,17 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
292
292
  }, G = class extends U {
293
293
  opts;
294
294
  isMulti = !0;
295
- #e = M.derived(() => this.opts.value.current.length > 0);
295
+ #e = N.derived(() => this.opts.value.current.length > 0);
296
296
  get hasValue() {
297
- return M.get(this.#e);
297
+ return N.get(this.#e);
298
298
  }
299
299
  set hasValue(e) {
300
- M.set(this.#e, e);
300
+ N.set(this.#e, e);
301
301
  }
302
302
  constructor(e) {
303
- super(e), this.opts = e, M.user_effect(() => {
303
+ super(e), this.opts = e, N.user_effect(() => {
304
304
  !this.opts.open.current && this.highlightedNode && this.setHighlightedNode(null);
305
- }), o(() => this.opts.open.current, () => {
305
+ }), u(() => this.opts.open.current, () => {
306
306
  this.opts.open.current && this.setInitialHighlightedNode();
307
307
  });
308
308
  }
@@ -313,7 +313,7 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
313
313
  this.includesItem(e) ? this.opts.value.current = this.opts.value.current.filter((t) => t !== e) : this.opts.value.current = [...this.opts.value.current, e], this.opts.inputValue.current = t;
314
314
  }
315
315
  setInitialHighlightedNode() {
316
- v(() => {
316
+ _(() => {
317
317
  if (this.domContext && !(this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode))) {
318
318
  if (this.opts.value.current.length && this.opts.value.current[0] !== "") {
319
319
  let e = this.getNodeByValue(this.opts.value.current[0]);
@@ -339,12 +339,12 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
339
339
  opts;
340
340
  attachment;
341
341
  constructor(e, t) {
342
- this.root = t, this.opts = e, this.attachment = D(e.ref, (e) => this.root.valueNode = e), this.setValue = this.setValue.bind(this);
342
+ this.root = t, this.opts = e, this.attachment = l(e.ref, (e) => this.root.valueNode = e), this.setValue = this.setValue.bind(this);
343
343
  }
344
344
  setValue(e) {
345
345
  this.root.isMulti && !Array.isArray(e) || !this.root.isMulti && typeof e != "string" || (this.root.opts.value.current = e);
346
346
  }
347
- #e = M.derived(() => {
347
+ #e = N.derived(() => {
348
348
  if (this.root.isMulti) return {
349
349
  selection: {
350
350
  type: "multiple",
@@ -372,22 +372,22 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
372
372
  };
373
373
  });
374
374
  get snippetProps() {
375
- return M.get(this.#e);
375
+ return N.get(this.#e);
376
376
  }
377
377
  set snippetProps(e) {
378
- M.set(this.#e, e);
378
+ N.set(this.#e, e);
379
379
  }
380
- #t = M.derived(() => ({
380
+ #t = N.derived(() => ({
381
381
  id: this.opts.id.current,
382
382
  "data-placeholder": this.root.hasValue ? void 0 : "",
383
383
  "data-select-value": "",
384
384
  ...this.attachment
385
385
  }));
386
386
  get props() {
387
- return M.get(this.#t);
387
+ return N.get(this.#t);
388
388
  }
389
389
  set props(e) {
390
- M.set(this.#t, e);
390
+ N.set(this.#t, e);
391
391
  }
392
392
  }, se = class e {
393
393
  static create(t) {
@@ -399,7 +399,7 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
399
399
  #e;
400
400
  #t;
401
401
  constructor(e, t) {
402
- this.opts = e, this.root = t, this.attachment = D(e.ref, (e) => this.root.triggerNode = e), this.root.domContext = new c(e.ref), this.#e = new C({
402
+ this.opts = e, this.root = t, this.attachment = l(e.ref, (e) => this.root.triggerNode = e), this.root.domContext = new v(e.ref), this.#e = new w({
403
403
  getCurrentItem: () => this.root.highlightedNode,
404
404
  onMatch: (e) => {
405
405
  this.root.setHighlightedNode(e);
@@ -455,7 +455,7 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
455
455
  if (e.key === "ArrowUp" && e.altKey && this.root.handleClose(), z.includes(e.key)) {
456
456
  e.preventDefault();
457
457
  let t = this.root.getCandidateNodes(), n = this.root.highlightedNode, i = n ? t.indexOf(n) : -1, a = this.root.opts.loop.current, o;
458
- if (e.key === "ArrowDown" ? o = p(t, i, a) : e.key === "ArrowUp" ? o = r(t, i, a) : e.key === "PageDown" ? o = S(t, i, 10, a) : e.key === "PageUp" ? o = ie(t, i, 10, a) : e.key === "Home" ? o = t[0] : e.key === "End" && (o = t[t.length - 1]), !o) return;
458
+ if (e.key === "ArrowDown" ? o = m(t, i, a) : e.key === "ArrowUp" ? o = r(t, i, a) : e.key === "PageDown" ? o = S(t, i, 10, a) : e.key === "PageUp" ? o = ie(t, i, 10, a) : e.key === "Home" ? o = t[0] : e.key === "End" && (o = t[t.length - 1]), !o) return;
459
459
  this.root.setHighlightedNode(o);
460
460
  return;
461
461
  }
@@ -480,14 +480,14 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
480
480
  onpointerup(e) {
481
481
  this.root.opts.disabled.current || (e.preventDefault(), e.pointerType === "touch" && (this.root.opts.open.current === !1 ? this.#r(e) : this.root.handleClose()));
482
482
  }
483
- #a = M.derived(() => ({
483
+ #a = N.derived(() => ({
484
484
  id: this.opts.id.current,
485
485
  disabled: this.root.opts.disabled.current ? !0 : void 0,
486
486
  "aria-haspopup": "listbox",
487
- "aria-expanded": m(this.root.opts.open.current),
487
+ "aria-expanded": h(this.root.opts.open.current),
488
488
  "aria-activedescendant": this.root.highlightedId,
489
- "data-state": u(this.root.opts.open.current),
490
- "data-disabled": j(this.root.opts.disabled.current),
489
+ "data-state": f(this.root.opts.open.current),
490
+ "data-disabled": M(this.root.opts.disabled.current),
491
491
  "data-placeholder": this.root.hasValue ? void 0 : "",
492
492
  [this.root.getBitsAttr("trigger")]: "",
493
493
  onpointerdown: this.onpointerdown,
@@ -497,10 +497,10 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
497
497
  ...this.attachment
498
498
  }));
499
499
  get props() {
500
- return M.get(this.#a);
500
+ return N.get(this.#a);
501
501
  }
502
502
  set props(e) {
503
- M.set(this.#a, e);
503
+ N.set(this.#a, e);
504
504
  }
505
505
  }, ce = class e {
506
506
  static create(t) {
@@ -509,27 +509,27 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
509
509
  opts;
510
510
  root;
511
511
  attachment;
512
- #e = M.state(!1);
512
+ #e = N.state(!1);
513
513
  get isPositioned() {
514
- return M.get(this.#e);
514
+ return N.get(this.#e);
515
515
  }
516
516
  set isPositioned(e) {
517
- M.set(this.#e, e, !0);
517
+ N.set(this.#e, e, !0);
518
518
  }
519
519
  domContext;
520
520
  constructor(e, t) {
521
- this.opts = e, this.root = t, this.attachment = D(e.ref, (e) => this.root.contentNode = e), this.domContext = new c(this.opts.ref), this.root.domContext === null && (this.root.domContext = this.domContext), _(() => {
521
+ this.opts = e, this.root = t, this.attachment = l(e.ref, (e) => this.root.contentNode = e), this.domContext = new v(this.opts.ref), this.root.domContext === null && (this.root.domContext = this.domContext), y(() => {
522
522
  this.root.contentNode = null, this.root.contentIsPositioned = !1, this.isPositioned = !1;
523
- }), o(() => this.root.opts.open.current, () => {
523
+ }), u(() => this.root.opts.open.current, () => {
524
524
  this.root.opts.open.current || (this.root.contentIsPositioned = !1, this.isPositioned = !1);
525
- }), o([() => this.isPositioned, () => this.root.highlightedNode], () => {
525
+ }), u([() => this.isPositioned, () => this.root.highlightedNode], () => {
526
526
  !this.isPositioned || !this.root.highlightedNode || this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode);
527
527
  }), this.onpointermove = this.onpointermove.bind(this);
528
528
  }
529
529
  onpointermove(e) {
530
530
  this.root.isUsingKeyboard = !1;
531
531
  }
532
- #t = M.derived(() => E(this.root.isCombobox ? "combobox" : "select"));
532
+ #t = N.derived(() => D(this.root.isCombobox ? "combobox" : "select"));
533
533
  onInteractOutside = (e) => {
534
534
  if (e.target === this.root.triggerNode || e.target === this.root.inputNode) {
535
535
  e.preventDefault();
@@ -549,18 +549,18 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
549
549
  get shouldRender() {
550
550
  return this.root.contentPresence.shouldRender;
551
551
  }
552
- #n = M.derived(() => ({ open: this.root.opts.open.current }));
552
+ #n = N.derived(() => ({ open: this.root.opts.open.current }));
553
553
  get snippetProps() {
554
- return M.get(this.#n);
554
+ return N.get(this.#n);
555
555
  }
556
556
  set snippetProps(e) {
557
- M.set(this.#n, e);
557
+ N.set(this.#n, e);
558
558
  }
559
- #r = M.derived(() => ({
559
+ #r = N.derived(() => ({
560
560
  id: this.opts.id.current,
561
561
  role: "listbox",
562
562
  "aria-multiselectable": this.root.isMulti ? "true" : void 0,
563
- "data-state": u(this.root.opts.open.current),
563
+ "data-state": f(this.root.opts.open.current),
564
564
  ...te(this.root.contentPresence.transitionStatus),
565
565
  [this.root.getBitsAttr("content")]: "",
566
566
  style: {
@@ -569,16 +569,16 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
569
569
  outline: "none",
570
570
  boxSizing: "border-box",
571
571
  pointerEvents: "auto",
572
- ...M.get(this.#t)
572
+ ...N.get(this.#t)
573
573
  },
574
574
  onpointermove: this.onpointermove,
575
575
  ...this.attachment
576
576
  }));
577
577
  get props() {
578
- return M.get(this.#r);
578
+ return N.get(this.#r);
579
579
  }
580
580
  set props(e) {
581
- M.set(this.#r, e);
581
+ N.set(this.#r, e);
582
582
  }
583
583
  popperProps = {
584
584
  onInteractOutside: this.onInteractOutside,
@@ -598,32 +598,32 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
598
598
  opts;
599
599
  root;
600
600
  attachment;
601
- #e = M.derived(() => this.root.includesItem(this.opts.value.current));
601
+ #e = N.derived(() => this.root.includesItem(this.opts.value.current));
602
602
  get isSelected() {
603
- return M.get(this.#e);
603
+ return N.get(this.#e);
604
604
  }
605
605
  set isSelected(e) {
606
- M.set(this.#e, e);
606
+ N.set(this.#e, e);
607
607
  }
608
- #t = M.derived(() => this.root.highlightedValue === this.opts.value.current);
608
+ #t = N.derived(() => this.root.highlightedValue === this.opts.value.current);
609
609
  get isHighlighted() {
610
- return M.get(this.#t);
610
+ return N.get(this.#t);
611
611
  }
612
612
  set isHighlighted(e) {
613
- M.set(this.#t, e);
613
+ N.set(this.#t, e);
614
614
  }
615
- prevHighlighted = new g(() => this.isHighlighted);
616
- #n = M.state(!1);
615
+ prevHighlighted = new s(() => this.isHighlighted);
616
+ #n = N.state(!1);
617
617
  get mounted() {
618
- return M.get(this.#n);
618
+ return N.get(this.#n);
619
619
  }
620
620
  set mounted(e) {
621
- M.set(this.#n, e, !0);
621
+ N.set(this.#n, e, !0);
622
622
  }
623
623
  constructor(e, t) {
624
- this.opts = e, this.root = t, this.attachment = D(e.ref), o([() => this.isHighlighted, () => this.prevHighlighted.current], () => {
624
+ this.opts = e, this.root = t, this.attachment = l(e.ref), u([() => this.isHighlighted, () => this.prevHighlighted.current], () => {
625
625
  this.isHighlighted ? this.opts.onHighlight.current() : this.prevHighlighted.current && this.opts.onUnhighlight.current();
626
- }), o(() => this.mounted, () => {
626
+ }), u(() => this.mounted, () => {
627
627
  this.mounted && this.root.setInitialHighlightedNode();
628
628
  }), this.onpointerdown = this.onpointerdown.bind(this), this.onpointerup = this.onpointerup.bind(this), this.onpointermove = this.onpointermove.bind(this);
629
629
  }
@@ -636,23 +636,23 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
636
636
  }
637
637
  this.root.toggleItem(this.opts.value.current, this.opts.label.current), !this.root.isMulti && !e && this.root.handleClose();
638
638
  }
639
- #r = M.derived(() => ({
639
+ #r = N.derived(() => ({
640
640
  selected: this.isSelected,
641
641
  highlighted: this.isHighlighted
642
642
  }));
643
643
  get snippetProps() {
644
- return M.get(this.#r);
644
+ return N.get(this.#r);
645
645
  }
646
646
  set snippetProps(e) {
647
- M.set(this.#r, e);
647
+ N.set(this.#r, e);
648
648
  }
649
649
  onpointerdown(e) {
650
650
  e.preventDefault();
651
651
  }
652
652
  onpointerup(e) {
653
653
  if (!(e.defaultPrevented || !this.opts.ref.current)) {
654
- if (e.pointerType === "touch" && !n) {
655
- N(this.opts.ref.current, "click", () => {
654
+ if (e.pointerType === "touch" && !ee) {
655
+ oe(this.opts.ref.current, "click", () => {
656
656
  this.handleSelect(), this.root.setHighlightedNode(this.opts.ref.current);
657
657
  }, { once: !0 });
658
658
  return;
@@ -663,12 +663,12 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
663
663
  onpointermove(e) {
664
664
  e.pointerType !== "touch" && this.root.highlightedNode !== this.opts.ref.current && this.root.setHighlightedNode(this.opts.ref.current);
665
665
  }
666
- #i = M.derived(() => ({
666
+ #i = N.derived(() => ({
667
667
  id: this.opts.id.current,
668
668
  role: "option",
669
669
  "aria-selected": this.root.includesItem(this.opts.value.current) ? "true" : void 0,
670
670
  "data-value": this.opts.value.current,
671
- "data-disabled": j(this.opts.disabled.current),
671
+ "data-disabled": M(this.opts.disabled.current),
672
672
  "data-highlighted": this.root.highlightedValue === this.opts.value.current && !this.opts.disabled.current ? "" : void 0,
673
673
  "data-selected": this.root.includesItem(this.opts.value.current) ? "" : void 0,
674
674
  "data-label": this.opts.label.current,
@@ -679,10 +679,10 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
679
679
  ...this.attachment
680
680
  }));
681
681
  get props() {
682
- return M.get(this.#i);
682
+ return N.get(this.#i);
683
683
  }
684
684
  set props(e) {
685
- M.set(this.#i, e);
685
+ N.set(this.#i, e);
686
686
  }
687
687
  }, ue = class e {
688
688
  static create(t) {
@@ -690,12 +690,12 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
690
690
  }
691
691
  opts;
692
692
  root;
693
- #e = M.derived(() => this.root.opts.name.current !== "");
693
+ #e = N.derived(() => this.root.opts.name.current !== "");
694
694
  get shouldRender() {
695
- return M.get(this.#e);
695
+ return N.get(this.#e);
696
696
  }
697
697
  set shouldRender(e) {
698
- M.set(this.#e, e);
698
+ N.set(this.#e, e);
699
699
  }
700
700
  constructor(e, t) {
701
701
  this.opts = e, this.root = t, this.onfocus = this.onfocus.bind(this);
@@ -703,7 +703,7 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
703
703
  onfocus(e) {
704
704
  e.preventDefault(), this.root.isCombobox ? this.root.inputNode?.focus() : this.root.triggerNode?.focus();
705
705
  }
706
- #t = M.derived(() => ({
706
+ #t = N.derived(() => ({
707
707
  disabled: a(this.root.opts.disabled.current),
708
708
  required: a(this.root.opts.required.current),
709
709
  name: this.root.opts.name.current,
@@ -711,10 +711,10 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
711
711
  onfocus: this.onfocus
712
712
  }));
713
713
  get props() {
714
- return M.get(this.#t);
714
+ return N.get(this.#t);
715
715
  }
716
716
  set props(e) {
717
- M.set(this.#t, e);
717
+ N.set(this.#t, e);
718
718
  }
719
719
  }, de = class e {
720
720
  static create(t) {
@@ -724,19 +724,19 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
724
724
  content;
725
725
  root;
726
726
  attachment;
727
- #e = M.state(0);
727
+ #e = N.state(0);
728
728
  get prevScrollTop() {
729
- return M.get(this.#e);
729
+ return N.get(this.#e);
730
730
  }
731
731
  set prevScrollTop(e) {
732
- M.set(this.#e, e, !0);
732
+ N.set(this.#e, e, !0);
733
733
  }
734
734
  constructor(e, t) {
735
- this.opts = e, this.content = t, this.root = t.root, this.attachment = D(e.ref, (e) => {
735
+ this.opts = e, this.content = t, this.root = t.root, this.attachment = l(e.ref, (e) => {
736
736
  this.root.viewportNode = e;
737
737
  });
738
738
  }
739
- #t = M.derived(() => ({
739
+ #t = N.derived(() => ({
740
740
  id: this.opts.id.current,
741
741
  role: "presentation",
742
742
  [this.root.getBitsAttr("viewport")]: "",
@@ -748,20 +748,20 @@ var H = new l("Select.Content | Combobox.Content"), U = class {
748
748
  ...this.attachment
749
749
  }));
750
750
  get props() {
751
- return M.get(this.#t);
751
+ return N.get(this.#t);
752
752
  }
753
753
  set props(e) {
754
- M.set(this.#t, e);
754
+ N.set(this.#t, e);
755
755
  }
756
756
  }, fe = /* @__PURE__ */ new Set([
757
757
  "$$slots",
758
758
  "$$events",
759
759
  "$$legacy",
760
760
  "value"
761
- ]), J = M.from_html("<input/>");
761
+ ]), J = N.from_html("<input/>");
762
762
  function pe(e, t) {
763
- M.push(t, !0);
764
- let n = M.prop(t, "value", 15), r = M.rest_props(t, fe), i = M.derived(() => y(r, {
763
+ N.push(t, !0);
764
+ let n = N.prop(t, "value", 15), r = N.rest_props(t, fe), i = N.derived(() => p(r, {
765
765
  "aria-hidden": "true",
766
766
  tabindex: -1,
767
767
  style: {
@@ -771,118 +771,118 @@ function pe(e, t) {
771
771
  left: "0"
772
772
  }
773
773
  }));
774
- var a = M.comment(), o = M.first_child(a), s = (e) => {
774
+ var a = N.comment(), o = N.first_child(a), s = (e) => {
775
775
  var t = J();
776
- M.attribute_effect(t, () => ({
777
- ...M.get(i),
776
+ N.attribute_effect(t, () => ({
777
+ ...N.get(i),
778
778
  value: n()
779
- }), void 0, void 0, void 0, void 0, !0), M.append(e, t);
779
+ }), void 0, void 0, void 0, void 0, !0), N.append(e, t);
780
780
  }, c = (e) => {
781
781
  var t = J();
782
- M.attribute_effect(t, () => ({ ...M.get(i) }), void 0, void 0, void 0, void 0, !0), M.bind_value(t, n), M.append(e, t);
782
+ N.attribute_effect(t, () => ({ ...N.get(i) }), void 0, void 0, void 0, void 0, !0), N.bind_value(t, n), N.append(e, t);
783
783
  };
784
- M.if(o, (e) => {
785
- M.get(i).type === "checkbox" ? e(s) : e(c, -1);
786
- }), M.append(e, a), M.pop();
784
+ N.if(o, (e) => {
785
+ N.get(i).type === "checkbox" ? e(s) : e(c, -1);
786
+ }), N.append(e, a), N.pop();
787
787
  }
788
788
  //#endregion
789
789
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
790
- function Y(e, n) {
791
- M.push(n, !0);
792
- let r = M.prop(n, "value", 15), i = ue.create({ value: t(() => r()) });
793
- var a = M.comment(), o = M.first_child(a), s = (e) => {
794
- pe(e, M.spread_props(() => i.props, {
790
+ function Y(e, t) {
791
+ N.push(t, !0);
792
+ let n = N.prop(t, "value", 15), r = ue.create({ value: C(() => n()) });
793
+ var i = N.comment(), a = N.first_child(i), o = (e) => {
794
+ pe(e, N.spread_props(() => r.props, {
795
795
  get autocomplete() {
796
- return n.autocomplete;
796
+ return t.autocomplete;
797
797
  },
798
798
  get value() {
799
- return r();
799
+ return n();
800
800
  },
801
801
  set value(e) {
802
- r(e);
802
+ n(e);
803
803
  }
804
804
  }));
805
805
  };
806
- M.if(o, (e) => {
807
- i.shouldRender && e(s);
808
- }), M.append(e, a), M.pop();
806
+ N.if(a, (e) => {
807
+ r.shouldRender && e(o);
808
+ }), N.append(e, i), N.pop();
809
809
  }
810
810
  //#endregion
811
811
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select.svelte
812
- var me = M.from_html("<!> <!>", 1);
813
- function he(e, n) {
814
- M.push(n, !0);
815
- let r = M.prop(n, "value", 15), i = M.prop(n, "onValueChange", 3, A), a = M.prop(n, "name", 3, ""), s = M.prop(n, "disabled", 3, !1), c = M.prop(n, "open", 15, !1), l = M.prop(n, "onOpenChange", 3, A), u = M.prop(n, "onOpenChangeComplete", 3, A), d = M.prop(n, "loop", 3, !1), f = M.prop(n, "scrollAlignment", 3, "nearest"), p = M.prop(n, "required", 3, !1), m = M.prop(n, "items", 19, () => []), h = M.prop(n, "allowDeselect", 3, !1);
816
- function g() {
817
- r() === void 0 && r(n.type === "single" ? "" : []);
818
- }
819
- g(), o.pre(() => r(), () => {
820
- g();
812
+ var me = N.from_html("<!> <!>", 1);
813
+ function he(e, t) {
814
+ N.push(t, !0);
815
+ let n = N.prop(t, "value", 15), r = N.prop(t, "onValueChange", 3, j), i = N.prop(t, "name", 3, ""), a = N.prop(t, "disabled", 3, !1), o = N.prop(t, "open", 15, !1), s = N.prop(t, "onOpenChange", 3, j), c = N.prop(t, "onOpenChangeComplete", 3, j), l = N.prop(t, "loop", 3, !1), d = N.prop(t, "scrollAlignment", 3, "nearest"), f = N.prop(t, "required", 3, !1), p = N.prop(t, "items", 19, () => []), m = N.prop(t, "allowDeselect", 3, !1);
816
+ function h() {
817
+ n() === void 0 && n(t.type === "single" ? "" : []);
818
+ }
819
+ h(), u.pre(() => n(), () => {
820
+ h();
821
821
  });
822
- let _ = M.state(""), v = K.create({
823
- type: n.type,
824
- value: t(() => r(), (e) => {
825
- r(e), i()(e);
822
+ let g = N.state(""), _ = K.create({
823
+ type: t.type,
824
+ value: C(() => n(), (e) => {
825
+ n(e), r()(e);
826
826
  }),
827
- disabled: t(() => s()),
828
- required: t(() => p()),
829
- open: t(() => c(), (e) => {
830
- c(e), l()(e);
827
+ disabled: C(() => a()),
828
+ required: C(() => f()),
829
+ open: C(() => o(), (e) => {
830
+ o(e), s()(e);
831
831
  }),
832
- loop: t(() => d()),
833
- scrollAlignment: t(() => f()),
834
- name: t(() => a()),
832
+ loop: C(() => l()),
833
+ scrollAlignment: C(() => d()),
834
+ name: C(() => i()),
835
835
  isCombobox: !1,
836
- items: t(() => m()),
837
- allowDeselect: t(() => h()),
838
- inputValue: t(() => M.get(_), (e) => M.set(_, e, !0)),
839
- onOpenChangeComplete: t(() => u())
836
+ items: C(() => p()),
837
+ allowDeselect: C(() => m()),
838
+ inputValue: C(() => N.get(g), (e) => N.set(g, e, !0)),
839
+ onOpenChangeComplete: C(() => c())
840
840
  });
841
- var y = me(), b = M.first_child(y);
842
- x(b, {
843
- children: (e, t) => {
844
- var r = M.comment(), i = M.first_child(r);
845
- M.snippet(i, () => n.children ?? M.noop), M.append(e, r);
841
+ var v = me(), y = N.first_child(v);
842
+ x(y, {
843
+ children: (e, n) => {
844
+ var r = N.comment(), i = N.first_child(r);
845
+ N.snippet(i, () => t.children ?? N.noop), N.append(e, r);
846
846
  },
847
847
  $$slots: { default: !0 }
848
848
  });
849
- var S = M.sibling(b, 2), C = (e) => {
850
- var t = M.comment(), r = M.first_child(t), i = (e) => {
849
+ var b = N.sibling(y, 2), S = (e) => {
850
+ var n = N.comment(), r = N.first_child(n), i = (e) => {
851
851
  Y(e, { get autocomplete() {
852
- return n.autocomplete;
852
+ return t.autocomplete;
853
853
  } });
854
854
  }, a = (e) => {
855
- var t = M.comment(), r = M.first_child(t);
856
- M.each(r, 16, () => v.opts.value.current, (e) => e, (e, t) => {
855
+ var n = N.comment(), r = N.first_child(n);
856
+ N.each(r, 16, () => _.opts.value.current, (e) => e, (e, n) => {
857
857
  Y(e, {
858
858
  get value() {
859
- return t;
859
+ return n;
860
860
  },
861
861
  get autocomplete() {
862
- return n.autocomplete;
862
+ return t.autocomplete;
863
863
  }
864
864
  });
865
- }), M.append(e, t);
865
+ }), N.append(e, n);
866
866
  };
867
- M.if(r, (e) => {
868
- v.opts.value.current.length === 0 ? e(i) : e(a, -1);
869
- }), M.append(e, t);
870
- }, w = M.derived(() => Array.isArray(v.opts.value.current)), T = (e) => {
867
+ N.if(r, (e) => {
868
+ _.opts.value.current.length === 0 ? e(i) : e(a, -1);
869
+ }), N.append(e, n);
870
+ }, w = N.derived(() => Array.isArray(_.opts.value.current)), T = (e) => {
871
871
  Y(e, {
872
872
  get autocomplete() {
873
- return n.autocomplete;
873
+ return t.autocomplete;
874
874
  },
875
875
  get value() {
876
- return v.opts.value.current;
876
+ return _.opts.value.current;
877
877
  },
878
878
  set value(e) {
879
- v.opts.value.current = e;
879
+ _.opts.value.current = e;
880
880
  }
881
881
  });
882
882
  };
883
- M.if(S, (e) => {
884
- M.get(w) ? e(C) : e(T, -1);
885
- }), M.append(e, y), M.pop();
883
+ N.if(b, (e) => {
884
+ N.get(w) ? e(S) : e(T, -1);
885
+ }), N.append(e, v), N.pop();
886
886
  }
887
887
  //#endregion
888
888
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-value.svelte
@@ -895,48 +895,48 @@ var ge = /* @__PURE__ */ new Set([
895
895
  "placeholder",
896
896
  "child",
897
897
  "children"
898
- ]), _e = M.from_html("<span><!></span>");
899
- function X(e, n) {
900
- let r = M.props_id();
901
- M.push(n, !0);
902
- let i = M.prop(n, "ref", 15, null), a = M.prop(n, "id", 19, () => T(r)), o = M.rest_props(n, ge), s = q.create({
903
- id: t(() => a()),
904
- ref: t(() => i(), (e) => i(e)),
905
- placeholder: t(() => n.placeholder)
906
- }), c = M.derived(() => y(o, s.props));
907
- var l = M.comment(), u = M.first_child(l), d = (e) => {
908
- var t = M.comment(), r = M.first_child(t);
898
+ ]), _e = N.from_html("<span><!></span>");
899
+ function X(e, t) {
900
+ let n = N.props_id();
901
+ N.push(t, !0);
902
+ let r = N.prop(t, "ref", 15, null), i = N.prop(t, "id", 19, () => E(n)), a = N.rest_props(t, ge), o = q.create({
903
+ id: C(() => i()),
904
+ ref: C(() => r(), (e) => r(e)),
905
+ placeholder: C(() => t.placeholder)
906
+ }), s = N.derived(() => p(a, o.props));
907
+ var c = N.comment(), l = N.first_child(c), u = (e) => {
908
+ var n = N.comment(), r = N.first_child(n);
909
909
  {
910
- let e = M.derived(() => ({
911
- props: M.get(c),
912
- ...s.snippetProps
910
+ let e = N.derived(() => ({
911
+ props: N.get(s),
912
+ ...o.snippetProps
913
913
  }));
914
- M.snippet(r, () => n.child, () => M.get(e));
914
+ N.snippet(r, () => t.child, () => N.get(e));
915
915
  }
916
- M.append(e, t);
917
- }, f = (e) => {
918
- var t = _e();
919
- M.attribute_effect(t, () => ({ ...M.get(c) }));
920
- var r = M.child(t), i = (e) => {
921
- var t = M.comment(), r = M.first_child(t);
922
- M.snippet(r, () => n.children ?? M.noop, () => s.snippetProps), M.append(e, t);
916
+ N.append(e, n);
917
+ }, d = (e) => {
918
+ var n = _e();
919
+ N.attribute_effect(n, () => ({ ...N.get(s) }));
920
+ var r = N.child(n), i = (e) => {
921
+ var n = N.comment(), r = N.first_child(n);
922
+ N.snippet(r, () => t.children ?? N.noop, () => o.snippetProps), N.append(e, n);
923
923
  }, a = (e) => {
924
- var t = M.text();
925
- M.template_effect(() => M.set_text(t, s.snippetProps.selection.selected?.label ?? n.placeholder)), M.append(e, t);
926
- }, o = (e) => {
927
- var t = M.text();
928
- M.template_effect((e) => M.set_text(t, e), [() => s.snippetProps.selection.selected.length > 0 ? s.snippetProps.selection.selected.map((e) => e.label).join(", ") : n.placeholder]), M.append(e, t);
924
+ var n = N.text();
925
+ N.template_effect(() => N.set_text(n, o.snippetProps.selection.selected?.label ?? t.placeholder)), N.append(e, n);
926
+ }, c = (e) => {
927
+ var n = N.text();
928
+ N.template_effect((e) => N.set_text(n, e), [() => o.snippetProps.selection.selected.length > 0 ? o.snippetProps.selection.selected.map((e) => e.label).join(", ") : t.placeholder]), N.append(e, n);
929
929
  }, l = (e) => {
930
- var t = M.text();
931
- M.template_effect(() => M.set_text(t, n.placeholder)), M.append(e, t);
930
+ var n = N.text();
931
+ N.template_effect(() => N.set_text(n, t.placeholder)), N.append(e, n);
932
932
  };
933
- M.if(r, (e) => {
934
- n.children ? e(i) : s.snippetProps.selection.type === "single" ? e(a, 1) : s.snippetProps.selection.type === "multiple" && s.snippetProps.selection.selected ? e(o, 2) : e(l, -1);
935
- }), M.reset(t), M.append(e, t);
933
+ N.if(r, (e) => {
934
+ t.children ? e(i) : o.snippetProps.selection.type === "single" ? e(a, 1) : o.snippetProps.selection.type === "multiple" && o.snippetProps.selection.selected ? e(c, 2) : e(l, -1);
935
+ }), N.reset(n), N.append(e, n);
936
936
  };
937
- M.if(u, (e) => {
938
- n.child ? e(d) : e(f, -1);
939
- }), M.append(e, l), M.pop();
937
+ N.if(l, (e) => {
938
+ t.child ? e(u) : e(d, -1);
939
+ }), N.append(e, c), N.pop();
940
940
  }
941
941
  //#endregion
942
942
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
@@ -954,125 +954,125 @@ var ve = /* @__PURE__ */ new Set([
954
954
  "child",
955
955
  "preventScroll",
956
956
  "style"
957
- ]), Z = M.from_html("<div><div><!></div></div>");
958
- function ye(e, n) {
959
- let r = M.props_id();
960
- M.push(n, !0);
961
- let i = M.prop(n, "id", 19, () => T(r)), a = M.prop(n, "ref", 15, null), o = M.prop(n, "forceMount", 3, !1), s = M.prop(n, "side", 3, "bottom"), c = M.prop(n, "onInteractOutside", 3, A), l = M.prop(n, "onEscapeKeydown", 3, A), u = M.prop(n, "preventScroll", 3, !1), d = M.rest_props(n, ve), f = ce.create({
962
- id: t(() => i()),
963
- ref: t(() => a(), (e) => a(e)),
964
- onInteractOutside: t(() => c()),
965
- onEscapeKeydown: t(() => l())
966
- }), p = M.derived(() => y(d, f.props));
967
- var m = M.comment(), h = M.first_child(m), g = (e) => {
968
- ne(e, M.spread_props(() => M.get(p), () => f.popperProps, {
957
+ ]), Z = N.from_html("<div><div><!></div></div>");
958
+ function ye(e, t) {
959
+ let n = N.props_id();
960
+ N.push(t, !0);
961
+ let r = N.prop(t, "id", 19, () => E(n)), i = N.prop(t, "ref", 15, null), a = N.prop(t, "forceMount", 3, !1), o = N.prop(t, "side", 3, "bottom"), s = N.prop(t, "onInteractOutside", 3, j), c = N.prop(t, "onEscapeKeydown", 3, j), l = N.prop(t, "preventScroll", 3, !1), u = N.rest_props(t, ve), d = ce.create({
962
+ id: C(() => r()),
963
+ ref: C(() => i(), (e) => i(e)),
964
+ onInteractOutside: C(() => s()),
965
+ onEscapeKeydown: C(() => c())
966
+ }), f = N.derived(() => p(u, d.props));
967
+ var m = N.comment(), h = N.first_child(m), g = (e) => {
968
+ ne(e, N.spread_props(() => N.get(f), () => d.popperProps, {
969
969
  get ref() {
970
- return f.opts.ref;
970
+ return d.opts.ref;
971
971
  },
972
972
  get side() {
973
- return s();
973
+ return o();
974
974
  },
975
975
  get enabled() {
976
- return f.root.opts.open.current;
976
+ return d.root.opts.open.current;
977
977
  },
978
978
  get id() {
979
- return i();
979
+ return r();
980
980
  },
981
981
  get preventScroll() {
982
- return u();
982
+ return l();
983
983
  },
984
984
  forceMount: !0,
985
985
  get shouldRender() {
986
- return f.shouldRender;
986
+ return d.shouldRender;
987
987
  },
988
- popper: (e, t) => {
989
- let r = () => (t?.()).props, i = () => (t?.()).wrapperProps, a = M.derived(() => y(r(), { style: f.props.style }, { style: n.style }));
990
- var o = M.comment(), s = M.first_child(o), c = (e) => {
991
- var t = M.comment(), r = M.first_child(t);
988
+ popper: (e, n) => {
989
+ let r = () => (n?.()).props, i = () => (n?.()).wrapperProps, a = N.derived(() => p(r(), { style: d.props.style }, { style: t.style }));
990
+ var o = N.comment(), s = N.first_child(o), c = (e) => {
991
+ var n = N.comment(), r = N.first_child(n);
992
992
  {
993
- let e = M.derived(() => ({
994
- props: M.get(a),
993
+ let e = N.derived(() => ({
994
+ props: N.get(a),
995
995
  wrapperProps: i(),
996
- ...f.snippetProps
996
+ ...d.snippetProps
997
997
  }));
998
- M.snippet(r, () => n.child, () => M.get(e));
998
+ N.snippet(r, () => t.child, () => N.get(e));
999
999
  }
1000
- M.append(e, t);
1000
+ N.append(e, n);
1001
1001
  }, l = (e) => {
1002
- var t = Z();
1003
- M.attribute_effect(t, () => ({ ...i() }));
1004
- var r = M.child(t);
1005
- M.attribute_effect(r, () => ({ ...M.get(a) }));
1006
- var o = M.child(r);
1007
- M.snippet(o, () => n.children ?? M.noop), M.reset(r), M.reset(t), M.append(e, t);
1002
+ var n = Z();
1003
+ N.attribute_effect(n, () => ({ ...i() }));
1004
+ var r = N.child(n);
1005
+ N.attribute_effect(r, () => ({ ...N.get(a) }));
1006
+ var o = N.child(r);
1007
+ N.snippet(o, () => t.children ?? N.noop), N.reset(r), N.reset(n), N.append(e, n);
1008
1008
  };
1009
- M.if(s, (e) => {
1010
- n.child ? e(c) : e(l, -1);
1011
- }), M.append(e, o);
1009
+ N.if(s, (e) => {
1010
+ t.child ? e(c) : e(l, -1);
1011
+ }), N.append(e, o);
1012
1012
  },
1013
1013
  $$slots: { popper: !0 }
1014
1014
  }));
1015
1015
  }, _ = (e) => {
1016
- O(e, M.spread_props(() => M.get(p), () => f.popperProps, {
1016
+ k(e, N.spread_props(() => N.get(f), () => d.popperProps, {
1017
1017
  get ref() {
1018
- return f.opts.ref;
1018
+ return d.opts.ref;
1019
1019
  },
1020
1020
  get side() {
1021
- return s();
1021
+ return o();
1022
1022
  },
1023
1023
  get open() {
1024
- return f.root.opts.open.current;
1024
+ return d.root.opts.open.current;
1025
1025
  },
1026
1026
  get id() {
1027
- return i();
1027
+ return r();
1028
1028
  },
1029
1029
  get preventScroll() {
1030
- return u();
1030
+ return l();
1031
1031
  },
1032
1032
  forceMount: !1,
1033
1033
  get shouldRender() {
1034
- return f.shouldRender;
1034
+ return d.shouldRender;
1035
1035
  },
1036
- popper: (e, t) => {
1037
- let r = () => (t?.()).props, i = () => (t?.()).wrapperProps, a = M.derived(() => y(r(), { style: f.props.style }, { style: n.style }));
1038
- var o = M.comment(), s = M.first_child(o), c = (e) => {
1039
- var t = M.comment(), r = M.first_child(t);
1036
+ popper: (e, n) => {
1037
+ let r = () => (n?.()).props, i = () => (n?.()).wrapperProps, a = N.derived(() => p(r(), { style: d.props.style }, { style: t.style }));
1038
+ var o = N.comment(), s = N.first_child(o), c = (e) => {
1039
+ var n = N.comment(), r = N.first_child(n);
1040
1040
  {
1041
- let e = M.derived(() => ({
1042
- props: M.get(a),
1041
+ let e = N.derived(() => ({
1042
+ props: N.get(a),
1043
1043
  wrapperProps: i(),
1044
- ...f.snippetProps
1044
+ ...d.snippetProps
1045
1045
  }));
1046
- M.snippet(r, () => n.child, () => M.get(e));
1046
+ N.snippet(r, () => t.child, () => N.get(e));
1047
1047
  }
1048
- M.append(e, t);
1048
+ N.append(e, n);
1049
1049
  }, l = (e) => {
1050
- var t = Z();
1051
- M.attribute_effect(t, () => ({ ...i() }));
1052
- var r = M.child(t);
1053
- M.attribute_effect(r, () => ({ ...M.get(a) }));
1054
- var o = M.child(r);
1055
- M.snippet(o, () => n.children ?? M.noop), M.reset(r), M.reset(t), M.append(e, t);
1050
+ var n = Z();
1051
+ N.attribute_effect(n, () => ({ ...i() }));
1052
+ var r = N.child(n);
1053
+ N.attribute_effect(r, () => ({ ...N.get(a) }));
1054
+ var o = N.child(r);
1055
+ N.snippet(o, () => t.children ?? N.noop), N.reset(r), N.reset(n), N.append(e, n);
1056
1056
  };
1057
- M.if(s, (e) => {
1058
- n.child ? e(c) : e(l, -1);
1059
- }), M.append(e, o);
1057
+ N.if(s, (e) => {
1058
+ t.child ? e(c) : e(l, -1);
1059
+ }), N.append(e, o);
1060
1060
  },
1061
1061
  $$slots: { popper: !0 }
1062
1062
  }));
1063
1063
  };
1064
- M.if(h, (e) => {
1065
- o() ? e(g) : o() || e(_, 1);
1066
- }), M.append(e, m), M.pop();
1064
+ N.if(h, (e) => {
1065
+ a() ? e(g) : a() || e(_, 1);
1066
+ }), N.append(e, m), N.pop();
1067
1067
  }
1068
1068
  //#endregion
1069
1069
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
1070
1070
  function be(e, t) {
1071
- M.push(t, !0);
1072
- let n = M.prop(t, "mounted", 15, !1), r = M.prop(t, "onMountedChange", 3, A);
1071
+ N.push(t, !0);
1072
+ let n = N.prop(t, "mounted", 15, !1), r = N.prop(t, "onMountedChange", 3, j);
1073
1073
  F(() => (n(!0), r()(!0), () => {
1074
1074
  n(!1), r()(!1);
1075
- })), M.pop();
1075
+ })), N.pop();
1076
1076
  }
1077
1077
  //#endregion
1078
1078
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
@@ -1089,45 +1089,45 @@ var xe = /* @__PURE__ */ new Set([
1089
1089
  "child",
1090
1090
  "onHighlight",
1091
1091
  "onUnhighlight"
1092
- ]), Se = M.from_html("<div><!></div>"), Ce = M.from_html("<!> <!>", 1);
1093
- function we(e, n) {
1094
- let r = M.props_id();
1095
- M.push(n, !0);
1096
- let i = M.prop(n, "id", 19, () => T(r)), a = M.prop(n, "ref", 15, null), o = M.prop(n, "label", 19, () => n.value), s = M.prop(n, "disabled", 3, !1), c = M.prop(n, "onHighlight", 3, A), l = M.prop(n, "onUnhighlight", 3, A), u = M.rest_props(n, xe), d = le.create({
1097
- id: t(() => i()),
1098
- ref: t(() => a(), (e) => a(e)),
1099
- value: t(() => n.value),
1100
- disabled: t(() => s()),
1101
- label: t(() => o()),
1102
- onHighlight: t(() => c()),
1103
- onUnhighlight: t(() => l())
1104
- }), f = M.derived(() => y(u, d.props));
1105
- var p = Ce(), m = M.first_child(p), h = (e) => {
1106
- var t = M.comment(), r = M.first_child(t);
1092
+ ]), Se = N.from_html("<div><!></div>"), Ce = N.from_html("<!> <!>", 1);
1093
+ function we(e, t) {
1094
+ let n = N.props_id();
1095
+ N.push(t, !0);
1096
+ let r = N.prop(t, "id", 19, () => E(n)), i = N.prop(t, "ref", 15, null), a = N.prop(t, "label", 19, () => t.value), o = N.prop(t, "disabled", 3, !1), s = N.prop(t, "onHighlight", 3, j), c = N.prop(t, "onUnhighlight", 3, j), l = N.rest_props(t, xe), u = le.create({
1097
+ id: C(() => r()),
1098
+ ref: C(() => i(), (e) => i(e)),
1099
+ value: C(() => t.value),
1100
+ disabled: C(() => o()),
1101
+ label: C(() => a()),
1102
+ onHighlight: C(() => s()),
1103
+ onUnhighlight: C(() => c())
1104
+ }), d = N.derived(() => p(l, u.props));
1105
+ var f = Ce(), m = N.first_child(f), h = (e) => {
1106
+ var n = N.comment(), r = N.first_child(n);
1107
1107
  {
1108
- let e = M.derived(() => ({
1109
- props: M.get(f),
1110
- ...d.snippetProps
1108
+ let e = N.derived(() => ({
1109
+ props: N.get(d),
1110
+ ...u.snippetProps
1111
1111
  }));
1112
- M.snippet(r, () => n.child, () => M.get(e));
1112
+ N.snippet(r, () => t.child, () => N.get(e));
1113
1113
  }
1114
- M.append(e, t);
1114
+ N.append(e, n);
1115
1115
  }, g = (e) => {
1116
- var t = Se();
1117
- M.attribute_effect(t, () => ({ ...M.get(f) }));
1118
- var r = M.child(t);
1119
- M.snippet(r, () => n.children ?? M.noop, () => d.snippetProps), M.reset(t), M.append(e, t);
1116
+ var n = Se();
1117
+ N.attribute_effect(n, () => ({ ...N.get(d) }));
1118
+ var r = N.child(n);
1119
+ N.snippet(r, () => t.children ?? N.noop, () => u.snippetProps), N.reset(n), N.append(e, n);
1120
1120
  };
1121
- M.if(m, (e) => {
1122
- n.child ? e(h) : e(g, -1);
1123
- }), be(M.sibling(m, 2), {
1121
+ N.if(m, (e) => {
1122
+ t.child ? e(h) : e(g, -1);
1123
+ }), be(N.sibling(m, 2), {
1124
1124
  get mounted() {
1125
- return d.mounted;
1125
+ return u.mounted;
1126
1126
  },
1127
1127
  set mounted(e) {
1128
- d.mounted = e;
1128
+ u.mounted = e;
1129
1129
  }
1130
- }), M.append(e, p), M.pop();
1130
+ }), N.append(e, f), N.pop();
1131
1131
  }
1132
1132
  //#endregion
1133
1133
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
@@ -1140,40 +1140,40 @@ var Te = /* @__PURE__ */ new Set([
1140
1140
  "child",
1141
1141
  "children",
1142
1142
  "type"
1143
- ]), Ee = M.from_html("<button><!></button>");
1144
- function Q(e, n) {
1145
- let r = M.props_id();
1146
- M.push(n, !0);
1147
- let i = M.prop(n, "id", 19, () => T(r)), a = M.prop(n, "ref", 15, null), o = M.prop(n, "type", 3, "button"), s = M.rest_props(n, Te), c = se.create({
1148
- id: t(() => i()),
1149
- ref: t(() => a(), (e) => a(e))
1150
- }), l = M.derived(() => y(s, c.props, { type: o() }));
1151
- var u = M.comment(), d = M.first_child(u);
1152
- M.component(d, () => k, (e, t) => {
1153
- t(e, {
1143
+ ]), Ee = N.from_html("<button><!></button>");
1144
+ function Q(e, t) {
1145
+ let n = N.props_id();
1146
+ N.push(t, !0);
1147
+ let r = N.prop(t, "id", 19, () => E(n)), i = N.prop(t, "ref", 15, null), a = N.prop(t, "type", 3, "button"), o = N.rest_props(t, Te), s = se.create({
1148
+ id: C(() => r()),
1149
+ ref: C(() => i(), (e) => i(e))
1150
+ }), c = N.derived(() => p(o, s.props, { type: a() }));
1151
+ var l = N.comment(), u = N.first_child(l);
1152
+ N.component(u, () => A, (e, n) => {
1153
+ n(e, {
1154
1154
  get id() {
1155
- return i();
1155
+ return r();
1156
1156
  },
1157
1157
  get ref() {
1158
- return c.opts.ref;
1158
+ return s.opts.ref;
1159
1159
  },
1160
- children: (e, t) => {
1161
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1162
- var t = M.comment(), r = M.first_child(t);
1163
- M.snippet(r, () => n.child, () => ({ props: M.get(l) })), M.append(e, t);
1160
+ children: (e, n) => {
1161
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1162
+ var n = N.comment(), r = N.first_child(n);
1163
+ N.snippet(r, () => t.child, () => ({ props: N.get(c) })), N.append(e, n);
1164
1164
  }, o = (e) => {
1165
- var t = Ee();
1166
- M.attribute_effect(t, () => ({ ...M.get(l) }));
1167
- var r = M.child(t);
1168
- M.snippet(r, () => n.children ?? M.noop), M.reset(t), M.append(e, t);
1165
+ var n = Ee();
1166
+ N.attribute_effect(n, () => ({ ...N.get(c) }));
1167
+ var r = N.child(n);
1168
+ N.snippet(r, () => t.children ?? N.noop), N.reset(n), N.append(e, n);
1169
1169
  };
1170
- M.if(i, (e) => {
1171
- n.child ? e(a) : e(o, -1);
1172
- }), M.append(e, r);
1170
+ N.if(i, (e) => {
1171
+ t.child ? e(a) : e(o, -1);
1172
+ }), N.append(e, r);
1173
1173
  },
1174
1174
  $$slots: { default: !0 }
1175
1175
  });
1176
- }), M.append(e, u), M.pop();
1176
+ }), N.append(e, l), N.pop();
1177
1177
  }
1178
1178
  //#endregion
1179
1179
  //#region ../node_modules/.bun/bits-ui@2.18.1+203cd734255b50e4/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
@@ -1185,26 +1185,26 @@ var De = /* @__PURE__ */ new Set([
1185
1185
  "ref",
1186
1186
  "children",
1187
1187
  "child"
1188
- ]), $ = M.from_html("<div><!></div>");
1189
- function Oe(e, n) {
1190
- let r = M.props_id();
1191
- M.push(n, !0);
1192
- let i = M.prop(n, "id", 19, () => T(r)), a = M.prop(n, "ref", 15, null), o = M.rest_props(n, De), s = de.create({
1193
- id: t(() => i()),
1194
- ref: t(() => a(), (e) => a(e))
1195
- }), c = M.derived(() => y(o, s.props));
1196
- var l = M.comment(), u = M.first_child(l), d = (e) => {
1197
- var t = M.comment(), r = M.first_child(t);
1198
- M.snippet(r, () => n.child, () => ({ props: M.get(c) })), M.append(e, t);
1199
- }, f = (e) => {
1200
- var t = $();
1201
- M.attribute_effect(t, () => ({ ...M.get(c) }));
1202
- var r = M.child(t);
1203
- M.snippet(r, () => n.children ?? M.noop), M.reset(t), M.append(e, t);
1188
+ ]), $ = N.from_html("<div><!></div>");
1189
+ function Oe(e, t) {
1190
+ let n = N.props_id();
1191
+ N.push(t, !0);
1192
+ let r = N.prop(t, "id", 19, () => E(n)), i = N.prop(t, "ref", 15, null), a = N.rest_props(t, De), o = de.create({
1193
+ id: C(() => r()),
1194
+ ref: C(() => i(), (e) => i(e))
1195
+ }), s = N.derived(() => p(a, o.props));
1196
+ var c = N.comment(), l = N.first_child(c), u = (e) => {
1197
+ var n = N.comment(), r = N.first_child(n);
1198
+ N.snippet(r, () => t.child, () => ({ props: N.get(s) })), N.append(e, n);
1199
+ }, d = (e) => {
1200
+ var n = $();
1201
+ N.attribute_effect(n, () => ({ ...N.get(s) }));
1202
+ var r = N.child(n);
1203
+ N.snippet(r, () => t.children ?? N.noop), N.reset(n), N.append(e, n);
1204
1204
  };
1205
- M.if(u, (e) => {
1206
- n.child ? e(d) : e(f, -1);
1207
- }), M.append(e, l), M.pop();
1205
+ N.if(l, (e) => {
1206
+ t.child ? e(u) : e(d, -1);
1207
+ }), N.append(e, c), N.pop();
1208
1208
  }
1209
1209
  //#endregion
1210
1210
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select.svelte
@@ -1216,11 +1216,11 @@ var ke = /* @__PURE__ */ new Set([
1216
1216
  "children"
1217
1217
  ]);
1218
1218
  function Ae(e, t) {
1219
- M.push(t, !0);
1220
- let n = M.prop(t, "value", 15), r = M.rest_props(t, ke);
1221
- var i = M.comment(), a = M.first_child(i);
1222
- M.component(a, () => he, (e, i) => {
1223
- i(e, M.spread_props(() => r, {
1219
+ N.push(t, !0);
1220
+ let n = N.prop(t, "value", 15), r = N.rest_props(t, ke);
1221
+ var i = N.comment(), a = N.first_child(i);
1222
+ N.component(a, () => he, (e, i) => {
1223
+ i(e, N.spread_props(() => r, {
1224
1224
  get value() {
1225
1225
  return n();
1226
1226
  },
@@ -1228,17 +1228,17 @@ function Ae(e, t) {
1228
1228
  n(e);
1229
1229
  },
1230
1230
  children: (e, n) => {
1231
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1232
- var n = M.comment(), r = M.first_child(n);
1233
- M.snippet(r, () => t.children), M.append(e, n);
1231
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1232
+ var n = N.comment(), r = N.first_child(n);
1233
+ N.snippet(r, () => t.children), N.append(e, n);
1234
1234
  };
1235
- M.if(i, (e) => {
1235
+ N.if(i, (e) => {
1236
1236
  t.children && e(a);
1237
- }), M.append(e, r);
1237
+ }), N.append(e, r);
1238
1238
  },
1239
1239
  $$slots: { default: !0 }
1240
1240
  }));
1241
- }), M.append(e, i), M.pop();
1241
+ }), N.append(e, i), N.pop();
1242
1242
  }
1243
1243
  //#endregion
1244
1244
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-content.svelte
@@ -1252,18 +1252,18 @@ var je = /* @__PURE__ */ new Set([
1252
1252
  "children"
1253
1253
  ]);
1254
1254
  function Me(t, n) {
1255
- M.push(n, !0);
1256
- let r = M.prop(n, "ref", 15, null), i = M.prop(n, "sideOffset", 3, 4), a = M.rest_props(n, je);
1257
- var o = M.comment(), s = M.first_child(o);
1255
+ N.push(n, !0);
1256
+ let r = N.prop(n, "ref", 15, null), i = N.prop(n, "sideOffset", 3, 4), a = N.rest_props(n, je);
1257
+ var o = N.comment(), s = N.first_child(o);
1258
1258
  {
1259
- let t = M.derived(() => e("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md", n.class));
1260
- M.component(s, () => ye, (e, o) => {
1261
- o(e, M.spread_props({
1259
+ let t = N.derived(() => e("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md", n.class));
1260
+ N.component(s, () => ye, (e, o) => {
1261
+ o(e, N.spread_props({
1262
1262
  get sideOffset() {
1263
1263
  return i();
1264
1264
  },
1265
1265
  get class() {
1266
- return M.get(t);
1266
+ return N.get(t);
1267
1267
  }
1268
1268
  }, () => a, {
1269
1269
  get ref() {
@@ -1273,28 +1273,28 @@ function Me(t, n) {
1273
1273
  r(e);
1274
1274
  },
1275
1275
  children: (e, t) => {
1276
- var r = M.comment(), i = M.first_child(r);
1277
- M.component(i, () => Oe, (e, t) => {
1276
+ var r = N.comment(), i = N.first_child(r);
1277
+ N.component(i, () => Oe, (e, t) => {
1278
1278
  t(e, {
1279
1279
  class: "p-1",
1280
1280
  children: (e, t) => {
1281
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1282
- var t = M.comment(), r = M.first_child(t);
1283
- M.snippet(r, () => n.children), M.append(e, t);
1281
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1282
+ var t = N.comment(), r = N.first_child(t);
1283
+ N.snippet(r, () => n.children), N.append(e, t);
1284
1284
  };
1285
- M.if(i, (e) => {
1285
+ N.if(i, (e) => {
1286
1286
  n.children && e(a);
1287
- }), M.append(e, r);
1287
+ }), N.append(e, r);
1288
1288
  },
1289
1289
  $$slots: { default: !0 }
1290
1290
  });
1291
- }), M.append(e, r);
1291
+ }), N.append(e, r);
1292
1292
  },
1293
1293
  $$slots: { default: !0 }
1294
1294
  }));
1295
1295
  });
1296
1296
  }
1297
- M.append(t, o), M.pop();
1297
+ N.append(t, o), N.pop();
1298
1298
  }
1299
1299
  //#endregion
1300
1300
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-item.svelte
@@ -1307,14 +1307,14 @@ var Ne = /* @__PURE__ */ new Set([
1307
1307
  "children"
1308
1308
  ]);
1309
1309
  function Pe(t, n) {
1310
- M.push(n, !0);
1311
- let r = M.prop(n, "ref", 15, null), i = M.rest_props(n, Ne);
1312
- var a = M.comment(), o = M.first_child(a);
1310
+ N.push(n, !0);
1311
+ let r = N.prop(n, "ref", 15, null), i = N.rest_props(n, Ne);
1312
+ var a = N.comment(), o = N.first_child(a);
1313
1313
  {
1314
- let t = M.derived(() => e("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 pr-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", n.class));
1315
- M.component(o, () => we, (e, a) => {
1316
- a(e, M.spread_props({ get class() {
1317
- return M.get(t);
1314
+ let t = N.derived(() => e("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 pr-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", n.class));
1315
+ N.component(o, () => we, (e, a) => {
1316
+ a(e, N.spread_props({ get class() {
1317
+ return N.get(t);
1318
1318
  } }, () => i, {
1319
1319
  get ref() {
1320
1320
  return r();
@@ -1323,19 +1323,19 @@ function Pe(t, n) {
1323
1323
  r(e);
1324
1324
  },
1325
1325
  children: (e, t) => {
1326
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1327
- var t = M.comment(), r = M.first_child(t);
1328
- M.snippet(r, () => n.children), M.append(e, t);
1326
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1327
+ var t = N.comment(), r = N.first_child(t);
1328
+ N.snippet(r, () => n.children), N.append(e, t);
1329
1329
  };
1330
- M.if(i, (e) => {
1330
+ N.if(i, (e) => {
1331
1331
  n.children && e(a);
1332
- }), M.append(e, r);
1332
+ }), N.append(e, r);
1333
1333
  },
1334
1334
  $$slots: { default: !0 }
1335
1335
  }));
1336
1336
  });
1337
1337
  }
1338
- M.append(t, a), M.pop();
1338
+ N.append(t, a), N.pop();
1339
1339
  }
1340
1340
  //#endregion
1341
1341
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-trigger.svelte
@@ -1349,23 +1349,23 @@ var Fe = /* @__PURE__ */ new Set([
1349
1349
  "children"
1350
1350
  ]);
1351
1351
  function Ie(t, n) {
1352
- M.push(n, !0);
1353
- let r = M.prop(n, "ref", 15, null), i = M.rest_props(n, Fe);
1354
- var a = M.comment(), o = M.first_child(a), s = (t) => {
1355
- let a = (e, t = M.noop) => {
1356
- var r = M.comment(), i = M.first_child(r);
1357
- M.snippet(i, () => n.child ?? M.noop, t), M.append(e, r);
1352
+ N.push(n, !0);
1353
+ let r = N.prop(n, "ref", 15, null), i = N.rest_props(n, Fe);
1354
+ var a = N.comment(), o = N.first_child(a), s = (t) => {
1355
+ let a = (e, t = N.noop) => {
1356
+ var r = N.comment(), i = N.first_child(r);
1357
+ N.snippet(i, () => n.child ?? N.noop, t), N.append(e, r);
1358
1358
  };
1359
- var o = M.comment(), s = M.first_child(o);
1359
+ var o = N.comment(), s = N.first_child(o);
1360
1360
  {
1361
- let t = M.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
1362
- M.component(s, () => Q, (e, n) => {
1363
- n(e, M.spread_props(() => i, {
1361
+ let t = N.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
1362
+ N.component(s, () => Q, (e, n) => {
1363
+ n(e, N.spread_props(() => i, {
1364
1364
  get child() {
1365
1365
  return a;
1366
1366
  },
1367
1367
  get class() {
1368
- return M.get(t);
1368
+ return N.get(t);
1369
1369
  },
1370
1370
  get ref() {
1371
1371
  return r();
@@ -1376,15 +1376,15 @@ function Ie(t, n) {
1376
1376
  }));
1377
1377
  });
1378
1378
  }
1379
- M.append(t, o);
1379
+ N.append(t, o);
1380
1380
  }, c = (t) => {
1381
- var a = M.comment(), o = M.first_child(a);
1381
+ var a = N.comment(), o = N.first_child(a);
1382
1382
  {
1383
- let t = M.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
1384
- M.component(o, () => Q, (e, a) => {
1385
- a(e, M.spread_props(() => i, {
1383
+ let t = N.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
1384
+ N.component(o, () => Q, (e, a) => {
1385
+ a(e, N.spread_props(() => i, {
1386
1386
  get class() {
1387
- return M.get(t);
1387
+ return N.get(t);
1388
1388
  },
1389
1389
  get ref() {
1390
1390
  return r();
@@ -1393,23 +1393,23 @@ function Ie(t, n) {
1393
1393
  r(e);
1394
1394
  },
1395
1395
  children: (e, t) => {
1396
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1397
- var t = M.comment(), r = M.first_child(t);
1398
- M.snippet(r, () => n.children), M.append(e, t);
1396
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1397
+ var t = N.comment(), r = N.first_child(t);
1398
+ N.snippet(r, () => n.children), N.append(e, t);
1399
1399
  };
1400
- M.if(i, (e) => {
1400
+ N.if(i, (e) => {
1401
1401
  n.children && e(a);
1402
- }), M.append(e, r);
1402
+ }), N.append(e, r);
1403
1403
  },
1404
1404
  $$slots: { default: !0 }
1405
1405
  }));
1406
1406
  });
1407
1407
  }
1408
- M.append(t, a);
1408
+ N.append(t, a);
1409
1409
  };
1410
- M.if(o, (e) => {
1410
+ N.if(o, (e) => {
1411
1411
  n.child ? e(s) : e(c, -1);
1412
- }), M.append(t, a), M.pop();
1412
+ }), N.append(t, a), N.pop();
1413
1413
  }
1414
1414
  //#endregion
1415
1415
  //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-value.svelte
@@ -1420,27 +1420,27 @@ var Le = /* @__PURE__ */ new Set([
1420
1420
  "children"
1421
1421
  ]);
1422
1422
  function Re(e, t) {
1423
- let n = M.rest_props(t, Le);
1424
- var r = M.comment(), i = M.first_child(r), a = (e) => {
1425
- var r = M.comment(), i = M.first_child(r);
1426
- M.component(i, () => X, (e, r) => {
1427
- r(e, M.spread_props(() => n, {
1423
+ let n = N.rest_props(t, Le);
1424
+ var r = N.comment(), i = N.first_child(r), a = (e) => {
1425
+ var r = N.comment(), i = N.first_child(r);
1426
+ N.component(i, () => X, (e, r) => {
1427
+ r(e, N.spread_props(() => n, {
1428
1428
  children: (e, n) => {
1429
- var r = M.comment(), i = M.first_child(r);
1430
- M.snippet(i, () => t.children), M.append(e, r);
1429
+ var r = N.comment(), i = N.first_child(r);
1430
+ N.snippet(i, () => t.children), N.append(e, r);
1431
1431
  },
1432
1432
  $$slots: { default: !0 }
1433
1433
  }));
1434
- }), M.append(e, r);
1434
+ }), N.append(e, r);
1435
1435
  }, o = (e) => {
1436
- var t = M.comment(), r = M.first_child(t);
1437
- M.component(r, () => X, (e, t) => {
1438
- t(e, M.spread_props(() => n));
1439
- }), M.append(e, t);
1436
+ var t = N.comment(), r = N.first_child(t);
1437
+ N.component(r, () => X, (e, t) => {
1438
+ t(e, N.spread_props(() => n));
1439
+ }), N.append(e, t);
1440
1440
  };
1441
- M.if(i, (e) => {
1441
+ N.if(i, (e) => {
1442
1442
  t.children ? e(a) : e(o, -1);
1443
- }), M.append(e, r);
1443
+ }), N.append(e, r);
1444
1444
  }
1445
1445
  //#endregion
1446
1446
  export { Ae as a, Me as i, Ie as n, Pe as r, Re as t };