@samhammer/tiptob 2.3.6 → 2.3.8

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.
@@ -1,6 +1,6 @@
1
1
  const Fi = "5";
2
2
  typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add(Fi);
3
- const Ln = 1, kn = 2, Mo = 4, Ui = 8, Zi = 16, zi = 1, ji = 2, Wi = 4, Gi = 8, qi = 16, Yi = 4, Ki = 1, Xi = 2, Ho = "[", cr = "[!", dr = "]", it = {}, fe = Symbol(), Ji = "http://www.w3.org/1999/xhtml", ro = !1;
3
+ const Ln = 1, kn = 2, Mo = 4, Ui = 8, Zi = 16, zi = 1, qi = 2, ji = 4, Wi = 8, Gi = 16, Yi = 4, Ki = 1, Xi = 2, Ho = "[", cr = "[!", dr = "]", it = {}, fe = Symbol(), Ji = "http://www.w3.org/1999/xhtml", ro = !1;
4
4
  var gr = Array.isArray, Qi = Array.prototype.indexOf, vr = Array.from, Cn = Object.keys, kt = Object.defineProperty, at = Object.getOwnPropertyDescriptor, ea = Object.getOwnPropertyDescriptors, ta = Object.prototype, na = Array.prototype, Ro = Object.getPrototypeOf, oo = Object.isExtensible;
5
5
  function ra(e) {
6
6
  return typeof e == "function";
@@ -17,7 +17,7 @@ function oa() {
17
17
  });
18
18
  return { promise: n, resolve: e, reject: t };
19
19
  }
20
- const Te = 2, hr = 4, pr = 8, Rt = 16, qe = 32, ct = 64, Io = 128, Ee = 256, En = 512, le = 1024, ye = 2048, dt = 4096, Oe = 8192, gt = 16384, xn = 32768, nn = 65536, io = 1 << 17, ia = 1 << 18, _r = 1 << 19, No = 1 << 20, er = 1 << 21, mr = 1 << 22, lt = 1 << 23, qt = Symbol("$state"), Vo = Symbol("legacy props"), aa = Symbol(""), br = new class extends Error {
20
+ const Te = 2, hr = 4, pr = 8, Rt = 16, Ge = 32, ct = 64, Io = 128, Ee = 256, En = 512, le = 1024, ye = 2048, dt = 4096, Oe = 8192, gt = 16384, xn = 32768, nn = 65536, io = 1 << 17, ia = 1 << 18, _r = 1 << 19, No = 1 << 20, er = 1 << 21, mr = 1 << 22, lt = 1 << 23, Gt = Symbol("$state"), Vo = Symbol("legacy props"), aa = Symbol(""), br = new class extends Error {
21
21
  name = "StaleReactionError";
22
22
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
23
23
  }(), Do = 3, xt = 8;
@@ -61,7 +61,7 @@ function rn(e) {
61
61
  console.warn("https://svelte.dev/e/hydration_mismatch");
62
62
  }
63
63
  let B = !1;
64
- function We(e) {
64
+ function je(e) {
65
65
  B = e;
66
66
  }
67
67
  let F;
@@ -127,7 +127,7 @@ let oe = null;
127
127
  function yn(e) {
128
128
  oe = e;
129
129
  }
130
- function W(e, t = !1, n) {
130
+ function j(e, t = !1, n) {
131
131
  oe = {
132
132
  p: oe,
133
133
  c: null,
@@ -137,7 +137,7 @@ function W(e, t = !1, n) {
137
137
  l: Ot && !t ? { s: null, u: null, $: [] } : null
138
138
  };
139
139
  }
140
- function G(e) {
140
+ function W(e) {
141
141
  var t = (
142
142
  /** @type {ComponentContext} */
143
143
  oe
@@ -268,7 +268,7 @@ function xa(e, t) {
268
268
  ), c = r.pending;
269
269
  s && (r.update_pending_count(1), c || g.increment());
270
270
  const v = (p, d = void 0) => {
271
- a = null, c || g.activate(), d ? d !== br && (o.f |= lt, en(o, d)) : ((o.f & lt) !== 0 && (o.f ^= lt), en(o, p)), s && (r.update_pending_count(-1), c || g.decrement()), Wo();
271
+ a = null, c || g.activate(), d ? d !== br && (o.f |= lt, en(o, d)) : ((o.f & lt) !== 0 && (o.f ^= lt), en(o, p)), s && (r.update_pending_count(-1), c || g.decrement()), jo();
272
272
  };
273
273
  if (i.then(v, (p) => v(null, p || "unknown")), g)
274
274
  return () => {
@@ -321,7 +321,7 @@ function yr(e) {
321
321
  }
322
322
  return t;
323
323
  }
324
- function jo(e) {
324
+ function qo(e) {
325
325
  var t = yr(e);
326
326
  if (e.equals(t) || (e.v = t, e.wv = si()), !vt)
327
327
  if (Mt !== null)
@@ -348,7 +348,7 @@ function Ma(e, t, n) {
348
348
  } catch (l) {
349
349
  (o.f & gt) === 0 && wr(l, o);
350
350
  }
351
- i?.deactivate(), Wo();
351
+ i?.deactivate(), jo();
352
352
  }).catch((f) => {
353
353
  s.error(f);
354
354
  });
@@ -359,7 +359,7 @@ function Ha() {
359
359
  tt(e), Pe(t), yn(n);
360
360
  };
361
361
  }
362
- function Wo() {
362
+ function jo() {
363
363
  tt(null), Pe(null), yn(null);
364
364
  }
365
365
  const vn = /* @__PURE__ */ new Set();
@@ -480,7 +480,7 @@ class Nt {
480
480
  #g(t) {
481
481
  t.f ^= le;
482
482
  for (var n = t.first; n !== null; ) {
483
- var r = n.f, i = (r & (qe | ct)) !== 0, o = i && (r & le) !== 0, a = o || (r & Oe) !== 0 || this.skipped_effects.has(n);
483
+ var r = n.f, i = (r & (Ge | ct)) !== 0, o = i && (r & le) !== 0, a = o || (r & Oe) !== 0 || this.skipped_effects.has(n);
484
484
  if (!a && n.fn !== null) {
485
485
  if (i)
486
486
  n.f ^= le;
@@ -616,7 +616,7 @@ function Je(e) {
616
616
  var n = t.f;
617
617
  if (nr && t === O && (n & Rt) !== 0)
618
618
  return;
619
- if ((n & (ct | qe)) !== 0) {
619
+ if ((n & (ct | Ge)) !== 0) {
620
620
  if ((n & le) === 0) return;
621
621
  t.f ^= le;
622
622
  }
@@ -637,19 +637,19 @@ function Qt(e, t) {
637
637
  return n;
638
638
  }
639
639
  // @__NO_SIDE_EFFECTS__
640
- function j(e, t) {
640
+ function q(e, t) {
641
641
  const n = Qt(e);
642
642
  return Ba(n), n;
643
643
  }
644
644
  // @__NO_SIDE_EFFECTS__
645
- function Go(e, t = !1, n = !0) {
645
+ function Wo(e, t = !1, n = !0) {
646
646
  const r = Qt(e);
647
647
  return t || (r.equals = Bo), Ot && n && oe !== null && oe.l !== null && (oe.l.s ??= []).push(r), r;
648
648
  }
649
649
  function M(e, t, n = !1) {
650
650
  $ !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
651
651
  // to ensure we error if state is set inside an inspect effect
652
- (!De || ($.f & io) !== 0) && It() && ($.f & (Te | Rt | mr | io)) !== 0 && !Ge?.includes(e) && ma();
652
+ (!De || ($.f & io) !== 0) && It() && ($.f & (Te | Rt | mr | io)) !== 0 && !We?.includes(e) && ma();
653
653
  let r = n ? At(t) : t;
654
654
  return en(e, r);
655
655
  }
@@ -659,19 +659,19 @@ function en(e, t) {
659
659
  vt ? st.set(e, t) : st.set(e, n), e.v = t, Nt.ensure().capture(e, n), (e.f & Te) !== 0 && ((e.f & ye) !== 0 && yr(
660
660
  /** @type {Derived} */
661
661
  e
662
- ), ce(e, (e.f & Ee) === 0 ? le : dt)), e.wv = si(), qo(e, ye), It() && O !== null && (O.f & le) !== 0 && (O.f & (qe | ct)) === 0 && (Le === null ? Fa([e]) : Le.push(e));
662
+ ), ce(e, (e.f & Ee) === 0 ? le : dt)), e.wv = si(), Go(e, ye), It() && O !== null && (O.f & le) !== 0 && (O.f & (Ge | ct)) === 0 && (Le === null ? Fa([e]) : Le.push(e));
663
663
  }
664
664
  return t;
665
665
  }
666
- function jn(e) {
666
+ function qn(e) {
667
667
  M(e, e.v + 1);
668
668
  }
669
- function qo(e, t) {
669
+ function Go(e, t) {
670
670
  var n = e.reactions;
671
671
  if (n !== null)
672
672
  for (var r = It(), i = n.length, o = 0; o < i; o++) {
673
673
  var a = n[o], s = a.f;
674
- (s & ye) === 0 && (!r && a === O || (ce(a, t), (s & (le | Ee)) !== 0 && ((s & Te) !== 0 ? qo(
674
+ (s & ye) === 0 && (!r && a === O || (ce(a, t), (s & (le | Ee)) !== 0 && ((s & Te) !== 0 ? Go(
675
675
  /** @type {Derived} */
676
676
  a,
677
677
  dt
@@ -682,12 +682,12 @@ function qo(e, t) {
682
682
  }
683
683
  }
684
684
  function At(e) {
685
- if (typeof e != "object" || e === null || qt in e)
685
+ if (typeof e != "object" || e === null || Gt in e)
686
686
  return e;
687
687
  const t = Ro(e);
688
688
  if (t !== ta && t !== na)
689
689
  return e;
690
- var n = /* @__PURE__ */ new Map(), r = gr(e), i = /* @__PURE__ */ j(0), o = ut, a = (s) => {
690
+ var n = /* @__PURE__ */ new Map(), r = gr(e), i = /* @__PURE__ */ q(0), o = ut, a = (s) => {
691
691
  if (ut === o)
692
692
  return s();
693
693
  var f = $, l = ut;
@@ -695,7 +695,7 @@ function At(e) {
695
695
  var g = s();
696
696
  return Pe(f), fo(l), g;
697
697
  };
698
- return r && n.set("length", /* @__PURE__ */ j(
698
+ return r && n.set("length", /* @__PURE__ */ q(
699
699
  /** @type {any[]} */
700
700
  e.length
701
701
  )), new Proxy(
@@ -706,7 +706,7 @@ function At(e) {
706
706
  (!("value" in l) || l.configurable === !1 || l.enumerable === !1 || l.writable === !1) && pa();
707
707
  var g = n.get(f);
708
708
  return g === void 0 ? g = a(() => {
709
- var c = /* @__PURE__ */ j(l.value);
709
+ var c = /* @__PURE__ */ q(l.value);
710
710
  return n.set(f, c), c;
711
711
  }) : M(g, l.value, !0), !0;
712
712
  },
@@ -714,8 +714,8 @@ function At(e) {
714
714
  var l = n.get(f);
715
715
  if (l === void 0) {
716
716
  if (f in s) {
717
- const v = a(() => /* @__PURE__ */ j(fe));
718
- n.set(f, v), jn(i);
717
+ const v = a(() => /* @__PURE__ */ q(fe));
718
+ n.set(f, v), qn(i);
719
719
  }
720
720
  } else {
721
721
  if (r && typeof f == "string") {
@@ -725,16 +725,16 @@ function At(e) {
725
725
  ), c = Number(f);
726
726
  Number.isInteger(c) && c < g.v && M(g, c);
727
727
  }
728
- M(l, fe), jn(i);
728
+ M(l, fe), qn(i);
729
729
  }
730
730
  return !0;
731
731
  },
732
732
  get(s, f, l) {
733
- if (f === qt)
733
+ if (f === Gt)
734
734
  return e;
735
735
  var g = n.get(f), c = f in s;
736
736
  if (g === void 0 && (!c || at(s, f)?.writable) && (g = a(() => {
737
- var p = At(c ? s[f] : fe), d = /* @__PURE__ */ j(p);
737
+ var p = At(c ? s[f] : fe), d = /* @__PURE__ */ q(p);
738
738
  return d;
739
739
  }), n.set(f, g)), g !== void 0) {
740
740
  var v = S(g);
@@ -760,12 +760,12 @@ function At(e) {
760
760
  return l;
761
761
  },
762
762
  has(s, f) {
763
- if (f === qt)
763
+ if (f === Gt)
764
764
  return !0;
765
765
  var l = n.get(f), g = l !== void 0 && l.v !== fe || Reflect.has(s, f);
766
766
  if (l !== void 0 || O !== null && (!g || at(s, f)?.writable)) {
767
767
  l === void 0 && (l = a(() => {
768
- var v = g ? At(s[f]) : fe, p = /* @__PURE__ */ j(v);
768
+ var v = g ? At(s[f]) : fe, p = /* @__PURE__ */ q(v);
769
769
  return p;
770
770
  }), n.set(f, l));
771
771
  var c = S(l);
@@ -780,10 +780,10 @@ function At(e) {
780
780
  for (var p = l; p < /** @type {Source<number>} */
781
781
  c.v; p += 1) {
782
782
  var d = n.get(p + "");
783
- d !== void 0 ? M(d, fe) : p in s && (d = a(() => /* @__PURE__ */ j(fe)), n.set(p + "", d));
783
+ d !== void 0 ? M(d, fe) : p in s && (d = a(() => /* @__PURE__ */ q(fe)), n.set(p + "", d));
784
784
  }
785
785
  if (c === void 0)
786
- (!v || at(s, f)?.writable) && (c = a(() => /* @__PURE__ */ j(void 0)), M(c, At(l)), n.set(f, c));
786
+ (!v || at(s, f)?.writable) && (c = a(() => /* @__PURE__ */ q(void 0)), M(c, At(l)), n.set(f, c));
787
787
  else {
788
788
  v = c.v !== fe;
789
789
  var _ = a(() => At(l));
@@ -798,7 +798,7 @@ function At(e) {
798
798
  ), y = Number(f);
799
799
  Number.isInteger(y) && y >= b.v && M(b, y + 1);
800
800
  }
801
- jn(i);
801
+ qn(i);
802
802
  }
803
803
  return !0;
804
804
  },
@@ -939,7 +939,7 @@ function ei(e) {
939
939
  var t = (
940
940
  /** @type {Effect} */
941
941
  O.f
942
- ), n = !$ && (t & qe) !== 0 && (t & xn) === 0;
942
+ ), n = !$ && (t & Ge) !== 0 && (t & xn) === 0;
943
943
  if (n) {
944
944
  var r = (
945
945
  /** @type {ComponentContext} */
@@ -987,7 +987,7 @@ function Ar(e, t = 0) {
987
987
  return n;
988
988
  }
989
989
  function ft(e, t = !0) {
990
- return $e(qe, e, !0, t);
990
+ return $e(Ge, e, !0, t);
991
991
  }
992
992
  function ni(e) {
993
993
  var t = e.teardown;
@@ -1012,7 +1012,7 @@ function ri(e, t = !1) {
1012
1012
  function $a(e) {
1013
1013
  for (var t = e.first; t !== null; ) {
1014
1014
  var n = t.next;
1015
- (t.f & qe) === 0 && Ie(t), t = n;
1015
+ (t.f & Ge) === 0 && Ie(t), t = n;
1016
1016
  }
1017
1017
  }
1018
1018
  function Ie(e, t = !0) {
@@ -1064,7 +1064,7 @@ function kr(e, t, n) {
1064
1064
  for (const a of e.transitions)
1065
1065
  (a.is_global || n) && t.push(a);
1066
1066
  for (var r = e.first; r !== null; ) {
1067
- var i = r.next, o = (r.f & nn) !== 0 || (r.f & qe) !== 0;
1067
+ var i = r.next, o = (r.f & nn) !== 0 || (r.f & Ge) !== 0;
1068
1068
  kr(r, t, o ? n : !1), r = i;
1069
1069
  }
1070
1070
  }
@@ -1076,7 +1076,7 @@ function li(e, t) {
1076
1076
  if ((e.f & Oe) !== 0) {
1077
1077
  e.f ^= Oe, (e.f & le) === 0 && (ce(e, ye), Je(e));
1078
1078
  for (var n = e.first; n !== null; ) {
1079
- var r = n.next, i = (n.f & nn) !== 0 || (n.f & qe) !== 0;
1079
+ var r = n.next, i = (n.f & nn) !== 0 || (n.f & Ge) !== 0;
1080
1080
  li(n, i ? t : !1), n = r;
1081
1081
  }
1082
1082
  if (e.transitions !== null)
@@ -1100,9 +1100,9 @@ let O = null;
1100
1100
  function tt(e) {
1101
1101
  O = e;
1102
1102
  }
1103
- let Ge = null;
1103
+ let We = null;
1104
1104
  function Ba(e) {
1105
- $ !== null && (Ge === null ? Ge = [e] : Ge.push(e));
1105
+ $ !== null && (We === null ? We = [e] : We.push(e));
1106
1106
  }
1107
1107
  let he = null, Ce = 0, Le = null;
1108
1108
  function Fa(e) {
@@ -1137,7 +1137,7 @@ function Mn(e) {
1137
1137
  if (o = n[i], Mn(
1138
1138
  /** @type {Derived} */
1139
1139
  o
1140
- ) && jo(
1140
+ ) && qo(
1141
1141
  /** @type {Derived} */
1142
1142
  o
1143
1143
  ), o.wv > e.wv)
@@ -1149,7 +1149,7 @@ function Mn(e) {
1149
1149
  }
1150
1150
  function ui(e, t, n = !0) {
1151
1151
  var r = e.reactions;
1152
- if (r !== null && !Ge?.includes(e))
1152
+ if (r !== null && !We?.includes(e))
1153
1153
  for (var i = 0; i < r.length; i++) {
1154
1154
  var o = r[i];
1155
1155
  (o.f & Te) !== 0 ? ui(
@@ -1164,9 +1164,9 @@ function ui(e, t, n = !0) {
1164
1164
  }
1165
1165
  }
1166
1166
  function fi(e) {
1167
- var t = he, n = Ce, r = Le, i = $, o = Xe, a = Ge, s = oe, f = De, l = ut, g = e.f;
1167
+ var t = he, n = Ce, r = Le, i = $, o = Xe, a = We, s = oe, f = De, l = ut, g = e.f;
1168
1168
  he = /** @type {null | Value[]} */
1169
- null, Ce = 0, Le = null, Xe = (g & Ee) !== 0 && (De || !Lt || $ === null), $ = (g & (qe | ct)) === 0 ? e : null, Ge = null, yn(e.ctx), De = !1, ut = ++tn, e.ac !== null && (e.ac.abort(br), e.ac = null);
1169
+ null, Ce = 0, Le = null, Xe = (g & Ee) !== 0 && (De || !Lt || $ === null), $ = (g & (Ge | ct)) === 0 ? e : null, We = null, yn(e.ctx), De = !1, ut = ++tn, e.ac !== null && (e.ac.abort(br), e.ac = null);
1170
1170
  try {
1171
1171
  e.f |= er;
1172
1172
  var c = (
@@ -1199,7 +1199,7 @@ function fi(e) {
1199
1199
  } catch (d) {
1200
1200
  return ya(d);
1201
1201
  } finally {
1202
- e.f ^= er, he = t, Ce = n, Le = r, $ = i, Xe = o, Ge = a, yn(s), De = f, ut = l;
1202
+ e.f ^= er, he = t, Ce = n, Le = r, $ = i, Xe = o, We = a, yn(s), De = f, ut = l;
1203
1203
  }
1204
1204
  }
1205
1205
  function Ua(e, t) {
@@ -1250,7 +1250,7 @@ function S(e) {
1250
1250
  var t = e.f, n = (t & Te) !== 0;
1251
1251
  if ($ !== null && !De) {
1252
1252
  var r = O !== null && (O.f & gt) !== 0;
1253
- if (!r && !Ge?.includes(e)) {
1253
+ if (!r && !We?.includes(e)) {
1254
1254
  var i = $.deps;
1255
1255
  if (($.f & er) !== 0)
1256
1256
  e.rv < tn && (e.rv = tn, he === null && i !== null && i[Ce] === e ? Ce++ : he === null ? he = [e] : (!Xe || !he.includes(e)) && he.push(e));
@@ -1282,7 +1282,7 @@ function S(e) {
1282
1282
  if (a = /** @type {Derived} */
1283
1283
  e, Mt?.has(a))
1284
1284
  return Mt.get(a);
1285
- Mn(a) && jo(a);
1285
+ Mn(a) && qo(a);
1286
1286
  }
1287
1287
  if ((e.f & lt) !== 0)
1288
1288
  throw e.v;
@@ -1347,9 +1347,9 @@ function za(e, t, n, r = n) {
1347
1347
  } : e.__on_r = () => r(!0), di();
1348
1348
  }
1349
1349
  const gi = /* @__PURE__ */ new Set(), or = /* @__PURE__ */ new Set();
1350
- function ja(e, t, n, r = {}) {
1350
+ function qa(e, t, n, r = {}) {
1351
1351
  function i(o) {
1352
- if (r.capture || Gt.call(t, o), !o.cancelBubble)
1352
+ if (r.capture || Wt.call(t, o), !o.cancelBubble)
1353
1353
  return Hn(() => n?.call(this, o));
1354
1354
  }
1355
1355
  return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? on(() => {
@@ -1357,7 +1357,7 @@ function ja(e, t, n, r = {}) {
1357
1357
  }) : t.addEventListener(e, i, r), i;
1358
1358
  }
1359
1359
  function vi(e, t, n, r, i) {
1360
- var o = { capture: r, passive: i }, a = ja(e, t, n, o);
1360
+ var o = { capture: r, passive: i }, a = qa(e, t, n, o);
1361
1361
  (t === document.body || // @ts-ignore
1362
1362
  t === window || // @ts-ignore
1363
1363
  t === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
@@ -1371,7 +1371,7 @@ function Ke(e) {
1371
1371
  for (var n of or)
1372
1372
  n(e);
1373
1373
  }
1374
- function Gt(e) {
1374
+ function Wt(e) {
1375
1375
  var t = this, n = (
1376
1376
  /** @type {Node} */
1377
1377
  t.ownerDocument
@@ -1488,9 +1488,9 @@ function R(e, t) {
1488
1488
  t
1489
1489
  );
1490
1490
  }
1491
- const Wa = ["touchstart", "touchmove"];
1492
- function Ga(e) {
1493
- return Wa.includes(e);
1491
+ const ja = ["touchstart", "touchmove"];
1492
+ function Wa(e) {
1493
+ return ja.includes(e);
1494
1494
  }
1495
1495
  let ir = !0;
1496
1496
  function Sr(e, t) {
@@ -1500,7 +1500,7 @@ function Sr(e, t) {
1500
1500
  function pi(e, t) {
1501
1501
  return _i(e, t);
1502
1502
  }
1503
- function qa(e, t) {
1503
+ function Ga(e, t) {
1504
1504
  rr(), t.intro = t.intro ?? !1;
1505
1505
  const n = t.target, r = B, i = F;
1506
1506
  try {
@@ -1513,7 +1513,7 @@ function qa(e, t) {
1513
1513
  /* @__PURE__ */ Ye(o);
1514
1514
  if (!o)
1515
1515
  throw it;
1516
- We(!0), ke(
1516
+ je(!0), ke(
1517
1517
  /** @type {Comment} */
1518
1518
  o
1519
1519
  ), St();
@@ -1521,14 +1521,14 @@ function qa(e, t) {
1521
1521
  if (F === null || F.nodeType !== xt || /** @type {Comment} */
1522
1522
  F.data !== dr)
1523
1523
  throw rn(), it;
1524
- return We(!1), /** @type {Exports} */
1524
+ return je(!1), /** @type {Exports} */
1525
1525
  a;
1526
1526
  } catch (a) {
1527
1527
  if (a === it)
1528
- return t.recover === !1 && va(), rr(), Jo(n), We(!1), pi(e, t);
1528
+ return t.recover === !1 && va(), rr(), Jo(n), je(!1), pi(e, t);
1529
1529
  throw a;
1530
1530
  } finally {
1531
- We(r), ke(i);
1531
+ je(r), ke(i);
1532
1532
  }
1533
1533
  }
1534
1534
  const Et = /* @__PURE__ */ new Map();
@@ -1539,10 +1539,10 @@ function _i(e, { target: t, anchor: n, props: r = {}, events: i, context: o, int
1539
1539
  var p = c[v];
1540
1540
  if (!s.has(p)) {
1541
1541
  s.add(p);
1542
- var d = Ga(p);
1543
- t.addEventListener(p, Gt, { passive: d });
1542
+ var d = Wa(p);
1543
+ t.addEventListener(p, Wt, { passive: d });
1544
1544
  var _ = Et.get(p);
1545
- _ === void 0 ? (document.addEventListener(p, Gt, { passive: d }), Et.set(p, 1)) : Et.set(p, _ + 1);
1545
+ _ === void 0 ? (document.addEventListener(p, Wt, { passive: d }), Et.set(p, 1)) : Et.set(p, _ + 1);
1546
1546
  }
1547
1547
  }
1548
1548
  };
@@ -1551,7 +1551,7 @@ function _i(e, { target: t, anchor: n, props: r = {}, events: i, context: o, int
1551
1551
  var c = n ?? t.appendChild(et());
1552
1552
  return ft(() => {
1553
1553
  if (o) {
1554
- W({});
1554
+ j({});
1555
1555
  var v = (
1556
1556
  /** @type {ComponentContext} */
1557
1557
  oe
@@ -1562,15 +1562,15 @@ function _i(e, { target: t, anchor: n, props: r = {}, events: i, context: o, int
1562
1562
  /** @type {TemplateNode} */
1563
1563
  c,
1564
1564
  null
1565
- ), ir = a, l = e(c, r) || {}, ir = !0, B && (O.nodes_end = F), o && G();
1565
+ ), ir = a, l = e(c, r) || {}, ir = !0, B && (O.nodes_end = F), o && W();
1566
1566
  }), () => {
1567
1567
  for (var v of s) {
1568
- t.removeEventListener(v, Gt);
1568
+ t.removeEventListener(v, Wt);
1569
1569
  var p = (
1570
1570
  /** @type {number} */
1571
1571
  Et.get(v)
1572
1572
  );
1573
- --p === 0 ? (document.removeEventListener(v, Gt), Et.delete(v)) : Et.set(v, p);
1573
+ --p === 0 ? (document.removeEventListener(v, Wt), Et.delete(v)) : Et.set(v, p);
1574
1574
  }
1575
1575
  or.delete(f), c !== n && c.parentNode?.removeChild(c);
1576
1576
  };
@@ -1626,7 +1626,7 @@ function X(e, t, n = !1) {
1626
1626
  let _ = !1;
1627
1627
  if (B) {
1628
1628
  const H = Po(r) === cr;
1629
- !!a === H && (r = tr(), ke(r), We(!1), _ = !0);
1629
+ !!a === H && (r = tr(), ke(r), je(!1), _ = !0);
1630
1630
  }
1631
1631
  var h = Qo(), b = r;
1632
1632
  if (h && (g = document.createDocumentFragment(), g.append(b = et())), a ? i ??= d && ft(() => d(b)) : o ??= d && ft(() => d(b)), h) {
@@ -1637,7 +1637,7 @@ function X(e, t, n = !1) {
1637
1637
  w && y.skipped_effects.delete(w), C && y.skipped_effects.add(C), y.add_callback(c);
1638
1638
  } else
1639
1639
  c();
1640
- _ && We(!0);
1640
+ _ && je(!0);
1641
1641
  };
1642
1642
  Ar(() => {
1643
1643
  f = !1, t(l), f || v(null, null);
@@ -1710,14 +1710,14 @@ function Ht(e, t, n, r, i, o = null) {
1710
1710
  let y = !1;
1711
1711
  if (B) {
1712
1712
  var w = Po(a) === cr;
1713
- w !== (b === 0) && (a = tr(), ke(a), We(!1), y = !0);
1713
+ w !== (b === 0) && (a = tr(), ke(a), je(!1), y = !0);
1714
1714
  }
1715
1715
  if (B) {
1716
1716
  for (var C = null, H, E = 0; E < b; E++) {
1717
1717
  if (F.nodeType === xt && /** @type {Comment} */
1718
1718
  F.data === dr) {
1719
1719
  a = /** @type {Comment} */
1720
- F, y = !0, We(!1);
1720
+ F, y = !0, je(!1);
1721
1721
  break;
1722
1722
  }
1723
1723
  var k = d[E], I = r(k, E);
@@ -1765,7 +1765,7 @@ function Ht(e, t, n, r, i, o = null) {
1765
1765
  we.add_callback(h);
1766
1766
  } else
1767
1767
  h();
1768
- y && We(!0), S(p);
1768
+ y && je(!0), S(p);
1769
1769
  }), B && (a = F);
1770
1770
  }
1771
1771
  function el(e, t, n, r, i, o, a, s, f) {
@@ -1779,7 +1779,7 @@ function el(e, t, n, r, i, o, a, s, f) {
1779
1779
  if (I !== void 0) {
1780
1780
  r.delete(H), v.set(H, I);
1781
1781
  var K = h ? h.next : d;
1782
- Ve(n, h, I), Ve(n, I, K), Wn(I, K, i), h = I;
1782
+ Ve(n, h, I), Ve(n, I, K), jn(I, K, i), h = I;
1783
1783
  } else {
1784
1784
  var we = d ? (
1785
1785
  /** @type {TemplateNode} */
@@ -1808,12 +1808,12 @@ function el(e, t, n, r, i, o, a, s, f) {
1808
1808
  h = D.prev;
1809
1809
  var Me = y[0], Be = y[y.length - 1];
1810
1810
  for (Z = 0; Z < y.length; Z += 1)
1811
- Wn(y[Z], D, i);
1811
+ jn(y[Z], D, i);
1812
1812
  for (Z = 0; Z < w.length; Z += 1)
1813
1813
  _.delete(w[Z]);
1814
1814
  Ve(n, Me.prev, Be.next), Ve(n, h, Me), Ve(n, Be, D), d = D, h = Be, k -= 1, y = [], w = [];
1815
1815
  } else
1816
- _.delete(E), Wn(E, d, i), Ve(n, E.prev, E.next), Ve(n, E, h === null ? n.first : h.next), Ve(n, h, E), h = E;
1816
+ _.delete(E), jn(E, d, i), Ve(n, E.prev, E.next), Ve(n, E, h === null ? n.first : h.next), Ve(n, h, E), h = E;
1817
1817
  continue;
1818
1818
  }
1819
1819
  for (y = [], w = []; d !== null && d.k !== H; )
@@ -1856,7 +1856,7 @@ function mi(e, t, n, r) {
1856
1856
  ) : e.i = n;
1857
1857
  }
1858
1858
  function lr(e, t, n, r, i, o, a, s, f, l, g) {
1859
- var c = (f & Ln) !== 0, v = (f & Zi) === 0, p = c ? v ? /* @__PURE__ */ Go(i, !1, !1) : Qt(i) : i, d = (f & kn) === 0 ? a : Qt(a), _ = {
1859
+ var c = (f & Ln) !== 0, v = (f & Zi) === 0, p = c ? v ? /* @__PURE__ */ Wo(i, !1, !1) : Qt(i) : i, d = (f & kn) === 0 ? a : Qt(a), _ = {
1860
1860
  i: d,
1861
1861
  v: p,
1862
1862
  k: o,
@@ -1881,7 +1881,7 @@ function lr(e, t, n, r, i, o, a, s, f, l, g) {
1881
1881
  } finally {
1882
1882
  }
1883
1883
  }
1884
- function Wn(e, t, n) {
1884
+ function jn(e, t, n) {
1885
1885
  for (var r = e.next ? (
1886
1886
  /** @type {TemplateNode} */
1887
1887
  e.next.e.nodes_start
@@ -2062,7 +2062,7 @@ function ll(e) {
2062
2062
  }
2063
2063
  return t;
2064
2064
  }
2065
- const sl = () => performance.now(), je = {
2065
+ const sl = () => performance.now(), qe = {
2066
2066
  // don't access requestAnimationFrame eagerly outside method
2067
2067
  // this allows basic testing of user code without JSDOM
2068
2068
  // bunder will eval and remove ternary when the user's app is built
@@ -2074,19 +2074,19 @@ const sl = () => performance.now(), je = {
2074
2074
  tasks: /* @__PURE__ */ new Set()
2075
2075
  };
2076
2076
  function Ei() {
2077
- const e = je.now();
2078
- je.tasks.forEach((t) => {
2079
- t.c(e) || (je.tasks.delete(t), t.f());
2080
- }), je.tasks.size !== 0 && je.tick(Ei);
2077
+ const e = qe.now();
2078
+ qe.tasks.forEach((t) => {
2079
+ t.c(e) || (qe.tasks.delete(t), t.f());
2080
+ }), qe.tasks.size !== 0 && qe.tick(Ei);
2081
2081
  }
2082
2082
  function ul(e) {
2083
2083
  let t;
2084
- return je.tasks.size === 0 && je.tick(Ei), {
2084
+ return qe.tasks.size === 0 && qe.tick(Ei), {
2085
2085
  promise: new Promise((n) => {
2086
- je.tasks.add(t = { c: e, f: n });
2086
+ qe.tasks.add(t = { c: e, f: n });
2087
2087
  }),
2088
2088
  abort() {
2089
- je.tasks.delete(t);
2089
+ qe.tasks.delete(t);
2090
2090
  }
2091
2091
  };
2092
2092
  }
@@ -2239,7 +2239,7 @@ function yi(e, t, n = t) {
2239
2239
  var r = It(), i = /* @__PURE__ */ new WeakSet();
2240
2240
  za(e, "input", (o) => {
2241
2241
  var a = o ? e.defaultValue : e.value;
2242
- if (a = Gn(e) ? qn(a) : a, n(a), ne !== null && i.add(ne), r && a !== (a = t())) {
2242
+ if (a = Wn(e) ? Gn(a) : a, n(a), ne !== null && i.add(ne), r && a !== (a = t())) {
2243
2243
  var s = e.selectionStart, f = e.selectionEnd;
2244
2244
  e.value = a ?? "", f !== null && (e.selectionStart = s, e.selectionEnd = Math.min(f, e.value.length));
2245
2245
  }
@@ -2247,23 +2247,23 @@ function yi(e, t, n = t) {
2247
2247
  // then use the updated value from the input instead.
2248
2248
  (B && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
2249
2249
  // TODO Svelte 6: remove input.value check and set to empty string?
2250
- Vt(t) == null && e.value) && (n(Gn(e) ? qn(e.value) : e.value), ne !== null && i.add(ne)), Tr(() => {
2250
+ Vt(t) == null && e.value) && (n(Wn(e) ? Gn(e.value) : e.value), ne !== null && i.add(ne)), Tr(() => {
2251
2251
  var o = t();
2252
2252
  e === document.activeElement && i.has(
2253
2253
  /** @type {Batch} */
2254
2254
  ne
2255
- ) || Gn(e) && o === qn(e.value) || e.type === "date" && !o && !e.value || o !== e.value && (e.value = o ?? "");
2255
+ ) || Wn(e) && o === Gn(e.value) || e.type === "date" && !o && !e.value || o !== e.value && (e.value = o ?? "");
2256
2256
  });
2257
2257
  }
2258
- function Gn(e) {
2258
+ function Wn(e) {
2259
2259
  var t = e.type;
2260
2260
  return t === "number" || t === "range";
2261
2261
  }
2262
- function qn(e) {
2262
+ function Gn(e) {
2263
2263
  return e === "" ? null : +e;
2264
2264
  }
2265
2265
  function _o(e, t) {
2266
- return e === t || e?.[qt] === t;
2266
+ return e === t || e?.[Gt] === t;
2267
2267
  }
2268
2268
  function gl(e = {}, t, n, r) {
2269
2269
  return Sn(() => {
@@ -2289,7 +2289,7 @@ function vl(e) {
2289
2289
  }
2290
2290
  }
2291
2291
  function L(e, t, n, r) {
2292
- var i = !Ot || (n & ji) !== 0, o = (n & Gi) !== 0, a = (n & qi) !== 0, s = (
2292
+ var i = !Ot || (n & qi) !== 0, o = (n & Wi) !== 0, a = (n & Gi) !== 0, s = (
2293
2293
  /** @type {V} */
2294
2294
  r
2295
2295
  ), f = !0, l = () => (f && (f = !1, s = a ? Vt(
@@ -2300,7 +2300,7 @@ function L(e, t, n, r) {
2300
2300
  r
2301
2301
  )), s), g;
2302
2302
  if (o) {
2303
- var c = qt in e || Vo in e;
2303
+ var c = Gt in e || Vo in e;
2304
2304
  g = at(e, t)?.set ?? (c && t in e ? (w) => e[t] = w : void 0);
2305
2305
  }
2306
2306
  var v, p = !1;
@@ -2323,7 +2323,7 @@ function L(e, t, n, r) {
2323
2323
  );
2324
2324
  return w !== void 0 && (s = /** @type {V} */
2325
2325
  void 0), w === void 0 ? s : w;
2326
- }, i && (n & Wi) === 0)
2326
+ }, i && (n & ji) === 0)
2327
2327
  return d;
2328
2328
  if (g) {
2329
2329
  var _ = e.$$legacy;
@@ -2360,7 +2360,7 @@ class pl {
2360
2360
  */
2361
2361
  constructor(t) {
2362
2362
  var n = /* @__PURE__ */ new Map(), r = (o, a) => {
2363
- var s = /* @__PURE__ */ Go(a, !1, !1);
2363
+ var s = /* @__PURE__ */ Wo(a, !1, !1);
2364
2364
  return n.set(o, s), s;
2365
2365
  };
2366
2366
  const i = new Proxy(
@@ -2377,7 +2377,7 @@ class pl {
2377
2377
  }
2378
2378
  }
2379
2379
  );
2380
- this.#e = (t.hydrate ? qa : pi)(t.component, {
2380
+ this.#e = (t.hydrate ? Ga : pi)(t.component, {
2381
2381
  target: t.target,
2382
2382
  anchor: t.anchor,
2383
2383
  props: i,
@@ -2594,7 +2594,7 @@ function _l(e) {
2594
2594
  ] = !0;
2595
2595
  }), t;
2596
2596
  }
2597
- function q(e, t, n, r, i, o) {
2597
+ function G(e, t, n, r, i, o) {
2598
2598
  let a = class extends Ti {
2599
2599
  constructor() {
2600
2600
  super(e, n, i), this.$$p_d = t;
@@ -2698,7 +2698,7 @@ function ze(e) {
2698
2698
  He(e, n) && (Array.isArray(r) ? t[n] = kl(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = ze(r) : t[n] = r);
2699
2699
  return t;
2700
2700
  }
2701
- function jt(e, t) {
2701
+ function qt(e, t) {
2702
2702
  for (; e !== null; ) {
2703
2703
  const r = Cl(e, t);
2704
2704
  if (r) {
@@ -2734,7 +2734,7 @@ var Ao = /* @__PURE__ */ Object.freeze({
2734
2734
  MUSTACHE_EXPR: Ml,
2735
2735
  TMPLIT_EXPR: Rl
2736
2736
  });
2737
- const Wt = {
2737
+ const jt = {
2738
2738
  element: 1,
2739
2739
  text: 3,
2740
2740
  // Deprecated
@@ -2778,7 +2778,7 @@ const Wt = {
2778
2778
  function Si() {
2779
2779
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pl();
2780
2780
  const t = (x) => Si(x);
2781
- if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Wt.document || !e.Element)
2781
+ if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== jt.document || !e.Element)
2782
2782
  return t.isSupported = !1, t;
2783
2783
  let {
2784
2784
  document: n
@@ -2793,7 +2793,7 @@ function Si() {
2793
2793
  HTMLFormElement: c,
2794
2794
  DOMParser: v,
2795
2795
  trustedTypes: p
2796
- } = e, d = f.prototype, _ = jt(d, "cloneNode"), h = jt(d, "remove"), b = jt(d, "nextSibling"), y = jt(d, "childNodes"), w = jt(d, "parentNode");
2796
+ } = e, d = f.prototype, _ = qt(d, "cloneNode"), h = qt(d, "remove"), b = qt(d, "nextSibling"), y = qt(d, "childNodes"), w = qt(d, "parentNode");
2797
2797
  if (typeof a == "function") {
2798
2798
  const x = n.createElement("template");
2799
2799
  x.content && x.content.ownerDocument && (n = x.content.ownerDocument);
@@ -2859,13 +2859,13 @@ function Si() {
2859
2859
  let Bt = null;
2860
2860
  const Vi = ["application/xhtml+xml", "text/html"], Di = "text/html";
2861
2861
  let ae = null, wt = null;
2862
- const Pi = n.createElement("form"), jr = function(u) {
2862
+ const Pi = n.createElement("form"), qr = function(u) {
2863
2863
  return u instanceof RegExp || u instanceof Function;
2864
2864
  }, Un = function() {
2865
2865
  let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2866
2866
  if (!(wt && wt === u)) {
2867
2867
  if ((!u || typeof u != "object") && (u = {}), u = ze(u), Bt = // eslint-disable-next-line unicorn/prefer-includes
2868
- Vi.indexOf(u.PARSER_MEDIA_TYPE) === -1 ? Di : u.PARSER_MEDIA_TYPE, ae = Bt === "application/xhtml+xml" ? Yn : wn, ie = He(u, "ALLOWED_TAGS") ? N({}, u.ALLOWED_TAGS, ae) : Ir, ue = He(u, "ALLOWED_ATTR") ? N({}, u.ALLOWED_ATTR, ae) : Nr, Fn = He(u, "ALLOWED_NAMESPACES") ? N({}, u.ALLOWED_NAMESPACES, Yn) : Ii, $n = He(u, "ADD_URI_SAFE_ATTR") ? N(ze(zr), u.ADD_URI_SAFE_ATTR, ae) : zr, Ur = He(u, "ADD_DATA_URI_TAGS") ? N(ze(Zr), u.ADD_DATA_URI_TAGS, ae) : Zr, mt = He(u, "FORBID_CONTENTS") ? N({}, u.FORBID_CONTENTS, ae) : Fr, Pt = He(u, "FORBID_TAGS") ? N({}, u.FORBID_TAGS, ae) : ze({}), In = He(u, "FORBID_ATTR") ? N({}, u.FORBID_ATTR, ae) : ze({}), _t = He(u, "USE_PROFILES") ? u.USE_PROFILES : !1, Vr = u.ALLOW_ARIA_ATTR !== !1, Nn = u.ALLOW_DATA_ATTR !== !1, Dr = u.ALLOW_UNKNOWN_PROTOCOLS || !1, Pr = u.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ht = u.SAFE_FOR_TEMPLATES || !1, ln = u.SAFE_FOR_XML !== !1, ot = u.WHOLE_DOCUMENT || !1, pt = u.RETURN_DOM || !1, sn = u.RETURN_DOM_FRAGMENT || !1, un = u.RETURN_TRUSTED_TYPE || !1, Dn = u.FORCE_BODY || !1, $r = u.SANITIZE_DOM !== !1, Br = u.SANITIZE_NAMED_PROPS || !1, Pn = u.KEEP_CONTENT !== !1, $t = u.IN_PLACE || !1, Or = u.ALLOWED_URI_REGEXP || ki, bt = u.NAMESPACE || Fe, dn = u.MATHML_TEXT_INTEGRATION_POINTS || dn, gn = u.HTML_INTEGRATION_POINTS || gn, J = u.CUSTOM_ELEMENT_HANDLING || {}, u.CUSTOM_ELEMENT_HANDLING && jr(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = u.CUSTOM_ELEMENT_HANDLING.tagNameCheck), u.CUSTOM_ELEMENT_HANDLING && jr(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), u.CUSTOM_ELEMENT_HANDLING && typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ht && (Nn = !1), sn && (pt = !0), _t && (ie = N({}, Eo), ue = [], _t.html === !0 && (N(ie, Co), N(ue, yo)), _t.svg === !0 && (N(ie, Kn), N(ue, Qn), N(ue, mn)), _t.svgFilters === !0 && (N(ie, Xn), N(ue, Qn), N(ue, mn)), _t.mathMl === !0 && (N(ie, Jn), N(ue, To), N(ue, mn))), u.ADD_TAGS && (ie === Ir && (ie = ze(ie)), N(ie, u.ADD_TAGS, ae)), u.ADD_ATTR && (ue === Nr && (ue = ze(ue)), N(ue, u.ADD_ATTR, ae)), u.ADD_URI_SAFE_ATTR && N($n, u.ADD_URI_SAFE_ATTR, ae), u.FORBID_CONTENTS && (mt === Fr && (mt = ze(mt)), N(mt, u.FORBID_CONTENTS, ae)), Pn && (ie["#text"] = !0), ot && N(ie, ["html", "head", "body"]), ie.table && (N(ie, ["tbody"]), delete Pt.tbody), u.TRUSTED_TYPES_POLICY) {
2868
+ Vi.indexOf(u.PARSER_MEDIA_TYPE) === -1 ? Di : u.PARSER_MEDIA_TYPE, ae = Bt === "application/xhtml+xml" ? Yn : wn, ie = He(u, "ALLOWED_TAGS") ? N({}, u.ALLOWED_TAGS, ae) : Ir, ue = He(u, "ALLOWED_ATTR") ? N({}, u.ALLOWED_ATTR, ae) : Nr, Fn = He(u, "ALLOWED_NAMESPACES") ? N({}, u.ALLOWED_NAMESPACES, Yn) : Ii, $n = He(u, "ADD_URI_SAFE_ATTR") ? N(ze(zr), u.ADD_URI_SAFE_ATTR, ae) : zr, Ur = He(u, "ADD_DATA_URI_TAGS") ? N(ze(Zr), u.ADD_DATA_URI_TAGS, ae) : Zr, mt = He(u, "FORBID_CONTENTS") ? N({}, u.FORBID_CONTENTS, ae) : Fr, Pt = He(u, "FORBID_TAGS") ? N({}, u.FORBID_TAGS, ae) : ze({}), In = He(u, "FORBID_ATTR") ? N({}, u.FORBID_ATTR, ae) : ze({}), _t = He(u, "USE_PROFILES") ? u.USE_PROFILES : !1, Vr = u.ALLOW_ARIA_ATTR !== !1, Nn = u.ALLOW_DATA_ATTR !== !1, Dr = u.ALLOW_UNKNOWN_PROTOCOLS || !1, Pr = u.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ht = u.SAFE_FOR_TEMPLATES || !1, ln = u.SAFE_FOR_XML !== !1, ot = u.WHOLE_DOCUMENT || !1, pt = u.RETURN_DOM || !1, sn = u.RETURN_DOM_FRAGMENT || !1, un = u.RETURN_TRUSTED_TYPE || !1, Dn = u.FORCE_BODY || !1, $r = u.SANITIZE_DOM !== !1, Br = u.SANITIZE_NAMED_PROPS || !1, Pn = u.KEEP_CONTENT !== !1, $t = u.IN_PLACE || !1, Or = u.ALLOWED_URI_REGEXP || ki, bt = u.NAMESPACE || Fe, dn = u.MATHML_TEXT_INTEGRATION_POINTS || dn, gn = u.HTML_INTEGRATION_POINTS || gn, J = u.CUSTOM_ELEMENT_HANDLING || {}, u.CUSTOM_ELEMENT_HANDLING && qr(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = u.CUSTOM_ELEMENT_HANDLING.tagNameCheck), u.CUSTOM_ELEMENT_HANDLING && qr(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), u.CUSTOM_ELEMENT_HANDLING && typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ht && (Nn = !1), sn && (pt = !0), _t && (ie = N({}, Eo), ue = [], _t.html === !0 && (N(ie, Co), N(ue, yo)), _t.svg === !0 && (N(ie, Kn), N(ue, Qn), N(ue, mn)), _t.svgFilters === !0 && (N(ie, Xn), N(ue, Qn), N(ue, mn)), _t.mathMl === !0 && (N(ie, Jn), N(ue, To), N(ue, mn))), u.ADD_TAGS && (ie === Ir && (ie = ze(ie)), N(ie, u.ADD_TAGS, ae)), u.ADD_ATTR && (ue === Nr && (ue = ze(ue)), N(ue, u.ADD_ATTR, ae)), u.ADD_URI_SAFE_ATTR && N($n, u.ADD_URI_SAFE_ATTR, ae), u.FORBID_CONTENTS && (mt === Fr && (mt = ze(mt)), N(mt, u.FORBID_CONTENTS, ae)), Pn && (ie["#text"] = !0), ot && N(ie, ["html", "head", "body"]), ie.table && (N(ie, ["tbody"]), delete Pt.tbody), u.TRUSTED_TYPES_POLICY) {
2869
2869
  if (typeof u.TRUSTED_TYPES_POLICY.createHTML != "function")
2870
2870
  throw zt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2871
2871
  if (typeof u.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -2875,14 +2875,14 @@ function Si() {
2875
2875
  C === void 0 && (C = $l(p, i)), C !== null && typeof H == "string" && (H = C.createHTML(""));
2876
2876
  pe && pe(u), wt = u;
2877
2877
  }
2878
- }, Wr = N({}, [...Kn, ...Xn, ...xl]), Gr = N({}, [...Jn, ...Sl]), $i = function(u) {
2878
+ }, jr = N({}, [...Kn, ...Xn, ...xl]), Wr = N({}, [...Jn, ...Sl]), $i = function(u) {
2879
2879
  let m = w(u);
2880
2880
  (!m || !m.tagName) && (m = {
2881
2881
  namespaceURI: bt,
2882
2882
  tagName: "template"
2883
2883
  });
2884
2884
  const T = wn(u.tagName), z = wn(m.tagName);
2885
- return Fn[u.namespaceURI] ? u.namespaceURI === cn ? m.namespaceURI === Fe ? T === "svg" : m.namespaceURI === fn ? T === "svg" && (z === "annotation-xml" || dn[z]) : !!Wr[T] : u.namespaceURI === fn ? m.namespaceURI === Fe ? T === "math" : m.namespaceURI === cn ? T === "math" && gn[z] : !!Gr[T] : u.namespaceURI === Fe ? m.namespaceURI === cn && !gn[z] || m.namespaceURI === fn && !dn[z] ? !1 : !Gr[T] && (Ni[T] || !Wr[T]) : !!(Bt === "application/xhtml+xml" && Fn[u.namespaceURI]) : !1;
2885
+ return Fn[u.namespaceURI] ? u.namespaceURI === cn ? m.namespaceURI === Fe ? T === "svg" : m.namespaceURI === fn ? T === "svg" && (z === "annotation-xml" || dn[z]) : !!jr[T] : u.namespaceURI === fn ? m.namespaceURI === Fe ? T === "math" : m.namespaceURI === cn ? T === "math" && gn[z] : !!Wr[T] : u.namespaceURI === Fe ? m.namespaceURI === cn && !gn[z] || m.namespaceURI === fn && !dn[z] ? !1 : !Wr[T] && (Ni[T] || !jr[T]) : !!(Bt === "application/xhtml+xml" && Fn[u.namespaceURI]) : !1;
2886
2886
  }, Ne = function(u) {
2887
2887
  Ut(t.removed, {
2888
2888
  element: u
@@ -2915,7 +2915,7 @@ function Si() {
2915
2915
  m.setAttribute(u, "");
2916
2916
  } catch {
2917
2917
  }
2918
- }, qr = function(u) {
2918
+ }, Gr = function(u) {
2919
2919
  let m = null, T = null;
2920
2920
  if (Dn)
2921
2921
  u = "<remove></remove>" + u;
@@ -2965,7 +2965,7 @@ function Si() {
2965
2965
  if (Ue(D.uponSanitizeElement, u, {
2966
2966
  tagName: T,
2967
2967
  allowedTags: ie
2968
- }), ln && u.hasChildNodes() && !Kr(u.firstElementChild) && ve(/<[/\w!]/g, u.innerHTML) && ve(/<[/\w!]/g, u.textContent) || u.nodeType === Wt.progressingInstruction || ln && u.nodeType === Wt.comment && ve(/<[/\w]/g, u.data))
2968
+ }), ln && u.hasChildNodes() && !Kr(u.firstElementChild) && ve(/<[/\w!]/g, u.innerHTML) && ve(/<[/\w!]/g, u.textContent) || u.nodeType === jt.progressingInstruction || ln && u.nodeType === jt.comment && ve(/<[/\w]/g, u.data))
2969
2969
  return Ne(u), !0;
2970
2970
  if (!ie[T] || Pt[T]) {
2971
2971
  if (!Pt[T] && Qr(T) && (J.tagNameCheck instanceof RegExp && ve(J.tagNameCheck, T) || J.tagNameCheck instanceof Function && J.tagNameCheck(T)))
@@ -2982,7 +2982,7 @@ function Si() {
2982
2982
  }
2983
2983
  return Ne(u), !0;
2984
2984
  }
2985
- return u instanceof f && !$i(u) || (T === "noscript" || T === "noembed" || T === "noframes") && ve(/<\/no(script|embed|frames)/i, u.innerHTML) ? (Ne(u), !0) : (ht && u.nodeType === Wt.text && (m = u.textContent, _n([Z, Me, Be], (z) => {
2985
+ return u instanceof f && !$i(u) || (T === "noscript" || T === "noembed" || T === "noframes") && ve(/<\/no(script|embed|frames)/i, u.innerHTML) ? (Ne(u), !0) : (ht && u.nodeType === jt.text && (m = u.textContent, _n([Z, Me, Be], (z) => {
2986
2986
  m = Zt(m, z, " ");
2987
2987
  }), u.textContent !== m && (Ut(t.removed, {
2988
2988
  element: u.cloneNode()
@@ -3103,12 +3103,12 @@ function Si() {
3103
3103
  throw zt("root node is forbidden and cannot be sanitized in-place");
3104
3104
  }
3105
3105
  } else if (x instanceof s)
3106
- m = qr("<!---->"), T = m.ownerDocument.importNode(x, !0), T.nodeType === Wt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? m = T : m.appendChild(T);
3106
+ m = Gr("<!---->"), T = m.ownerDocument.importNode(x, !0), T.nodeType === jt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? m = T : m.appendChild(T);
3107
3107
  else {
3108
3108
  if (!pt && !ht && !ot && // eslint-disable-next-line unicorn/prefer-includes
3109
3109
  x.indexOf("<") === -1)
3110
3110
  return C && un ? C.createHTML(x) : x;
3111
- if (m = qr(x), !m)
3111
+ if (m = Gr(x), !m)
3112
3112
  return pt ? null : un ? H : "";
3113
3113
  }
3114
3114
  m && Dn && Ne(m.firstChild);
@@ -3159,10 +3159,10 @@ const Ul = {
3159
3159
  code: ".icon-wrapper.svelte-y8g19h {display:inline-flex;align-items:center;justify-content:center;}svg {width:1.25rem;height:1.75rem;fill:var(--tiptob-bg-icon, #333333);}"
3160
3160
  };
3161
3161
  function re(e, t) {
3162
- W(t, !0), Se(e, Ul);
3162
+ j(t, !0), Se(e, Ul);
3163
3163
  let n = L(t, "content", 15);
3164
3164
  var r = Fl(), i = P(r);
3165
- return tl(i, () => Bl.sanitize(n(), { USE_PROFILES: { svg: !0 } })), V(r), R(e, r), G({
3165
+ return tl(i, () => Bl.sanitize(n(), { USE_PROFILES: { svg: !0 } })), V(r), R(e, r), W({
3166
3166
  get content() {
3167
3167
  return n();
3168
3168
  },
@@ -3171,17 +3171,17 @@ function re(e, t) {
3171
3171
  }
3172
3172
  });
3173
3173
  }
3174
- q(re, { content: {} }, [], [], !0);
3174
+ G(re, { content: {} }, [], [], !0);
3175
3175
  var Zl = (e, t) => t()(), zl = /* @__PURE__ */ se('<button><!> <div class="icon-text svelte-1yt34jg"> </div></button>');
3176
- const jl = {
3176
+ const ql = {
3177
3177
  hash: "svelte-1yt34jg",
3178
- code: `button.svelte-1yt34jg {display:flex;align-items:center;margin:0.2rem 0;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}.icon-text:where(.svelte-1yt34jg) {font-size:0.8rem;}}button.svelte-1yt34jg:enabled {cursor:pointer;}button.dropdownOpen.svelte-1yt34jg:enabled,
3179
- button.highlighted.svelte-1yt34jg:enabled {color:var(--tiptob-bg-icon-highlighted, #2977ff);background-color:var(--tiptob-bg-button-highlighted, #f0f7ff);svg {fill:var(--tiptob-bg-icon-highlighted, #2977ff);}}button.dropdownOpen.svelte-1yt34jg:enabled::after,
3178
+ code: `button.svelte-1yt34jg {display:flex;align-items:center;margin:0.2rem 0;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}.icon-text:where(.svelte-1yt34jg) {font-size:0.8rem;}}button.svelte-1yt34jg:enabled {cursor:pointer;}button.dropdownOpen.svelte-1yt34jg:enabled,\r
3179
+ button.highlighted.svelte-1yt34jg:enabled {color:var(--tiptob-bg-icon-highlighted, #2977ff);background-color:var(--tiptob-bg-button-highlighted, #f0f7ff);svg {fill:var(--tiptob-bg-icon-highlighted, #2977ff);}}button.dropdownOpen.svelte-1yt34jg:enabled::after,\r
3180
3180
  button.highlighted.svelte-1yt34jg:enabled::after {color:var(--tiptob-bg-icon-highlighted, #2977ff);}`
3181
3181
  };
3182
3182
  function me(e, t) {
3183
- W(t, !0), Se(e, jl);
3184
- let n = L(t, "editor", 7), r = L(t, "key", 7), i = L(t, "action", 7), o = L(t, "icon", 7), a = L(t, "tooltip", 7), s = L(t, "text", 7, ""), f = L(t, "dropdownOpen", 15, !1), l = /* @__PURE__ */ j(!1), g = /* @__PURE__ */ j(!1);
3183
+ j(t, !0), Se(e, ql);
3184
+ let n = L(t, "editor", 7), r = L(t, "key", 7), i = L(t, "action", 7), o = L(t, "icon", 7), a = L(t, "tooltip", 7), s = L(t, "text", 7, ""), f = L(t, "dropdownOpen", 15, !1), l = /* @__PURE__ */ q(!1), g = /* @__PURE__ */ q(!1);
3185
3185
  Xa(() => {
3186
3186
  n().on("transaction", () => {
3187
3187
  r() === "textStyle" ? M(l, !!n().getAttributes(r()).color && n().isActive(r()), !0) : M(l, n().isActive(r()), !0);
@@ -3209,7 +3209,7 @@ function me(e, t) {
3209
3209
  dropdownOpen: f()
3210
3210
  })
3211
3211
  ]
3212
- ), R(e, c), G({
3212
+ ), R(e, c), W({
3213
3213
  get editor() {
3214
3214
  return n();
3215
3215
  },
@@ -3255,7 +3255,7 @@ function me(e, t) {
3255
3255
  });
3256
3256
  }
3257
3257
  Ke(["click"]);
3258
- q(
3258
+ G(
3259
3259
  me,
3260
3260
  {
3261
3261
  editor: {},
@@ -3270,8 +3270,8 @@ q(
3270
3270
  [],
3271
3271
  !0
3272
3272
  );
3273
- function Wl(e, t) {
3274
- W(t, !0);
3273
+ function jl(e, t) {
3274
+ j(t, !0);
3275
3275
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
3276
3276
  const i = { de: "Fett", en: "Bold" }, o = () => n().chain().focus().toggleBold().run();
3277
3277
  var a = Y(), s = U(a);
@@ -3295,7 +3295,7 @@ function Wl(e, t) {
3295
3295
  n() && l(f);
3296
3296
  });
3297
3297
  }
3298
- return R(e, a), G({
3298
+ return R(e, a), W({
3299
3299
  get editor() {
3300
3300
  return n();
3301
3301
  },
@@ -3310,9 +3310,9 @@ function Wl(e, t) {
3310
3310
  }
3311
3311
  });
3312
3312
  }
3313
- customElements.define("tiptob-bold-button", q(Wl, { editor: {}, language: {} }, [], [], !0));
3314
- const Gl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15.2459 14H8.75407L7.15407 18H5L11 3H13L19 18H16.8459L15.2459 14ZM14.4459 12L12 5.88516L9.55407 12H14.4459ZM3 20H21V22H3V20Z"></path></svg>', Mi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8.58564 8.85449L3.63589 13.8042L8.83021 18.9985L9.99985 18.9978V18.9966H11.1714L14.9496 15.2184L8.58564 8.85449ZM9.99985 7.44027L16.3638 13.8042L19.1922 10.9758L12.8283 4.61185L9.99985 7.44027ZM13.9999 18.9966H20.9999V20.9966H11.9999L8.00229 20.9991L1.51457 14.5113C1.12405 14.1208 1.12405 13.4877 1.51457 13.0971L12.1212 2.49053C12.5117 2.1 13.1449 2.1 13.5354 2.49053L21.3136 10.2687C21.7041 10.6592 21.7041 11.2924 21.3136 11.6829L13.9999 18.9966Z"></path></svg>';
3315
- function ql(e) {
3313
+ customElements.define("tiptob-bold-button", G(jl, { editor: {}, language: {} }, [], [], !0));
3314
+ const Wl = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15.2459 14H8.75407L7.15407 18H5L11 3H13L19 18H16.8459L15.2459 14ZM14.4459 12L12 5.88516L9.55407 12H14.4459ZM3 20H21V22H3V20Z"></path></svg>', Mi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8.58564 8.85449L3.63589 13.8042L8.83021 18.9985L9.99985 18.9978V18.9966H11.1714L14.9496 15.2184L8.58564 8.85449ZM9.99985 7.44027L16.3638 13.8042L19.1922 10.9758L12.8283 4.61185L9.99985 7.44027ZM13.9999 18.9966H20.9999V20.9966H11.9999L8.00229 20.9991L1.51457 14.5113C1.12405 14.1208 1.12405 13.4877 1.51457 13.0971L12.1212 2.49053C12.5117 2.1 13.1449 2.1 13.5354 2.49053L21.3136 10.2687C21.7041 10.6592 21.7041 11.2924 21.3136 11.6829L13.9999 18.9966Z"></path></svg>';
3315
+ function Gl(e) {
3316
3316
  const t = (n) => {
3317
3317
  e.contains(n.composedPath()[0]) || e.dispatchEvent(new CustomEvent("outclick"));
3318
3318
  };
@@ -3345,14 +3345,14 @@ function Kl(e, { delay: t = 0, duration: n = 400, easing: r = Yl, x: i = 0, y: o
3345
3345
  opacity: ${f - g * h}`
3346
3346
  };
3347
3347
  }
3348
- var Xl = /* @__PURE__ */ se('<div class="dropdown svelte-4qrctn"><!></div>'), Jl = /* @__PURE__ */ se("<div><!> <!></div>");
3348
+ var Xl = /* @__PURE__ */ se('<div class="dropdown svelte-1t06e84"><!></div>'), Jl = /* @__PURE__ */ se("<div><!> <!></div>");
3349
3349
  const Ql = {
3350
- hash: "svelte-4qrctn",
3351
- code: `.dropdown-wrapper.svelte-4qrctn {position:relative;> button::after {margin-left:0.25rem;content:"";display:inline-block;border-top:0.3rem solid;border-right:0.3rem solid transparent;border-left:0.3rem solid transparent;transition:transform 0.3s ease;transform:rotate(0deg);}&.open > button::after {transform:rotate(180deg);}.dropdown:where(.svelte-4qrctn) {z-index:99;position:absolute;box-shadow:rgba(0, 0, 0, 0.05) 0px 6px 10px 0px,\r
3350
+ hash: "svelte-1t06e84",
3351
+ code: `.dropdown-wrapper.svelte-1t06e84 {position:relative;> button::after {margin-left:0.25rem;content:"";display:inline-block;border-top:0.3rem solid var(--tiptob-bg-icon, #333333);border-right:0.3rem solid transparent;border-left:0.3rem solid transparent;transition:transform 0.3s ease;transform:rotate(0deg);}&.open > button::after {transform:rotate(180deg);}.dropdown:where(.svelte-1t06e84) {z-index:99;position:absolute;box-shadow:rgba(0, 0, 0, 0.05) 0px 6px 10px 0px,\r
3352
3352
  rgba(0, 0, 0, 0.1) 0px 0px 0px 1px;background-color:var(--tiptob-bg-button, #ffffff);top:2.125rem;}}`
3353
3353
  };
3354
3354
  function nt(e, t) {
3355
- W(t, !0), Se(e, Ql);
3355
+ j(t, !0), Se(e, Ql);
3356
3356
  let n = L(t, "editor", 7), r = L(t, "key", 7), i = L(t, "icon", 7), o = L(t, "text", 7, ""), a = L(t, "dropdownOpen", 15), s = L(t, "children", 7), f = L(t, "tooltip", 7);
3357
3357
  function l() {
3358
3358
  a(!a());
@@ -3394,7 +3394,7 @@ function nt(e, t) {
3394
3394
  a() && h(_);
3395
3395
  });
3396
3396
  }
3397
- return V(c), bi(c, (h) => ql?.(h)), Ae((h) => v = Rn(c, 1, "dropdown-wrapper svelte-4qrctn", null, v, h), [() => ({ open: a() })]), vi("outclick", c, g), R(e, c), G({
3397
+ return V(c), bi(c, (h) => Gl?.(h)), Ae((h) => v = Rn(c, 1, "dropdown-wrapper svelte-1t06e84", null, v, h), [() => ({ open: a() })]), vi("outclick", c, g), R(e, c), W({
3398
3398
  get editor() {
3399
3399
  return n();
3400
3400
  },
@@ -3439,7 +3439,7 @@ function nt(e, t) {
3439
3439
  }
3440
3440
  });
3441
3441
  }
3442
- q(
3442
+ G(
3443
3443
  nt,
3444
3444
  {
3445
3445
  editor: {},
@@ -3460,14 +3460,14 @@ function es(e, t, n) {
3460
3460
  var ts = (
3461
3461
  //@ts-expect-error: This error is expected because the editor is initilized outside of the Web-component
3462
3462
  (e, t, n) => t(S(n))
3463
- ), ns = /* @__PURE__ */ se('<button class="svelte-1vo5uv9"></button>'), rs = /* @__PURE__ */ se('<div class="color-picker svelte-1vo5uv9"><button class="clear svelte-1vo5uv9"><!></button> <!></div>');
3463
+ ), ns = /* @__PURE__ */ se('<button class="svelte-q6tzgf"></button>'), rs = /* @__PURE__ */ se('<div class="color-picker svelte-q6tzgf"><button class="clear svelte-q6tzgf"><!></button> <!></div>');
3464
3464
  const os = {
3465
- hash: "svelte-1vo5uv9",
3466
- code: ".color-picker.svelte-1vo5uv9 {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-1vo5uv9) {border:none;border-radius:2px;}.clear:where(.svelte-1vo5uv9) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-1vo5uv9):not(.clear) {display:flex;width:1.5rem;height:1.5rem;border:1px solid var(--tiptob-bg-icon, #cecece);cursor:pointer;&:hover {border:1px solid #2977ff;}}}"
3465
+ hash: "svelte-q6tzgf",
3466
+ code: ".color-picker.svelte-q6tzgf {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-q6tzgf) {border:none;border-radius:0.25rem;}.clear:where(.svelte-q6tzgf) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-q6tzgf):not(.clear) {display:flex;width:1.5rem;height:1.5rem;cursor:pointer;&:hover {border:2px solid #2977ff;}}}"
3467
3467
  };
3468
3468
  function is(e, t) {
3469
- W(t, !0), Se(e, os);
3470
- let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ j(!1);
3469
+ j(t, !0), Se(e, os);
3470
+ let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ q(!1);
3471
3471
  const o = { de: "Schriftfarbe", en: "Font Color" }, a = [
3472
3472
  "#E91313",
3473
3473
  "#118800",
@@ -3488,7 +3488,7 @@ function is(e, t) {
3488
3488
  },
3489
3489
  key: "textStyle",
3490
3490
  get icon() {
3491
- return Gl;
3491
+ return Wl;
3492
3492
  },
3493
3493
  get tooltip() {
3494
3494
  return o[r()];
@@ -3523,7 +3523,7 @@ function is(e, t) {
3523
3523
  n() && c(g);
3524
3524
  });
3525
3525
  }
3526
- return R(e, f), G({
3526
+ return R(e, f), W({
3527
3527
  get editor() {
3528
3528
  return n();
3529
3529
  },
@@ -3539,7 +3539,7 @@ function is(e, t) {
3539
3539
  });
3540
3540
  }
3541
3541
  Ke(["click"]);
3542
- customElements.define("tiptob-font-color-button", q(is, { editor: {}, language: {} }, [], [], !0));
3542
+ customElements.define("tiptob-font-color-button", G(is, { editor: {}, language: {} }, [], [], !0));
3543
3543
  const as = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z"></path></svg>';
3544
3544
  var ls = /* @__PURE__ */ se("<button></button>"), ss = /* @__PURE__ */ se('<div class="table svelte-qy6brn"></div> <div class="display svelte-qy6brn"> </div>', 1);
3545
3545
  const us = {
@@ -3548,10 +3548,10 @@ const us = {
3548
3548
  &.highlight {background-color:var(--tiptob-bg-button-highlighted, #a6ccf7);}}}.display.svelte-qy6brn {text-align:center;color:var(--tiptob-bg-icon, #333333);padding-bottom:0.25rem;}`
3549
3549
  };
3550
3550
  function fs(e, t) {
3551
- W(t, !0), Se(e, us);
3551
+ j(t, !0), Se(e, us);
3552
3552
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
3553
3553
  const i = { de: "Tabelle", en: "Table" };
3554
- let o = /* @__PURE__ */ j(!1), a = /* @__PURE__ */ j(0), s = /* @__PURE__ */ j(0);
3554
+ let o = /* @__PURE__ */ q(!1), a = /* @__PURE__ */ q(0), s = /* @__PURE__ */ q(0);
3555
3555
  const f = 10;
3556
3556
  function l(p, d) {
3557
3557
  n().chain().focus().insertTable({ rows: p, cols: d, withHeaderRow: !1 }).run(), M(o, !1);
@@ -3597,7 +3597,7 @@ function fs(e, t) {
3597
3597
  n() && p(v);
3598
3598
  });
3599
3599
  }
3600
- return R(e, g), G({
3600
+ return R(e, g), W({
3601
3601
  get editor() {
3602
3602
  return n();
3603
3603
  },
@@ -3613,16 +3613,16 @@ function fs(e, t) {
3613
3613
  });
3614
3614
  }
3615
3615
  Ke(["click"]);
3616
- customElements.define("tiptob-table-button", q(fs, { editor: {}, language: {} }, [], [], !0));
3616
+ customElements.define("tiptob-table-button", G(fs, { editor: {}, language: {} }, [], [], !0));
3617
3617
  const cs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM13.4142 13.9997L15.182 15.7675L13.7678 17.1817L12 15.4139L10.2322 17.1817L8.81802 15.7675L10.5858 13.9997L8.81802 12.232L10.2322 10.8178L12 12.5855L13.7678 10.8178L15.182 12.232L13.4142 13.9997ZM9 4V6H15V4H9Z"></path></svg>', ds = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 3C12.5523 3 13 3.44772 13 4L12.9998 11.9998C13.8355 11.372 14.8743 11 16 11C18.7614 11 21 13.2386 21 16C21 18.7614 18.7614 21 16 21C14.9681 21 14.0092 20.6874 13.2129 20.1518L13 20C13 20.5523 12.5523 21 12 21H6C5.44772 21 5 20.5523 5 20V4C5 3.44772 5.44772 3 6 3H12ZM11 5H7V19H11V5ZM19 15H13V17H19V15Z"></path></svg>', gs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 5C20.5523 5 21 5.44772 21 6V12C21 12.5523 20.5523 13 20 13C20.628 13.8355 21 14.8743 21 16C21 18.7614 18.7614 21 16 21C13.2386 21 11 18.7614 11 16C11 14.8743 11.372 13.8355 11.9998 12.9998L4 13C3.44772 13 3 12.5523 3 12V6C3 5.44772 3.44772 5 4 5H20ZM13 15V17H19V15H13ZM19 7H5V11H19V7Z"></path></svg>', vs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 3C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H14C13.4477 21 13 20.5523 13 20V4C13 3.44772 13.4477 3 14 3H20ZM19 5H15V19H19V5ZM6 7C8.76142 7 11 9.23858 11 12C11 14.7614 8.76142 17 6 17C3.23858 17 1 14.7614 1 12C1 9.23858 3.23858 7 6 7ZM7 9H5V10.999L3 11V13L5 12.999V15H7V12.999L9 13V11L7 10.999V9Z"></path></svg>', hs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 3C10.5523 3 11 3.44772 11 4V20C11 20.5523 10.5523 21 10 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H10ZM9 5H5V19H9V5ZM18 7C20.7614 7 23 9.23858 23 12C23 14.7614 20.7614 17 18 17C15.2386 17 13 14.7614 13 12C13 9.23858 15.2386 7 18 7ZM19 9H17V10.999L15 11V13L17 12.999V15H19V12.999L21 13V11L19 10.999V9Z"></path></svg>', ps = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 13C20.5523 13 21 13.4477 21 14V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V14C3 13.4477 3.44772 13 4 13H20ZM19 15H5V19H19V15ZM12 1C14.7614 1 17 3.23858 17 6C17 8.76142 14.7614 11 12 11C9.23858 11 7 8.76142 7 6C7 3.23858 9.23858 1 12 1ZM13 3H11V4.999L9 5V7L11 6.999V9H13V6.999L15 7V5L13 4.999V3Z"></path></svg>', _s = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 13C14.7614 13 17 15.2386 17 18C17 20.7614 14.7614 23 12 23C9.23858 23 7 20.7614 7 18C7 15.2386 9.23858 13 12 13ZM13 15H11V16.999L9 17V19L11 18.999V21H13V18.999L15 19V17L13 16.999V15ZM20 3C20.5523 3 21 3.44772 21 4V10C21 10.5523 20.5523 11 20 11H4C3.44772 11 3 10.5523 3 10V4C3 3.44772 3.44772 3 4 3H20ZM5 5V9H19V5H5Z"></path></svg>';
3618
- var ms = (e, t) => t().commands.toggleHeaderCell(), bs = (e, t) => t().commands.deleteTable(), ws = (e, t) => t().commands.addRowBefore(), Cs = (e, t) => t().commands.addRowAfter(), Es = (e, t) => t().commands.deleteRow(), ys = (e, t) => t().commands.addColumnBefore(), Ts = (e, t) => t().commands.addColumnAfter(), As = (e, t) => t().commands.deleteColumn(), Ls = /* @__PURE__ */ se('<div class="table-bubble-menu svelte-1e2ztb0"><div class="table-toolbar svelte-1e2ztb0"><div class="toolbar-button-group svelte-1e2ztb0"><button class="toggle-header-button svelte-1e2ztb0">Toggle Header</button> <button class="svelte-1e2ztb0"><!></button></div> <div class="toolbar-button-group svelte-1e2ztb0"><button class="svelte-1e2ztb0"><!></button> <button class="svelte-1e2ztb0"><!></button> <button class="svelte-1e2ztb0"><!></button></div> <div class="toolbar-button-group svelte-1e2ztb0"><button class="svelte-1e2ztb0"><!></button> <button class="svelte-1e2ztb0"><!></button> <button class="svelte-1e2ztb0"><!></button></div></div></div>');
3618
+ var ms = (e, t) => t().commands.toggleHeaderCell(), bs = (e, t) => t().commands.deleteTable(), ws = (e, t) => t().commands.addRowBefore(), Cs = (e, t) => t().commands.addRowAfter(), Es = (e, t) => t().commands.deleteRow(), ys = (e, t) => t().commands.addColumnBefore(), Ts = (e, t) => t().commands.addColumnAfter(), As = (e, t) => t().commands.deleteColumn(), Ls = /* @__PURE__ */ se('<div class="table-bubble-menu svelte-10tgo9a"><div class="table-toolbar svelte-10tgo9a"><div class="toolbar-button-group svelte-10tgo9a"><button class="toggle-header-button svelte-10tgo9a">Toggle Header</button> <button class="svelte-10tgo9a"><!></button></div> <div class="toolbar-button-group svelte-10tgo9a"><button class="svelte-10tgo9a"><!></button> <button class="svelte-10tgo9a"><!></button> <button class="svelte-10tgo9a"><!></button></div> <div class="toolbar-button-group svelte-10tgo9a"><button class="svelte-10tgo9a"><!></button> <button class="svelte-10tgo9a"><!></button> <button class="svelte-10tgo9a"><!></button></div></div></div>');
3619
3619
  const ks = {
3620
- hash: "svelte-1e2ztb0",
3621
- code: `.table-bubble-menu.svelte-1e2ztb0 {background-color:var(--tiptob-bg-button, #ffffff);border:1px solid var(--tiptob-bg-button, #eeeeee);border-radius:0.5rem;box-shadow:0 0 2px 0 rgba(34, 47, 62, 0.2),\r
3622
- 0 0.25rem 0.5rem 0 rgba(34, 47, 62, 0.15);min-width:max-content;overflow:hidden;& .table-toolbar:where(.svelte-1e2ztb0) {display:flex;flex-direction:row;align-items:center;padding:0.25rem 0;& .toolbar-button-group:where(.svelte-1e2ztb0) {display:flex;gap:0.125rem;padding:0 0.5rem;align-items:center;& button:where(.svelte-1e2ztb0) {cursor:pointer;margin:0.5rem 0;height:1.75rem;border:none;border-radius:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);&:hover {background-color:var(--tiptob-bg-button-hover, #e2e2e2);}}}}}`
3620
+ hash: "svelte-10tgo9a",
3621
+ code: `.table-bubble-menu.svelte-10tgo9a {background-color:var(--tiptob-bg-button, #ffffff);border:1px solid var(--tiptob-bg-button, #eeeeee);border-radius:0.5rem;box-shadow:0 0 2px 0 rgba(34, 47, 62, 0.2),\r
3622
+ 0 0.25rem 0.5rem 0 rgba(34, 47, 62, 0.15);min-width:max-content;overflow:hidden;& .table-toolbar:where(.svelte-10tgo9a) {display:flex;flex-direction:row;align-items:center;padding:0.25rem 0;& .toolbar-button-group:where(.svelte-10tgo9a) {display:flex;gap:0.125rem;padding:0 0.5rem;align-items:center;& button:where(.svelte-10tgo9a) {cursor:pointer;margin:0.5rem 0;height:1.75rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);&:hover {background-color:var(--tiptob-bg-button-hover, #e2e2e2);}}}}}`
3623
3623
  };
3624
3624
  function xs(e, t) {
3625
- W(t, !0), Se(e, ks);
3625
+ j(t, !0), Se(e, ks);
3626
3626
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
3627
3627
  const i = {
3628
3628
  de: {
@@ -3714,7 +3714,7 @@ function xs(e, t) {
3714
3714
  n() && f(s);
3715
3715
  });
3716
3716
  }
3717
- return R(e, o), G({
3717
+ return R(e, o), W({
3718
3718
  get editor() {
3719
3719
  return n();
3720
3720
  },
@@ -3730,10 +3730,10 @@ function xs(e, t) {
3730
3730
  });
3731
3731
  }
3732
3732
  Ke(["click"]);
3733
- customElements.define("tiptob-table-bubble-menu", q(xs, { editor: {}, language: {} }, [], [], !0));
3733
+ customElements.define("tiptob-table-bubble-menu", G(xs, { editor: {}, language: {} }, [], [], !0));
3734
3734
  const Ss = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>';
3735
3735
  function Ms(e, t) {
3736
- W(t, !0);
3736
+ j(t, !0);
3737
3737
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
3738
3738
  const i = { de: "Aufzählung", en: "Bulleted List" }, o = () => n().chain().focus().toggleBulletList().run();
3739
3739
  var a = Y(), s = U(a);
@@ -3757,7 +3757,7 @@ function Ms(e, t) {
3757
3757
  n() && l(f);
3758
3758
  });
3759
3759
  }
3760
- return R(e, a), G({
3760
+ return R(e, a), W({
3761
3761
  get editor() {
3762
3762
  return n();
3763
3763
  },
@@ -3772,19 +3772,19 @@ function Ms(e, t) {
3772
3772
  }
3773
3773
  });
3774
3774
  }
3775
- customElements.define("tiptob-bullet-list-button", q(Ms, { editor: {}, language: {} }, [], [], !0));
3775
+ customElements.define("tiptob-bullet-list-button", G(Ms, { editor: {}, language: {} }, [], [], !0));
3776
3776
  const Hs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z"></path></svg>';
3777
3777
  function Rs(e, t, n) {
3778
3778
  t().chain().focus().unsetHighlight().run(), M(n, !1);
3779
3779
  }
3780
- var Os = (e, t, n) => t(S(n)), Is = /* @__PURE__ */ se('<button class="svelte-1a12l75"></button>'), Ns = /* @__PURE__ */ se('<div class="color-picker svelte-1a12l75"><button class="clear svelte-1a12l75"><!></button> <!></div>');
3780
+ var Os = (e, t, n) => t(S(n)), Is = /* @__PURE__ */ se('<button class="svelte-1bfy966"></button>'), Ns = /* @__PURE__ */ se('<div class="color-picker svelte-1bfy966"><button class="clear svelte-1bfy966"><!></button> <!></div>');
3781
3781
  const Vs = {
3782
- hash: "svelte-1a12l75",
3783
- code: ".color-picker.svelte-1a12l75 {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-1a12l75) {border:none;border-radius:2px;}.clear:where(.svelte-1a12l75) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-1a12l75):not(.clear) {display:flex;width:1.5rem;height:1.5rem;border:1px solid var(--tiptob-bg-icon, #cecece);cursor:pointer;&:hover {border:1px solid #2977ff;}}}"
3782
+ hash: "svelte-1bfy966",
3783
+ code: ".color-picker.svelte-1bfy966 {display:flex;flex-flow:row wrap;gap:0.25rem;width:5rem;background-color:var(--tiptob-bg-button, #ffffff);padding:0.25rem;button:where(.svelte-1bfy966) {border:none;border-radius:0.25rem;}.clear:where(.svelte-1bfy966) {width:100%;text-align:center;padding:0.5rem;background-color:var(--tiptob-bg-button, #ffffff);color:#333333;align-items:center;justify-content:center;display:flex;cursor:pointer;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;}}button:where(.svelte-1bfy966):not(.clear) {display:flex;width:1.5rem;height:1.5rem;cursor:pointer;&:hover {border:1px solid #2977ff;}}}"
3784
3784
  };
3785
3785
  function Ds(e, t) {
3786
- W(t, !0), Se(e, Vs);
3787
- let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ j(!1);
3786
+ j(t, !0), Se(e, Vs);
3787
+ let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ q(!1);
3788
3788
  const o = { de: "Markieren", en: "Font Highlight" }, a = [
3789
3789
  "#E91313",
3790
3790
  "#118800",
@@ -3840,7 +3840,7 @@ function Ds(e, t) {
3840
3840
  n() && c(g);
3841
3841
  });
3842
3842
  }
3843
- return R(e, f), G({
3843
+ return R(e, f), W({
3844
3844
  get editor() {
3845
3845
  return n();
3846
3846
  },
@@ -3856,7 +3856,7 @@ function Ds(e, t) {
3856
3856
  });
3857
3857
  }
3858
3858
  Ke(["click"]);
3859
- customElements.define("tiptob-font-highlight-button", q(Ds, { editor: {}, language: {} }, [], [], !0));
3859
+ customElements.define("tiptob-font-highlight-button", G(Ds, { editor: {}, language: {} }, [], [], !0));
3860
3860
  const Mr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"></path></svg>', xo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 15V18H24V20H21V23H19V20H16V18H19V15H21ZM21.0082 3C21.556 3 22 3.44495 22 3.9934V13H20V5H4V18.999L14 9L17 12V14.829L14 11.8284L6.827 19H14V21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082ZM8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7Z"></path></svg>', Hr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"></path></svg>';
3861
3861
  function Ps(e, t) {
3862
3862
  e.key === "Enter" && (e.preventDefault(), t());
@@ -3866,15 +3866,15 @@ var $s = /* @__PURE__ */ se('<!> <input type="file" accept="image/*" class="svel
3866
3866
  }, Fs = /* @__PURE__ */ se('<div class="tiptob-link-input-wrapper svelte-1srbyfn"><input id="tiptob-link-input" type="url" placeholder="Paste a Image Url..." autocomplete="off" class="tiptob-link-input svelte-1srbyfn"/> <button type="button" class="confirm svelte-1srbyfn"><!></button> <button class="close svelte-1srbyfn" type="button"><!></button></div>');
3867
3867
  const Us = {
3868
3868
  hash: "svelte-1srbyfn",
3869
- code: `\r
3870
- /* --- Image URL Modal Styles --- */.tiptob-link-input-wrapper.svelte-1srbyfn {display:flex;flex-direction:row;gap:0.25rem;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);}button.svelte-1srbyfn {display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0.25rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);flex:40%;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&:disabled {opacity:0.5;cursor:default;&.confirm {svg {fill:var(--tiptob-bg-icon, #333333);}}}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}.tiptob-link-input.svelte-1srbyfn::placeholder {color:var(--table-resubmission-line, rgba(0, 0, 0, 0.4));}.tiptob-link-input.svelte-1srbyfn {display:flex;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);outline:none;border:0;}\r
3869
+ code: `
3870
+ /* --- Image URL Modal Styles --- */.tiptob-link-input-wrapper.svelte-1srbyfn {display:flex;flex-direction:row;gap:0.25rem;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);}button.svelte-1srbyfn {display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0.25rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);flex:40%;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&:disabled {opacity:0.5;cursor:default;&.confirm {svg {fill:var(--tiptob-bg-icon, #333333);}}}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}.tiptob-link-input.svelte-1srbyfn::placeholder {color:var(--table-resubmission-line, rgba(0, 0, 0, 0.4));}.tiptob-link-input.svelte-1srbyfn {display:flex;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);outline:none;border:0;}
3871
3871
  /* --- File Input Styles --- */input[type="file"].svelte-1srbyfn {display:none;}`
3872
3872
  };
3873
3873
  function Zs(e, t) {
3874
- W(t, !0), Se(e, Us);
3874
+ j(t, !0), Se(e, Us);
3875
3875
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = L(t, "imageUpload", 7);
3876
3876
  const o = { de: "Bild einfügen", en: "Insert Image" };
3877
- let a = /* @__PURE__ */ j(!1), s = /* @__PURE__ */ j(""), f;
3877
+ let a = /* @__PURE__ */ q(!1), s = /* @__PURE__ */ q(""), f;
3878
3878
  function l(d) {
3879
3879
  const _ = d.target;
3880
3880
  for (const h of _.files ?? [])
@@ -3960,7 +3960,7 @@ function Zs(e, t) {
3960
3960
  n() && d(p);
3961
3961
  });
3962
3962
  }
3963
- return R(e, c), G({
3963
+ return R(e, c), W({
3964
3964
  get editor() {
3965
3965
  return n();
3966
3966
  },
@@ -3982,10 +3982,10 @@ function Zs(e, t) {
3982
3982
  });
3983
3983
  }
3984
3984
  Ke(["change", "keydown", "click"]);
3985
- customElements.define("tiptob-image-button", q(Zs, { editor: {}, language: {}, imageUpload: {} }, [], [], !0));
3985
+ customElements.define("tiptob-image-button", G(Zs, { editor: {}, language: {}, imageUpload: {} }, [], [], !0));
3986
3986
  const zs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 20H7V18H9.92661L12.0425 6H9V4H17V6H14.0734L11.9575 18H15V20Z"></path></svg>';
3987
- function js(e, t) {
3988
- W(t, !0);
3987
+ function qs(e, t) {
3988
+ j(t, !0);
3989
3989
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
3990
3990
  const i = { de: "Kursiv", en: "Italic" }, o = () => n().chain().focus().toggleItalic().run();
3991
3991
  var a = Y(), s = U(a);
@@ -4009,7 +4009,7 @@ function js(e, t) {
4009
4009
  n() && l(f);
4010
4010
  });
4011
4011
  }
4012
- return R(e, a), G({
4012
+ return R(e, a), W({
4013
4013
  get editor() {
4014
4014
  return n();
4015
4015
  },
@@ -4024,10 +4024,10 @@ function js(e, t) {
4024
4024
  }
4025
4025
  });
4026
4026
  }
4027
- customElements.define("tiptob-italic-button", q(js, { editor: {}, language: {} }, [], [], !0));
4028
- const Ws = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 4C10.1046 4 11 4.89543 11 6V12.8271C10.1058 12.1373 8.96602 11.7305 7.6644 11.5136L7.3356 13.4864C8.71622 13.7165 9.59743 14.1528 10.1402 14.7408C10.67 15.3147 11 16.167 11 17.5C11 18.8807 9.88071 20 8.5 20C7.11929 20 6 18.8807 6 17.5V17.1493C6.43007 17.2926 6.87634 17.4099 7.3356 17.4864L7.6644 15.5136C6.92149 15.3898 6.1752 15.1144 5.42909 14.7599C4.58157 14.3573 4 13.499 4 12.5C4 11.6653 4.20761 11.0085 4.55874 10.5257C4.90441 10.0504 5.4419 9.6703 6.24254 9.47014L7 9.28078V6C7 4.89543 7.89543 4 9 4ZM12 3.35418C11.2671 2.52376 10.1947 2 9 2C6.79086 2 5 3.79086 5 6V7.77422C4.14895 8.11644 3.45143 8.64785 2.94126 9.34933C2.29239 10.2415 2 11.3347 2 12.5C2 14.0652 2.79565 15.4367 4 16.2422V17.5C4 19.9853 6.01472 22 8.5 22C9.91363 22 11.175 21.3482 12 20.3287C12.825 21.3482 14.0864 22 15.5 22C17.9853 22 20 19.9853 20 17.5V16.2422C21.2044 15.4367 22 14.0652 22 12.5C22 11.3347 21.7076 10.2415 21.0587 9.34933C20.5486 8.64785 19.8511 8.11644 19 7.77422V6C19 3.79086 17.2091 2 15 2C13.8053 2 12.7329 2.52376 12 3.35418ZM18 17.1493V17.5C18 18.8807 16.8807 20 15.5 20C14.1193 20 13 18.8807 13 17.5C13 16.167 13.33 15.3147 13.8598 14.7408C14.4026 14.1528 15.2838 13.7165 16.6644 13.4864L16.3356 11.5136C15.034 11.7305 13.8942 12.1373 13 12.8271V6C13 4.89543 13.8954 4 15 4C16.1046 4 17 4.89543 17 6V9.28078L17.7575 9.47014C18.5581 9.6703 19.0956 10.0504 19.4413 10.5257C19.7924 11.0085 20 11.6653 20 12.5C20 13.499 19.4184 14.3573 18.5709 14.7599C17.8248 15.1144 17.0785 15.3898 16.3356 15.5136L16.6644 17.4864C17.1237 17.4099 17.5699 17.2926 18 17.1493Z"></path></svg>';
4029
- function Gs(e, t) {
4030
- W(t, !0);
4027
+ customElements.define("tiptob-italic-button", G(qs, { editor: {}, language: {} }, [], [], !0));
4028
+ const js = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 4C10.1046 4 11 4.89543 11 6V12.8271C10.1058 12.1373 8.96602 11.7305 7.6644 11.5136L7.3356 13.4864C8.71622 13.7165 9.59743 14.1528 10.1402 14.7408C10.67 15.3147 11 16.167 11 17.5C11 18.8807 9.88071 20 8.5 20C7.11929 20 6 18.8807 6 17.5V17.1493C6.43007 17.2926 6.87634 17.4099 7.3356 17.4864L7.6644 15.5136C6.92149 15.3898 6.1752 15.1144 5.42909 14.7599C4.58157 14.3573 4 13.499 4 12.5C4 11.6653 4.20761 11.0085 4.55874 10.5257C4.90441 10.0504 5.4419 9.6703 6.24254 9.47014L7 9.28078V6C7 4.89543 7.89543 4 9 4ZM12 3.35418C11.2671 2.52376 10.1947 2 9 2C6.79086 2 5 3.79086 5 6V7.77422C4.14895 8.11644 3.45143 8.64785 2.94126 9.34933C2.29239 10.2415 2 11.3347 2 12.5C2 14.0652 2.79565 15.4367 4 16.2422V17.5C4 19.9853 6.01472 22 8.5 22C9.91363 22 11.175 21.3482 12 20.3287C12.825 21.3482 14.0864 22 15.5 22C17.9853 22 20 19.9853 20 17.5V16.2422C21.2044 15.4367 22 14.0652 22 12.5C22 11.3347 21.7076 10.2415 21.0587 9.34933C20.5486 8.64785 19.8511 8.11644 19 7.77422V6C19 3.79086 17.2091 2 15 2C13.8053 2 12.7329 2.52376 12 3.35418ZM18 17.1493V17.5C18 18.8807 16.8807 20 15.5 20C14.1193 20 13 18.8807 13 17.5C13 16.167 13.33 15.3147 13.8598 14.7408C14.4026 14.1528 15.2838 13.7165 16.6644 13.4864L16.3356 11.5136C15.034 11.7305 13.8942 12.1373 13 12.8271V6C13 4.89543 13.8954 4 15 4C16.1046 4 17 4.89543 17 6V9.28078L17.7575 9.47014C18.5581 9.6703 19.0956 10.0504 19.4413 10.5257C19.7924 11.0085 20 11.6653 20 12.5C20 13.499 19.4184 14.3573 18.5709 14.7599C17.8248 15.1144 17.0785 15.3898 16.3356 15.5136L16.6644 17.4864C17.1237 17.4099 17.5699 17.2926 18 17.1493Z"></path></svg>';
4029
+ function Ws(e, t) {
4030
+ j(t, !0);
4031
4031
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4032
4032
  const i = { de: "Wissensmarkierung", en: "Knowledge Mark" }, o = () => n().chain().toggleKnowledgeMark().run();
4033
4033
  var a = Y(), s = U(a);
@@ -4040,7 +4040,7 @@ function Gs(e, t) {
4040
4040
  action: o,
4041
4041
  key: "knowledge",
4042
4042
  get icon() {
4043
- return Ws;
4043
+ return js;
4044
4044
  },
4045
4045
  get tooltip() {
4046
4046
  return i[r()];
@@ -4051,7 +4051,7 @@ function Gs(e, t) {
4051
4051
  n() && l(f);
4052
4052
  });
4053
4053
  }
4054
- return R(e, a), G({
4054
+ return R(e, a), W({
4055
4055
  get editor() {
4056
4056
  return n();
4057
4057
  },
@@ -4066,10 +4066,10 @@ function Gs(e, t) {
4066
4066
  }
4067
4067
  });
4068
4068
  }
4069
- customElements.define("tiptob-knowledge-button", q(Gs, { editor: {}, language: {} }, [], [], !0));
4070
- const qs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM5 3V6H6V7H3V6H4V4H3V3H5ZM3 14V11.5H5V11H3V10H6V12.5H4V13H6V14H3ZM5 19.5H3V18.5H5V18H3V17H6V21H3V20H5V19.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>';
4069
+ customElements.define("tiptob-knowledge-button", G(Ws, { editor: {}, language: {} }, [], [], !0));
4070
+ const Gs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 4H21V6H8V4ZM5 3V6H6V7H3V6H4V4H3V3H5ZM3 14V11.5H5V11H3V10H6V12.5H4V13H6V14H3ZM5 19.5H3V18.5H5V18H3V17H6V21H3V20H5V19.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"></path></svg>';
4071
4071
  function Ys(e, t) {
4072
- W(t, !0);
4072
+ j(t, !0);
4073
4073
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4074
4074
  const i = { de: "Nummerierung", en: "Numbered List" }, o = () => n().chain().focus().toggleOrderedList().run();
4075
4075
  var a = Y(), s = U(a);
@@ -4082,7 +4082,7 @@ function Ys(e, t) {
4082
4082
  action: o,
4083
4083
  key: "orderedList",
4084
4084
  get icon() {
4085
- return qs;
4085
+ return Gs;
4086
4086
  },
4087
4087
  get tooltip() {
4088
4088
  return i[r()];
@@ -4093,7 +4093,7 @@ function Ys(e, t) {
4093
4093
  n() && l(f);
4094
4094
  });
4095
4095
  }
4096
- return R(e, a), G({
4096
+ return R(e, a), W({
4097
4097
  get editor() {
4098
4098
  return n();
4099
4099
  },
@@ -4108,7 +4108,7 @@ function Ys(e, t) {
4108
4108
  }
4109
4109
  });
4110
4110
  }
4111
- customElements.define("tiptob-ordered-list-button", q(Ys, { editor: {}, language: {} }, [], [], !0));
4111
+ customElements.define("tiptob-ordered-list-button", G(Ys, { editor: {}, language: {} }, [], [], !0));
4112
4112
  const Ks = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM7 19H21V21H7V19ZM3 14H21V16H3V14ZM7 9H21V11H7V9Z"></path></svg>', So = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H17V21H3V19ZM3 14H21V16H3V14ZM3 9H17V11H3V9Z"></path></svg>', Xs = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM5 19H19V21H5V19ZM3 14H21V16H3V14ZM5 9H19V11H5V9Z"></path></svg>', Js = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H21V21H3V19ZM3 14H21V16H3V14ZM3 9H21V11H3V9Z"></path></svg>';
4113
4113
  var Qs = (e, t) => S(t).action(), eu = /* @__PURE__ */ se("<button><!></button>");
4114
4114
  const tu = {
@@ -4116,8 +4116,8 @@ const tu = {
4116
4116
  code: "button.svelte-1j8wq3g {display:flex;align-items:center;justify-content:center;background-color:var(--tiptob-bg-button, #ffffff);border:none;cursor:pointer;padding:0.5rem 0.75rem;&:hover {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}svg {width:1.125rem;height:1.125rem;color:#333333;}}"
4117
4117
  };
4118
4118
  function nu(e, t) {
4119
- W(t, !0), Se(e, tu);
4120
- let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ j(!1);
4119
+ j(t, !0), Se(e, tu);
4120
+ let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ q(!1);
4121
4121
  const o = {
4122
4122
  de: {
4123
4123
  main: "Textausrichtung",
@@ -4134,7 +4134,7 @@ function nu(e, t) {
4134
4134
  justify: "Justify"
4135
4135
  }
4136
4136
  };
4137
- let a = /* @__PURE__ */ j(!1), s = /* @__PURE__ */ j(!1);
4137
+ let a = /* @__PURE__ */ q(!1), s = /* @__PURE__ */ q(!1);
4138
4138
  const f = [
4139
4139
  {
4140
4140
  name: "left",
@@ -4207,7 +4207,7 @@ function nu(e, t) {
4207
4207
  n() && v(c);
4208
4208
  });
4209
4209
  }
4210
- return R(e, l), G({
4210
+ return R(e, l), W({
4211
4211
  get editor() {
4212
4212
  return n();
4213
4213
  },
@@ -4223,10 +4223,10 @@ function nu(e, t) {
4223
4223
  });
4224
4224
  }
4225
4225
  Ke(["click"]);
4226
- customElements.define("tiptob-text-align-button", q(nu, { editor: {}, language: {} }, [], [], !0));
4226
+ customElements.define("tiptob-text-align-button", G(nu, { editor: {}, language: {} }, [], [], !0));
4227
4227
  const ru = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.1716 6.99955H11C7.68629 6.99955 5 9.68584 5 12.9996C5 16.3133 7.68629 18.9996 11 18.9996H20V20.9996H11C6.58172 20.9996 3 17.4178 3 12.9996C3 8.58127 6.58172 4.99955 11 4.99955H18.1716L15.636 2.46402L17.0503 1.0498L22 5.99955L17.0503 10.9493L15.636 9.53509L18.1716 6.99955Z"></path></svg>';
4228
4228
  function ou(e, t) {
4229
- W(t, !0);
4229
+ j(t, !0);
4230
4230
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4231
4231
  const i = { de: "Wiederherstellen", en: "Redo" }, o = () => n().chain().focus().redo().run();
4232
4232
  var a = Y(), s = U(a);
@@ -4250,7 +4250,7 @@ function ou(e, t) {
4250
4250
  n() && l(f);
4251
4251
  });
4252
4252
  }
4253
- return R(e, a), G({
4253
+ return R(e, a), W({
4254
4254
  get editor() {
4255
4255
  return n();
4256
4256
  },
@@ -4265,10 +4265,10 @@ function ou(e, t) {
4265
4265
  }
4266
4266
  });
4267
4267
  }
4268
- customElements.define("tiptob-redo-button", q(ou, { editor: {}, language: {} }, [], [], !0));
4268
+ customElements.define("tiptob-redo-button", G(ou, { editor: {}, language: {} }, [], [], !0));
4269
4269
  const iu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12.6512 14.0654L11.6047 20H9.57389L10.9247 12.339L3.51465 4.92892L4.92886 3.51471L20.4852 19.0711L19.071 20.4853L12.6512 14.0654ZM11.7727 7.53009L12.0425 5.99999H10.2426L8.24257 3.99999H19.9999V5.99999H14.0733L13.4991 9.25652L11.7727 7.53009Z"></path></svg>';
4270
4270
  function au(e, t) {
4271
- W(t, !0);
4271
+ j(t, !0);
4272
4272
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4273
4273
  const i = { de: "Formatierung entfernen", en: "Remove Format" }, o = () => n().chain().focus().unsetAllMarks().run();
4274
4274
  var a = Y(), s = U(a);
@@ -4292,7 +4292,7 @@ function au(e, t) {
4292
4292
  n() && l(f);
4293
4293
  });
4294
4294
  }
4295
- return R(e, a), G({
4295
+ return R(e, a), W({
4296
4296
  get editor() {
4297
4297
  return n();
4298
4298
  },
@@ -4307,10 +4307,10 @@ function au(e, t) {
4307
4307
  }
4308
4308
  });
4309
4309
  }
4310
- customElements.define("tiptob-remove-format-button", q(au, { editor: {}, language: {} }, [], [], !0));
4310
+ customElements.define("tiptob-remove-format-button", G(au, { editor: {}, language: {} }, [], [], !0));
4311
4311
  const Rr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17.1538 14C17.3846 14.5161 17.5 15.0893 17.5 15.7196C17.5 17.0625 16.9762 18.1116 15.9286 18.867C14.8809 19.6223 13.4335 20 11.5862 20C9.94674 20 8.32335 19.6185 6.71592 18.8555V16.6009C8.23538 17.4783 9.7908 17.917 11.3822 17.917C13.9333 17.917 15.2128 17.1846 15.2208 15.7196C15.2208 15.0939 15.0049 14.5598 14.5731 14.1173C14.5339 14.0772 14.4939 14.0381 14.4531 14H3V12H21V14H17.1538ZM13.076 11H7.62908C7.4566 10.8433 7.29616 10.6692 7.14776 10.4778C6.71592 9.92084 6.5 9.24559 6.5 8.45207C6.5 7.21602 6.96583 6.165 7.89749 5.299C8.82916 4.43299 10.2706 4 12.2219 4C13.6934 4 15.1009 4.32808 16.4444 4.98426V7.13591C15.2448 6.44921 13.9293 6.10587 12.4978 6.10587C10.0187 6.10587 8.77917 6.88793 8.77917 8.45207C8.77917 8.87172 8.99709 9.23796 9.43293 9.55079C9.86878 9.86362 10.4066 10.1135 11.0463 10.3004C11.6665 10.4816 12.3431 10.7148 13.076 11H13.076Z"></path></svg>';
4312
4312
  function lu(e, t) {
4313
- W(t, !0);
4313
+ j(t, !0);
4314
4314
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4315
4315
  const i = { de: "Durchstreichen", en: "Strikethrough" }, o = () => n().chain().focus().toggleStrike().run();
4316
4316
  var a = Y(), s = U(a);
@@ -4334,7 +4334,7 @@ function lu(e, t) {
4334
4334
  n() && l(f);
4335
4335
  });
4336
4336
  }
4337
- return R(e, a), G({
4337
+ return R(e, a), W({
4338
4338
  get editor() {
4339
4339
  return n();
4340
4340
  },
@@ -4349,10 +4349,10 @@ function lu(e, t) {
4349
4349
  }
4350
4350
  });
4351
4351
  }
4352
- customElements.define("tiptob-strike-button", q(lu, { editor: {}, language: {} }, [], [], !0));
4352
+ customElements.define("tiptob-strike-button", G(lu, { editor: {}, language: {} }, [], [], !0));
4353
4353
  const su = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 3V12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12V3H18V12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12V3H8ZM4 20H20V22H4V20Z"></path></svg>';
4354
4354
  function uu(e, t) {
4355
- W(t, !0);
4355
+ j(t, !0);
4356
4356
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4357
4357
  const i = { de: "Unterstreichen", en: "Underline" }, o = () => n().chain().focus().toggleUnderline().run();
4358
4358
  var a = Y(), s = U(a);
@@ -4376,7 +4376,7 @@ function uu(e, t) {
4376
4376
  n() && l(f);
4377
4377
  });
4378
4378
  }
4379
- return R(e, a), G({
4379
+ return R(e, a), W({
4380
4380
  get editor() {
4381
4381
  return n();
4382
4382
  },
@@ -4391,10 +4391,10 @@ function uu(e, t) {
4391
4391
  }
4392
4392
  });
4393
4393
  }
4394
- customElements.define("tiptob-underline-button", q(uu, { editor: {}, language: {} }, [], [], !0));
4394
+ customElements.define("tiptob-underline-button", G(uu, { editor: {}, language: {} }, [], [], !0));
4395
4395
  const fu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5.82843 6.99955L8.36396 9.53509L6.94975 10.9493L2 5.99955L6.94975 1.0498L8.36396 2.46402L5.82843 4.99955H13C17.4183 4.99955 21 8.58127 21 12.9996C21 17.4178 17.4183 20.9996 13 20.9996H4V18.9996H13C16.3137 18.9996 19 16.3133 19 12.9996C19 9.68584 16.3137 6.99955 13 6.99955H5.82843Z"></path></svg>';
4396
4396
  function cu(e, t) {
4397
- W(t, !0);
4397
+ j(t, !0);
4398
4398
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4399
4399
  const i = { de: "Rückgängig", en: "Undo" }, o = () => n().chain().focus().undo().run();
4400
4400
  var a = Y(), s = U(a);
@@ -4418,7 +4418,7 @@ function cu(e, t) {
4418
4418
  n() && l(f);
4419
4419
  });
4420
4420
  }
4421
- return R(e, a), G({
4421
+ return R(e, a), W({
4422
4422
  get editor() {
4423
4423
  return n();
4424
4424
  },
@@ -4433,7 +4433,7 @@ function cu(e, t) {
4433
4433
  }
4434
4434
  });
4435
4435
  }
4436
- customElements.define("tiptob-undo-button", q(cu, { editor: {}, language: {} }, [], [], !0));
4436
+ customElements.define("tiptob-undo-button", G(cu, { editor: {}, language: {} }, [], [], !0));
4437
4437
  const du = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z"></path></svg>', gu = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z"></path></svg>\r
4438
4438
  `;
4439
4439
  Ca();
@@ -4447,21 +4447,21 @@ function Hi(e) {
4447
4447
  var t = vu();
4448
4448
  R(e, t);
4449
4449
  }
4450
- q(Hi, {}, [], [], !0);
4450
+ G(Hi, {}, [], [], !0);
4451
4451
  function pu(e, t, n) {
4452
4452
  t().chain().focus().extendMarkRange("link").unsetLink().run(), M(n, "");
4453
4453
  }
4454
4454
  function _u(e, t) {
4455
4455
  e.key === "Enter" && (e.preventDefault(), t());
4456
4456
  }
4457
- var mu = (e, t) => window.open(S(t), "_blank"), bu = /* @__PURE__ */ se('<div class="tiptob-link-input-wrapper svelte-18mpik2"><input id="tiptob-link-input" type="url" placeholder="Paste a link..." autocomplete="off" class="tiptob-link-input svelte-18mpik2"/> <button type="button" class="confirm svelte-18mpik2"><!></button> <!> <button type="button" class="svelte-18mpik2"><!></button> <button class="close svelte-18mpik2" type="button"><!></button></div>');
4457
+ var mu = (e, t) => window.open(S(t), "_blank"), bu = /* @__PURE__ */ se('<div class="tiptob-link-input-wrapper svelte-sicqwe"><input id="tiptob-link-input" type="url" placeholder="Paste a link..." autocomplete="off" class="tiptob-link-input svelte-sicqwe"/> <button type="button" class="confirm svelte-sicqwe"><!></button> <!> <button type="button" class="svelte-sicqwe"><!></button> <button class="close svelte-sicqwe" type="button"><!></button></div>');
4458
4458
  const wu = {
4459
- hash: "svelte-18mpik2",
4460
- code: ".tiptob-link-input-wrapper.svelte-18mpik2 {display:flex;flex-direction:row;gap:0.25rem;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);}button.svelte-18mpik2 {display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0.25rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);flex:40%;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&:disabled {opacity:0.5;cursor:default;&.confirm {svg {fill:var(--tiptob-bg-icon, #333333);}}}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}.tiptob-link-input.svelte-18mpik2::placeholder {color:var(--table-resubmission-line, rgba(0, 0, 0, 0.4));}.tiptob-link-input.svelte-18mpik2 {display:flex;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);outline:none;border:0;}"
4459
+ hash: "svelte-sicqwe",
4460
+ code: ".tiptob-link-input-wrapper.svelte-sicqwe {display:flex;flex-direction:row;gap:0.25rem;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);}button.svelte-sicqwe {display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0.25rem;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);flex:40%;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&:disabled {opacity:0.5;cursor:default;&.confirm {svg {fill:var(--tiptob-bg-icon, #333333);}}}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}.tiptob-link-input.svelte-sicqwe::placeholder {color:var(--tiptob-bg-icon, #333333);opacity:0.5;}.tiptob-link-input.svelte-sicqwe {display:flex;padding:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);color:var(--tiptob-bg-icon, #333333);outline:none;border:0;}"
4461
4461
  };
4462
4462
  function Cu(e, t) {
4463
- W(t, !0), Se(e, wu);
4464
- let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ j(!1), o = /* @__PURE__ */ j("");
4463
+ j(t, !0), Se(e, wu);
4464
+ let n = L(t, "editor", 7), r = L(t, "language", 7, "en"), i = /* @__PURE__ */ q(!1), o = /* @__PURE__ */ q("");
4465
4465
  const a = {
4466
4466
  de: {
4467
4467
  main: "Link",
@@ -4548,7 +4548,7 @@ function Cu(e, t) {
4548
4548
  n() && v(c);
4549
4549
  });
4550
4550
  }
4551
- return R(e, l), G({
4551
+ return R(e, l), W({
4552
4552
  get editor() {
4553
4553
  return n();
4554
4554
  },
@@ -4564,9 +4564,9 @@ function Cu(e, t) {
4564
4564
  });
4565
4565
  }
4566
4566
  Ke(["keydown", "click"]);
4567
- customElements.define("tiptob-hyperlink-button", q(Cu, { editor: {}, language: {} }, [], [], !0));
4567
+ customElements.define("tiptob-hyperlink-button", G(Cu, { editor: {}, language: {} }, [], [], !0));
4568
4568
  function Eu(e, t) {
4569
- W(t, !0);
4569
+ j(t, !0);
4570
4570
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4571
4571
  const i = { de: "HTML anzeigen", en: "Show HTML" }, o = () => n().commands.setContent(n().getText());
4572
4572
  var a = Y(), s = U(a);
@@ -4590,7 +4590,7 @@ function Eu(e, t) {
4590
4590
  n() && l(f);
4591
4591
  });
4592
4592
  }
4593
- return R(e, a), G({
4593
+ return R(e, a), W({
4594
4594
  get editor() {
4595
4595
  return n();
4596
4596
  },
@@ -4605,9 +4605,9 @@ function Eu(e, t) {
4605
4605
  }
4606
4606
  });
4607
4607
  }
4608
- customElements.define("tiptob-show-html-button", q(Eu, { editor: {}, language: {} }, [], [], !0));
4608
+ customElements.define("tiptob-show-html-button", G(Eu, { editor: {}, language: {} }, [], [], !0));
4609
4609
  function yu(e, t) {
4610
- W(t, !0);
4610
+ j(t, !0);
4611
4611
  let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
4612
4612
  const i = { de: "Quellcode anzeigen", en: "Show source code" }, o = () => n().commands.setContent(`<textarea>${n().getHTML()}</textarea>`);
4613
4613
  var a = Y(), s = U(a);
@@ -4631,7 +4631,7 @@ function yu(e, t) {
4631
4631
  n() && l(f);
4632
4632
  });
4633
4633
  }
4634
- return R(e, a), G({
4634
+ return R(e, a), W({
4635
4635
  get editor() {
4636
4636
  return n();
4637
4637
  },
@@ -4646,7 +4646,7 @@ function yu(e, t) {
4646
4646
  }
4647
4647
  });
4648
4648
  }
4649
- customElements.define("tiptob-show-source-button", q(yu, { editor: {}, language: {} }, [], [], !0));
4649
+ customElements.define("tiptob-show-source-button", G(yu, { editor: {}, language: {} }, [], [], !0));
4650
4650
  const Tu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="240" height="240" fill="currentColor"><path d="M13 6V21H11V6H5V4H19V6H13Z"></path></svg>';
4651
4651
  function Au(e, t, n, r) {
4652
4652
  t().commands.insertContent(S(n)), M(r, !1);
@@ -4658,7 +4658,7 @@ const Mu = {
4658
4658
  .menu-item.svelte-147ml8:hover {background:#f0f0f0;}.button-wrapper.svelte-147ml8 {display:flex;justify-content:space-evenly;padding:0.25rem 0;border-top:1px solid #cecece;position:sticky;button:where(.svelte-147ml8) {display:flex;align-items:center;justify-content:center;width:40%;border:none;border-radius:0.25rem;background-color:var(--tiptob-bg-button, #ffffff);cursor:pointer;&:hover:enabled {background-color:var(--tiptob-bg-button-hover, #f0f0f0);}&.confirm {svg {fill:var(--icon-green, #28a745);}}&.close {svg {fill:var(--icon-red, #dc3545);}}}}`
4659
4659
  };
4660
4660
  function Hu(e, t) {
4661
- W(t, !0), Se(e, Mu);
4661
+ j(t, !0), Se(e, Mu);
4662
4662
  const n = {
4663
4663
  de: {
4664
4664
  main: "Token auswählen",
@@ -4671,7 +4671,7 @@ function Hu(e, t) {
4671
4671
  close: "Abort"
4672
4672
  }
4673
4673
  };
4674
- let r = L(t, "editor", 7), i = L(t, "language", 7, "en"), o = L(t, "placeHolders", 7), a = /* @__PURE__ */ j(!1), s = /* @__PURE__ */ j("Select option");
4674
+ let r = L(t, "editor", 7), i = L(t, "language", 7, "en"), o = L(t, "placeHolders", 7), a = /* @__PURE__ */ q(!1), s = /* @__PURE__ */ q("Select option");
4675
4675
  var f = Y(), l = U(f);
4676
4676
  {
4677
4677
  var g = (c) => {
@@ -4727,7 +4727,7 @@ function Hu(e, t) {
4727
4727
  r() && c(g);
4728
4728
  });
4729
4729
  }
4730
- return R(e, f), G({
4730
+ return R(e, f), W({
4731
4731
  get editor() {
4732
4732
  return r();
4733
4733
  },
@@ -4749,16 +4749,16 @@ function Hu(e, t) {
4749
4749
  });
4750
4750
  }
4751
4751
  Ke(["click"]);
4752
- customElements.define("tiptob-token-button", q(Hu, { editor: {}, language: {}, placeHolders: {} }, [], [], !0));
4752
+ customElements.define("tiptob-token-button", G(Hu, { editor: {}, language: {}, placeHolders: {} }, [], [], !0));
4753
4753
  export {
4754
- Wl as BoldButton,
4754
+ jl as BoldButton,
4755
4755
  Ms as BulletListButton,
4756
4756
  is as FontColorButton,
4757
4757
  Ds as FontHighlightButton,
4758
4758
  Cu as HyperlinkButton,
4759
4759
  Zs as ImageButton,
4760
- js as ItalicButton,
4761
- Gs as KnowledgeButton,
4760
+ qs as ItalicButton,
4761
+ Ws as KnowledgeButton,
4762
4762
  Ys as OrderedListButton,
4763
4763
  ou as RedoButton,
4764
4764
  au as RemoveFormatButton,