@perspective-dev/viewer 5.9.1 → 5.9.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 (55) hide show
  1. package/dist/cdn/perspective-viewer.js +8 -8
  2. package/dist/cdn/perspective-viewer.js.map +4 -4
  3. package/dist/css/blueprint.css +1 -1
  4. package/dist/css/botanical.css +1 -1
  5. package/dist/css/dracula.css +1 -1
  6. package/dist/css/eggplant.css +1 -1
  7. package/dist/css/gruvbox-dark.css +1 -1
  8. package/dist/css/gruvbox.css +1 -1
  9. package/dist/css/intl/ar.css +1 -1
  10. package/dist/css/intl/de.css +1 -1
  11. package/dist/css/intl/es.css +1 -1
  12. package/dist/css/intl/fr.css +1 -1
  13. package/dist/css/intl/ja.css +1 -1
  14. package/dist/css/intl/pt.css +1 -1
  15. package/dist/css/intl/zh.css +1 -1
  16. package/dist/css/intl.css +1 -1
  17. package/dist/css/ledger.css +1 -1
  18. package/dist/css/monokai.css +1 -1
  19. package/dist/css/nord.css +1 -1
  20. package/dist/css/phosphor.css +1 -1
  21. package/dist/css/pro-dark.css +1 -1
  22. package/dist/css/pro-light.css +1 -1
  23. package/dist/css/pro.css +1 -1
  24. package/dist/css/solarized-dark.css +1 -1
  25. package/dist/css/solarized.css +1 -1
  26. package/dist/css/themes.css +1 -1
  27. package/dist/css/vaporwave.css +1 -1
  28. package/dist/css/velvet.css +1 -1
  29. package/dist/custom-elements.json +234 -5
  30. package/dist/docs/perspective-docs.json +1 -1
  31. package/dist/esm/extensions.d.ts +11 -1
  32. package/dist/esm/perspective-viewer.d.ts +6 -0
  33. package/dist/esm/perspective-viewer.js +139 -127
  34. package/dist/esm/perspective-viewer.js.map +4 -4
  35. package/dist/esm/plugin.d.ts +7 -0
  36. package/dist/ts-rs/CommandLocation.d.ts +6 -0
  37. package/dist/ts-rs/CommandSchema.d.ts +7 -0
  38. package/dist/ts-rs/CommandSchemaOptions.d.ts +12 -0
  39. package/dist/ts-rs/CommandSpec.d.ts +10 -0
  40. package/dist/ts-rs/PerspectiveHit.d.ts +41 -0
  41. package/dist/ts-rs/PerspectiveHitKind.d.ts +6 -0
  42. package/dist/ts-rs/PerspectiveHitRef.d.ts +7 -0
  43. package/dist/ts-rs/ViewConfigUpdate.d.ts +111 -0
  44. package/dist/wasm/perspective-viewer.d.ts +197 -22
  45. package/dist/wasm/perspective-viewer.js +324 -132
  46. package/dist/wasm/perspective-viewer.wasm +0 -0
  47. package/dist/wasm/perspective-viewer.wasm.d.ts +20 -16
  48. package/dist/wasm/snippets/perspective-viewer-37c88b7aebc72452/inline3.js +8 -0
  49. package/package.json +8 -6
  50. package/dist/wasm/snippets/perspective-viewer-659c02666b5f5853/inline1.js +0 -1
  51. /package/dist/wasm/snippets/{perspective-viewer-659c02666b5f5853 → perspective-viewer-37c88b7aebc72452}/inline0.js +0 -0
  52. /package/dist/wasm/snippets/{perspective-viewer-659c02666b5f5853/inline2.js → perspective-viewer-37c88b7aebc72452/inline1.js} +0 -0
  53. /package/dist/wasm/snippets/{perspective-viewer-659c02666b5f5853/inline3.js → perspective-viewer-37c88b7aebc72452/inline2.js} +0 -0
  54. /package/dist/wasm/snippets/{perspective-viewer-659c02666b5f5853 → perspective-viewer-37c88b7aebc72452}/inline4.js +0 -0
  55. /package/dist/wasm/snippets/{perspective-viewer-659c02666b5f5853 → perspective-viewer-37c88b7aebc72452}/inline5.js +0 -0
@@ -1,21 +1,21 @@
1
- // ../../node_modules/.pnpm/regular-layout@0.8.0/node_modules/regular-layout/dist/chunk-O5HWNEGH.js
2
- var O = { type: "split-layout", orientation: "horizontal", sizes: [], children: [] }, m = Object.freeze({ CUSTOM_EVENT_NAME_PREFIX: "regular-layout", CHILD_ATTRIBUTE_NAME: "name", MIN_DRAG_DISTANCE: 10, SHOULD_ROUND: !1, OVERLAY_CLASSNAME: "overlay", MINIMUM_REDISTRIBUTION_SIZE_THRESHOLD: 0.15, SPLIT_EDGE_TOLERANCE: 0.33, SPLIT_ROOT_EDGE_TOLERANCE: 0.03, GRID_TRACK_COLLAPSE_TOLERANCE: 1e-3, OVERLAY_DEFAULT: "absolute", GRID_DIVIDER_SIZE: 6, GRID_DIVIDER_CHECK_TARGET: !0 });
1
+ // ../../node_modules/.pnpm/regular-layout@0.8.1/node_modules/regular-layout/dist/chunk-WTA3DQJQ.js
2
+ var O = { type: "split-layout", orientation: "horizontal", sizes: [], children: [] }, m = Object.freeze({ CUSTOM_EVENT_NAME_PREFIX: "regular-layout", CHILD_ATTRIBUTE_NAME: "name", MIN_DRAG_DISTANCE: 10, SHOULD_ROUND: !1, OVERLAY_CLASSNAME: "overlay", MINIMUM_REDISTRIBUTION_SIZE_THRESHOLD: 0.15, SPLIT_EDGE_TOLERANCE: 0.33, SPLIT_ROOT_EDGE_TOLERANCE: 0.03, GRID_TRACK_COLLAPSE_TOLERANCE: 1e-3, OVERLAY_DEFAULT: "absolute", GRID_DIVIDER_SIZE: 6, GRID_DIVIDER_CHECK_TARGET: !0, GRID_DIVIDER_TOUCH_RESIZE: !0 });
3
3
  function ct(t, e, n) {
4
4
  return (e.length === 0 || Math.abs(n - e[e.length - 1]) > t.GRID_TRACK_COLLAPSE_TOLERANCE) && e.push(n), e;
5
5
  }
6
6
  function lt(t, e) {
7
7
  return e.sort((n, r) => n - r).reduce(ct.bind(void 0, t), []);
8
8
  }
9
- function k(t, e, n, r, _) {
9
+ function T(t, e, n, r, _) {
10
10
  if (t.type === "tab-layout") return [n, r];
11
11
  let i = [n, r];
12
12
  if (t.orientation === e) {
13
13
  let o = n, a = r - n;
14
14
  for (let c = 0; c < t.children.length; c++) {
15
- let g = t.sizes[c], u = o + g * a;
16
- i.push(...k(t.children[c], e, o, u, _)), o = u;
15
+ let d = t.sizes[c], u = o + d * a;
16
+ i.push(...T(t.children[c], e, o, u, _)), o = u;
17
17
  }
18
- } else for (let o of t.children) i.push(...k(o, e, n, r, _));
18
+ } else for (let o of t.children) i.push(...T(o, e, n, r, _));
19
19
  return lt(_, i);
20
20
  }
21
21
  function I(t, e, n) {
@@ -27,55 +27,55 @@ function F(t, e, n, r, _, i, o, a) {
27
27
  let b = t.selected ?? 0, w = I(a, e, r), v = I(a, e, _), D = I(a, n, i), ot = I(a, n, o);
28
28
  return t.tabs.map((at, st) => ({ child: at, colStart: w, colEnd: v, rowStart: D, rowEnd: ot, zIndex: t.tabs.length > 1 && st === b ? 1 : void 0 }));
29
29
  }
30
- let { children: c, sizes: g, orientation: u } = t, s = u === "horizontal", l = s ? r : i, d = s ? _ - r : o - i, f = [];
30
+ let { children: c, sizes: d, orientation: u } = t, s = u === "horizontal", l = s ? r : i, g = s ? _ - r : o - i, f = [];
31
31
  for (let b = 0; b < c.length; b++) {
32
- let w = l + g[b] * d;
32
+ let w = l + d[b] * g;
33
33
  s ? f.push(...F(c[b], e, n, l, w, i, o, a)) : f.push(...F(c[b], e, n, r, _, l, w, a)), l = w;
34
34
  }
35
35
  return f;
36
36
  }
37
- var z = (t, e) => `:host ::slotted(*){display:none}:host{display:grid;grid-template-rows:${t};grid-template-columns:${e}}`, S = (t, e, n, r, _) => `:host ::slotted([${t.CHILD_ATTRIBUTE_NAME}="${e}"]){display:flex;grid-column:${r};grid-row:${n}${_ === void 0 ? "" : `;z-index:${_}`}}`;
37
+ var M = (t, e) => `:host ::slotted(*){display:none}:host{display:grid;grid-template-rows:${t};grid-template-columns:${e}}`, S = (t, e, n, r, _) => `:host ::slotted([${t.CHILD_ATTRIBUTE_NAME}="${e}"]){display:flex;grid-column:${r};grid-row:${n}${_ === void 0 ? "" : `;z-index:${_}`}}`;
38
38
  function p(t, e, n = m) {
39
39
  if (t.type === "tab-layout") {
40
40
  let s = t.selected ?? 0, l = t.tabs.length > 1;
41
- return [z("100%", "100%"), ...t.tabs.map((d, f) => S(n, d, "1", "1", l && f === s ? 1 : void 0))].join(`
41
+ return [M("100%", "100%"), ...t.tabs.map((g, f) => S(n, g, "1", "1", l && f === s ? 1 : void 0))].join(`
42
42
  `);
43
43
  }
44
- let r = (s) => s.slice(0, -1).map((l, d) => s[d + 1] - l).map((l) => `${n.SHOULD_ROUND ? Math.round(l * 100) : l * 100}fr`).join(" "), _ = k(t, "horizontal", 0, 1, n), i = r(_), o = k(t, "vertical", 0, 1, n), a = r(o), c = (s, l) => l - s === 1 ? `${s + 1}` : `${s + 1} / ${l + 1}`, g = F(t, _, o, 0, 1, 0, 1, n), u = [z(a, i)];
45
- for (let s of g) {
46
- let l = c(s.colStart, s.colEnd), d = c(s.rowStart, s.rowEnd);
47
- u.push(S(n, s.child, d, l, s.zIndex)), s.child === e?.[1] && (u.push(S(n, e[0], d, l)), u.push(`:host ::slotted([${n.CHILD_ATTRIBUTE_NAME}=${e[0]}]){z-index:2}`));
44
+ let r = (s) => s.slice(0, -1).map((l, g) => s[g + 1] - l).map((l) => `${n.SHOULD_ROUND ? Math.round(l * 100) : l * 100}fr`).join(" "), _ = T(t, "horizontal", 0, 1, n), i = r(_), o = T(t, "vertical", 0, 1, n), a = r(o), c = (s, l) => l - s === 1 ? `${s + 1}` : `${s + 1} / ${l + 1}`, d = F(t, _, o, 0, 1, 0, 1, n), u = [M(a, i)];
45
+ for (let s of d) {
46
+ let l = c(s.colStart, s.colEnd), g = c(s.rowStart, s.rowEnd);
47
+ u.push(S(n, s.child, g, l, s.zIndex)), s.child === e?.[1] && (u.push(S(n, e[0], g, l)), u.push(`:host ::slotted([${n.CHILD_ATTRIBUTE_NAME}=${e[0]}]){z-index:2}`));
48
48
  }
49
49
  return u.join(`
50
50
  `);
51
51
  }
52
52
  function ut(t, e = m) {
53
- return [z("100%", "100%"), S(e, t, "1", "1")].join(`
53
+ return [M("100%", "100%"), S(e, t, "1", "1")].join(`
54
54
  `);
55
55
  }
56
- var gt = { row_start: 0, row_end: 1, col_start: 0, col_end: 1 };
56
+ var dt = { row_start: 0, row_end: 1, col_start: 0, col_end: 1 };
57
57
  function h(t, e, n, r = null) {
58
58
  return G(t, e, n, r);
59
59
  }
60
- function G(t, e, n, r, _ = null, i = structuredClone(gt), o = []) {
60
+ function G(t, e, n, r, _ = null, i = structuredClone(dt), o = []) {
61
61
  if (t < 0 || e < 0 || t > 1 || e > 1) return null;
62
62
  if (n.type === "tab-layout") {
63
63
  let f = n.selected ?? 0, b = i.col_end - i.col_start, w = i.row_end - i.row_start;
64
64
  return { type: "layout-path", layout: n, slot: n.tabs[f], path: o, view_window: i, is_edge: !1, column: t, row: e, column_offset: (t - i.col_start) / b, row_offset: (e - i.row_start) / w, orientation: _ || "horizontal" };
65
65
  }
66
- let a = n.orientation === "vertical", c = a ? e : t, g = a ? "row_start" : "col_start", u = a ? "row_end" : "col_end", s = a ? r?.rect?.height : r?.rect?.width, l = i[g], d = i[u] - i[g];
66
+ let a = n.orientation === "vertical", c = a ? e : t, d = a ? "row_start" : "col_start", u = a ? "row_end" : "col_end", s = a ? r?.rect?.height : r?.rect?.width, l = i[d], g = i[u] - i[d];
67
67
  for (let f = 0; f < n.children.length; f++) {
68
- let b = l + d * n.sizes[f];
68
+ let b = l + g * n.sizes[f];
69
69
  if (r && s) {
70
70
  let w = r.size / s;
71
- if (Math.abs(c - b) < w) return { path: [...o, f], type: n.orientation, view_window: { ...i, [g]: l, [u]: b } };
71
+ if (Math.abs(c - b) < w) return { path: [...o, f], type: n.orientation, view_window: { ...i, [d]: l, [u]: b } };
72
72
  }
73
- if (c >= l && (c < b || f === n.children.length - 1)) return G(t, e, n.children[f], r, n.orientation, { ...i, [g]: l, [u]: b }, [...o, f]);
73
+ if (c >= l && (c < b || f === n.children.length - 1)) return G(t, e, n.children[f], r, n.orientation, { ...i, [d]: l, [u]: b }, [...o, f]);
74
74
  l = b;
75
75
  }
76
76
  return null;
77
77
  }
78
- function T(t, e) {
78
+ function k(t, e) {
79
79
  if (t.type === "tab-layout") {
80
80
  if (t.tabs.includes(e)) {
81
81
  let o = t.tabs.filter((a) => a !== e);
@@ -87,7 +87,7 @@ function T(t, e) {
87
87
  if (r !== -1) {
88
88
  let o = n.children[r];
89
89
  if (o.tabs.length === 1) {
90
- let a = n.children.filter((g, u) => u !== r), c = dt(n.sizes, r);
90
+ let a = n.children.filter((d, u) => u !== r), c = gt(n.sizes, r);
91
91
  if (a.length === 1) return a[0];
92
92
  n.children = a, n.sizes = c;
93
93
  } else o.tabs.splice(o.tabs.indexOf(e), 1), o.selected && o.selected >= o.tabs.length && o.selected--;
@@ -95,14 +95,14 @@ function T(t, e) {
95
95
  }
96
96
  let _ = !1, i = n.children.map((o) => {
97
97
  if (o.type === "split-layout") {
98
- let a = T(o, e);
98
+ let a = k(o, e);
99
99
  return a !== o && (_ = !0), a;
100
100
  }
101
101
  return o;
102
102
  });
103
103
  return _ && (n.children = i), n;
104
104
  }
105
- function dt(t, e) {
105
+ function gt(t, e) {
106
106
  let n = [], r = t[e], _ = 0;
107
107
  for (let i = 0; i < t.length; i++) i !== e && (_ += t[i]);
108
108
  for (let i = 0; i < t.length; i++) if (i !== e) {
@@ -126,8 +126,8 @@ function y(t, e, n, r) {
126
126
  if (t.type === "split-layout" && t.orientation === r) {
127
127
  let l = [...t.children];
128
128
  l.splice(i, 0, _(e));
129
- let d = [...t.sizes];
130
- return d.splice(i, 0, A(l.length)), { ...t, children: l, sizes: x(d) };
129
+ let g = [...t.sizes];
130
+ return g.splice(i, 0, A(l.length)), { ...t, children: l, sizes: x(g) };
131
131
  }
132
132
  let s = i === 0 ? [_(e), t] : [t, _(e)];
133
133
  return { type: "split-layout", orientation: r, children: s, sizes: [0.5, 0.5] };
@@ -141,16 +141,16 @@ function y(t, e, n, r) {
141
141
  }
142
142
  if (o.length === 0 || i === t.children.length) {
143
143
  if (r && t.children[i]) {
144
- let d = { type: "split-layout", orientation: r, children: [_(e), t.children[i]], sizes: [0.5, 0.5] }, f = [...t.children];
145
- return f[i] = d, { ...t, children: f, sizes: x(t.sizes) };
144
+ let g = { type: "split-layout", orientation: r, children: [_(e), t.children[i]], sizes: [0.5, 0.5] }, f = [...t.children];
145
+ return f[i] = g, { ...t, children: f, sizes: x(t.sizes) };
146
146
  }
147
147
  let s = [...t.children];
148
148
  s.splice(i, 0, _(e));
149
149
  let l = [...t.sizes];
150
150
  return l.splice(i, 0, A(s.length)), { ...t, children: s, sizes: x(l) };
151
151
  }
152
- let a = t.children[i], c = a.type === "tab-layout" && o.length > 0 && r !== void 0 ? t.orientation === "horizontal" ? "vertical" : "horizontal" : r, g = y(a, e, o, c), u = [...t.children];
153
- return u[i] = g, { ...t, children: u };
152
+ let a = t.children[i], c = a.type === "tab-layout" && o.length > 0 && r !== void 0 ? t.orientation === "horizontal" ? "vertical" : "horizontal" : r, d = y(a, e, o, c), u = [...t.children];
153
+ return u[i] = d, { ...t, children: u };
154
154
  }
155
155
  function A(t) {
156
156
  return 1 / Math.max(1, t - 1);
@@ -186,23 +186,23 @@ function ft(t, e, n, r) {
186
186
  return _;
187
187
  }
188
188
  function K(t, e, n, r) {
189
- let _ = parseFloat(n.paddingLeft), i = parseFloat(n.paddingTop), o = e.width - _ - parseFloat(n.paddingRight), a = e.height - i - parseFloat(n.paddingBottom), c = _ + t.col_start * o, g = i + t.row_start * a, u = (t.col_end - t.col_start) * o, s = (t.row_end - t.row_start) * a;
189
+ let _ = parseFloat(n.paddingLeft), i = parseFloat(n.paddingTop), o = e.width - _ - parseFloat(n.paddingRight), a = e.height - i - parseFloat(n.paddingBottom), c = _ + t.col_start * o, d = i + t.row_start * a, u = (t.col_end - t.col_start) * o, s = (t.row_end - t.row_start) * a;
190
190
  if (r) {
191
- let l = parseFloat(r.marginTop), d = parseFloat(r.marginRight), f = parseFloat(r.marginBottom), b = parseFloat(r.marginLeft);
192
- u -= b + d, s -= l + f;
191
+ let l = parseFloat(r.marginTop), g = parseFloat(r.marginRight), f = parseFloat(r.marginBottom), b = parseFloat(r.marginLeft);
192
+ u -= b + g, s -= l + f;
193
193
  }
194
- return { x: c, y: g, width: u, height: s };
194
+ return { x: c, y: d, width: u, height: s };
195
195
  }
196
196
  function bt(t, e, n, r, _ = m, i) {
197
197
  if (!r) return `:host ::slotted([${_.CHILD_ATTRIBUTE_NAME}="${t}"]){display:none;}`;
198
198
  let o = K(r.view_window, e, n, i), a = `display:flex;position:absolute!important;z-index:2;top:${o.y}px;left:${o.x}px;height:${o.height}px;width:${o.width}px;`;
199
199
  return `::slotted([${_.CHILD_ATTRIBUTE_NAME}="${t}"]){${a}}`;
200
200
  }
201
- function N(t) {
201
+ function z(t) {
202
202
  if (t.type === "tab-layout") return t.selected = t.selected || 0, t;
203
203
  let e = [], n = [];
204
204
  for (let r = 0; r < t.children.length; r++) {
205
- let _ = t.children[r], i = t.sizes[r], o = N(_);
205
+ let _ = t.children[r], i = t.sizes[r], o = z(_);
206
206
  if (o.type === "split-layout" && o.orientation === t.orientation) for (let a = 0; a < o.children.length; a++) e.push(o.children[a]), n.push(o.sizes[a] * i);
207
207
  else e.push(o), n.push(i);
208
208
  }
@@ -225,13 +225,13 @@ function pt(t) {
225
225
  }
226
226
  function Z(t, e, n, r, _) {
227
227
  if (t.type === "tab-layout") {
228
- let u = t.selected ?? 0, s = t.tabs[u], l = (_.col_start + _.col_end) / 2, d = (_.row_start + _.row_end) / 2;
229
- e[s] = { type: "layout-path", layout: t, slot: s, path: n, view_window: _, is_edge: !1, column: l, row: d, column_offset: 0.5, row_offset: 0.5, orientation: r || "horizontal" };
228
+ let u = t.selected ?? 0, s = t.tabs[u], l = (_.col_start + _.col_end) / 2, g = (_.row_start + _.row_end) / 2;
229
+ e[s] = { type: "layout-path", layout: t, slot: s, path: n, view_window: _, is_edge: !1, column: l, row: g, column_offset: 0.5, row_offset: 0.5, orientation: r || "horizontal" };
230
230
  return;
231
231
  }
232
- let i = t.orientation === "vertical", o = i ? "row_start" : "col_start", a = i ? "row_end" : "col_end", c = _[o], g = _[a] - _[o];
232
+ let i = t.orientation === "vertical", o = i ? "row_start" : "col_start", a = i ? "row_end" : "col_end", c = _[o], d = _[a] - _[o];
233
233
  for (let u = 0; u < t.children.length; u++) {
234
- let s = c + g * t.sizes[u], l = { ..._, [o]: c, [a]: s };
234
+ let s = c + d * t.sizes[u], l = { ..._, [o]: c, [a]: s };
235
235
  Z(t.children[u], e, [...n, u], t.orientation, l), c = s;
236
236
  }
237
237
  }
@@ -294,8 +294,8 @@ function $(t, e, n, r, _, i, o = m) {
294
294
  if (e > 1 - o.SPLIT_ROOT_EDGE_TOLERANCE) return E(n, r, _, _.path.length > 0 ? _.path : [1], !1, "vertical");
295
295
  let a = _.column_offset < o.SPLIT_EDGE_TOLERANCE || _.column_offset > 1 - o.SPLIT_EDGE_TOLERANCE, c = _.row_offset < o.SPLIT_EDGE_TOLERANCE || _.row_offset > 1 - o.SPLIT_EDGE_TOLERANCE;
296
296
  if (a && c) {
297
- let g = Math.abs(_.column_offset - 0.5), u = Math.abs(_.row_offset - 0.5), s = (i?.width || 1) * (_.view_window.col_end - _.view_window.col_start), l = (i?.height || 1) * (_.view_window.row_end - _.view_window.row_start), d = s / 2 - g * s < l / 2 - u * l;
298
- return C(n, r, _, d ? _.column_offset < o.SPLIT_EDGE_TOLERANCE : _.row_offset < o.SPLIT_EDGE_TOLERANCE, d ? "horizontal" : "vertical");
297
+ let d = Math.abs(_.column_offset - 0.5), u = Math.abs(_.row_offset - 0.5), s = (i?.width || 1) * (_.view_window.col_end - _.view_window.col_start), l = (i?.height || 1) * (_.view_window.row_end - _.view_window.row_start), g = s / 2 - d * s < l / 2 - u * l;
298
+ return C(n, r, _, g ? _.column_offset < o.SPLIT_EDGE_TOLERANCE : _.row_offset < o.SPLIT_EDGE_TOLERANCE, g ? "horizontal" : "vertical");
299
299
  }
300
300
  return a ? C(n, r, _, _.column_offset < o.SPLIT_EDGE_TOLERANCE, "horizontal") : c ? C(n, r, _, _.row_offset < o.SPLIT_EDGE_TOLERANCE, "vertical") : { ..._, path: [..._.path, 0] };
301
301
  }
@@ -317,8 +317,8 @@ function mt(t, e) {
317
317
  let n = { row_start: 0, row_end: 1, col_start: 0, col_end: 1 }, r = t;
318
318
  for (let _ of e) {
319
319
  if (r.type === "tab-layout") break;
320
- let i = Math.min(_, r.children.length - 1), o = r.orientation === "vertical", a = o ? "row_start" : "col_start", c = o ? "row_end" : "col_end", g = n[c] - n[a], u = r.sizes.slice(0, i).reduce((s, l) => s + l * g, n[a]);
321
- n = { ...n, [a]: u, [c]: u + g * r.sizes[i] }, r = r.children[i];
320
+ let i = Math.min(_, r.children.length - 1), o = r.orientation === "vertical", a = o ? "row_start" : "col_start", c = o ? "row_end" : "col_end", d = n[c] - n[a], u = r.sizes.slice(0, i).reduce((s, l) => s + l * d, n[a]);
321
+ n = { ...n, [a]: u, [c]: u + d * r.sizes[i] }, r = r.children[i];
322
322
  }
323
323
  return n;
324
324
  }
@@ -327,11 +327,11 @@ var vt = class {
327
327
  this.p = t;
328
328
  }
329
329
  async set(t, { slot: e }, n = this.p.physics.OVERLAY_CLASSNAME, r = this.p.physics.OVERLAY_DEFAULT) {
330
- let _ = this.p, i = T(_.panel, e), o = `:scope > [${_.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, a = _.querySelector(o);
330
+ let _ = this.p, i = k(_.panel, e), o = `:scope > [${_.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, a = _.querySelector(o);
331
331
  a && a.classList.add(n);
332
- let [c, g, u, s] = _.relativeCoordinates(t, !0), l = h(c, g, i);
333
- l && (l = $(c, g, i, e, l, u, _.physics));
334
- let d = l ? { slot: e, path: l } : null;
332
+ let [c, d, u, s] = _.relativeCoordinates(t, !0), l = h(c, d, i);
333
+ l && (l = $(c, d, i, e, l, u, _.physics));
334
+ let g = l ? { slot: e, path: l } : null;
335
335
  await _.presizeQueue.run(i, () => {
336
336
  if (r === "grid" && l) {
337
337
  let w = [e, l?.slot], v = p(i, w, _.physics);
@@ -343,51 +343,49 @@ var vt = class {
343
343
  _.stylesheet.replaceSync([w, D].join(`
344
344
  `));
345
345
  }
346
- }, d);
346
+ }, g);
347
347
  let f = `${_.physics.CUSTOM_EVENT_NAME_PREFIX}-before-update`, b = new CustomEvent(f, { detail: i });
348
348
  _.dispatchEvent(b);
349
349
  }
350
- async clear(t, { slot: e, layout: n }, r = this.p.physics.OVERLAY_CLASSNAME) {
351
- let _ = this.p, i = T(_.panel, e), o = `:scope > [${_.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, a = _.querySelector(o);
352
- if (t === null) {
353
- await _.restore(n);
354
- return;
350
+ async clear(t, { slot: e }, n = this.p.physics.OVERLAY_CLASSNAME) {
351
+ let r = this.p, _ = `:scope > [${r.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, i = r.querySelector(_), o = r.panel;
352
+ if (t !== null) {
353
+ let a = k(r.panel, e), [c, d, u] = r.relativeCoordinates(t, !1), s = h(c, d, a);
354
+ if (s) {
355
+ let l = $(c, d, a, e, s, u, r.physics), g = l.is_edge ? l.orientation : void 0;
356
+ o = y(a, e, l.path, g);
357
+ }
355
358
  }
356
- let [c, g, u] = _.relativeCoordinates(t, !1), s = h(c, g, i);
357
- if (s && (s = $(c, g, i, e, s, u, _.physics)), s) {
358
- let l = s?.is_edge ? s.orientation : void 0, d = y(i, e, s.path, l);
359
- await _.restore(d);
360
- } else await _.restore(n);
361
- a && a.classList.remove(r);
359
+ await r.restore(o), i?.classList.remove(n);
362
360
  }
363
361
  }, X = class extends HTMLElement {
364
362
  s;
365
363
  n;
366
- o;
364
+ i;
367
365
  a;
368
- h;
369
366
  d;
370
367
  u;
371
- r;
368
+ h;
369
+ o;
372
370
  t;
373
371
  l;
374
372
  E;
375
373
  f;
376
374
  L;
377
375
  constructor() {
378
- super(), this.t = m, this.n = structuredClone(O), this.o = this.n, this.s = this.attachShadow({ mode: "open" }), this.s.innerHTML = "<slot></slot>", this.a = new CSSStyleSheet(), this.h = new CSSStyleSheet(), this.u = !1;
376
+ super(), this.t = m, this.n = structuredClone(O), this.i = this.n, this.s = this.attachShadow({ mode: "open" }), this.s.innerHTML = "<slot></slot>", this.a = new CSSStyleSheet(), this.d = new CSSStyleSheet(), this.h = !1;
379
377
  let t = `${this.t.CUSTOM_EVENT_NAME_PREFIX}-before-resize`;
380
378
  this.l = new ht(this, t, () => {
381
- this.r = void 0;
382
- }), this.E = new vt(this.create_overlay_host()), this.s.adoptedStyleSheets = [this.a, this.h];
379
+ this.o = void 0;
380
+ }), this.E = new vt(this.create_overlay_host()), this.s.adoptedStyleSheets = [this.a, this.d];
383
381
  }
384
382
  connectedCallback() {
385
383
  this.L ??= new ResizeObserver(() => {
386
- this.r = void 0;
387
- }), this.L.observe(this), this.addEventListener("dblclick", this.onDblClick), this.addEventListener("pointerdown", this.onPointerDown), this.addEventListener("pointerup", this.onPointerUp), this.addEventListener("pointermove", this.onPointerMove);
384
+ this.o = void 0;
385
+ }), this.L.observe(this), this.addEventListener("dblclick", this.onDblClick), this.addEventListener("pointerdown", this.onPointerDown), this.addEventListener("pointerup", this.onPointerUp), this.addEventListener("pointermove", this.onPointerMove), this.addEventListener("pointercancel", this.onPointerCancel), this.addEventListener("lostpointercapture", this.onPointerCancel), this.update_touch_listener();
388
386
  }
389
387
  disconnectedCallback() {
390
- this.L?.disconnect(), this.removeEventListener("dblclick", this.onDblClick), this.removeEventListener("pointerdown", this.onPointerDown), this.removeEventListener("pointerup", this.onPointerUp), this.removeEventListener("pointermove", this.onPointerMove);
388
+ this.L?.disconnect(), this.removeEventListener("dblclick", this.onDblClick), this.removeEventListener("pointerdown", this.onPointerDown), this.removeEventListener("pointerup", this.onPointerUp), this.removeEventListener("pointermove", this.onPointerMove), this.removeEventListener("pointercancel", this.onPointerCancel), this.removeEventListener("lostpointercapture", this.onPointerCancel), this.update_touch_listener();
391
389
  }
392
390
  calculateIntersect = (t) => {
393
391
  let [e, n, r] = this.relativeCoordinates(t, !1);
@@ -402,13 +400,13 @@ var vt = class {
402
400
  };
403
401
  insertPanel = async (t, e = [], n) => {
404
402
  let r;
405
- typeof n == "boolean" && n ? r = "horizontal" : typeof n == "string" && (r = n), await this.restore(y(this.o, t, e, r));
403
+ typeof n == "boolean" && n ? r = "horizontal" : typeof n == "string" && (r = n), await this.restore(y(this.i, t, e, r));
406
404
  };
407
405
  removePanel = async (t) => {
408
- await this.restore(T(this.o, t));
406
+ await this.restore(k(this.i, t));
409
407
  };
410
408
  select = async (t) => {
411
- let e = structuredClone(this.o), n = this.getPanel(t, e);
409
+ let e = structuredClone(this.i), n = this.getPanel(t, e);
412
410
  if (!n) return;
413
411
  let r = n.tabs.indexOf(t);
414
412
  r !== -1 && n.selected !== r && (n.selected = r, await this.restore(e));
@@ -427,27 +425,27 @@ var vt = class {
427
425
  await this.restore(O);
428
426
  };
429
427
  maximize = async (t) => {
430
- if (!this.getPanel(t, this.o)) return;
428
+ if (!this.getPanel(t, this.i)) return;
431
429
  let e = { type: "tab-layout", tabs: [t], selected: 0 };
432
430
  await this.l.run(e, () => {
433
431
  this.f = t, this.a.replaceSync(ut(t, this.t));
434
432
  });
435
433
  };
436
434
  minimize = async () => {
437
- this.f !== void 0 && await this.l.run(this.o, () => {
435
+ this.f !== void 0 && await this.l.run(this.i, () => {
438
436
  this.f = void 0, this.a.replaceSync(p(this.n, void 0, this.t));
439
437
  });
440
438
  };
441
439
  restoreSync = (t, e = !1) => {
442
- this.l.cancelPending(), this.r = void 0, this.f = void 0, this.n = e ? t : N(t), this.o = this.n;
440
+ this.l.cancelPending(), this.o = void 0, this.f = void 0, this.n = e ? t : z(t), this.i = this.n;
443
441
  let n = p(this.n, void 0, this.t);
444
442
  this.a.replaceSync(n);
445
443
  let r = `${this.t.CUSTOM_EVENT_NAME_PREFIX}-update`, _ = new CustomEvent(r, { detail: this.n });
446
444
  this.dispatchEvent(_);
447
445
  };
448
446
  restore = async (t, e = !1) => {
449
- let n = e ? t : N(t);
450
- this.o = n, await this.l.run(n, () => {
447
+ let n = e ? t : z(t);
448
+ this.i = n, await this.l.run(n, () => {
451
449
  this.f = void 0, this.n = n;
452
450
  let r = p(this.n, void 0, this.t);
453
451
  this.a.replaceSync(r);
@@ -460,19 +458,19 @@ var vt = class {
460
458
  };
461
459
  save = () => structuredClone(this.n);
462
460
  restorePhysics(t) {
463
- this.t = Object.freeze({ ...this.t, ...t });
461
+ this.t = Object.freeze({ ...this.t, ...t }), this.update_touch_listener();
464
462
  }
465
463
  savePhysics() {
466
464
  return this.t;
467
465
  }
468
466
  relativeCoordinates = (t, e = !0) => {
469
- (e || !this.r) && (this.r = { box: this.getBoundingClientRect(), style: getComputedStyle(this) });
470
- let n = this.r.box, r = this.r.style, _ = parseFloat(r.paddingLeft), i = parseFloat(r.paddingTop), o = n.width - _ - parseFloat(r.paddingRight), a = n.height - i - parseFloat(r.paddingBottom), c = t.clientX - n.left - _, g = t.clientY - n.top - i, u = Math.max(0, Math.min(1, c / o)), s = Math.max(0, Math.min(1, g / a));
467
+ (e || !this.o) && (this.o = { box: this.getBoundingClientRect(), style: getComputedStyle(this) });
468
+ let n = this.o.box, r = this.o.style, _ = parseFloat(r.paddingLeft), i = parseFloat(r.paddingTop), o = n.width - _ - parseFloat(r.paddingRight), a = n.height - i - parseFloat(r.paddingBottom), c = t.clientX - n.left - _, d = t.clientY - n.top - i, u = Math.max(0, Math.min(1, c / o)), s = Math.max(0, Math.min(1, d / a));
471
469
  return [u, s, n, r];
472
470
  };
473
471
  realCoordinates = (t, e) => {
474
- this.r || (this.r = { box: this.getBoundingClientRect(), style: getComputedStyle(this) });
475
- let n = this.r.box, r = this.r.style, _;
472
+ this.o || (this.o = { box: this.getBoundingClientRect(), style: getComputedStyle(this) });
473
+ let n = this.o.box, r = this.o.style, _;
476
474
  e && (_ = getComputedStyle(e));
477
475
  let i = K(t, n, r, _);
478
476
  return new DOMRect(n.left + i.x, n.top + i.y, i.width, i.height);
@@ -484,7 +482,7 @@ var vt = class {
484
482
  create_overlay_host() {
485
483
  let t = this;
486
484
  return { get panel() {
487
- return t.o;
485
+ return t.i;
488
486
  }, get physics() {
489
487
  return t.t;
490
488
  }, get stylesheet() {
@@ -496,40 +494,55 @@ var vt = class {
496
494
  onDblClick = async (t) => {
497
495
  let [e, n, r] = this.relativeCoordinates(t, !1), _ = h(e, n, this.n, { rect: r, size: this.t.GRID_DIVIDER_SIZE });
498
496
  if (_?.type === "horizontal" || _?.type === "vertical") {
499
- let i = L(this.o, _.path, void 0);
497
+ let i = L(this.i, _.path, void 0);
500
498
  await this.restore(i, !0);
501
499
  }
502
500
  };
501
+ hit_divider(t, e) {
502
+ if (this.t.GRID_DIVIDER_CHECK_TARGET && e !== this) return null;
503
+ let [n, r, _] = this.relativeCoordinates(t), i = this.t.GRID_DIVIDER_SIZE, o = h(n, r, this.n, { rect: _, size: i });
504
+ return o && o.type !== "layout-path" ? [o, n, r] : null;
505
+ }
506
+ update_touch_listener() {
507
+ this.isConnected && this.t.GRID_DIVIDER_TOUCH_RESIZE ? this.addEventListener("touchstart", this.onTouchStart, { passive: !1 }) : this.removeEventListener("touchstart", this.onTouchStart);
508
+ }
509
+ onTouchStart = (t) => {
510
+ let e = t.changedTouches[0];
511
+ t.cancelable && e && this.hit_divider(e, t.target) && t.preventDefault();
512
+ };
503
513
  onPointerDown = (t) => {
504
- if (t.button === 0 && (!this.t.GRID_DIVIDER_CHECK_TARGET || t.target === this)) {
505
- let [e, n, r] = this.relativeCoordinates(t), _ = this.t.GRID_DIVIDER_SIZE, i = h(e, n, this.n, { rect: r, size: _ });
506
- i && i.type !== "layout-path" && (this.d = [i, e, n], this.setPointerCapture(t.pointerId), t.preventDefault());
507
- }
514
+ if (t.button !== 0) return;
515
+ let e = this.hit_divider(t, t.target);
516
+ e && (this.u = [...e, t.pointerId], this.setPointerCapture(t.pointerId), t.preventDefault());
517
+ };
518
+ onPointerCancel = async (t) => {
519
+ this.u?.[3] === t.pointerId && (this.u = void 0, await this.restore(this.i, !0));
508
520
  };
509
521
  onPointerMove = async (t) => {
510
- if (this.d) {
511
- let [i, o] = this.relativeCoordinates(t, !1), [{ path: a, type: c }, g, u] = this.d, s = c === "horizontal" ? g - i : u - o, l = L(this.n, a, s);
522
+ if (this.u) {
523
+ let [i, o] = this.relativeCoordinates(t, !1), [{ path: a, type: c }, d, u] = this.u, s = c === "horizontal" ? d - i : u - o, l = L(this.n, a, s);
512
524
  await this.l.run(l, () => {
513
525
  this.a.replaceSync(p(l, void 0, this.t));
514
526
  });
515
527
  }
516
528
  if (this.t.GRID_DIVIDER_CHECK_TARGET && t.target !== this) {
517
- this.u && (this.u = !1, this.h.replaceSync(""));
529
+ this.h && (this.h = !1, this.d.replaceSync(""));
518
530
  return;
519
531
  }
520
532
  let [e, n, r] = this.relativeCoordinates(t, !1), _ = h(e, n, this.n, { rect: r, size: this.t.GRID_DIVIDER_SIZE });
521
- _?.type === "vertical" ? (this.h.replaceSync(":host{cursor:row-resize"), this.u = !0) : _?.type === "horizontal" ? (this.h.replaceSync(":host{cursor:col-resize"), this.u = !0) : this.u && (this.u = !1, this.h.replaceSync(""));
533
+ _?.type === "vertical" ? (this.d.replaceSync(":host{cursor:row-resize"), this.h = !0) : _?.type === "horizontal" ? (this.d.replaceSync(":host{cursor:col-resize"), this.h = !0) : this.h && (this.h = !1, this.d.replaceSync(""));
522
534
  };
523
535
  onPointerUp = async (t) => {
524
- if (this.d) {
525
- this.releasePointerCapture(t.pointerId);
526
- let [e, n] = this.relativeCoordinates(t, !1), [{ path: r, type: _ }, i, o] = this.d, a = _ === "horizontal" ? i - e : o - n, c = L(this.o, r, a);
527
- await this.restore(c, !0), this.d = void 0;
536
+ let e = this.u;
537
+ if (e) {
538
+ this.u = void 0, this.releasePointerCapture(t.pointerId);
539
+ let [n, r] = this.relativeCoordinates(t, !1), [{ path: _, type: i }, o, a] = e, c = i === "horizontal" ? o - n : a - r, d = L(this.i, _, c);
540
+ await this.restore(d, !0);
528
541
  }
529
542
  };
530
543
  }, yt = `
531
544
  :host{box-sizing:border-box;flex-direction:column;pointer-events:none}
532
- [part~="titlebar"]{height:24px;flex-shrink:0;user-select:none;overflow:hidden}
545
+ [part~="titlebar"]{height:24px;flex-shrink:0;user-select:none;overflow:hidden;touch-action:none}
533
546
  [part~="container"]{flex:1 1 auto;min-height:0;pointer-events:auto}
534
547
  [part~="title"]{flex:1 1 auto;pointer-events:none}
535
548
  [part~="close"]{align-self:stretch}
@@ -543,39 +556,38 @@ var vt = class {
543
556
  `, xt = (t) => `"${t.replace(/[\\"\n]/g, (e) => e === `
544
557
  ` ? "\\A " : `\\${e}`)}"`, Et = (t) => `--regular-layout-${globalThis.CSS.escape(t)}--title`, J = class extends HTMLElement {
545
558
  s;
546
- b;
547
559
  v;
560
+ b;
548
561
  e;
549
562
  _;
550
563
  T;
551
- i = null;
564
+ r = null;
552
565
  connectedCallback() {
553
- this.b ??= new CSSStyleSheet(), this.b.replaceSync(yt), this.v ??= new CSSStyleSheet(), this.s ??= this.attachShadow({ mode: "open" }), this.s.adoptedStyleSheets = [this.b, this.v], this.s.innerHTML = It, this.e = this.parentElement, this._ = this.s.children[0], this.T = this._.querySelector("regular-layout-tab"), this._.addEventListener("pointerdown", this.onPointerDown), this.addEventListener("pointermove", this.onPointerMove), this.addEventListener("pointerup", this.onPointerUp), this.addEventListener("pointercancel", this.onPointerCancel), this.addEventListener("lostpointercapture", this.onPointerLost), this.e.addEventListener("regular-layout-update", this.drawTabs), this.e.addEventListener("regular-layout-before-update", this.drawTabs);
566
+ this.v ??= new CSSStyleSheet(), this.v.replaceSync(yt), this.b ??= new CSSStyleSheet(), this.s ??= this.attachShadow({ mode: "open" }), this.s.adoptedStyleSheets = [this.v, this.b], this.s.innerHTML = It, this.e = this.parentElement, this._ = this.s.children[0], this.T = this._.querySelector("regular-layout-tab"), this._.addEventListener("pointerdown", this.onPointerDown), this.addEventListener("pointermove", this.onPointerMove), this.addEventListener("pointerup", this.onPointerUp), this.addEventListener("pointercancel", this.onPointerCancel), this.addEventListener("lostpointercapture", this.onPointerCancel), this.e.addEventListener("regular-layout-update", this.drawTabs), this.e.addEventListener("regular-layout-before-update", this.drawTabs);
554
567
  }
555
568
  disconnectedCallback() {
556
- this._.removeEventListener("pointerdown", this.onPointerDown), this.removeEventListener("pointermove", this.onPointerMove), this.removeEventListener("pointerup", this.onPointerUp), this.removeEventListener("pointercancel", this.onPointerUp), this.removeEventListener("lostpointercapture", this.onPointerLost), this.e.removeEventListener("regular-layout-update", this.drawTabs), this.e.removeEventListener("regular-layout-before-update", this.drawTabs);
569
+ this._.removeEventListener("pointerdown", this.onPointerDown), this.removeEventListener("pointermove", this.onPointerMove), this.removeEventListener("pointerup", this.onPointerUp), this.removeEventListener("pointercancel", this.onPointerCancel), this.removeEventListener("lostpointercapture", this.onPointerCancel), this.e.removeEventListener("regular-layout-update", this.drawTabs), this.e.removeEventListener("regular-layout-before-update", this.drawTabs);
557
570
  }
558
571
  onPointerDown = (t) => {
559
572
  if (t.button === 0 && t.target.part.contains("tab")) {
560
573
  let e = this.getAttribute(this.e.savePhysics().CHILD_ATTRIBUTE_NAME), n = this.e.calculateIntersect(t);
561
- n && e ? (this.i = { path: { ...n, slot: e } }, this.setPointerCapture(t.pointerId), t.preventDefault()) : this.i = null;
574
+ n && e ? (this.r = { path: { ...n, slot: e } }, this.setPointerCapture(t.pointerId), t.preventDefault()) : this.r = null;
562
575
  }
563
576
  };
564
577
  onPointerMove = (t) => {
565
- if (this.i) {
578
+ if (this.r) {
566
579
  let e = this.e.savePhysics();
567
- if (!this.i.moved && this.e.diffCoordinates(t, this.i.path) <= e.MIN_DRAG_DISTANCE) return;
568
- this.i.moved = !0, this.e.setOverlayState(t, this.i.path);
580
+ if (!this.r.moved && this.e.diffCoordinates(t, this.r.path) <= e.MIN_DRAG_DISTANCE) return;
581
+ this.r.moved = !0, this.e.setOverlayState(t, this.r.path);
569
582
  }
570
583
  };
571
584
  onPointerUp = (t) => {
572
- this.i?.moved && this.e.clearOverlayState(t, this.i.path);
585
+ let e = this.r;
586
+ this.r = null, e?.moved && this.e.clearOverlayState(t, e.path);
573
587
  };
574
588
  onPointerCancel = (t) => {
575
- this.i?.moved && this.e.clearOverlayState(null, this.i.path);
576
- };
577
- onPointerLost = (t) => {
578
- this.releasePointerCapture(t.pointerId), this.i = null;
589
+ let e = this.r;
590
+ this.r = null, e?.moved && this.e.clearOverlayState(null, e.path);
579
591
  };
580
592
  drawTabs = (t) => {
581
593
  let e = this.e.savePhysics().CHILD_ATTRIBUTE_NAME, n = this.getAttribute(e);
@@ -586,7 +598,7 @@ var vt = class {
586
598
  this.toggleAttribute("inactive", !i), this.T.populate(this.e, r, _), this.drawTab(n, _, r.tabs.length);
587
599
  };
588
600
  drawTab = (t, e, n) => {
589
- this.v.replaceSync([`.tabs{grid-template-columns:repeat(${n},var(--rl-tab-width,1fr))}`, `.tabs slot[name="tab"]{grid-column:${e + 1}}`, `[part~="title"]::before{content:var(${Et(t)}, ${xt(t)})}`].join(`
601
+ this.b.replaceSync([`.tabs{grid-template-columns:repeat(${n},var(--rl-tab-width,1fr))}`, `.tabs slot[name="tab"]{grid-column:${e + 1}}`, `[part~="title"]::before{content:var(${Et(t)}, ${xt(t)})}`].join(`
590
602
  `));
591
603
  };
592
604
  }, Q = class extends HTMLElement {
@@ -612,11 +624,11 @@ function tt(t = customElements) {
612
624
  for (let [e, n] of St) t.get(e) || t.define(e, n);
613
625
  }
614
626
 
615
- // ../../node_modules/.pnpm/regular-layout@0.8.0/node_modules/regular-layout/dist/index.js
627
+ // ../../node_modules/.pnpm/regular-layout@0.8.1/node_modules/regular-layout/dist/index.js
616
628
  tt();
617
629
 
618
630
  // src/ts/plugin.ts
619
- var M = class extends HTMLElement {
631
+ var N = class extends HTMLElement {
620
632
  constructor() {
621
633
  super();
622
634
  }
@@ -716,11 +728,11 @@ var nt = [
716
728
  "minute",
717
729
  "second",
718
730
  "fractionalSecondDigits"
719
- ], kt = [
731
+ ], Tt = [
720
732
  "timeZone",
721
733
  "hour12"
722
734
  ];
723
- function Tt(t) {
735
+ function kt(t) {
724
736
  return nt.some((e) => t?.[e] !== void 0);
725
737
  }
726
738
  var Rt = {
@@ -763,12 +775,12 @@ function Lt(t, e, n) {
763
775
  return new Intl.NumberFormat(navigator.languages, _);
764
776
  }
765
777
  function rt(t, e, n) {
766
- let r = [t, e, n], _ = r.find(Tt) ?? {}, i = {}, o = (a, c) => {
778
+ let r = [t, e, n], _ = r.find(kt) ?? {}, i = {}, o = (a, c) => {
767
779
  c !== void 0 && c[a] !== void 0 && (i[a] = c[a]);
768
780
  };
769
781
  for (let a of nt)
770
782
  o(a, _);
771
- for (let a of kt)
783
+ for (let a of Tt)
772
784
  o(
773
785
  a,
774
786
  r.find((c) => c?.[a] !== void 0)
@@ -788,7 +800,7 @@ function Ft(t, e) {
788
800
  dateStyle: n ?? et.dateStyle
789
801
  });
790
802
  }
791
- function zt(t) {
803
+ function Mt(t) {
792
804
  return t.split("|").at(-1) ?? t;
793
805
  }
794
806
 
@@ -819,7 +831,7 @@ import {
819
831
  } from "@perspective-dev/client/registry";
820
832
 
821
833
  // worker:./perspective-viewer.ts
822
- var _t = 'var St=Object.defineProperty;var Ct=(s,t)=>{for(var e in t)St(s,e,{get:t[e],enumerable:!0})};var X={};Ct(X,{Client:()=>F,GenericSQLVirtualServerModel:()=>V,PerspectiveDebugPluginElement:()=>$,PerspectiveViewerElement:()=>G,ProxySession:()=>j,Table:()=>z,View:()=>I,VirtualDataSlice:()=>q,VirtualServer:()=>J,default:()=>xt,getColumnConfigDefaults:()=>At,getPluginConfigDefaults:()=>Ft,get_wasm_module:()=>Rt,get_worker_url:()=>Et,init:()=>Tt,initSync:()=>ce,registerPlugin:()=>Pt,setColumnConfigDefaults:()=>Ot,setPluginConfigDefaults:()=>jt});function ct(s){customElements.get(s)||customElements.define(s,class extends HTMLElement{})}var it=window.ClipboardItem;var st=window.ResizeObserver;var at=window.IntersectionObserver;function ut(s,t,e,n){if(customElements.get(t)){console.warn(`Custom element "${t}" is already registered; skipping duplicate registration (Perspective was loaded more than once on this page).`);return}let r=s[e],i=r.prototype;class g extends HTMLElement{constructor(){super(),this._instance=new r(this)}}let b=Object.getOwnPropertyNames(i);for(let w of b)"get"in Object.getOwnPropertyDescriptor(i,w)?Object.defineProperty(g.prototype,w,{get:function(){return this._instance[w]}}):Object.defineProperty(g.prototype,w,{value:function(...p){return this._instance[w].call(this._instance,...p)}});for(let w of n)Object.defineProperty(g,w,{value:function(...p){return s[w].call(s,...p)}});customElements.define(t,g)}var F=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_client_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}__unsafe_open_view(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.client___unsafe_open_view(this.__wbg_ptr,e,n);return I.__wrap(r)}get_hosted_table_names(){let t=_.client_get_hosted_table_names(this.__wbg_ptr);return u(t)}handle_error(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),r=v,i=_.client_handle_error(this.__wbg_ptr,n,r,d(e)?0:c(e));return u(i)}handle_response(t){let e=_.client_handle_response(this.__wbg_ptr,c(t));return u(e)}join(t,e,n,r){let i=m(n,_.__wbindgen_export,_.__wbindgen_export2),g=v,b=_.client_join(this.__wbg_ptr,c(t),c(e),i,g,d(r)?0:c(r));return u(b)}constructor(t,e){try{let g=_.__wbindgen_add_to_stack_pointer(-16);_.client_new(g,c(t),d(e)?0:c(e));var n=a().getInt32(g+0,!0),r=a().getInt32(g+4,!0),i=a().getInt32(g+8,!0);if(i)throw u(r);return this.__wbg_ptr=n>>>0,Q.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}new_proxy_session(t){try{let e=_.client_new_proxy_session(this.__wbg_ptr,ot(t));return j.__wrap(e)}finally{k[O++]=void 0}}on_error(t){let e=_.client_on_error(this.__wbg_ptr,c(t));return u(e)}on_hosted_tables_update(t){let e=_.client_on_hosted_tables_update(this.__wbg_ptr,c(t));return u(e)}open_table(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.client_open_table(this.__wbg_ptr,e,n);return u(r)}remove_hosted_tables_update(t){let e=_.client_remove_hosted_tables_update(this.__wbg_ptr,t);return u(e)}system_info(){let t=_.client_system_info(this.__wbg_ptr);return u(t)}table(t,e){let n=_.client_table(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}terminate(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client_terminate(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);var V=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_genericsqlvirtualservermodel_free(t,0)}expressionDescribe(t,e){try{let w=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.genericsqlvirtualservermodel_expressionDescribe(w,this.__wbg_ptr,p,h,y,x);var n=a().getInt32(w+0,!0),r=a().getInt32(w+4,!0),i=a().getInt32(w+8,!0),g=a().getInt32(w+12,!0);if(g)throw u(i);var b=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}expressionsDescribe(t,e){try{let w=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v;_.genericsqlvirtualservermodel_expressionsDescribe(w,this.__wbg_ptr,p,h,c(e));var n=a().getInt32(w+0,!0),r=a().getInt32(w+4,!0),i=a().getInt32(w+8,!0),g=a().getInt32(w+12,!0);if(g)throw u(i);var b=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}getHostedTables(){try{let g=_.__wbindgen_add_to_stack_pointer(-16);_.genericsqlvirtualservermodel_getHostedTables(g,this.__wbg_ptr);var t=a().getInt32(g+0,!0),e=a().getInt32(g+4,!0),n=a().getInt32(g+8,!0),r=a().getInt32(g+12,!0);if(r)throw u(n);var i=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),i}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.genericsqlvirtualservermodel_new(i,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,gt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}quoteEntity(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_quoteEntity(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableDescribe(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.genericsqlvirtualservermodel_tableDescribe(h,this.__wbg_ptr,y,x,c(e),c(n),d(r)?16777215:r?1:0);var i=a().getInt32(h+0,!0),g=a().getInt32(h+4,!0),b=a().getInt32(h+8,!0),w=a().getInt32(h+12,!0);if(w)throw u(b);var p=f(i,g);return i!==0&&_.__wbindgen_export4(i,g,1),p}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,r,i){try{let y=_.__wbindgen_add_to_stack_pointer(-16),x=m(t,_.__wbindgen_export,_.__wbindgen_export2),C=v,M=m(e,_.__wbindgen_export,_.__wbindgen_export2),D=v;_.genericsqlvirtualservermodel_tableMakeView(y,this.__wbg_ptr,x,C,M,D,c(n),c(r),d(i)?16777215:i?1:0);var g=a().getInt32(y+0,!0),b=a().getInt32(y+4,!0),w=a().getInt32(y+8,!0),p=a().getInt32(y+12,!0);if(p)throw u(w);var h=f(g,b);return g!==0&&_.__wbindgen_export4(g,b,1),h}finally{_.__wbindgen_add_to_stack_pointer(16)}}tablePath(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=ht(t,_.__wbindgen_export),p=v;_.genericsqlvirtualservermodel_tablePath(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableSchema(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_tableSchema(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableSize(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_tableSize(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewCollapse(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewCollapse(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),g=a().getInt32(p+8,!0),b=a().getInt32(p+12,!0);if(b)throw u(g);var w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewColumnSize(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_viewColumnSize(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewDelete(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_viewDelete(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewExpand(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewExpand(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),g=a().getInt32(p+8,!0),b=a().getInt32(p+12,!0);if(b)throw u(g);var w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,y,x,c(e),c(n),c(r));var i=a().getInt32(h+0,!0),g=a().getInt32(h+4,!0),b=a().getInt32(h+8,!0),w=a().getInt32(h+12,!0);if(w)throw u(b);var p=f(i,g);return i!==0&&_.__wbindgen_export4(i,g,1),p}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetMinMax(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v,x=m(e,_.__wbindgen_export,_.__wbindgen_export2),C=v;_.genericsqlvirtualservermodel_viewGetMinMax(p,this.__wbg_ptr,h,y,x,C,c(n));var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),g=a().getInt32(p+8,!0),b=a().getInt32(p+12,!0);if(b)throw u(g);var w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewMakeTable(t,e,n,r,i){try{let y=_.__wbindgen_add_to_stack_pointer(-16),x=m(t,_.__wbindgen_export,_.__wbindgen_export2),C=v,M=m(e,_.__wbindgen_export,_.__wbindgen_export2),D=v;_.genericsqlvirtualservermodel_viewMakeTable(y,this.__wbg_ptr,x,C,M,D,c(n),c(r),c(i));var g=a().getInt32(y+0,!0),b=a().getInt32(y+4,!0),w=a().getInt32(y+8,!0),p=a().getInt32(y+12,!0);if(p)throw u(w);var h=f(g,b);return g!==0&&_.__wbindgen_export4(g,b,1),h}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSchema(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_viewSchema(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSetDepth(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewSetDepth(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),g=a().getInt32(p+8,!0),b=a().getInt32(p+12,!0);if(b)throw u(g);var w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSize(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.genericsqlvirtualservermodel_viewSize(b,this.__wbg_ptr,w,p);var e=a().getInt32(b+0,!0),n=a().getInt32(b+4,!0),r=a().getInt32(b+8,!0),i=a().getInt32(b+12,!0);if(i)throw u(r);var g=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);var $=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectivedebugpluginelement_free(t,0)}clear(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}get config_column_names(){let t=_.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}connectedCallback(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}delete(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}draw(t){_t(t,I);let e=_.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return u(e)}get min_config_columns(){let t=_.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}get name(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.perspectivedebugpluginelement_new(c(t));return this.__wbg_ptr=e>>>0,ft.register(this,this.__wbg_ptr,this),this}resize(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}restore(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_restore(r,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}restyle(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_save(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_select_mode(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}update(t){_t(t,I);let e=_.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return u(e)}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);var G=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Z.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=_.perspectiveviewerelement___get_model(this.__wbg_ptr);return s.__wrap(t)}addPanel(t,e){let n=_.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}agentConfig(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_agentConfig(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}agentPrompt(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return u(r)}agentReset(){let t=_.perspectiveviewerelement_agentReset(this.__wbg_ptr);return u(t)}connectedCallback(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_connectedCallback(n,this.__wbg_ptr);var t=a().getInt32(n+0,!0),e=a().getInt32(n+4,!0);if(e)throw u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}copy(t){let e=_.perspectiveviewerelement_copy(this.__wbg_ptr,d(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=_.perspectiveviewerelement_delete(t);return u(e)}download(t){let e=_.perspectiveviewerelement_download(this.__wbg_ptr,d(t)?0:c(t));return u(e)}eject(t){let e=_.perspectiveviewerelement_eject(this.__wbg_ptr,d(t)?0:c(t));return u(e)}export(t){let e=_.perspectiveviewerelement_export(this.__wbg_ptr,d(t)?0:c(t));return u(e)}flush(){let t=_.perspectiveviewerelement_flush(this.__wbg_ptr);return u(t)}getActivePanel(){let t=_.perspectiveviewerelement_getActivePanel(this.__wbg_ptr);return u(t)}getAllPlugins(){let t=_.perspectiveviewerelement_getAllPlugins(this.__wbg_ptr);return u(t)}getClient(t){let e=_.perspectiveviewerelement_getClient(this.__wbg_ptr,d(t)?0:c(t));return u(e)}getEditPort(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getFloat64(i+0,!0),n=a().getInt32(i+8,!0),r=a().getInt32(i+12,!0);if(r)throw u(n);return e}finally{_.__wbindgen_add_to_stack_pointer(16)}}getPanelNames(){let t=_.perspectiveviewerelement_getPanelNames(this.__wbg_ptr);return u(t)}getPlugin(t){try{let b=_.__wbindgen_add_to_stack_pointer(-16);var e=d(t)?0:m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v;_.perspectiveviewerelement_getPlugin(b,this.__wbg_ptr,e,n);var r=a().getInt32(b+0,!0),i=a().getInt32(b+4,!0),g=a().getInt32(b+8,!0);if(g)throw u(i);return u(r)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getSelection(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getSelection(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=_.perspectiveviewerelement_getTable(this.__wbg_ptr,d(t)?0:c(t));return u(e)}getThemes(){let t=_.perspectiveviewerelement_getThemes(this.__wbg_ptr);return u(t)}getView(t){let e=_.perspectiveviewerelement_getView(this.__wbg_ptr,d(t)?0:c(t));return u(e)}getViewConfig(t){let e=_.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,d(t)?0:c(t));return u(e)}load(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_load(i,this.__wbg_ptr,c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.perspectiveviewerelement_new(c(t));return this.__wbg_ptr=e>>>0,Z.register(this,this.__wbg_ptr,this),this}removePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return u(r)}reset(t,e){let n=_.perspectiveviewerelement_reset(this.__wbg_ptr,d(t)?16777215:t?1:0,d(e)?0:c(e));return u(n)}resetError(){let t=_.perspectiveviewerelement_resetError(this.__wbg_ptr);return u(t)}resetThemes(t){var e=d(t)?0:ht(t,_.__wbindgen_export),n=v;let r=_.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return u(r)}resize(t){let e=_.perspectiveviewerelement_resize(this.__wbg_ptr,d(t)?0:c(t));return u(e)}restore(t,e){let n=_.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restoreWorkspace(t,e){let n=_.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restyleElement(){let t=_.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return u(t)}save(t){let e=_.perspectiveviewerelement_save(this.__wbg_ptr,d(t)?0:c(t));return u(e)}saveWorkspace(t){let e=_.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,d(t)?0:c(t));return u(e)}setActivePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return u(r)}setAutoPause(t){let e=_.perspectiveviewerelement_setAutoPause(this.__wbg_ptr,t);return u(e)}setAutoSize(t){_.perspectiveviewerelement_setAutoSize(this.__wbg_ptr,t)}setSelection(t,e){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_setSelection(i,this.__wbg_ptr,d(t)?0:c(t),d(e)?0:c(e));var n=a().getInt32(i+0,!0),r=a().getInt32(i+4,!0);if(r)throw u(n)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){_.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!d(t),d(t)?0:t)}toggleColumnSettings(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),r=v,i=_.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,r,d(e)?0:c(e));return u(i)}toggleConfig(t){let e=_.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,d(t)?16777215:t?1:0);return u(e)}};Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);var j=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,tt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_proxysession_free(t,0)}close(){let t=this.__destroy_into_raw(),e=_.proxysession_close(t);return u(e)}handle_request(t){let e=_.proxysession_handle_request(this.__wbg_ptr,c(t));return u(e)}constructor(t,e){try{_t(t,F);let n=_.proxysession_new(t.__wbg_ptr,ot(e));return this.__wbg_ptr=n>>>0,tt.register(this,this.__wbg_ptr,this),this}finally{k[O++]=void 0}}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var z=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,dt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_table_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.table___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}clear(){let t=_.table_clear(this.__wbg_ptr);return u(t)}columns(){let t=_.table_columns(this.__wbg_ptr);return u(t)}delete(t){let e=this.__destroy_into_raw(),n=_.table_delete(e,d(t)?0:c(t));return u(n)}describe(t){let e=_.table_describe(this.__wbg_ptr,d(t)?0:c(t));return u(e)}get_client(){let t=_.table_get_client(this.__wbg_ptr);return u(t)}get_features(){let t=_.table_get_features(this.__wbg_ptr);return u(t)}get_index(){let t=_.table_get_index(this.__wbg_ptr);return u(t)}get_limit(){let t=_.table_get_limit(this.__wbg_ptr);return u(t)}get_name(){let t=_.table_get_name(this.__wbg_ptr);return u(t)}make_port(){let t=_.table_make_port(this.__wbg_ptr);return u(t)}on_delete(t){let e=_.table_on_delete(this.__wbg_ptr,c(t));return u(e)}remove(t,e){let n=_.table_remove(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}remove_delete(t){let e=_.table_remove_delete(this.__wbg_ptr,t);return u(e)}replace(t,e){let n=_.table_replace(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}schema(){let t=_.table_schema(this.__wbg_ptr);return u(t)}size(){let t=_.table_size(this.__wbg_ptr);return u(t)}update(t,e){let n=_.table_update(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}validate_expressions(t){let e=_.table_validate_expressions(this.__wbg_ptr,c(t));return u(e)}view(t){let e=_.table_view(this.__wbg_ptr,d(t)?0:c(t));return u(e)}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var I=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,wt.register(e,e.__wbg_ptr,e),e}static __unwrap(t){return t instanceof s?t.__destroy_into_raw():0}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_view_free(t,0)}__get_model(){let t=_.view___get_model(this.__wbg_ptr);return s.__wrap(t)}__unsafe_get_name(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.view___unsafe_get_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}collapse(t){let e=_.view_collapse(this.__wbg_ptr,t);return u(e)}column_paths(t){let e=_.view_column_paths(this.__wbg_ptr,d(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=_.view_delete(t);return u(e)}dimensions(){let t=_.view_dimensions(this.__wbg_ptr);return u(t)}expand(t){let e=_.view_expand(this.__wbg_ptr,t);return u(e)}expression_schema(){let t=_.view_expression_schema(this.__wbg_ptr);return u(t)}get_config(){let t=_.view_get_config(this.__wbg_ptr);return u(t)}get_min_max(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.view_get_min_max(this.__wbg_ptr,e,n);return u(r)}num_columns(){let t=_.view_num_columns(this.__wbg_ptr);return u(t)}num_rows(){let t=_.view_num_rows(this.__wbg_ptr);return u(t)}on_delete(t){let e=_.view_on_delete(this.__wbg_ptr,c(t));return u(e)}on_remove(t){let e=_.view_on_remove(this.__wbg_ptr,c(t));return u(e)}on_update(t,e){let n=_.view_on_update(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}remove_delete(t){let e=_.view_remove_delete(this.__wbg_ptr,t);return u(e)}remove_remove(t){let e=_.view_remove_remove(this.__wbg_ptr,t);return u(e)}remove_update(t){let e=_.view_remove_update(this.__wbg_ptr,t);return u(e)}schema(){let t=_.view_schema(this.__wbg_ptr);return u(t)}set_depth(t){let e=_.view_set_depth(this.__wbg_ptr,t);return u(e)}to_arrow(t){let e=_.view_to_arrow(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_columns(t){let e=_.view_to_columns(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_columns_string(t){let e=_.view_to_columns_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_csv(t){let e=_.view_to_csv(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json(t){let e=_.view_to_json(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json_string(t){let e=_.view_to_json_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_ndjson(t){let e=_.view_to_ndjson(this.__wbg_ptr,d(t)?0:c(t));return u(e)}with_typed_arrays(t,e){let n=_.view_with_typed_arrays(this.__wbg_ptr,d(t)?0:c(t),c(e));return u(n)}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);var q=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,et.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.virtualdataslice_fromArrowIpc(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.virtualdataslice_new(c(t));return this.__wbg_ptr=e>>>0,et.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,r){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setBooleanCol(b,this.__wbg_ptr,w,p,e,c(n),d(r)?4294967297:r>>>0);var i=a().getInt32(b+0,!0),g=a().getInt32(b+4,!0);if(g)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setCol(t,e,n,r,i){try{let w=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.virtualdataslice_setCol(w,this.__wbg_ptr,p,h,y,x,n,c(r),d(i)?4294967297:i>>>0);var g=a().getInt32(w+0,!0),b=a().getInt32(w+4,!0);if(b)throw u(g)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setDatetimeCol(t,e,n,r){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setDatetimeCol(b,this.__wbg_ptr,w,p,e,c(n),d(r)?4294967297:r>>>0);var i=a().getInt32(b+0,!0),g=a().getInt32(b+4,!0);if(g)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setFloatCol(t,e,n,r){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setFloatCol(b,this.__wbg_ptr,w,p,e,c(n),d(r)?4294967297:r>>>0);var i=a().getInt32(b+0,!0),g=a().getInt32(b+4,!0);if(g)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setIntegerCol(t,e,n,r){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setIntegerCol(b,this.__wbg_ptr,w,p,e,c(n),d(r)?4294967297:r>>>0);var i=a().getInt32(b+0,!0),g=a().getInt32(b+4,!0);if(g)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setStringCol(t,e,n,r){try{let b=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setStringCol(b,this.__wbg_ptr,w,p,e,c(n),d(r)?4294967297:r>>>0);var i=a().getInt32(b+0,!0),g=a().getInt32(b+4,!0);if(g)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(q.prototype[Symbol.dispose]=q.prototype.free);var J=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_virtualserver_free(t,0)}handleRequest(t){let e=ee(t,_.__wbindgen_export),n=v,r=_.virtualserver_handleRequest(this.__wbg_ptr,e,n);return u(r)}constructor(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.virtualserver_new(i,c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,lt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);function At(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getColumnConfigDefaults(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Ft(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getPluginConfigDefaults(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Rt(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.get_wasm_module(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Et(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.get_worker_url(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Tt(s,t){_.init(c(s),c(t))}function Pt(s){let t=m(s,_.__wbindgen_export,_.__wbindgen_export2),e=v;_.registerPlugin(t,e)}function Ot(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setColumnConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function jt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setPluginConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function mt(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=f(t,e);let r=Error(n);return c(r)},__wbg_Number_04624de7d0e8332d:function(t){return Number(o(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=o(e),r=typeof n=="bigint"?n:void 0;a().setBigInt64(t+8,d(r)?BigInt(0):r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=o(t),n=typeof e=="boolean"?e:void 0;return d(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=rt(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_in_47fa6863be6f2f25:function(t,e){return o(t)in o(e)},__wbg___wbindgen_is_bigint_31b12575b56f32fc:function(t){return typeof o(t)=="bigint"},__wbg___wbindgen_is_function_0095a73b8b156f76:function(t){return typeof o(t)=="function"},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return o(t)===null},__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:function(t){let e=o(t);return typeof e=="object"&&e!==null},__wbg___wbindgen_is_string_cd444516edc5b180:function(t){return typeof o(t)=="string"},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return o(t)===void 0},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return o(t)===o(e)},__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:function(t,e){return o(t)==o(e)},__wbg___wbindgen_number_get_8ff4255516ccad3e:function(t,e){let n=o(e),r=typeof n=="number"?n:void 0;a().setFloat64(t+8,d(r)?0:r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=o(e),r=typeof n=="string"?n:void 0;var i=d(r)?0:m(r,_.__wbindgen_export,_.__wbindgen_export2),g=v;a().setInt32(t+4,g,!0),a().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){var n=f(t,e);throw new Error(n)},__wbg__wbg_cb_unref_d9b87ff7982e3b21:function(t){o(t)._wbg_cb_unref()},__wbg_abort_2f0584e03e8e3950:function(t){o(t).abort()},__wbg_addEventListener_3acb0aad4483804c:function(){return l(function(t,e,n,r){var i=f(e,n);o(t).addEventListener(i,o(r))},arguments)},__wbg_addEventListener_5ef04ffb1d3af066:function(){return l(function(t,e,n,r,i){var g=f(e,n);o(t).addEventListener(g,o(r),i!==0)},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return l(function(t,e,n,r,i){var g=f(e,n);o(t).addEventListener(g,o(r),o(i))},arguments)},__wbg_add_2b0552fe2d2151c8:function(t,e){let n=o(t).add(o(e));return c(n)},__wbg_add_5be83378df680c25:function(){return l(function(t,e,n){var r=f(e,n);o(t).add(r)},arguments)},__wbg_adoptedStyleSheets_542d651fbb47685f:function(t){let e=o(t).adoptedStyleSheets;return c(e)},__wbg_adoptedStyleSheets_d149afb005470855:function(t){let e=o(t).adoptedStyleSheets;return c(e)},__wbg_appendChild_dea38765a26d346d:function(){return l(function(t,e){let n=o(t).appendChild(o(e));return c(n)},arguments)},__wbg_append_a992ccc37aa62dc4:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);o(t).append(g,b)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return l(function(t,e,n){let r=Reflect.apply(o(t),o(e),o(n));return c(r)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return l(function(t,e,n){let r=o(t).apply(o(e),o(n));return c(r)},arguments)},__wbg_asyncIterator_58dd45e58aa3721e:function(){return c(Symbol.asyncIterator)},__wbg_at_dfc235641cc0e40c:function(t,e){let n=o(t).at(e);return c(n)},__wbg_attachShadow_d31cd520620b24d6:function(){return l(function(t,e){let n=o(t).attachShadow(o(e));return c(n)},arguments)},__wbg_blur_07f34335e06e5234:function(){return l(function(t){o(t).blur()},arguments)},__wbg_body_3a0b4437dadea6bf:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_bootstrap_382b986e1e31efbf:function(t,e,n,r,i,g){var b=f(e,n),w=f(r,i);let p=ut(o(t),b,w,u(g));return c(p)},__wbg_bottom_c7ec510a18034add:function(t){return o(t).bottom},__wbg_bubbles_ad88192d3c29e6f9:function(t){return o(t).bubbles},__wbg_buffer_26d0910f3a5bc899:function(t){let e=o(t).buffer;return c(e)},__wbg_button_d86841d0a03adc44:function(t){return o(t).button},__wbg_cache_key_b02185c5bc89ef2a:function(t){let e=o(t).__yew_subtree_cache_key;return d(e)?4294967297:e>>>0},__wbg_calculatePath_0a072c9a23a43daa:function(t,e,n){var r=f(e,n);let i=o(t).calculatePath(r);return c(i)},__wbg_calculatePresizePaths_fa3995a71a662898:function(t){let e=o(t).calculatePresizePaths();return c(e)},__wbg_call_389efe28435a9388:function(){return l(function(t,e){let n=o(t).call(o(e));return c(n)},arguments)},__wbg_call_41bedb84c3e5c0c9:function(){return l(function(t,e,n,r,i,g){let b=o(t).call(o(e),o(n),o(r),o(i),o(g));return c(b)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return l(function(t,e,n){let r=o(t).call(o(e),o(n));return c(r)},arguments)},__wbg_call_812d25f1510c13c8:function(){return l(function(t,e,n,r){let i=o(t).call(o(e),o(n),o(r));return c(i)},arguments)},__wbg_cancelBubble_d93ec09e9c46cd6f:function(t){return o(t).cancelBubble},__wbg_checked_04db83ac6810bc82:function(t){return o(t).checked},__wbg_childNodes_75d35de33c9f6fbb:function(t){let e=o(t).childNodes;return c(e)},__wbg_children_54099e7692eefa29:function(t){let e=o(t).children;return c(e)},__wbg_classList_1a87c34c6d81421e:function(t){let e=o(t).classList;return c(e)},__wbg_className_2a1be685f5d518d5:function(t,e){let n=o(e).className,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_clear_415b70bc7390fe71:function(){return l(function(t){let e=o(t).clear();return c(e)},arguments)},__wbg_click_0e9c20848b655ed3:function(t){o(t).click()},__wbg_clientHeight_6432ff0d61ccfe7d:function(t){return o(t).clientHeight},__wbg_clientX_a3c5f4ff30e91264:function(t){return o(t).clientX},__wbg_clientY_e28509acb9b4a42a:function(t){return o(t).clientY},__wbg_client_new:function(t){let e=F.__wrap(t);return c(e)},__wbg_clipboard_98c5a32249fa8416:function(t){let e=o(t).clipboard;return c(e)},__wbg_cloneNode_b85e9102a9a31b29:function(){return l(function(t,e){let n=o(t).cloneNode(e!==0);return c(n)},arguments)},__wbg_cloneNode_eaf4ea08ebf633a5:function(){return l(function(t){let e=o(t).cloneNode();return c(e)},arguments)},__wbg_closest_11206fe6e0fb4e4e:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).closest(r);return d(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=o(e).code,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_column_config_schema_123797d92fc5d02e:function(){return l(function(t,e,n,r,i,g,b,w,p,h,y,x){var C=f(e,n),M=f(r,i),D=f(g,b),It=f(y,x);let kt=o(t).column_config_schema(C,M,D,o(w),o(p),o(h),It);return c(kt)},arguments)},__wbg_composedPath_9154ab2547c668d5:function(t){let e=o(t).composedPath();return c(e)},__wbg_contains_1056459c33f961e8:function(t,e){return o(t).contains(o(e))},__wbg_contains_6f4d5df35ef8a13a:function(t,e,n){var r=f(e,n);return o(t).contains(r)},__wbg_contentRect_30aba4f21fe5367d:function(t){let e=o(t).contentRect;return c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);let w=o(t).createElementNS(g,b);return c(w)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).createElement(r);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return l(function(t,e){let n=URL.createObjectURL(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var r=f(e,n);let i=o(t).createTextNode(r);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return l(function(t){let e=o(t).cssRules;return c(e)},arguments)},__wbg_cssRules_85954e7c284ec53b:function(t){let e=o(t).cssRules;return c(e)},__wbg_cssText_8f3f27e60c824421:function(t,e){let n=o(e).cssText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=o(t).dataTransfer;return d(e)?0:c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=o(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,r){console.debug(o(t),o(e),o(n),o(r))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(o(t))},__wbg_decode_a28a47c6d83f2594:function(){return l(function(t,e,n,r,i){let g=o(e).decode(E(n,r),o(i)),b=m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},arguments)},__wbg_define_panel_tab_2bc1f3573e6b42f3:function(t,e){var n=f(t,e);ct(n)},__wbg_delete_8318b529ff42aa20:function(t,e,n){var r=f(e,n);delete o(t)[r]},__wbg_delete_87659bc186749cfd:function(t){o(t).delete()},__wbg_deselect_1481e7f99212145c:function(){return l(function(t){let e=o(t).deselect();return c(e)},arguments)},__wbg_detail_934cf9545e3214d3:function(t){let e=o(t).detail;return c(e)},__wbg_dispatchEvent_dc8dcc7ddca11378:function(){return l(function(t,e){return o(t).dispatchEvent(o(e))},arguments)},__wbg_document_ee35a3d3ae34ef6c:function(t){let e=o(t).document;return d(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return o(t).done},__wbg_draw_c5e550a8b957a600:function(){return l(function(t,e,n,r,i){let g=o(t).draw(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(g)},arguments)},__wbg_entries_58c7934c745daac7:function(t){let e=Object.entries(o(t));return c(e)},__wbg_error_3c7d958458bf649b:function(t,e){var n=pt(t,e).slice();_.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=f(t,e);t!==0&&_.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,r){console.error(o(t),o(e),o(n),o(r))},__wbg_error_9a7fe3f932034cde:function(t){console.error(o(t))},__wbg_error_f852e41c69b0bd84:function(t,e){console.error(o(t),o(e))},__wbg_fetch_e6e8e0a221783759:function(t,e){let n=o(t).fetch(o(e));return c(n)},__wbg_focus_128ff465f65677cc:function(){return l(function(t){o(t).focus()},arguments)},__wbg_fonts_ba4bc521c555025e:function(t){let e=o(t).fonts;return c(e)},__wbg_format_7c97ddc401dae52f:function(t){let e=o(t).format;return c(e)},__wbg_from_bddd64e7d5ff6941:function(t){let e=Array.from(o(t));return c(e)},__wbg_getAttribute_b9f6fc4b689c71b0:function(t,e,n,r){var i=f(n,r);let g=o(e).getAttribute(i);var b=d(g)?0:m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},__wbg_getBoundingClientRect_b5c8c34d07878818:function(t){let e=o(t).getBoundingClientRect();return c(e)},__wbg_getComputedStyle_2d1f9dfe4ee7e0b9:function(){return l(function(t,e){let n=o(t).getComputedStyle(o(e));return d(n)?0:c(n)},arguments)},__wbg_getContext_2a5764d48600bc43:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).getContext(r);return d(i)?0:c(i)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,r,i){var g=f(e,n),b=f(r,i);let w=o(t).getEntriesByName(g,b);return c(w)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return l(function(t,e,n,r){var i=f(n,r);let g=o(e).getPropertyValue(i),b=m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return l(function(t,e){globalThis.crypto.getRandomValues(E(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=o(t).getReader();return c(e)},__wbg_getRootNode_193e544ed534e810:function(t){let e=o(t).getRootNode();return c(e)},__wbg_getSelection_d345357cda220f17:function(){return l(function(t){let e=o(t).getSelection();return d(e)?0:c(e)},arguments)},__wbg_getTime_1e3cd1391c5c3995:function(t){return o(t).getTime()},__wbg_getTimezoneOffset_81776d10a4ec18a8:function(t){return o(t).getTimezoneOffset()},__wbg_get_5dd1ee4c9f462865:function(t,e,n,r){var i=f(n,r);let g=o(e)[i];var b=d(g)?0:m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var r=f(e,n);let i=o(t)[r];return d(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return l(function(t,e,n,r){var i=f(n,r);let g=o(e).get(i);var b=d(g)?0:m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){let n=o(t)[e>>>0];return c(n)},__wbg_get_b3ed3ad4be2bc8ac:function(){return l(function(t,e){let n=Reflect.get(o(t),o(e));return c(n)},arguments)},__wbg_get_d8db2ad31d529ff8:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_static_config_4452769300e9cd96:function(t){let e=o(t).get_static_config();return c(e)},__wbg_get_with_index_d26da38d2c038e1a:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_with_ref_key_1dc361bd10053bfe:function(t,e){let n=o(t)[o(e)];return c(n)},__wbg_hasAttribute_5d8f52cb4c739280:function(t,e,n){var r=f(e,n);return o(t).hasAttribute(r)},__wbg_has_991efccb5a701a27:function(t,e){return o(t).has(o(e))},__wbg_has_d4e53238966c12b6:function(){return l(function(t,e){return Reflect.has(o(t),o(e))},arguments)},__wbg_headers_59a2938db9f80985:function(t){let e=o(t).headers;return c(e)},__wbg_height_45209601b4c4ede6:function(t){return o(t).height},__wbg_height_c2027cf67d1c9b11:function(t){return o(t).height},__wbg_hidden_8ce6a98b8c12451c:function(t){return o(t).hidden},__wbg_hidePopover_f52b72171825485d:function(){return l(function(t){o(t).hidePopover()},arguments)},__wbg_host_fb29f8be35c2517d:function(t){let e=o(t).host;return c(e)},__wbg_includes_32215c836f1cd3fb:function(t,e,n){return o(t).includes(o(e),n)},__wbg_indexOf_e5f91887d9e5023e:function(t,e,n){return o(t).indexOf(o(e),n)},__wbg_info_148d043840582012:function(t){console.info(o(t))},__wbg_info_9e602cf10c5c690b:function(t,e,n,r){console.info(o(t),o(e),o(n),o(r))},__wbg_innerHeight_54aa104da08becd2:function(){return l(function(t){let e=o(t).innerHeight;return c(e)},arguments)},__wbg_innerWidth_fa95c57321f4f033:function(){return l(function(t){let e=o(t).innerWidth;return c(e)},arguments)},__wbg_insertBefore_1468142836e61a51:function(){return l(function(t,e,n){let r=o(t).insertBefore(o(e),o(n));return c(r)},arguments)},__wbg_insertPanel_b7d65453e106a1b6:function(t,e,n,r,i){var g=f(e,n);let b=o(t).insertPanel(g,u(r),u(i));return c(b)},__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:function(t){let e;try{e=o(t)instanceof ArrayBuffer}catch{e=!1}return e},__wbg_instanceof_Array_d9eac779cd191cbc:function(t){let e;try{e=o(t)instanceof Array}catch{e=!1}return e},__wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d:function(t){let e;try{e=o(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e},__wbg_instanceof_CssGroupingRule_875241920a85dfd7:function(t){let e;try{e=o(t)instanceof CSSGroupingRule}catch{e=!1}return e},__wbg_instanceof_CssImportRule_21bd264cef048043:function(t){let e;try{e=o(t)instanceof CSSImportRule}catch{e=!1}return e},__wbg_instanceof_CssStyleRule_23e59108346af0df:function(t){let e;try{e=o(t)instanceof CSSStyleRule}catch{e=!1}return e},__wbg_instanceof_CssStyleSheet_622aeba16e7e2d66:function(t){let e;try{e=o(t)instanceof CSSStyleSheet}catch{e=!1}return e},__wbg_instanceof_CustomEvent_7dc010f377596c94:function(t){let e;try{e=o(t)instanceof CustomEvent}catch{e=!1}return e},__wbg_instanceof_Date_1b9f15b87f10aa4c:function(t){let e;try{e=o(t)instanceof Date}catch{e=!1}return e},__wbg_instanceof_Element_9e662f49ab6c6beb:function(t){let e;try{e=o(t)instanceof Element}catch{e=!1}return e},__wbg_instanceof_Error_8573fe0b0b480f46:function(t){let e;try{e=o(t)instanceof Error}catch{e=!1}return e},__wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792:function(t){let e;try{e=o(t)instanceof HTMLCanvasElement}catch{e=!1}return e},__wbg_instanceof_HtmlElement_5abfac207260fd6f:function(t){let e;try{e=o(t)instanceof HTMLElement}catch{e=!1}return e},__wbg_instanceof_HtmlInputElement_c10b7260b4e0710a:function(t){let e;try{e=o(t)instanceof HTMLInputElement}catch{e=!1}return e},__wbg_instanceof_HtmlLinkElement_5eb5b0855a17d0fc:function(t){let e;try{e=o(t)instanceof HTMLLinkElement}catch{e=!1}return e},__wbg_instanceof_HtmlSelectElement_a1820832b22b0d1e:function(t){let e;try{e=o(t)instanceof HTMLSelectElement}catch{e=!1}return e},__wbg_instanceof_Map_53af74335dec57f4:function(t){let e;try{e=o(t)instanceof Map}catch{e=!1}return e},__wbg_instanceof_Node_da04bd8df43deba3:function(t){let e;try{e=o(t)instanceof Node}catch{e=!1}return e},__wbg_instanceof_Object_1c6af87502b733ed:function(t){let e;try{e=o(t)instanceof Object}catch{e=!1}return e},__wbg_instanceof_Promise_0094681e3519d6ec:function(t){let e;try{e=o(t)instanceof Promise}catch{e=!1}return e},__wbg_instanceof_Response_ee1d54d79ae41977:function(t){let e;try{e=o(t)instanceof Response}catch{e=!1}return e},__wbg_instanceof_ShadowRoot_5285adde3587c73e:function(t){let e;try{e=o(t)instanceof ShadowRoot}catch{e=!1}return e},__wbg_instanceof_Uint8Array_9b9075935c74707c:function(t){let e;try{e=o(t)instanceof Uint8Array}catch{e=!1}return e},__wbg_instanceof_Window_ed49b2db8df90359:function(t){let e;try{e=o(t)instanceof Window}catch{e=!1}return e},__wbg_isArray_d314bb98fcf08331:function(t){return Array.isArray(o(t))},__wbg_isCollapsed_617e9be3f62f5a25:function(t){return o(t).isCollapsed},__wbg_isConnected_6110bc2c5462f90e:function(t){return o(t).isConnected},__wbg_isContentEditable_f5b0ce009dbd035b:function(t){return o(t).isContentEditable},__wbg_isIntersecting_dae52c84ba717c82:function(t){return o(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(o(t))},__wbg_isSameNode_3caa48d6eb3c880e:function(t,e){return o(t).isSameNode(o(e))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(o(t),o(e))},__wbg_item_48715d3212ed96cb:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_64b77e6a26f7de76:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_iterator_6ff6560ca1568e55:function(){return c(Symbol.iterator)},__wbg_keyCode_155291a11654466e:function(t){return o(t).keyCode},__wbg_key_d41e8e825e6bb0e9:function(t,e){let n=o(e).key,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_keys_b50a709a76add04e:function(t){let e=Object.keys(o(t));return c(e)},__wbg_languages_5a69df7551d1a803:function(t){let e=o(t).languages;return c(e)},__wbg_lastChild_132d67597d5e4aef:function(t){let e=o(t).lastChild;return d(e)?0:c(e)},__wbg_left_3b7c3c1030d5ca7a:function(t){return o(t).left},__wbg_length_25851a48867b2afc:function(t){return o(t).length},__wbg_length_32ed9a279acd054c:function(t){return o(t).length},__wbg_length_35a7bace40f36eac:function(t){return o(t).length},__wbg_length_3f12bc1cab862cc3:function(t){return o(t).length},__wbg_length_e455564ce5cbf46e:function(t){return o(t).length},__wbg_length_edae0cd13a8d3b71:function(t){return o(t).length},__wbg_listener_id_3f13203bf7de1e4d:function(t){let e=o(t).__yew_listener_id;return d(e)?4294967297:e>>>0},__wbg_load_f8d29f3c1bda8dd1:function(t,e,n,r,i){var g=f(e,n),b=f(r,i);let w=o(t).load(g,b);return c(w)},__wbg_mark_3b530a64b09ba08a:function(){return l(function(t,e,n){var r=f(e,n);o(t).mark(r)},arguments)},__wbg_maximize_4d6d921c9301bee6:function(t,e,n){var r=f(e,n);o(t).maximize(r)},__wbg_measureText_9d64a92333bd05ee:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).measureText(r);return c(i)},arguments)},__wbg_measure_288b48c082eae0fe:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);o(t).measure(g,b)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=o(t).message;return c(e)},__wbg_minimize_14ccc2ac809a7d39:function(t){o(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=o(e).namespaceURI;var r=d(n)?0:m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_navigator_43be698ba96fc088:function(t){let e=o(t).navigator;return c(e)},__wbg_new_16c83877745f8d12:function(){return l(function(t,e){var n=f(t,e);let r=new InputEvent(n);return c(r)},arguments)},__wbg_new_1d5bd472c706b768:function(){return l(function(){let t=new CSSStyleSheet;return c(t)},arguments)},__wbg_new_245cd5c49157e602:function(t){let e=new Date(o(t));return c(e)},__wbg_new_2ec3ec8c398b20d2:function(){return l(function(){let t=new TextDecoder;return c(t)},arguments)},__wbg_new_361308b2356cecd0:function(){let t=new Object;return c(t)},__wbg_new_384a230f8673183c:function(){return l(function(t,e){var n=f(t,e);let r=new CustomEvent(n);return c(r)},arguments)},__wbg_new_3eb36ae241fe6f44:function(){let t=new Array;return c(t)},__wbg_new_406106b44b3d11fa:function(t){let e=new Set(o(t));return c(e)},__wbg_new_64284bd487f9d239:function(){return l(function(){let t=new Headers;return c(t)},arguments)},__wbg_new_72b49615380db768:function(t,e){var n=f(t,e);let r=new Error(n);return c(r)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(o(t),o(e));return c(n)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},r=(g,b)=>{let w=n.a;n.a=0;try{return Bt(w,n.b,g,b)}finally{n.a=w}};let i=new Promise(r);return c(i)}finally{n.a=n.b=0}},__wbg_new_b949e7f56150a5d1:function(){return l(function(){let t=new AbortController;return c(t)},arguments)},__wbg_new_baaf0b3192575816:function(t){let e=new it(o(t));return c(e)},__wbg_new_c155239f1b113b68:function(t,e){let n=new Intl.DateTimeFormat(o(t),o(e));return c(n)},__wbg_new_cda4bf7a742e4f16:function(t){let e=new at(o(t));return c(e)},__wbg_new_dca287b076112a51:function(){return c(new Map)},__wbg_new_dd2b680c8bf6ae29:function(t){let e=new Uint8Array(o(t));return c(e)},__wbg_new_ead99299dcf0bd32:function(t){let e=new st(o(t));return c(e)},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){let n=new Uint8Array(E(t,e));return c(n)},__wbg_new_no_args_1c7c842f08d00ebb:function(t,e){var n=f(t,e);let r=new Function(n);return c(r)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return l(function(t,e,n){var r=f(t,e);let i=new CustomEvent(r,o(n));return c(i)},arguments)},__wbg_new_with_length_1763c527b2923202:function(t){let e=new Array(t>>>0);return c(e)},__wbg_new_with_str_and_init_a61cbc6bdef21614:function(){return l(function(t,e,n){var r=f(t,e);let i=new Request(r,o(n));return c(i)},arguments)},__wbg_new_with_str_sequence_and_options_9b8b0bee99ec6b0f:function(){return l(function(t,e){let n=new Blob(o(t),o(e));return c(n)},arguments)},__wbg_new_with_u8_array_sequence_08b2096a9f3117c0:function(){return l(function(t){let e=new Blob(o(t));return c(e)},arguments)},__wbg_nextSibling_2e988d9bbe3e06f0:function(t){let e=o(t).nextSibling;return d(e)?0:c(e)},__wbg_next_3482f54c49e8af19:function(){return l(function(t){let e=o(t).next();return c(e)},arguments)},__wbg_next_418f80d8f5303233:function(t){let e=o(t).next;return c(e)},__wbg_now_a3af9a2f4bbaa4d1:function(){return Date.now()},__wbg_now_ebffdf7e580f210d:function(t){return o(t).now()},__wbg_observe_4888bc3caa75ffc3:function(t,e){o(t).observe(o(e))},__wbg_observe_8b166881309eef22:function(t,e){o(t).observe(o(e))},__wbg_of_f915f7cd925b21a5:function(t){let e=Array.of(o(t));return c(e)},__wbg_offsetHeight_34f7abc1686733cc:function(t){return o(t).offsetHeight},__wbg_offsetParent_9627ebca6b03e8b2:function(t){let e=o(t).offsetParent;return d(e)?0:c(e)},__wbg_offsetWidth_f37b33a53e513101:function(t){return o(t).offsetWidth},__wbg_offsetX_b76b9bb1f9235de9:function(t){return o(t).offsetX},__wbg_offsetY_db5c1ddb866e1b82:function(t){return o(t).offsetY},__wbg_ok_87f537440a0acf85:function(t){return o(t).ok},__wbg_parentElement_75863410a8617953:function(t){let e=o(t).parentElement;return d(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=o(t).parentNode;return d(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return l(function(t,e){var n=f(t,e);let r=JSON.parse(n);return c(r)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=o(t).performance;return d(e)?0:c(e)},__wbg_plugin_config_schema_6131121a2c9b6b65:function(){return l(function(t,e,n){let r=o(t).plugin_config_schema(o(e),o(n));return c(r)},arguments)},__wbg_pointerId_466b1bdcaf2fe835:function(t){return o(t).pointerId},__wbg_pop_80fa29128215a463:function(t){let e=o(t).pop();return c(e)},__wbg_prepend_12ed960547d9dfe1:function(){return l(function(t,e){o(t).prepend(o(e))},arguments)},__wbg_presize_97ab9b7d339cb61d:function(){return l(function(t,e,n){let r=o(t).presize(e,n);return c(r)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){o(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(E(t,e),o(n))},__wbg_push_8ffdcb2063340ba5:function(t,e){return o(t).push(o(e))},__wbg_querySelectorAll_1283aae52043a951:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelectorAll_5875742f4e11f759:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_queueMicrotask_0aa0a927f78f5d98:function(t){let e=o(t).queueMicrotask;return c(e)},__wbg_queueMicrotask_5bb536982f78a56f:function(t){queueMicrotask(o(t))},__wbg_readText_b9ac81623f153a62:function(t){let e=o(t).readText();return c(e)},__wbg_read_68fd377df67e19b0:function(t){let e=o(t).read();return c(e)},__wbg_readyState_cf11f0728fc7b46c:function(t,e){let n=o(e).readyState,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_realCoordinates_d1650be98f8b05d5:function(t,e){let n=o(t).realCoordinates(o(e));return c(n)},__wbg_reject_a2176de7f1212be5:function(t){let e=Promise.reject(o(t));return c(e)},__wbg_relatedTarget_1557cded94b97af2:function(t){let e=o(t).relatedTarget;return d(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return l(function(t,e){o(t).releasePointerCapture(e)},arguments)},__wbg_removeAllRanges_39254b77dc6257ab:function(){return l(function(t){o(t).removeAllRanges()},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return l(function(t,e,n){var r=f(e,n);o(t).removeAttribute(r)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return l(function(t,e){let n=o(t).removeChild(o(e));return c(n)},arguments)},__wbg_removeEventListener_0c0902ed5009dd9f:function(){return l(function(t,e,n,r,i){var g=f(e,n);o(t).removeEventListener(g,o(r),i!==0)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return l(function(t,e,n,r){var i=f(e,n);o(t).removeEventListener(i,o(r))},arguments)},__wbg_removePanel_d5a9f8e0fb202d12:function(t,e,n){var r=f(e,n);let i=o(t).removePanel(r);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return l(function(t,e,n,r){var i=f(n,r);let g=o(e).removeProperty(i),b=m(g,_.__wbindgen_export,_.__wbindgen_export2),w=v;a().setInt32(t+4,w,!0),a().setInt32(t+0,b,!0)},arguments)},__wbg_remove_31c39325eee968fc:function(t){o(t).remove()},__wbg_remove_f9451697e0bc6ca0:function(){return l(function(t,e,n){var r=f(e,n);o(t).remove(r)},arguments)},__wbg_render_9e6659e05fa89e30:function(){return l(function(t,e,n){let r=o(t).render(I.__wrap(e),u(n));return c(r)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return l(function(t,e,n){var r=f(e,n);o(t).replaceSync(r)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return l(function(t,e){return o(t).requestAnimationFrame(o(e))},arguments)},__wbg_resize_9c80ee9a0b8cafff:function(){return l(function(t){let e=o(t).resize();return c(e)},arguments)},__wbg_resolve_002c4b7d9d8f6b64:function(t){let e=Promise.resolve(o(t));return c(e)},__wbg_resolvedOptions_4c36dbfa1c4ba2bf:function(t){let e=o(t).resolvedOptions();return c(e)},__wbg_restorePhysics_50ba487c3890480a:function(t,e){o(t).restorePhysics(o(e))},__wbg_restoreSync_ff5b54866437011a:function(t,e){o(t).restoreSync(o(e))},__wbg_restore_a63b4e115bb34e8a:function(){return l(function(t,e,n){o(t).restore(o(e),o(n))},arguments)},__wbg_restyle_be2e9d88ea0d1bf8:function(t){o(t).restyle()},__wbg_resumeResize_7e3495c87e63afec:function(t){o(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return o(t).right},__wbg_run_748b6920eb34b566:function(){return l(function(t,e){let n=o(t).run(o(e));return c(n)},arguments)},__wbg_save_0ea3f47892e87cec:function(t){let e=o(t).save();return c(e)},__wbg_scrollHeight_25e40881bfad55b6:function(t){return o(t).scrollHeight},__wbg_scrollLeft_2b817c7719d17438:function(t){return o(t).scrollLeft},__wbg_scrollTop_0a3a77f9fcbe038e:function(t){return o(t).scrollTop},__wbg_scrollTop_4161d2a08060cb06:function(t){return o(t).scrollTop},__wbg_select_893978abf0e7c5f5:function(t,e,n){var r=f(e,n);let i=o(t).select(r);return c(i)},__wbg_select_f96715f412d93f23:function(t){o(t).select()},__wbg_selectedIndex_b1465d243fcb7142:function(t){return o(t).selectedIndex},__wbg_selectionEnd_f3cba543517b4aa8:function(){return l(function(t){let e=o(t).selectionEnd;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return l(function(t){let e=o(t).selectionStart;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=o(e).selectorText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);o(t).setAttribute(g,b)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,r){o(t).setDragImage(o(e),n,r)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return l(function(t,e){o(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);o(t).setProperty(g,b)},arguments)},__wbg_setSelectionRange_301eef1c51e01d2a:function(){return l(function(t,e,n){o(t).setSelectionRange(e>>>0,n>>>0)},arguments)},__wbg_setTimeout_21d8cc2869b34c58:function(t,e){return setTimeout(o(t),e)},__wbg_setTimeout_eff32631ea138533:function(){return l(function(t,e,n){return o(t).setTimeout(o(e),n)},arguments)},__wbg_set_1eb0999cf5d27fc8:function(t,e,n){let r=o(t).set(o(e),o(n));return c(r)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){o(t)[u(e)]=u(n)},__wbg_set_6cb8631f80447a67:function(){return l(function(t,e,n){return Reflect.set(o(t),o(e),o(n))},arguments)},__wbg_set_body_9a7e00afe3cfe244:function(t,e){o(t).body=o(e)},__wbg_set_bubbles_739f291693b2bbec:function(t,e){o(t).bubbles=e!==0},__wbg_set_cache_key_ace1fa875f02b7cd:function(t,e){o(t).__yew_subtree_cache_key=e>>>0},__wbg_set_capture_d52e7a585f2933c8:function(t,e){o(t).capture=e!==0},__wbg_set_checked_4b2468680005fbf7:function(t,e){o(t).checked=e!==0},__wbg_set_className_c1d9e7362164af61:function(t,e,n){var r=f(e,n);o(t).className=r},__wbg_set_composed_e4a9826a628ca7f8:function(t,e){o(t).composed=e!==0},__wbg_set_cssText_18380c97092caefa:function(t,e,n){var r=f(e,n);o(t).cssText=r},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return l(function(t,e,n){var r=f(e,n);o(t).defaultValue=r},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){o(t).detail=o(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var r=f(e,n);o(t).dropEffect=r},__wbg_set_f43e577aea94465b:function(t,e,n){o(t)[e>>>0]=u(n)},__wbg_set_fb27b296001e2de9:function(){return l(function(t,e,n,r,i){var g=f(e,n),b=f(r,i);o(t)[g]=b},arguments)},__wbg_set_font_575685c8f7e56957:function(t,e,n){var r=f(e,n);o(t).font=r},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){o(t).headers=o(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var r=f(e,n);o(t).innerHTML=r},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var r=f(e,n);o(t).innerText=r},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){o(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var r=f(e,n);o(t).method=r},__wbg_set_mode_6a55f972d62a3c88:function(t,e){o(t).mode=Ut[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var r=f(e,n);o(t).nodeValue=r},__wbg_set_passive_f411e67e6f28687b:function(t,e){o(t).passive=e!==0},__wbg_set_scrollLeft_8de8fc187e3a6808:function(t,e){o(t).scrollLeft=e},__wbg_set_scrollTop_bebe746cd217a3d1:function(t,e){o(t).scrollTop=e},__wbg_set_scrollTop_fb454582dda63417:function(t,e){o(t).scrollTop=e},__wbg_set_selectionEnd_01e3269db03d5d2e:function(){return l(function(t,e){o(t).selectionEnd=e===4294967297?void 0:e},arguments)},__wbg_set_selectionStart_d68d6955c07c2be1:function(){return l(function(t,e){o(t).selectionStart=e===4294967297?void 0:e},arguments)},__wbg_set_signal_f2d3f8599248896d:function(t,e){o(t).signal=o(e)},__wbg_set_stream_8a7c5f563fa185b4:function(t,e){o(t).stream=e!==0},__wbg_set_subtree_id_8be88ea477740786:function(t,e){o(t).__yew_subtree_id=e>>>0},__wbg_set_type_148de20768639245:function(t,e,n){var r=f(e,n);o(t).type=r},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_c3556fce049236f0:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_shadowRoot_14828067c5922da7:function(t){let e=o(t).shadowRoot;return d(e)?0:c(e)},__wbg_sheet_38c9043b5f37d85d:function(t){let e=o(t).sheet;return d(e)?0:c(e)},__wbg_shiftKey_5558a3288542c985:function(t){return o(t).shiftKey},__wbg_shiftKey_564be91ec842bcc4:function(t){return o(t).shiftKey},__wbg_showPicker_ba1d36381dae3011:function(){return l(function(t){o(t).showPicker()},arguments)},__wbg_showPopover_7166cd0808998024:function(){return l(function(t){o(t).showPopover()},arguments)},__wbg_signal_d1285ecab4ebc5ad:function(t){let e=o(t).signal;return c(e)},__wbg_slot_7d421d6c9d6c8352:function(t,e){let n=o(e).slot,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=o(e).stack,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return o(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return d(t)?0:c(t)},__wbg_static_accessor_PSP_687cd2148e9483ba:function(){return c(X)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return d(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=o(e).statusText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_status_89d7e803db911ee7:function(t){return o(t).status},__wbg_stopPropagation_6e5e2a085214ac63:function(t){o(t).stopPropagation()},__wbg_stringify_2fdc12d5545a89d9:function(){return l(function(t,e,n){let r=JSON.stringify(o(t),o(e),o(n));return c(r)},arguments)},__wbg_stringify_8d1cc6ff383e8bae:function(){return l(function(t){let e=JSON.stringify(o(t));return c(e)},arguments)},__wbg_styleSheet_66d04471448b344e:function(t){let e=o(t).styleSheet;return d(e)?0:c(e)},__wbg_styleSheets_54de627270238f6f:function(t){let e=o(t).styleSheets;return c(e)},__wbg_styleSheets_f6881090d63936f3:function(t){let e=o(t).styleSheets;return c(e)},__wbg_style_0b7c9bd318f8b807:function(t){let e=o(t).style;return c(e)},__wbg_style_fa56cf251a93275a:function(t){let e=o(t).style;return c(e)},__wbg_subtree_id_1739fcadc43deeca:function(t){let e=o(t).__yew_subtree_id;return d(e)?4294967297:e>>>0},__wbg_supportedValuesOf_e97790d81e5cc294:function(t){let e=Intl.supportedValuesOf(o(t));return c(e)},__wbg_table_new:function(t){let e=z.__wrap(t);return c(e)},__wbg_tagName_0cf6d7b647352f04:function(t,e){let n=o(e).tagName,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_target_521be630ab05b11e:function(t){let e=o(t).target;return d(e)?0:c(e)},__wbg_text_083b8727c990c8c0:function(){return l(function(t){let e=o(t).text();return c(e)},arguments)},__wbg_then_0d9fe2c7b1857d32:function(t,e,n){let r=o(t).then(o(e),o(n));return c(r)},__wbg_then_b9e7b3b5f1a9e1b5:function(t,e){let n=o(t).then(o(e));return c(n)},__wbg_timeStamp_ddfe1bf5c2346d68:function(t){return o(t).timeStamp},__wbg_toString_964ff7fe6eca8362:function(t){let e=o(t).toString();return c(e)},__wbg_toggleAttribute_d89e5c9e9053c9c4:function(){return l(function(t,e,n,r){var i=f(e,n);return o(t).toggleAttribute(i,r!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return l(function(t,e,n){var r=f(e,n);return o(t).toggle(r)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return l(function(t,e,n,r){var i=f(e,n);return o(t).toggle(i,r!==0)},arguments)},__wbg_top_3d27ff6f468cf3fc:function(t){return o(t).top},__wbg_trace_9007714a6fbee374:function(t){console.trace(o(t))},__wbg_trace_bd16b570941b54fb:function(t,e,n,r){console.trace(o(t),o(e),o(n),o(r))},__wbg_type_4edffca24c42b74d:function(t,e){let n=o(e).type,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_unobserve_38985a43e0654e89:function(t,e){o(t).unobserve(o(e))},__wbg_unobserve_4c496b8f980e02ff:function(t,e){o(t).unobserve(o(e))},__wbg_update_af83de031ac332a4:function(){return l(function(t,e,n,r,i){let g=o(t).update(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(g)},arguments)},__wbg_valueAsNumber_5292e7ed56db5658:function(t){return o(t).valueAsNumber},__wbg_value_0546255b415e96c1:function(t){let e=o(t).value;return c(e)},__wbg_value_15684899da869c95:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_values_5da93bc719d272cf:function(t){let e=Object.values(o(t));return c(e)},__wbg_view_new:function(t){let e=I.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return I.__unwrap(o(t))},__wbg_virtualdataslice_new:function(t){let e=q.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,r){console.warn(o(t),o(e),o(n),o(r))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(o(t))},__wbg_which_78ecd90ab7c6bdd6:function(t){return o(t).which},__wbg_width_7444cca5dfea0645:function(t){return o(t).width},__wbg_width_9bbf873307a2ac4e:function(t){return o(t).width},__wbg_width_ae46cb8e98ee102f:function(t){return o(t).width},__wbg_write_d429ce72e918e180:function(t,e){let n=o(t).write(o(e));return c(n)},__wbindgen_cast_0000000000000001:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7566,bt);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7566,bt);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,R);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7566,Dt);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7566,Lt);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_20655,Nt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21269,Wt);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21269,zt);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_22680,Mt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_22680,qt);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_27384,Ht);return c(n)},__wbindgen_cast_0000000000000011:function(t){return c(t)},__wbindgen_cast_0000000000000012:function(t){return c(t)},__wbindgen_cast_0000000000000013:function(t,e){var n=f(t,e);return c(n)},__wbindgen_cast_0000000000000014:function(t,e){let n=$t(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=Gt(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Jt(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Xt(t,e);return c(n)},__wbindgen_cast_0000000000000018:function(t,e){let n=E(t,e);return c(n)},__wbindgen_cast_0000000000000019:function(t){let e=BigInt.asUintN(64,t);return c(e)},__wbindgen_cast_000000000000001a:function(t,e){var n=pt(t,e).slice();return _.__wbindgen_export4(t,e*4,4),c(n)},__wbindgen_cast_000000000000001b:function(t,e){var n=E(t,e).slice();return _.__wbindgen_export4(t,e*1,1),c(n)},__wbindgen_object_clone_ref:function(t){let e=o(t);return c(e)},__wbindgen_object_drop_ref:function(t){u(t)},__wbindgen_object_is_undefined:function(t){return o(t)===void 0}}}}function zt(s,t){_.__wasm_bindgen_func_elem_21272(s,t)}function qt(s,t){_.__wasm_bindgen_func_elem_23328(s,t)}function Mt(s,t){let e=_.__wasm_bindgen_func_elem_23327(s,t);return u(e)}function bt(s,t,e){_.__wasm_bindgen_func_elem_8643(s,t,c(e))}function R(s,t,e){_.__wasm_bindgen_func_elem_8644(s,t,c(e))}function Dt(s,t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8645(i,s,t);var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Lt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8641(r,s,t);var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Nt(s,t,e){try{_.__wasm_bindgen_func_elem_20678(s,t,ot(e))}finally{k[O++]=void 0}}function Wt(s,t,e){_.__wasm_bindgen_func_elem_21273(s,t,c(e))}function Ht(s,t,e){_.__wasm_bindgen_func_elem_27386(s,t,c(e))}function Bt(s,t,e,n){_.__wasm_bindgen_func_elem_36185(s,t,c(e),c(n))}var Ut=["open","closed"],Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_client_free(s>>>0,1)),gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_genericsqlvirtualservermodel_free(s>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectivedebugpluginelement_free(s>>>0,1)),Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectiveviewerelement_free(s>>>0,1)),tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_proxysession_free(s>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_table_free(s>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_view_free(s>>>0,1)),et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualdataslice_free(s>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualserver_free(s>>>0,1));function c(s){U===k.length&&k.push(k.length+1);let t=U;return U=k[t],k[t]=s,t}function _t(s,t){if(!(s instanceof t))throw new Error(`expected instance of ${t.name}`)}function ot(s){if(O==1)throw new Error("out of js stack");return k[--O]=s,O}var K=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function rt(s){let t=typeof s;if(t=="number"||t=="boolean"||s==null)return`${s}`;if(t=="string")return`"${s}"`;if(t=="symbol"){let r=s.description;return r==null?"Symbol":`Symbol(${r})`}if(t=="function"){let r=s.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(s)){let r=s.length,i="[";r>0&&(i+=rt(s[0]));for(let g=1;g<r;g++)i+=", "+rt(s[g]);return i+="]",i}let e=/\\[object ([^\\]]+)\\]/.exec(toString.call(s)),n;if(e&&e.length>1)n=e[1];else return toString.call(s);if(n=="Object")try{return"Object("+JSON.stringify(s)+")"}catch{return"Object"}return s instanceof Error?`${s.name}: ${s.message}\n${s.stack}`:n}function Vt(s){s<132||(k[s]=U,U=s)}function $t(s,t){return s=s>>>0,Yt().subarray(s/4,s/4+t)}function Gt(s,t){return s=s>>>0,Kt().subarray(s/8,s/8+t)}function Jt(s,t){return s=s>>>0,Qt().subarray(s/4,s/4+t)}function pt(s,t){s=s>>>0;let e=a(),n=[];for(let r=s;r<s+4*t;r+=4)n.push(u(e.getUint32(r,!0)));return n}function Xt(s,t){return s=s>>>0,te().subarray(s/4,s/4+t)}function E(s,t){return s=s>>>0,P().subarray(s/1,s/1+t)}function f(s,t){return s===0?o(t):Zt(s,t)}var A=null;function a(){return(A===null||A.buffer.detached===!0||A.buffer.detached===void 0&&A.buffer!==_.memory.buffer)&&(A=new DataView(_.memory.buffer)),A}var L=null;function Yt(){return(L===null||L.byteLength===0)&&(L=new Float32Array(_.memory.buffer)),L}var N=null;function Kt(){return(N===null||N.byteLength===0)&&(N=new Float64Array(_.memory.buffer)),N}var W=null;function Qt(){return(W===null||W.byteLength===0)&&(W=new Int32Array(_.memory.buffer)),W}function Zt(s,t){return s=s>>>0,_e(s,t)}var H=null;function te(){return(H===null||H.byteLength===0)&&(H=new Uint32Array(_.memory.buffer)),H}var B=null;function P(){return(B===null||B.byteLength===0)&&(B=new Uint8Array(_.memory.buffer)),B}function o(s){return k[s]}function l(s,t){try{return s.apply(this,t)}catch(e){_.__wbindgen_export3(c(e))}}var k=new Array(128).fill(void 0);k.push(void 0,null,!0,!1);var U=k.length;function d(s){return s==null}function T(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...g)=>{r.cnt++;try{return n(r.a,r.b,...g)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,K.unregister(r))},K.register(i,r,r),i}function S(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...g)=>{r.cnt++;let b=r.a;r.a=0;try{return n(b,r.b,...g)}finally{r.a=b,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,K.unregister(r))},K.register(i,r,r),i}function ee(s,t){let e=t(s.length*1,1)>>>0;return P().set(s,e/1),v=s.length,e}function ht(s,t){let e=t(s.length*4,4)>>>0,n=a();for(let r=0;r<s.length;r++)n.setUint32(e+4*r,c(s[r]),!0);return v=s.length,e}function m(s,t,e){if(e===void 0){let b=vt.encode(s),w=t(b.length,1)>>>0;return P().subarray(w,w+b.length).set(b),v=b.length,w}let n=s.length,r=t(n,1)>>>0,i=P(),g=0;for(;g<n;g++){let b=s.charCodeAt(g);if(b>127)break;i[r+g]=b}if(g!==n){g!==0&&(s=s.slice(g)),r=e(r,n,n=g+s.length*3,1)>>>0;let b=P().subarray(r+g,r+n),w=vt.encodeInto(s,b);g+=w.written,r=e(r,n,g,1)>>>0}return v=g,r}var O=128;function u(s){let t=o(s);return Vt(s),t}var Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Y.decode();var ne=2146435072,nt=0;function _e(s,t){return nt+=t,nt>=ne&&(Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Y.decode(),nt=t),Y.decode(P().subarray(s,s+t))}var vt=new TextEncoder,v=0,re,_;function yt(s,t){return _=s.exports,re=t,A=null,L=null,N=null,W=null,H=null,B=null,_}async function oe(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(r){if(s.ok&&e(s.type)&&s.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n",r);else throw r}let n=await s.arrayBuffer();return await WebAssembly.instantiate(n,t)}else{let n=await WebAssembly.instantiate(s,t);return n instanceof WebAssembly.Instance?{instance:n,module:s}:n}function e(n){switch(n){case"basic":case"cors":case"default":return!0}return!1}}function ce(s){if(_!==void 0)return _;s!==void 0&&(Object.getPrototypeOf(s)===Object.prototype?{module:s}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let t=mt();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));let e=new WebAssembly.Instance(s,t);return yt(e,s)}async function xt(s){if(_!==void 0)return _;s!==void 0&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead"));let t=mt();(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));let{instance:e,module:n}=await oe(await s,t);return yt(e,n)}export{F as Client,V as GenericSQLVirtualServerModel,$ as PerspectiveDebugPluginElement,G as PerspectiveViewerElement,j as ProxySession,z as Table,I as View,q as VirtualDataSlice,J as VirtualServer,xt as default,At as getColumnConfigDefaults,Ft as getPluginConfigDefaults,Rt as get_wasm_module,Et as get_worker_url,Tt as init,ce as initSync,Pt as registerPlugin,Ot as setColumnConfigDefaults,jt as setPluginConfigDefaults};\n';
834
+ var _t = 'var Ct=Object.defineProperty;var At=(a,t)=>{for(var e in t)Ct(a,e,{get:t[e],enumerable:!0})};var X={};At(X,{Client:()=>F,GenericSQLVirtualServerModel:()=>V,PerspectiveDebugPluginElement:()=>$,PerspectiveViewerElement:()=>G,ProxySession:()=>j,Table:()=>z,View:()=>I,VirtualDataSlice:()=>M,VirtualServer:()=>J,default:()=>It,getColumnConfigDefaults:()=>Ft,getPluginConfigDefaults:()=>Rt,get_wasm_module:()=>Et,get_worker_url:()=>Tt,init:()=>Pt,initSync:()=>oe,registerPlugin:()=>Ot,setColumnConfigDefaults:()=>jt,setPluginConfigDefaults:()=>zt});function ct(a){customElements.get(a)||customElements.define(a,class extends HTMLElement{})}var it=window.ResizeObserver;var st=window.IntersectionObserver;function at(a,t){if(!globalThis.ClipboardItem||!globalThis.navigator?.clipboard?.write)throw new Error("Clipboard API unavailable");return navigator.clipboard.write([new ClipboardItem({[a]:t})])}function ut(a,t,e,n){if(customElements.get(t)){console.warn(`Custom element "${t}" is already registered; skipping duplicate registration (Perspective was loaded more than once on this page).`);return}let _=a[e],i=_.prototype;class b extends HTMLElement{constructor(){super(),this._instance=new _(this)}}let g=Object.getOwnPropertyNames(i);for(let w of g)"get"in Object.getOwnPropertyDescriptor(i,w)?Object.defineProperty(b.prototype,w,{get:function(){return this._instance[w]}}):Object.defineProperty(b.prototype,w,{value:function(...v){return this._instance[w].call(this._instance,...v)}});for(let w of n)Object.defineProperty(b,w,{value:function(...v){return a[w].call(a,...v)}});customElements.define(t,b)}var F=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_client_free(t,0)}__getClassname(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.client___getClassname(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}__unsafe_open_view(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.client___unsafe_open_view(this.__wbg_ptr,e,n);return I.__wrap(_)}get_hosted_table_names(){let t=r.client_get_hosted_table_names(this.__wbg_ptr);return u(t)}handle_error(t,e){let n=m(t,r.__wbindgen_export,r.__wbindgen_export2),_=p,i=r.client_handle_error(this.__wbg_ptr,n,_,f(e)?0:c(e));return u(i)}handle_response(t){let e=r.client_handle_response(this.__wbg_ptr,c(t));return u(e)}join(t,e,n,_){let i=m(n,r.__wbindgen_export,r.__wbindgen_export2),b=p,g=r.client_join(this.__wbg_ptr,c(t),c(e),i,b,f(_)?0:c(_));return u(g)}constructor(t,e){try{let b=r.__wbindgen_add_to_stack_pointer(-16);r.client_new(b,c(t),f(e)?0:c(e));var n=s().getInt32(b+0,!0),_=s().getInt32(b+4,!0),i=s().getInt32(b+8,!0);if(i)throw u(_);return this.__wbg_ptr=n>>>0,Q.register(this,this.__wbg_ptr,this),this}finally{r.__wbindgen_add_to_stack_pointer(16)}}new_proxy_session(t){try{let e=r.client_new_proxy_session(this.__wbg_ptr,ot(t));return j.__wrap(e)}finally{k[O++]=void 0}}on_error(t){let e=r.client_on_error(this.__wbg_ptr,c(t));return u(e)}on_hosted_tables_update(t){let e=r.client_on_hosted_tables_update(this.__wbg_ptr,c(t));return u(e)}open_table(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.client_open_table(this.__wbg_ptr,e,n);return u(_)}remove_hosted_tables_update(t){let e=r.client_remove_hosted_tables_update(this.__wbg_ptr,t);return u(e)}system_info(){let t=r.client_system_info(this.__wbg_ptr);return u(t)}table(t,e){let n=r.client_table(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}terminate(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.client_terminate(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=s().getInt32(_+8,!0);if(n)throw u(e);return u(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);var V=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_genericsqlvirtualservermodel_free(t,0)}expressionDescribe(t,e){try{let w=r.__wbindgen_add_to_stack_pointer(-16),v=m(t,r.__wbindgen_export,r.__wbindgen_export2),h=p,y=m(e,r.__wbindgen_export,r.__wbindgen_export2),x=p;r.genericsqlvirtualservermodel_expressionDescribe(w,this.__wbg_ptr,v,h,y,x);var n=s().getInt32(w+0,!0),_=s().getInt32(w+4,!0),i=s().getInt32(w+8,!0),b=s().getInt32(w+12,!0);if(b)throw u(i);var g=d(n,_);return n!==0&&r.__wbindgen_export4(n,_,1),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}expressionsDescribe(t,e){try{let w=r.__wbindgen_add_to_stack_pointer(-16),v=m(t,r.__wbindgen_export,r.__wbindgen_export2),h=p;r.genericsqlvirtualservermodel_expressionsDescribe(w,this.__wbg_ptr,v,h,c(e));var n=s().getInt32(w+0,!0),_=s().getInt32(w+4,!0),i=s().getInt32(w+8,!0),b=s().getInt32(w+12,!0);if(b)throw u(i);var g=d(n,_);return n!==0&&r.__wbindgen_export4(n,_,1),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}getHostedTables(){try{let b=r.__wbindgen_add_to_stack_pointer(-16);r.genericsqlvirtualservermodel_getHostedTables(b,this.__wbg_ptr);var t=s().getInt32(b+0,!0),e=s().getInt32(b+4,!0),n=s().getInt32(b+8,!0),_=s().getInt32(b+12,!0);if(_)throw u(n);var i=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}constructor(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.genericsqlvirtualservermodel_new(i,f(t)?0:c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return this.__wbg_ptr=e>>>0,ft.register(this,this.__wbg_ptr,this),this}finally{r.__wbindgen_add_to_stack_pointer(16)}}quoteEntity(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_quoteEntity(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}tableDescribe(t,e,n,_){try{let h=r.__wbindgen_add_to_stack_pointer(-16),y=m(t,r.__wbindgen_export,r.__wbindgen_export2),x=p;r.genericsqlvirtualservermodel_tableDescribe(h,this.__wbg_ptr,y,x,c(e),c(n),f(_)?16777215:_?1:0);var i=s().getInt32(h+0,!0),b=s().getInt32(h+4,!0),g=s().getInt32(h+8,!0),w=s().getInt32(h+12,!0);if(w)throw u(g);var v=d(i,b);return i!==0&&r.__wbindgen_export4(i,b,1),v}finally{r.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,_,i){try{let y=r.__wbindgen_add_to_stack_pointer(-16),x=m(t,r.__wbindgen_export,r.__wbindgen_export2),C=p,q=m(e,r.__wbindgen_export,r.__wbindgen_export2),D=p;r.genericsqlvirtualservermodel_tableMakeView(y,this.__wbg_ptr,x,C,q,D,c(n),c(_),f(i)?16777215:i?1:0);var b=s().getInt32(y+0,!0),g=s().getInt32(y+4,!0),w=s().getInt32(y+8,!0),v=s().getInt32(y+12,!0);if(v)throw u(w);var h=d(b,g);return b!==0&&r.__wbindgen_export4(b,g,1),h}finally{r.__wbindgen_add_to_stack_pointer(16)}}tablePath(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=yt(t,r.__wbindgen_export),v=p;r.genericsqlvirtualservermodel_tablePath(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}tableSchema(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_tableSchema(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}tableSize(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_tableSize(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewCollapse(t,e,n){try{let v=r.__wbindgen_add_to_stack_pointer(-16),h=m(t,r.__wbindgen_export,r.__wbindgen_export2),y=p;r.genericsqlvirtualservermodel_viewCollapse(v,this.__wbg_ptr,h,y,c(e),n);var _=s().getInt32(v+0,!0),i=s().getInt32(v+4,!0),b=s().getInt32(v+8,!0),g=s().getInt32(v+12,!0);if(g)throw u(b);var w=d(_,i);return _!==0&&r.__wbindgen_export4(_,i,1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewColumnSize(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_viewColumnSize(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewDelete(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_viewDelete(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewExpand(t,e,n){try{let v=r.__wbindgen_add_to_stack_pointer(-16),h=m(t,r.__wbindgen_export,r.__wbindgen_export2),y=p;r.genericsqlvirtualservermodel_viewExpand(v,this.__wbg_ptr,h,y,c(e),n);var _=s().getInt32(v+0,!0),i=s().getInt32(v+4,!0),b=s().getInt32(v+8,!0),g=s().getInt32(v+12,!0);if(g)throw u(b);var w=d(_,i);return _!==0&&r.__wbindgen_export4(_,i,1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,_){try{let h=r.__wbindgen_add_to_stack_pointer(-16),y=m(t,r.__wbindgen_export,r.__wbindgen_export2),x=p;r.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,y,x,c(e),c(n),c(_));var i=s().getInt32(h+0,!0),b=s().getInt32(h+4,!0),g=s().getInt32(h+8,!0),w=s().getInt32(h+12,!0);if(w)throw u(g);var v=d(i,b);return i!==0&&r.__wbindgen_export4(i,b,1),v}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewGetMinMax(t,e,n){try{let v=r.__wbindgen_add_to_stack_pointer(-16),h=m(t,r.__wbindgen_export,r.__wbindgen_export2),y=p,x=m(e,r.__wbindgen_export,r.__wbindgen_export2),C=p;r.genericsqlvirtualservermodel_viewGetMinMax(v,this.__wbg_ptr,h,y,x,C,c(n));var _=s().getInt32(v+0,!0),i=s().getInt32(v+4,!0),b=s().getInt32(v+8,!0),g=s().getInt32(v+12,!0);if(g)throw u(b);var w=d(_,i);return _!==0&&r.__wbindgen_export4(_,i,1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewMakeTable(t,e,n,_,i){try{let y=r.__wbindgen_add_to_stack_pointer(-16),x=m(t,r.__wbindgen_export,r.__wbindgen_export2),C=p,q=m(e,r.__wbindgen_export,r.__wbindgen_export2),D=p;r.genericsqlvirtualservermodel_viewMakeTable(y,this.__wbg_ptr,x,C,q,D,c(n),c(_),c(i));var b=s().getInt32(y+0,!0),g=s().getInt32(y+4,!0),w=s().getInt32(y+8,!0),v=s().getInt32(y+12,!0);if(v)throw u(w);var h=d(b,g);return b!==0&&r.__wbindgen_export4(b,g,1),h}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewSchema(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_viewSchema(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewSetDepth(t,e,n){try{let v=r.__wbindgen_add_to_stack_pointer(-16),h=m(t,r.__wbindgen_export,r.__wbindgen_export2),y=p;r.genericsqlvirtualservermodel_viewSetDepth(v,this.__wbg_ptr,h,y,c(e),n);var _=s().getInt32(v+0,!0),i=s().getInt32(v+4,!0),b=s().getInt32(v+8,!0),g=s().getInt32(v+12,!0);if(g)throw u(b);var w=d(_,i);return _!==0&&r.__wbindgen_export4(_,i,1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}viewSize(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.genericsqlvirtualservermodel_viewSize(g,this.__wbg_ptr,w,v);var e=s().getInt32(g+0,!0),n=s().getInt32(g+4,!0),_=s().getInt32(g+8,!0),i=s().getInt32(g+12,!0);if(i)throw u(_);var b=d(e,n);return e!==0&&r.__wbindgen_export4(e,n,1),b}finally{r.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);var $=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_perspectivedebugpluginelement_free(t,0)}clear(){let t=r.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}get config_column_names(){let t=r.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}connectedCallback(){r.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}delete(){let t=r.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}draw(t){rt(t,I);let e=r.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return u(e)}get min_config_columns(){let t=r.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}get name(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.perspectivedebugpluginelement_name(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=r.perspectivedebugpluginelement_new(c(t));return this.__wbg_ptr=e>>>0,dt.register(this,this.__wbg_ptr,this),this}resize(){let t=r.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}restore(t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.perspectivedebugpluginelement_restore(_,this.__wbg_ptr,f(t)?0:c(t));var e=s().getInt32(_+0,!0),n=s().getInt32(_+4,!0);if(n)throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}restyle(){r.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.perspectivedebugpluginelement_save(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=s().getInt32(_+8,!0);if(n)throw u(e);return u(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.perspectivedebugpluginelement_select_mode(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}update(t){rt(t,I);let e=r.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return u(e)}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);var G=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,Z.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=r.perspectiveviewerelement___get_model(this.__wbg_ptr);return a.__wrap(t)}addPanel(t,e){let n=r.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}agentConfig(t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_agentConfig(_,this.__wbg_ptr,c(t));var e=s().getInt32(_+0,!0),n=s().getInt32(_+4,!0);if(n)throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}agentPrompt(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return u(_)}agentReset(){let t=r.perspectiveviewerelement_agentReset(this.__wbg_ptr);return u(t)}connectedCallback(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_connectedCallback(n,this.__wbg_ptr);var t=s().getInt32(n+0,!0),e=s().getInt32(n+4,!0);if(e)throw u(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}copy(t){let e=r.perspectiveviewerelement_copy(this.__wbg_ptr,f(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=r.perspectiveviewerelement_delete(t);return u(e)}download(t){let e=r.perspectiveviewerelement_download(this.__wbg_ptr,f(t)?0:c(t));return u(e)}eject(t){let e=r.perspectiveviewerelement_eject(this.__wbg_ptr,f(t)?0:c(t));return u(e)}export(t){let e=r.perspectiveviewerelement_export(this.__wbg_ptr,f(t)?0:c(t));return u(e)}flush(){let t=r.perspectiveviewerelement_flush(this.__wbg_ptr);return u(t)}getActivePanel(){let t=r.perspectiveviewerelement_getActivePanel(this.__wbg_ptr);return u(t)}getAllPlugins(){let t=r.perspectiveviewerelement_getAllPlugins(this.__wbg_ptr);return u(t)}getClient(t){let e=r.perspectiveviewerelement_getClient(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getEditPort(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,f(t)?0:c(t));var e=s().getFloat64(i+0,!0),n=s().getInt32(i+8,!0),_=s().getInt32(i+12,!0);if(_)throw u(n);return e}finally{r.__wbindgen_add_to_stack_pointer(16)}}getPanelNames(){let t=r.perspectiveviewerelement_getPanelNames(this.__wbg_ptr);return u(t)}getPlugin(t){try{let g=r.__wbindgen_add_to_stack_pointer(-16);var e=f(t)?0:m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p;r.perspectiveviewerelement_getPlugin(g,this.__wbg_ptr,e,n);var _=s().getInt32(g+0,!0),i=s().getInt32(g+4,!0),b=s().getInt32(g+8,!0);if(b)throw u(i);return u(_)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,f(t)?0:c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getSelection(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_getSelection(i,this.__wbg_ptr,f(t)?0:c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=r.perspectiveviewerelement_getTable(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getThemes(){let t=r.perspectiveviewerelement_getThemes(this.__wbg_ptr);return u(t)}getView(t){let e=r.perspectiveviewerelement_getView(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getViewConfig(t){let e=r.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,f(t)?0:c(t));return u(e)}invalidate(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_invalidate(i,this.__wbg_ptr,f(t)?0:c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}invokeCommand(t,e){try{let i=r.__wbindgen_add_to_stack_pointer(-16),b=m(t,r.__wbindgen_export,r.__wbindgen_export2),g=p;r.perspectiveviewerelement_invokeCommand(i,this.__wbg_ptr,b,g,c(e));var n=s().getInt32(i+0,!0),_=s().getInt32(i+4,!0);if(_)throw u(n)}finally{r.__wbindgen_add_to_stack_pointer(16)}}load(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_load(i,this.__wbg_ptr,c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=r.perspectiveviewerelement_new(c(t));return this.__wbg_ptr=e>>>0,Z.register(this,this.__wbg_ptr,this),this}queryCommands(t,e,n,_){try{let w=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_queryCommands(w,this.__wbg_ptr,c(t),c(e),c(n),c(_));var i=s().getInt32(w+0,!0),b=s().getInt32(w+4,!0),g=s().getInt32(w+8,!0);if(g)throw u(b);return u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}removePanel(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return u(_)}reset(t,e){let n=r.perspectiveviewerelement_reset(this.__wbg_ptr,f(t)?16777215:t?1:0,f(e)?0:c(e));return u(n)}resetError(){let t=r.perspectiveviewerelement_resetError(this.__wbg_ptr);return u(t)}resetThemes(t){var e=f(t)?0:yt(t,r.__wbindgen_export),n=p;let _=r.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return u(_)}resize(t){let e=r.perspectiveviewerelement_resize(this.__wbg_ptr,f(t)?0:c(t));return u(e)}restore(t,e){let n=r.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}restoreWorkspace(t,e){let n=r.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}restyleElement(){let t=r.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return u(t)}save(t){let e=r.perspectiveviewerelement_save(this.__wbg_ptr,f(t)?0:c(t));return u(e)}saveWorkspace(t){let e=r.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,f(t)?0:c(t));return u(e)}setActivePanel(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return u(_)}setAutoPause(t){let e=r.perspectiveviewerelement_setAutoPause(this.__wbg_ptr,t);return u(e)}setAutoSize(t){r.perspectiveviewerelement_setAutoSize(this.__wbg_ptr,t)}setCommandSchema(t,e){try{let b=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_setCommandSchema(b,this.__wbg_ptr,f(t)?0:c(t),f(e)?0:c(e));var n=s().getInt32(b+0,!0),_=s().getInt32(b+4,!0),i=s().getInt32(b+8,!0);if(i)throw u(_);return u(n)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setSelection(t,e){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.perspectiveviewerelement_setSelection(i,this.__wbg_ptr,f(t)?0:c(t),f(e)?0:c(e));var n=s().getInt32(i+0,!0),_=s().getInt32(i+4,!0);if(_)throw u(n)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){r.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!f(t),f(t)?0:t)}showCommandMenu(t,e,n){let _=r.perspectiveviewerelement_showCommandMenu(this.__wbg_ptr,c(t),c(e),c(n));return u(_)}toggleColumnSettings(t,e){let n=m(t,r.__wbindgen_export,r.__wbindgen_export2),_=p,i=r.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,_,f(e)?0:c(e));return u(i)}toggleConfig(t){let e=r.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,f(t)?16777215:t?1:0);return u(e)}};Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);var j=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,tt.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_proxysession_free(t,0)}close(){let t=this.__destroy_into_raw(),e=r.proxysession_close(t);return u(e)}handle_request(t){let e=r.proxysession_handle_request(this.__wbg_ptr,c(t));return u(e)}constructor(t,e){try{rt(t,F);let n=r.proxysession_new(t.__wbg_ptr,ot(e));return this.__wbg_ptr=n>>>0,tt.register(this,this.__wbg_ptr,this),this}finally{k[O++]=void 0}}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var z=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,wt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_table_free(t,0)}__getClassname(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.table___getClassname(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}clear(){let t=r.table_clear(this.__wbg_ptr);return u(t)}columns(){let t=r.table_columns(this.__wbg_ptr);return u(t)}delete(t){let e=this.__destroy_into_raw(),n=r.table_delete(e,f(t)?0:c(t));return u(n)}describe(t){let e=r.table_describe(this.__wbg_ptr,f(t)?0:c(t));return u(e)}get_client(){let t=r.table_get_client(this.__wbg_ptr);return u(t)}get_features(){let t=r.table_get_features(this.__wbg_ptr);return u(t)}get_index(){let t=r.table_get_index(this.__wbg_ptr);return u(t)}get_limit(){let t=r.table_get_limit(this.__wbg_ptr);return u(t)}get_name(){let t=r.table_get_name(this.__wbg_ptr);return u(t)}make_port(){let t=r.table_make_port(this.__wbg_ptr);return u(t)}on_delete(t){let e=r.table_on_delete(this.__wbg_ptr,c(t));return u(e)}remove(t,e){let n=r.table_remove(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}remove_delete(t){let e=r.table_remove_delete(this.__wbg_ptr,t);return u(e)}replace(t,e){let n=r.table_replace(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}schema(){let t=r.table_schema(this.__wbg_ptr);return u(t)}size(){let t=r.table_size(this.__wbg_ptr);return u(t)}update(t,e){let n=r.table_update(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}validate_expressions(t){let e=r.table_validate_expressions(this.__wbg_ptr,c(t));return u(e)}view(t){let e=r.table_view(this.__wbg_ptr,f(t)?0:c(t));return u(e)}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var I=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,lt.register(e,e.__wbg_ptr,e),e}static __unwrap(t){return t instanceof a?t.__destroy_into_raw():0}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_view_free(t,0)}__get_model(){let t=r.view___get_model(this.__wbg_ptr);return a.__wrap(t)}__unsafe_get_name(){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.view___unsafe_get_name(_,this.__wbg_ptr);var t=s().getInt32(_+0,!0),e=s().getInt32(_+4,!0),n=d(t,e);return t!==0&&r.__wbindgen_export4(t,e,1),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}collapse(t){let e=r.view_collapse(this.__wbg_ptr,t);return u(e)}column_paths(t){let e=r.view_column_paths(this.__wbg_ptr,f(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=r.view_delete(t);return u(e)}dimensions(){let t=r.view_dimensions(this.__wbg_ptr);return u(t)}expand(t){let e=r.view_expand(this.__wbg_ptr,t);return u(e)}expression_schema(){let t=r.view_expression_schema(this.__wbg_ptr);return u(t)}get_config(){let t=r.view_get_config(this.__wbg_ptr);return u(t)}get_min_max(t){let e=m(t,r.__wbindgen_export,r.__wbindgen_export2),n=p,_=r.view_get_min_max(this.__wbg_ptr,e,n);return u(_)}num_columns(){let t=r.view_num_columns(this.__wbg_ptr);return u(t)}num_rows(){let t=r.view_num_rows(this.__wbg_ptr);return u(t)}on_delete(t){let e=r.view_on_delete(this.__wbg_ptr,c(t));return u(e)}on_remove(t){let e=r.view_on_remove(this.__wbg_ptr,c(t));return u(e)}on_update(t,e){let n=r.view_on_update(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}remove_delete(t){let e=r.view_remove_delete(this.__wbg_ptr,t);return u(e)}remove_remove(t){let e=r.view_remove_remove(this.__wbg_ptr,t);return u(e)}remove_update(t){let e=r.view_remove_update(this.__wbg_ptr,t);return u(e)}schema(){let t=r.view_schema(this.__wbg_ptr);return u(t)}set_depth(t){let e=r.view_set_depth(this.__wbg_ptr,t);return u(e)}to_arrow(t){let e=r.view_to_arrow(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_columns(t){let e=r.view_to_columns(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_columns_string(t){let e=r.view_to_columns_string(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_csv(t){let e=r.view_to_csv(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_json(t){let e=r.view_to_json(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_json_string(t){let e=r.view_to_json_string(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_ndjson(t){let e=r.view_to_ndjson(this.__wbg_ptr,f(t)?0:c(t));return u(e)}with_typed_arrays(t,e){let n=r.view_with_typed_arrays(this.__wbg_ptr,f(t)?0:c(t),c(e));return u(n)}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);var M=class a{static __wrap(t){t=t>>>0;let e=Object.create(a.prototype);return e.__wbg_ptr=t,et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,et.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.virtualdataslice_fromArrowIpc(_,this.__wbg_ptr,c(t));var e=s().getInt32(_+0,!0),n=s().getInt32(_+4,!0);if(n)throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=r.virtualdataslice_new(c(t));return this.__wbg_ptr=e>>>0,et.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,_){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.virtualdataslice_setBooleanCol(g,this.__wbg_ptr,w,v,e,c(n),f(_)?4294967297:_>>>0);var i=s().getInt32(g+0,!0),b=s().getInt32(g+4,!0);if(b)throw u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setCol(t,e,n,_,i){try{let w=r.__wbindgen_add_to_stack_pointer(-16),v=m(t,r.__wbindgen_export,r.__wbindgen_export2),h=p,y=m(e,r.__wbindgen_export,r.__wbindgen_export2),x=p;r.virtualdataslice_setCol(w,this.__wbg_ptr,v,h,y,x,n,c(_),f(i)?4294967297:i>>>0);var b=s().getInt32(w+0,!0),g=s().getInt32(w+4,!0);if(g)throw u(b)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setDatetimeCol(t,e,n,_){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.virtualdataslice_setDatetimeCol(g,this.__wbg_ptr,w,v,e,c(n),f(_)?4294967297:_>>>0);var i=s().getInt32(g+0,!0),b=s().getInt32(g+4,!0);if(b)throw u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setFloatCol(t,e,n,_){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.virtualdataslice_setFloatCol(g,this.__wbg_ptr,w,v,e,c(n),f(_)?4294967297:_>>>0);var i=s().getInt32(g+0,!0),b=s().getInt32(g+4,!0);if(b)throw u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setIntegerCol(t,e,n,_){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.virtualdataslice_setIntegerCol(g,this.__wbg_ptr,w,v,e,c(n),f(_)?4294967297:_>>>0);var i=s().getInt32(g+0,!0),b=s().getInt32(g+4,!0);if(b)throw u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}setStringCol(t,e,n,_){try{let g=r.__wbindgen_add_to_stack_pointer(-16),w=m(t,r.__wbindgen_export,r.__wbindgen_export2),v=p;r.virtualdataslice_setStringCol(g,this.__wbg_ptr,w,v,e,c(n),f(_)?4294967297:_>>>0);var i=s().getInt32(g+0,!0),b=s().getInt32(g+4,!0);if(b)throw u(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);var J=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,pt.unregister(this),t}free(){let t=this.__destroy_into_raw();r.__wbg_virtualserver_free(t,0)}handleRequest(t){let e=te(t,r.__wbindgen_export),n=p,_=r.virtualserver_handleRequest(this.__wbg_ptr,e,n);return u(_)}constructor(t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.virtualserver_new(i,c(t));var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return this.__wbg_ptr=e>>>0,pt.register(this,this.__wbg_ptr,this),this}finally{r.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);function Ft(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.getColumnConfigDefaults(n);var a=s().getInt32(n+0,!0),t=s().getInt32(n+4,!0),e=s().getInt32(n+8,!0);if(e)throw u(t);return u(a)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function Rt(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.getPluginConfigDefaults(n);var a=s().getInt32(n+0,!0),t=s().getInt32(n+4,!0),e=s().getInt32(n+8,!0);if(e)throw u(t);return u(a)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function Et(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.get_wasm_module(n);var a=s().getInt32(n+0,!0),t=s().getInt32(n+4,!0),e=s().getInt32(n+8,!0);if(e)throw u(t);return u(a)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function Tt(){try{let n=r.__wbindgen_add_to_stack_pointer(-16);r.get_worker_url(n);var a=s().getInt32(n+0,!0),t=s().getInt32(n+4,!0),e=s().getInt32(n+8,!0);if(e)throw u(t);return u(a)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function Pt(a,t){r.init(c(a),c(t))}function Ot(a){let t=m(a,r.__wbindgen_export,r.__wbindgen_export2),e=p;r.registerPlugin(t,e)}function jt(a,t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.setColumnConfigDefaults(_,c(a),f(t)?0:c(t));var e=s().getInt32(_+0,!0),n=s().getInt32(_+4,!0);if(n)throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function zt(a,t){try{let _=r.__wbindgen_add_to_stack_pointer(-16);r.setPluginConfigDefaults(_,c(a),f(t)?0:c(t));var e=s().getInt32(_+0,!0),n=s().getInt32(_+4,!0);if(n)throw u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function ht(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=d(t,e);let _=Error(n);return c(_)},__wbg_Number_04624de7d0e8332d:function(t){return Number(o(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(o(e)),_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=o(e),_=typeof n=="bigint"?n:void 0;s().setBigInt64(t+8,f(_)?BigInt(0):_,!0),s().setInt32(t+0,!f(_),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=o(t),n=typeof e=="boolean"?e:void 0;return f(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=_t(o(e)),_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg___wbindgen_in_47fa6863be6f2f25:function(t,e){return o(t)in o(e)},__wbg___wbindgen_is_bigint_31b12575b56f32fc:function(t){return typeof o(t)=="bigint"},__wbg___wbindgen_is_function_0095a73b8b156f76:function(t){return typeof o(t)=="function"},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return o(t)===null},__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:function(t){let e=o(t);return typeof e=="object"&&e!==null},__wbg___wbindgen_is_string_cd444516edc5b180:function(t){return typeof o(t)=="string"},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return o(t)===void 0},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return o(t)===o(e)},__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:function(t,e){return o(t)==o(e)},__wbg___wbindgen_number_get_8ff4255516ccad3e:function(t,e){let n=o(e),_=typeof n=="number"?n:void 0;s().setFloat64(t+8,f(_)?0:_,!0),s().setInt32(t+0,!f(_),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=o(e),_=typeof n=="string"?n:void 0;var i=f(_)?0:m(_,r.__wbindgen_export,r.__wbindgen_export2),b=p;s().setInt32(t+4,b,!0),s().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){var n=d(t,e);throw new Error(n)},__wbg__wbg_cb_unref_d9b87ff7982e3b21:function(t){o(t)._wbg_cb_unref()},__wbg_abort_2f0584e03e8e3950:function(t){o(t).abort()},__wbg_addEventListener_3acb0aad4483804c:function(){return l(function(t,e,n,_){var i=d(e,n);o(t).addEventListener(i,o(_))},arguments)},__wbg_addEventListener_5ef04ffb1d3af066:function(){return l(function(t,e,n,_,i){var b=d(e,n);o(t).addEventListener(b,o(_),i!==0)},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return l(function(t,e,n,_,i){var b=d(e,n);o(t).addEventListener(b,o(_),o(i))},arguments)},__wbg_add_2b0552fe2d2151c8:function(t,e){let n=o(t).add(o(e));return c(n)},__wbg_add_5be83378df680c25:function(){return l(function(t,e,n){var _=d(e,n);o(t).add(_)},arguments)},__wbg_adoptedStyleSheets_542d651fbb47685f:function(t){let e=o(t).adoptedStyleSheets;return c(e)},__wbg_adoptedStyleSheets_d149afb005470855:function(t){let e=o(t).adoptedStyleSheets;return c(e)},__wbg_appendChild_dea38765a26d346d:function(){return l(function(t,e){let n=o(t).appendChild(o(e));return c(n)},arguments)},__wbg_append_a992ccc37aa62dc4:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);o(t).append(b,g)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return l(function(t,e,n){let _=Reflect.apply(o(t),o(e),o(n));return c(_)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return l(function(t,e,n){let _=o(t).apply(o(e),o(n));return c(_)},arguments)},__wbg_assign_6170c0d04d5c26f4:function(t,e){let n=Object.assign(o(t),o(e));return c(n)},__wbg_asyncIterator_58dd45e58aa3721e:function(){return c(Symbol.asyncIterator)},__wbg_at_dfc235641cc0e40c:function(t,e){let n=o(t).at(e);return c(n)},__wbg_attachShadow_d31cd520620b24d6:function(){return l(function(t,e){let n=o(t).attachShadow(o(e));return c(n)},arguments)},__wbg_blur_07f34335e06e5234:function(){return l(function(t){o(t).blur()},arguments)},__wbg_body_3a0b4437dadea6bf:function(t){let e=o(t).body;return f(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=o(t).body;return f(e)?0:c(e)},__wbg_bootstrap_2a6d707d9930b176:function(t,e,n,_,i,b){var g=d(e,n),w=d(_,i);let v=ut(o(t),g,w,u(b));return c(v)},__wbg_bottom_c7ec510a18034add:function(t){return o(t).bottom},__wbg_bubbles_ad88192d3c29e6f9:function(t){return o(t).bubbles},__wbg_buffer_26d0910f3a5bc899:function(t){let e=o(t).buffer;return c(e)},__wbg_button_d86841d0a03adc44:function(t){return o(t).button},__wbg_cache_key_b02185c5bc89ef2a:function(t){let e=o(t).__yew_subtree_cache_key;return f(e)?4294967297:e>>>0},__wbg_calculatePath_ec4e1b31c2e0e267:function(t,e,n){var _=d(e,n);let i=o(t).calculatePath(_);return c(i)},__wbg_calculatePresizePaths_74530e5aadce2dcf:function(t){let e=o(t).calculatePresizePaths();return c(e)},__wbg_call_389efe28435a9388:function(){return l(function(t,e){let n=o(t).call(o(e));return c(n)},arguments)},__wbg_call_41bedb84c3e5c0c9:function(){return l(function(t,e,n,_,i,b){let g=o(t).call(o(e),o(n),o(_),o(i),o(b));return c(g)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return l(function(t,e,n){let _=o(t).call(o(e),o(n));return c(_)},arguments)},__wbg_call_812d25f1510c13c8:function(){return l(function(t,e,n,_){let i=o(t).call(o(e),o(n),o(_));return c(i)},arguments)},__wbg_cancelBubble_d93ec09e9c46cd6f:function(t){return o(t).cancelBubble},__wbg_checked_04db83ac6810bc82:function(t){return o(t).checked},__wbg_childNodes_75d35de33c9f6fbb:function(t){let e=o(t).childNodes;return c(e)},__wbg_children_54099e7692eefa29:function(t){let e=o(t).children;return c(e)},__wbg_classList_1a87c34c6d81421e:function(t){let e=o(t).classList;return c(e)},__wbg_className_2a1be685f5d518d5:function(t,e){let n=o(e).className,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_clear_8acecf1cd271592d:function(){return l(function(t){let e=o(t).clear();return c(e)},arguments)},__wbg_click_0e9c20848b655ed3:function(t){o(t).click()},__wbg_clientHeight_6432ff0d61ccfe7d:function(t){return o(t).clientHeight},__wbg_clientX_a3c5f4ff30e91264:function(t){return o(t).clientX},__wbg_clientY_e28509acb9b4a42a:function(t){return o(t).clientY},__wbg_client_new:function(t){let e=F.__wrap(t);return c(e)},__wbg_clipboard_98c5a32249fa8416:function(t){let e=o(t).clipboard;return c(e)},__wbg_clipboard_write_635ef00ad4bb61ff:function(){return l(function(t,e,n){var _=d(t,e);let i=at(_,o(n));return c(i)},arguments)},__wbg_cloneNode_b85e9102a9a31b29:function(){return l(function(t,e){let n=o(t).cloneNode(e!==0);return c(n)},arguments)},__wbg_cloneNode_eaf4ea08ebf633a5:function(){return l(function(t){let e=o(t).cloneNode();return c(e)},arguments)},__wbg_close_fad2f0ee451926ed:function(t){o(t).close()},__wbg_closest_11206fe6e0fb4e4e:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).closest(_);return f(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=o(e).code,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_column_config_schema_a1d05ccd83ffadb0:function(){return l(function(t,e,n,_,i,b,g,w,v,h,y,x){var C=d(e,n),q=d(_,i),D=d(b,g),kt=d(y,x);let St=o(t).column_config_schema(C,q,D,o(w),o(v),o(h),kt);return c(St)},arguments)},__wbg_composedPath_9154ab2547c668d5:function(t){let e=o(t).composedPath();return c(e)},__wbg_contains_1056459c33f961e8:function(t,e){return o(t).contains(o(e))},__wbg_contains_6f4d5df35ef8a13a:function(t,e,n){var _=d(e,n);return o(t).contains(_)},__wbg_contentRect_c33dd8c6c98c10ec:function(t){let e=o(t).contentRect;return c(e)},__wbg_contentWindow_9efd0073ff9fa45b:function(t){let e=o(t).contentWindow;return f(e)?0:c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);let w=o(t).createElementNS(b,g);return c(w)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).createElement(_);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return l(function(t,e){let n=URL.createObjectURL(o(e)),_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var _=d(e,n);let i=o(t).createTextNode(_);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return l(function(t){let e=o(t).cssRules;return c(e)},arguments)},__wbg_cssRules_85954e7c284ec53b:function(t){let e=o(t).cssRules;return c(e)},__wbg_cssText_8f3f27e60c824421:function(t,e){let n=o(e).cssText,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=o(t).dataTransfer;return f(e)?0:c(e)},__wbg_data_5330da50312d0bc1:function(t){let e=o(t).data;return c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=o(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,_){console.debug(o(t),o(e),o(n),o(_))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(o(t))},__wbg_decode_a28a47c6d83f2594:function(){return l(function(t,e,n,_,i){let b=o(e).decode(E(n,_),o(i)),g=m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},arguments)},__wbg_define_panel_tab_a022a846f2f3f00c:function(t,e){var n=d(t,e);ct(n)},__wbg_delete_8318b529ff42aa20:function(t,e,n){var _=d(e,n);delete o(t)[_]},__wbg_delete_cb38d3df659ef700:function(t){o(t).delete()},__wbg_deselect_9a4eff6d68982366:function(){return l(function(t){let e=o(t).deselect();return c(e)},arguments)},__wbg_detail_934cf9545e3214d3:function(t){let e=o(t).detail;return c(e)},__wbg_dispatchEvent_dc8dcc7ddca11378:function(){return l(function(t,e){return o(t).dispatchEvent(o(e))},arguments)},__wbg_document_ee35a3d3ae34ef6c:function(t){let e=o(t).document;return f(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return o(t).done},__wbg_draw_da6e3692781f246e:function(){return l(function(t,e,n,_,i){let b=o(t).draw(I.__wrap(e),n===4294967297?void 0:n,_===4294967297?void 0:_,i!==0);return c(b)},arguments)},__wbg_entries_58c7934c745daac7:function(t){let e=Object.entries(o(t));return c(e)},__wbg_error_3c7d958458bf649b:function(t,e){var n=vt(t,e).slice();r.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=d(t,e);t!==0&&r.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,_){console.error(o(t),o(e),o(n),o(_))},__wbg_error_9a7fe3f932034cde:function(t){console.error(o(t))},__wbg_error_f852e41c69b0bd84:function(t,e){console.error(o(t),o(e))},__wbg_fetch_e6e8e0a221783759:function(t,e){let n=o(t).fetch(o(e));return c(n)},__wbg_focus_128ff465f65677cc:function(){return l(function(t){o(t).focus()},arguments)},__wbg_fonts_ba4bc521c555025e:function(t){let e=o(t).fonts;return c(e)},__wbg_format_7c97ddc401dae52f:function(t){let e=o(t).format;return c(e)},__wbg_from_bddd64e7d5ff6941:function(t){let e=Array.from(o(t));return c(e)},__wbg_getAttribute_b9f6fc4b689c71b0:function(t,e,n,_){var i=d(n,_);let b=o(e).getAttribute(i);var g=f(b)?0:m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},__wbg_getBoundingClientRect_b5c8c34d07878818:function(t){let e=o(t).getBoundingClientRect();return c(e)},__wbg_getComputedStyle_2d1f9dfe4ee7e0b9:function(){return l(function(t,e){let n=o(t).getComputedStyle(o(e));return f(n)?0:c(n)},arguments)},__wbg_getContext_2a5764d48600bc43:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).getContext(_);return f(i)?0:c(i)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,_,i){var b=d(e,n),g=d(_,i);let w=o(t).getEntriesByName(b,g);return c(w)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return l(function(t,e,n,_){var i=d(n,_);let b=o(e).getPropertyValue(i),g=m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return l(function(t,e){globalThis.crypto.getRandomValues(E(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=o(t).getReader();return c(e)},__wbg_getRootNode_193e544ed534e810:function(t){let e=o(t).getRootNode();return c(e)},__wbg_getSelection_d345357cda220f17:function(){return l(function(t){let e=o(t).getSelection();return f(e)?0:c(e)},arguments)},__wbg_getTime_1e3cd1391c5c3995:function(t){return o(t).getTime()},__wbg_getTimezoneOffset_81776d10a4ec18a8:function(t){return o(t).getTimezoneOffset()},__wbg_get_0bdeda968867e10e:function(){return l(function(t,e){let n=Reflect.get(o(t),e>>>0);return c(n)},arguments)},__wbg_get_5dd1ee4c9f462865:function(t,e,n,_){var i=d(n,_);let b=o(e)[i];var g=f(b)?0:m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var _=d(e,n);let i=o(t)[_];return f(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return l(function(t,e,n,_){var i=d(n,_);let b=o(e).get(i);var g=f(b)?0:m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){let n=o(t)[e>>>0];return c(n)},__wbg_get_b3ed3ad4be2bc8ac:function(){return l(function(t,e){let n=Reflect.get(o(t),o(e));return c(n)},arguments)},__wbg_get_d8db2ad31d529ff8:function(t,e){let n=o(t)[e>>>0];return f(n)?0:c(n)},__wbg_get_static_config_2fb609fb313e5ab8:function(t){let e=o(t).get_static_config();return c(e)},__wbg_get_with_index_d26da38d2c038e1a:function(t,e){let n=o(t)[e>>>0];return f(n)?0:c(n)},__wbg_get_with_ref_key_1dc361bd10053bfe:function(t,e){let n=o(t)[o(e)];return c(n)},__wbg_hasAttribute_5d8f52cb4c739280:function(t,e,n){var _=d(e,n);return o(t).hasAttribute(_)},__wbg_has_991efccb5a701a27:function(t,e){return o(t).has(o(e))},__wbg_has_d4e53238966c12b6:function(){return l(function(t,e){return Reflect.has(o(t),o(e))},arguments)},__wbg_headers_59a2938db9f80985:function(t){let e=o(t).headers;return c(e)},__wbg_height_45209601b4c4ede6:function(t){return o(t).height},__wbg_height_c2027cf67d1c9b11:function(t){return o(t).height},__wbg_hidden_8ce6a98b8c12451c:function(t){return o(t).hidden},__wbg_hidePopover_f52b72171825485d:function(){return l(function(t){o(t).hidePopover()},arguments)},__wbg_hit_test_318eb10b91417fe6:function(){return l(function(t,e,n){let _=o(t).hit_test(e,n);return c(_)},arguments)},__wbg_host_fb29f8be35c2517d:function(t){let e=o(t).host;return c(e)},__wbg_includes_32215c836f1cd3fb:function(t,e,n){return o(t).includes(o(e),n)},__wbg_indexOf_e5f91887d9e5023e:function(t,e,n){return o(t).indexOf(o(e),n)},__wbg_info_148d043840582012:function(t){console.info(o(t))},__wbg_info_9e602cf10c5c690b:function(t,e,n,_){console.info(o(t),o(e),o(n),o(_))},__wbg_innerHeight_54aa104da08becd2:function(){return l(function(t){let e=o(t).innerHeight;return c(e)},arguments)},__wbg_innerWidth_fa95c57321f4f033:function(){return l(function(t){let e=o(t).innerWidth;return c(e)},arguments)},__wbg_insertBefore_1468142836e61a51:function(){return l(function(t,e,n){let _=o(t).insertBefore(o(e),o(n));return c(_)},arguments)},__wbg_insertPanel_f03a21e20c5921df:function(t,e,n,_,i){var b=d(e,n);let g=o(t).insertPanel(b,u(_),u(i));return c(g)},__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:function(t){let e;try{e=o(t)instanceof ArrayBuffer}catch{e=!1}return e},__wbg_instanceof_Array_d9eac779cd191cbc:function(t){let e;try{e=o(t)instanceof Array}catch{e=!1}return e},__wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d:function(t){let e;try{e=o(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e},__wbg_instanceof_CssGroupingRule_875241920a85dfd7:function(t){let e;try{e=o(t)instanceof CSSGroupingRule}catch{e=!1}return e},__wbg_instanceof_CssImportRule_21bd264cef048043:function(t){let e;try{e=o(t)instanceof CSSImportRule}catch{e=!1}return e},__wbg_instanceof_CssStyleRule_23e59108346af0df:function(t){let e;try{e=o(t)instanceof CSSStyleRule}catch{e=!1}return e},__wbg_instanceof_CssStyleSheet_622aeba16e7e2d66:function(t){let e;try{e=o(t)instanceof CSSStyleSheet}catch{e=!1}return e},__wbg_instanceof_CustomEvent_7dc010f377596c94:function(t){let e;try{e=o(t)instanceof CustomEvent}catch{e=!1}return e},__wbg_instanceof_Date_1b9f15b87f10aa4c:function(t){let e;try{e=o(t)instanceof Date}catch{e=!1}return e},__wbg_instanceof_Element_9e662f49ab6c6beb:function(t){let e;try{e=o(t)instanceof Element}catch{e=!1}return e},__wbg_instanceof_Error_8573fe0b0b480f46:function(t){let e;try{e=o(t)instanceof Error}catch{e=!1}return e},__wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792:function(t){let e;try{e=o(t)instanceof HTMLCanvasElement}catch{e=!1}return e},__wbg_instanceof_HtmlElement_5abfac207260fd6f:function(t){let e;try{e=o(t)instanceof HTMLElement}catch{e=!1}return e},__wbg_instanceof_HtmlInputElement_c10b7260b4e0710a:function(t){let e;try{e=o(t)instanceof HTMLInputElement}catch{e=!1}return e},__wbg_instanceof_HtmlLinkElement_5eb5b0855a17d0fc:function(t){let e;try{e=o(t)instanceof HTMLLinkElement}catch{e=!1}return e},__wbg_instanceof_HtmlSelectElement_a1820832b22b0d1e:function(t){let e;try{e=o(t)instanceof HTMLSelectElement}catch{e=!1}return e},__wbg_instanceof_Map_53af74335dec57f4:function(t){let e;try{e=o(t)instanceof Map}catch{e=!1}return e},__wbg_instanceof_Node_da04bd8df43deba3:function(t){let e;try{e=o(t)instanceof Node}catch{e=!1}return e},__wbg_instanceof_Object_1c6af87502b733ed:function(t){let e;try{e=o(t)instanceof Object}catch{e=!1}return e},__wbg_instanceof_Promise_0094681e3519d6ec:function(t){let e;try{e=o(t)instanceof Promise}catch{e=!1}return e},__wbg_instanceof_Response_ee1d54d79ae41977:function(t){let e;try{e=o(t)instanceof Response}catch{e=!1}return e},__wbg_instanceof_ShadowRoot_5285adde3587c73e:function(t){let e;try{e=o(t)instanceof ShadowRoot}catch{e=!1}return e},__wbg_instanceof_Uint8Array_9b9075935c74707c:function(t){let e;try{e=o(t)instanceof Uint8Array}catch{e=!1}return e},__wbg_instanceof_Window_ed49b2db8df90359:function(t){let e;try{e=o(t)instanceof Window}catch{e=!1}return e},__wbg_isArray_d314bb98fcf08331:function(t){return Array.isArray(o(t))},__wbg_isCollapsed_617e9be3f62f5a25:function(t){return o(t).isCollapsed},__wbg_isConnected_6110bc2c5462f90e:function(t){return o(t).isConnected},__wbg_isContentEditable_f5b0ce009dbd035b:function(t){return o(t).isContentEditable},__wbg_isIntersecting_12e0d9feaf791ef9:function(t){return o(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(o(t))},__wbg_isSameNode_3caa48d6eb3c880e:function(t,e){return o(t).isSameNode(o(e))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(o(t),o(e))},__wbg_item_48715d3212ed96cb:function(t,e){let n=o(t).item(e>>>0);return f(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=o(t).item(e>>>0);return f(n)?0:c(n)},__wbg_item_64b77e6a26f7de76:function(t,e){let n=o(t).item(e>>>0);return f(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=o(t).item(e>>>0);return f(n)?0:c(n)},__wbg_iterator_6ff6560ca1568e55:function(){return c(Symbol.iterator)},__wbg_keyCode_155291a11654466e:function(t){return o(t).keyCode},__wbg_key_d41e8e825e6bb0e9:function(t,e){let n=o(e).key,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_keys_b50a709a76add04e:function(t){let e=Object.keys(o(t));return c(e)},__wbg_languages_5a69df7551d1a803:function(t){let e=o(t).languages;return c(e)},__wbg_lastChild_132d67597d5e4aef:function(t){let e=o(t).lastChild;return f(e)?0:c(e)},__wbg_left_3b7c3c1030d5ca7a:function(t){return o(t).left},__wbg_length_25851a48867b2afc:function(t){return o(t).length},__wbg_length_32ed9a279acd054c:function(t){return o(t).length},__wbg_length_35a7bace40f36eac:function(t){return o(t).length},__wbg_length_3f12bc1cab862cc3:function(t){return o(t).length},__wbg_length_e455564ce5cbf46e:function(t){return o(t).length},__wbg_length_edae0cd13a8d3b71:function(t){return o(t).length},__wbg_listener_id_3f13203bf7de1e4d:function(t){let e=o(t).__yew_listener_id;return f(e)?4294967297:e>>>0},__wbg_load_f8d29f3c1bda8dd1:function(t,e,n,_,i){var b=d(e,n),g=d(_,i);let w=o(t).load(b,g);return c(w)},__wbg_mark_3b530a64b09ba08a:function(){return l(function(t,e,n){var _=d(e,n);o(t).mark(_)},arguments)},__wbg_maximize_165146aae8127441:function(t,e,n){var _=d(e,n);o(t).maximize(_)},__wbg_measureText_9d64a92333bd05ee:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).measureText(_);return c(i)},arguments)},__wbg_measure_288b48c082eae0fe:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);o(t).measure(b,g)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=o(t).message;return c(e)},__wbg_minimize_bcdf0c5bfe3a5cd6:function(t){o(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=o(e).namespaceURI;var _=f(n)?0:m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_navigator_43be698ba96fc088:function(t){let e=o(t).navigator;return c(e)},__wbg_new_16c83877745f8d12:function(){return l(function(t,e){var n=d(t,e);let _=new InputEvent(n);return c(_)},arguments)},__wbg_new_1d5bd472c706b768:function(){return l(function(){let t=new CSSStyleSheet;return c(t)},arguments)},__wbg_new_245cd5c49157e602:function(t){let e=new Date(o(t));return c(e)},__wbg_new_2ec3ec8c398b20d2:function(){return l(function(){let t=new TextDecoder;return c(t)},arguments)},__wbg_new_361308b2356cecd0:function(){let t=new Object;return c(t)},__wbg_new_384a230f8673183c:function(){return l(function(t,e){var n=d(t,e);let _=new CustomEvent(n);return c(_)},arguments)},__wbg_new_3eb36ae241fe6f44:function(){let t=new Array;return c(t)},__wbg_new_406106b44b3d11fa:function(t){let e=new Set(o(t));return c(e)},__wbg_new_64284bd487f9d239:function(){return l(function(){let t=new Headers;return c(t)},arguments)},__wbg_new_6f0524fbfa300c47:function(){return l(function(){let t=new MessageChannel;return c(t)},arguments)},__wbg_new_72b49615380db768:function(t,e){var n=d(t,e);let _=new Error(n);return c(_)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(o(t),o(e));return c(n)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_8fec9586bfa334f1:function(t){let e=new st(o(t));return c(e)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},_=(b,g)=>{let w=n.a;n.a=0;try{return Ht(w,n.b,b,g)}finally{n.a=w}};let i=new Promise(_);return c(i)}finally{n.a=n.b=0}},__wbg_new_b949e7f56150a5d1:function(){return l(function(){let t=new AbortController;return c(t)},arguments)},__wbg_new_c155239f1b113b68:function(t,e){let n=new Intl.DateTimeFormat(o(t),o(e));return c(n)},__wbg_new_dca287b076112a51:function(){return c(new Map)},__wbg_new_dd2b680c8bf6ae29:function(t){let e=new Uint8Array(o(t));return c(e)},__wbg_new_f8e621849595859d:function(t){let e=new it(o(t));return c(e)},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){let n=new Uint8Array(E(t,e));return c(n)},__wbg_new_no_args_1c7c842f08d00ebb:function(t,e){var n=d(t,e);let _=new Function(n);return c(_)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return l(function(t,e,n){var _=d(t,e);let i=new CustomEvent(_,o(n));return c(i)},arguments)},__wbg_new_with_str_and_init_a61cbc6bdef21614:function(){return l(function(t,e,n){var _=d(t,e);let i=new Request(_,o(n));return c(i)},arguments)},__wbg_new_with_str_sequence_and_options_9b8b0bee99ec6b0f:function(){return l(function(t,e){let n=new Blob(o(t),o(e));return c(n)},arguments)},__wbg_new_with_u8_array_sequence_08b2096a9f3117c0:function(){return l(function(t){let e=new Blob(o(t));return c(e)},arguments)},__wbg_nextSibling_2e988d9bbe3e06f0:function(t){let e=o(t).nextSibling;return f(e)?0:c(e)},__wbg_next_3482f54c49e8af19:function(){return l(function(t){let e=o(t).next();return c(e)},arguments)},__wbg_next_418f80d8f5303233:function(t){let e=o(t).next;return c(e)},__wbg_now_a3af9a2f4bbaa4d1:function(){return Date.now()},__wbg_now_ebffdf7e580f210d:function(t){return o(t).now()},__wbg_observe_30e2b1d1734b4f5b:function(t,e){o(t).observe(o(e))},__wbg_observe_9eeb06a51ff51720:function(t,e){o(t).observe(o(e))},__wbg_of_f915f7cd925b21a5:function(t){let e=Array.of(o(t));return c(e)},__wbg_offsetHeight_34f7abc1686733cc:function(t){return o(t).offsetHeight},__wbg_offsetParent_9627ebca6b03e8b2:function(t){let e=o(t).offsetParent;return f(e)?0:c(e)},__wbg_offsetWidth_f37b33a53e513101:function(t){return o(t).offsetWidth},__wbg_offsetX_b76b9bb1f9235de9:function(t){return o(t).offsetX},__wbg_offsetY_db5c1ddb866e1b82:function(t){return o(t).offsetY},__wbg_ok_87f537440a0acf85:function(t){return o(t).ok},__wbg_overlay_f897d9506f79ff45:function(t){let e=o(t).overlay;return c(e)},__wbg_parentElement_75863410a8617953:function(t){let e=o(t).parentElement;return f(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=o(t).parentNode;return f(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return l(function(t,e){var n=d(t,e);let _=JSON.parse(n);return c(_)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=o(t).performance;return f(e)?0:c(e)},__wbg_plugin_config_schema_951aaf0c42ce4103:function(){return l(function(t,e,n){let _=o(t).plugin_config_schema(o(e),o(n));return c(_)},arguments)},__wbg_pointerId_466b1bdcaf2fe835:function(t){return o(t).pointerId},__wbg_pop_80fa29128215a463:function(t){let e=o(t).pop();return c(e)},__wbg_port1_6251ddc5cf5c9287:function(t){let e=o(t).port1;return c(e)},__wbg_port2_b2a294b0ede1e13c:function(t){let e=o(t).port2;return c(e)},__wbg_postMessage_99dab4742cd26c46:function(){return l(function(t,e,n,_,i){var b=d(n,_);o(t).postMessage(o(e),b,o(i))},arguments)},__wbg_prepend_12ed960547d9dfe1:function(){return l(function(t,e){o(t).prepend(o(e))},arguments)},__wbg_presize_fabbd48e8f9835bc:function(){return l(function(t,e,n){let _=o(t).presize(e,n);return c(_)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){o(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(E(t,e),o(n))},__wbg_push_8ffdcb2063340ba5:function(t,e){return o(t).push(o(e))},__wbg_querySelectorAll_1283aae52043a951:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).querySelectorAll(_);return c(i)},arguments)},__wbg_querySelectorAll_5875742f4e11f759:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).querySelectorAll(_);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).querySelector(_);return f(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return l(function(t,e,n){var _=d(e,n);let i=o(t).querySelector(_);return f(i)?0:c(i)},arguments)},__wbg_queueMicrotask_0aa0a927f78f5d98:function(t){let e=o(t).queueMicrotask;return c(e)},__wbg_queueMicrotask_5bb536982f78a56f:function(t){queueMicrotask(o(t))},__wbg_readText_b9ac81623f153a62:function(t){let e=o(t).readText();return c(e)},__wbg_read_68fd377df67e19b0:function(t){let e=o(t).read();return c(e)},__wbg_readyState_cf11f0728fc7b46c:function(t,e){let n=o(e).readyState,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_realCoordinates_78d80792fe45c1ac:function(t,e){let n=o(t).realCoordinates(o(e));return c(n)},__wbg_reject_a2176de7f1212be5:function(t){let e=Promise.reject(o(t));return c(e)},__wbg_relatedTarget_1557cded94b97af2:function(t){let e=o(t).relatedTarget;return f(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return l(function(t,e){o(t).releasePointerCapture(e)},arguments)},__wbg_removeAllRanges_39254b77dc6257ab:function(){return l(function(t){o(t).removeAllRanges()},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return l(function(t,e,n){var _=d(e,n);o(t).removeAttribute(_)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return l(function(t,e){let n=o(t).removeChild(o(e));return c(n)},arguments)},__wbg_removeEventListener_0c0902ed5009dd9f:function(){return l(function(t,e,n,_,i){var b=d(e,n);o(t).removeEventListener(b,o(_),i!==0)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return l(function(t,e,n,_){var i=d(e,n);o(t).removeEventListener(i,o(_))},arguments)},__wbg_removePanel_abf8244e1d93ce46:function(t,e,n){var _=d(e,n);let i=o(t).removePanel(_);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return l(function(t,e,n,_){var i=d(n,_);let b=o(e).removeProperty(i),g=m(b,r.__wbindgen_export,r.__wbindgen_export2),w=p;s().setInt32(t+4,w,!0),s().setInt32(t+0,g,!0)},arguments)},__wbg_remove_31c39325eee968fc:function(t){o(t).remove()},__wbg_remove_f9451697e0bc6ca0:function(){return l(function(t,e,n){var _=d(e,n);o(t).remove(_)},arguments)},__wbg_render_413dc7c2163aeef3:function(){return l(function(t,e,n){let _=o(t).render(I.__wrap(e),u(n));return c(_)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return l(function(t,e,n){var _=d(e,n);o(t).replaceSync(_)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return l(function(t,e){return o(t).requestAnimationFrame(o(e))},arguments)},__wbg_resize_9f691e7e5d903fd7:function(){return l(function(t){let e=o(t).resize();return c(e)},arguments)},__wbg_resolve_002c4b7d9d8f6b64:function(t){let e=Promise.resolve(o(t));return c(e)},__wbg_resolvedOptions_4c36dbfa1c4ba2bf:function(t){let e=o(t).resolvedOptions();return c(e)},__wbg_restorePhysics_53be454c7b33c820:function(t,e){o(t).restorePhysics(o(e))},__wbg_restoreSync_a5d618560a9bbd86:function(t,e){o(t).restoreSync(o(e))},__wbg_restore_3de855f8648b36f3:function(){return l(function(t,e,n){o(t).restore(o(e),o(n))},arguments)},__wbg_restyle_3318980da178e2a7:function(t){o(t).restyle()},__wbg_resumeResize_ce0e9532052de7b5:function(t){o(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return o(t).right},__wbg_run_445af8472ad115ff:function(){return l(function(t,e){let n=o(t).run(o(e));return c(n)},arguments)},__wbg_save_05e0270a31077458:function(t){let e=o(t).save();return c(e)},__wbg_scrollHeight_25e40881bfad55b6:function(t){return o(t).scrollHeight},__wbg_scrollLeft_2b817c7719d17438:function(t){return o(t).scrollLeft},__wbg_scrollTop_0a3a77f9fcbe038e:function(t){return o(t).scrollTop},__wbg_scrollTop_4161d2a08060cb06:function(t){return o(t).scrollTop},__wbg_select_18abcadc37ebf538:function(t,e,n){var _=d(e,n);let i=o(t).select(_);return c(i)},__wbg_select_f96715f412d93f23:function(t){o(t).select()},__wbg_selectedIndex_b1465d243fcb7142:function(t){return o(t).selectedIndex},__wbg_selectionEnd_f3cba543517b4aa8:function(){return l(function(t){let e=o(t).selectionEnd;return f(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return l(function(t){let e=o(t).selectionStart;return f(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=o(e).selectorText,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);o(t).setAttribute(b,g)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,_){o(t).setDragImage(o(e),n,_)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return l(function(t,e){o(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);o(t).setProperty(b,g)},arguments)},__wbg_setSelectionRange_301eef1c51e01d2a:function(){return l(function(t,e,n){o(t).setSelectionRange(e>>>0,n>>>0)},arguments)},__wbg_setTimeout_21d8cc2869b34c58:function(t,e){return setTimeout(o(t),e)},__wbg_setTimeout_eff32631ea138533:function(){return l(function(t,e,n){return o(t).setTimeout(o(e),n)},arguments)},__wbg_set_1eb0999cf5d27fc8:function(t,e,n){let _=o(t).set(o(e),o(n));return c(_)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){o(t)[u(e)]=u(n)},__wbg_set_6cb8631f80447a67:function(){return l(function(t,e,n){return Reflect.set(o(t),o(e),o(n))},arguments)},__wbg_set_body_9a7e00afe3cfe244:function(t,e){o(t).body=o(e)},__wbg_set_bubbles_739f291693b2bbec:function(t,e){o(t).bubbles=e!==0},__wbg_set_cache_key_ace1fa875f02b7cd:function(t,e){o(t).__yew_subtree_cache_key=e>>>0},__wbg_set_capture_d52e7a585f2933c8:function(t,e){o(t).capture=e!==0},__wbg_set_checked_4b2468680005fbf7:function(t,e){o(t).checked=e!==0},__wbg_set_className_c1d9e7362164af61:function(t,e,n){var _=d(e,n);o(t).className=_},__wbg_set_composed_e4a9826a628ca7f8:function(t,e){o(t).composed=e!==0},__wbg_set_cssText_18380c97092caefa:function(t,e,n){var _=d(e,n);o(t).cssText=_},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return l(function(t,e,n){var _=d(e,n);o(t).defaultValue=_},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){o(t).detail=o(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var _=d(e,n);o(t).dropEffect=_},__wbg_set_f43e577aea94465b:function(t,e,n){o(t)[e>>>0]=u(n)},__wbg_set_fb27b296001e2de9:function(){return l(function(t,e,n,_,i){var b=d(e,n),g=d(_,i);o(t)[b]=g},arguments)},__wbg_set_font_575685c8f7e56957:function(t,e,n){var _=d(e,n);o(t).font=_},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){o(t).headers=o(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var _=d(e,n);o(t).innerHTML=_},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var _=d(e,n);o(t).innerText=_},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){o(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var _=d(e,n);o(t).method=_},__wbg_set_mode_6a55f972d62a3c88:function(t,e){o(t).mode=Bt[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var _=d(e,n);o(t).nodeValue=_},__wbg_set_onload_7f48f88f0514211d:function(t,e){o(t).onload=o(e)},__wbg_set_onmessage_0e1ffb1c0d91d2ad:function(t,e){o(t).onmessage=o(e)},__wbg_set_passive_f411e67e6f28687b:function(t,e){o(t).passive=e!==0},__wbg_set_scrollLeft_8de8fc187e3a6808:function(t,e){o(t).scrollLeft=e},__wbg_set_scrollTop_bebe746cd217a3d1:function(t,e){o(t).scrollTop=e},__wbg_set_scrollTop_fb454582dda63417:function(t,e){o(t).scrollTop=e},__wbg_set_selectionEnd_01e3269db03d5d2e:function(){return l(function(t,e){o(t).selectionEnd=e===4294967297?void 0:e},arguments)},__wbg_set_selectionStart_d68d6955c07c2be1:function(){return l(function(t,e){o(t).selectionStart=e===4294967297?void 0:e},arguments)},__wbg_set_signal_f2d3f8599248896d:function(t,e){o(t).signal=o(e)},__wbg_set_stream_8a7c5f563fa185b4:function(t,e){o(t).stream=e!==0},__wbg_set_subtree_id_8be88ea477740786:function(t,e){o(t).__yew_subtree_id=e>>>0},__wbg_set_type_148de20768639245:function(t,e,n){var _=d(e,n);o(t).type=_},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var _=d(e,n);o(t).value=_},__wbg_set_value_c3556fce049236f0:function(t,e,n){var _=d(e,n);o(t).value=_},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var _=d(e,n);o(t).value=_},__wbg_shadowRoot_14828067c5922da7:function(t){let e=o(t).shadowRoot;return f(e)?0:c(e)},__wbg_sheet_38c9043b5f37d85d:function(t){let e=o(t).sheet;return f(e)?0:c(e)},__wbg_shiftKey_5558a3288542c985:function(t){return o(t).shiftKey},__wbg_shiftKey_564be91ec842bcc4:function(t){return o(t).shiftKey},__wbg_showPicker_ba1d36381dae3011:function(){return l(function(t){o(t).showPicker()},arguments)},__wbg_showPopover_7166cd0808998024:function(){return l(function(t){o(t).showPopover()},arguments)},__wbg_signal_d1285ecab4ebc5ad:function(t){let e=o(t).signal;return c(e)},__wbg_slot_7d421d6c9d6c8352:function(t,e){let n=o(e).slot,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=o(e).stack,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return o(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return f(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return f(t)?0:c(t)},__wbg_static_accessor_PSP_ad579a92fa44eb52:function(){return c(X)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return f(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return f(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=o(e).statusText,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_status_89d7e803db911ee7:function(t){return o(t).status},__wbg_stopPropagation_6e5e2a085214ac63:function(t){o(t).stopPropagation()},__wbg_stringify_2fdc12d5545a89d9:function(){return l(function(t,e,n){let _=JSON.stringify(o(t),o(e),o(n));return c(_)},arguments)},__wbg_stringify_8d1cc6ff383e8bae:function(){return l(function(t){let e=JSON.stringify(o(t));return c(e)},arguments)},__wbg_styleSheet_66d04471448b344e:function(t){let e=o(t).styleSheet;return f(e)?0:c(e)},__wbg_styleSheets_54de627270238f6f:function(t){let e=o(t).styleSheets;return c(e)},__wbg_styleSheets_f6881090d63936f3:function(t){let e=o(t).styleSheets;return c(e)},__wbg_style_0b7c9bd318f8b807:function(t){let e=o(t).style;return c(e)},__wbg_style_fa56cf251a93275a:function(t){let e=o(t).style;return c(e)},__wbg_subtree_id_1739fcadc43deeca:function(t){let e=o(t).__yew_subtree_id;return f(e)?4294967297:e>>>0},__wbg_supportedValuesOf_4ed4698dca0c6279:function(t){let e=Intl.supportedValuesOf(o(t));return c(e)},__wbg_table_new:function(t){let e=z.__wrap(t);return c(e)},__wbg_tagName_0cf6d7b647352f04:function(t,e){let n=o(e).tagName,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_target_521be630ab05b11e:function(t){let e=o(t).target;return f(e)?0:c(e)},__wbg_text_083b8727c990c8c0:function(){return l(function(t){let e=o(t).text();return c(e)},arguments)},__wbg_then_0d9fe2c7b1857d32:function(t,e,n){let _=o(t).then(o(e),o(n));return c(_)},__wbg_then_b9e7b3b5f1a9e1b5:function(t,e){let n=o(t).then(o(e));return c(n)},__wbg_timeStamp_ddfe1bf5c2346d68:function(t){return o(t).timeStamp},__wbg_toString_964ff7fe6eca8362:function(t){let e=o(t).toString();return c(e)},__wbg_toggleAttribute_d89e5c9e9053c9c4:function(){return l(function(t,e,n,_){var i=d(e,n);return o(t).toggleAttribute(i,_!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return l(function(t,e,n){var _=d(e,n);return o(t).toggle(_)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return l(function(t,e,n,_){var i=d(e,n);return o(t).toggle(i,_!==0)},arguments)},__wbg_top_3d27ff6f468cf3fc:function(t){return o(t).top},__wbg_trace_9007714a6fbee374:function(t){console.trace(o(t))},__wbg_trace_bd16b570941b54fb:function(t,e,n,_){console.trace(o(t),o(e),o(n),o(_))},__wbg_type_4edffca24c42b74d:function(t,e){let n=o(e).type,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_unobserve_1a7fcd1a65c1b4b7:function(t,e){o(t).unobserve(o(e))},__wbg_unobserve_f612621cc2288a56:function(t,e){o(t).unobserve(o(e))},__wbg_update_44a19267b9c75794:function(){return l(function(t,e,n,_,i){let b=o(t).update(I.__wrap(e),n===4294967297?void 0:n,_===4294967297?void 0:_,i!==0);return c(b)},arguments)},__wbg_valueAsNumber_5292e7ed56db5658:function(t){return o(t).valueAsNumber},__wbg_value_0546255b415e96c1:function(t){let e=o(t).value;return c(e)},__wbg_value_15684899da869c95:function(t,e){let n=o(e).value,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=o(e).value,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=o(e).value,_=m(n,r.__wbindgen_export,r.__wbindgen_export2),i=p;s().setInt32(t+4,i,!0),s().setInt32(t+0,_,!0)},__wbg_values_5da93bc719d272cf:function(t){let e=Object.values(o(t));return c(e)},__wbg_view_new:function(t){let e=I.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return I.__unwrap(o(t))},__wbg_virtualdataslice_new:function(t){let e=M.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,_){console.warn(o(t),o(e),o(n),o(_))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(o(t))},__wbg_which_78ecd90ab7c6bdd6:function(t){return o(t).which},__wbg_width_7444cca5dfea0645:function(t){return o(t).width},__wbg_width_9bbf873307a2ac4e:function(t){return o(t).width},__wbg_width_ae46cb8e98ee102f:function(t){return o(t).width},__wbindgen_cast_0000000000000001:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_7842,bt);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_7842,bt);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_7842,R);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_7842,Lt);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_21462,Nt);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_22081,gt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_22081,gt);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_22081,Mt);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_23473,Dt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=T(t,e,r.__wasm_bindgen_func_elem_23473,qt);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,r.__wasm_bindgen_func_elem_28172,Wt);return c(n)},__wbindgen_cast_0000000000000011:function(t){return c(t)},__wbindgen_cast_0000000000000012:function(t){return c(t)},__wbindgen_cast_0000000000000013:function(t,e){var n=d(t,e);return c(n)},__wbindgen_cast_0000000000000014:function(t,e){let n=Vt(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=$t(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Gt(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Jt(t,e);return c(n)},__wbindgen_cast_0000000000000018:function(t,e){let n=E(t,e);return c(n)},__wbindgen_cast_0000000000000019:function(t){let e=BigInt.asUintN(64,t);return c(e)},__wbindgen_cast_000000000000001a:function(t,e){var n=vt(t,e).slice();return r.__wbindgen_export4(t,e*4,4),c(n)},__wbindgen_cast_000000000000001b:function(t,e){var n=E(t,e).slice();return r.__wbindgen_export4(t,e*1,1),c(n)},__wbindgen_object_clone_ref:function(t){let e=o(t);return c(e)},__wbindgen_object_drop_ref:function(t){u(t)},__wbindgen_object_is_undefined:function(t){return o(t)===void 0}}}}function Mt(a,t){r.__wasm_bindgen_func_elem_22085(a,t)}function qt(a,t){r.__wasm_bindgen_func_elem_24097(a,t)}function Dt(a,t){let e=r.__wasm_bindgen_func_elem_24096(a,t);return u(e)}function bt(a,t,e){r.__wasm_bindgen_func_elem_8959(a,t,c(e))}function R(a,t,e){r.__wasm_bindgen_func_elem_8960(a,t,c(e))}function Lt(a,t){try{let i=r.__wbindgen_add_to_stack_pointer(-16);r.__wasm_bindgen_func_elem_8961(i,a,t);var e=s().getInt32(i+0,!0),n=s().getInt32(i+4,!0),_=s().getInt32(i+8,!0);if(_)throw u(n);return u(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function Nt(a,t,e){try{r.__wasm_bindgen_func_elem_21486(a,t,ot(e))}finally{k[O++]=void 0}}function gt(a,t,e){r.__wasm_bindgen_func_elem_22086(a,t,c(e))}function Wt(a,t,e){r.__wasm_bindgen_func_elem_28174(a,t,c(e))}function Ht(a,t,e,n){r.__wasm_bindgen_func_elem_36995(a,t,c(e),c(n))}var Bt=["open","closed"],Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_client_free(a>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_genericsqlvirtualservermodel_free(a>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_perspectivedebugpluginelement_free(a>>>0,1)),Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_perspectiveviewerelement_free(a>>>0,1)),tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_proxysession_free(a>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_table_free(a>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_view_free(a>>>0,1)),et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_virtualdataslice_free(a>>>0,1)),pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>r.__wbg_virtualserver_free(a>>>0,1));function c(a){U===k.length&&k.push(k.length+1);let t=U;return U=k[t],k[t]=a,t}function rt(a,t){if(!(a instanceof t))throw new Error(`expected instance of ${t.name}`)}function ot(a){if(O==1)throw new Error("out of js stack");return k[--O]=a,O}var K=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(a=>a.dtor(a.a,a.b));function _t(a){let t=typeof a;if(t=="number"||t=="boolean"||a==null)return`${a}`;if(t=="string")return`"${a}"`;if(t=="symbol"){let _=a.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){let _=a.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(a)){let _=a.length,i="[";_>0&&(i+=_t(a[0]));for(let b=1;b<_;b++)i+=", "+_t(a[b]);return i+="]",i}let e=/\\[object ([^\\]]+)\\]/.exec(toString.call(a)),n;if(e&&e.length>1)n=e[1];else return toString.call(a);if(n=="Object")try{return"Object("+JSON.stringify(a)+")"}catch{return"Object"}return a instanceof Error?`${a.name}: ${a.message}\n${a.stack}`:n}function Ut(a){a<132||(k[a]=U,U=a)}function Vt(a,t){return a=a>>>0,Xt().subarray(a/4,a/4+t)}function $t(a,t){return a=a>>>0,Yt().subarray(a/8,a/8+t)}function Gt(a,t){return a=a>>>0,Kt().subarray(a/4,a/4+t)}function vt(a,t){a=a>>>0;let e=s(),n=[];for(let _=a;_<a+4*t;_+=4)n.push(u(e.getUint32(_,!0)));return n}function Jt(a,t){return a=a>>>0,Zt().subarray(a/4,a/4+t)}function E(a,t){return a=a>>>0,P().subarray(a/1,a/1+t)}function d(a,t){return a===0?o(t):Qt(a,t)}var A=null;function s(){return(A===null||A.buffer.detached===!0||A.buffer.detached===void 0&&A.buffer!==r.memory.buffer)&&(A=new DataView(r.memory.buffer)),A}var L=null;function Xt(){return(L===null||L.byteLength===0)&&(L=new Float32Array(r.memory.buffer)),L}var N=null;function Yt(){return(N===null||N.byteLength===0)&&(N=new Float64Array(r.memory.buffer)),N}var W=null;function Kt(){return(W===null||W.byteLength===0)&&(W=new Int32Array(r.memory.buffer)),W}function Qt(a,t){return a=a>>>0,ne(a,t)}var H=null;function Zt(){return(H===null||H.byteLength===0)&&(H=new Uint32Array(r.memory.buffer)),H}var B=null;function P(){return(B===null||B.byteLength===0)&&(B=new Uint8Array(r.memory.buffer)),B}function o(a){return k[a]}function l(a,t){try{return a.apply(this,t)}catch(e){r.__wbindgen_export3(c(e))}}var k=new Array(128).fill(void 0);k.push(void 0,null,!0,!1);var U=k.length;function f(a){return a==null}function T(a,t,e,n){let _={a,b:t,cnt:1,dtor:e},i=(...b)=>{_.cnt++;try{return n(_.a,_.b,...b)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,K.unregister(_))},K.register(i,_,_),i}function S(a,t,e,n){let _={a,b:t,cnt:1,dtor:e},i=(...b)=>{_.cnt++;let g=_.a;_.a=0;try{return n(g,_.b,...b)}finally{_.a=g,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,K.unregister(_))},K.register(i,_,_),i}function te(a,t){let e=t(a.length*1,1)>>>0;return P().set(a,e/1),p=a.length,e}function yt(a,t){let e=t(a.length*4,4)>>>0,n=s();for(let _=0;_<a.length;_++)n.setUint32(e+4*_,c(a[_]),!0);return p=a.length,e}function m(a,t,e){if(e===void 0){let g=mt.encode(a),w=t(g.length,1)>>>0;return P().subarray(w,w+g.length).set(g),p=g.length,w}let n=a.length,_=t(n,1)>>>0,i=P(),b=0;for(;b<n;b++){let g=a.charCodeAt(b);if(g>127)break;i[_+b]=g}if(b!==n){b!==0&&(a=a.slice(b)),_=e(_,n,n=b+a.length*3,1)>>>0;let g=P().subarray(_+b,_+n),w=mt.encodeInto(a,g);b+=w.written,_=e(_,n,b,1)>>>0}return p=b,_}var O=128;function u(a){let t=o(a);return Ut(a),t}var Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Y.decode();var ee=2146435072,nt=0;function ne(a,t){return nt+=t,nt>=ee&&(Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Y.decode(),nt=t),Y.decode(P().subarray(a,a+t))}var mt=new TextEncoder,p=0,re,r;function xt(a,t){return r=a.exports,re=t,A=null,L=null,N=null,W=null,H=null,B=null,r}async function _e(a,t){if(typeof Response=="function"&&a instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(a,t)}catch(_){if(a.ok&&e(a.type)&&a.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n",_);else throw _}let n=await a.arrayBuffer();return await WebAssembly.instantiate(n,t)}else{let n=await WebAssembly.instantiate(a,t);return n instanceof WebAssembly.Instance?{instance:n,module:a}:n}function e(n){switch(n){case"basic":case"cors":case"default":return!0}return!1}}function oe(a){if(r!==void 0)return r;a!==void 0&&(Object.getPrototypeOf(a)===Object.prototype?{module:a}=a:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let t=ht();a instanceof WebAssembly.Module||(a=new WebAssembly.Module(a));let e=new WebAssembly.Instance(a,t);return xt(e,a)}async function It(a){if(r!==void 0)return r;a!==void 0&&(Object.getPrototypeOf(a)===Object.prototype?{module_or_path:a}=a:console.warn("using deprecated parameters for the initialization function; pass a single object instead"));let t=ht();(typeof a=="string"||typeof Request=="function"&&a instanceof Request||typeof URL=="function"&&a instanceof URL)&&(a=fetch(a));let{instance:e,module:n}=await _e(await a,t);return xt(e,n)}export{F as Client,V as GenericSQLVirtualServerModel,$ as PerspectiveDebugPluginElement,G as PerspectiveViewerElement,j as ProxySession,z as Table,I as View,M as VirtualDataSlice,J as VirtualServer,It as default,Ft as getColumnConfigDefaults,Rt as getPluginConfigDefaults,Et as get_wasm_module,Tt as get_worker_url,Pt as init,oe as initSync,Ot as registerPlugin,jt as setColumnConfigDefaults,zt as setPluginConfigDefaults};\n';
823
835
 
824
836
  // worker-stub:./perspective-viewer.worker.ts
825
837
  var R = null;
@@ -850,7 +862,7 @@ jt(async (t) => {
850
862
  function Ut(t) {
851
863
  return typeof t == "object" && !(t instanceof Promise) && !(t instanceof Response) && !(t instanceof ArrayBuffer) && !ArrayBuffer.isView(t);
852
864
  }
853
- async function q(t, e) {
865
+ async function H(t, e) {
854
866
  let n = Ut(t) ? t : { viewer: t }, { viewer: r, migrate: _ } = n;
855
867
  if (r === void 0 && _ === void 0)
856
868
  throw new Error(
@@ -858,7 +870,7 @@ async function q(t, e) {
858
870
  );
859
871
  e !== void 0 && (j = e), await P({ viewer: r, migrate: _ });
860
872
  }
861
- async function H() {
873
+ async function q() {
862
874
  return await U();
863
875
  }
864
876
  async function W(t, e, n) {
@@ -869,20 +881,20 @@ async function B(t, e, n) {
869
881
  }
870
882
 
871
883
  // src/ts/perspective-viewer.ts
872
- var oe = { create_validator: H, init: P, init_client: q, migrate: W, validate: B };
884
+ var oe = { create_validator: q, init: P, init_client: H, migrate: W, validate: B };
873
885
  export {
874
- M as HTMLPerspectiveViewerPluginElement,
886
+ N as HTMLPerspectiveViewerPluginElement,
875
887
  V as PerspectiveSelectDetail,
876
888
  Ft as createDateFormatter,
877
889
  Ot as createDatetimeFormatter,
878
890
  Lt as createNumberFormatter,
879
- H as create_validator,
891
+ q as create_validator,
880
892
  oe as default,
881
893
  P as init,
882
- q as init_client,
894
+ H as init_client,
883
895
  W as migrate,
884
896
  Ct as providers,
885
- zt as sourceColumn,
897
+ Mt as sourceColumn,
886
898
  B as validate
887
899
  };
888
900
  //# sourceMappingURL=perspective-viewer.js.map