@netless/fastboard-ui 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -510,7 +510,7 @@ function make_dirty(component, i) {
510
510
  }
511
511
  component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
512
512
  }
513
- function init(component, options, instance79, create_fragment79, not_equal2, props, append_styles, dirty = [-1]) {
513
+ function init(component, options, instance81, create_fragment81, not_equal2, props, append_styles, dirty = [-1]) {
514
514
  const parent_component = current_component;
515
515
  set_current_component(component);
516
516
  const $$ = component.$$ = {
@@ -536,7 +536,7 @@ function init(component, options, instance79, create_fragment79, not_equal2, pro
536
536
  };
537
537
  append_styles && append_styles($$.root);
538
538
  let ready = false;
539
- $$.ctx = instance79 ? instance79(component, options.props || {}, (i, ret, ...rest) => {
539
+ $$.ctx = instance81 ? instance81(component, options.props || {}, (i, ret, ...rest) => {
540
540
  const value = rest.length ? rest[0] : ret;
541
541
  if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
542
542
  if (!$$.skip_bound && $$.bound[i])
@@ -549,7 +549,7 @@ function init(component, options, instance79, create_fragment79, not_equal2, pro
549
549
  $$.update();
550
550
  ready = true;
551
551
  run_all($$.before_update);
552
- $$.fragment = create_fragment79 ? create_fragment79($$.ctx) : false;
552
+ $$.fragment = create_fragment81 ? create_fragment81($$.ctx) : false;
553
553
  if (options.target) {
554
554
  if (options.hydrate) {
555
555
  const nodes = children(options.target);
@@ -2633,8 +2633,160 @@ var PencilFilled = class extends SvelteComponent {
2633
2633
  };
2634
2634
  var PencilFilled_default = PencilFilled;
2635
2635
 
2636
- // src/components/Icons/Plus.svelte
2636
+ // src/components/Icons/BrushPen.svelte
2637
2637
  function create_fragment26(ctx) {
2638
+ let svg;
2639
+ let g;
2640
+ let path;
2641
+ let svg_class_value;
2642
+ return {
2643
+ c() {
2644
+ svg = svg_element("svg");
2645
+ g = svg_element("g");
2646
+ path = svg_element("path");
2647
+ attr(path, "class", "fastboard-icon-fill-color");
2648
+ attr(path, "d", "M7 16c.55 0 1 .45 1 1c0 1.1-.9 2-2 2c-.17 0-.33 0-.5-.05c.31-.55.5-1.21.5-1.95c0-.55.45-1 1-1M18.67 3c-.26 0-.51.1-.71.29L9 12.25L11.75 15l8.96-8.96c.39-.39.39-1.04 0-1.41l-1.34-1.34c-.2-.2-.45-.29-.7-.29M7 14c-1.66 0-3 1.34-3 3c0 1.31-1.16 2-2 2c.92 1.22 2.5 2 4 2c2.21 0 4-1.79 4-4c0-1.66-1.34-3-3-3");
2649
+ attr(g, "stroke-width", "1");
2650
+ attr(g, "stroke-linecap", "round");
2651
+ attr(g, "stroke-linejoin", "round");
2652
+ attr(g, "transform", "scale(1 0.85)");
2653
+ attr(svg, "fill", "none");
2654
+ attr(svg, "viewBox", "0 0 24 24");
2655
+ attr(svg, "class", svg_class_value = "fastboard-icon " + /*theme*/
2656
+ ctx[0]);
2657
+ toggle_class(
2658
+ svg,
2659
+ "is-active",
2660
+ /*active*/
2661
+ ctx[1]
2662
+ );
2663
+ },
2664
+ m(target, anchor) {
2665
+ insert(target, svg, anchor);
2666
+ append(svg, g);
2667
+ append(g, path);
2668
+ },
2669
+ p(ctx2, [dirty]) {
2670
+ if (dirty & /*theme*/
2671
+ 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + /*theme*/
2672
+ ctx2[0])) {
2673
+ attr(svg, "class", svg_class_value);
2674
+ }
2675
+ if (dirty & /*theme, active*/
2676
+ 3) {
2677
+ toggle_class(
2678
+ svg,
2679
+ "is-active",
2680
+ /*active*/
2681
+ ctx2[1]
2682
+ );
2683
+ }
2684
+ },
2685
+ i: noop,
2686
+ o: noop,
2687
+ d(detaching) {
2688
+ if (detaching)
2689
+ detach(svg);
2690
+ }
2691
+ };
2692
+ }
2693
+ function instance26($$self, $$props, $$invalidate) {
2694
+ let { theme = "light" } = $$props;
2695
+ let { active = false } = $$props;
2696
+ $$self.$$set = ($$props2) => {
2697
+ if ("theme" in $$props2)
2698
+ $$invalidate(0, theme = $$props2.theme);
2699
+ if ("active" in $$props2)
2700
+ $$invalidate(1, active = $$props2.active);
2701
+ };
2702
+ return [theme, active];
2703
+ }
2704
+ var BrushPen = class extends SvelteComponent {
2705
+ constructor(options) {
2706
+ super();
2707
+ init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
2708
+ }
2709
+ };
2710
+ var BrushPen_default = BrushPen;
2711
+
2712
+ // src/components/Icons/BrushPenFilled.svelte
2713
+ function create_fragment27(ctx) {
2714
+ let svg;
2715
+ let g;
2716
+ let path;
2717
+ let svg_class_value;
2718
+ return {
2719
+ c() {
2720
+ svg = svg_element("svg");
2721
+ g = svg_element("g");
2722
+ path = svg_element("path");
2723
+ attr(path, "class", "fastboard-icon-fill-color");
2724
+ attr(path, "d", "m20.71 4.63l-1.34-1.34c-.37-.39-1.02-.39-1.41 0L9 12.25L11.75 15l8.96-8.96c.39-.39.39-1.04 0-1.41M7 14a3 3 0 0 0-3 3c0 1.31-1.16 2-2 2c.92 1.22 2.5 2 4 2a4 4 0 0 0 4-4a3 3 0 0 0-3-3");
2725
+ attr(g, "stroke-width", "1");
2726
+ attr(g, "stroke-linecap", "round");
2727
+ attr(g, "stroke-linejoin", "round");
2728
+ attr(g, "transform", "scale(1 0.85)");
2729
+ attr(svg, "fill", "none");
2730
+ attr(svg, "viewBox", "0 0 24 24");
2731
+ attr(svg, "class", svg_class_value = "fastboard-icon " + /*theme*/
2732
+ ctx[0]);
2733
+ toggle_class(
2734
+ svg,
2735
+ "is-active",
2736
+ /*active*/
2737
+ ctx[1]
2738
+ );
2739
+ },
2740
+ m(target, anchor) {
2741
+ insert(target, svg, anchor);
2742
+ append(svg, g);
2743
+ append(g, path);
2744
+ },
2745
+ p(ctx2, [dirty]) {
2746
+ if (dirty & /*theme*/
2747
+ 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + /*theme*/
2748
+ ctx2[0])) {
2749
+ attr(svg, "class", svg_class_value);
2750
+ }
2751
+ if (dirty & /*theme, active*/
2752
+ 3) {
2753
+ toggle_class(
2754
+ svg,
2755
+ "is-active",
2756
+ /*active*/
2757
+ ctx2[1]
2758
+ );
2759
+ }
2760
+ },
2761
+ i: noop,
2762
+ o: noop,
2763
+ d(detaching) {
2764
+ if (detaching)
2765
+ detach(svg);
2766
+ }
2767
+ };
2768
+ }
2769
+ function instance27($$self, $$props, $$invalidate) {
2770
+ let { theme = "light" } = $$props;
2771
+ let { active = false } = $$props;
2772
+ $$self.$$set = ($$props2) => {
2773
+ if ("theme" in $$props2)
2774
+ $$invalidate(0, theme = $$props2.theme);
2775
+ if ("active" in $$props2)
2776
+ $$invalidate(1, active = $$props2.active);
2777
+ };
2778
+ return [theme, active];
2779
+ }
2780
+ var BrushPenFilled = class extends SvelteComponent {
2781
+ constructor(options) {
2782
+ super();
2783
+ init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
2784
+ }
2785
+ };
2786
+ var BrushPenFilled_default = BrushPenFilled;
2787
+
2788
+ // src/components/Icons/Plus.svelte
2789
+ function create_fragment28(ctx) {
2638
2790
  let svg;
2639
2791
  let path;
2640
2792
  let svg_class_value;
@@ -2686,7 +2838,7 @@ function create_fragment26(ctx) {
2686
2838
  }
2687
2839
  };
2688
2840
  }
2689
- function instance26($$self, $$props, $$invalidate) {
2841
+ function instance28($$self, $$props, $$invalidate) {
2690
2842
  let { theme = "light" } = $$props;
2691
2843
  let { active = false } = $$props;
2692
2844
  $$self.$$set = ($$props2) => {
@@ -2700,13 +2852,13 @@ function instance26($$self, $$props, $$invalidate) {
2700
2852
  var Plus = class extends SvelteComponent {
2701
2853
  constructor(options) {
2702
2854
  super();
2703
- init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
2855
+ init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
2704
2856
  }
2705
2857
  };
2706
2858
  var Plus_default = Plus;
2707
2859
 
2708
2860
  // src/components/Icons/Rectangle.svelte
2709
- function create_fragment27(ctx) {
2861
+ function create_fragment29(ctx) {
2710
2862
  let svg;
2711
2863
  let path;
2712
2864
  let svg_class_value;
@@ -2758,7 +2910,7 @@ function create_fragment27(ctx) {
2758
2910
  }
2759
2911
  };
2760
2912
  }
2761
- function instance27($$self, $$props, $$invalidate) {
2913
+ function instance29($$self, $$props, $$invalidate) {
2762
2914
  let { theme = "light" } = $$props;
2763
2915
  let { active = false } = $$props;
2764
2916
  $$self.$$set = ($$props2) => {
@@ -2772,13 +2924,13 @@ function instance27($$self, $$props, $$invalidate) {
2772
2924
  var Rectangle = class extends SvelteComponent {
2773
2925
  constructor(options) {
2774
2926
  super();
2775
- init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
2927
+ init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
2776
2928
  }
2777
2929
  };
2778
2930
  var Rectangle_default = Rectangle;
2779
2931
 
2780
2932
  // src/components/Icons/RectangleBolded.svelte
2781
- function create_fragment28(ctx) {
2933
+ function create_fragment30(ctx) {
2782
2934
  let svg;
2783
2935
  let path;
2784
2936
  let svg_class_value;
@@ -2830,7 +2982,7 @@ function create_fragment28(ctx) {
2830
2982
  }
2831
2983
  };
2832
2984
  }
2833
- function instance28($$self, $$props, $$invalidate) {
2985
+ function instance30($$self, $$props, $$invalidate) {
2834
2986
  let { theme = "light" } = $$props;
2835
2987
  let { active = false } = $$props;
2836
2988
  $$self.$$set = ($$props2) => {
@@ -2844,13 +2996,13 @@ function instance28($$self, $$props, $$invalidate) {
2844
2996
  var RectangleBolded = class extends SvelteComponent {
2845
2997
  constructor(options) {
2846
2998
  super();
2847
- init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
2999
+ init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
2848
3000
  }
2849
3001
  };
2850
3002
  var RectangleBolded_default = RectangleBolded;
2851
3003
 
2852
3004
  // src/components/Icons/Redo.svelte
2853
- function create_fragment29(ctx) {
3005
+ function create_fragment31(ctx) {
2854
3006
  let svg;
2855
3007
  let path0;
2856
3008
  let path1;
@@ -2906,7 +3058,7 @@ function create_fragment29(ctx) {
2906
3058
  }
2907
3059
  };
2908
3060
  }
2909
- function instance29($$self, $$props, $$invalidate) {
3061
+ function instance31($$self, $$props, $$invalidate) {
2910
3062
  let { theme = "light" } = $$props;
2911
3063
  let { active = false } = $$props;
2912
3064
  $$self.$$set = ($$props2) => {
@@ -2920,13 +3072,13 @@ function instance29($$self, $$props, $$invalidate) {
2920
3072
  var Redo = class extends SvelteComponent {
2921
3073
  constructor(options) {
2922
3074
  super();
2923
- init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
3075
+ init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
2924
3076
  }
2925
3077
  };
2926
3078
  var Redo_default = Redo;
2927
3079
 
2928
3080
  // src/components/Icons/Reset.svelte
2929
- function create_fragment30(ctx) {
3081
+ function create_fragment32(ctx) {
2930
3082
  let svg;
2931
3083
  let circle0;
2932
3084
  let path;
@@ -2996,7 +3148,7 @@ function create_fragment30(ctx) {
2996
3148
  }
2997
3149
  };
2998
3150
  }
2999
- function instance30($$self, $$props, $$invalidate) {
3151
+ function instance32($$self, $$props, $$invalidate) {
3000
3152
  let { theme = "light" } = $$props;
3001
3153
  let { active = false } = $$props;
3002
3154
  $$self.$$set = ($$props2) => {
@@ -3010,13 +3162,13 @@ function instance30($$self, $$props, $$invalidate) {
3010
3162
  var Reset = class extends SvelteComponent {
3011
3163
  constructor(options) {
3012
3164
  super();
3013
- init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
3165
+ init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
3014
3166
  }
3015
3167
  };
3016
3168
  var Reset_default = Reset;
3017
3169
 
3018
3170
  // src/components/Icons/Rhombus.svelte
3019
- function create_fragment31(ctx) {
3171
+ function create_fragment33(ctx) {
3020
3172
  let svg;
3021
3173
  let path;
3022
3174
  let svg_class_value;
@@ -3068,7 +3220,7 @@ function create_fragment31(ctx) {
3068
3220
  }
3069
3221
  };
3070
3222
  }
3071
- function instance31($$self, $$props, $$invalidate) {
3223
+ function instance33($$self, $$props, $$invalidate) {
3072
3224
  let { theme = "light" } = $$props;
3073
3225
  let { active = false } = $$props;
3074
3226
  $$self.$$set = ($$props2) => {
@@ -3082,13 +3234,13 @@ function instance31($$self, $$props, $$invalidate) {
3082
3234
  var Rhombus = class extends SvelteComponent {
3083
3235
  constructor(options) {
3084
3236
  super();
3085
- init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
3237
+ init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
3086
3238
  }
3087
3239
  };
3088
3240
  var Rhombus_default = Rhombus;
3089
3241
 
3090
3242
  // src/components/Icons/RhombusBolded.svelte
3091
- function create_fragment32(ctx) {
3243
+ function create_fragment34(ctx) {
3092
3244
  let svg;
3093
3245
  let path;
3094
3246
  let svg_class_value;
@@ -3140,7 +3292,7 @@ function create_fragment32(ctx) {
3140
3292
  }
3141
3293
  };
3142
3294
  }
3143
- function instance32($$self, $$props, $$invalidate) {
3295
+ function instance34($$self, $$props, $$invalidate) {
3144
3296
  let { theme = "light" } = $$props;
3145
3297
  let { active = false } = $$props;
3146
3298
  $$self.$$set = ($$props2) => {
@@ -3154,13 +3306,13 @@ function instance32($$self, $$props, $$invalidate) {
3154
3306
  var RhombusBolded = class extends SvelteComponent {
3155
3307
  constructor(options) {
3156
3308
  super();
3157
- init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
3309
+ init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
3158
3310
  }
3159
3311
  };
3160
3312
  var RhombusBolded_default = RhombusBolded;
3161
3313
 
3162
3314
  // src/components/Icons/Right.svelte
3163
- function create_fragment33(ctx) {
3315
+ function create_fragment35(ctx) {
3164
3316
  let svg;
3165
3317
  let path;
3166
3318
  let svg_class_value;
@@ -3212,7 +3364,7 @@ function create_fragment33(ctx) {
3212
3364
  }
3213
3365
  };
3214
3366
  }
3215
- function instance33($$self, $$props, $$invalidate) {
3367
+ function instance35($$self, $$props, $$invalidate) {
3216
3368
  let { theme = "light" } = $$props;
3217
3369
  let { active = false } = $$props;
3218
3370
  $$self.$$set = ($$props2) => {
@@ -3226,13 +3378,13 @@ function instance33($$self, $$props, $$invalidate) {
3226
3378
  var Right = class extends SvelteComponent {
3227
3379
  constructor(options) {
3228
3380
  super();
3229
- init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
3381
+ init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
3230
3382
  }
3231
3383
  };
3232
3384
  var Right_default = Right;
3233
3385
 
3234
3386
  // src/components/Icons/Selector.svelte
3235
- function create_fragment34(ctx) {
3387
+ function create_fragment36(ctx) {
3236
3388
  let svg;
3237
3389
  let path0;
3238
3390
  let path1;
@@ -3293,7 +3445,7 @@ function create_fragment34(ctx) {
3293
3445
  }
3294
3446
  };
3295
3447
  }
3296
- function instance34($$self, $$props, $$invalidate) {
3448
+ function instance36($$self, $$props, $$invalidate) {
3297
3449
  let { theme = "light" } = $$props;
3298
3450
  let { active = false } = $$props;
3299
3451
  $$self.$$set = ($$props2) => {
@@ -3307,13 +3459,13 @@ function instance34($$self, $$props, $$invalidate) {
3307
3459
  var Selector = class extends SvelteComponent {
3308
3460
  constructor(options) {
3309
3461
  super();
3310
- init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
3462
+ init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
3311
3463
  }
3312
3464
  };
3313
3465
  var Selector_default = Selector;
3314
3466
 
3315
3467
  // src/components/Icons/SelectorFilled.svelte
3316
- function create_fragment35(ctx) {
3468
+ function create_fragment37(ctx) {
3317
3469
  let svg;
3318
3470
  let path0;
3319
3471
  let path1;
@@ -3372,7 +3524,7 @@ function create_fragment35(ctx) {
3372
3524
  }
3373
3525
  };
3374
3526
  }
3375
- function instance35($$self, $$props, $$invalidate) {
3527
+ function instance37($$self, $$props, $$invalidate) {
3376
3528
  let { theme = "light" } = $$props;
3377
3529
  let { active = false } = $$props;
3378
3530
  $$self.$$set = ($$props2) => {
@@ -3386,13 +3538,13 @@ function instance35($$self, $$props, $$invalidate) {
3386
3538
  var SelectorFilled = class extends SvelteComponent {
3387
3539
  constructor(options) {
3388
3540
  super();
3389
- init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
3541
+ init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
3390
3542
  }
3391
3543
  };
3392
3544
  var SelectorFilled_default = SelectorFilled;
3393
3545
 
3394
3546
  // src/components/Icons/SpeechBalloon.svelte
3395
- function create_fragment36(ctx) {
3547
+ function create_fragment38(ctx) {
3396
3548
  let svg;
3397
3549
  let path;
3398
3550
  let svg_class_value;
@@ -3444,7 +3596,7 @@ function create_fragment36(ctx) {
3444
3596
  }
3445
3597
  };
3446
3598
  }
3447
- function instance36($$self, $$props, $$invalidate) {
3599
+ function instance38($$self, $$props, $$invalidate) {
3448
3600
  let { theme = "light" } = $$props;
3449
3601
  let { active = false } = $$props;
3450
3602
  $$self.$$set = ($$props2) => {
@@ -3458,13 +3610,13 @@ function instance36($$self, $$props, $$invalidate) {
3458
3610
  var SpeechBalloon = class extends SvelteComponent {
3459
3611
  constructor(options) {
3460
3612
  super();
3461
- init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
3613
+ init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
3462
3614
  }
3463
3615
  };
3464
3616
  var SpeechBalloon_default = SpeechBalloon;
3465
3617
 
3466
3618
  // src/components/Icons/Star.svelte
3467
- function create_fragment37(ctx) {
3619
+ function create_fragment39(ctx) {
3468
3620
  let svg;
3469
3621
  let path;
3470
3622
  let svg_class_value;
@@ -3516,7 +3668,7 @@ function create_fragment37(ctx) {
3516
3668
  }
3517
3669
  };
3518
3670
  }
3519
- function instance37($$self, $$props, $$invalidate) {
3671
+ function instance39($$self, $$props, $$invalidate) {
3520
3672
  let { theme = "light" } = $$props;
3521
3673
  let { active = false } = $$props;
3522
3674
  $$self.$$set = ($$props2) => {
@@ -3530,13 +3682,13 @@ function instance37($$self, $$props, $$invalidate) {
3530
3682
  var Star = class extends SvelteComponent {
3531
3683
  constructor(options) {
3532
3684
  super();
3533
- init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
3685
+ init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
3534
3686
  }
3535
3687
  };
3536
3688
  var Star_default = Star;
3537
3689
 
3538
3690
  // src/components/Icons/StarBolded.svelte
3539
- function create_fragment38(ctx) {
3691
+ function create_fragment40(ctx) {
3540
3692
  let svg;
3541
3693
  let path;
3542
3694
  let svg_class_value;
@@ -3588,7 +3740,7 @@ function create_fragment38(ctx) {
3588
3740
  }
3589
3741
  };
3590
3742
  }
3591
- function instance38($$self, $$props, $$invalidate) {
3743
+ function instance40($$self, $$props, $$invalidate) {
3592
3744
  let { theme = "light" } = $$props;
3593
3745
  let { active = false } = $$props;
3594
3746
  $$self.$$set = ($$props2) => {
@@ -3602,13 +3754,13 @@ function instance38($$self, $$props, $$invalidate) {
3602
3754
  var StarBolded = class extends SvelteComponent {
3603
3755
  constructor(options) {
3604
3756
  super();
3605
- init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
3757
+ init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
3606
3758
  }
3607
3759
  };
3608
3760
  var StarBolded_default = StarBolded;
3609
3761
 
3610
3762
  // src/components/Icons/Text.svelte
3611
- function create_fragment39(ctx) {
3763
+ function create_fragment41(ctx) {
3612
3764
  let svg;
3613
3765
  let path;
3614
3766
  let svg_class_value;
@@ -3660,7 +3812,7 @@ function create_fragment39(ctx) {
3660
3812
  }
3661
3813
  };
3662
3814
  }
3663
- function instance39($$self, $$props, $$invalidate) {
3815
+ function instance41($$self, $$props, $$invalidate) {
3664
3816
  let { theme = "light" } = $$props;
3665
3817
  let { active = false } = $$props;
3666
3818
  $$self.$$set = ($$props2) => {
@@ -3674,13 +3826,13 @@ function instance39($$self, $$props, $$invalidate) {
3674
3826
  var Text = class extends SvelteComponent {
3675
3827
  constructor(options) {
3676
3828
  super();
3677
- init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
3829
+ init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
3678
3830
  }
3679
3831
  };
3680
3832
  var Text_default = Text;
3681
3833
 
3682
3834
  // src/components/Icons/TextFilled.svelte
3683
- function create_fragment40(ctx) {
3835
+ function create_fragment42(ctx) {
3684
3836
  let svg;
3685
3837
  let path0;
3686
3838
  let path1;
@@ -3739,7 +3891,7 @@ function create_fragment40(ctx) {
3739
3891
  }
3740
3892
  };
3741
3893
  }
3742
- function instance40($$self, $$props, $$invalidate) {
3894
+ function instance42($$self, $$props, $$invalidate) {
3743
3895
  let { theme = "light" } = $$props;
3744
3896
  let { active = false } = $$props;
3745
3897
  $$self.$$set = ($$props2) => {
@@ -3753,13 +3905,13 @@ function instance40($$self, $$props, $$invalidate) {
3753
3905
  var TextFilled = class extends SvelteComponent {
3754
3906
  constructor(options) {
3755
3907
  super();
3756
- init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
3908
+ init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
3757
3909
  }
3758
3910
  };
3759
3911
  var TextFilled_default = TextFilled;
3760
3912
 
3761
3913
  // src/components/Icons/Triangle.svelte
3762
- function create_fragment41(ctx) {
3914
+ function create_fragment43(ctx) {
3763
3915
  let svg;
3764
3916
  let path;
3765
3917
  let svg_class_value;
@@ -3811,7 +3963,7 @@ function create_fragment41(ctx) {
3811
3963
  }
3812
3964
  };
3813
3965
  }
3814
- function instance41($$self, $$props, $$invalidate) {
3966
+ function instance43($$self, $$props, $$invalidate) {
3815
3967
  let { theme = "light" } = $$props;
3816
3968
  let { active = false } = $$props;
3817
3969
  $$self.$$set = ($$props2) => {
@@ -3825,13 +3977,13 @@ function instance41($$self, $$props, $$invalidate) {
3825
3977
  var Triangle = class extends SvelteComponent {
3826
3978
  constructor(options) {
3827
3979
  super();
3828
- init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
3980
+ init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
3829
3981
  }
3830
3982
  };
3831
3983
  var Triangle_default = Triangle;
3832
3984
 
3833
3985
  // src/components/Icons/TriangleBolded.svelte
3834
- function create_fragment42(ctx) {
3986
+ function create_fragment44(ctx) {
3835
3987
  let svg;
3836
3988
  let path;
3837
3989
  let svg_class_value;
@@ -3883,7 +4035,7 @@ function create_fragment42(ctx) {
3883
4035
  }
3884
4036
  };
3885
4037
  }
3886
- function instance42($$self, $$props, $$invalidate) {
4038
+ function instance44($$self, $$props, $$invalidate) {
3887
4039
  let { theme = "light" } = $$props;
3888
4040
  let { active = false } = $$props;
3889
4041
  $$self.$$set = ($$props2) => {
@@ -3897,13 +4049,13 @@ function instance42($$self, $$props, $$invalidate) {
3897
4049
  var TriangleBolded = class extends SvelteComponent {
3898
4050
  constructor(options) {
3899
4051
  super();
3900
- init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
4052
+ init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
3901
4053
  }
3902
4054
  };
3903
4055
  var TriangleBolded_default = TriangleBolded;
3904
4056
 
3905
4057
  // src/components/Icons/Undo.svelte
3906
- function create_fragment43(ctx) {
4058
+ function create_fragment45(ctx) {
3907
4059
  let svg;
3908
4060
  let path0;
3909
4061
  let path1;
@@ -3959,7 +4111,7 @@ function create_fragment43(ctx) {
3959
4111
  }
3960
4112
  };
3961
4113
  }
3962
- function instance43($$self, $$props, $$invalidate) {
4114
+ function instance45($$self, $$props, $$invalidate) {
3963
4115
  let { theme = "light" } = $$props;
3964
4116
  let { active = false } = $$props;
3965
4117
  $$self.$$set = ($$props2) => {
@@ -3973,13 +4125,13 @@ function instance43($$self, $$props, $$invalidate) {
3973
4125
  var Undo = class extends SvelteComponent {
3974
4126
  constructor(options) {
3975
4127
  super();
3976
- init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
4128
+ init(this, options, instance45, create_fragment45, safe_not_equal, { theme: 0, active: 1 });
3977
4129
  }
3978
4130
  };
3979
4131
  var Undo_default = Undo;
3980
4132
 
3981
4133
  // src/components/Icons/Up.svelte
3982
- function create_fragment44(ctx) {
4134
+ function create_fragment46(ctx) {
3983
4135
  let svg;
3984
4136
  let path;
3985
4137
  let svg_class_value;
@@ -4031,7 +4183,7 @@ function create_fragment44(ctx) {
4031
4183
  }
4032
4184
  };
4033
4185
  }
4034
- function instance44($$self, $$props, $$invalidate) {
4186
+ function instance46($$self, $$props, $$invalidate) {
4035
4187
  let { theme = "light" } = $$props;
4036
4188
  let { active = false } = $$props;
4037
4189
  $$self.$$set = ($$props2) => {
@@ -4045,13 +4197,13 @@ function instance44($$self, $$props, $$invalidate) {
4045
4197
  var Up = class extends SvelteComponent {
4046
4198
  constructor(options) {
4047
4199
  super();
4048
- init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
4200
+ init(this, options, instance46, create_fragment46, safe_not_equal, { theme: 0, active: 1 });
4049
4201
  }
4050
4202
  };
4051
4203
  var Up_default = Up;
4052
4204
 
4053
4205
  // src/components/Icons/WhiteboardAdd.svelte
4054
- function create_fragment45(ctx) {
4206
+ function create_fragment47(ctx) {
4055
4207
  let svg;
4056
4208
  let path0;
4057
4209
  let rect;
@@ -4123,7 +4275,7 @@ function create_fragment45(ctx) {
4123
4275
  }
4124
4276
  };
4125
4277
  }
4126
- function instance45($$self, $$props, $$invalidate) {
4278
+ function instance47($$self, $$props, $$invalidate) {
4127
4279
  let { theme = "light" } = $$props;
4128
4280
  let { active = false } = $$props;
4129
4281
  $$self.$$set = ($$props2) => {
@@ -4137,13 +4289,13 @@ function instance45($$self, $$props, $$invalidate) {
4137
4289
  var WhiteboardAdd = class extends SvelteComponent {
4138
4290
  constructor(options) {
4139
4291
  super();
4140
- init(this, options, instance45, create_fragment45, safe_not_equal, { theme: 0, active: 1 });
4292
+ init(this, options, instance47, create_fragment47, safe_not_equal, { theme: 0, active: 1 });
4141
4293
  }
4142
4294
  };
4143
4295
  var WhiteboardAdd_default = WhiteboardAdd;
4144
4296
 
4145
4297
  // src/components/Icons/Play.svelte
4146
- function create_fragment46(ctx) {
4298
+ function create_fragment48(ctx) {
4147
4299
  let svg;
4148
4300
  let path;
4149
4301
  let svg_class_value;
@@ -4193,7 +4345,7 @@ function create_fragment46(ctx) {
4193
4345
  }
4194
4346
  };
4195
4347
  }
4196
- function instance46($$self, $$props, $$invalidate) {
4348
+ function instance48($$self, $$props, $$invalidate) {
4197
4349
  let { theme = "light" } = $$props;
4198
4350
  let { active = false } = $$props;
4199
4351
  $$self.$$set = ($$props2) => {
@@ -4207,13 +4359,13 @@ function instance46($$self, $$props, $$invalidate) {
4207
4359
  var Play = class extends SvelteComponent {
4208
4360
  constructor(options) {
4209
4361
  super();
4210
- init(this, options, instance46, create_fragment46, safe_not_equal, { theme: 0, active: 1 });
4362
+ init(this, options, instance48, create_fragment48, safe_not_equal, { theme: 0, active: 1 });
4211
4363
  }
4212
4364
  };
4213
4365
  var Play_default = Play;
4214
4366
 
4215
4367
  // src/components/Icons/Pause.svelte
4216
- function create_fragment47(ctx) {
4368
+ function create_fragment49(ctx) {
4217
4369
  let svg;
4218
4370
  let path;
4219
4371
  let svg_class_value;
@@ -4263,7 +4415,7 @@ function create_fragment47(ctx) {
4263
4415
  }
4264
4416
  };
4265
4417
  }
4266
- function instance47($$self, $$props, $$invalidate) {
4418
+ function instance49($$self, $$props, $$invalidate) {
4267
4419
  let { theme = "light" } = $$props;
4268
4420
  let { active = false } = $$props;
4269
4421
  $$self.$$set = ($$props2) => {
@@ -4277,13 +4429,13 @@ function instance47($$self, $$props, $$invalidate) {
4277
4429
  var Pause = class extends SvelteComponent {
4278
4430
  constructor(options) {
4279
4431
  super();
4280
- init(this, options, instance47, create_fragment47, safe_not_equal, { theme: 0, active: 1 });
4432
+ init(this, options, instance49, create_fragment49, safe_not_equal, { theme: 0, active: 1 });
4281
4433
  }
4282
4434
  };
4283
4435
  var Pause_default = Pause;
4284
4436
 
4285
4437
  // src/components/Icons/Loading.svelte
4286
- function create_fragment48(ctx) {
4438
+ function create_fragment50(ctx) {
4287
4439
  let svg;
4288
4440
  let path;
4289
4441
  let svg_class_value;
@@ -4333,7 +4485,7 @@ function create_fragment48(ctx) {
4333
4485
  }
4334
4486
  };
4335
4487
  }
4336
- function instance48($$self, $$props, $$invalidate) {
4488
+ function instance50($$self, $$props, $$invalidate) {
4337
4489
  let { theme = "light" } = $$props;
4338
4490
  let { active = false } = $$props;
4339
4491
  $$self.$$set = ($$props2) => {
@@ -4347,13 +4499,13 @@ function instance48($$self, $$props, $$invalidate) {
4347
4499
  var Loading = class extends SvelteComponent {
4348
4500
  constructor(options) {
4349
4501
  super();
4350
- init(this, options, instance48, create_fragment48, safe_not_equal, { theme: 0, active: 1 });
4502
+ init(this, options, instance50, create_fragment50, safe_not_equal, { theme: 0, active: 1 });
4351
4503
  }
4352
4504
  };
4353
4505
  var Loading_default = Loading;
4354
4506
 
4355
4507
  // src/components/Icons/LaserPen.svelte
4356
- function create_fragment49(ctx) {
4508
+ function create_fragment51(ctx) {
4357
4509
  let svg;
4358
4510
  let g;
4359
4511
  let path0;
@@ -4373,7 +4525,7 @@ function create_fragment49(ctx) {
4373
4525
  attr(g, "stroke-width", "1.25");
4374
4526
  attr(g, "stroke-linecap", "round");
4375
4527
  attr(g, "stroke-linejoin", "round");
4376
- attr(g, "transform", "rotate(0 10 10)");
4528
+ attr(g, "transform", "rotate(0 10 10) translate(3 2)");
4377
4529
  attr(svg, "fill", "none");
4378
4530
  attr(svg, "viewBox", "0 0 24 24");
4379
4531
  attr(svg, "class", svg_class_value = "fastboard-icon " + /*theme*/
@@ -4415,7 +4567,7 @@ function create_fragment49(ctx) {
4415
4567
  }
4416
4568
  };
4417
4569
  }
4418
- function instance49($$self, $$props, $$invalidate) {
4570
+ function instance51($$self, $$props, $$invalidate) {
4419
4571
  let { theme = "light" } = $$props;
4420
4572
  let { active = false } = $$props;
4421
4573
  $$self.$$set = ($$props2) => {
@@ -4429,13 +4581,13 @@ function instance49($$self, $$props, $$invalidate) {
4429
4581
  var LaserPen = class extends SvelteComponent {
4430
4582
  constructor(options) {
4431
4583
  super();
4432
- init(this, options, instance49, create_fragment49, safe_not_equal, { theme: 0, active: 1 });
4584
+ init(this, options, instance51, create_fragment51, safe_not_equal, { theme: 0, active: 1 });
4433
4585
  }
4434
4586
  };
4435
4587
  var LaserPen_default = LaserPen;
4436
4588
 
4437
4589
  // src/components/Icons/LaserPenFilled.svelte
4438
- function create_fragment50(ctx) {
4590
+ function create_fragment52(ctx) {
4439
4591
  let svg;
4440
4592
  let g;
4441
4593
  let path0;
@@ -4455,7 +4607,7 @@ function create_fragment50(ctx) {
4455
4607
  attr(g, "stroke-width", "1.25");
4456
4608
  attr(g, "stroke-linecap", "round");
4457
4609
  attr(g, "stroke-linejoin", "round");
4458
- attr(g, "transform", "rotate(0 10 10)");
4610
+ attr(g, "transform", "rotate(0 10 10) translate(3 2)");
4459
4611
  attr(svg, "fill", "none");
4460
4612
  attr(svg, "viewBox", "0 0 24 24");
4461
4613
  attr(svg, "class", svg_class_value = "fastboard-icon " + /*theme*/
@@ -4497,7 +4649,7 @@ function create_fragment50(ctx) {
4497
4649
  }
4498
4650
  };
4499
4651
  }
4500
- function instance50($$self, $$props, $$invalidate) {
4652
+ function instance52($$self, $$props, $$invalidate) {
4501
4653
  let { theme = "light" } = $$props;
4502
4654
  let { active = false } = $$props;
4503
4655
  $$self.$$set = ($$props2) => {
@@ -4511,13 +4663,13 @@ function instance50($$self, $$props, $$invalidate) {
4511
4663
  var LaserPenFilled = class extends SvelteComponent {
4512
4664
  constructor(options) {
4513
4665
  super();
4514
- init(this, options, instance50, create_fragment50, safe_not_equal, { theme: 0, active: 1 });
4666
+ init(this, options, instance52, create_fragment52, safe_not_equal, { theme: 0, active: 1 });
4515
4667
  }
4516
4668
  };
4517
4669
  var LaserPenFilled_default = LaserPenFilled;
4518
4670
 
4519
4671
  // src/components/Icons/MarkPen.svelte
4520
- function create_fragment51(ctx) {
4672
+ function create_fragment53(ctx) {
4521
4673
  let svg;
4522
4674
  let g;
4523
4675
  let path;
@@ -4573,7 +4725,7 @@ function create_fragment51(ctx) {
4573
4725
  }
4574
4726
  };
4575
4727
  }
4576
- function instance51($$self, $$props, $$invalidate) {
4728
+ function instance53($$self, $$props, $$invalidate) {
4577
4729
  let { theme = "light" } = $$props;
4578
4730
  let { active = false } = $$props;
4579
4731
  $$self.$$set = ($$props2) => {
@@ -4587,13 +4739,13 @@ function instance51($$self, $$props, $$invalidate) {
4587
4739
  var MarkPen = class extends SvelteComponent {
4588
4740
  constructor(options) {
4589
4741
  super();
4590
- init(this, options, instance51, create_fragment51, safe_not_equal, { theme: 0, active: 1 });
4742
+ init(this, options, instance53, create_fragment53, safe_not_equal, { theme: 0, active: 1 });
4591
4743
  }
4592
4744
  };
4593
4745
  var MarkPen_default = MarkPen;
4594
4746
 
4595
4747
  // src/components/Icons/MarkPenFilled.svelte
4596
- function create_fragment52(ctx) {
4748
+ function create_fragment54(ctx) {
4597
4749
  let svg;
4598
4750
  let g;
4599
4751
  let path;
@@ -4649,7 +4801,7 @@ function create_fragment52(ctx) {
4649
4801
  }
4650
4802
  };
4651
4803
  }
4652
- function instance52($$self, $$props, $$invalidate) {
4804
+ function instance54($$self, $$props, $$invalidate) {
4653
4805
  let { theme = "light" } = $$props;
4654
4806
  let { active = false } = $$props;
4655
4807
  $$self.$$set = ($$props2) => {
@@ -4663,13 +4815,13 @@ function instance52($$self, $$props, $$invalidate) {
4663
4815
  var MarkPenFilled = class extends SvelteComponent {
4664
4816
  constructor(options) {
4665
4817
  super();
4666
- init(this, options, instance52, create_fragment52, safe_not_equal, { theme: 0, active: 1 });
4818
+ init(this, options, instance54, create_fragment54, safe_not_equal, { theme: 0, active: 1 });
4667
4819
  }
4668
4820
  };
4669
4821
  var MarkPenFilled_default = MarkPenFilled;
4670
4822
 
4671
4823
  // src/components/Icons/EraserBitmap.svelte
4672
- function create_fragment53(ctx) {
4824
+ function create_fragment55(ctx) {
4673
4825
  let svg;
4674
4826
  let g;
4675
4827
  let path0;
@@ -4690,6 +4842,7 @@ function create_fragment53(ctx) {
4690
4842
  attr(path1, "d", "M9 21h12");
4691
4843
  attr(path1, "class", "fastboard-icon-stroke-color");
4692
4844
  attr(g, "fill", "none");
4845
+ attr(g, "transform", "scale(0.8 0.8) translate(3 1)");
4693
4846
  attr(svg, "width", "24");
4694
4847
  attr(svg, "height", "24");
4695
4848
  attr(svg, "viewBox", "0 0 24 24");
@@ -4732,7 +4885,7 @@ function create_fragment53(ctx) {
4732
4885
  }
4733
4886
  };
4734
4887
  }
4735
- function instance53($$self, $$props, $$invalidate) {
4888
+ function instance55($$self, $$props, $$invalidate) {
4736
4889
  let { theme = "light" } = $$props;
4737
4890
  let { active = false } = $$props;
4738
4891
  $$self.$$set = ($$props2) => {
@@ -4746,13 +4899,13 @@ function instance53($$self, $$props, $$invalidate) {
4746
4899
  var EraserBitmap = class extends SvelteComponent {
4747
4900
  constructor(options) {
4748
4901
  super();
4749
- init(this, options, instance53, create_fragment53, safe_not_equal, { theme: 0, active: 1 });
4902
+ init(this, options, instance55, create_fragment55, safe_not_equal, { theme: 0, active: 1 });
4750
4903
  }
4751
4904
  };
4752
4905
  var EraserBitmap_default = EraserBitmap;
4753
4906
 
4754
4907
  // src/components/Icons/EraserBitmapFilled.svelte
4755
- function create_fragment54(ctx) {
4908
+ function create_fragment56(ctx) {
4756
4909
  let svg;
4757
4910
  let g;
4758
4911
  let path0;
@@ -4773,6 +4926,7 @@ function create_fragment54(ctx) {
4773
4926
  attr(path1, "d", "M9 21h12");
4774
4927
  attr(path1, "class", "fastboard-icon-stroke-color");
4775
4928
  attr(g, "fill", "none");
4929
+ attr(g, "transform", "scale(0.8 0.8) translate(3 1)");
4776
4930
  attr(svg, "width", "24");
4777
4931
  attr(svg, "height", "24");
4778
4932
  attr(svg, "viewBox", "0 0 24 24");
@@ -4815,7 +4969,7 @@ function create_fragment54(ctx) {
4815
4969
  }
4816
4970
  };
4817
4971
  }
4818
- function instance54($$self, $$props, $$invalidate) {
4972
+ function instance56($$self, $$props, $$invalidate) {
4819
4973
  let { theme = "light" } = $$props;
4820
4974
  let { active = false } = $$props;
4821
4975
  $$self.$$set = ($$props2) => {
@@ -4829,7 +4983,7 @@ function instance54($$self, $$props, $$invalidate) {
4829
4983
  var EraserBitmapFilled = class extends SvelteComponent {
4830
4984
  constructor(options) {
4831
4985
  super();
4832
- init(this, options, instance54, create_fragment54, safe_not_equal, { theme: 0, active: 1 });
4986
+ init(this, options, instance56, create_fragment56, safe_not_equal, { theme: 0, active: 1 });
4833
4987
  }
4834
4988
  };
4835
4989
  var EraserBitmapFilled_default = EraserBitmapFilled;
@@ -4888,7 +5042,9 @@ var Icons = {
4888
5042
  MarkPen: MarkPen_default,
4889
5043
  MarkPenFilled: MarkPenFilled_default,
4890
5044
  EraserBitmap: EraserBitmap_default,
4891
- EraserBitmapFilled: EraserBitmapFilled_default
5045
+ EraserBitmapFilled: EraserBitmapFilled_default,
5046
+ StrokePencil: BrushPen_default,
5047
+ StrokePencilFilled: BrushPenFilled_default
4892
5048
  };
4893
5049
  var Icons_default = Icons;
4894
5050
  if (typeof window !== "undefined") {
@@ -4901,12 +5057,12 @@ if (typeof window !== "undefined") {
4901
5057
  {
4902
5058
  name: "className",
4903
5059
  defaultValue: "",
4904
- fn(instance79) {
5060
+ fn(instance81) {
4905
5061
  function add() {
4906
- const el = instance79.popper.firstElementChild;
5062
+ const el = instance81.popper.firstElementChild;
4907
5063
  if (el) {
4908
5064
  el.classList.add("fastboard-tip");
4909
- const extra = (instance79.props.className || "").trim();
5065
+ const extra = (instance81.props.className || "").trim();
4910
5066
  if (extra) {
4911
5067
  el.classList.add(extra);
4912
5068
  }
@@ -4914,7 +5070,7 @@ if (typeof window !== "undefined") {
4914
5070
  }
4915
5071
  function remove() {
4916
5072
  var _a;
4917
- (_a = instance79.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
5073
+ (_a = instance81.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
4918
5074
  }
4919
5075
  return {
4920
5076
  onCreate: add,
@@ -4927,21 +5083,21 @@ if (typeof window !== "undefined") {
4927
5083
  });
4928
5084
  }
4929
5085
  var tippy = function(node, props) {
4930
- const instance79 = Tippy__default.default(node, props);
5086
+ const instance81 = Tippy__default.default(node, props);
4931
5087
  return {
4932
5088
  update(props2) {
4933
- instance79.setProps(props2);
5089
+ instance81.setProps(props2);
4934
5090
  },
4935
5091
  destroy() {
4936
- instance79.destroy();
5092
+ instance81.destroy();
4937
5093
  }
4938
5094
  };
4939
5095
  };
4940
5096
  function tippy_hide_all() {
4941
5097
  document.querySelectorAll("[data-tippy-root]").forEach((el) => {
4942
- const instance79 = el._tippy;
4943
- if (instance79)
4944
- instance79.hide();
5098
+ const instance81 = el._tippy;
5099
+ if (instance81)
5100
+ instance81.hide();
4945
5101
  });
4946
5102
  }
4947
5103
  var tippy_menu = {
@@ -5455,7 +5611,7 @@ function create_if_block_1(ctx) {
5455
5611
  }
5456
5612
  };
5457
5613
  }
5458
- function create_fragment55(ctx) {
5614
+ function create_fragment57(ctx) {
5459
5615
  let current_block_type_index;
5460
5616
  let if_block;
5461
5617
  let if_block_anchor;
@@ -5521,7 +5677,7 @@ function create_fragment55(ctx) {
5521
5677
  }
5522
5678
  };
5523
5679
  }
5524
- function instance55($$self, $$props, $$invalidate) {
5680
+ function instance57($$self, $$props, $$invalidate) {
5525
5681
  let { $$slots: slots = {}, $$scope } = $$props;
5526
5682
  let { class: className = "" } = $$props;
5527
5683
  let { name: name10 = "fastboard-ui" } = $$props;
@@ -5579,7 +5735,7 @@ function instance55($$self, $$props, $$invalidate) {
5579
5735
  var Button = class extends SvelteComponent {
5580
5736
  constructor(options) {
5581
5737
  super();
5582
- init(this, options, instance55, create_fragment55, safe_not_equal, {
5738
+ init(this, options, instance57, create_fragment57, safe_not_equal, {
5583
5739
  class: 0,
5584
5740
  name: 1,
5585
5741
  theme: 2,
@@ -5784,7 +5940,7 @@ function create_default_slot(ctx) {
5784
5940
  }
5785
5941
  };
5786
5942
  }
5787
- function create_fragment56(ctx) {
5943
+ function create_fragment58(ctx) {
5788
5944
  let div;
5789
5945
  let button0;
5790
5946
  let t_1;
@@ -5925,7 +6081,7 @@ var i18n = {
5925
6081
  "zh-CN": { redo: "\u91CD\u505A", undo: "\u64A4\u9500" }
5926
6082
  };
5927
6083
  var name = "fastboard-redo-undo";
5928
- function instance56($$self, $$props, $$invalidate) {
6084
+ function instance58($$self, $$props, $$invalidate) {
5929
6085
  let writable2;
5930
6086
  let phase;
5931
6087
  let disabled;
@@ -6026,7 +6182,7 @@ function instance56($$self, $$props, $$invalidate) {
6026
6182
  var RedoUndo = class extends SvelteComponent {
6027
6183
  constructor(options) {
6028
6184
  super();
6029
- init(this, options, instance56, create_fragment56, safe_not_equal, {
6185
+ init(this, options, instance58, create_fragment58, safe_not_equal, {
6030
6186
  app: 12,
6031
6187
  theme: 0,
6032
6188
  language: 13,
@@ -6383,7 +6539,7 @@ function create_default_slot2(ctx) {
6383
6539
  }
6384
6540
  };
6385
6541
  }
6386
- function create_fragment57(ctx) {
6542
+ function create_fragment59(ctx) {
6387
6543
  let div;
6388
6544
  let button0;
6389
6545
  let t0;
@@ -6618,7 +6774,7 @@ var i18n2 = {
6618
6774
  "zh-CN": { prev: "\u4E0A\u4E00\u9875", next: "\u4E0B\u4E00\u9875", add: "\u6DFB\u52A0\u9875\u9762" }
6619
6775
  };
6620
6776
  var name2 = "fastboard-page-control";
6621
- function instance57($$self, $$props, $$invalidate) {
6777
+ function instance59($$self, $$props, $$invalidate) {
6622
6778
  let writable2;
6623
6779
  let phase;
6624
6780
  let disabled;
@@ -6724,7 +6880,7 @@ function instance57($$self, $$props, $$invalidate) {
6724
6880
  var PageControl = class extends SvelteComponent {
6725
6881
  constructor(options) {
6726
6882
  super();
6727
- init(this, options, instance57, create_fragment57, safe_not_equal, {
6883
+ init(this, options, instance59, create_fragment59, safe_not_equal, {
6728
6884
  app: 16,
6729
6885
  theme: 0,
6730
6886
  language: 17,
@@ -7073,7 +7229,7 @@ function create_default_slot3(ctx) {
7073
7229
  }
7074
7230
  };
7075
7231
  }
7076
- function create_fragment58(ctx) {
7232
+ function create_fragment60(ctx) {
7077
7233
  let div;
7078
7234
  let button0;
7079
7235
  let t0;
@@ -7336,7 +7492,7 @@ function next_scale(scale, delta) {
7336
7492
  return 1;
7337
7493
  }
7338
7494
  var name3 = "fastboard-zoom-control";
7339
- function instance58($$self, $$props, $$invalidate) {
7495
+ function instance60($$self, $$props, $$invalidate) {
7340
7496
  let writable2;
7341
7497
  let phase;
7342
7498
  let disabled;
@@ -7447,7 +7603,7 @@ function instance58($$self, $$props, $$invalidate) {
7447
7603
  var ZoomControl = class extends SvelteComponent {
7448
7604
  constructor(options) {
7449
7605
  super();
7450
- init(this, options, instance58, create_fragment58, safe_not_equal, {
7606
+ init(this, options, instance60, create_fragment60, safe_not_equal, {
7451
7607
  app: 15,
7452
7608
  theme: 0,
7453
7609
  language: 16,
@@ -7749,7 +7905,7 @@ function hexToRgb(hex) {
7749
7905
  }
7750
7906
 
7751
7907
  // src/components/Toolbar/components/Slider.svelte
7752
- function create_fragment59(ctx) {
7908
+ function create_fragment61(ctx) {
7753
7909
  let div;
7754
7910
  let input;
7755
7911
  let input_class_value;
@@ -7964,7 +8120,7 @@ function create_fragment59(ctx) {
7964
8120
  };
7965
8121
  }
7966
8122
  var name4 = "fastboard-slider";
7967
- function instance59($$self, $$props, $$invalidate) {
8123
+ function instance61($$self, $$props, $$invalidate) {
7968
8124
  let percent;
7969
8125
  const dispatch = createEventDispatcher();
7970
8126
  let { class: className = "" } = $$props;
@@ -8035,7 +8191,7 @@ function instance59($$self, $$props, $$invalidate) {
8035
8191
  var Slider = class extends SvelteComponent {
8036
8192
  constructor(options) {
8037
8193
  super();
8038
- init(this, options, instance59, create_fragment59, safe_not_equal, {
8194
+ init(this, options, instance61, create_fragment61, safe_not_equal, {
8039
8195
  class: 1,
8040
8196
  theme: 2,
8041
8197
  min: 3,
@@ -8049,7 +8205,7 @@ var Slider = class extends SvelteComponent {
8049
8205
  var Slider_default = Slider;
8050
8206
 
8051
8207
  // src/components/Toolbar/components/StrokeWidth.svelte
8052
- function create_fragment60(ctx) {
8208
+ function create_fragment62(ctx) {
8053
8209
  let slider;
8054
8210
  let current;
8055
8211
  const slider_spread_levels = [
@@ -8105,7 +8261,7 @@ function create_fragment60(ctx) {
8105
8261
  }
8106
8262
  };
8107
8263
  }
8108
- function instance60($$self, $$props, $$invalidate) {
8264
+ function instance62($$self, $$props, $$invalidate) {
8109
8265
  let memberState;
8110
8266
  let value;
8111
8267
  let props;
@@ -8154,7 +8310,7 @@ function instance60($$self, $$props, $$invalidate) {
8154
8310
  var StrokeWidth = class extends SvelteComponent {
8155
8311
  constructor(options) {
8156
8312
  super();
8157
- init(this, options, instance60, create_fragment60, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
8313
+ init(this, options, instance62, create_fragment62, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
8158
8314
  }
8159
8315
  };
8160
8316
  var StrokeWidth_default = StrokeWidth;
@@ -8258,7 +8414,7 @@ function create_each_block(ctx) {
8258
8414
  }
8259
8415
  };
8260
8416
  }
8261
- function create_fragment61(ctx) {
8417
+ function create_fragment63(ctx) {
8262
8418
  let div;
8263
8419
  let div_class_value;
8264
8420
  let mounted;
@@ -8338,7 +8494,7 @@ function create_fragment61(ctx) {
8338
8494
  function is_equal_color(a, b) {
8339
8495
  return a && b && a.every((v, i) => v === b[i]);
8340
8496
  }
8341
- function instance61($$self, $$props, $$invalidate) {
8497
+ function instance63($$self, $$props, $$invalidate) {
8342
8498
  let memberState;
8343
8499
  let strokeColor;
8344
8500
  let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(7, $memberState = $$value)), memberState);
@@ -8390,7 +8546,7 @@ function instance61($$self, $$props, $$invalidate) {
8390
8546
  var StrokeColor = class extends SvelteComponent {
8391
8547
  constructor(options) {
8392
8548
  super();
8393
- init(this, options, instance61, create_fragment61, safe_not_equal, { app: 6, theme: 0, disabled: 1, colors: 2 });
8549
+ init(this, options, instance63, create_fragment63, safe_not_equal, { app: 6, theme: 0, disabled: 1, colors: 2 });
8394
8550
  }
8395
8551
  };
8396
8552
  var StrokeColor_default = StrokeColor;
@@ -8494,7 +8650,7 @@ function create_each_block2(ctx) {
8494
8650
  }
8495
8651
  };
8496
8652
  }
8497
- function create_fragment62(ctx) {
8653
+ function create_fragment64(ctx) {
8498
8654
  let div;
8499
8655
  let div_class_value;
8500
8656
  let mounted;
@@ -8574,7 +8730,7 @@ function create_fragment62(ctx) {
8574
8730
  function is_equal_color2(a, b) {
8575
8731
  return a && b && a.every((v, i) => v === b[i]);
8576
8732
  }
8577
- function instance62($$self, $$props, $$invalidate) {
8733
+ function instance64($$self, $$props, $$invalidate) {
8578
8734
  let memberState;
8579
8735
  let textColor;
8580
8736
  let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(7, $memberState = $$value)), memberState);
@@ -8626,7 +8782,7 @@ function instance62($$self, $$props, $$invalidate) {
8626
8782
  var TextColor = class extends SvelteComponent {
8627
8783
  constructor(options) {
8628
8784
  super();
8629
- init(this, options, instance62, create_fragment62, safe_not_equal, { app: 6, theme: 0, disabled: 1, colors: 2 });
8785
+ init(this, options, instance64, create_fragment64, safe_not_equal, { app: 6, theme: 0, disabled: 1, colors: 2 });
8630
8786
  }
8631
8787
  };
8632
8788
  var TextColor_default = TextColor;
@@ -8957,7 +9113,7 @@ function create_each_block3(key_1, ctx) {
8957
9113
  }
8958
9114
  };
8959
9115
  }
8960
- function create_fragment63(ctx) {
9116
+ function create_fragment65(ctx) {
8961
9117
  let div;
8962
9118
  let each_blocks = [];
8963
9119
  let each_1_lookup = /* @__PURE__ */ new Map();
@@ -9063,7 +9219,7 @@ var i18n5 = {
9063
9219
  speechBalloon: "\u6C14\u6CE1"
9064
9220
  }
9065
9221
  };
9066
- function instance63($$self, $$props, $$invalidate) {
9222
+ function instance65($$self, $$props, $$invalidate) {
9067
9223
  let t;
9068
9224
  let memberState;
9069
9225
  let appliance;
@@ -9148,7 +9304,7 @@ function instance63($$self, $$props, $$invalidate) {
9148
9304
  var SelectShapes = class extends SvelteComponent {
9149
9305
  constructor(options) {
9150
9306
  super();
9151
- init(this, options, instance63, create_fragment63, safe_not_equal, {
9307
+ init(this, options, instance65, create_fragment65, safe_not_equal, {
9152
9308
  app: 8,
9153
9309
  theme: 0,
9154
9310
  language: 9,
@@ -9303,7 +9459,7 @@ function create_default_slot4(ctx) {
9303
9459
  }
9304
9460
  };
9305
9461
  }
9306
- function create_fragment64(ctx) {
9462
+ function create_fragment66(ctx) {
9307
9463
  let button;
9308
9464
  let current;
9309
9465
  const button_spread_levels = [
@@ -9372,7 +9528,7 @@ function create_fragment64(ctx) {
9372
9528
  }
9373
9529
  };
9374
9530
  }
9375
- function instance64($$self, $$props, $$invalidate) {
9531
+ function instance66($$self, $$props, $$invalidate) {
9376
9532
  let { btn_props = {} } = $$props;
9377
9533
  let { content } = $$props;
9378
9534
  let { appliance } = $$props;
@@ -9395,7 +9551,7 @@ function instance64($$self, $$props, $$invalidate) {
9395
9551
  var Clicker = class extends SvelteComponent {
9396
9552
  constructor(options) {
9397
9553
  super();
9398
- init(this, options, instance64, create_fragment64, safe_not_equal, {
9554
+ init(this, options, instance66, create_fragment66, safe_not_equal, {
9399
9555
  btn_props: 0,
9400
9556
  content: 1,
9401
9557
  appliance: 2,
@@ -9550,7 +9706,7 @@ function create_default_slot5(ctx) {
9550
9706
  }
9551
9707
  };
9552
9708
  }
9553
- function create_fragment65(ctx) {
9709
+ function create_fragment67(ctx) {
9554
9710
  let button;
9555
9711
  let current;
9556
9712
  const button_spread_levels = [
@@ -9619,7 +9775,7 @@ function create_fragment65(ctx) {
9619
9775
  }
9620
9776
  };
9621
9777
  }
9622
- function instance65($$self, $$props, $$invalidate) {
9778
+ function instance67($$self, $$props, $$invalidate) {
9623
9779
  let { btn_props = {} } = $$props;
9624
9780
  let { content } = $$props;
9625
9781
  let { appliance } = $$props;
@@ -9642,7 +9798,7 @@ function instance65($$self, $$props, $$invalidate) {
9642
9798
  var Selector2 = class extends SvelteComponent {
9643
9799
  constructor(options) {
9644
9800
  super();
9645
- init(this, options, instance65, create_fragment65, safe_not_equal, {
9801
+ init(this, options, instance67, create_fragment67, safe_not_equal, {
9646
9802
  btn_props: 0,
9647
9803
  content: 1,
9648
9804
  appliance: 2,
@@ -9653,6 +9809,72 @@ var Selector2 = class extends SvelteComponent {
9653
9809
  var Selector_default2 = Selector2;
9654
9810
 
9655
9811
  // src/components/Toolbar/definitions/Pencil.svelte
9812
+ function create_if_block_6(ctx) {
9813
+ let current_block_type_index;
9814
+ let if_block;
9815
+ let if_block_anchor;
9816
+ let current;
9817
+ const if_block_creators = [create_if_block_7, create_else_block_3];
9818
+ const if_blocks = [];
9819
+ function select_block_type_4(ctx2, dirty) {
9820
+ if (
9821
+ /*appliance*/
9822
+ ctx2[3] === "pencil"
9823
+ )
9824
+ return 0;
9825
+ return 1;
9826
+ }
9827
+ current_block_type_index = select_block_type_4(ctx);
9828
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
9829
+ return {
9830
+ c() {
9831
+ if_block.c();
9832
+ if_block_anchor = empty();
9833
+ },
9834
+ m(target, anchor) {
9835
+ if_blocks[current_block_type_index].m(target, anchor);
9836
+ insert(target, if_block_anchor, anchor);
9837
+ current = true;
9838
+ },
9839
+ p(ctx2, dirty) {
9840
+ let previous_block_index = current_block_type_index;
9841
+ current_block_type_index = select_block_type_4(ctx2);
9842
+ if (current_block_type_index === previous_block_index) {
9843
+ if_blocks[current_block_type_index].p(ctx2, dirty);
9844
+ } else {
9845
+ group_outros();
9846
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
9847
+ if_blocks[previous_block_index] = null;
9848
+ });
9849
+ check_outros();
9850
+ if_block = if_blocks[current_block_type_index];
9851
+ if (!if_block) {
9852
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
9853
+ if_block.c();
9854
+ } else {
9855
+ if_block.p(ctx2, dirty);
9856
+ }
9857
+ transition_in(if_block, 1);
9858
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
9859
+ }
9860
+ },
9861
+ i(local) {
9862
+ if (current)
9863
+ return;
9864
+ transition_in(if_block);
9865
+ current = true;
9866
+ },
9867
+ o(local) {
9868
+ transition_out(if_block);
9869
+ current = false;
9870
+ },
9871
+ d(detaching) {
9872
+ if_blocks[current_block_type_index].d(detaching);
9873
+ if (detaching)
9874
+ detach(if_block_anchor);
9875
+ }
9876
+ };
9877
+ }
9656
9878
  function create_if_block_4(ctx) {
9657
9879
  let current_block_type_index;
9658
9880
  let if_block;
@@ -9851,7 +10073,7 @@ function create_if_block8(ctx) {
9851
10073
  }
9852
10074
  };
9853
10075
  }
9854
- function create_else_block_2(ctx) {
10076
+ function create_else_block_3(ctx) {
9855
10077
  let icons_pencil;
9856
10078
  let current;
9857
10079
  icons_pencil = new Icons_default.Pencil({ props: { theme: (
@@ -9889,7 +10111,7 @@ function create_else_block_2(ctx) {
9889
10111
  }
9890
10112
  };
9891
10113
  }
9892
- function create_if_block_5(ctx) {
10114
+ function create_if_block_7(ctx) {
9893
10115
  let icons_pencilfilled;
9894
10116
  let current;
9895
10117
  icons_pencilfilled = new Icons_default.PencilFilled({
@@ -9929,6 +10151,84 @@ function create_if_block_5(ctx) {
9929
10151
  }
9930
10152
  };
9931
10153
  }
10154
+ function create_else_block_2(ctx) {
10155
+ let icons_strokepencil;
10156
+ let current;
10157
+ icons_strokepencil = new Icons_default.StrokePencil({ props: { theme: (
10158
+ /*theme*/
10159
+ ctx[4]
10160
+ ) } });
10161
+ return {
10162
+ c() {
10163
+ create_component(icons_strokepencil.$$.fragment);
10164
+ },
10165
+ m(target, anchor) {
10166
+ mount_component(icons_strokepencil, target, anchor);
10167
+ current = true;
10168
+ },
10169
+ p(ctx2, dirty) {
10170
+ const icons_strokepencil_changes = {};
10171
+ if (dirty & /*theme*/
10172
+ 16)
10173
+ icons_strokepencil_changes.theme = /*theme*/
10174
+ ctx2[4];
10175
+ icons_strokepencil.$set(icons_strokepencil_changes);
10176
+ },
10177
+ i(local) {
10178
+ if (current)
10179
+ return;
10180
+ transition_in(icons_strokepencil.$$.fragment, local);
10181
+ current = true;
10182
+ },
10183
+ o(local) {
10184
+ transition_out(icons_strokepencil.$$.fragment, local);
10185
+ current = false;
10186
+ },
10187
+ d(detaching) {
10188
+ destroy_component(icons_strokepencil, detaching);
10189
+ }
10190
+ };
10191
+ }
10192
+ function create_if_block_5(ctx) {
10193
+ let icons_strokepencilfilled;
10194
+ let current;
10195
+ icons_strokepencilfilled = new Icons_default.StrokePencilFilled({
10196
+ props: { theme: (
10197
+ /*theme*/
10198
+ ctx[4]
10199
+ ), active: true }
10200
+ });
10201
+ return {
10202
+ c() {
10203
+ create_component(icons_strokepencilfilled.$$.fragment);
10204
+ },
10205
+ m(target, anchor) {
10206
+ mount_component(icons_strokepencilfilled, target, anchor);
10207
+ current = true;
10208
+ },
10209
+ p(ctx2, dirty) {
10210
+ const icons_strokepencilfilled_changes = {};
10211
+ if (dirty & /*theme*/
10212
+ 16)
10213
+ icons_strokepencilfilled_changes.theme = /*theme*/
10214
+ ctx2[4];
10215
+ icons_strokepencilfilled.$set(icons_strokepencilfilled_changes);
10216
+ },
10217
+ i(local) {
10218
+ if (current)
10219
+ return;
10220
+ transition_in(icons_strokepencilfilled.$$.fragment, local);
10221
+ current = true;
10222
+ },
10223
+ o(local) {
10224
+ transition_out(icons_strokepencilfilled.$$.fragment, local);
10225
+ current = false;
10226
+ },
10227
+ d(detaching) {
10228
+ destroy_component(icons_strokepencilfilled, detaching);
10229
+ }
10230
+ };
10231
+ }
9932
10232
  function create_else_block_12(ctx) {
9933
10233
  let icons_laserpen;
9934
10234
  let current;
@@ -10090,7 +10390,7 @@ function create_default_slot6(ctx) {
10090
10390
  let if_block;
10091
10391
  let if_block_anchor;
10092
10392
  let current;
10093
- const if_block_creators = [create_if_block8, create_if_block_2, create_if_block_4];
10393
+ const if_block_creators = [create_if_block8, create_if_block_2, create_if_block_4, create_if_block_6];
10094
10394
  const if_blocks = [];
10095
10395
  function select_block_type(ctx2, dirty) {
10096
10396
  if (
@@ -10105,9 +10405,14 @@ function create_default_slot6(ctx) {
10105
10405
  return 1;
10106
10406
  if (
10107
10407
  /*pencilType*/
10108
- ctx2[5] === "pencil"
10408
+ ctx2[5] === "stroke"
10109
10409
  )
10110
10410
  return 2;
10411
+ if (
10412
+ /*pencilType*/
10413
+ ctx2[5] === "pencil"
10414
+ )
10415
+ return 3;
10111
10416
  return -1;
10112
10417
  }
10113
10418
  if (~(current_block_type_index = select_block_type(ctx))) {
@@ -10175,7 +10480,7 @@ function create_default_slot6(ctx) {
10175
10480
  }
10176
10481
  };
10177
10482
  }
10178
- function create_fragment66(ctx) {
10483
+ function create_fragment68(ctx) {
10179
10484
  let button;
10180
10485
  let current;
10181
10486
  const button_spread_levels = [
@@ -10253,7 +10558,7 @@ function create_fragment66(ctx) {
10253
10558
  }
10254
10559
  };
10255
10560
  }
10256
- function instance66($$self, $$props, $$invalidate) {
10561
+ function instance68($$self, $$props, $$invalidate) {
10257
10562
  let { btn_props = {} } = $$props;
10258
10563
  let { content } = $$props;
10259
10564
  let { menu } = $$props;
@@ -10282,7 +10587,7 @@ function instance66($$self, $$props, $$invalidate) {
10282
10587
  var Pencil2 = class extends SvelteComponent {
10283
10588
  constructor(options) {
10284
10589
  super();
10285
- init(this, options, instance66, create_fragment66, safe_not_equal, {
10590
+ init(this, options, instance68, create_fragment68, safe_not_equal, {
10286
10591
  btn_props: 0,
10287
10592
  content: 1,
10288
10593
  menu: 2,
@@ -10439,7 +10744,7 @@ function create_default_slot7(ctx) {
10439
10744
  }
10440
10745
  };
10441
10746
  }
10442
- function create_fragment67(ctx) {
10747
+ function create_fragment69(ctx) {
10443
10748
  let button;
10444
10749
  let current;
10445
10750
  const button_spread_levels = [
@@ -10517,7 +10822,7 @@ function create_fragment67(ctx) {
10517
10822
  }
10518
10823
  };
10519
10824
  }
10520
- function instance67($$self, $$props, $$invalidate) {
10825
+ function instance69($$self, $$props, $$invalidate) {
10521
10826
  let { btn_props = {} } = $$props;
10522
10827
  let { content } = $$props;
10523
10828
  let { menu } = $$props;
@@ -10543,7 +10848,7 @@ function instance67($$self, $$props, $$invalidate) {
10543
10848
  var Text2 = class extends SvelteComponent {
10544
10849
  constructor(options) {
10545
10850
  super();
10546
- init(this, options, instance67, create_fragment67, safe_not_equal, {
10851
+ init(this, options, instance69, create_fragment69, safe_not_equal, {
10547
10852
  btn_props: 0,
10548
10853
  content: 1,
10549
10854
  menu: 2,
@@ -10787,7 +11092,7 @@ function create_default_slot8(ctx) {
10787
11092
  }
10788
11093
  };
10789
11094
  }
10790
- function create_fragment68(ctx) {
11095
+ function create_fragment70(ctx) {
10791
11096
  let button;
10792
11097
  let current;
10793
11098
  const button_spread_levels = [
@@ -10865,7 +11170,7 @@ function create_fragment68(ctx) {
10865
11170
  }
10866
11171
  };
10867
11172
  }
10868
- function instance68($$self, $$props, $$invalidate) {
11173
+ function instance70($$self, $$props, $$invalidate) {
10869
11174
  let memberState;
10870
11175
  let shape;
10871
11176
  let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(10, $memberState = $$value)), memberState);
@@ -10937,7 +11242,7 @@ function instance68($$self, $$props, $$invalidate) {
10937
11242
  var Shapes = class extends SvelteComponent {
10938
11243
  constructor(options) {
10939
11244
  super();
10940
- init(this, options, instance68, create_fragment68, safe_not_equal, {
11245
+ init(this, options, instance70, create_fragment70, safe_not_equal, {
10941
11246
  app: 9,
10942
11247
  btn_props: 1,
10943
11248
  content: 2,
@@ -11323,7 +11628,7 @@ function create_default_slot9(ctx) {
11323
11628
  }
11324
11629
  };
11325
11630
  }
11326
- function create_fragment69(ctx) {
11631
+ function create_fragment71(ctx) {
11327
11632
  let button;
11328
11633
  let current;
11329
11634
  const button_spread_levels = [
@@ -11401,7 +11706,7 @@ function create_fragment69(ctx) {
11401
11706
  }
11402
11707
  };
11403
11708
  }
11404
- function instance69($$self, $$props, $$invalidate) {
11709
+ function instance71($$self, $$props, $$invalidate) {
11405
11710
  let { btn_props = {} } = $$props;
11406
11711
  let { content } = $$props;
11407
11712
  let { appliance } = $$props;
@@ -11430,7 +11735,7 @@ function instance69($$self, $$props, $$invalidate) {
11430
11735
  var Eraser2 = class extends SvelteComponent {
11431
11736
  constructor(options) {
11432
11737
  super();
11433
- init(this, options, instance69, create_fragment69, safe_not_equal, {
11738
+ init(this, options, instance71, create_fragment71, safe_not_equal, {
11434
11739
  btn_props: 0,
11435
11740
  content: 1,
11436
11741
  appliance: 2,
@@ -11481,7 +11786,7 @@ function create_default_slot10(ctx) {
11481
11786
  }
11482
11787
  };
11483
11788
  }
11484
- function create_fragment70(ctx) {
11789
+ function create_fragment72(ctx) {
11485
11790
  let button;
11486
11791
  let current;
11487
11792
  const button_spread_levels = [
@@ -11550,7 +11855,7 @@ function create_fragment70(ctx) {
11550
11855
  }
11551
11856
  };
11552
11857
  }
11553
- function instance70($$self, $$props, $$invalidate) {
11858
+ function instance72($$self, $$props, $$invalidate) {
11554
11859
  let { btn_props = {} } = $$props;
11555
11860
  let { content } = $$props;
11556
11861
  let { theme = "light" } = $$props;
@@ -11570,7 +11875,7 @@ function instance70($$self, $$props, $$invalidate) {
11570
11875
  var Clear2 = class extends SvelteComponent {
11571
11876
  constructor(options) {
11572
11877
  super();
11573
- init(this, options, instance70, create_fragment70, safe_not_equal, { btn_props: 0, content: 1, theme: 2 });
11878
+ init(this, options, instance72, create_fragment72, safe_not_equal, { btn_props: 0, content: 1, theme: 2 });
11574
11879
  }
11575
11880
  };
11576
11881
  var Clear_default2 = Clear2;
@@ -11720,7 +12025,7 @@ function create_default_slot11(ctx) {
11720
12025
  }
11721
12026
  };
11722
12027
  }
11723
- function create_fragment71(ctx) {
12028
+ function create_fragment73(ctx) {
11724
12029
  let button;
11725
12030
  let current;
11726
12031
  const button_spread_levels = [
@@ -11789,7 +12094,7 @@ function create_fragment71(ctx) {
11789
12094
  }
11790
12095
  };
11791
12096
  }
11792
- function instance71($$self, $$props, $$invalidate) {
12097
+ function instance73($$self, $$props, $$invalidate) {
11793
12098
  let { btn_props = {} } = $$props;
11794
12099
  let { content } = $$props;
11795
12100
  let { appliance } = $$props;
@@ -11812,7 +12117,7 @@ function instance71($$self, $$props, $$invalidate) {
11812
12117
  var Hand = class extends SvelteComponent {
11813
12118
  constructor(options) {
11814
12119
  super();
11815
- init(this, options, instance71, create_fragment71, safe_not_equal, {
12120
+ init(this, options, instance73, create_fragment73, safe_not_equal, {
11816
12121
  btn_props: 0,
11817
12122
  content: 1,
11818
12123
  appliance: 2,
@@ -11967,7 +12272,7 @@ function create_default_slot12(ctx) {
11967
12272
  }
11968
12273
  };
11969
12274
  }
11970
- function create_fragment72(ctx) {
12275
+ function create_fragment74(ctx) {
11971
12276
  let button;
11972
12277
  let current;
11973
12278
  const button_spread_levels = [
@@ -12036,7 +12341,7 @@ function create_fragment72(ctx) {
12036
12341
  }
12037
12342
  };
12038
12343
  }
12039
- function instance72($$self, $$props, $$invalidate) {
12344
+ function instance74($$self, $$props, $$invalidate) {
12040
12345
  let { btn_props = {} } = $$props;
12041
12346
  let { content } = $$props;
12042
12347
  let { appliance } = $$props;
@@ -12059,7 +12364,7 @@ function instance72($$self, $$props, $$invalidate) {
12059
12364
  var Laser2 = class extends SvelteComponent {
12060
12365
  constructor(options) {
12061
12366
  super();
12062
- init(this, options, instance72, create_fragment72, safe_not_equal, {
12367
+ init(this, options, instance74, create_fragment74, safe_not_equal, {
12063
12368
  btn_props: 0,
12064
12369
  content: 1,
12065
12370
  appliance: 2,
@@ -12070,7 +12375,7 @@ var Laser2 = class extends SvelteComponent {
12070
12375
  var Laser_default2 = Laser2;
12071
12376
 
12072
12377
  // src/components/Toolbar/components/EraserSize.svelte
12073
- function create_fragment73(ctx) {
12378
+ function create_fragment75(ctx) {
12074
12379
  let slider;
12075
12380
  let current;
12076
12381
  const slider_spread_levels = [
@@ -12126,7 +12431,7 @@ function create_fragment73(ctx) {
12126
12431
  }
12127
12432
  };
12128
12433
  }
12129
- function instance73($$self, $$props, $$invalidate) {
12434
+ function instance75($$self, $$props, $$invalidate) {
12130
12435
  let memberState;
12131
12436
  let value;
12132
12437
  let props;
@@ -12167,7 +12472,7 @@ function instance73($$self, $$props, $$invalidate) {
12167
12472
  var EraserSize = class extends SvelteComponent {
12168
12473
  constructor(options) {
12169
12474
  super();
12170
- init(this, options, instance73, create_fragment73, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
12475
+ init(this, options, instance75, create_fragment75, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
12171
12476
  }
12172
12477
  };
12173
12478
  var EraserSize_default = EraserSize;
@@ -12175,42 +12480,42 @@ var EraserSize_default = EraserSize;
12175
12480
  // src/components/Toolbar/components/Contents.svelte
12176
12481
  function get_each_context4(ctx, list, i) {
12177
12482
  const child_ctx = ctx.slice();
12178
- child_ctx[58] = list[i];
12483
+ child_ctx[60] = list[i];
12179
12484
  const constants_0 = (
12180
12485
  /*netless_app*/
12181
- child_ctx[58]
12486
+ child_ctx[60]
12182
12487
  );
12183
- child_ctx[59] = constants_0.icon;
12184
- child_ctx[60] = constants_0.label;
12185
- child_ctx[61] = constants_0.kind;
12186
- child_ctx[62] = constants_0.onClick;
12488
+ child_ctx[61] = constants_0.icon;
12489
+ child_ctx[62] = constants_0.label;
12490
+ child_ctx[63] = constants_0.kind;
12491
+ child_ctx[64] = constants_0.onClick;
12187
12492
  const constants_1 = (
12188
12493
  /*$status*/
12189
12494
  child_ctx[26] && /*$status*/
12190
12495
  child_ctx[26][
12191
12496
  /*kind*/
12192
- child_ctx[61]
12497
+ child_ctx[63]
12193
12498
  ]
12194
12499
  );
12195
- child_ctx[63] = constants_1;
12500
+ child_ctx[65] = constants_1;
12196
12501
  const constants_2 = function func() {
12197
12502
  return (
12198
12503
  /*func*/
12199
- ctx[54](
12504
+ ctx[56](
12200
12505
  /*onClick*/
12201
- child_ctx[62]
12506
+ child_ctx[64]
12202
12507
  )
12203
12508
  );
12204
12509
  };
12205
- child_ctx[64] = constants_2;
12510
+ child_ctx[66] = constants_2;
12206
12511
  return child_ctx;
12207
12512
  }
12208
12513
  function get_each_context_1(ctx, list, i) {
12209
12514
  const child_ctx = ctx.slice();
12210
- child_ctx[67] = list[i];
12515
+ child_ctx[69] = list[i];
12211
12516
  return child_ctx;
12212
12517
  }
12213
- function create_if_block_23(ctx) {
12518
+ function create_if_block_25(ctx) {
12214
12519
  let button;
12215
12520
  let current;
12216
12521
  const button_spread_levels = [
@@ -12219,7 +12524,7 @@ function create_if_block_23(ctx) {
12219
12524
  ctx[17]
12220
12525
  ];
12221
12526
  let button_props = {
12222
- $$slots: { default: [create_default_slot_122] },
12527
+ $$slots: { default: [create_default_slot_14] },
12223
12528
  $$scope: { ctx }
12224
12529
  };
12225
12530
  for (let i = 0; i < button_spread_levels.length; i += 1) {
@@ -12247,7 +12552,7 @@ function create_if_block_23(ctx) {
12247
12552
  )]) : {};
12248
12553
  if (dirty[0] & /*theme*/
12249
12554
  2 | dirty[2] & /*$$scope*/
12250
- 256) {
12555
+ 1024) {
12251
12556
  button_changes.$$scope = { dirty, ctx: ctx2 };
12252
12557
  }
12253
12558
  button.$set(button_changes);
@@ -12267,7 +12572,7 @@ function create_if_block_23(ctx) {
12267
12572
  }
12268
12573
  };
12269
12574
  }
12270
- function create_default_slot_122(ctx) {
12575
+ function create_default_slot_14(ctx) {
12271
12576
  let icons_up;
12272
12577
  let current;
12273
12578
  icons_up = new Icons_default.Up({ props: { theme: (
@@ -12305,7 +12610,7 @@ function create_default_slot_122(ctx) {
12305
12610
  }
12306
12611
  };
12307
12612
  }
12308
- function create_if_block_222(ctx) {
12613
+ function create_if_block_24(ctx) {
12309
12614
  let laser;
12310
12615
  let current;
12311
12616
  laser = new Laser_default2({
@@ -12376,7 +12681,7 @@ function create_if_block_222(ctx) {
12376
12681
  }
12377
12682
  };
12378
12683
  }
12379
- function create_if_block_21(ctx) {
12684
+ function create_if_block_23(ctx) {
12380
12685
  let hand_1;
12381
12686
  let current;
12382
12687
  hand_1 = new Hand_default({
@@ -12447,7 +12752,7 @@ function create_if_block_21(ctx) {
12447
12752
  }
12448
12753
  };
12449
12754
  }
12450
- function create_if_block_20(ctx) {
12755
+ function create_if_block_222(ctx) {
12451
12756
  let clear_1;
12452
12757
  let current;
12453
12758
  clear_1 = new Clear_default2({
@@ -12510,7 +12815,7 @@ function create_if_block_20(ctx) {
12510
12815
  }
12511
12816
  };
12512
12817
  }
12513
- function create_if_block_19(ctx) {
12818
+ function create_if_block_21(ctx) {
12514
12819
  let eraser_1;
12515
12820
  let current;
12516
12821
  eraser_1 = new Eraser_default2({
@@ -12603,7 +12908,7 @@ function create_if_block_19(ctx) {
12603
12908
  }
12604
12909
  };
12605
12910
  }
12606
- function create_if_block_18(ctx) {
12911
+ function create_if_block_20(ctx) {
12607
12912
  let shapes2;
12608
12913
  let current;
12609
12914
  shapes2 = new Shapes_default({
@@ -12685,7 +12990,7 @@ function create_if_block_18(ctx) {
12685
12990
  }
12686
12991
  };
12687
12992
  }
12688
- function create_if_block_17(ctx) {
12993
+ function create_if_block_19(ctx) {
12689
12994
  let text_1;
12690
12995
  let current;
12691
12996
  text_1 = new Text_default2({
@@ -12764,7 +13069,7 @@ function create_if_block_17(ctx) {
12764
13069
  }
12765
13070
  };
12766
13071
  }
12767
- function create_if_block_16(ctx) {
13072
+ function create_if_block_18(ctx) {
12768
13073
  let pencil_1;
12769
13074
  let current;
12770
13075
  pencil_1 = new Pencil_default2({
@@ -12851,7 +13156,7 @@ function create_if_block_16(ctx) {
12851
13156
  }
12852
13157
  };
12853
13158
  }
12854
- function create_if_block_15(ctx) {
13159
+ function create_if_block_17(ctx) {
12855
13160
  let selector_1;
12856
13161
  let current;
12857
13162
  selector_1 = new Selector_default2({
@@ -12922,7 +13227,7 @@ function create_if_block_15(ctx) {
12922
13227
  }
12923
13228
  };
12924
13229
  }
12925
- function create_if_block_14(ctx) {
13230
+ function create_if_block_16(ctx) {
12926
13231
  let clicker_1;
12927
13232
  let current;
12928
13233
  clicker_1 = new Clicker_default({
@@ -12999,61 +13304,61 @@ function create_each_block_1(ctx) {
12999
13304
  let if_block_anchor;
13000
13305
  let current;
13001
13306
  const if_block_creators = [
13002
- create_if_block_14,
13003
- create_if_block_15,
13004
13307
  create_if_block_16,
13005
13308
  create_if_block_17,
13006
13309
  create_if_block_18,
13007
13310
  create_if_block_19,
13008
13311
  create_if_block_20,
13009
13312
  create_if_block_21,
13010
- create_if_block_222
13313
+ create_if_block_222,
13314
+ create_if_block_23,
13315
+ create_if_block_24
13011
13316
  ];
13012
13317
  const if_blocks = [];
13013
13318
  function select_block_type(ctx2, dirty) {
13014
13319
  if (
13015
13320
  /*item*/
13016
- ctx2[67] === "clicker"
13321
+ ctx2[69] === "clicker"
13017
13322
  )
13018
13323
  return 0;
13019
13324
  if (
13020
13325
  /*item*/
13021
- ctx2[67] === "selector"
13326
+ ctx2[69] === "selector"
13022
13327
  )
13023
13328
  return 1;
13024
13329
  if (
13025
13330
  /*item*/
13026
- ctx2[67] === "pencil"
13331
+ ctx2[69] === "pencil"
13027
13332
  )
13028
13333
  return 2;
13029
13334
  if (
13030
13335
  /*item*/
13031
- ctx2[67] === "text"
13336
+ ctx2[69] === "text"
13032
13337
  )
13033
13338
  return 3;
13034
13339
  if (
13035
13340
  /*item*/
13036
- ctx2[67] === "shapes"
13341
+ ctx2[69] === "shapes"
13037
13342
  )
13038
13343
  return 4;
13039
13344
  if (
13040
13345
  /*item*/
13041
- ctx2[67] === "eraser"
13346
+ ctx2[69] === "eraser"
13042
13347
  )
13043
13348
  return 5;
13044
13349
  if (
13045
13350
  /*item*/
13046
- ctx2[67] === "clear"
13351
+ ctx2[69] === "clear"
13047
13352
  )
13048
13353
  return 6;
13049
13354
  if (
13050
13355
  /*item*/
13051
- ctx2[67] === "hand"
13356
+ ctx2[69] === "hand"
13052
13357
  )
13053
13358
  return 7;
13054
13359
  if (
13055
13360
  /*item*/
13056
- ctx2[67] === "laserPointer"
13361
+ ctx2[69] === "laserPointer"
13057
13362
  )
13058
13363
  return 8;
13059
13364
  return -1;
@@ -13123,7 +13428,7 @@ function create_each_block_1(ctx) {
13123
13428
  }
13124
13429
  };
13125
13430
  }
13126
- function create_if_block_132(ctx) {
13431
+ function create_if_block_15(ctx) {
13127
13432
  let button;
13128
13433
  let current;
13129
13434
  const button_spread_levels = [
@@ -13146,7 +13451,7 @@ function create_if_block_132(ctx) {
13146
13451
  }
13147
13452
  ];
13148
13453
  let button_props = {
13149
- $$slots: { default: [create_default_slot_11] },
13454
+ $$slots: { default: [create_default_slot_132] },
13150
13455
  $$scope: { ctx }
13151
13456
  };
13152
13457
  for (let i = 0; i < button_spread_levels.length; i += 1) {
@@ -13190,7 +13495,7 @@ function create_if_block_132(ctx) {
13190
13495
  ]) : {};
13191
13496
  if (dirty[0] & /*theme*/
13192
13497
  2 | dirty[2] & /*$$scope*/
13193
- 256) {
13498
+ 1024) {
13194
13499
  button_changes.$$scope = { dirty, ctx: ctx2 };
13195
13500
  }
13196
13501
  button.$set(button_changes);
@@ -13210,7 +13515,7 @@ function create_if_block_132(ctx) {
13210
13515
  }
13211
13516
  };
13212
13517
  }
13213
- function create_default_slot_11(ctx) {
13518
+ function create_default_slot_132(ctx) {
13214
13519
  let icons_apps;
13215
13520
  let current;
13216
13521
  icons_apps = new Icons_default.Apps({ props: { theme: (
@@ -13248,7 +13553,7 @@ function create_default_slot_11(ctx) {
13248
13553
  }
13249
13554
  };
13250
13555
  }
13251
- function create_if_block_122(ctx) {
13556
+ function create_if_block_14(ctx) {
13252
13557
  let button;
13253
13558
  let current;
13254
13559
  button = new Button_default({
@@ -13263,7 +13568,7 @@ function create_if_block_122(ctx) {
13263
13568
  /*disabled*/
13264
13569
  ctx[3]
13265
13570
  ),
13266
- $$slots: { default: [create_default_slot_10] },
13571
+ $$slots: { default: [create_default_slot_122] },
13267
13572
  $$scope: { ctx }
13268
13573
  }
13269
13574
  });
@@ -13292,7 +13597,7 @@ function create_if_block_122(ctx) {
13292
13597
  ctx2[3];
13293
13598
  if (dirty[0] & /*theme*/
13294
13599
  2 | dirty[2] & /*$$scope*/
13295
- 256) {
13600
+ 1024) {
13296
13601
  button_changes.$$scope = { dirty, ctx: ctx2 };
13297
13602
  }
13298
13603
  button.$set(button_changes);
@@ -13312,7 +13617,7 @@ function create_if_block_122(ctx) {
13312
13617
  }
13313
13618
  };
13314
13619
  }
13315
- function create_default_slot_10(ctx) {
13620
+ function create_default_slot_122(ctx) {
13316
13621
  let icons_down;
13317
13622
  let current;
13318
13623
  icons_down = new Icons_default.Down({ props: { theme: (
@@ -13359,9 +13664,12 @@ function create_if_block_52(ctx) {
13359
13664
  let t1;
13360
13665
  let current_block_type_index_2;
13361
13666
  let if_block2;
13362
- let if_block2_anchor;
13667
+ let t2;
13668
+ let current_block_type_index_3;
13669
+ let if_block3;
13670
+ let if_block3_anchor;
13363
13671
  let current;
13364
- const if_block_creators = [create_if_block_10, create_if_block_11];
13672
+ const if_block_creators = [create_if_block_122, create_if_block_132];
13365
13673
  const if_blocks = [];
13366
13674
  function select_block_type_1(ctx2, dirty) {
13367
13675
  if (
@@ -13379,9 +13687,27 @@ function create_if_block_52(ctx) {
13379
13687
  if (~(current_block_type_index = select_block_type_1(ctx))) {
13380
13688
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
13381
13689
  }
13382
- const if_block_creators_1 = [create_if_block_8, create_if_block_9];
13690
+ const if_block_creators_1 = [create_if_block_10, create_if_block_11];
13383
13691
  const if_blocks_1 = [];
13384
13692
  function select_block_type_2(ctx2, dirty) {
13693
+ if (
13694
+ /*pencilType*/
13695
+ ctx2[20] === "stroke"
13696
+ )
13697
+ return 0;
13698
+ if (
13699
+ /*pencilType*/
13700
+ ctx2[20] !== "stroke"
13701
+ )
13702
+ return 1;
13703
+ return -1;
13704
+ }
13705
+ if (~(current_block_type_index_1 = select_block_type_2(ctx))) {
13706
+ if_block1 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
13707
+ }
13708
+ const if_block_creators_2 = [create_if_block_8, create_if_block_9];
13709
+ const if_blocks_2 = [];
13710
+ function select_block_type_3(ctx2, dirty) {
13385
13711
  if (
13386
13712
  /*showLaserPen*/
13387
13713
  ctx2[21] && /*pencilType*/
@@ -13396,12 +13722,12 @@ function create_if_block_52(ctx) {
13396
13722
  return 1;
13397
13723
  return -1;
13398
13724
  }
13399
- if (~(current_block_type_index_1 = select_block_type_2(ctx))) {
13400
- if_block1 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
13725
+ if (~(current_block_type_index_2 = select_block_type_3(ctx))) {
13726
+ if_block2 = if_blocks_2[current_block_type_index_2] = if_block_creators_2[current_block_type_index_2](ctx);
13401
13727
  }
13402
- const if_block_creators_2 = [create_if_block_6, create_if_block_7];
13403
- const if_blocks_2 = [];
13404
- function select_block_type_3(ctx2, dirty) {
13728
+ const if_block_creators_3 = [create_if_block_62, create_if_block_72];
13729
+ const if_blocks_3 = [];
13730
+ function select_block_type_4(ctx2, dirty) {
13405
13731
  if (
13406
13732
  /*pencilType*/
13407
13733
  ctx2[20] === "mark"
@@ -13414,8 +13740,8 @@ function create_if_block_52(ctx) {
13414
13740
  return 1;
13415
13741
  return -1;
13416
13742
  }
13417
- if (~(current_block_type_index_2 = select_block_type_3(ctx))) {
13418
- if_block2 = if_blocks_2[current_block_type_index_2] = if_block_creators_2[current_block_type_index_2](ctx);
13743
+ if (~(current_block_type_index_3 = select_block_type_4(ctx))) {
13744
+ if_block3 = if_blocks_3[current_block_type_index_3] = if_block_creators_3[current_block_type_index_3](ctx);
13419
13745
  }
13420
13746
  return {
13421
13747
  c() {
@@ -13427,7 +13753,10 @@ function create_if_block_52(ctx) {
13427
13753
  t1 = space();
13428
13754
  if (if_block2)
13429
13755
  if_block2.c();
13430
- if_block2_anchor = empty();
13756
+ t2 = space();
13757
+ if (if_block3)
13758
+ if_block3.c();
13759
+ if_block3_anchor = empty();
13431
13760
  },
13432
13761
  m(target, anchor) {
13433
13762
  if (~current_block_type_index) {
@@ -13441,7 +13770,11 @@ function create_if_block_52(ctx) {
13441
13770
  if (~current_block_type_index_2) {
13442
13771
  if_blocks_2[current_block_type_index_2].m(target, anchor);
13443
13772
  }
13444
- insert(target, if_block2_anchor, anchor);
13773
+ insert(target, t2, anchor);
13774
+ if (~current_block_type_index_3) {
13775
+ if_blocks_3[current_block_type_index_3].m(target, anchor);
13776
+ }
13777
+ insert(target, if_block3_anchor, anchor);
13445
13778
  current = true;
13446
13779
  },
13447
13780
  p(ctx2, dirty) {
@@ -13524,42 +13857,274 @@ function create_if_block_52(ctx) {
13524
13857
  if_block2.p(ctx2, dirty);
13525
13858
  }
13526
13859
  transition_in(if_block2, 1);
13527
- if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
13860
+ if_block2.m(t2.parentNode, t2);
13528
13861
  } else {
13529
13862
  if_block2 = null;
13530
13863
  }
13531
13864
  }
13865
+ let previous_block_index_3 = current_block_type_index_3;
13866
+ current_block_type_index_3 = select_block_type_4(ctx2);
13867
+ if (current_block_type_index_3 === previous_block_index_3) {
13868
+ if (~current_block_type_index_3) {
13869
+ if_blocks_3[current_block_type_index_3].p(ctx2, dirty);
13870
+ }
13871
+ } else {
13872
+ if (if_block3) {
13873
+ group_outros();
13874
+ transition_out(if_blocks_3[previous_block_index_3], 1, 1, () => {
13875
+ if_blocks_3[previous_block_index_3] = null;
13876
+ });
13877
+ check_outros();
13878
+ }
13879
+ if (~current_block_type_index_3) {
13880
+ if_block3 = if_blocks_3[current_block_type_index_3];
13881
+ if (!if_block3) {
13882
+ if_block3 = if_blocks_3[current_block_type_index_3] = if_block_creators_3[current_block_type_index_3](ctx2);
13883
+ if_block3.c();
13884
+ } else {
13885
+ if_block3.p(ctx2, dirty);
13886
+ }
13887
+ transition_in(if_block3, 1);
13888
+ if_block3.m(if_block3_anchor.parentNode, if_block3_anchor);
13889
+ } else {
13890
+ if_block3 = null;
13891
+ }
13892
+ }
13893
+ },
13894
+ i(local) {
13895
+ if (current)
13896
+ return;
13897
+ transition_in(if_block0);
13898
+ transition_in(if_block1);
13899
+ transition_in(if_block2);
13900
+ transition_in(if_block3);
13901
+ current = true;
13902
+ },
13903
+ o(local) {
13904
+ transition_out(if_block0);
13905
+ transition_out(if_block1);
13906
+ transition_out(if_block2);
13907
+ transition_out(if_block3);
13908
+ current = false;
13909
+ },
13910
+ d(detaching) {
13911
+ if (~current_block_type_index) {
13912
+ if_blocks[current_block_type_index].d(detaching);
13913
+ }
13914
+ if (detaching)
13915
+ detach(t0);
13916
+ if (~current_block_type_index_1) {
13917
+ if_blocks_1[current_block_type_index_1].d(detaching);
13918
+ }
13919
+ if (detaching)
13920
+ detach(t1);
13921
+ if (~current_block_type_index_2) {
13922
+ if_blocks_2[current_block_type_index_2].d(detaching);
13923
+ }
13924
+ if (detaching)
13925
+ detach(t2);
13926
+ if (~current_block_type_index_3) {
13927
+ if_blocks_3[current_block_type_index_3].d(detaching);
13928
+ }
13929
+ if (detaching)
13930
+ detach(if_block3_anchor);
13931
+ }
13932
+ };
13933
+ }
13934
+ function create_if_block_132(ctx) {
13935
+ let button;
13936
+ let current;
13937
+ const button_spread_levels = [
13938
+ { class: name5 + "-panel-switch-btn" },
13939
+ /*btn_props*/
13940
+ ctx[17]
13941
+ ];
13942
+ let button_props = {
13943
+ $$slots: { default: [create_default_slot_11] },
13944
+ $$scope: { ctx }
13945
+ };
13946
+ for (let i = 0; i < button_spread_levels.length; i += 1) {
13947
+ button_props = assign(button_props, button_spread_levels[i]);
13948
+ }
13949
+ button = new Button_default({ props: button_props });
13950
+ return {
13951
+ c() {
13952
+ create_component(button.$$.fragment);
13953
+ },
13954
+ m(target, anchor) {
13955
+ mount_component(button, target, anchor);
13956
+ current = true;
13957
+ },
13958
+ p(ctx2, dirty) {
13959
+ const button_changes = dirty[0] & /*btn_props*/
13960
+ 131072 ? get_spread_update(button_spread_levels, [
13961
+ dirty & /*name*/
13962
+ 0 && { class: name5 + "-panel-switch-btn" },
13963
+ dirty[0] & /*btn_props*/
13964
+ 131072 && get_spread_object(
13965
+ /*btn_props*/
13966
+ ctx2[17]
13967
+ )
13968
+ ]) : {};
13969
+ if (dirty[0] & /*theme*/
13970
+ 2 | dirty[2] & /*$$scope*/
13971
+ 1024) {
13972
+ button_changes.$$scope = { dirty, ctx: ctx2 };
13973
+ }
13974
+ button.$set(button_changes);
13975
+ },
13976
+ i(local) {
13977
+ if (current)
13978
+ return;
13979
+ transition_in(button.$$.fragment, local);
13980
+ current = true;
13981
+ },
13982
+ o(local) {
13983
+ transition_out(button.$$.fragment, local);
13984
+ current = false;
13985
+ },
13986
+ d(detaching) {
13987
+ destroy_component(button, detaching);
13988
+ }
13989
+ };
13990
+ }
13991
+ function create_if_block_122(ctx) {
13992
+ let button;
13993
+ let current;
13994
+ const button_spread_levels = [
13995
+ { class: name5 + "-panel-switch-btn" },
13996
+ /*btn_props*/
13997
+ ctx[17]
13998
+ ];
13999
+ let button_props = {
14000
+ $$slots: { default: [create_default_slot_10] },
14001
+ $$scope: { ctx }
14002
+ };
14003
+ for (let i = 0; i < button_spread_levels.length; i += 1) {
14004
+ button_props = assign(button_props, button_spread_levels[i]);
14005
+ }
14006
+ button = new Button_default({ props: button_props });
14007
+ button.$on(
14008
+ "click",
14009
+ /*useNormalPencil*/
14010
+ ctx[38]
14011
+ );
14012
+ return {
14013
+ c() {
14014
+ create_component(button.$$.fragment);
14015
+ },
14016
+ m(target, anchor) {
14017
+ mount_component(button, target, anchor);
14018
+ current = true;
14019
+ },
14020
+ p(ctx2, dirty) {
14021
+ const button_changes = dirty[0] & /*btn_props*/
14022
+ 131072 ? get_spread_update(button_spread_levels, [
14023
+ dirty & /*name*/
14024
+ 0 && { class: name5 + "-panel-switch-btn" },
14025
+ dirty[0] & /*btn_props*/
14026
+ 131072 && get_spread_object(
14027
+ /*btn_props*/
14028
+ ctx2[17]
14029
+ )
14030
+ ]) : {};
14031
+ if (dirty[0] & /*theme*/
14032
+ 2 | dirty[2] & /*$$scope*/
14033
+ 1024) {
14034
+ button_changes.$$scope = { dirty, ctx: ctx2 };
14035
+ }
14036
+ button.$set(button_changes);
14037
+ },
14038
+ i(local) {
14039
+ if (current)
14040
+ return;
14041
+ transition_in(button.$$.fragment, local);
14042
+ current = true;
14043
+ },
14044
+ o(local) {
14045
+ transition_out(button.$$.fragment, local);
14046
+ current = false;
14047
+ },
14048
+ d(detaching) {
14049
+ destroy_component(button, detaching);
14050
+ }
14051
+ };
14052
+ }
14053
+ function create_default_slot_11(ctx) {
14054
+ let icons_pencilfilled;
14055
+ let current;
14056
+ icons_pencilfilled = new Icons_default.PencilFilled({
14057
+ props: { theme: (
14058
+ /*theme*/
14059
+ ctx[1]
14060
+ ), active: true }
14061
+ });
14062
+ return {
14063
+ c() {
14064
+ create_component(icons_pencilfilled.$$.fragment);
14065
+ },
14066
+ m(target, anchor) {
14067
+ mount_component(icons_pencilfilled, target, anchor);
14068
+ current = true;
14069
+ },
14070
+ p(ctx2, dirty) {
14071
+ const icons_pencilfilled_changes = {};
14072
+ if (dirty[0] & /*theme*/
14073
+ 2)
14074
+ icons_pencilfilled_changes.theme = /*theme*/
14075
+ ctx2[1];
14076
+ icons_pencilfilled.$set(icons_pencilfilled_changes);
14077
+ },
14078
+ i(local) {
14079
+ if (current)
14080
+ return;
14081
+ transition_in(icons_pencilfilled.$$.fragment, local);
14082
+ current = true;
14083
+ },
14084
+ o(local) {
14085
+ transition_out(icons_pencilfilled.$$.fragment, local);
14086
+ current = false;
14087
+ },
14088
+ d(detaching) {
14089
+ destroy_component(icons_pencilfilled, detaching);
14090
+ }
14091
+ };
14092
+ }
14093
+ function create_default_slot_10(ctx) {
14094
+ let icons_pencil;
14095
+ let current;
14096
+ icons_pencil = new Icons_default.Pencil({ props: { theme: (
14097
+ /*theme*/
14098
+ ctx[1]
14099
+ ) } });
14100
+ return {
14101
+ c() {
14102
+ create_component(icons_pencil.$$.fragment);
14103
+ },
14104
+ m(target, anchor) {
14105
+ mount_component(icons_pencil, target, anchor);
14106
+ current = true;
14107
+ },
14108
+ p(ctx2, dirty) {
14109
+ const icons_pencil_changes = {};
14110
+ if (dirty[0] & /*theme*/
14111
+ 2)
14112
+ icons_pencil_changes.theme = /*theme*/
14113
+ ctx2[1];
14114
+ icons_pencil.$set(icons_pencil_changes);
13532
14115
  },
13533
14116
  i(local) {
13534
14117
  if (current)
13535
14118
  return;
13536
- transition_in(if_block0);
13537
- transition_in(if_block1);
13538
- transition_in(if_block2);
14119
+ transition_in(icons_pencil.$$.fragment, local);
13539
14120
  current = true;
13540
14121
  },
13541
14122
  o(local) {
13542
- transition_out(if_block0);
13543
- transition_out(if_block1);
13544
- transition_out(if_block2);
14123
+ transition_out(icons_pencil.$$.fragment, local);
13545
14124
  current = false;
13546
14125
  },
13547
14126
  d(detaching) {
13548
- if (~current_block_type_index) {
13549
- if_blocks[current_block_type_index].d(detaching);
13550
- }
13551
- if (detaching)
13552
- detach(t0);
13553
- if (~current_block_type_index_1) {
13554
- if_blocks_1[current_block_type_index_1].d(detaching);
13555
- }
13556
- if (detaching)
13557
- detach(t1);
13558
- if (~current_block_type_index_2) {
13559
- if_blocks_2[current_block_type_index_2].d(detaching);
13560
- }
13561
- if (detaching)
13562
- detach(if_block2_anchor);
14127
+ destroy_component(icons_pencil, detaching);
13563
14128
  }
13564
14129
  };
13565
14130
  }
@@ -13579,6 +14144,11 @@ function create_if_block_11(ctx) {
13579
14144
  button_props = assign(button_props, button_spread_levels[i]);
13580
14145
  }
13581
14146
  button = new Button_default({ props: button_props });
14147
+ button.$on(
14148
+ "click",
14149
+ /*useStrokePencil*/
14150
+ ctx[39]
14151
+ );
13582
14152
  return {
13583
14153
  c() {
13584
14154
  create_component(button.$$.fragment);
@@ -13600,7 +14170,7 @@ function create_if_block_11(ctx) {
13600
14170
  ]) : {};
13601
14171
  if (dirty[0] & /*theme*/
13602
14172
  2 | dirty[2] & /*$$scope*/
13603
- 256) {
14173
+ 1024) {
13604
14174
  button_changes.$$scope = { dirty, ctx: ctx2 };
13605
14175
  }
13606
14176
  button.$set(button_changes);
@@ -13636,11 +14206,6 @@ function create_if_block_10(ctx) {
13636
14206
  button_props = assign(button_props, button_spread_levels[i]);
13637
14207
  }
13638
14208
  button = new Button_default({ props: button_props });
13639
- button.$on(
13640
- "click",
13641
- /*usePencil*/
13642
- ctx[38]
13643
- );
13644
14209
  return {
13645
14210
  c() {
13646
14211
  create_component(button.$$.fragment);
@@ -13662,7 +14227,7 @@ function create_if_block_10(ctx) {
13662
14227
  ]) : {};
13663
14228
  if (dirty[0] & /*theme*/
13664
14229
  2 | dirty[2] & /*$$scope*/
13665
- 256) {
14230
+ 1024) {
13666
14231
  button_changes.$$scope = { dirty, ctx: ctx2 };
13667
14232
  }
13668
14233
  button.$set(button_changes);
@@ -13683,80 +14248,80 @@ function create_if_block_10(ctx) {
13683
14248
  };
13684
14249
  }
13685
14250
  function create_default_slot_9(ctx) {
13686
- let icons_pencilfilled;
14251
+ let icons_strokepencil;
13687
14252
  let current;
13688
- icons_pencilfilled = new Icons_default.PencilFilled({
13689
- props: { theme: (
13690
- /*theme*/
13691
- ctx[1]
13692
- ), active: true }
13693
- });
14253
+ icons_strokepencil = new Icons_default.StrokePencil({ props: { theme: (
14254
+ /*theme*/
14255
+ ctx[1]
14256
+ ) } });
13694
14257
  return {
13695
14258
  c() {
13696
- create_component(icons_pencilfilled.$$.fragment);
14259
+ create_component(icons_strokepencil.$$.fragment);
13697
14260
  },
13698
14261
  m(target, anchor) {
13699
- mount_component(icons_pencilfilled, target, anchor);
14262
+ mount_component(icons_strokepencil, target, anchor);
13700
14263
  current = true;
13701
14264
  },
13702
14265
  p(ctx2, dirty) {
13703
- const icons_pencilfilled_changes = {};
14266
+ const icons_strokepencil_changes = {};
13704
14267
  if (dirty[0] & /*theme*/
13705
14268
  2)
13706
- icons_pencilfilled_changes.theme = /*theme*/
14269
+ icons_strokepencil_changes.theme = /*theme*/
13707
14270
  ctx2[1];
13708
- icons_pencilfilled.$set(icons_pencilfilled_changes);
14271
+ icons_strokepencil.$set(icons_strokepencil_changes);
13709
14272
  },
13710
14273
  i(local) {
13711
14274
  if (current)
13712
14275
  return;
13713
- transition_in(icons_pencilfilled.$$.fragment, local);
14276
+ transition_in(icons_strokepencil.$$.fragment, local);
13714
14277
  current = true;
13715
14278
  },
13716
14279
  o(local) {
13717
- transition_out(icons_pencilfilled.$$.fragment, local);
14280
+ transition_out(icons_strokepencil.$$.fragment, local);
13718
14281
  current = false;
13719
14282
  },
13720
14283
  d(detaching) {
13721
- destroy_component(icons_pencilfilled, detaching);
14284
+ destroy_component(icons_strokepencil, detaching);
13722
14285
  }
13723
14286
  };
13724
14287
  }
13725
14288
  function create_default_slot_8(ctx) {
13726
- let icons_pencil;
14289
+ let icons_strokepencilfilled;
13727
14290
  let current;
13728
- icons_pencil = new Icons_default.Pencil({ props: { theme: (
13729
- /*theme*/
13730
- ctx[1]
13731
- ) } });
14291
+ icons_strokepencilfilled = new Icons_default.StrokePencilFilled({
14292
+ props: { theme: (
14293
+ /*theme*/
14294
+ ctx[1]
14295
+ ), active: true }
14296
+ });
13732
14297
  return {
13733
14298
  c() {
13734
- create_component(icons_pencil.$$.fragment);
14299
+ create_component(icons_strokepencilfilled.$$.fragment);
13735
14300
  },
13736
14301
  m(target, anchor) {
13737
- mount_component(icons_pencil, target, anchor);
14302
+ mount_component(icons_strokepencilfilled, target, anchor);
13738
14303
  current = true;
13739
14304
  },
13740
14305
  p(ctx2, dirty) {
13741
- const icons_pencil_changes = {};
14306
+ const icons_strokepencilfilled_changes = {};
13742
14307
  if (dirty[0] & /*theme*/
13743
14308
  2)
13744
- icons_pencil_changes.theme = /*theme*/
14309
+ icons_strokepencilfilled_changes.theme = /*theme*/
13745
14310
  ctx2[1];
13746
- icons_pencil.$set(icons_pencil_changes);
14311
+ icons_strokepencilfilled.$set(icons_strokepencilfilled_changes);
13747
14312
  },
13748
14313
  i(local) {
13749
14314
  if (current)
13750
14315
  return;
13751
- transition_in(icons_pencil.$$.fragment, local);
14316
+ transition_in(icons_strokepencilfilled.$$.fragment, local);
13752
14317
  current = true;
13753
14318
  },
13754
14319
  o(local) {
13755
- transition_out(icons_pencil.$$.fragment, local);
14320
+ transition_out(icons_strokepencilfilled.$$.fragment, local);
13756
14321
  current = false;
13757
14322
  },
13758
14323
  d(detaching) {
13759
- destroy_component(icons_pencil, detaching);
14324
+ destroy_component(icons_strokepencilfilled, detaching);
13760
14325
  }
13761
14326
  };
13762
14327
  }
@@ -13779,7 +14344,7 @@ function create_if_block_9(ctx) {
13779
14344
  button.$on(
13780
14345
  "click",
13781
14346
  /*useLaserPen*/
13782
- ctx[39]
14347
+ ctx[40]
13783
14348
  );
13784
14349
  return {
13785
14350
  c() {
@@ -13802,7 +14367,7 @@ function create_if_block_9(ctx) {
13802
14367
  ]) : {};
13803
14368
  if (dirty[0] & /*theme*/
13804
14369
  2 | dirty[2] & /*$$scope*/
13805
- 256) {
14370
+ 1024) {
13806
14371
  button_changes.$$scope = { dirty, ctx: ctx2 };
13807
14372
  }
13808
14373
  button.$set(button_changes);
@@ -13859,7 +14424,7 @@ function create_if_block_8(ctx) {
13859
14424
  ]) : {};
13860
14425
  if (dirty[0] & /*theme*/
13861
14426
  2 | dirty[2] & /*$$scope*/
13862
- 256) {
14427
+ 1024) {
13863
14428
  button_changes.$$scope = { dirty, ctx: ctx2 };
13864
14429
  }
13865
14430
  button.$set(button_changes);
@@ -13957,7 +14522,7 @@ function create_default_slot_6(ctx) {
13957
14522
  }
13958
14523
  };
13959
14524
  }
13960
- function create_if_block_7(ctx) {
14525
+ function create_if_block_72(ctx) {
13961
14526
  let button;
13962
14527
  let current;
13963
14528
  const button_spread_levels = [
@@ -13976,7 +14541,7 @@ function create_if_block_7(ctx) {
13976
14541
  button.$on(
13977
14542
  "click",
13978
14543
  /*useMarkPen*/
13979
- ctx[40]
14544
+ ctx[41]
13980
14545
  );
13981
14546
  return {
13982
14547
  c() {
@@ -13999,7 +14564,7 @@ function create_if_block_7(ctx) {
13999
14564
  ]) : {};
14000
14565
  if (dirty[0] & /*theme*/
14001
14566
  2 | dirty[2] & /*$$scope*/
14002
- 256) {
14567
+ 1024) {
14003
14568
  button_changes.$$scope = { dirty, ctx: ctx2 };
14004
14569
  }
14005
14570
  button.$set(button_changes);
@@ -14019,7 +14584,7 @@ function create_if_block_7(ctx) {
14019
14584
  }
14020
14585
  };
14021
14586
  }
14022
- function create_if_block_6(ctx) {
14587
+ function create_if_block_62(ctx) {
14023
14588
  let button;
14024
14589
  let current;
14025
14590
  const button_spread_levels = [
@@ -14056,7 +14621,7 @@ function create_if_block_6(ctx) {
14056
14621
  ]) : {};
14057
14622
  if (dirty[0] & /*theme*/
14058
14623
  2 | dirty[2] & /*$$scope*/
14059
- 256) {
14624
+ 1024) {
14060
14625
  button_changes.$$scope = { dirty, ctx: ctx2 };
14061
14626
  }
14062
14627
  button.$set(button_changes);
@@ -14164,7 +14729,7 @@ function create_if_block14(ctx) {
14164
14729
  let current;
14165
14730
  const if_block_creators = [create_if_block_33, create_if_block_42];
14166
14731
  const if_blocks = [];
14167
- function select_block_type_4(ctx2, dirty) {
14732
+ function select_block_type_5(ctx2, dirty) {
14168
14733
  if (
14169
14734
  /*eraserType*/
14170
14735
  ctx2[18] !== "eraser"
@@ -14177,12 +14742,12 @@ function create_if_block14(ctx) {
14177
14742
  return 1;
14178
14743
  return -1;
14179
14744
  }
14180
- if (~(current_block_type_index = select_block_type_4(ctx))) {
14745
+ if (~(current_block_type_index = select_block_type_5(ctx))) {
14181
14746
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
14182
14747
  }
14183
- const if_block_creators_1 = [create_if_block_110, create_if_block_24];
14748
+ const if_block_creators_1 = [create_if_block_110, create_if_block_26];
14184
14749
  const if_blocks_1 = [];
14185
- function select_block_type_5(ctx2, dirty) {
14750
+ function select_block_type_6(ctx2, dirty) {
14186
14751
  if (
14187
14752
  /*eraserType*/
14188
14753
  ctx2[18] === "pencilEraser"
@@ -14195,7 +14760,7 @@ function create_if_block14(ctx) {
14195
14760
  return 1;
14196
14761
  return -1;
14197
14762
  }
14198
- if (~(current_block_type_index_1 = select_block_type_5(ctx))) {
14763
+ if (~(current_block_type_index_1 = select_block_type_6(ctx))) {
14199
14764
  if_block1 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
14200
14765
  }
14201
14766
  return {
@@ -14220,7 +14785,7 @@ function create_if_block14(ctx) {
14220
14785
  },
14221
14786
  p(ctx2, dirty) {
14222
14787
  let previous_block_index = current_block_type_index;
14223
- current_block_type_index = select_block_type_4(ctx2);
14788
+ current_block_type_index = select_block_type_5(ctx2);
14224
14789
  if (current_block_type_index === previous_block_index) {
14225
14790
  if (~current_block_type_index) {
14226
14791
  if_blocks[current_block_type_index].p(ctx2, dirty);
@@ -14248,7 +14813,7 @@ function create_if_block14(ctx) {
14248
14813
  }
14249
14814
  }
14250
14815
  let previous_block_index_1 = current_block_type_index_1;
14251
- current_block_type_index_1 = select_block_type_5(ctx2);
14816
+ current_block_type_index_1 = select_block_type_6(ctx2);
14252
14817
  if (current_block_type_index_1 === previous_block_index_1) {
14253
14818
  if (~current_block_type_index_1) {
14254
14819
  if_blocks_1[current_block_type_index_1].p(ctx2, dirty);
@@ -14339,7 +14904,7 @@ function create_if_block_42(ctx) {
14339
14904
  ]) : {};
14340
14905
  if (dirty[0] & /*theme*/
14341
14906
  2 | dirty[2] & /*$$scope*/
14342
- 256) {
14907
+ 1024) {
14343
14908
  button_changes.$$scope = { dirty, ctx: ctx2 };
14344
14909
  }
14345
14910
  button.$set(button_changes);
@@ -14378,7 +14943,7 @@ function create_if_block_33(ctx) {
14378
14943
  button.$on(
14379
14944
  "click",
14380
14945
  /*useEraser*/
14381
- ctx[41]
14946
+ ctx[42]
14382
14947
  );
14383
14948
  return {
14384
14949
  c() {
@@ -14401,7 +14966,7 @@ function create_if_block_33(ctx) {
14401
14966
  ]) : {};
14402
14967
  if (dirty[0] & /*theme*/
14403
14968
  2 | dirty[2] & /*$$scope*/
14404
- 256) {
14969
+ 1024) {
14405
14970
  button_changes.$$scope = { dirty, ctx: ctx2 };
14406
14971
  }
14407
14972
  button.$set(button_changes);
@@ -14499,7 +15064,7 @@ function create_default_slot_24(ctx) {
14499
15064
  }
14500
15065
  };
14501
15066
  }
14502
- function create_if_block_24(ctx) {
15067
+ function create_if_block_26(ctx) {
14503
15068
  let button;
14504
15069
  let current;
14505
15070
  const button_spread_levels = [
@@ -14508,7 +15073,7 @@ function create_if_block_24(ctx) {
14508
15073
  ctx[17]
14509
15074
  ];
14510
15075
  let button_props = {
14511
- $$slots: { default: [create_default_slot_14] },
15076
+ $$slots: { default: [create_default_slot_15] },
14512
15077
  $$scope: { ctx }
14513
15078
  };
14514
15079
  for (let i = 0; i < button_spread_levels.length; i += 1) {
@@ -14518,7 +15083,7 @@ function create_if_block_24(ctx) {
14518
15083
  button.$on(
14519
15084
  "click",
14520
15085
  /*useEraserBitmap*/
14521
- ctx[42]
15086
+ ctx[43]
14522
15087
  );
14523
15088
  return {
14524
15089
  c() {
@@ -14541,7 +15106,7 @@ function create_if_block_24(ctx) {
14541
15106
  ]) : {};
14542
15107
  if (dirty[0] & /*theme*/
14543
15108
  2 | dirty[2] & /*$$scope*/
14544
- 256) {
15109
+ 1024) {
14545
15110
  button_changes.$$scope = { dirty, ctx: ctx2 };
14546
15111
  }
14547
15112
  button.$set(button_changes);
@@ -14598,7 +15163,7 @@ function create_if_block_110(ctx) {
14598
15163
  ]) : {};
14599
15164
  if (dirty[0] & /*theme*/
14600
15165
  2 | dirty[2] & /*$$scope*/
14601
- 256) {
15166
+ 1024) {
14602
15167
  button_changes.$$scope = { dirty, ctx: ctx2 };
14603
15168
  }
14604
15169
  button.$set(button_changes);
@@ -14618,7 +15183,7 @@ function create_if_block_110(ctx) {
14618
15183
  }
14619
15184
  };
14620
15185
  }
14621
- function create_default_slot_14(ctx) {
15186
+ function create_default_slot_15(ctx) {
14622
15187
  let icons_eraserbitmapfilled;
14623
15188
  let current;
14624
15189
  icons_eraserbitmapfilled = new Icons_default.EraserBitmapFilled({ props: { theme: (
@@ -14707,7 +15272,7 @@ function create_each_block4(ctx) {
14707
15272
  let span;
14708
15273
  let t1_value = (
14709
15274
  /*label*/
14710
- ctx[60] + ""
15275
+ ctx[62] + ""
14711
15276
  );
14712
15277
  let t1;
14713
15278
  let span_class_value;
@@ -14729,40 +15294,40 @@ function create_each_block4(ctx) {
14729
15294
  attr(img, "class", img_class_value = name5 + "-app-btn-icon " + /*theme*/
14730
15295
  ctx[1]);
14731
15296
  if (!src_url_equal(img.src, img_src_value = /*icon*/
14732
- ctx[59]))
15297
+ ctx[61]))
14733
15298
  attr(img, "src", img_src_value);
14734
15299
  attr(img, "alt", img_alt_value = /*kind*/
14735
- ctx[61]);
15300
+ ctx[63]);
14736
15301
  attr(img, "title", img_title_value = /*label*/
14737
- ctx[60]);
15302
+ ctx[62]);
14738
15303
  attr(span, "class", span_class_value = name5 + "-app-btn-text " + /*theme*/
14739
15304
  ctx[1]);
14740
15305
  attr(button, "class", button_class_value = name5 + "-app-btn " + /*kind*/
14741
- ctx[61] + " " + /*theme*/
15306
+ ctx[63] + " " + /*theme*/
14742
15307
  ctx[1]);
14743
15308
  attr(button, "title", button_title_value = /*label*/
14744
- ctx[60] + /*state*/
14745
- (ctx[63] && /*state*/
14746
- ctx[63].reason ? ": " + /*state*/
14747
- ctx[63].reason : ""));
15309
+ ctx[62] + /*state*/
15310
+ (ctx[65] && /*state*/
15311
+ ctx[65].reason ? ": " + /*state*/
15312
+ ctx[65].reason : ""));
14748
15313
  attr(button, "data-app-kind", button_data_app_kind_value = /*netless_app*/
14749
- ctx[58].kind);
15314
+ ctx[60].kind);
14750
15315
  button.disabled = button_disabled_value = /*state*/
14751
- ctx[63] && /*state*/
14752
- ctx[63].status !== "idle";
15316
+ ctx[65] && /*state*/
15317
+ ctx[65].status !== "idle";
14753
15318
  toggle_class(
14754
15319
  button,
14755
15320
  "is-loading",
14756
15321
  /*state*/
14757
- ctx[63] && /*state*/
14758
- ctx[63].status === "loading"
15322
+ ctx[65] && /*state*/
15323
+ ctx[65].status === "loading"
14759
15324
  );
14760
15325
  toggle_class(
14761
15326
  button,
14762
15327
  "is-failed",
14763
15328
  /*state*/
14764
- ctx[63] && /*state*/
14765
- ctx[63].status === "failed"
15329
+ ctx[65] && /*state*/
15330
+ ctx[65].status === "failed"
14766
15331
  );
14767
15332
  },
14768
15333
  m(target, anchor) {
@@ -14776,9 +15341,9 @@ function create_each_block4(ctx) {
14776
15341
  dispose = listen(button, "click", function() {
14777
15342
  if (is_function(
14778
15343
  /*on_click*/
14779
- ctx[64]
15344
+ ctx[66]
14780
15345
  ))
14781
- ctx[64].apply(this, arguments);
15346
+ ctx[66].apply(this, arguments);
14782
15347
  });
14783
15348
  mounted = true;
14784
15349
  }
@@ -14792,22 +15357,22 @@ function create_each_block4(ctx) {
14792
15357
  }
14793
15358
  if (dirty[0] & /*$apps*/
14794
15359
  33554432 && !src_url_equal(img.src, img_src_value = /*icon*/
14795
- ctx[59])) {
15360
+ ctx[61])) {
14796
15361
  attr(img, "src", img_src_value);
14797
15362
  }
14798
15363
  if (dirty[0] & /*$apps*/
14799
15364
  33554432 && img_alt_value !== (img_alt_value = /*kind*/
14800
- ctx[61])) {
15365
+ ctx[63])) {
14801
15366
  attr(img, "alt", img_alt_value);
14802
15367
  }
14803
15368
  if (dirty[0] & /*$apps*/
14804
15369
  33554432 && img_title_value !== (img_title_value = /*label*/
14805
- ctx[60])) {
15370
+ ctx[62])) {
14806
15371
  attr(img, "title", img_title_value);
14807
15372
  }
14808
15373
  if (dirty[0] & /*$apps*/
14809
15374
  33554432 && t1_value !== (t1_value = /*label*/
14810
- ctx[60] + ""))
15375
+ ctx[62] + ""))
14811
15376
  set_data(t1, t1_value);
14812
15377
  if (dirty[0] & /*theme*/
14813
15378
  2 && span_class_value !== (span_class_value = name5 + "-app-btn-text " + /*theme*/
@@ -14816,27 +15381,27 @@ function create_each_block4(ctx) {
14816
15381
  }
14817
15382
  if (dirty[0] & /*$apps, theme*/
14818
15383
  33554434 && button_class_value !== (button_class_value = name5 + "-app-btn " + /*kind*/
14819
- ctx[61] + " " + /*theme*/
15384
+ ctx[63] + " " + /*theme*/
14820
15385
  ctx[1])) {
14821
15386
  attr(button, "class", button_class_value);
14822
15387
  }
14823
15388
  if (dirty[0] & /*$apps, $status*/
14824
15389
  100663296 && button_title_value !== (button_title_value = /*label*/
14825
- ctx[60] + /*state*/
14826
- (ctx[63] && /*state*/
14827
- ctx[63].reason ? ": " + /*state*/
14828
- ctx[63].reason : ""))) {
15390
+ ctx[62] + /*state*/
15391
+ (ctx[65] && /*state*/
15392
+ ctx[65].reason ? ": " + /*state*/
15393
+ ctx[65].reason : ""))) {
14829
15394
  attr(button, "title", button_title_value);
14830
15395
  }
14831
15396
  if (dirty[0] & /*$apps*/
14832
15397
  33554432 && button_data_app_kind_value !== (button_data_app_kind_value = /*netless_app*/
14833
- ctx[58].kind)) {
15398
+ ctx[60].kind)) {
14834
15399
  attr(button, "data-app-kind", button_data_app_kind_value);
14835
15400
  }
14836
15401
  if (dirty[0] & /*$status, $apps*/
14837
15402
  100663296 && button_disabled_value !== (button_disabled_value = /*state*/
14838
- ctx[63] && /*state*/
14839
- ctx[63].status !== "idle")) {
15403
+ ctx[65] && /*state*/
15404
+ ctx[65].status !== "idle")) {
14840
15405
  button.disabled = button_disabled_value;
14841
15406
  }
14842
15407
  if (dirty[0] & /*$apps, theme, $status, $apps*/
@@ -14845,8 +15410,8 @@ function create_each_block4(ctx) {
14845
15410
  button,
14846
15411
  "is-loading",
14847
15412
  /*state*/
14848
- ctx[63] && /*state*/
14849
- ctx[63].status === "loading"
15413
+ ctx[65] && /*state*/
15414
+ ctx[65].status === "loading"
14850
15415
  );
14851
15416
  }
14852
15417
  if (dirty[0] & /*$apps, theme, $status, $apps*/
@@ -14855,8 +15420,8 @@ function create_each_block4(ctx) {
14855
15420
  button,
14856
15421
  "is-failed",
14857
15422
  /*state*/
14858
- ctx[63] && /*state*/
14859
- ctx[63].status === "failed"
15423
+ ctx[65] && /*state*/
15424
+ ctx[65].status === "failed"
14860
15425
  );
14861
15426
  }
14862
15427
  },
@@ -14868,7 +15433,7 @@ function create_each_block4(ctx) {
14868
15433
  }
14869
15434
  };
14870
15435
  }
14871
- function create_fragment74(ctx) {
15436
+ function create_fragment76(ctx) {
14872
15437
  var _a, _b;
14873
15438
  let t0;
14874
15439
  let div0;
@@ -14876,42 +15441,44 @@ function create_fragment74(ctx) {
14876
15441
  let scrollHeight_action;
14877
15442
  let t2;
14878
15443
  let t3;
14879
- let div11;
14880
- let div3;
15444
+ let div12;
15445
+ let div4;
14881
15446
  let div1;
14882
15447
  let t4;
14883
- let strokewidth0;
14884
- let t5;
14885
15448
  let div2;
15449
+ let t5;
15450
+ let strokewidth0;
14886
15451
  let t6;
14887
- let strokecolor0;
15452
+ let div3;
14888
15453
  let t7;
14889
- let div4;
14890
- let textcolor;
15454
+ let strokecolor0;
14891
15455
  let t8;
14892
- let div7;
14893
- let selectshapes;
14894
- let t9;
14895
15456
  let div5;
15457
+ let textcolor;
15458
+ let t9;
15459
+ let div8;
15460
+ let selectshapes;
14896
15461
  let t10;
14897
- let strokewidth1;
14898
- let t11;
14899
15462
  let div6;
15463
+ let t11;
15464
+ let strokewidth1;
14900
15465
  let t12;
14901
- let strokecolor1;
15466
+ let div7;
14902
15467
  let t13;
14903
- let div9;
14904
- let div8;
15468
+ let strokecolor1;
14905
15469
  let t14;
14906
- let erasersize;
14907
- let t15;
14908
15470
  let div10;
15471
+ let div9;
15472
+ let t15;
15473
+ let erasersize;
15474
+ let t16;
15475
+ let div11;
14909
15476
  let current;
14910
15477
  let mounted;
14911
15478
  let dispose;
14912
15479
  let if_block0 = (
14913
15480
  /*scrollable*/
14914
- ctx[5] && create_if_block_23(ctx)
15481
+ ctx[5] && create_if_block_25(ctx)
14915
15482
  );
14916
15483
  let each_value_1 = (
14917
15484
  /*items*/
@@ -14925,10 +15492,10 @@ function create_fragment74(ctx) {
14925
15492
  each_blocks_1[i] = null;
14926
15493
  });
14927
15494
  let if_block1 = !/*hide_apps*/
14928
- ctx[8] && create_if_block_132(ctx);
15495
+ ctx[8] && create_if_block_15(ctx);
14929
15496
  let if_block2 = (
14930
15497
  /*scrollable*/
14931
- ctx[5] && create_if_block_122(ctx)
15498
+ ctx[5] && create_if_block_14(ctx)
14932
15499
  );
14933
15500
  let if_block3 = !!/*app*/
14934
15501
  ((_a = ctx[0]) == null ? void 0 : _a.appliancePlugin) && create_if_block_52(ctx);
@@ -15086,40 +15653,42 @@ function create_fragment74(ctx) {
15086
15653
  if (if_block2)
15087
15654
  if_block2.c();
15088
15655
  t3 = space();
15089
- div11 = element("div");
15090
- div3 = element("div");
15656
+ div12 = element("div");
15657
+ div4 = element("div");
15091
15658
  div1 = element("div");
15092
15659
  if (if_block3)
15093
15660
  if_block3.c();
15094
15661
  t4 = space();
15095
- create_component(strokewidth0.$$.fragment);
15096
- t5 = space();
15097
15662
  div2 = element("div");
15663
+ t5 = space();
15664
+ create_component(strokewidth0.$$.fragment);
15098
15665
  t6 = space();
15099
- create_component(strokecolor0.$$.fragment);
15666
+ div3 = element("div");
15100
15667
  t7 = space();
15101
- div4 = element("div");
15102
- create_component(textcolor.$$.fragment);
15668
+ create_component(strokecolor0.$$.fragment);
15103
15669
  t8 = space();
15104
- div7 = element("div");
15105
- create_component(selectshapes.$$.fragment);
15106
- t9 = space();
15107
15670
  div5 = element("div");
15671
+ create_component(textcolor.$$.fragment);
15672
+ t9 = space();
15673
+ div8 = element("div");
15674
+ create_component(selectshapes.$$.fragment);
15108
15675
  t10 = space();
15109
- create_component(strokewidth1.$$.fragment);
15110
- t11 = space();
15111
15676
  div6 = element("div");
15677
+ t11 = space();
15678
+ create_component(strokewidth1.$$.fragment);
15112
15679
  t12 = space();
15113
- create_component(strokecolor1.$$.fragment);
15680
+ div7 = element("div");
15114
15681
  t13 = space();
15682
+ create_component(strokecolor1.$$.fragment);
15683
+ t14 = space();
15684
+ div10 = element("div");
15115
15685
  div9 = element("div");
15116
- div8 = element("div");
15117
15686
  if (if_block4)
15118
15687
  if_block4.c();
15119
- t14 = space();
15120
- create_component(erasersize.$$.fragment);
15121
15688
  t15 = space();
15122
- div10 = element("div");
15689
+ create_component(erasersize.$$.fragment);
15690
+ t16 = space();
15691
+ div11 = element("div");
15123
15692
  for (let i = 0; i < each_blocks.length; i += 1) {
15124
15693
  each_blocks[i].c();
15125
15694
  }
@@ -15132,22 +15701,23 @@ function create_fragment74(ctx) {
15132
15701
  );
15133
15702
  attr(div1, "class", name5 + "-panel-switch-pencil");
15134
15703
  attr(div2, "class", name5 + "-panel-divider");
15135
- attr(div3, "class", name5 + "-panel pencil");
15136
- attr(div4, "class", name5 + "-panel text");
15137
- attr(div5, "class", name5 + "-panel-divider");
15704
+ attr(div3, "class", name5 + "-panel-divider");
15705
+ attr(div4, "class", name5 + "-panel pencil");
15706
+ attr(div5, "class", name5 + "-panel text");
15138
15707
  attr(div6, "class", name5 + "-panel-divider");
15139
- attr(div7, "class", name5 + "-panel shapes");
15140
- attr(div8, "class", name5 + "-panel-switch-earser");
15141
- attr(div9, "class", name5 + "-panel earser");
15142
- attr(div10, "class", name5 + "-panel apps");
15708
+ attr(div7, "class", name5 + "-panel-divider");
15709
+ attr(div8, "class", name5 + "-panel shapes");
15710
+ attr(div9, "class", name5 + "-panel-switch-earser");
15711
+ attr(div10, "class", name5 + "-panel earser");
15712
+ attr(div11, "class", name5 + "-panel apps");
15143
15713
  set_style(
15144
- div10,
15714
+ div11,
15145
15715
  "--n",
15146
15716
  /*$apps*/
15147
15717
  ctx[25].length
15148
15718
  );
15149
- attr(div11, "class", name5 + "-panel-wrapper");
15150
- set_style(div11, "display", "none");
15719
+ attr(div12, "class", name5 + "-panel-wrapper");
15720
+ set_style(div12, "display", "none");
15151
15721
  },
15152
15722
  m(target, anchor) {
15153
15723
  if (if_block0)
@@ -15166,50 +15736,52 @@ function create_fragment74(ctx) {
15166
15736
  if (if_block2)
15167
15737
  if_block2.m(target, anchor);
15168
15738
  insert(target, t3, anchor);
15169
- insert(target, div11, anchor);
15170
- append(div11, div3);
15171
- append(div3, div1);
15739
+ insert(target, div12, anchor);
15740
+ append(div12, div4);
15741
+ append(div4, div1);
15172
15742
  if (if_block3)
15173
15743
  if_block3.m(div1, null);
15174
- append(div3, t4);
15175
- mount_component(strokewidth0, div3, null);
15176
- append(div3, t5);
15177
- append(div3, div2);
15178
- append(div3, t6);
15179
- mount_component(strokecolor0, div3, null);
15180
- ctx[50](div3);
15181
- append(div11, t7);
15182
- append(div11, div4);
15183
- mount_component(textcolor, div4, null);
15184
- ctx[51](div4);
15185
- append(div11, t8);
15186
- append(div11, div7);
15187
- mount_component(selectshapes, div7, null);
15188
- append(div7, t9);
15189
- append(div7, div5);
15190
- append(div7, t10);
15191
- mount_component(strokewidth1, div7, null);
15192
- append(div7, t11);
15193
- append(div7, div6);
15194
- append(div7, t12);
15195
- mount_component(strokecolor1, div7, null);
15196
- ctx[52](div7);
15197
- append(div11, t13);
15198
- append(div11, div9);
15199
- append(div9, div8);
15744
+ append(div4, t4);
15745
+ append(div4, div2);
15746
+ append(div4, t5);
15747
+ mount_component(strokewidth0, div4, null);
15748
+ append(div4, t6);
15749
+ append(div4, div3);
15750
+ append(div4, t7);
15751
+ mount_component(strokecolor0, div4, null);
15752
+ ctx[52](div4);
15753
+ append(div12, t8);
15754
+ append(div12, div5);
15755
+ mount_component(textcolor, div5, null);
15756
+ ctx[53](div5);
15757
+ append(div12, t9);
15758
+ append(div12, div8);
15759
+ mount_component(selectshapes, div8, null);
15760
+ append(div8, t10);
15761
+ append(div8, div6);
15762
+ append(div8, t11);
15763
+ mount_component(strokewidth1, div8, null);
15764
+ append(div8, t12);
15765
+ append(div8, div7);
15766
+ append(div8, t13);
15767
+ mount_component(strokecolor1, div8, null);
15768
+ ctx[54](div8);
15769
+ append(div12, t14);
15770
+ append(div12, div10);
15771
+ append(div10, div9);
15200
15772
  if (if_block4)
15201
- if_block4.m(div8, null);
15202
- append(div9, t14);
15203
- mount_component(erasersize, div9, null);
15204
- ctx[53](div9);
15205
- append(div11, t15);
15206
- append(div11, div10);
15773
+ if_block4.m(div9, null);
15774
+ append(div10, t15);
15775
+ mount_component(erasersize, div10, null);
15776
+ ctx[55](div10);
15777
+ append(div12, t16);
15778
+ append(div12, div11);
15207
15779
  for (let i = 0; i < each_blocks.length; i += 1) {
15208
15780
  if (each_blocks[i]) {
15209
- each_blocks[i].m(div10, null);
15781
+ each_blocks[i].m(div11, null);
15210
15782
  }
15211
15783
  }
15212
- ctx[55](div10);
15784
+ ctx[57](div11);
15213
15785
  current = true;
15214
15786
  if (!mounted) {
15215
15787
  dispose = [
@@ -15242,7 +15814,7 @@ function create_fragment74(ctx) {
15242
15814
  transition_in(if_block0, 1);
15243
15815
  }
15244
15816
  } else {
15245
- if_block0 = create_if_block_23(ctx2);
15817
+ if_block0 = create_if_block_25(ctx2);
15246
15818
  if_block0.c();
15247
15819
  transition_in(if_block0, 1);
15248
15820
  if_block0.m(t0.parentNode, t0);
@@ -15287,7 +15859,7 @@ function create_fragment74(ctx) {
15287
15859
  transition_in(if_block1, 1);
15288
15860
  }
15289
15861
  } else {
15290
- if_block1 = create_if_block_132(ctx2);
15862
+ if_block1 = create_if_block_15(ctx2);
15291
15863
  if_block1.c();
15292
15864
  transition_in(if_block1, 1);
15293
15865
  if_block1.m(div0, null);
@@ -15326,7 +15898,7 @@ function create_fragment74(ctx) {
15326
15898
  transition_in(if_block2, 1);
15327
15899
  }
15328
15900
  } else {
15329
- if_block2 = create_if_block_122(ctx2);
15901
+ if_block2 = create_if_block_14(ctx2);
15330
15902
  if_block2.c();
15331
15903
  transition_in(if_block2, 1);
15332
15904
  if_block2.m(t3.parentNode, t3);
@@ -15471,7 +16043,7 @@ function create_fragment74(ctx) {
15471
16043
  if_block4 = create_if_block14(ctx2);
15472
16044
  if_block4.c();
15473
16045
  transition_in(if_block4, 1);
15474
- if_block4.m(div8, null);
16046
+ if_block4.m(div9, null);
15475
16047
  }
15476
16048
  } else if (if_block4) {
15477
16049
  group_outros();
@@ -15506,7 +16078,7 @@ function create_fragment74(ctx) {
15506
16078
  } else {
15507
16079
  each_blocks[i] = create_each_block4(child_ctx);
15508
16080
  each_blocks[i].c();
15509
- each_blocks[i].m(div10, null);
16081
+ each_blocks[i].m(div11, null);
15510
16082
  }
15511
16083
  }
15512
16084
  for (; i < each_blocks.length; i += 1) {
@@ -15517,7 +16089,7 @@ function create_fragment74(ctx) {
15517
16089
  if (!current || dirty[0] & /*$apps*/
15518
16090
  33554432) {
15519
16091
  set_style(
15520
- div10,
16092
+ div11,
15521
16093
  "--n",
15522
16094
  /*$apps*/
15523
16095
  ctx2[25].length
@@ -15580,31 +16152,31 @@ function create_fragment74(ctx) {
15580
16152
  if (detaching)
15581
16153
  detach(t3);
15582
16154
  if (detaching)
15583
- detach(div11);
16155
+ detach(div12);
15584
16156
  if (if_block3)
15585
16157
  if_block3.d();
15586
16158
  destroy_component(strokewidth0);
15587
16159
  destroy_component(strokecolor0);
15588
- ctx[50](null);
16160
+ ctx[52](null);
15589
16161
  destroy_component(textcolor);
15590
- ctx[51](null);
16162
+ ctx[53](null);
15591
16163
  destroy_component(selectshapes);
15592
16164
  destroy_component(strokewidth1);
15593
16165
  destroy_component(strokecolor1);
15594
- ctx[52](null);
16166
+ ctx[54](null);
15595
16167
  if (if_block4)
15596
16168
  if_block4.d();
15597
16169
  destroy_component(erasersize);
15598
- ctx[53](null);
15599
- destroy_each(each_blocks, detaching);
15600
16170
  ctx[55](null);
16171
+ destroy_each(each_blocks, detaching);
16172
+ ctx[57](null);
15601
16173
  mounted = false;
15602
16174
  run_all(dispose);
15603
16175
  }
15604
16176
  };
15605
16177
  }
15606
16178
  var name5 = "fastboard-toolbar";
15607
- function instance74($$self, $$props, $$invalidate) {
16179
+ function instance76($$self, $$props, $$invalidate) {
15608
16180
  let t;
15609
16181
  let hotkeys;
15610
16182
  let c;
@@ -15616,12 +16188,13 @@ function instance74($$self, $$props, $$invalidate) {
15616
16188
  let showLaserPen;
15617
16189
  let hasUseLaserPen;
15618
16190
  let hasUseMarkPen;
16191
+ let hasUseStroke;
15619
16192
  let pencilType;
15620
16193
  let hasUseEraserBitmap;
15621
16194
  let eraserType;
15622
16195
  let $top;
15623
- let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(48, $memberState = $$value)), memberState);
15624
- let $scroll_height, $$unsubscribe_scroll_height = noop, $$subscribe_scroll_height = () => ($$unsubscribe_scroll_height(), $$unsubscribe_scroll_height = subscribe(scroll_height, ($$value) => $$invalidate(49, $scroll_height = $$value)), scroll_height);
16196
+ let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(50, $memberState = $$value)), memberState);
16197
+ let $scroll_height, $$unsubscribe_scroll_height = noop, $$subscribe_scroll_height = () => ($$unsubscribe_scroll_height(), $$unsubscribe_scroll_height = subscribe(scroll_height, ($$value) => $$invalidate(51, $scroll_height = $$value)), scroll_height);
15625
16198
  let $apps;
15626
16199
  let $status, $$unsubscribe_status = noop, $$subscribe_status = () => ($$unsubscribe_status(), $$unsubscribe_status = subscribe(status, ($$value) => $$invalidate(26, $status = $$value)), status);
15627
16200
  component_subscribe($$self, apps, ($$value) => $$invalidate(25, $apps = $$value));
@@ -15647,7 +16220,7 @@ function instance74($$self, $$props, $$invalidate) {
15647
16220
  let eraser_panel;
15648
16221
  let btn_props;
15649
16222
  let top = writable(0);
15650
- component_subscribe($$self, top, (value) => $$invalidate(57, $top = value));
16223
+ component_subscribe($$self, top, (value) => $$invalidate(59, $top = value));
15651
16224
  function scroll_up() {
15652
16225
  set_store_value(top, $top = clamp($top - 32 - 4, 0, max_scroll), $top);
15653
16226
  }
@@ -15667,12 +16240,14 @@ function instance74($$self, $$props, $$invalidate) {
15667
16240
  useMarkPen();
15668
16241
  } else if (pencilType === "laser") {
15669
16242
  useLaserPen();
16243
+ } else if (pencilType === "stroke") {
16244
+ useStrokePencil();
15670
16245
  } else {
15671
- usePencil();
16246
+ useNormalPencil();
15672
16247
  }
15673
16248
  }
15674
16249
  } else {
15675
- usePencil();
16250
+ useNormalPencil();
15676
16251
  }
15677
16252
  }
15678
16253
  function text2() {
@@ -15700,12 +16275,12 @@ function instance74($$self, $$props, $$invalidate) {
15700
16275
  function clear() {
15701
16276
  app == null ? void 0 : app.cleanCurrentScene();
15702
16277
  }
15703
- function usePencil() {
16278
+ function useNormalPencil() {
15704
16279
  var _a;
15705
16280
  if (hasAppliancePlugin) {
15706
16281
  (_a = app == null ? void 0 : app.appliancePlugin) == null ? void 0 : _a.setMemberState({
15707
16282
  currentApplianceName: "pencil",
15708
- strokeType: "Stroke",
16283
+ strokeType: "Normal",
15709
16284
  useLaserPen: false,
15710
16285
  strokeOpacity: 1
15711
16286
  });
@@ -15713,6 +16288,15 @@ function instance74($$self, $$props, $$invalidate) {
15713
16288
  app == null ? void 0 : app.setAppliance("pencil");
15714
16289
  }
15715
16290
  }
16291
+ function useStrokePencil() {
16292
+ var _a;
16293
+ (_a = app == null ? void 0 : app.appliancePlugin) == null ? void 0 : _a.setMemberState({
16294
+ currentApplianceName: "pencil",
16295
+ strokeType: "Stroke",
16296
+ useLaserPen: false,
16297
+ strokeOpacity: 1
16298
+ });
16299
+ }
15716
16300
  function useLaserPen() {
15717
16301
  var _a;
15718
16302
  (_a = app == null ? void 0 : app.appliancePlugin) == null ? void 0 : _a.setMemberState({
@@ -15747,25 +16331,25 @@ function instance74($$self, $$props, $$invalidate) {
15747
16331
  isLine: false
15748
16332
  });
15749
16333
  }
15750
- function div3_binding($$value) {
16334
+ function div4_binding($$value) {
15751
16335
  binding_callbacks[$$value ? "unshift" : "push"](() => {
15752
16336
  pencil_panel = $$value;
15753
16337
  $$invalidate(12, pencil_panel);
15754
16338
  });
15755
16339
  }
15756
- function div4_binding($$value) {
16340
+ function div5_binding($$value) {
15757
16341
  binding_callbacks[$$value ? "unshift" : "push"](() => {
15758
16342
  text_panel = $$value;
15759
16343
  $$invalidate(13, text_panel);
15760
16344
  });
15761
16345
  }
15762
- function div7_binding($$value) {
16346
+ function div8_binding($$value) {
15763
16347
  binding_callbacks[$$value ? "unshift" : "push"](() => {
15764
16348
  shapes_panel = $$value;
15765
16349
  $$invalidate(14, shapes_panel);
15766
16350
  });
15767
16351
  }
15768
- function div9_binding($$value) {
16352
+ function div10_binding($$value) {
15769
16353
  binding_callbacks[$$value ? "unshift" : "push"](() => {
15770
16354
  eraser_panel = $$value;
15771
16355
  $$invalidate(16, eraser_panel);
@@ -15775,7 +16359,7 @@ function instance74($$self, $$props, $$invalidate) {
15775
16359
  app && onClick(app);
15776
16360
  tippy_hide_all();
15777
16361
  };
15778
- function div10_binding($$value) {
16362
+ function div11_binding($$value) {
15779
16363
  binding_callbacks[$$value ? "unshift" : "push"](() => {
15780
16364
  apps_panel = $$value;
15781
16365
  $$invalidate(15, apps_panel);
@@ -15793,7 +16377,7 @@ function instance74($$self, $$props, $$invalidate) {
15793
16377
  if ("scroll_height" in $$props2)
15794
16378
  $$subscribe_scroll_height($$invalidate(4, scroll_height = $$props2.scroll_height));
15795
16379
  if ("computed_height" in $$props2)
15796
- $$invalidate(43, computed_height = $$props2.computed_height);
16380
+ $$invalidate(44, computed_height = $$props2.computed_height);
15797
16381
  if ("scrollable" in $$props2)
15798
16382
  $$invalidate(5, scrollable = $$props2.scrollable);
15799
16383
  if ("placement" in $$props2)
@@ -15823,11 +16407,11 @@ function instance74($$self, $$props, $$invalidate) {
15823
16407
  }
15824
16408
  if ($$self.$$.dirty[0] & /*app*/
15825
16409
  1) {
15826
- $$invalidate(47, hotkeys = app == null ? void 0 : app.hotKeys);
16410
+ $$invalidate(49, hotkeys = app == null ? void 0 : app.hotKeys);
15827
16411
  }
15828
16412
  if ($$self.$$.dirty[0] & /*t*/
15829
16413
  2048 | $$self.$$.dirty[1] & /*hotkeys*/
15830
- 65536) {
16414
+ 262144) {
15831
16415
  $$invalidate(24, c = {
15832
16416
  clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
15833
16417
  selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
@@ -15843,7 +16427,7 @@ function instance74($$self, $$props, $$invalidate) {
15843
16427
  $$subscribe_memberState($$invalidate(23, memberState = app == null ? void 0 : app.memberState));
15844
16428
  }
15845
16429
  if ($$self.$$.dirty[1] & /*$memberState*/
15846
- 131072) {
16430
+ 524288) {
15847
16431
  $$invalidate(19, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
15848
16432
  }
15849
16433
  if ($$self.$$.dirty[0] & /*app*/
@@ -15852,7 +16436,7 @@ function instance74($$self, $$props, $$invalidate) {
15852
16436
  }
15853
16437
  if ($$self.$$.dirty[0] & /*scrollable*/
15854
16438
  32 | $$self.$$.dirty[1] & /*$scroll_height, computed_height*/
15855
- 266240) {
16439
+ 1056768) {
15856
16440
  max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
15857
16441
  }
15858
16442
  if ($$self.$$.dirty[0] & /*app*/
@@ -15865,25 +16449,30 @@ function instance74($$self, $$props, $$invalidate) {
15865
16449
  }
15866
16450
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15867
16451
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15868
- 131072) {
15869
- $$invalidate(46, hasUseLaserPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.useLaserPen) || false);
16452
+ 524288) {
16453
+ $$invalidate(48, hasUseLaserPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.useLaserPen) || false);
15870
16454
  }
15871
16455
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15872
16456
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15873
- 131072) {
15874
- $$invalidate(45, hasUseMarkPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.strokeOpacity) === 0.5 || false);
16457
+ 524288) {
16458
+ $$invalidate(47, hasUseMarkPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.strokeOpacity) === 0.5 || false);
15875
16459
  }
15876
- if ($$self.$$.dirty[1] & /*hasUseLaserPen, hasUseMarkPen*/
15877
- 49152) {
15878
- $$invalidate(20, pencilType = hasUseLaserPen ? "laser" : hasUseMarkPen ? "mark" : "pencil");
16460
+ if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
16461
+ 1024 | $$self.$$.dirty[1] & /*$memberState*/
16462
+ 524288) {
16463
+ $$invalidate(46, hasUseStroke = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.strokeType) === "Stroke" || false);
16464
+ }
16465
+ if ($$self.$$.dirty[1] & /*hasUseLaserPen, hasUseMarkPen, hasUseStroke*/
16466
+ 229376) {
16467
+ $$invalidate(20, pencilType = hasUseLaserPen ? "laser" : hasUseMarkPen ? "mark" : hasUseStroke ? "stroke" : "pencil");
15879
16468
  }
15880
16469
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15881
16470
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15882
- 131072) {
15883
- $$invalidate(44, hasUseEraserBitmap = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.isLine) === false);
16471
+ 524288) {
16472
+ $$invalidate(45, hasUseEraserBitmap = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.isLine) === false);
15884
16473
  }
15885
16474
  if ($$self.$$.dirty[1] & /*hasUseEraserBitmap*/
15886
- 8192) {
16475
+ 16384) {
15887
16476
  $$invalidate(18, eraserType = hasUseEraserBitmap ? "pencilEraser" : "eraser");
15888
16477
  }
15889
16478
  };
@@ -15926,24 +16515,26 @@ function instance74($$self, $$props, $$invalidate) {
15926
16515
  hand,
15927
16516
  laserPointer,
15928
16517
  clear,
15929
- usePencil,
16518
+ useNormalPencil,
16519
+ useStrokePencil,
15930
16520
  useLaserPen,
15931
16521
  useMarkPen,
15932
16522
  useEraser,
15933
16523
  useEraserBitmap,
15934
16524
  computed_height,
15935
16525
  hasUseEraserBitmap,
16526
+ hasUseStroke,
15936
16527
  hasUseMarkPen,
15937
16528
  hasUseLaserPen,
15938
16529
  hotkeys,
15939
16530
  $memberState,
15940
16531
  $scroll_height,
15941
- div3_binding,
15942
16532
  div4_binding,
15943
- div7_binding,
15944
- div9_binding,
16533
+ div5_binding,
16534
+ div8_binding,
16535
+ div10_binding,
15945
16536
  func,
15946
- div10_binding
16537
+ div11_binding
15947
16538
  ];
15948
16539
  }
15949
16540
  var Contents = class extends SvelteComponent {
@@ -15952,8 +16543,8 @@ var Contents = class extends SvelteComponent {
15952
16543
  init(
15953
16544
  this,
15954
16545
  options,
15955
- instance74,
15956
- create_fragment74,
16546
+ instance76,
16547
+ create_fragment76,
15957
16548
  safe_not_equal,
15958
16549
  {
15959
16550
  app: 0,
@@ -15961,7 +16552,7 @@ var Contents = class extends SvelteComponent {
15961
16552
  language: 2,
15962
16553
  disabled: 3,
15963
16554
  scroll_height: 4,
15964
- computed_height: 43,
16555
+ computed_height: 44,
15965
16556
  scrollable: 5,
15966
16557
  placement: 6,
15967
16558
  items: 7,
@@ -16032,7 +16623,7 @@ function create_if_block15(ctx) {
16032
16623
  }
16033
16624
  };
16034
16625
  }
16035
- function create_fragment75(ctx) {
16626
+ function create_fragment77(ctx) {
16036
16627
  let div1;
16037
16628
  let div0;
16038
16629
  let contents;
@@ -16302,7 +16893,7 @@ function create_fragment75(ctx) {
16302
16893
  };
16303
16894
  }
16304
16895
  var name6 = "fastboard-toolbar";
16305
- function instance75($$self, $$props, $$invalidate) {
16896
+ function instance77($$self, $$props, $$invalidate) {
16306
16897
  let writable2;
16307
16898
  let phase;
16308
16899
  let disabled;
@@ -16421,7 +17012,7 @@ function instance75($$self, $$props, $$invalidate) {
16421
17012
  var Toolbar = class extends SvelteComponent {
16422
17013
  constructor(options) {
16423
17014
  super();
16424
- init(this, options, instance75, create_fragment75, safe_not_equal, {
17015
+ init(this, options, instance77, create_fragment77, safe_not_equal, {
16425
17016
  app: 1,
16426
17017
  theme: 2,
16427
17018
  language: 3,
@@ -16495,7 +17086,7 @@ function create_else_block_14(ctx) {
16495
17086
  }
16496
17087
  };
16497
17088
  }
16498
- function create_if_block_25(ctx) {
17089
+ function create_if_block_27(ctx) {
16499
17090
  var _a;
16500
17091
  let icon;
16501
17092
  let current;
@@ -16728,7 +17319,7 @@ function create_default_slot_25(ctx) {
16728
17319
  let if_block;
16729
17320
  let if_block_anchor;
16730
17321
  let current;
16731
- const if_block_creators = [create_if_block_111, create_if_block_25, create_else_block_14];
17322
+ const if_block_creators = [create_if_block_111, create_if_block_27, create_else_block_14];
16732
17323
  const if_blocks = [];
16733
17324
  function select_block_type(ctx2, dirty) {
16734
17325
  if (
@@ -16964,7 +17555,7 @@ function create_if_block16(ctx) {
16964
17555
  }
16965
17556
  };
16966
17557
  }
16967
- function create_default_slot_15(ctx) {
17558
+ function create_default_slot_16(ctx) {
16968
17559
  let span;
16969
17560
  let t0_value = (
16970
17561
  /*$playbackRate*/
@@ -17105,7 +17696,7 @@ function create_each_block5(key_1, ctx) {
17105
17696
  }
17106
17697
  };
17107
17698
  }
17108
- function create_fragment76(ctx) {
17699
+ function create_fragment78(ctx) {
17109
17700
  let div0;
17110
17701
  let button0;
17111
17702
  let t0;
@@ -17192,7 +17783,7 @@ function create_fragment76(ctx) {
17192
17783
  ctx[6]
17193
17784
  ),
17194
17785
  menu_placement: "top-end",
17195
- $$slots: { default: [create_default_slot_15] },
17786
+ $$slots: { default: [create_default_slot_16] },
17196
17787
  $$scope: { ctx }
17197
17788
  }
17198
17789
  });
@@ -17382,7 +17973,7 @@ function format(ms) {
17382
17973
  return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
17383
17974
  }
17384
17975
  var name7 = "fastboard-player-control";
17385
- function instance76($$self, $$props, $$invalidate) {
17976
+ function instance78($$self, $$props, $$invalidate) {
17386
17977
  let t;
17387
17978
  let canPlay;
17388
17979
  let disabled;
@@ -17527,7 +18118,7 @@ function instance76($$self, $$props, $$invalidate) {
17527
18118
  var PlayerControl = class extends SvelteComponent {
17528
18119
  constructor(options) {
17529
18120
  super();
17530
- init(this, options, instance76, create_fragment76, safe_not_equal, {
18121
+ init(this, options, instance78, create_fragment78, safe_not_equal, {
17531
18122
  player: 19,
17532
18123
  theme: 0,
17533
18124
  language: 20,
@@ -17596,7 +18187,7 @@ function create_if_block17(ctx) {
17596
18187
  }
17597
18188
  };
17598
18189
  }
17599
- function create_fragment77(ctx) {
18190
+ function create_fragment79(ctx) {
17600
18191
  var _a;
17601
18192
  let div2;
17602
18193
  let div0;
@@ -17696,7 +18287,7 @@ function create_fragment77(ctx) {
17696
18287
  };
17697
18288
  }
17698
18289
  var name8 = "fastboard";
17699
- function instance77($$self, $$props, $$invalidate) {
18290
+ function instance79($$self, $$props, $$invalidate) {
17700
18291
  let { player = null } = $$props;
17701
18292
  let { theme = "light" } = $$props;
17702
18293
  let { language = "en" } = $$props;
@@ -17771,7 +18362,7 @@ function instance77($$self, $$props, $$invalidate) {
17771
18362
  var ReplayFastboard = class extends SvelteComponent {
17772
18363
  constructor(options) {
17773
18364
  super();
17774
- init(this, options, instance77, create_fragment77, not_equal, {
18365
+ init(this, options, instance79, create_fragment79, not_equal, {
17775
18366
  player: 0,
17776
18367
  theme: 1,
17777
18368
  language: 2,
@@ -17849,7 +18440,7 @@ function create_if_block_34(ctx) {
17849
18440
  }
17850
18441
  };
17851
18442
  }
17852
- function create_if_block_26(ctx) {
18443
+ function create_if_block_28(ctx) {
17853
18444
  let redoundo;
17854
18445
  let current;
17855
18446
  redoundo = new RedoUndo_default({
@@ -18023,7 +18614,7 @@ function create_if_block18(ctx) {
18023
18614
  }
18024
18615
  };
18025
18616
  }
18026
- function create_fragment78(ctx) {
18617
+ function create_fragment80(ctx) {
18027
18618
  var _a, _b, _c, _d;
18028
18619
  let div4;
18029
18620
  let div0;
@@ -18045,7 +18636,7 @@ function create_fragment78(ctx) {
18045
18636
  let if_block1 = (
18046
18637
  /*config*/
18047
18638
  ((_b = ctx[3].redo_undo) == null ? void 0 : _b.enable) !== false && !/*hidden_redo_undo*/
18048
- ctx[6] && create_if_block_26(ctx)
18639
+ ctx[6] && create_if_block_28(ctx)
18049
18640
  );
18050
18641
  let if_block2 = (
18051
18642
  /*config*/
@@ -18186,7 +18777,7 @@ function create_fragment78(ctx) {
18186
18777
  transition_in(if_block1, 1);
18187
18778
  }
18188
18779
  } else {
18189
- if_block1 = create_if_block_26(ctx2);
18780
+ if_block1 = create_if_block_28(ctx2);
18190
18781
  if_block1.c();
18191
18782
  transition_in(if_block1, 1);
18192
18783
  if_block1.m(div2, t2);
@@ -18304,7 +18895,7 @@ function create_fragment78(ctx) {
18304
18895
  };
18305
18896
  }
18306
18897
  var name9 = "fastboard";
18307
- function instance78($$self, $$props, $$invalidate) {
18898
+ function instance80($$self, $$props, $$invalidate) {
18308
18899
  let writable2;
18309
18900
  let boxState;
18310
18901
  let focusedApp;
@@ -18516,7 +19107,7 @@ function instance78($$self, $$props, $$invalidate) {
18516
19107
  var Fastboard = class extends SvelteComponent {
18517
19108
  constructor(options) {
18518
19109
  super();
18519
- init(this, options, instance78, create_fragment78, not_equal, {
19110
+ init(this, options, instance80, create_fragment80, not_equal, {
18520
19111
  app: 0,
18521
19112
  theme: 1,
18522
19113
  language: 2,