@netless/fastboard-ui 0.3.2 → 0.3.4-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ 'use strict';
2
+
1
3
  var __create = Object.create;
2
4
  var __defProp = Object.defineProperty;
3
5
  var __defProps = Object.defineProperties;
@@ -50,7 +52,7 @@ __export(src_exports, {
50
52
  });
51
53
  module.exports = __toCommonJS(src_exports);
52
54
 
53
- // ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/internal/index.mjs
55
+ // ../../node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/internal/index.mjs
54
56
  function noop() {
55
57
  }
56
58
  function assign(tar, src) {
@@ -81,6 +83,9 @@ function src_url_equal(element_src, url) {
81
83
  src_url_equal_anchor.href = url;
82
84
  return element_src === src_url_equal_anchor.href;
83
85
  }
86
+ function not_equal(a, b) {
87
+ return a != a ? b == b : a !== b;
88
+ }
84
89
  function is_empty(obj) {
85
90
  return Object.keys(obj).length === 0;
86
91
  }
@@ -146,13 +151,6 @@ function action_destroyer(action_result) {
146
151
  return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
147
152
  }
148
153
  var is_client = typeof window !== "undefined";
149
- var is_hydrating = false;
150
- function start_hydrating() {
151
- is_hydrating = true;
152
- }
153
- function end_hydrating() {
154
- is_hydrating = false;
155
- }
156
154
  function append(target, node) {
157
155
  target.appendChild(node);
158
156
  }
@@ -217,9 +215,9 @@ function set_style(node, key, value, important) {
217
215
  function toggle_class(element2, name10, toggle) {
218
216
  element2.classList[toggle ? "add" : "remove"](name10);
219
217
  }
220
- function custom_event(type, detail, bubbles = false) {
218
+ function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {
221
219
  const e = document.createEvent("CustomEvent");
222
- e.initCustomEvent(type, bubbles, false, detail);
220
+ e.initCustomEvent(type, bubbles, cancelable, detail);
223
221
  return e;
224
222
  }
225
223
  var current_component;
@@ -236,14 +234,16 @@ function onMount(fn) {
236
234
  }
237
235
  function createEventDispatcher() {
238
236
  const component = get_current_component();
239
- return (type, detail) => {
237
+ return (type, detail, { cancelable = false } = {}) => {
240
238
  const callbacks = component.$$.callbacks[type];
241
239
  if (callbacks) {
242
- const event = custom_event(type, detail);
240
+ const event = custom_event(type, detail, { cancelable });
243
241
  callbacks.slice().forEach((fn) => {
244
242
  fn.call(component, event);
245
243
  });
244
+ return !event.defaultPrevented;
246
245
  }
246
+ return true;
247
247
  };
248
248
  }
249
249
  function bubble(component, event) {
@@ -346,7 +346,6 @@ function transition_out(block, local, detach2, callback) {
346
346
  block.o(local);
347
347
  }
348
348
  }
349
- var globals = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : global;
350
349
  function destroy_block(block, lookup) {
351
350
  block.d(1);
352
351
  lookup.delete(block.key);
@@ -494,7 +493,7 @@ function make_dirty(component, i) {
494
493
  }
495
494
  component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
496
495
  }
497
- function init(component, options, instance60, create_fragment60, not_equal, props, append_styles, dirty = [-1]) {
496
+ function init(component, options, instance59, create_fragment59, not_equal2, props, append_styles, dirty = [-1]) {
498
497
  const parent_component = current_component;
499
498
  set_current_component(component);
500
499
  const $$ = component.$$ = {
@@ -502,7 +501,7 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
502
501
  ctx: null,
503
502
  props,
504
503
  update: noop,
505
- not_equal,
504
+ not_equal: not_equal2,
506
505
  bound: blank_object(),
507
506
  on_mount: [],
508
507
  on_destroy: [],
@@ -517,9 +516,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
517
516
  };
518
517
  append_styles && append_styles($$.root);
519
518
  let ready = false;
520
- $$.ctx = instance60 ? instance60(component, options.props || {}, (i, ret, ...rest) => {
519
+ $$.ctx = instance59 ? instance59(component, options.props || {}, (i, ret, ...rest) => {
521
520
  const value = rest.length ? rest[0] : ret;
522
- if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
521
+ if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
523
522
  if (!$$.skip_bound && $$.bound[i])
524
523
  $$.bound[i](value);
525
524
  if (ready)
@@ -530,10 +529,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
530
529
  $$.update();
531
530
  ready = true;
532
531
  run_all($$.before_update);
533
- $$.fragment = create_fragment60 ? create_fragment60($$.ctx) : false;
532
+ $$.fragment = create_fragment59 ? create_fragment59($$.ctx) : false;
534
533
  if (options.target) {
535
534
  if (options.hydrate) {
536
- start_hydrating();
537
535
  const nodes = children(options.target);
538
536
  $$.fragment && $$.fragment.l(nodes);
539
537
  nodes.forEach(detach);
@@ -543,53 +541,10 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
543
541
  if (options.intro)
544
542
  transition_in(component.$$.fragment);
545
543
  mount_component(component, options.target, options.anchor, options.customElement);
546
- end_hydrating();
547
544
  flush();
548
545
  }
549
546
  set_current_component(parent_component);
550
547
  }
551
- var SvelteElement;
552
- if (typeof HTMLElement === "function") {
553
- SvelteElement = class extends HTMLElement {
554
- constructor() {
555
- super();
556
- this.attachShadow({ mode: "open" });
557
- }
558
- connectedCallback() {
559
- const { on_mount } = this.$$;
560
- this.$$.on_disconnect = on_mount.map(run).filter(is_function);
561
- for (const key in this.$$.slotted) {
562
- this.appendChild(this.$$.slotted[key]);
563
- }
564
- }
565
- attributeChangedCallback(attr2, _oldValue, newValue) {
566
- this[attr2] = newValue;
567
- }
568
- disconnectedCallback() {
569
- run_all(this.$$.on_disconnect);
570
- }
571
- $destroy() {
572
- destroy_component(this, 1);
573
- this.$destroy = noop;
574
- }
575
- $on(type, callback) {
576
- const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
577
- callbacks.push(callback);
578
- return () => {
579
- const index = callbacks.indexOf(callback);
580
- if (index !== -1)
581
- callbacks.splice(index, 1);
582
- };
583
- }
584
- $set($$props) {
585
- if (this.$$set && !is_empty($$props)) {
586
- this.$$.skip_bound = true;
587
- this.$$set($$props);
588
- this.$$.skip_bound = false;
589
- }
590
- }
591
- };
592
- }
593
548
  var SvelteComponent = class {
594
549
  $destroy() {
595
550
  destroy_component(this, 1);
@@ -698,7 +653,7 @@ function create_fragment(ctx) {
698
653
  return 0;
699
654
  return 1;
700
655
  }
701
- current_block_type_index = select_block_type(ctx, -1);
656
+ current_block_type_index = select_block_type(ctx);
702
657
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
703
658
  return {
704
659
  c() {
@@ -712,7 +667,7 @@ function create_fragment(ctx) {
712
667
  },
713
668
  p(ctx2, [dirty]) {
714
669
  let previous_block_index = current_block_type_index;
715
- current_block_type_index = select_block_type(ctx2, dirty);
670
+ current_block_type_index = select_block_type(ctx2);
716
671
  if (current_block_type_index === previous_block_index) {
717
672
  if_blocks[current_block_type_index].p(ctx2, dirty);
718
673
  } else {
@@ -1230,18 +1185,34 @@ var CircleBolded = class extends SvelteComponent {
1230
1185
  };
1231
1186
  var CircleBolded_default = CircleBolded;
1232
1187
 
1233
- // src/components/Icons/Clean.svelte
1188
+ // src/components/Icons/Clear.svelte
1234
1189
  function create_fragment9(ctx) {
1235
1190
  let svg;
1236
- let path;
1191
+ let path0;
1192
+ let path1;
1193
+ let path2;
1237
1194
  let svg_class_value;
1238
1195
  return {
1239
1196
  c() {
1240
1197
  svg = svg_element("svg");
1241
- path = svg_element("path");
1242
- attr(path, "fill", "#5D6066");
1243
- attr(path, "d", "M9.754 11.99c0 1.856-.711 3.62-1.96 4.951l-.151.155h1.403l.855-.853h.707l.853.853h2.635l.094-.064a6.237 6.237 0 0 0 2.559-4.781l.005-.26h1a7.237 7.237 0 0 1-2.994 5.862l-.229.16-.277.083h-3l-.353-.146-.647-.647-.646.647-.354.146h-3l-.286-.91.214-.148a6.237 6.237 0 0 0 2.567-4.787l.005-.26h1Zm4.772-6.502v2l.35.039a2.98 2.98 0 0 1 2.644 2.78l.006.181h-8a2.98 2.98 0 0 1 2.65-2.961l.35-.039v-2h2Z");
1244
- attr(path, "class", "fastboard-icon-fill-color");
1198
+ path0 = svg_element("path");
1199
+ path1 = svg_element("path");
1200
+ path2 = svg_element("path");
1201
+ attr(path0, "d", "M19.6567 4.34323L13.9999 10.0001");
1202
+ attr(path0, "stroke", "#5D6066");
1203
+ attr(path0, "stroke-width", "1.25");
1204
+ attr(path0, "stroke-linejoin", "round");
1205
+ attr(path0, "class", "fastboard-icon-stroke-color");
1206
+ attr(path1, "d", "M8.34296 10.0001C9.90506 8.43799 12.4377 8.43799 13.9998 10.0001V10.0001C15.5619 11.5622 15.5619 14.0948 13.9998 15.6569V15.6569L8.34296 10.0001V10.0001Z");
1207
+ attr(path1, "stroke", "#5D6066");
1208
+ attr(path1, "stroke-width", "1.25");
1209
+ attr(path1, "stroke-linejoin", "round");
1210
+ attr(path1, "class", "fastboard-icon-stroke-color");
1211
+ attr(path2, "d", "M8.34292 10.0001L13.9998 15.6569L11.5856 19.8996L4.10028 11.4143L8.34292 10.0001Z");
1212
+ attr(path2, "stroke", "#5D6066");
1213
+ attr(path2, "stroke-width", "1.25");
1214
+ attr(path2, "stroke-linejoin", "round");
1215
+ attr(path2, "class", "fastboard-icon-stroke-color");
1245
1216
  attr(svg, "fill", "none");
1246
1217
  attr(svg, "viewBox", "0 0 24 24");
1247
1218
  attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
@@ -1249,7 +1220,9 @@ function create_fragment9(ctx) {
1249
1220
  },
1250
1221
  m(target, anchor) {
1251
1222
  insert(target, svg, anchor);
1252
- append(svg, path);
1223
+ append(svg, path0);
1224
+ append(svg, path1);
1225
+ append(svg, path2);
1253
1226
  },
1254
1227
  p(ctx2, [dirty]) {
1255
1228
  if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
@@ -1278,74 +1251,16 @@ function instance9($$self, $$props, $$invalidate) {
1278
1251
  };
1279
1252
  return [theme, active];
1280
1253
  }
1281
- var Clean = class extends SvelteComponent {
1282
- constructor(options) {
1283
- super();
1284
- init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
1285
- }
1286
- };
1287
- var Clean_default = Clean;
1288
-
1289
- // src/components/Icons/Clear.svelte
1290
- function create_fragment10(ctx) {
1291
- let svg;
1292
- let path;
1293
- let svg_class_value;
1294
- return {
1295
- c() {
1296
- svg = svg_element("svg");
1297
- path = svg_element("path");
1298
- attr(path, "stroke", "#5D6066");
1299
- attr(path, "stroke-linejoin", "round");
1300
- attr(path, "stroke-width", "1.25");
1301
- attr(path, "d", "m17.95 4.636-2.83 2.828-1.413-1.414a2 2 0 0 0-2.829 0l-.707.707 7.071 7.071.707-.707a2 2 0 0 0 0-2.828l-1.414-1.414 2.829-2.829-1.415-1.414Zm-1.415 9.9-5.656 5.656-.707-.707 1.767-3.182-3.182 1.768.707-2.121-2.121.707 1.768-3.182-3.182 1.768.707-2.122-2.121.707-.707-.707 5.656-5.657");
1302
- attr(path, "class", "fastboard-icon-stroke-color");
1303
- attr(svg, "fill", "none");
1304
- attr(svg, "viewBox", "0 0 24 24");
1305
- attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
1306
- toggle_class(svg, "is-active", ctx[1]);
1307
- },
1308
- m(target, anchor) {
1309
- insert(target, svg, anchor);
1310
- append(svg, path);
1311
- },
1312
- p(ctx2, [dirty]) {
1313
- if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
1314
- attr(svg, "class", svg_class_value);
1315
- }
1316
- if (dirty & 3) {
1317
- toggle_class(svg, "is-active", ctx2[1]);
1318
- }
1319
- },
1320
- i: noop,
1321
- o: noop,
1322
- d(detaching) {
1323
- if (detaching)
1324
- detach(svg);
1325
- }
1326
- };
1327
- }
1328
- function instance10($$self, $$props, $$invalidate) {
1329
- let { theme = "light" } = $$props;
1330
- let { active = false } = $$props;
1331
- $$self.$$set = ($$props2) => {
1332
- if ("theme" in $$props2)
1333
- $$invalidate(0, theme = $$props2.theme);
1334
- if ("active" in $$props2)
1335
- $$invalidate(1, active = $$props2.active);
1336
- };
1337
- return [theme, active];
1338
- }
1339
1254
  var Clear = class extends SvelteComponent {
1340
1255
  constructor(options) {
1341
1256
  super();
1342
- init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
1257
+ init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
1343
1258
  }
1344
1259
  };
1345
1260
  var Clear_default = Clear;
1346
1261
 
1347
1262
  // src/components/Icons/Click.svelte
1348
- function create_fragment11(ctx) {
1263
+ function create_fragment10(ctx) {
1349
1264
  let svg;
1350
1265
  let path;
1351
1266
  let svg_class_value;
@@ -1383,7 +1298,7 @@ function create_fragment11(ctx) {
1383
1298
  }
1384
1299
  };
1385
1300
  }
1386
- function instance11($$self, $$props, $$invalidate) {
1301
+ function instance10($$self, $$props, $$invalidate) {
1387
1302
  let { theme = "light" } = $$props;
1388
1303
  let { active = false } = $$props;
1389
1304
  $$self.$$set = ($$props2) => {
@@ -1397,13 +1312,13 @@ function instance11($$self, $$props, $$invalidate) {
1397
1312
  var Click = class extends SvelteComponent {
1398
1313
  constructor(options) {
1399
1314
  super();
1400
- init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
1315
+ init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
1401
1316
  }
1402
1317
  };
1403
1318
  var Click_default = Click;
1404
1319
 
1405
1320
  // src/components/Icons/ClickFilled.svelte
1406
- function create_fragment12(ctx) {
1321
+ function create_fragment11(ctx) {
1407
1322
  let svg;
1408
1323
  let path;
1409
1324
  let svg_class_value;
@@ -1439,7 +1354,7 @@ function create_fragment12(ctx) {
1439
1354
  }
1440
1355
  };
1441
1356
  }
1442
- function instance12($$self, $$props, $$invalidate) {
1357
+ function instance11($$self, $$props, $$invalidate) {
1443
1358
  let { theme = "light" } = $$props;
1444
1359
  let { active = false } = $$props;
1445
1360
  $$self.$$set = ($$props2) => {
@@ -1453,13 +1368,13 @@ function instance12($$self, $$props, $$invalidate) {
1453
1368
  var ClickFilled = class extends SvelteComponent {
1454
1369
  constructor(options) {
1455
1370
  super();
1456
- init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
1371
+ init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
1457
1372
  }
1458
1373
  };
1459
1374
  var ClickFilled_default = ClickFilled;
1460
1375
 
1461
1376
  // src/components/Icons/Diamond.svelte
1462
- function create_fragment13(ctx) {
1377
+ function create_fragment12(ctx) {
1463
1378
  let svg;
1464
1379
  let path;
1465
1380
  let svg_class_value;
@@ -1497,7 +1412,7 @@ function create_fragment13(ctx) {
1497
1412
  }
1498
1413
  };
1499
1414
  }
1500
- function instance13($$self, $$props, $$invalidate) {
1415
+ function instance12($$self, $$props, $$invalidate) {
1501
1416
  let { theme = "light" } = $$props;
1502
1417
  let { active = false } = $$props;
1503
1418
  $$self.$$set = ($$props2) => {
@@ -1511,13 +1426,13 @@ function instance13($$self, $$props, $$invalidate) {
1511
1426
  var Diamond = class extends SvelteComponent {
1512
1427
  constructor(options) {
1513
1428
  super();
1514
- init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
1429
+ init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
1515
1430
  }
1516
1431
  };
1517
1432
  var Diamond_default = Diamond;
1518
1433
 
1519
1434
  // src/components/Icons/Down.svelte
1520
- function create_fragment14(ctx) {
1435
+ function create_fragment13(ctx) {
1521
1436
  let svg;
1522
1437
  let path;
1523
1438
  let svg_class_value;
@@ -1555,7 +1470,7 @@ function create_fragment14(ctx) {
1555
1470
  }
1556
1471
  };
1557
1472
  }
1558
- function instance14($$self, $$props, $$invalidate) {
1473
+ function instance13($$self, $$props, $$invalidate) {
1559
1474
  let { theme = "light" } = $$props;
1560
1475
  let { active = false } = $$props;
1561
1476
  $$self.$$set = ($$props2) => {
@@ -1569,13 +1484,13 @@ function instance14($$self, $$props, $$invalidate) {
1569
1484
  var Down = class extends SvelteComponent {
1570
1485
  constructor(options) {
1571
1486
  super();
1572
- init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
1487
+ init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
1573
1488
  }
1574
1489
  };
1575
1490
  var Down_default = Down;
1576
1491
 
1577
1492
  // src/components/Icons/Eraser.svelte
1578
- function create_fragment15(ctx) {
1493
+ function create_fragment14(ctx) {
1579
1494
  let svg;
1580
1495
  let path;
1581
1496
  let svg_class_value;
@@ -1613,7 +1528,7 @@ function create_fragment15(ctx) {
1613
1528
  }
1614
1529
  };
1615
1530
  }
1616
- function instance15($$self, $$props, $$invalidate) {
1531
+ function instance14($$self, $$props, $$invalidate) {
1617
1532
  let { theme = "light" } = $$props;
1618
1533
  let { active = false } = $$props;
1619
1534
  $$self.$$set = ($$props2) => {
@@ -1627,13 +1542,13 @@ function instance15($$self, $$props, $$invalidate) {
1627
1542
  var Eraser = class extends SvelteComponent {
1628
1543
  constructor(options) {
1629
1544
  super();
1630
- init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
1545
+ init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
1631
1546
  }
1632
1547
  };
1633
1548
  var Eraser_default = Eraser;
1634
1549
 
1635
1550
  // src/components/Icons/EraserFilled.svelte
1636
- function create_fragment16(ctx) {
1551
+ function create_fragment15(ctx) {
1637
1552
  let svg;
1638
1553
  let path;
1639
1554
  let svg_class_value;
@@ -1671,7 +1586,7 @@ function create_fragment16(ctx) {
1671
1586
  }
1672
1587
  };
1673
1588
  }
1674
- function instance16($$self, $$props, $$invalidate) {
1589
+ function instance15($$self, $$props, $$invalidate) {
1675
1590
  let { theme = "light" } = $$props;
1676
1591
  let { active = false } = $$props;
1677
1592
  $$self.$$set = ($$props2) => {
@@ -1685,13 +1600,13 @@ function instance16($$self, $$props, $$invalidate) {
1685
1600
  var EraserFilled = class extends SvelteComponent {
1686
1601
  constructor(options) {
1687
1602
  super();
1688
- init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
1603
+ init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
1689
1604
  }
1690
1605
  };
1691
1606
  var EraserFilled_default = EraserFilled;
1692
1607
 
1693
1608
  // src/components/Icons/Left.svelte
1694
- function create_fragment17(ctx) {
1609
+ function create_fragment16(ctx) {
1695
1610
  let svg;
1696
1611
  let path;
1697
1612
  let svg_class_value;
@@ -1729,7 +1644,7 @@ function create_fragment17(ctx) {
1729
1644
  }
1730
1645
  };
1731
1646
  }
1732
- function instance17($$self, $$props, $$invalidate) {
1647
+ function instance16($$self, $$props, $$invalidate) {
1733
1648
  let { theme = "light" } = $$props;
1734
1649
  let { active = false } = $$props;
1735
1650
  $$self.$$set = ($$props2) => {
@@ -1743,13 +1658,13 @@ function instance17($$self, $$props, $$invalidate) {
1743
1658
  var Left = class extends SvelteComponent {
1744
1659
  constructor(options) {
1745
1660
  super();
1746
- init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
1661
+ init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
1747
1662
  }
1748
1663
  };
1749
1664
  var Left_default = Left;
1750
1665
 
1751
1666
  // src/components/Icons/Line.svelte
1752
- function create_fragment18(ctx) {
1667
+ function create_fragment17(ctx) {
1753
1668
  let svg;
1754
1669
  let path;
1755
1670
  let svg_class_value;
@@ -1787,7 +1702,7 @@ function create_fragment18(ctx) {
1787
1702
  }
1788
1703
  };
1789
1704
  }
1790
- function instance18($$self, $$props, $$invalidate) {
1705
+ function instance17($$self, $$props, $$invalidate) {
1791
1706
  let { theme = "light" } = $$props;
1792
1707
  let { active = false } = $$props;
1793
1708
  $$self.$$set = ($$props2) => {
@@ -1801,13 +1716,13 @@ function instance18($$self, $$props, $$invalidate) {
1801
1716
  var Line = class extends SvelteComponent {
1802
1717
  constructor(options) {
1803
1718
  super();
1804
- init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
1719
+ init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
1805
1720
  }
1806
1721
  };
1807
1722
  var Line_default = Line;
1808
1723
 
1809
1724
  // src/components/Icons/LineBolded.svelte
1810
- function create_fragment19(ctx) {
1725
+ function create_fragment18(ctx) {
1811
1726
  let svg;
1812
1727
  let path;
1813
1728
  let svg_class_value;
@@ -1845,7 +1760,7 @@ function create_fragment19(ctx) {
1845
1760
  }
1846
1761
  };
1847
1762
  }
1848
- function instance19($$self, $$props, $$invalidate) {
1763
+ function instance18($$self, $$props, $$invalidate) {
1849
1764
  let { theme = "light" } = $$props;
1850
1765
  let { active = false } = $$props;
1851
1766
  $$self.$$set = ($$props2) => {
@@ -1859,13 +1774,13 @@ function instance19($$self, $$props, $$invalidate) {
1859
1774
  var LineBolded = class extends SvelteComponent {
1860
1775
  constructor(options) {
1861
1776
  super();
1862
- init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
1777
+ init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
1863
1778
  }
1864
1779
  };
1865
1780
  var LineBolded_default = LineBolded;
1866
1781
 
1867
1782
  // src/components/Icons/Minus.svelte
1868
- function create_fragment20(ctx) {
1783
+ function create_fragment19(ctx) {
1869
1784
  let svg;
1870
1785
  let path;
1871
1786
  let svg_class_value;
@@ -1903,7 +1818,7 @@ function create_fragment20(ctx) {
1903
1818
  }
1904
1819
  };
1905
1820
  }
1906
- function instance20($$self, $$props, $$invalidate) {
1821
+ function instance19($$self, $$props, $$invalidate) {
1907
1822
  let { theme = "light" } = $$props;
1908
1823
  let { active = false } = $$props;
1909
1824
  $$self.$$set = ($$props2) => {
@@ -1917,13 +1832,13 @@ function instance20($$self, $$props, $$invalidate) {
1917
1832
  var Minus = class extends SvelteComponent {
1918
1833
  constructor(options) {
1919
1834
  super();
1920
- init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
1835
+ init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
1921
1836
  }
1922
1837
  };
1923
1838
  var Minus_default = Minus;
1924
1839
 
1925
1840
  // src/components/Icons/Pencil.svelte
1926
- function create_fragment21(ctx) {
1841
+ function create_fragment20(ctx) {
1927
1842
  let svg;
1928
1843
  let path0;
1929
1844
  let path1;
@@ -1976,7 +1891,7 @@ function create_fragment21(ctx) {
1976
1891
  }
1977
1892
  };
1978
1893
  }
1979
- function instance21($$self, $$props, $$invalidate) {
1894
+ function instance20($$self, $$props, $$invalidate) {
1980
1895
  let { theme = "light" } = $$props;
1981
1896
  let { active = false } = $$props;
1982
1897
  $$self.$$set = ($$props2) => {
@@ -1990,13 +1905,13 @@ function instance21($$self, $$props, $$invalidate) {
1990
1905
  var Pencil = class extends SvelteComponent {
1991
1906
  constructor(options) {
1992
1907
  super();
1993
- init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
1908
+ init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
1994
1909
  }
1995
1910
  };
1996
1911
  var Pencil_default = Pencil;
1997
1912
 
1998
1913
  // src/components/Icons/PencilFilled.svelte
1999
- function create_fragment22(ctx) {
1914
+ function create_fragment21(ctx) {
2000
1915
  let svg;
2001
1916
  let path;
2002
1917
  let svg_class_value;
@@ -2034,7 +1949,7 @@ function create_fragment22(ctx) {
2034
1949
  }
2035
1950
  };
2036
1951
  }
2037
- function instance22($$self, $$props, $$invalidate) {
1952
+ function instance21($$self, $$props, $$invalidate) {
2038
1953
  let { theme = "light" } = $$props;
2039
1954
  let { active = false } = $$props;
2040
1955
  $$self.$$set = ($$props2) => {
@@ -2048,13 +1963,13 @@ function instance22($$self, $$props, $$invalidate) {
2048
1963
  var PencilFilled = class extends SvelteComponent {
2049
1964
  constructor(options) {
2050
1965
  super();
2051
- init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
1966
+ init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
2052
1967
  }
2053
1968
  };
2054
1969
  var PencilFilled_default = PencilFilled;
2055
1970
 
2056
1971
  // src/components/Icons/Plus.svelte
2057
- function create_fragment23(ctx) {
1972
+ function create_fragment22(ctx) {
2058
1973
  let svg;
2059
1974
  let path;
2060
1975
  let svg_class_value;
@@ -2092,7 +2007,7 @@ function create_fragment23(ctx) {
2092
2007
  }
2093
2008
  };
2094
2009
  }
2095
- function instance23($$self, $$props, $$invalidate) {
2010
+ function instance22($$self, $$props, $$invalidate) {
2096
2011
  let { theme = "light" } = $$props;
2097
2012
  let { active = false } = $$props;
2098
2013
  $$self.$$set = ($$props2) => {
@@ -2106,13 +2021,13 @@ function instance23($$self, $$props, $$invalidate) {
2106
2021
  var Plus = class extends SvelteComponent {
2107
2022
  constructor(options) {
2108
2023
  super();
2109
- init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
2024
+ init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
2110
2025
  }
2111
2026
  };
2112
2027
  var Plus_default = Plus;
2113
2028
 
2114
2029
  // src/components/Icons/Rectangle.svelte
2115
- function create_fragment24(ctx) {
2030
+ function create_fragment23(ctx) {
2116
2031
  let svg;
2117
2032
  let path;
2118
2033
  let svg_class_value;
@@ -2150,7 +2065,7 @@ function create_fragment24(ctx) {
2150
2065
  }
2151
2066
  };
2152
2067
  }
2153
- function instance24($$self, $$props, $$invalidate) {
2068
+ function instance23($$self, $$props, $$invalidate) {
2154
2069
  let { theme = "light" } = $$props;
2155
2070
  let { active = false } = $$props;
2156
2071
  $$self.$$set = ($$props2) => {
@@ -2164,13 +2079,13 @@ function instance24($$self, $$props, $$invalidate) {
2164
2079
  var Rectangle = class extends SvelteComponent {
2165
2080
  constructor(options) {
2166
2081
  super();
2167
- init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
2082
+ init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
2168
2083
  }
2169
2084
  };
2170
2085
  var Rectangle_default = Rectangle;
2171
2086
 
2172
2087
  // src/components/Icons/RectangleBolded.svelte
2173
- function create_fragment25(ctx) {
2088
+ function create_fragment24(ctx) {
2174
2089
  let svg;
2175
2090
  let path;
2176
2091
  let svg_class_value;
@@ -2208,7 +2123,7 @@ function create_fragment25(ctx) {
2208
2123
  }
2209
2124
  };
2210
2125
  }
2211
- function instance25($$self, $$props, $$invalidate) {
2126
+ function instance24($$self, $$props, $$invalidate) {
2212
2127
  let { theme = "light" } = $$props;
2213
2128
  let { active = false } = $$props;
2214
2129
  $$self.$$set = ($$props2) => {
@@ -2222,13 +2137,13 @@ function instance25($$self, $$props, $$invalidate) {
2222
2137
  var RectangleBolded = class extends SvelteComponent {
2223
2138
  constructor(options) {
2224
2139
  super();
2225
- init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
2140
+ init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
2226
2141
  }
2227
2142
  };
2228
2143
  var RectangleBolded_default = RectangleBolded;
2229
2144
 
2230
2145
  // src/components/Icons/Redo.svelte
2231
- function create_fragment26(ctx) {
2146
+ function create_fragment25(ctx) {
2232
2147
  let svg;
2233
2148
  let path0;
2234
2149
  let path1;
@@ -2270,7 +2185,7 @@ function create_fragment26(ctx) {
2270
2185
  }
2271
2186
  };
2272
2187
  }
2273
- function instance26($$self, $$props, $$invalidate) {
2188
+ function instance25($$self, $$props, $$invalidate) {
2274
2189
  let { theme = "light" } = $$props;
2275
2190
  let { active = false } = $$props;
2276
2191
  $$self.$$set = ($$props2) => {
@@ -2284,13 +2199,13 @@ function instance26($$self, $$props, $$invalidate) {
2284
2199
  var Redo = class extends SvelteComponent {
2285
2200
  constructor(options) {
2286
2201
  super();
2287
- init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
2202
+ init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
2288
2203
  }
2289
2204
  };
2290
2205
  var Redo_default = Redo;
2291
2206
 
2292
2207
  // src/components/Icons/Reset.svelte
2293
- function create_fragment27(ctx) {
2208
+ function create_fragment26(ctx) {
2294
2209
  let svg;
2295
2210
  let circle0;
2296
2211
  let path;
@@ -2346,7 +2261,7 @@ function create_fragment27(ctx) {
2346
2261
  }
2347
2262
  };
2348
2263
  }
2349
- function instance27($$self, $$props, $$invalidate) {
2264
+ function instance26($$self, $$props, $$invalidate) {
2350
2265
  let { theme = "light" } = $$props;
2351
2266
  let { active = false } = $$props;
2352
2267
  $$self.$$set = ($$props2) => {
@@ -2360,13 +2275,13 @@ function instance27($$self, $$props, $$invalidate) {
2360
2275
  var Reset = class extends SvelteComponent {
2361
2276
  constructor(options) {
2362
2277
  super();
2363
- init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
2278
+ init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
2364
2279
  }
2365
2280
  };
2366
2281
  var Reset_default = Reset;
2367
2282
 
2368
2283
  // src/components/Icons/Rhombus.svelte
2369
- function create_fragment28(ctx) {
2284
+ function create_fragment27(ctx) {
2370
2285
  let svg;
2371
2286
  let path;
2372
2287
  let svg_class_value;
@@ -2404,7 +2319,7 @@ function create_fragment28(ctx) {
2404
2319
  }
2405
2320
  };
2406
2321
  }
2407
- function instance28($$self, $$props, $$invalidate) {
2322
+ function instance27($$self, $$props, $$invalidate) {
2408
2323
  let { theme = "light" } = $$props;
2409
2324
  let { active = false } = $$props;
2410
2325
  $$self.$$set = ($$props2) => {
@@ -2418,13 +2333,13 @@ function instance28($$self, $$props, $$invalidate) {
2418
2333
  var Rhombus = class extends SvelteComponent {
2419
2334
  constructor(options) {
2420
2335
  super();
2421
- init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
2336
+ init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
2422
2337
  }
2423
2338
  };
2424
2339
  var Rhombus_default = Rhombus;
2425
2340
 
2426
2341
  // src/components/Icons/RhombusBolded.svelte
2427
- function create_fragment29(ctx) {
2342
+ function create_fragment28(ctx) {
2428
2343
  let svg;
2429
2344
  let path;
2430
2345
  let svg_class_value;
@@ -2462,7 +2377,7 @@ function create_fragment29(ctx) {
2462
2377
  }
2463
2378
  };
2464
2379
  }
2465
- function instance29($$self, $$props, $$invalidate) {
2380
+ function instance28($$self, $$props, $$invalidate) {
2466
2381
  let { theme = "light" } = $$props;
2467
2382
  let { active = false } = $$props;
2468
2383
  $$self.$$set = ($$props2) => {
@@ -2476,13 +2391,13 @@ function instance29($$self, $$props, $$invalidate) {
2476
2391
  var RhombusBolded = class extends SvelteComponent {
2477
2392
  constructor(options) {
2478
2393
  super();
2479
- init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
2394
+ init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
2480
2395
  }
2481
2396
  };
2482
2397
  var RhombusBolded_default = RhombusBolded;
2483
2398
 
2484
2399
  // src/components/Icons/Right.svelte
2485
- function create_fragment30(ctx) {
2400
+ function create_fragment29(ctx) {
2486
2401
  let svg;
2487
2402
  let path;
2488
2403
  let svg_class_value;
@@ -2520,7 +2435,7 @@ function create_fragment30(ctx) {
2520
2435
  }
2521
2436
  };
2522
2437
  }
2523
- function instance30($$self, $$props, $$invalidate) {
2438
+ function instance29($$self, $$props, $$invalidate) {
2524
2439
  let { theme = "light" } = $$props;
2525
2440
  let { active = false } = $$props;
2526
2441
  $$self.$$set = ($$props2) => {
@@ -2534,13 +2449,13 @@ function instance30($$self, $$props, $$invalidate) {
2534
2449
  var Right = class extends SvelteComponent {
2535
2450
  constructor(options) {
2536
2451
  super();
2537
- init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
2452
+ init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
2538
2453
  }
2539
2454
  };
2540
2455
  var Right_default = Right;
2541
2456
 
2542
2457
  // src/components/Icons/Selector.svelte
2543
- function create_fragment31(ctx) {
2458
+ function create_fragment30(ctx) {
2544
2459
  let svg;
2545
2460
  let path0;
2546
2461
  let path1;
@@ -2587,7 +2502,7 @@ function create_fragment31(ctx) {
2587
2502
  }
2588
2503
  };
2589
2504
  }
2590
- function instance31($$self, $$props, $$invalidate) {
2505
+ function instance30($$self, $$props, $$invalidate) {
2591
2506
  let { theme = "light" } = $$props;
2592
2507
  let { active = false } = $$props;
2593
2508
  $$self.$$set = ($$props2) => {
@@ -2601,13 +2516,13 @@ function instance31($$self, $$props, $$invalidate) {
2601
2516
  var Selector = class extends SvelteComponent {
2602
2517
  constructor(options) {
2603
2518
  super();
2604
- init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
2519
+ init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
2605
2520
  }
2606
2521
  };
2607
2522
  var Selector_default = Selector;
2608
2523
 
2609
2524
  // src/components/Icons/SelectorFilled.svelte
2610
- function create_fragment32(ctx) {
2525
+ function create_fragment31(ctx) {
2611
2526
  let svg;
2612
2527
  let path0;
2613
2528
  let path1;
@@ -2652,7 +2567,7 @@ function create_fragment32(ctx) {
2652
2567
  }
2653
2568
  };
2654
2569
  }
2655
- function instance32($$self, $$props, $$invalidate) {
2570
+ function instance31($$self, $$props, $$invalidate) {
2656
2571
  let { theme = "light" } = $$props;
2657
2572
  let { active = false } = $$props;
2658
2573
  $$self.$$set = ($$props2) => {
@@ -2666,13 +2581,13 @@ function instance32($$self, $$props, $$invalidate) {
2666
2581
  var SelectorFilled = class extends SvelteComponent {
2667
2582
  constructor(options) {
2668
2583
  super();
2669
- init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
2584
+ init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
2670
2585
  }
2671
2586
  };
2672
2587
  var SelectorFilled_default = SelectorFilled;
2673
2588
 
2674
2589
  // src/components/Icons/SpeechBalloon.svelte
2675
- function create_fragment33(ctx) {
2590
+ function create_fragment32(ctx) {
2676
2591
  let svg;
2677
2592
  let path;
2678
2593
  let svg_class_value;
@@ -2710,7 +2625,7 @@ function create_fragment33(ctx) {
2710
2625
  }
2711
2626
  };
2712
2627
  }
2713
- function instance33($$self, $$props, $$invalidate) {
2628
+ function instance32($$self, $$props, $$invalidate) {
2714
2629
  let { theme = "light" } = $$props;
2715
2630
  let { active = false } = $$props;
2716
2631
  $$self.$$set = ($$props2) => {
@@ -2724,13 +2639,13 @@ function instance33($$self, $$props, $$invalidate) {
2724
2639
  var SpeechBalloon = class extends SvelteComponent {
2725
2640
  constructor(options) {
2726
2641
  super();
2727
- init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
2642
+ init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
2728
2643
  }
2729
2644
  };
2730
2645
  var SpeechBalloon_default = SpeechBalloon;
2731
2646
 
2732
2647
  // src/components/Icons/Star.svelte
2733
- function create_fragment34(ctx) {
2648
+ function create_fragment33(ctx) {
2734
2649
  let svg;
2735
2650
  let path;
2736
2651
  let svg_class_value;
@@ -2768,7 +2683,7 @@ function create_fragment34(ctx) {
2768
2683
  }
2769
2684
  };
2770
2685
  }
2771
- function instance34($$self, $$props, $$invalidate) {
2686
+ function instance33($$self, $$props, $$invalidate) {
2772
2687
  let { theme = "light" } = $$props;
2773
2688
  let { active = false } = $$props;
2774
2689
  $$self.$$set = ($$props2) => {
@@ -2782,13 +2697,13 @@ function instance34($$self, $$props, $$invalidate) {
2782
2697
  var Star = class extends SvelteComponent {
2783
2698
  constructor(options) {
2784
2699
  super();
2785
- init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
2700
+ init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
2786
2701
  }
2787
2702
  };
2788
2703
  var Star_default = Star;
2789
2704
 
2790
2705
  // src/components/Icons/StarBolded.svelte
2791
- function create_fragment35(ctx) {
2706
+ function create_fragment34(ctx) {
2792
2707
  let svg;
2793
2708
  let path;
2794
2709
  let svg_class_value;
@@ -2826,7 +2741,7 @@ function create_fragment35(ctx) {
2826
2741
  }
2827
2742
  };
2828
2743
  }
2829
- function instance35($$self, $$props, $$invalidate) {
2744
+ function instance34($$self, $$props, $$invalidate) {
2830
2745
  let { theme = "light" } = $$props;
2831
2746
  let { active = false } = $$props;
2832
2747
  $$self.$$set = ($$props2) => {
@@ -2840,13 +2755,13 @@ function instance35($$self, $$props, $$invalidate) {
2840
2755
  var StarBolded = class extends SvelteComponent {
2841
2756
  constructor(options) {
2842
2757
  super();
2843
- init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
2758
+ init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
2844
2759
  }
2845
2760
  };
2846
2761
  var StarBolded_default = StarBolded;
2847
2762
 
2848
2763
  // src/components/Icons/Text.svelte
2849
- function create_fragment36(ctx) {
2764
+ function create_fragment35(ctx) {
2850
2765
  let svg;
2851
2766
  let path;
2852
2767
  let svg_class_value;
@@ -2884,7 +2799,7 @@ function create_fragment36(ctx) {
2884
2799
  }
2885
2800
  };
2886
2801
  }
2887
- function instance36($$self, $$props, $$invalidate) {
2802
+ function instance35($$self, $$props, $$invalidate) {
2888
2803
  let { theme = "light" } = $$props;
2889
2804
  let { active = false } = $$props;
2890
2805
  $$self.$$set = ($$props2) => {
@@ -2898,13 +2813,13 @@ function instance36($$self, $$props, $$invalidate) {
2898
2813
  var Text = class extends SvelteComponent {
2899
2814
  constructor(options) {
2900
2815
  super();
2901
- init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
2816
+ init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
2902
2817
  }
2903
2818
  };
2904
2819
  var Text_default = Text;
2905
2820
 
2906
2821
  // src/components/Icons/TextFilled.svelte
2907
- function create_fragment37(ctx) {
2822
+ function create_fragment36(ctx) {
2908
2823
  let svg;
2909
2824
  let path0;
2910
2825
  let path1;
@@ -2949,7 +2864,7 @@ function create_fragment37(ctx) {
2949
2864
  }
2950
2865
  };
2951
2866
  }
2952
- function instance37($$self, $$props, $$invalidate) {
2867
+ function instance36($$self, $$props, $$invalidate) {
2953
2868
  let { theme = "light" } = $$props;
2954
2869
  let { active = false } = $$props;
2955
2870
  $$self.$$set = ($$props2) => {
@@ -2963,13 +2878,13 @@ function instance37($$self, $$props, $$invalidate) {
2963
2878
  var TextFilled = class extends SvelteComponent {
2964
2879
  constructor(options) {
2965
2880
  super();
2966
- init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
2881
+ init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
2967
2882
  }
2968
2883
  };
2969
2884
  var TextFilled_default = TextFilled;
2970
2885
 
2971
2886
  // src/components/Icons/Triangle.svelte
2972
- function create_fragment38(ctx) {
2887
+ function create_fragment37(ctx) {
2973
2888
  let svg;
2974
2889
  let path;
2975
2890
  let svg_class_value;
@@ -3007,7 +2922,7 @@ function create_fragment38(ctx) {
3007
2922
  }
3008
2923
  };
3009
2924
  }
3010
- function instance38($$self, $$props, $$invalidate) {
2925
+ function instance37($$self, $$props, $$invalidate) {
3011
2926
  let { theme = "light" } = $$props;
3012
2927
  let { active = false } = $$props;
3013
2928
  $$self.$$set = ($$props2) => {
@@ -3021,13 +2936,13 @@ function instance38($$self, $$props, $$invalidate) {
3021
2936
  var Triangle = class extends SvelteComponent {
3022
2937
  constructor(options) {
3023
2938
  super();
3024
- init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
2939
+ init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
3025
2940
  }
3026
2941
  };
3027
2942
  var Triangle_default = Triangle;
3028
2943
 
3029
2944
  // src/components/Icons/TriangleBolded.svelte
3030
- function create_fragment39(ctx) {
2945
+ function create_fragment38(ctx) {
3031
2946
  let svg;
3032
2947
  let path;
3033
2948
  let svg_class_value;
@@ -3065,7 +2980,7 @@ function create_fragment39(ctx) {
3065
2980
  }
3066
2981
  };
3067
2982
  }
3068
- function instance39($$self, $$props, $$invalidate) {
2983
+ function instance38($$self, $$props, $$invalidate) {
3069
2984
  let { theme = "light" } = $$props;
3070
2985
  let { active = false } = $$props;
3071
2986
  $$self.$$set = ($$props2) => {
@@ -3079,13 +2994,13 @@ function instance39($$self, $$props, $$invalidate) {
3079
2994
  var TriangleBolded = class extends SvelteComponent {
3080
2995
  constructor(options) {
3081
2996
  super();
3082
- init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
2997
+ init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
3083
2998
  }
3084
2999
  };
3085
3000
  var TriangleBolded_default = TriangleBolded;
3086
3001
 
3087
3002
  // src/components/Icons/Undo.svelte
3088
- function create_fragment40(ctx) {
3003
+ function create_fragment39(ctx) {
3089
3004
  let svg;
3090
3005
  let path0;
3091
3006
  let path1;
@@ -3127,7 +3042,7 @@ function create_fragment40(ctx) {
3127
3042
  }
3128
3043
  };
3129
3044
  }
3130
- function instance40($$self, $$props, $$invalidate) {
3045
+ function instance39($$self, $$props, $$invalidate) {
3131
3046
  let { theme = "light" } = $$props;
3132
3047
  let { active = false } = $$props;
3133
3048
  $$self.$$set = ($$props2) => {
@@ -3141,13 +3056,13 @@ function instance40($$self, $$props, $$invalidate) {
3141
3056
  var Undo = class extends SvelteComponent {
3142
3057
  constructor(options) {
3143
3058
  super();
3144
- init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
3059
+ init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
3145
3060
  }
3146
3061
  };
3147
3062
  var Undo_default = Undo;
3148
3063
 
3149
3064
  // src/components/Icons/Up.svelte
3150
- function create_fragment41(ctx) {
3065
+ function create_fragment40(ctx) {
3151
3066
  let svg;
3152
3067
  let path;
3153
3068
  let svg_class_value;
@@ -3185,7 +3100,7 @@ function create_fragment41(ctx) {
3185
3100
  }
3186
3101
  };
3187
3102
  }
3188
- function instance41($$self, $$props, $$invalidate) {
3103
+ function instance40($$self, $$props, $$invalidate) {
3189
3104
  let { theme = "light" } = $$props;
3190
3105
  let { active = false } = $$props;
3191
3106
  $$self.$$set = ($$props2) => {
@@ -3199,13 +3114,13 @@ function instance41($$self, $$props, $$invalidate) {
3199
3114
  var Up = class extends SvelteComponent {
3200
3115
  constructor(options) {
3201
3116
  super();
3202
- init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
3117
+ init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
3203
3118
  }
3204
3119
  };
3205
3120
  var Up_default = Up;
3206
3121
 
3207
3122
  // src/components/Icons/WhiteboardAdd.svelte
3208
- function create_fragment42(ctx) {
3123
+ function create_fragment41(ctx) {
3209
3124
  let svg;
3210
3125
  let path0;
3211
3126
  let rect;
@@ -3263,7 +3178,7 @@ function create_fragment42(ctx) {
3263
3178
  }
3264
3179
  };
3265
3180
  }
3266
- function instance42($$self, $$props, $$invalidate) {
3181
+ function instance41($$self, $$props, $$invalidate) {
3267
3182
  let { theme = "light" } = $$props;
3268
3183
  let { active = false } = $$props;
3269
3184
  $$self.$$set = ($$props2) => {
@@ -3277,13 +3192,13 @@ function instance42($$self, $$props, $$invalidate) {
3277
3192
  var WhiteboardAdd = class extends SvelteComponent {
3278
3193
  constructor(options) {
3279
3194
  super();
3280
- init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
3195
+ init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
3281
3196
  }
3282
3197
  };
3283
3198
  var WhiteboardAdd_default = WhiteboardAdd;
3284
3199
 
3285
3200
  // src/components/Icons/Play.svelte
3286
- function create_fragment43(ctx) {
3201
+ function create_fragment42(ctx) {
3287
3202
  let svg;
3288
3203
  let path;
3289
3204
  let svg_class_value;
@@ -3319,7 +3234,7 @@ function create_fragment43(ctx) {
3319
3234
  }
3320
3235
  };
3321
3236
  }
3322
- function instance43($$self, $$props, $$invalidate) {
3237
+ function instance42($$self, $$props, $$invalidate) {
3323
3238
  let { theme = "light" } = $$props;
3324
3239
  let { active = false } = $$props;
3325
3240
  $$self.$$set = ($$props2) => {
@@ -3333,13 +3248,13 @@ function instance43($$self, $$props, $$invalidate) {
3333
3248
  var Play = class extends SvelteComponent {
3334
3249
  constructor(options) {
3335
3250
  super();
3336
- init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
3251
+ init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
3337
3252
  }
3338
3253
  };
3339
3254
  var Play_default = Play;
3340
3255
 
3341
3256
  // src/components/Icons/Pause.svelte
3342
- function create_fragment44(ctx) {
3257
+ function create_fragment43(ctx) {
3343
3258
  let svg;
3344
3259
  let path;
3345
3260
  let svg_class_value;
@@ -3375,7 +3290,7 @@ function create_fragment44(ctx) {
3375
3290
  }
3376
3291
  };
3377
3292
  }
3378
- function instance44($$self, $$props, $$invalidate) {
3293
+ function instance43($$self, $$props, $$invalidate) {
3379
3294
  let { theme = "light" } = $$props;
3380
3295
  let { active = false } = $$props;
3381
3296
  $$self.$$set = ($$props2) => {
@@ -3389,13 +3304,13 @@ function instance44($$self, $$props, $$invalidate) {
3389
3304
  var Pause = class extends SvelteComponent {
3390
3305
  constructor(options) {
3391
3306
  super();
3392
- init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
3307
+ init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
3393
3308
  }
3394
3309
  };
3395
3310
  var Pause_default = Pause;
3396
3311
 
3397
3312
  // src/components/Icons/Loading.svelte
3398
- function create_fragment45(ctx) {
3313
+ function create_fragment44(ctx) {
3399
3314
  let svg;
3400
3315
  let path;
3401
3316
  let svg_class_value;
@@ -3431,7 +3346,7 @@ function create_fragment45(ctx) {
3431
3346
  }
3432
3347
  };
3433
3348
  }
3434
- function instance45($$self, $$props, $$invalidate) {
3349
+ function instance44($$self, $$props, $$invalidate) {
3435
3350
  let { theme = "light" } = $$props;
3436
3351
  let { active = false } = $$props;
3437
3352
  $$self.$$set = ($$props2) => {
@@ -3445,7 +3360,7 @@ function instance45($$self, $$props, $$invalidate) {
3445
3360
  var Loading = class extends SvelteComponent {
3446
3361
  constructor(options) {
3447
3362
  super();
3448
- init(this, options, instance45, create_fragment45, safe_not_equal, { theme: 0, active: 1 });
3363
+ init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
3449
3364
  }
3450
3365
  };
3451
3366
  var Loading_default = Loading;
@@ -3459,7 +3374,6 @@ var Icons = {
3459
3374
  BalloonBolded: BalloonBolded_default,
3460
3375
  Circle: Circle_default,
3461
3376
  CircleBolded: CircleBolded_default,
3462
- Clean: Clean_default,
3463
3377
  Clear: Clear_default,
3464
3378
  Click: Click_default,
3465
3379
  ClickFilled: ClickFilled_default,
@@ -3511,12 +3425,12 @@ if (is_client) {
3511
3425
  {
3512
3426
  name: "className",
3513
3427
  defaultValue: "",
3514
- fn(instance60) {
3428
+ fn(instance59) {
3515
3429
  function add() {
3516
- const el = instance60.popper.firstElementChild;
3430
+ const el = instance59.popper.firstElementChild;
3517
3431
  if (el) {
3518
3432
  el.classList.add("fastboard-tip");
3519
- const extra = (instance60.props.className || "").trim();
3433
+ const extra = (instance59.props.className || "").trim();
3520
3434
  if (extra) {
3521
3435
  el.classList.add(extra);
3522
3436
  }
@@ -3524,7 +3438,7 @@ if (is_client) {
3524
3438
  }
3525
3439
  function remove() {
3526
3440
  var _a;
3527
- (_a = instance60.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
3441
+ (_a = instance59.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
3528
3442
  }
3529
3443
  return {
3530
3444
  onCreate: add,
@@ -3537,21 +3451,21 @@ if (is_client) {
3537
3451
  });
3538
3452
  }
3539
3453
  var tippy = function(node, props) {
3540
- const instance60 = (0, import_tippy.default)(node, props);
3454
+ const instance59 = (0, import_tippy.default)(node, props);
3541
3455
  return {
3542
3456
  update(props2) {
3543
- instance60.setProps(props2);
3457
+ instance59.setProps(props2);
3544
3458
  },
3545
3459
  destroy() {
3546
- instance60.destroy();
3460
+ instance59.destroy();
3547
3461
  }
3548
3462
  };
3549
3463
  };
3550
3464
  function tippy_hide_all() {
3551
3465
  document.querySelectorAll("[data-tippy-root]").forEach((el) => {
3552
- const instance60 = el._tippy;
3553
- if (instance60)
3554
- instance60.hide();
3466
+ const instance59 = el._tippy;
3467
+ if (instance59)
3468
+ instance59.hide();
3555
3469
  });
3556
3470
  }
3557
3471
  var tippy_menu = {
@@ -3635,7 +3549,7 @@ function create_if_block2(ctx) {
3635
3549
  return 0;
3636
3550
  return 1;
3637
3551
  }
3638
- current_block_type_index = select_block_type_1(ctx, -1);
3552
+ current_block_type_index = select_block_type_1(ctx);
3639
3553
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
3640
3554
  return {
3641
3555
  c() {
@@ -3649,7 +3563,7 @@ function create_if_block2(ctx) {
3649
3563
  },
3650
3564
  p(ctx2, dirty) {
3651
3565
  let previous_block_index = current_block_type_index;
3652
- current_block_type_index = select_block_type_1(ctx2, dirty);
3566
+ current_block_type_index = select_block_type_1(ctx2);
3653
3567
  if (current_block_type_index === previous_block_index) {
3654
3568
  if_blocks[current_block_type_index].p(ctx2, dirty);
3655
3569
  } else {
@@ -3871,7 +3785,7 @@ function create_if_block_1(ctx) {
3871
3785
  }
3872
3786
  };
3873
3787
  }
3874
- function create_fragment46(ctx) {
3788
+ function create_fragment45(ctx) {
3875
3789
  let current_block_type_index;
3876
3790
  let if_block;
3877
3791
  let if_block_anchor;
@@ -3883,7 +3797,7 @@ function create_fragment46(ctx) {
3883
3797
  return 0;
3884
3798
  return 1;
3885
3799
  }
3886
- current_block_type_index = select_block_type(ctx, -1);
3800
+ current_block_type_index = select_block_type(ctx);
3887
3801
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
3888
3802
  return {
3889
3803
  c() {
@@ -3897,7 +3811,7 @@ function create_fragment46(ctx) {
3897
3811
  },
3898
3812
  p(ctx2, [dirty]) {
3899
3813
  let previous_block_index = current_block_type_index;
3900
- current_block_type_index = select_block_type(ctx2, dirty);
3814
+ current_block_type_index = select_block_type(ctx2);
3901
3815
  if (current_block_type_index === previous_block_index) {
3902
3816
  if_blocks[current_block_type_index].p(ctx2, dirty);
3903
3817
  } else {
@@ -3934,7 +3848,7 @@ function create_fragment46(ctx) {
3934
3848
  }
3935
3849
  };
3936
3850
  }
3937
- function instance46($$self, $$props, $$invalidate) {
3851
+ function instance45($$self, $$props, $$invalidate) {
3938
3852
  let { $$slots: slots = {}, $$scope } = $$props;
3939
3853
  let { class: className = "" } = $$props;
3940
3854
  let { name: name10 = "fastboard-ui" } = $$props;
@@ -3992,7 +3906,7 @@ function instance46($$self, $$props, $$invalidate) {
3992
3906
  var Button = class extends SvelteComponent {
3993
3907
  constructor(options) {
3994
3908
  super();
3995
- init(this, options, instance46, create_fragment46, safe_not_equal, {
3909
+ init(this, options, instance45, create_fragment45, safe_not_equal, {
3996
3910
  class: 0,
3997
3911
  name: 1,
3998
3912
  theme: 2,
@@ -4163,7 +4077,7 @@ function create_default_slot(ctx) {
4163
4077
  }
4164
4078
  };
4165
4079
  }
4166
- function create_fragment47(ctx) {
4080
+ function create_fragment46(ctx) {
4167
4081
  let div;
4168
4082
  let button0;
4169
4083
  let t_1;
@@ -4264,7 +4178,7 @@ var i18n = {
4264
4178
  }
4265
4179
  };
4266
4180
  var name = "fastboard-redo-undo";
4267
- function instance47($$self, $$props, $$invalidate) {
4181
+ function instance46($$self, $$props, $$invalidate) {
4268
4182
  let writable2;
4269
4183
  let disabled;
4270
4184
  let t;
@@ -4301,36 +4215,28 @@ function instance47($$self, $$props, $$invalidate) {
4301
4215
  };
4302
4216
  $$self.$$.update = () => {
4303
4217
  if ($$self.$$.dirty & 2048) {
4304
- $:
4305
- $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
4218
+ $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
4306
4219
  }
4307
4220
  if ($$self.$$.dirty & 65536) {
4308
- $:
4309
- $$invalidate(13, disabled = !$writable);
4221
+ $$invalidate(13, disabled = !$writable);
4310
4222
  }
4311
4223
  if ($$self.$$.dirty & 4096) {
4312
- $:
4313
- $$invalidate(7, t = i18n[language]);
4224
+ $$invalidate(7, t = i18n[language]);
4314
4225
  }
4315
4226
  if ($$self.$$.dirty & 8192) {
4316
- $:
4317
- $$invalidate(2, type = disabled ? "disable" : "normal");
4227
+ $$invalidate(2, type = disabled ? "disable" : "normal");
4318
4228
  }
4319
4229
  if ($$self.$$.dirty & 2048) {
4320
- $:
4321
- $$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
4230
+ $$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
4322
4231
  }
4323
4232
  if ($$self.$$.dirty & 2048) {
4324
- $:
4325
- $$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
4233
+ $$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
4326
4234
  }
4327
4235
  if ($$self.$$.dirty & 40960) {
4328
- $:
4329
- $$invalidate(4, undo_disabled = disabled || !$undoSteps);
4236
+ $$invalidate(4, undo_disabled = disabled || !$undoSteps);
4330
4237
  }
4331
4238
  if ($$self.$$.dirty & 24576) {
4332
- $:
4333
- $$invalidate(3, redo_disabled = disabled || !$redoSteps);
4239
+ $$invalidate(3, redo_disabled = disabled || !$redoSteps);
4334
4240
  }
4335
4241
  };
4336
4242
  return [
@@ -4356,7 +4262,7 @@ function instance47($$self, $$props, $$invalidate) {
4356
4262
  var RedoUndo = class extends SvelteComponent {
4357
4263
  constructor(options) {
4358
4264
  super();
4359
- init(this, options, instance47, create_fragment47, safe_not_equal, {
4265
+ init(this, options, instance46, create_fragment46, safe_not_equal, {
4360
4266
  app: 11,
4361
4267
  theme: 0,
4362
4268
  language: 12,
@@ -4649,7 +4555,7 @@ function create_default_slot2(ctx) {
4649
4555
  }
4650
4556
  };
4651
4557
  }
4652
- function create_fragment48(ctx) {
4558
+ function create_fragment47(ctx) {
4653
4559
  let div;
4654
4560
  let button0;
4655
4561
  let t0;
@@ -4678,7 +4584,7 @@ function create_fragment48(ctx) {
4678
4584
  return create_if_block3;
4679
4585
  return create_else_block3;
4680
4586
  }
4681
- let current_block_type = select_block_type(ctx, -1);
4587
+ let current_block_type = select_block_type(ctx);
4682
4588
  let if_block = current_block_type(ctx);
4683
4589
  button1 = new Button_default({
4684
4590
  props: {
@@ -4742,7 +4648,7 @@ function create_fragment48(ctx) {
4742
4648
  button0_changes.$$scope = { dirty, ctx: ctx2 };
4743
4649
  }
4744
4650
  button0.$set(button0_changes);
4745
- if (current_block_type === (current_block_type = select_block_type(ctx2, dirty)) && if_block) {
4651
+ if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
4746
4652
  if_block.p(ctx2, dirty);
4747
4653
  } else {
4748
4654
  if_block.d(1);
@@ -4818,7 +4724,7 @@ var i18n2 = {
4818
4724
  }
4819
4725
  };
4820
4726
  var name2 = "fastboard-page-control";
4821
- function instance48($$self, $$props, $$invalidate) {
4727
+ function instance47($$self, $$props, $$invalidate) {
4822
4728
  let writable2;
4823
4729
  let disabled;
4824
4730
  let t;
@@ -4859,36 +4765,28 @@ function instance48($$self, $$props, $$invalidate) {
4859
4765
  };
4860
4766
  $$self.$$.update = () => {
4861
4767
  if ($$self.$$.dirty & 32768) {
4862
- $:
4863
- $$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
4768
+ $$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
4864
4769
  }
4865
4770
  if ($$self.$$.dirty & 131072) {
4866
- $:
4867
- $$invalidate(2, disabled = !$writable);
4771
+ $$invalidate(2, disabled = !$writable);
4868
4772
  }
4869
4773
  if ($$self.$$.dirty & 65536) {
4870
- $:
4871
- $$invalidate(10, t = i18n2[language]);
4774
+ $$invalidate(10, t = i18n2[language]);
4872
4775
  }
4873
4776
  if ($$self.$$.dirty & 4) {
4874
- $:
4875
- $$invalidate(5, type = disabled ? "disable" : "normal");
4777
+ $$invalidate(5, type = disabled ? "disable" : "normal");
4876
4778
  }
4877
4779
  if ($$self.$$.dirty & 32768) {
4878
- $:
4879
- $$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
4780
+ $$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
4880
4781
  }
4881
4782
  if ($$self.$$.dirty & 32768) {
4882
- $:
4883
- $$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
4783
+ $$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
4884
4784
  }
4885
4785
  if ($$self.$$.dirty & 20) {
4886
- $:
4887
- $$invalidate(7, prev_disabled = disabled || !$index);
4786
+ $$invalidate(7, prev_disabled = disabled || !$index);
4888
4787
  }
4889
4788
  if ($$self.$$.dirty & 28) {
4890
- $:
4891
- $$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
4789
+ $$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
4892
4790
  }
4893
4791
  };
4894
4792
  return [
@@ -4915,7 +4813,7 @@ function instance48($$self, $$props, $$invalidate) {
4915
4813
  var PageControl = class extends SvelteComponent {
4916
4814
  constructor(options) {
4917
4815
  super();
4918
- init(this, options, instance48, create_fragment48, safe_not_equal, {
4816
+ init(this, options, instance47, create_fragment47, safe_not_equal, {
4919
4817
  app: 15,
4920
4818
  theme: 0,
4921
4819
  language: 16,
@@ -5206,7 +5104,7 @@ function create_default_slot3(ctx) {
5206
5104
  }
5207
5105
  };
5208
5106
  }
5209
- function create_fragment49(ctx) {
5107
+ function create_fragment48(ctx) {
5210
5108
  let div;
5211
5109
  let button0;
5212
5110
  let t0;
@@ -5235,7 +5133,7 @@ function create_fragment49(ctx) {
5235
5133
  return create_if_block4;
5236
5134
  return create_else_block4;
5237
5135
  }
5238
- let current_block_type = select_block_type(ctx, -1);
5136
+ let current_block_type = select_block_type(ctx);
5239
5137
  let if_block = current_block_type(ctx);
5240
5138
  button1 = new Button_default({
5241
5139
  props: {
@@ -5299,7 +5197,7 @@ function create_fragment49(ctx) {
5299
5197
  button0_changes.$$scope = { dirty, ctx: ctx2 };
5300
5198
  }
5301
5199
  button0.$set(button0_changes);
5302
- if (current_block_type === (current_block_type = select_block_type(ctx2, dirty)) && if_block) {
5200
+ if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
5303
5201
  if_block.p(ctx2, dirty);
5304
5202
  } else {
5305
5203
  if_block.d(1);
@@ -5404,7 +5302,7 @@ function next_scale(scale, delta) {
5404
5302
  return 1;
5405
5303
  }
5406
5304
  var name3 = "fastboard-zoom-control";
5407
- function instance49($$self, $$props, $$invalidate) {
5305
+ function instance48($$self, $$props, $$invalidate) {
5408
5306
  let writable2;
5409
5307
  let disabled;
5410
5308
  let t;
@@ -5451,36 +5349,28 @@ function instance49($$self, $$props, $$invalidate) {
5451
5349
  $$self.$$.update = () => {
5452
5350
  var _a;
5453
5351
  if ($$self.$$.dirty & 16384) {
5454
- $:
5455
- $$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
5352
+ $$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
5456
5353
  }
5457
5354
  if ($$self.$$.dirty & 65536) {
5458
- $:
5459
- $$invalidate(3, disabled = !$writable);
5355
+ $$invalidate(3, disabled = !$writable);
5460
5356
  }
5461
5357
  if ($$self.$$.dirty & 32768) {
5462
- $:
5463
- $$invalidate(9, t = i18n3[language]);
5358
+ $$invalidate(9, t = i18n3[language]);
5464
5359
  }
5465
5360
  if ($$self.$$.dirty & 8) {
5466
- $:
5467
- $$invalidate(5, type = disabled ? "disable" : "normal");
5361
+ $$invalidate(5, type = disabled ? "disable" : "normal");
5468
5362
  }
5469
5363
  if ($$self.$$.dirty & 16384) {
5470
- $:
5471
- $$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
5364
+ $$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
5472
5365
  }
5473
5366
  if ($$self.$$.dirty & 16) {
5474
- $:
5475
- $$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
5367
+ $$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
5476
5368
  }
5477
5369
  if ($$self.$$.dirty & 12) {
5478
- $:
5479
- $$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
5370
+ $$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
5480
5371
  }
5481
5372
  if ($$self.$$.dirty & 12) {
5482
- $:
5483
- $$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
5373
+ $$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
5484
5374
  }
5485
5375
  };
5486
5376
  return [
@@ -5506,7 +5396,7 @@ function instance49($$self, $$props, $$invalidate) {
5506
5396
  var ZoomControl = class extends SvelteComponent {
5507
5397
  constructor(options) {
5508
5398
  super();
5509
- init(this, options, instance49, create_fragment49, safe_not_equal, {
5399
+ init(this, options, instance48, create_fragment48, safe_not_equal, {
5510
5400
  app: 14,
5511
5401
  theme: 0,
5512
5402
  language: 15,
@@ -5516,7 +5406,7 @@ var ZoomControl = class extends SvelteComponent {
5516
5406
  };
5517
5407
  var ZoomControl_default = ZoomControl;
5518
5408
 
5519
- // ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/store/index.mjs
5409
+ // ../../node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/store/index.mjs
5520
5410
  var subscriber_queue = [];
5521
5411
  function writable(value, start = noop) {
5522
5412
  let stop;
@@ -5734,7 +5624,10 @@ var apps = new AppsInToolbar([
5734
5624
  icon: visual_studio_code_default,
5735
5625
  label: "Code Editor",
5736
5626
  onClick(app) {
5737
- app.insertCodeEditor();
5627
+ app.manager.addApp({
5628
+ kind: "Monaco",
5629
+ options: { title: "Code Editor" }
5630
+ });
5738
5631
  }
5739
5632
  },
5740
5633
  {
@@ -5742,7 +5635,10 @@ var apps = new AppsInToolbar([
5742
5635
  icon: geogebra_default,
5743
5636
  label: "GeoGebra",
5744
5637
  onClick(app) {
5745
- app.insertGeoGebra();
5638
+ app.manager.addApp({
5639
+ kind: "GeoGebra",
5640
+ options: { title: "GeoGebra" }
5641
+ });
5746
5642
  }
5747
5643
  },
5748
5644
  {
@@ -5750,7 +5646,10 @@ var apps = new AppsInToolbar([
5750
5646
  icon: countdown_default,
5751
5647
  label: "Countdown",
5752
5648
  onClick(app) {
5753
- app.insertCountdown();
5649
+ app.manager.addApp({
5650
+ kind: "Countdown",
5651
+ options: { title: "Countdown" }
5652
+ });
5754
5653
  }
5755
5654
  }
5756
5655
  ]);
@@ -5772,7 +5671,7 @@ function tooltip(text2, hotkey) {
5772
5671
  }
5773
5672
 
5774
5673
  // src/components/Toolbar/components/Slider.svelte
5775
- function create_fragment50(ctx) {
5674
+ function create_fragment49(ctx) {
5776
5675
  let div;
5777
5676
  let input;
5778
5677
  let input_class_value;
@@ -5860,7 +5759,7 @@ function create_fragment50(ctx) {
5860
5759
  };
5861
5760
  }
5862
5761
  var name4 = "fastboard-slider";
5863
- function instance50($$self, $$props, $$invalidate) {
5762
+ function instance49($$self, $$props, $$invalidate) {
5864
5763
  let percent;
5865
5764
  const dispatch = createEventDispatcher();
5866
5765
  let { class: className = "" } = $$props;
@@ -5902,14 +5801,12 @@ function instance50($$self, $$props, $$invalidate) {
5902
5801
  };
5903
5802
  $$self.$$.update = () => {
5904
5803
  if ($$self.$$.dirty & 385) {
5905
- $:
5906
- if (value !== real_value && !grabbing) {
5804
+ if (value !== real_value && !grabbing) {
5907
5805
  $$invalidate(7, real_value = value);
5908
5806
  }
5909
5807
  }
5910
5808
  if ($$self.$$.dirty & 152) {
5911
- $:
5912
- $$invalidate(9, percent = 100 * (real_value - min) / (max - min));
5809
+ $$invalidate(9, percent = 100 * (real_value - min) / (max - min));
5913
5810
  }
5914
5811
  };
5915
5812
  return [
@@ -5931,7 +5828,7 @@ function instance50($$self, $$props, $$invalidate) {
5931
5828
  var Slider = class extends SvelteComponent {
5932
5829
  constructor(options) {
5933
5830
  super();
5934
- init(this, options, instance50, create_fragment50, safe_not_equal, {
5831
+ init(this, options, instance49, create_fragment49, safe_not_equal, {
5935
5832
  class: 1,
5936
5833
  theme: 2,
5937
5834
  min: 3,
@@ -5945,7 +5842,7 @@ var Slider = class extends SvelteComponent {
5945
5842
  var Slider_default = Slider;
5946
5843
 
5947
5844
  // src/components/Toolbar/components/StrokeWidth.svelte
5948
- function create_fragment51(ctx) {
5845
+ function create_fragment50(ctx) {
5949
5846
  let slider;
5950
5847
  let current;
5951
5848
  const slider_spread_levels = [
@@ -5992,7 +5889,7 @@ function create_fragment51(ctx) {
5992
5889
  }
5993
5890
  };
5994
5891
  }
5995
- function instance51($$self, $$props, $$invalidate) {
5892
+ function instance50($$self, $$props, $$invalidate) {
5996
5893
  let memberState;
5997
5894
  let value;
5998
5895
  let props;
@@ -6015,16 +5912,13 @@ function instance51($$self, $$props, $$invalidate) {
6015
5912
  $$self.$$.update = () => {
6016
5913
  var _a;
6017
5914
  if ($$self.$$.dirty & 8) {
6018
- $:
6019
- $$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
5915
+ $$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
6020
5916
  }
6021
5917
  if ($$self.$$.dirty & 128) {
6022
- $:
6023
- $$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
5918
+ $$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
6024
5919
  }
6025
5920
  if ($$self.$$.dirty & 112) {
6026
- $:
6027
- $$invalidate(0, props = { value, theme, disabled });
5921
+ $$invalidate(0, props = { value, theme, disabled });
6028
5922
  }
6029
5923
  };
6030
5924
  return [
@@ -6041,7 +5935,7 @@ function instance51($$self, $$props, $$invalidate) {
6041
5935
  var StrokeWidth = class extends SvelteComponent {
6042
5936
  constructor(options) {
6043
5937
  super();
6044
- init(this, options, instance51, create_fragment51, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
5938
+ init(this, options, instance50, create_fragment50, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
6045
5939
  }
6046
5940
  };
6047
5941
  var StrokeWidth_default = StrokeWidth;
@@ -6057,7 +5951,6 @@ function create_each_block(key_1, ctx) {
6057
5951
  let span;
6058
5952
  let t;
6059
5953
  let button_class_value;
6060
- let button_data_color_key_value;
6061
5954
  return {
6062
5955
  key: key_1,
6063
5956
  first: null,
@@ -6068,7 +5961,7 @@ function create_each_block(key_1, ctx) {
6068
5961
  attr(span, "class", "fastboard-toolbar-color-item");
6069
5962
  set_style(span, "background-color", ctx[7], false);
6070
5963
  attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
6071
- attr(button, "data-color-key", button_data_color_key_value = ctx[7]);
5964
+ attr(button, "data-color-key", ctx[7]);
6072
5965
  button.disabled = ctx[1];
6073
5966
  toggle_class(button, "is-active", is_equal_color(ctx[2], colors[ctx[7]]));
6074
5967
  this.first = button;
@@ -6096,7 +5989,7 @@ function create_each_block(key_1, ctx) {
6096
5989
  }
6097
5990
  };
6098
5991
  }
6099
- function create_fragment52(ctx) {
5992
+ function create_fragment51(ctx) {
6100
5993
  let div;
6101
5994
  let each_blocks = [];
6102
5995
  let each_1_lookup = /* @__PURE__ */ new Map();
@@ -6153,7 +6046,7 @@ function create_fragment52(ctx) {
6153
6046
  function is_equal_color(a, b) {
6154
6047
  return a && b && a.every((v, i) => v === b[i]);
6155
6048
  }
6156
- function instance52($$self, $$props, $$invalidate) {
6049
+ function instance51($$self, $$props, $$invalidate) {
6157
6050
  let memberState;
6158
6051
  let strokeColor;
6159
6052
  let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
@@ -6180,12 +6073,10 @@ function instance52($$self, $$props, $$invalidate) {
6180
6073
  };
6181
6074
  $$self.$$.update = () => {
6182
6075
  if ($$self.$$.dirty & 32) {
6183
- $:
6184
- $$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
6076
+ $$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
6185
6077
  }
6186
6078
  if ($$self.$$.dirty & 64) {
6187
- $:
6188
- $$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
6079
+ $$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
6189
6080
  }
6190
6081
  };
6191
6082
  return [theme, disabled, strokeColor, memberState, set_stroke_color, app, $memberState];
@@ -6193,7 +6084,7 @@ function instance52($$self, $$props, $$invalidate) {
6193
6084
  var StrokeColor = class extends SvelteComponent {
6194
6085
  constructor(options) {
6195
6086
  super();
6196
- init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
6087
+ init(this, options, instance51, create_fragment51, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
6197
6088
  }
6198
6089
  };
6199
6090
  var StrokeColor_default = StrokeColor;
@@ -6209,7 +6100,6 @@ function create_each_block2(key_1, ctx) {
6209
6100
  let span;
6210
6101
  let t;
6211
6102
  let button_class_value;
6212
- let button_data_color_key_value;
6213
6103
  return {
6214
6104
  key: key_1,
6215
6105
  first: null,
@@ -6220,7 +6110,7 @@ function create_each_block2(key_1, ctx) {
6220
6110
  attr(span, "class", "fastboard-toolbar-color-item");
6221
6111
  set_style(span, "background-color", ctx[7], false);
6222
6112
  attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
6223
- attr(button, "data-color-key", button_data_color_key_value = ctx[7]);
6113
+ attr(button, "data-color-key", ctx[7]);
6224
6114
  button.disabled = ctx[1];
6225
6115
  toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
6226
6116
  this.first = button;
@@ -6248,7 +6138,7 @@ function create_each_block2(key_1, ctx) {
6248
6138
  }
6249
6139
  };
6250
6140
  }
6251
- function create_fragment53(ctx) {
6141
+ function create_fragment52(ctx) {
6252
6142
  let div;
6253
6143
  let each_blocks = [];
6254
6144
  let each_1_lookup = /* @__PURE__ */ new Map();
@@ -6305,7 +6195,7 @@ function create_fragment53(ctx) {
6305
6195
  function is_equal_color2(a, b) {
6306
6196
  return a && b && a.every((v, i) => v === b[i]);
6307
6197
  }
6308
- function instance53($$self, $$props, $$invalidate) {
6198
+ function instance52($$self, $$props, $$invalidate) {
6309
6199
  let memberState;
6310
6200
  let textColor;
6311
6201
  let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
@@ -6332,12 +6222,10 @@ function instance53($$self, $$props, $$invalidate) {
6332
6222
  };
6333
6223
  $$self.$$.update = () => {
6334
6224
  if ($$self.$$.dirty & 32) {
6335
- $:
6336
- $$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
6225
+ $$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
6337
6226
  }
6338
6227
  if ($$self.$$.dirty & 64) {
6339
- $:
6340
- $$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
6228
+ $$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
6341
6229
  }
6342
6230
  };
6343
6231
  return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
@@ -6345,7 +6233,7 @@ function instance53($$self, $$props, $$invalidate) {
6345
6233
  var TextColor = class extends SvelteComponent {
6346
6234
  constructor(options) {
6347
6235
  super();
6348
- init(this, options, instance53, create_fragment53, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
6236
+ init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
6349
6237
  }
6350
6238
  };
6351
6239
  var TextColor_default = TextColor;
@@ -6504,7 +6392,6 @@ function create_each_block3(key_1, ctx) {
6504
6392
  let if_block;
6505
6393
  let t_1;
6506
6394
  let button_class_value;
6507
- let button_data_shape_key_value;
6508
6395
  let tippy_action;
6509
6396
  let current;
6510
6397
  let mounted;
@@ -6516,7 +6403,7 @@ function create_each_block3(key_1, ctx) {
6516
6403
  return 0;
6517
6404
  return 1;
6518
6405
  }
6519
- current_block_type_index = select_block_type(ctx, -1);
6406
+ current_block_type_index = select_block_type(ctx);
6520
6407
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6521
6408
  return {
6522
6409
  key: key_1,
@@ -6526,7 +6413,7 @@ function create_each_block3(key_1, ctx) {
6526
6413
  if_block.c();
6527
6414
  t_1 = space();
6528
6415
  attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
6529
- attr(button, "data-shape-key", button_data_shape_key_value = ctx[12]);
6416
+ attr(button, "data-shape-key", ctx[12]);
6530
6417
  button.disabled = ctx[1];
6531
6418
  toggle_class(button, "is-active", ctx[13]);
6532
6419
  this.first = button;
@@ -6547,7 +6434,7 @@ function create_each_block3(key_1, ctx) {
6547
6434
  p(new_ctx, dirty) {
6548
6435
  ctx = new_ctx;
6549
6436
  let previous_block_index = current_block_type_index;
6550
- current_block_type_index = select_block_type(ctx, dirty);
6437
+ current_block_type_index = select_block_type(ctx);
6551
6438
  if (current_block_type_index === previous_block_index) {
6552
6439
  if_blocks[current_block_type_index].p(ctx, dirty);
6553
6440
  } else {
@@ -6600,7 +6487,7 @@ function create_each_block3(key_1, ctx) {
6600
6487
  }
6601
6488
  };
6602
6489
  }
6603
- function create_fragment54(ctx) {
6490
+ function create_fragment53(ctx) {
6604
6491
  let div;
6605
6492
  let each_blocks = [];
6606
6493
  let each_1_lookup = /* @__PURE__ */ new Map();
@@ -6692,7 +6579,7 @@ var i18n5 = {
6692
6579
  speechBalloon: "\u6C14\u6CE1"
6693
6580
  }
6694
6581
  };
6695
- function instance54($$self, $$props, $$invalidate) {
6582
+ function instance53($$self, $$props, $$invalidate) {
6696
6583
  let t;
6697
6584
  let memberState;
6698
6585
  let appliance;
@@ -6730,28 +6617,22 @@ function instance54($$self, $$props, $$invalidate) {
6730
6617
  };
6731
6618
  $$self.$$.update = () => {
6732
6619
  if ($$self.$$.dirty & 512) {
6733
- $:
6734
- $$invalidate(6, t = i18n5[language]);
6620
+ $$invalidate(6, t = i18n5[language]);
6735
6621
  }
6736
6622
  if ($$self.$$.dirty & 256) {
6737
- $:
6738
- $$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
6623
+ $$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
6739
6624
  }
6740
6625
  if ($$self.$$.dirty & 2048) {
6741
- $:
6742
- $$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
6626
+ $$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
6743
6627
  }
6744
6628
  if ($$self.$$.dirty & 2048) {
6745
- $:
6746
- $$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
6629
+ $$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
6747
6630
  }
6748
6631
  if ($$self.$$.dirty & 256) {
6749
- $:
6750
- $$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
6632
+ $$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
6751
6633
  }
6752
6634
  if ($$self.$$.dirty & 1024) {
6753
- $:
6754
- $$invalidate(2, c = {
6635
+ $$invalidate(2, c = {
6755
6636
  rectangle: hotkeys == null ? void 0 : hotkeys.changeToRectangle,
6756
6637
  ellipse: hotkeys == null ? void 0 : hotkeys.changeToEllipse,
6757
6638
  straight: hotkeys == null ? void 0 : hotkeys.changeToStraight,
@@ -6777,7 +6658,7 @@ function instance54($$self, $$props, $$invalidate) {
6777
6658
  var Shapes = class extends SvelteComponent {
6778
6659
  constructor(options) {
6779
6660
  super();
6780
- init(this, options, instance54, create_fragment54, safe_not_equal, {
6661
+ init(this, options, instance53, create_fragment53, safe_not_equal, {
6781
6662
  app: 8,
6782
6663
  theme: 0,
6783
6664
  language: 9,
@@ -6798,6 +6679,11 @@ function get_each_context4(ctx, list, i) {
6798
6679
  child_ctx[45] = constants_0.onClick;
6799
6680
  const constants_1 = child_ctx[20] && child_ctx[20][child_ctx[44]];
6800
6681
  child_ctx[46] = constants_1;
6682
+ const constants_2 = () => {
6683
+ child_ctx[0] && child_ctx[45](child_ctx[0]);
6684
+ tippy_hide_all();
6685
+ };
6686
+ child_ctx[47] = constants_2;
6801
6687
  return child_ctx;
6802
6688
  }
6803
6689
  function create_if_block_8(ctx) {
@@ -6823,7 +6709,7 @@ function create_if_block_8(ctx) {
6823
6709
  },
6824
6710
  p(ctx2, dirty) {
6825
6711
  const button_changes = dirty[0] & 32768 ? get_spread_update(button_spread_levels, [button_spread_levels[0], get_spread_object(ctx2[15])]) : {};
6826
- if (dirty[0] & 2 | dirty[1] & 262144) {
6712
+ if (dirty[0] & 2 | dirty[1] & 524288) {
6827
6713
  button_changes.$$scope = { dirty, ctx: ctx2 };
6828
6714
  }
6829
6715
  button.$set(button_changes);
@@ -6956,7 +6842,7 @@ function create_default_slot_8(ctx) {
6956
6842
  return 0;
6957
6843
  return 1;
6958
6844
  }
6959
- current_block_type_index = select_block_type(ctx, [-1, -1]);
6845
+ current_block_type_index = select_block_type(ctx);
6960
6846
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6961
6847
  return {
6962
6848
  c() {
@@ -6970,7 +6856,7 @@ function create_default_slot_8(ctx) {
6970
6856
  },
6971
6857
  p(ctx2, dirty) {
6972
6858
  let previous_block_index = current_block_type_index;
6973
- current_block_type_index = select_block_type(ctx2, dirty);
6859
+ current_block_type_index = select_block_type(ctx2);
6974
6860
  if (current_block_type_index === previous_block_index) {
6975
6861
  if_blocks[current_block_type_index].p(ctx2, dirty);
6976
6862
  } else {
@@ -7087,7 +6973,7 @@ function create_default_slot_7(ctx) {
7087
6973
  return 0;
7088
6974
  return 1;
7089
6975
  }
7090
- current_block_type_index = select_block_type_1(ctx, [-1, -1]);
6976
+ current_block_type_index = select_block_type_1(ctx);
7091
6977
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
7092
6978
  return {
7093
6979
  c() {
@@ -7101,7 +6987,7 @@ function create_default_slot_7(ctx) {
7101
6987
  },
7102
6988
  p(ctx2, dirty) {
7103
6989
  let previous_block_index = current_block_type_index;
7104
- current_block_type_index = select_block_type_1(ctx2, dirty);
6990
+ current_block_type_index = select_block_type_1(ctx2);
7105
6991
  if (current_block_type_index === previous_block_index) {
7106
6992
  if_blocks[current_block_type_index].p(ctx2, dirty);
7107
6993
  } else {
@@ -7218,7 +7104,7 @@ function create_default_slot_6(ctx) {
7218
7104
  return 0;
7219
7105
  return 1;
7220
7106
  }
7221
- current_block_type_index = select_block_type_2(ctx, [-1, -1]);
7107
+ current_block_type_index = select_block_type_2(ctx);
7222
7108
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
7223
7109
  return {
7224
7110
  c() {
@@ -7232,7 +7118,7 @@ function create_default_slot_6(ctx) {
7232
7118
  },
7233
7119
  p(ctx2, dirty) {
7234
7120
  let previous_block_index = current_block_type_index;
7235
- current_block_type_index = select_block_type_2(ctx2, dirty);
7121
+ current_block_type_index = select_block_type_2(ctx2);
7236
7122
  if (current_block_type_index === previous_block_index) {
7237
7123
  if_blocks[current_block_type_index].p(ctx2, dirty);
7238
7124
  } else {
@@ -7349,7 +7235,7 @@ function create_default_slot_53(ctx) {
7349
7235
  return 0;
7350
7236
  return 1;
7351
7237
  }
7352
- current_block_type_index = select_block_type_3(ctx, [-1, -1]);
7238
+ current_block_type_index = select_block_type_3(ctx);
7353
7239
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
7354
7240
  return {
7355
7241
  c() {
@@ -7363,7 +7249,7 @@ function create_default_slot_53(ctx) {
7363
7249
  },
7364
7250
  p(ctx2, dirty) {
7365
7251
  let previous_block_index = current_block_type_index;
7366
- current_block_type_index = select_block_type_3(ctx2, dirty);
7252
+ current_block_type_index = select_block_type_3(ctx2);
7367
7253
  if (current_block_type_index === previous_block_index) {
7368
7254
  if_blocks[current_block_type_index].p(ctx2, dirty);
7369
7255
  } else {
@@ -7552,7 +7438,7 @@ function create_default_slot_43(ctx) {
7552
7438
  return 0;
7553
7439
  return 1;
7554
7440
  }
7555
- current_block_type_index = select_block_type_4(ctx, [-1, -1]);
7441
+ current_block_type_index = select_block_type_4(ctx);
7556
7442
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
7557
7443
  return {
7558
7444
  c() {
@@ -7566,7 +7452,7 @@ function create_default_slot_43(ctx) {
7566
7452
  },
7567
7453
  p(ctx2, dirty) {
7568
7454
  let previous_block_index = current_block_type_index;
7569
- current_block_type_index = select_block_type_4(ctx2, dirty);
7455
+ current_block_type_index = select_block_type_4(ctx2);
7570
7456
  if (current_block_type_index === previous_block_index) {
7571
7457
  if_blocks[current_block_type_index].p(ctx2, dirty);
7572
7458
  } else {
@@ -7683,7 +7569,7 @@ function create_default_slot_34(ctx) {
7683
7569
  return 0;
7684
7570
  return 1;
7685
7571
  }
7686
- current_block_type_index = select_block_type_5(ctx, [-1, -1]);
7572
+ current_block_type_index = select_block_type_5(ctx);
7687
7573
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
7688
7574
  return {
7689
7575
  c() {
@@ -7697,7 +7583,7 @@ function create_default_slot_34(ctx) {
7697
7583
  },
7698
7584
  p(ctx2, dirty) {
7699
7585
  let previous_block_index = current_block_type_index;
7700
- current_block_type_index = select_block_type_5(ctx2, dirty);
7586
+ current_block_type_index = select_block_type_5(ctx2);
7701
7587
  if (current_block_type_index === previous_block_index) {
7702
7588
  if_blocks[current_block_type_index].p(ctx2, dirty);
7703
7589
  } else {
@@ -7801,7 +7687,7 @@ function create_if_block_12(ctx) {
7801
7687
  dirty[0] & 16384 && { menu: ctx2[14] },
7802
7688
  button_spread_levels[4]
7803
7689
  ]) : {};
7804
- if (dirty[0] & 2 | dirty[1] & 262144) {
7690
+ if (dirty[0] & 2 | dirty[1] & 524288) {
7805
7691
  button_changes.$$scope = { dirty, ctx: ctx2 };
7806
7692
  }
7807
7693
  button.$set(button_changes);
@@ -7882,7 +7768,7 @@ function create_if_block6(ctx) {
7882
7768
  button_changes.theme = ctx2[1];
7883
7769
  if (dirty[0] & 8)
7884
7770
  button_changes.disabled = ctx2[3];
7885
- if (dirty[0] & 2 | dirty[1] & 262144) {
7771
+ if (dirty[0] & 2 | dirty[1] & 524288) {
7886
7772
  button_changes.$$scope = { dirty, ctx: ctx2 };
7887
7773
  }
7888
7774
  button.$set(button_changes);
@@ -7984,8 +7870,8 @@ function create_each_block4(ctx) {
7984
7870
  append(button, t2);
7985
7871
  if (!mounted) {
7986
7872
  dispose = listen(button, "click", function() {
7987
- if (is_function(ctx[0] && ctx[45].bind(null, ctx[0])))
7988
- (ctx[0] && ctx[45].bind(null, ctx[0])).apply(this, arguments);
7873
+ if (is_function(ctx[47]))
7874
+ ctx[47].apply(this, arguments);
7989
7875
  });
7990
7876
  mounted = true;
7991
7877
  }
@@ -8036,7 +7922,7 @@ function create_each_block4(ctx) {
8036
7922
  }
8037
7923
  };
8038
7924
  }
8039
- function create_fragment55(ctx) {
7925
+ function create_fragment54(ctx) {
8040
7926
  let t0;
8041
7927
  let div0;
8042
7928
  let button0;
@@ -8053,9 +7939,7 @@ function create_fragment55(ctx) {
8053
7939
  let t6;
8054
7940
  let button6;
8055
7941
  let t7;
8056
- let div0_class_value;
8057
7942
  let scrollHeight_action;
8058
- let scrollTop_action;
8059
7943
  let t8;
8060
7944
  let t9;
8061
7945
  let div8;
@@ -8063,32 +7947,24 @@ function create_fragment55(ctx) {
8063
7947
  let strokewidth0;
8064
7948
  let t10;
8065
7949
  let div1;
8066
- let div1_class_value;
8067
7950
  let t11;
8068
7951
  let strokecolor0;
8069
- let div2_class_value;
8070
7952
  let t12;
8071
7953
  let div3;
8072
7954
  let textcolor;
8073
- let div3_class_value;
8074
7955
  let t13;
8075
7956
  let div6;
8076
7957
  let shapes2;
8077
7958
  let t14;
8078
7959
  let div4;
8079
- let div4_class_value;
8080
7960
  let t15;
8081
7961
  let strokewidth1;
8082
7962
  let t16;
8083
7963
  let div5;
8084
- let div5_class_value;
8085
7964
  let t17;
8086
7965
  let strokecolor1;
8087
- let div6_class_value;
8088
7966
  let t18;
8089
7967
  let div7;
8090
- let div7_class_value;
8091
- let div8_class_value;
8092
7968
  let current;
8093
7969
  let mounted;
8094
7970
  let dispose;
@@ -8288,17 +8164,17 @@ function create_fragment55(ctx) {
8288
8164
  for (let i = 0; i < each_blocks.length; i += 1) {
8289
8165
  each_blocks[i].c();
8290
8166
  }
8291
- attr(div0, "class", div0_class_value = name5 + "-scrollable");
8167
+ attr(div0, "class", name5 + "-scrollable");
8292
8168
  toggle_class(div0, "scrollable", ctx[5]);
8293
- attr(div1, "class", div1_class_value = name5 + "-panel-divider");
8294
- attr(div2, "class", div2_class_value = name5 + "-panel pencil");
8295
- attr(div3, "class", div3_class_value = name5 + "-panel text");
8296
- attr(div4, "class", div4_class_value = name5 + "-panel-divider");
8297
- attr(div5, "class", div5_class_value = name5 + "-panel-divider");
8298
- attr(div6, "class", div6_class_value = name5 + "-panel shapes");
8299
- attr(div7, "class", div7_class_value = name5 + "-panel apps");
8169
+ attr(div1, "class", name5 + "-panel-divider");
8170
+ attr(div2, "class", name5 + "-panel pencil");
8171
+ attr(div3, "class", name5 + "-panel text");
8172
+ attr(div4, "class", name5 + "-panel-divider");
8173
+ attr(div5, "class", name5 + "-panel-divider");
8174
+ attr(div6, "class", name5 + "-panel shapes");
8175
+ attr(div7, "class", name5 + "-panel apps");
8300
8176
  set_style(div7, "--n", ctx[19].length);
8301
- attr(div8, "class", div8_class_value = name5 + "-panel-wrapper");
8177
+ attr(div8, "class", name5 + "-panel-wrapper");
8302
8178
  set_style(div8, "display", "none");
8303
8179
  },
8304
8180
  m(target, anchor) {
@@ -8360,7 +8236,7 @@ function create_fragment55(ctx) {
8360
8236
  if (!mounted) {
8361
8237
  dispose = [
8362
8238
  action_destroyer(scrollHeight_action = scrollHeight.call(null, div0, ctx[4])),
8363
- action_destroyer(scrollTop_action = scrollTop.call(null, div0, ctx[21]))
8239
+ action_destroyer(scrollTop.call(null, div0, ctx[21]))
8364
8240
  ];
8365
8241
  mounted = true;
8366
8242
  }
@@ -8390,7 +8266,7 @@ function create_fragment55(ctx) {
8390
8266
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8391
8267
  dirty[0] & 262144 && { content: ctx2[18].clicker }
8392
8268
  ]) : {};
8393
- if (dirty[0] & 258 | dirty[1] & 262144) {
8269
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8394
8270
  button0_changes.$$scope = { dirty, ctx: ctx2 };
8395
8271
  }
8396
8272
  button0.$set(button0_changes);
@@ -8399,7 +8275,7 @@ function create_fragment55(ctx) {
8399
8275
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8400
8276
  dirty[0] & 262144 && { content: ctx2[18].selector }
8401
8277
  ]) : {};
8402
- if (dirty[0] & 258 | dirty[1] & 262144) {
8278
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8403
8279
  button1_changes.$$scope = { dirty, ctx: ctx2 };
8404
8280
  }
8405
8281
  button1.$set(button1_changes);
@@ -8409,7 +8285,7 @@ function create_fragment55(ctx) {
8409
8285
  dirty[0] & 262144 && { content: ctx2[18].pencil },
8410
8286
  dirty[0] & 2048 && { menu: ctx2[11] }
8411
8287
  ]) : {};
8412
- if (dirty[0] & 258 | dirty[1] & 262144) {
8288
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8413
8289
  button2_changes.$$scope = { dirty, ctx: ctx2 };
8414
8290
  }
8415
8291
  button2.$set(button2_changes);
@@ -8419,7 +8295,7 @@ function create_fragment55(ctx) {
8419
8295
  dirty[0] & 262144 && { content: ctx2[18].text },
8420
8296
  dirty[0] & 4096 && { menu: ctx2[12] }
8421
8297
  ]) : {};
8422
- if (dirty[0] & 258 | dirty[1] & 262144) {
8298
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8423
8299
  button3_changes.$$scope = { dirty, ctx: ctx2 };
8424
8300
  }
8425
8301
  button3.$set(button3_changes);
@@ -8429,7 +8305,7 @@ function create_fragment55(ctx) {
8429
8305
  dirty[0] & 512 && { content: ctx2[9].shapes },
8430
8306
  dirty[0] & 8192 && { menu: ctx2[13] }
8431
8307
  ]) : {};
8432
- if (dirty[0] & 1410 | dirty[1] & 262144) {
8308
+ if (dirty[0] & 1410 | dirty[1] & 524288) {
8433
8309
  button4_changes.$$scope = { dirty, ctx: ctx2 };
8434
8310
  }
8435
8311
  button4.$set(button4_changes);
@@ -8438,7 +8314,7 @@ function create_fragment55(ctx) {
8438
8314
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8439
8315
  dirty[0] & 262144 && { content: ctx2[18].eraser }
8440
8316
  ]) : {};
8441
- if (dirty[0] & 258 | dirty[1] & 262144) {
8317
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8442
8318
  button5_changes.$$scope = { dirty, ctx: ctx2 };
8443
8319
  }
8444
8320
  button5.$set(button5_changes);
@@ -8447,7 +8323,7 @@ function create_fragment55(ctx) {
8447
8323
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8448
8324
  dirty[0] & 512 && { content: ctx2[9].clear }
8449
8325
  ]) : {};
8450
- if (dirty[0] & 2 | dirty[1] & 262144) {
8326
+ if (dirty[0] & 2 | dirty[1] & 524288) {
8451
8327
  button6_changes.$$scope = { dirty, ctx: ctx2 };
8452
8328
  }
8453
8329
  button6.$set(button6_changes);
@@ -8647,7 +8523,7 @@ function create_fragment55(ctx) {
8647
8523
  };
8648
8524
  }
8649
8525
  var name5 = "fastboard-toolbar";
8650
- function instance55($$self, $$props, $$invalidate) {
8526
+ function instance54($$self, $$props, $$invalidate) {
8651
8527
  let t;
8652
8528
  let hotkeys;
8653
8529
  let c;
@@ -8757,8 +8633,7 @@ function instance55($$self, $$props, $$invalidate) {
8757
8633
  };
8758
8634
  $$self.$$.update = () => {
8759
8635
  if ($$self.$$.dirty[0] & 10) {
8760
- $:
8761
- $$invalidate(15, btn_props = {
8636
+ $$invalidate(15, btn_props = {
8762
8637
  name: name5,
8763
8638
  theme,
8764
8639
  disabled,
@@ -8766,16 +8641,13 @@ function instance55($$self, $$props, $$invalidate) {
8766
8641
  });
8767
8642
  }
8768
8643
  if ($$self.$$.dirty[0] & 4) {
8769
- $:
8770
- $$invalidate(9, t = i18n4[language]);
8644
+ $$invalidate(9, t = i18n4[language]);
8771
8645
  }
8772
8646
  if ($$self.$$.dirty[0] & 1) {
8773
- $:
8774
- $$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
8647
+ $$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
8775
8648
  }
8776
8649
  if ($$self.$$.dirty[0] & 512 | $$self.$$.dirty[1] & 2) {
8777
- $:
8778
- $$invalidate(18, c = {
8650
+ $$invalidate(18, c = {
8779
8651
  clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
8780
8652
  selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
8781
8653
  pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
@@ -8784,32 +8656,26 @@ function instance55($$self, $$props, $$invalidate) {
8784
8656
  });
8785
8657
  }
8786
8658
  if ($$self.$$.dirty[0] & 1) {
8787
- $:
8788
- $$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
8659
+ $$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
8789
8660
  }
8790
8661
  if ($$self.$$.dirty[1] & 8) {
8791
- $:
8792
- $$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
8662
+ $$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
8793
8663
  }
8794
8664
  if ($$self.$$.dirty[1] & 8) {
8795
- $:
8796
- $$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
8665
+ $$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
8797
8666
  }
8798
8667
  if ($$self.$$.dirty[0] & 1) {
8799
- $:
8800
- $$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
8668
+ $$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
8801
8669
  }
8802
8670
  if ($$self.$$.dirty[0] & 384) {
8803
- $:
8804
- if (applianceShapes.includes(appliance)) {
8671
+ if (applianceShapes.includes(appliance)) {
8805
8672
  $$invalidate(10, last_shape = appliance);
8806
8673
  } else if (shape) {
8807
8674
  $$invalidate(10, last_shape = shape);
8808
8675
  }
8809
8676
  }
8810
8677
  if ($$self.$$.dirty[0] & 32 | $$self.$$.dirty[1] & 5) {
8811
- $:
8812
- max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
8678
+ max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
8813
8679
  }
8814
8680
  };
8815
8681
  return [
@@ -8857,7 +8723,7 @@ function instance55($$self, $$props, $$invalidate) {
8857
8723
  var Contents = class extends SvelteComponent {
8858
8724
  constructor(options) {
8859
8725
  super();
8860
- init(this, options, instance55, create_fragment55, safe_not_equal, {
8726
+ init(this, options, instance54, create_fragment54, safe_not_equal, {
8861
8727
  app: 0,
8862
8728
  theme: 1,
8863
8729
  language: 2,
@@ -8874,20 +8740,18 @@ var Contents_default = Contents;
8874
8740
  // src/components/Toolbar/Toolbar.svelte
8875
8741
  function create_else_block7(ctx) {
8876
8742
  let path0;
8877
- let path0_class_value;
8878
8743
  let path1;
8879
- let path1_class_value;
8880
8744
  return {
8881
8745
  c() {
8882
8746
  path0 = svg_element("path");
8883
8747
  path1 = svg_element("path");
8884
8748
  attr(path0, "stroke", "#000");
8885
8749
  attr(path0, "d", "M20 52v16");
8886
- attr(path0, "class", path0_class_value = name6 + "-handler-image-stroke-color");
8750
+ attr(path0, "class", name6 + "-handler-image-stroke-color");
8887
8751
  attr(path1, "fill", "#000");
8888
8752
  attr(path1, "stroke", "none");
8889
8753
  attr(path1, "d", "M16 52v16l-8-8z");
8890
- attr(path1, "class", path1_class_value = name6 + "-handler-image-fill-color");
8754
+ attr(path1, "class", name6 + "-handler-image-fill-color");
8891
8755
  },
8892
8756
  m(target, anchor) {
8893
8757
  insert(target, path0, anchor);
@@ -8904,20 +8768,18 @@ function create_else_block7(ctx) {
8904
8768
  }
8905
8769
  function create_if_block7(ctx) {
8906
8770
  let path0;
8907
- let path0_class_value;
8908
8771
  let path1;
8909
- let path1_class_value;
8910
8772
  return {
8911
8773
  c() {
8912
8774
  path0 = svg_element("path");
8913
8775
  path1 = svg_element("path");
8914
8776
  attr(path0, "stroke", "#000");
8915
8777
  attr(path0, "d", "M10 52v16");
8916
- attr(path0, "class", path0_class_value = name6 + "-handler-image-stroke-color");
8778
+ attr(path0, "class", name6 + "-handler-image-stroke-color");
8917
8779
  attr(path1, "fill", "#000");
8918
8780
  attr(path1, "stroke", "none");
8919
8781
  attr(path1, "d", "M14 52v16l8-8z");
8920
- attr(path1, "class", path1_class_value = name6 + "-handler-image-fill-color");
8782
+ attr(path1, "class", name6 + "-handler-image-fill-color");
8921
8783
  },
8922
8784
  m(target, anchor) {
8923
8785
  insert(target, path0, anchor);
@@ -8932,7 +8794,7 @@ function create_if_block7(ctx) {
8932
8794
  }
8933
8795
  };
8934
8796
  }
8935
- function create_fragment56(ctx) {
8797
+ function create_fragment55(ctx) {
8936
8798
  let div1;
8937
8799
  let div0;
8938
8800
  let contents;
@@ -8943,12 +8805,9 @@ function create_fragment56(ctx) {
8943
8805
  let t1;
8944
8806
  let svg;
8945
8807
  let path0;
8946
- let path0_class_value;
8947
8808
  let path1;
8948
- let path1_class_value;
8949
8809
  let label_class_value;
8950
8810
  let div1_class_value;
8951
- let height_action;
8952
8811
  let current;
8953
8812
  let mounted;
8954
8813
  let dispose;
@@ -8969,7 +8828,7 @@ function create_fragment56(ctx) {
8969
8828
  return create_if_block7;
8970
8829
  return create_else_block7;
8971
8830
  }
8972
- let current_block_type = select_block_type(ctx, -1);
8831
+ let current_block_type = select_block_type(ctx);
8973
8832
  let if_block = current_block_type(ctx);
8974
8833
  return {
8975
8834
  c() {
@@ -8990,10 +8849,10 @@ function create_fragment56(ctx) {
8990
8849
  attr(path0, "fill", "#fff");
8991
8850
  attr(path0, "stroke", "none");
8992
8851
  attr(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
8993
- attr(path0, "class", path0_class_value = name6 + "-handler-bg-color");
8852
+ attr(path0, "class", name6 + "-handler-bg-color");
8994
8853
  attr(path1, "stroke", "#000");
8995
8854
  attr(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
8996
- attr(path1, "class", path1_class_value = name6 + "-handler-border-color");
8855
+ attr(path1, "class", name6 + "-handler-border-color");
8997
8856
  attr(svg, "fill", "none");
8998
8857
  attr(svg, "stroke-width", "2");
8999
8858
  attr(svg, "viewBox", "0 0 32 120");
@@ -9018,7 +8877,7 @@ function create_fragment56(ctx) {
9018
8877
  if (!mounted) {
9019
8878
  dispose = [
9020
8879
  listen(input, "change", ctx[15]),
9021
- action_destroyer(height_action = height.call(null, div1, ctx[9]))
8880
+ action_destroyer(height.call(null, div1, ctx[9]))
9022
8881
  ];
9023
8882
  mounted = true;
9024
8883
  }
@@ -9049,7 +8908,7 @@ function create_fragment56(ctx) {
9049
8908
  if (dirty & 8) {
9050
8909
  input.checked = ctx2[3];
9051
8910
  }
9052
- if (current_block_type === (current_block_type = select_block_type(ctx2, dirty)) && if_block) {
8911
+ if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
9053
8912
  if_block.p(ctx2, dirty);
9054
8913
  } else {
9055
8914
  if_block.d(1);
@@ -9090,7 +8949,7 @@ function create_fragment56(ctx) {
9090
8949
  };
9091
8950
  }
9092
8951
  var name6 = "fastboard-toolbar";
9093
- function instance56($$self, $$props, $$invalidate) {
8952
+ function instance55($$self, $$props, $$invalidate) {
9094
8953
  let writable2;
9095
8954
  let disabled;
9096
8955
  let computed_height;
@@ -9127,24 +8986,19 @@ function instance56($$self, $$props, $$invalidate) {
9127
8986
  $$self.$$.update = () => {
9128
8987
  var _a;
9129
8988
  if ($$self.$$.dirty & 1) {
9130
- $:
9131
- $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
8989
+ $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
9132
8990
  }
9133
8991
  if ($$self.$$.dirty & 16384) {
9134
- $:
9135
- $$invalidate(7, disabled = !$writable);
8992
+ $$invalidate(7, disabled = !$writable);
9136
8993
  }
9137
8994
  if ($$self.$$.dirty & 12288) {
9138
- $:
9139
- $$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
8995
+ $$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
9140
8996
  }
9141
8997
  if ($$self.$$.dirty & 12288) {
9142
- $:
9143
- $$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
8998
+ $$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
9144
8999
  }
9145
9000
  if ($$self.$$.dirty & 2048) {
9146
- $:
9147
- $$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
9001
+ $$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
9148
9002
  }
9149
9003
  };
9150
9004
  return [
@@ -9169,7 +9023,7 @@ function instance56($$self, $$props, $$invalidate) {
9169
9023
  var Toolbar = class extends SvelteComponent {
9170
9024
  constructor(options) {
9171
9025
  super();
9172
- init(this, options, instance56, create_fragment56, safe_not_equal, {
9026
+ init(this, options, instance55, create_fragment55, safe_not_equal, {
9173
9027
  app: 0,
9174
9028
  theme: 1,
9175
9029
  language: 2,
@@ -9433,7 +9287,7 @@ function create_default_slot_25(ctx) {
9433
9287
  return 1;
9434
9288
  return 2;
9435
9289
  }
9436
- current_block_type_index = select_block_type(ctx, -1);
9290
+ current_block_type_index = select_block_type(ctx);
9437
9291
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
9438
9292
  return {
9439
9293
  c() {
@@ -9447,7 +9301,7 @@ function create_default_slot_25(ctx) {
9447
9301
  },
9448
9302
  p(ctx2, dirty) {
9449
9303
  let previous_block_index = current_block_type_index;
9450
- current_block_type_index = select_block_type(ctx2, dirty);
9304
+ current_block_type_index = select_block_type(ctx2);
9451
9305
  if (current_block_type_index === previous_block_index) {
9452
9306
  if_blocks[current_block_type_index].p(ctx2, dirty);
9453
9307
  } else {
@@ -9491,17 +9345,13 @@ function create_else_block8(ctx) {
9491
9345
  let span0;
9492
9346
  let t1_value = format(ctx[13]) + "";
9493
9347
  let t1;
9494
- let span0_class_value;
9495
9348
  let t2;
9496
9349
  let span1;
9497
9350
  let t3;
9498
- let span1_class_value;
9499
9351
  let t4;
9500
9352
  let span2;
9501
9353
  let t5_value = format(ctx[14]) + "";
9502
9354
  let t5;
9503
- let span2_class_value;
9504
- let span3_class_value;
9505
9355
  let current;
9506
9356
  slider = new Slider_default({
9507
9357
  props: {
@@ -9526,10 +9376,10 @@ function create_else_block8(ctx) {
9526
9376
  t4 = space();
9527
9377
  span2 = element("span");
9528
9378
  t5 = text(t5_value);
9529
- attr(span0, "class", span0_class_value = name7 + "-current");
9530
- attr(span1, "class", span1_class_value = name7 + "-slash");
9531
- attr(span2, "class", span2_class_value = name7 + "-duration");
9532
- attr(span3, "class", span3_class_value = name7 + "-progress");
9379
+ attr(span0, "class", name7 + "-current");
9380
+ attr(span1, "class", name7 + "-slash");
9381
+ attr(span2, "class", name7 + "-duration");
9382
+ attr(span3, "class", name7 + "-progress");
9533
9383
  },
9534
9384
  m(target, anchor) {
9535
9385
  mount_component(slider, target, anchor);
@@ -9583,7 +9433,6 @@ function create_if_block8(ctx) {
9583
9433
  let t0;
9584
9434
  let span;
9585
9435
  let t1;
9586
- let span_class_value;
9587
9436
  let current;
9588
9437
  slider = new Slider_default({
9589
9438
  props: {
@@ -9597,7 +9446,7 @@ function create_if_block8(ctx) {
9597
9446
  t0 = space();
9598
9447
  span = element("span");
9599
9448
  t1 = text("\u2026/\u2026");
9600
- attr(span, "class", span_class_value = name7 + "-progress loading");
9449
+ attr(span, "class", name7 + "-progress loading");
9601
9450
  },
9602
9451
  m(target, anchor) {
9603
9452
  mount_component(slider, target, anchor);
@@ -9631,13 +9480,12 @@ function create_default_slot_15(ctx) {
9631
9480
  let t0_value = (ctx[15] || 1) + "";
9632
9481
  let t0;
9633
9482
  let t1;
9634
- let span_class_value;
9635
9483
  return {
9636
9484
  c() {
9637
9485
  span = element("span");
9638
9486
  t0 = text(t0_value);
9639
9487
  t1 = text("x");
9640
- attr(span, "class", span_class_value = name7 + "-speed-text");
9488
+ attr(span, "class", name7 + "-speed-text");
9641
9489
  },
9642
9490
  m(target, anchor) {
9643
9491
  insert(target, span, anchor);
@@ -9738,7 +9586,7 @@ function create_each_block5(key_1, ctx) {
9738
9586
  }
9739
9587
  };
9740
9588
  }
9741
- function create_fragment57(ctx) {
9589
+ function create_fragment56(ctx) {
9742
9590
  let div0;
9743
9591
  let button0;
9744
9592
  let t0;
@@ -9752,7 +9600,6 @@ function create_fragment57(ctx) {
9752
9600
  let div1;
9753
9601
  let each_blocks = [];
9754
9602
  let each_1_lookup = /* @__PURE__ */ new Map();
9755
- let div1_class_value;
9756
9603
  let current;
9757
9604
  button0 = new Button_default({
9758
9605
  props: {
@@ -9773,7 +9620,7 @@ function create_fragment57(ctx) {
9773
9620
  return 0;
9774
9621
  return 1;
9775
9622
  }
9776
- current_block_type_index = select_block_type_1(ctx, -1);
9623
+ current_block_type_index = select_block_type_1(ctx);
9777
9624
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
9778
9625
  button1 = new Button_default({
9779
9626
  props: {
@@ -9810,7 +9657,7 @@ function create_fragment57(ctx) {
9810
9657
  each_blocks[i].c();
9811
9658
  }
9812
9659
  attr(div0, "class", div0_class_value = name7 + " " + ctx[0]);
9813
- attr(div1, "class", div1_class_value = name7 + "-panel speed");
9660
+ attr(div1, "class", name7 + "-panel speed");
9814
9661
  set_style(div2, "display", "none");
9815
9662
  },
9816
9663
  m(target, anchor) {
@@ -9844,7 +9691,7 @@ function create_fragment57(ctx) {
9844
9691
  }
9845
9692
  button0.$set(button0_changes);
9846
9693
  let previous_block_index = current_block_type_index;
9847
- current_block_type_index = select_block_type_1(ctx2, dirty);
9694
+ current_block_type_index = select_block_type_1(ctx2);
9848
9695
  if (current_block_type_index === previous_block_index) {
9849
9696
  if_blocks[current_block_type_index].p(ctx2, dirty);
9850
9697
  } else {
@@ -9942,7 +9789,7 @@ function format(ms) {
9942
9789
  return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
9943
9790
  }
9944
9791
  var name7 = "fastboard-player-control";
9945
- function instance57($$self, $$props, $$invalidate) {
9792
+ function instance56($$self, $$props, $$invalidate) {
9946
9793
  let t;
9947
9794
  let canPlay;
9948
9795
  let disabled;
@@ -10012,48 +9859,37 @@ function instance57($$self, $$props, $$invalidate) {
10012
9859
  };
10013
9860
  $$self.$$.update = () => {
10014
9861
  if ($$self.$$.dirty & 1048576) {
10015
- $:
10016
- $$invalidate(12, t = i18n6[language]);
9862
+ $$invalidate(12, t = i18n6[language]);
10017
9863
  }
10018
9864
  if ($$self.$$.dirty & 524288) {
10019
- $:
10020
- $$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
9865
+ $$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
10021
9866
  }
10022
9867
  if ($$self.$$.dirty & 2097152) {
10023
- $:
10024
- $$invalidate(4, disabled = !canPlay);
9868
+ $$invalidate(4, disabled = !canPlay);
10025
9869
  }
10026
9870
  if ($$self.$$.dirty & 16) {
10027
- $:
10028
- $$invalidate(5, type = disabled ? "disable" : "normal");
9871
+ $$invalidate(5, type = disabled ? "disable" : "normal");
10029
9872
  }
10030
9873
  if ($$self.$$.dirty & 524288) {
10031
- $:
10032
- $$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
9874
+ $$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
10033
9875
  }
10034
9876
  if ($$self.$$.dirty & 524288) {
10035
- $:
10036
- $$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
9877
+ $$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
10037
9878
  }
10038
9879
  if ($$self.$$.dirty & 524288) {
10039
- $:
10040
- $$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
9880
+ $$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
10041
9881
  }
10042
9882
  if ($$self.$$.dirty & 524288) {
10043
- $:
10044
- $$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
9883
+ $$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
10045
9884
  }
10046
9885
  if ($$self.$$.dirty & 4194304) {
10047
- $:
10048
- $$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
9886
+ $$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
10049
9887
  }
10050
9888
  if ($$self.$$.dirty & 4194304) {
10051
- $:
10052
- $$invalidate(2, playing = $phase === "playing");
9889
+ $$invalidate(2, playing = $phase === "playing");
10053
9890
  }
10054
9891
  if ($$self.$$.dirty & 12) {
10055
- $:
10056
- $$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
9892
+ $$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
10057
9893
  }
10058
9894
  };
10059
9895
  return [
@@ -10087,7 +9923,7 @@ function instance57($$self, $$props, $$invalidate) {
10087
9923
  var PlayerControl = class extends SvelteComponent {
10088
9924
  constructor(options) {
10089
9925
  super();
10090
- init(this, options, instance57, create_fragment57, safe_not_equal, {
9926
+ init(this, options, instance56, create_fragment56, safe_not_equal, {
10091
9927
  player: 19,
10092
9928
  theme: 0,
10093
9929
  language: 20,
@@ -10098,15 +9934,12 @@ var PlayerControl = class extends SvelteComponent {
10098
9934
  var PlayerControl_default = PlayerControl;
10099
9935
 
10100
9936
  // src/components/Fastboard/ReplayFastboard.svelte
10101
- function create_fragment58(ctx) {
9937
+ function create_fragment57(ctx) {
10102
9938
  let div2;
10103
9939
  let div0;
10104
- let div0_class_value;
10105
9940
  let t;
10106
9941
  let div1;
10107
9942
  let playercontrol;
10108
- let div1_class_value;
10109
- let div2_class_value;
10110
9943
  let current;
10111
9944
  let mounted;
10112
9945
  let dispose;
@@ -10124,9 +9957,9 @@ function create_fragment58(ctx) {
10124
9957
  t = space();
10125
9958
  div1 = element("div");
10126
9959
  create_component(playercontrol.$$.fragment);
10127
- attr(div0, "class", div0_class_value = name8 + "-view");
10128
- attr(div1, "class", div1_class_value = name8 + "-bottom");
10129
- attr(div2, "class", div2_class_value = name8 + "-root");
9960
+ attr(div0, "class", name8 + "-view");
9961
+ attr(div1, "class", name8 + "-bottom");
9962
+ attr(div2, "class", name8 + "-root");
10130
9963
  toggle_class(div2, "loading", !ctx[0]);
10131
9964
  },
10132
9965
  m(target, anchor) {
@@ -10138,7 +9971,7 @@ function create_fragment58(ctx) {
10138
9971
  mount_component(playercontrol, div1, null);
10139
9972
  current = true;
10140
9973
  if (!mounted) {
10141
- dispose = listen(div0, "touchstart", tippy_hide_all, true);
9974
+ dispose = listen(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
10142
9975
  mounted = true;
10143
9976
  }
10144
9977
  },
@@ -10176,7 +10009,7 @@ function create_fragment58(ctx) {
10176
10009
  };
10177
10010
  }
10178
10011
  var name8 = "fastboard";
10179
- function instance58($$self, $$props, $$invalidate) {
10012
+ function instance57($$self, $$props, $$invalidate) {
10180
10013
  let { player = null } = $$props;
10181
10014
  let { theme = "light" } = $$props;
10182
10015
  let { language = "en" } = $$props;
@@ -10209,8 +10042,7 @@ function instance58($$self, $$props, $$invalidate) {
10209
10042
  };
10210
10043
  $$self.$$.update = () => {
10211
10044
  if ($$self.$$.dirty & 9) {
10212
- $:
10213
- try {
10045
+ try {
10214
10046
  if (player && container)
10215
10047
  player.bindContainer(container);
10216
10048
  } catch (err) {
@@ -10219,8 +10051,7 @@ function instance58($$self, $$props, $$invalidate) {
10219
10051
  }
10220
10052
  }
10221
10053
  if ($$self.$$.dirty & 3) {
10222
- $:
10223
- if (player && theme) {
10054
+ if (player && theme) {
10224
10055
  player.manager.setPrefersColorScheme(theme);
10225
10056
  }
10226
10057
  }
@@ -10230,7 +10061,7 @@ function instance58($$self, $$props, $$invalidate) {
10230
10061
  var ReplayFastboard = class extends SvelteComponent {
10231
10062
  constructor(options) {
10232
10063
  super();
10233
- init(this, options, instance58, create_fragment58, safe_not_equal, {
10064
+ init(this, options, instance57, create_fragment57, not_equal, {
10234
10065
  player: 0,
10235
10066
  theme: 1,
10236
10067
  language: 2,
@@ -10416,22 +10247,17 @@ function create_if_block9(ctx) {
10416
10247
  }
10417
10248
  };
10418
10249
  }
10419
- function create_fragment59(ctx) {
10250
+ function create_fragment58(ctx) {
10420
10251
  var _a, _b, _c, _d;
10421
10252
  let div4;
10422
10253
  let div0;
10423
- let div0_class_value;
10424
10254
  let t0;
10425
10255
  let div1;
10426
- let div1_class_value;
10427
10256
  let t1;
10428
10257
  let div2;
10429
10258
  let t2;
10430
- let div2_class_value;
10431
10259
  let t3;
10432
10260
  let div3;
10433
- let div3_class_value;
10434
- let div4_class_value;
10435
10261
  let current;
10436
10262
  let mounted;
10437
10263
  let dispose;
@@ -10458,14 +10284,14 @@ function create_fragment59(ctx) {
10458
10284
  div3 = element("div");
10459
10285
  if (if_block3)
10460
10286
  if_block3.c();
10461
- attr(div0, "class", div0_class_value = name9 + "-view");
10462
- attr(div1, "class", div1_class_value = name9 + "-left");
10287
+ attr(div0, "class", name9 + "-view");
10288
+ attr(div1, "class", name9 + "-left");
10463
10289
  toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
10464
- attr(div2, "class", div2_class_value = name9 + "-bottom-left");
10290
+ attr(div2, "class", name9 + "-bottom-left");
10465
10291
  toggle_class(div2, "hidden", ctx[5] !== "visible");
10466
- attr(div3, "class", div3_class_value = name9 + "-bottom-right");
10292
+ attr(div3, "class", name9 + "-bottom-right");
10467
10293
  toggle_class(div3, "hidden", ctx[5] !== "visible");
10468
- attr(div4, "class", div4_class_value = name9 + "-root");
10294
+ attr(div4, "class", name9 + "-root");
10469
10295
  toggle_class(div4, "loading", !ctx[0]);
10470
10296
  },
10471
10297
  m(target, anchor) {
@@ -10489,7 +10315,7 @@ function create_fragment59(ctx) {
10489
10315
  if_block3.m(div3, null);
10490
10316
  current = true;
10491
10317
  if (!mounted) {
10492
- dispose = listen(div0, "touchstart", tippy_hide_all, true);
10318
+ dispose = listen(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
10493
10319
  mounted = true;
10494
10320
  }
10495
10321
  },
@@ -10618,7 +10444,7 @@ function create_fragment59(ctx) {
10618
10444
  };
10619
10445
  }
10620
10446
  var name9 = "fastboard";
10621
- function instance59($$self, $$props, $$invalidate) {
10447
+ function instance58($$self, $$props, $$invalidate) {
10622
10448
  let writable2;
10623
10449
  let boxState;
10624
10450
  let focusedApp;
@@ -10665,20 +10491,16 @@ function instance59($$self, $$props, $$invalidate) {
10665
10491
  };
10666
10492
  $$self.$$.update = () => {
10667
10493
  if ($$self.$$.dirty & 1) {
10668
- $:
10669
- $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
10494
+ $$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
10670
10495
  }
10671
10496
  if ($$self.$$.dirty & 1) {
10672
- $:
10673
- $$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
10497
+ $$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
10674
10498
  }
10675
10499
  if ($$self.$$.dirty & 1) {
10676
- $:
10677
- $$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
10500
+ $$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
10678
10501
  }
10679
10502
  if ($$self.$$.dirty & 7168) {
10680
- $:
10681
- if (!$writable) {
10503
+ if (!$writable) {
10682
10504
  $$invalidate(5, layout = "hidden");
10683
10505
  } else if ($boxState === "maximized") {
10684
10506
  if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
@@ -10691,8 +10513,7 @@ function instance59($$self, $$props, $$invalidate) {
10691
10513
  }
10692
10514
  }
10693
10515
  if ($$self.$$.dirty & 17) {
10694
- $:
10695
- try {
10516
+ try {
10696
10517
  if (app && container)
10697
10518
  app.bindContainer(container);
10698
10519
  } catch (err) {
@@ -10701,8 +10522,7 @@ function instance59($$self, $$props, $$invalidate) {
10701
10522
  }
10702
10523
  }
10703
10524
  if ($$self.$$.dirty & 3) {
10704
- $:
10705
- if (app && theme) {
10525
+ if (app && theme) {
10706
10526
  app.manager.setPrefersColorScheme(theme);
10707
10527
  }
10708
10528
  }
@@ -10727,7 +10547,7 @@ function instance59($$self, $$props, $$invalidate) {
10727
10547
  var Fastboard = class extends SvelteComponent {
10728
10548
  constructor(options) {
10729
10549
  super();
10730
- init(this, options, instance59, create_fragment59, safe_not_equal, {
10550
+ init(this, options, instance58, create_fragment58, not_equal, {
10731
10551
  app: 0,
10732
10552
  theme: 1,
10733
10553
  language: 2,