@netless/fastboard-ui 1.1.2-beta.9 → 1.1.3-beta.0

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.
@@ -11421,39 +11421,39 @@ var EraserSize_default = EraserSize;
11421
11421
  // src/components/Toolbar/components/Contents.svelte
11422
11422
  function get_each_context4(ctx, list, i) {
11423
11423
  const child_ctx = ctx.slice();
11424
- child_ctx[57] = list[i];
11424
+ child_ctx[58] = list[i];
11425
11425
  const constants_0 = (
11426
11426
  /*netless_app*/
11427
- child_ctx[57]
11427
+ child_ctx[58]
11428
11428
  );
11429
- child_ctx[58] = constants_0.icon;
11430
- child_ctx[59] = constants_0.label;
11431
- child_ctx[60] = constants_0.kind;
11432
- child_ctx[61] = constants_0.onClick;
11429
+ child_ctx[59] = constants_0.icon;
11430
+ child_ctx[60] = constants_0.label;
11431
+ child_ctx[61] = constants_0.kind;
11432
+ child_ctx[62] = constants_0.onClick;
11433
11433
  const constants_1 = (
11434
11434
  /*$status*/
11435
- child_ctx[25] && /*$status*/
11436
- child_ctx[25][
11435
+ child_ctx[26] && /*$status*/
11436
+ child_ctx[26][
11437
11437
  /*kind*/
11438
- child_ctx[60]
11438
+ child_ctx[61]
11439
11439
  ]
11440
11440
  );
11441
- child_ctx[62] = constants_1;
11441
+ child_ctx[63] = constants_1;
11442
11442
  const constants_2 = function func() {
11443
11443
  return (
11444
11444
  /*func*/
11445
- ctx[53](
11445
+ ctx[54](
11446
11446
  /*onClick*/
11447
- child_ctx[61]
11447
+ child_ctx[62]
11448
11448
  )
11449
11449
  );
11450
11450
  };
11451
- child_ctx[63] = constants_2;
11451
+ child_ctx[64] = constants_2;
11452
11452
  return child_ctx;
11453
11453
  }
11454
11454
  function get_each_context_1(ctx, list, i) {
11455
11455
  const child_ctx = ctx.slice();
11456
- child_ctx[66] = list[i];
11456
+ child_ctx[67] = list[i];
11457
11457
  return child_ctx;
11458
11458
  }
11459
11459
  function create_if_block_23(ctx) {
@@ -11475,7 +11475,7 @@ function create_if_block_23(ctx) {
11475
11475
  button.$on(
11476
11476
  "click",
11477
11477
  /*scroll_up*/
11478
- ctx[27]
11478
+ ctx[28]
11479
11479
  );
11480
11480
  return {
11481
11481
  c() {
@@ -11493,7 +11493,7 @@ function create_if_block_23(ctx) {
11493
11493
  )]) : {};
11494
11494
  if (dirty[0] & /*theme*/
11495
11495
  2 | dirty[2] & /*$$scope*/
11496
- 128) {
11496
+ 256) {
11497
11497
  button_changes.$$scope = { dirty, ctx: ctx2 };
11498
11498
  }
11499
11499
  button.$set(button_changes);
@@ -11570,14 +11570,14 @@ function create_if_block_222(ctx) {
11570
11570
  ),
11571
11571
  content: (
11572
11572
  /*c*/
11573
- ctx[23].laserPointer
11573
+ ctx[24].laserPointer
11574
11574
  )
11575
11575
  }
11576
11576
  });
11577
11577
  laser.$on(
11578
11578
  "click",
11579
11579
  /*laserPointer*/
11580
- ctx[35]
11580
+ ctx[36]
11581
11581
  );
11582
11582
  return {
11583
11583
  c() {
@@ -11602,9 +11602,9 @@ function create_if_block_222(ctx) {
11602
11602
  laser_changes.btn_props = /*btn_props*/
11603
11603
  ctx2[17];
11604
11604
  if (dirty[0] & /*c*/
11605
- 8388608)
11605
+ 16777216)
11606
11606
  laser_changes.content = /*c*/
11607
- ctx2[23].laserPointer;
11607
+ ctx2[24].laserPointer;
11608
11608
  laser.$set(laser_changes);
11609
11609
  },
11610
11610
  i(local) {
@@ -11641,14 +11641,14 @@ function create_if_block_21(ctx) {
11641
11641
  ),
11642
11642
  content: (
11643
11643
  /*c*/
11644
- ctx[23].hand
11644
+ ctx[24].hand
11645
11645
  )
11646
11646
  }
11647
11647
  });
11648
11648
  hand_1.$on(
11649
11649
  "click",
11650
11650
  /*hand*/
11651
- ctx[34]
11651
+ ctx[35]
11652
11652
  );
11653
11653
  return {
11654
11654
  c() {
@@ -11673,9 +11673,9 @@ function create_if_block_21(ctx) {
11673
11673
  hand_1_changes.btn_props = /*btn_props*/
11674
11674
  ctx2[17];
11675
11675
  if (dirty[0] & /*c*/
11676
- 8388608)
11676
+ 16777216)
11677
11677
  hand_1_changes.content = /*c*/
11678
- ctx2[23].hand;
11678
+ ctx2[24].hand;
11679
11679
  hand_1.$set(hand_1_changes);
11680
11680
  },
11681
11681
  i(local) {
@@ -11715,7 +11715,7 @@ function create_if_block_20(ctx) {
11715
11715
  clear_1.$on(
11716
11716
  "click",
11717
11717
  /*clear*/
11718
- ctx[36]
11718
+ ctx[37]
11719
11719
  );
11720
11720
  return {
11721
11721
  c() {
@@ -11779,7 +11779,7 @@ function create_if_block_19(ctx) {
11779
11779
  ),
11780
11780
  content: (
11781
11781
  /*c*/
11782
- ctx[23].eraser
11782
+ ctx[24].eraser
11783
11783
  ),
11784
11784
  menu: (
11785
11785
  /*hasAppliancePlugin*/
@@ -11793,7 +11793,7 @@ function create_if_block_19(ctx) {
11793
11793
  eraser_1.$on(
11794
11794
  "click",
11795
11795
  /*eraser*/
11796
- ctx[33]
11796
+ ctx[34]
11797
11797
  );
11798
11798
  return {
11799
11799
  c() {
@@ -11822,9 +11822,9 @@ function create_if_block_19(ctx) {
11822
11822
  eraser_1_changes.btn_props = /*btn_props*/
11823
11823
  ctx2[17];
11824
11824
  if (dirty[0] & /*c*/
11825
- 8388608)
11825
+ 16777216)
11826
11826
  eraser_1_changes.content = /*c*/
11827
- ctx2[23].eraser;
11827
+ ctx2[24].eraser;
11828
11828
  if (dirty[0] & /*hasAppliancePlugin, eraser_panel*/
11829
11829
  66560)
11830
11830
  eraser_1_changes.menu = /*hasAppliancePlugin*/
@@ -11950,7 +11950,7 @@ function create_if_block_17(ctx) {
11950
11950
  ),
11951
11951
  content: (
11952
11952
  /*c*/
11953
- ctx[23].text
11953
+ ctx[24].text
11954
11954
  ),
11955
11955
  menu: (
11956
11956
  /*text_panel*/
@@ -11961,7 +11961,7 @@ function create_if_block_17(ctx) {
11961
11961
  text_1.$on(
11962
11962
  "click",
11963
11963
  /*text*/
11964
- ctx[32]
11964
+ ctx[33]
11965
11965
  );
11966
11966
  return {
11967
11967
  c() {
@@ -11986,9 +11986,9 @@ function create_if_block_17(ctx) {
11986
11986
  text_1_changes.btn_props = /*btn_props*/
11987
11987
  ctx2[17];
11988
11988
  if (dirty[0] & /*c*/
11989
- 8388608)
11989
+ 16777216)
11990
11990
  text_1_changes.content = /*c*/
11991
- ctx2[23].text;
11991
+ ctx2[24].text;
11992
11992
  if (dirty[0] & /*text_panel*/
11993
11993
  8192)
11994
11994
  text_1_changes.menu = /*text_panel*/
@@ -12033,7 +12033,7 @@ function create_if_block_16(ctx) {
12033
12033
  ),
12034
12034
  content: (
12035
12035
  /*c*/
12036
- ctx[23].pencil
12036
+ ctx[24].pencil
12037
12037
  ),
12038
12038
  menu: (
12039
12039
  /*pencil_panel*/
@@ -12044,7 +12044,7 @@ function create_if_block_16(ctx) {
12044
12044
  pencil_1.$on(
12045
12045
  "click",
12046
12046
  /*pencil*/
12047
- ctx[31]
12047
+ ctx[32]
12048
12048
  );
12049
12049
  return {
12050
12050
  c() {
@@ -12073,9 +12073,9 @@ function create_if_block_16(ctx) {
12073
12073
  pencil_1_changes.btn_props = /*btn_props*/
12074
12074
  ctx2[17];
12075
12075
  if (dirty[0] & /*c*/
12076
- 8388608)
12076
+ 16777216)
12077
12077
  pencil_1_changes.content = /*c*/
12078
- ctx2[23].pencil;
12078
+ ctx2[24].pencil;
12079
12079
  if (dirty[0] & /*pencil_panel*/
12080
12080
  4096)
12081
12081
  pencil_1_changes.menu = /*pencil_panel*/
@@ -12116,14 +12116,14 @@ function create_if_block_15(ctx) {
12116
12116
  ),
12117
12117
  content: (
12118
12118
  /*c*/
12119
- ctx[23].selector
12119
+ ctx[24].selector
12120
12120
  )
12121
12121
  }
12122
12122
  });
12123
12123
  selector_1.$on(
12124
12124
  "click",
12125
12125
  /*selector*/
12126
- ctx[30]
12126
+ ctx[31]
12127
12127
  );
12128
12128
  return {
12129
12129
  c() {
@@ -12148,9 +12148,9 @@ function create_if_block_15(ctx) {
12148
12148
  selector_1_changes.btn_props = /*btn_props*/
12149
12149
  ctx2[17];
12150
12150
  if (dirty[0] & /*c*/
12151
- 8388608)
12151
+ 16777216)
12152
12152
  selector_1_changes.content = /*c*/
12153
- ctx2[23].selector;
12153
+ ctx2[24].selector;
12154
12154
  selector_1.$set(selector_1_changes);
12155
12155
  },
12156
12156
  i(local) {
@@ -12187,14 +12187,14 @@ function create_if_block_14(ctx) {
12187
12187
  ),
12188
12188
  content: (
12189
12189
  /*c*/
12190
- ctx[23].clicker
12190
+ ctx[24].clicker
12191
12191
  )
12192
12192
  }
12193
12193
  });
12194
12194
  clicker_1.$on(
12195
12195
  "click",
12196
12196
  /*clicker*/
12197
- ctx[29]
12197
+ ctx[30]
12198
12198
  );
12199
12199
  return {
12200
12200
  c() {
@@ -12219,9 +12219,9 @@ function create_if_block_14(ctx) {
12219
12219
  clicker_1_changes.btn_props = /*btn_props*/
12220
12220
  ctx2[17];
12221
12221
  if (dirty[0] & /*c*/
12222
- 8388608)
12222
+ 16777216)
12223
12223
  clicker_1_changes.content = /*c*/
12224
- ctx2[23].clicker;
12224
+ ctx2[24].clicker;
12225
12225
  clicker_1.$set(clicker_1_changes);
12226
12226
  },
12227
12227
  i(local) {
@@ -12259,47 +12259,47 @@ function create_each_block_1(ctx) {
12259
12259
  function select_block_type(ctx2, dirty) {
12260
12260
  if (
12261
12261
  /*item*/
12262
- ctx2[66] === "clicker"
12262
+ ctx2[67] === "clicker"
12263
12263
  )
12264
12264
  return 0;
12265
12265
  if (
12266
12266
  /*item*/
12267
- ctx2[66] === "selector"
12267
+ ctx2[67] === "selector"
12268
12268
  )
12269
12269
  return 1;
12270
12270
  if (
12271
12271
  /*item*/
12272
- ctx2[66] === "pencil"
12272
+ ctx2[67] === "pencil"
12273
12273
  )
12274
12274
  return 2;
12275
12275
  if (
12276
12276
  /*item*/
12277
- ctx2[66] === "text"
12277
+ ctx2[67] === "text"
12278
12278
  )
12279
12279
  return 3;
12280
12280
  if (
12281
12281
  /*item*/
12282
- ctx2[66] === "shapes"
12282
+ ctx2[67] === "shapes"
12283
12283
  )
12284
12284
  return 4;
12285
12285
  if (
12286
12286
  /*item*/
12287
- ctx2[66] === "eraser"
12287
+ ctx2[67] === "eraser"
12288
12288
  )
12289
12289
  return 5;
12290
12290
  if (
12291
12291
  /*item*/
12292
- ctx2[66] === "clear"
12292
+ ctx2[67] === "clear"
12293
12293
  )
12294
12294
  return 6;
12295
12295
  if (
12296
12296
  /*item*/
12297
- ctx2[66] === "hand"
12297
+ ctx2[67] === "hand"
12298
12298
  )
12299
12299
  return 7;
12300
12300
  if (
12301
12301
  /*item*/
12302
- ctx2[66] === "laserPointer"
12302
+ ctx2[67] === "laserPointer"
12303
12303
  )
12304
12304
  return 8;
12305
12305
  return -1;
@@ -12436,7 +12436,7 @@ function create_if_block_132(ctx) {
12436
12436
  ]) : {};
12437
12437
  if (dirty[0] & /*theme*/
12438
12438
  2 | dirty[2] & /*$$scope*/
12439
- 128) {
12439
+ 256) {
12440
12440
  button_changes.$$scope = { dirty, ctx: ctx2 };
12441
12441
  }
12442
12442
  button.$set(button_changes);
@@ -12516,7 +12516,7 @@ function create_if_block_122(ctx) {
12516
12516
  button.$on(
12517
12517
  "click",
12518
12518
  /*scroll_down*/
12519
- ctx[28]
12519
+ ctx[29]
12520
12520
  );
12521
12521
  return {
12522
12522
  c() {
@@ -12538,7 +12538,7 @@ function create_if_block_122(ctx) {
12538
12538
  ctx2[3];
12539
12539
  if (dirty[0] & /*theme*/
12540
12540
  2 | dirty[2] & /*$$scope*/
12541
- 128) {
12541
+ 256) {
12542
12542
  button_changes.$$scope = { dirty, ctx: ctx2 };
12543
12543
  }
12544
12544
  button.$set(button_changes);
@@ -12629,12 +12629,14 @@ function create_if_block_52(ctx) {
12629
12629
  const if_blocks_1 = [];
12630
12630
  function select_block_type_2(ctx2, dirty) {
12631
12631
  if (
12632
- /*pencilType*/
12632
+ /*showLaserPen*/
12633
+ ctx2[21] && /*pencilType*/
12633
12634
  ctx2[20] === "laser"
12634
12635
  )
12635
12636
  return 0;
12636
12637
  if (
12637
- /*pencilType*/
12638
+ /*showLaserPen*/
12639
+ ctx2[21] && /*pencilType*/
12638
12640
  ctx2[20] !== "laser"
12639
12641
  )
12640
12642
  return 1;
@@ -12844,7 +12846,7 @@ function create_if_block_11(ctx) {
12844
12846
  ]) : {};
12845
12847
  if (dirty[0] & /*theme*/
12846
12848
  2 | dirty[2] & /*$$scope*/
12847
- 128) {
12849
+ 256) {
12848
12850
  button_changes.$$scope = { dirty, ctx: ctx2 };
12849
12851
  }
12850
12852
  button.$set(button_changes);
@@ -12883,7 +12885,7 @@ function create_if_block_10(ctx) {
12883
12885
  button.$on(
12884
12886
  "click",
12885
12887
  /*usePencil*/
12886
- ctx[37]
12888
+ ctx[38]
12887
12889
  );
12888
12890
  return {
12889
12891
  c() {
@@ -12906,7 +12908,7 @@ function create_if_block_10(ctx) {
12906
12908
  ]) : {};
12907
12909
  if (dirty[0] & /*theme*/
12908
12910
  2 | dirty[2] & /*$$scope*/
12909
- 128) {
12911
+ 256) {
12910
12912
  button_changes.$$scope = { dirty, ctx: ctx2 };
12911
12913
  }
12912
12914
  button.$set(button_changes);
@@ -13023,7 +13025,7 @@ function create_if_block_9(ctx) {
13023
13025
  button.$on(
13024
13026
  "click",
13025
13027
  /*useLaserPen*/
13026
- ctx[38]
13028
+ ctx[39]
13027
13029
  );
13028
13030
  return {
13029
13031
  c() {
@@ -13046,7 +13048,7 @@ function create_if_block_9(ctx) {
13046
13048
  ]) : {};
13047
13049
  if (dirty[0] & /*theme*/
13048
13050
  2 | dirty[2] & /*$$scope*/
13049
- 128) {
13051
+ 256) {
13050
13052
  button_changes.$$scope = { dirty, ctx: ctx2 };
13051
13053
  }
13052
13054
  button.$set(button_changes);
@@ -13103,7 +13105,7 @@ function create_if_block_8(ctx) {
13103
13105
  ]) : {};
13104
13106
  if (dirty[0] & /*theme*/
13105
13107
  2 | dirty[2] & /*$$scope*/
13106
- 128) {
13108
+ 256) {
13107
13109
  button_changes.$$scope = { dirty, ctx: ctx2 };
13108
13110
  }
13109
13111
  button.$set(button_changes);
@@ -13220,7 +13222,7 @@ function create_if_block_7(ctx) {
13220
13222
  button.$on(
13221
13223
  "click",
13222
13224
  /*useMarkPen*/
13223
- ctx[39]
13225
+ ctx[40]
13224
13226
  );
13225
13227
  return {
13226
13228
  c() {
@@ -13243,7 +13245,7 @@ function create_if_block_7(ctx) {
13243
13245
  ]) : {};
13244
13246
  if (dirty[0] & /*theme*/
13245
13247
  2 | dirty[2] & /*$$scope*/
13246
- 128) {
13248
+ 256) {
13247
13249
  button_changes.$$scope = { dirty, ctx: ctx2 };
13248
13250
  }
13249
13251
  button.$set(button_changes);
@@ -13300,7 +13302,7 @@ function create_if_block_6(ctx) {
13300
13302
  ]) : {};
13301
13303
  if (dirty[0] & /*theme*/
13302
13304
  2 | dirty[2] & /*$$scope*/
13303
- 128) {
13305
+ 256) {
13304
13306
  button_changes.$$scope = { dirty, ctx: ctx2 };
13305
13307
  }
13306
13308
  button.$set(button_changes);
@@ -13583,7 +13585,7 @@ function create_if_block_42(ctx) {
13583
13585
  ]) : {};
13584
13586
  if (dirty[0] & /*theme*/
13585
13587
  2 | dirty[2] & /*$$scope*/
13586
- 128) {
13588
+ 256) {
13587
13589
  button_changes.$$scope = { dirty, ctx: ctx2 };
13588
13590
  }
13589
13591
  button.$set(button_changes);
@@ -13622,7 +13624,7 @@ function create_if_block_33(ctx) {
13622
13624
  button.$on(
13623
13625
  "click",
13624
13626
  /*useEraser*/
13625
- ctx[40]
13627
+ ctx[41]
13626
13628
  );
13627
13629
  return {
13628
13630
  c() {
@@ -13645,7 +13647,7 @@ function create_if_block_33(ctx) {
13645
13647
  ]) : {};
13646
13648
  if (dirty[0] & /*theme*/
13647
13649
  2 | dirty[2] & /*$$scope*/
13648
- 128) {
13650
+ 256) {
13649
13651
  button_changes.$$scope = { dirty, ctx: ctx2 };
13650
13652
  }
13651
13653
  button.$set(button_changes);
@@ -13762,7 +13764,7 @@ function create_if_block_24(ctx) {
13762
13764
  button.$on(
13763
13765
  "click",
13764
13766
  /*useEraserBitmap*/
13765
- ctx[41]
13767
+ ctx[42]
13766
13768
  );
13767
13769
  return {
13768
13770
  c() {
@@ -13785,7 +13787,7 @@ function create_if_block_24(ctx) {
13785
13787
  ]) : {};
13786
13788
  if (dirty[0] & /*theme*/
13787
13789
  2 | dirty[2] & /*$$scope*/
13788
- 128) {
13790
+ 256) {
13789
13791
  button_changes.$$scope = { dirty, ctx: ctx2 };
13790
13792
  }
13791
13793
  button.$set(button_changes);
@@ -13842,7 +13844,7 @@ function create_if_block_110(ctx) {
13842
13844
  ]) : {};
13843
13845
  if (dirty[0] & /*theme*/
13844
13846
  2 | dirty[2] & /*$$scope*/
13845
- 128) {
13847
+ 256) {
13846
13848
  button_changes.$$scope = { dirty, ctx: ctx2 };
13847
13849
  }
13848
13850
  button.$set(button_changes);
@@ -13951,7 +13953,7 @@ function create_each_block4(ctx) {
13951
13953
  let span;
13952
13954
  let t1_value = (
13953
13955
  /*label*/
13954
- ctx[59] + ""
13956
+ ctx[60] + ""
13955
13957
  );
13956
13958
  let t1;
13957
13959
  let span_class_value;
@@ -13973,40 +13975,40 @@ function create_each_block4(ctx) {
13973
13975
  attr(img, "class", img_class_value = name5 + "-app-btn-icon " + /*theme*/
13974
13976
  ctx[1]);
13975
13977
  if (!src_url_equal(img.src, img_src_value = /*icon*/
13976
- ctx[58]))
13978
+ ctx[59]))
13977
13979
  attr(img, "src", img_src_value);
13978
13980
  attr(img, "alt", img_alt_value = /*kind*/
13979
- ctx[60]);
13981
+ ctx[61]);
13980
13982
  attr(img, "title", img_title_value = /*label*/
13981
- ctx[59]);
13983
+ ctx[60]);
13982
13984
  attr(span, "class", span_class_value = name5 + "-app-btn-text " + /*theme*/
13983
13985
  ctx[1]);
13984
13986
  attr(button, "class", button_class_value = name5 + "-app-btn " + /*kind*/
13985
- ctx[60] + " " + /*theme*/
13987
+ ctx[61] + " " + /*theme*/
13986
13988
  ctx[1]);
13987
13989
  attr(button, "title", button_title_value = /*label*/
13988
- ctx[59] + /*state*/
13989
- (ctx[62] && /*state*/
13990
- ctx[62].reason ? ": " + /*state*/
13991
- ctx[62].reason : ""));
13990
+ ctx[60] + /*state*/
13991
+ (ctx[63] && /*state*/
13992
+ ctx[63].reason ? ": " + /*state*/
13993
+ ctx[63].reason : ""));
13992
13994
  attr(button, "data-app-kind", button_data_app_kind_value = /*netless_app*/
13993
- ctx[57].kind);
13995
+ ctx[58].kind);
13994
13996
  button.disabled = button_disabled_value = /*state*/
13995
- ctx[62] && /*state*/
13996
- ctx[62].status !== "idle";
13997
+ ctx[63] && /*state*/
13998
+ ctx[63].status !== "idle";
13997
13999
  toggle_class(
13998
14000
  button,
13999
14001
  "is-loading",
14000
14002
  /*state*/
14001
- ctx[62] && /*state*/
14002
- ctx[62].status === "loading"
14003
+ ctx[63] && /*state*/
14004
+ ctx[63].status === "loading"
14003
14005
  );
14004
14006
  toggle_class(
14005
14007
  button,
14006
14008
  "is-failed",
14007
14009
  /*state*/
14008
- ctx[62] && /*state*/
14009
- ctx[62].status === "failed"
14010
+ ctx[63] && /*state*/
14011
+ ctx[63].status === "failed"
14010
14012
  );
14011
14013
  },
14012
14014
  m(target, anchor) {
@@ -14020,9 +14022,9 @@ function create_each_block4(ctx) {
14020
14022
  dispose = listen(button, "click", function() {
14021
14023
  if (is_function(
14022
14024
  /*on_click*/
14023
- ctx[63]
14025
+ ctx[64]
14024
14026
  ))
14025
- ctx[63].apply(this, arguments);
14027
+ ctx[64].apply(this, arguments);
14026
14028
  });
14027
14029
  mounted = true;
14028
14030
  }
@@ -14035,23 +14037,23 @@ function create_each_block4(ctx) {
14035
14037
  attr(img, "class", img_class_value);
14036
14038
  }
14037
14039
  if (dirty[0] & /*$apps*/
14038
- 16777216 && !src_url_equal(img.src, img_src_value = /*icon*/
14039
- ctx[58])) {
14040
+ 33554432 && !src_url_equal(img.src, img_src_value = /*icon*/
14041
+ ctx[59])) {
14040
14042
  attr(img, "src", img_src_value);
14041
14043
  }
14042
14044
  if (dirty[0] & /*$apps*/
14043
- 16777216 && img_alt_value !== (img_alt_value = /*kind*/
14044
- ctx[60])) {
14045
+ 33554432 && img_alt_value !== (img_alt_value = /*kind*/
14046
+ ctx[61])) {
14045
14047
  attr(img, "alt", img_alt_value);
14046
14048
  }
14047
14049
  if (dirty[0] & /*$apps*/
14048
- 16777216 && img_title_value !== (img_title_value = /*label*/
14049
- ctx[59])) {
14050
+ 33554432 && img_title_value !== (img_title_value = /*label*/
14051
+ ctx[60])) {
14050
14052
  attr(img, "title", img_title_value);
14051
14053
  }
14052
14054
  if (dirty[0] & /*$apps*/
14053
- 16777216 && t1_value !== (t1_value = /*label*/
14054
- ctx[59] + ""))
14055
+ 33554432 && t1_value !== (t1_value = /*label*/
14056
+ ctx[60] + ""))
14055
14057
  set_data(t1, t1_value);
14056
14058
  if (dirty[0] & /*theme*/
14057
14059
  2 && span_class_value !== (span_class_value = name5 + "-app-btn-text " + /*theme*/
@@ -14059,48 +14061,48 @@ function create_each_block4(ctx) {
14059
14061
  attr(span, "class", span_class_value);
14060
14062
  }
14061
14063
  if (dirty[0] & /*$apps, theme*/
14062
- 16777218 && button_class_value !== (button_class_value = name5 + "-app-btn " + /*kind*/
14063
- ctx[60] + " " + /*theme*/
14064
+ 33554434 && button_class_value !== (button_class_value = name5 + "-app-btn " + /*kind*/
14065
+ ctx[61] + " " + /*theme*/
14064
14066
  ctx[1])) {
14065
14067
  attr(button, "class", button_class_value);
14066
14068
  }
14067
14069
  if (dirty[0] & /*$apps, $status*/
14068
- 50331648 && button_title_value !== (button_title_value = /*label*/
14069
- ctx[59] + /*state*/
14070
- (ctx[62] && /*state*/
14071
- ctx[62].reason ? ": " + /*state*/
14072
- ctx[62].reason : ""))) {
14070
+ 100663296 && button_title_value !== (button_title_value = /*label*/
14071
+ ctx[60] + /*state*/
14072
+ (ctx[63] && /*state*/
14073
+ ctx[63].reason ? ": " + /*state*/
14074
+ ctx[63].reason : ""))) {
14073
14075
  attr(button, "title", button_title_value);
14074
14076
  }
14075
14077
  if (dirty[0] & /*$apps*/
14076
- 16777216 && button_data_app_kind_value !== (button_data_app_kind_value = /*netless_app*/
14077
- ctx[57].kind)) {
14078
+ 33554432 && button_data_app_kind_value !== (button_data_app_kind_value = /*netless_app*/
14079
+ ctx[58].kind)) {
14078
14080
  attr(button, "data-app-kind", button_data_app_kind_value);
14079
14081
  }
14080
14082
  if (dirty[0] & /*$status, $apps*/
14081
- 50331648 && button_disabled_value !== (button_disabled_value = /*state*/
14082
- ctx[62] && /*state*/
14083
- ctx[62].status !== "idle")) {
14083
+ 100663296 && button_disabled_value !== (button_disabled_value = /*state*/
14084
+ ctx[63] && /*state*/
14085
+ ctx[63].status !== "idle")) {
14084
14086
  button.disabled = button_disabled_value;
14085
14087
  }
14086
14088
  if (dirty[0] & /*$apps, theme, $status, $apps*/
14087
- 50331650) {
14089
+ 100663298) {
14088
14090
  toggle_class(
14089
14091
  button,
14090
14092
  "is-loading",
14091
14093
  /*state*/
14092
- ctx[62] && /*state*/
14093
- ctx[62].status === "loading"
14094
+ ctx[63] && /*state*/
14095
+ ctx[63].status === "loading"
14094
14096
  );
14095
14097
  }
14096
14098
  if (dirty[0] & /*$apps, theme, $status, $apps*/
14097
- 50331650) {
14099
+ 100663298) {
14098
14100
  toggle_class(
14099
14101
  button,
14100
14102
  "is-failed",
14101
14103
  /*state*/
14102
- ctx[62] && /*state*/
14103
- ctx[62].status === "failed"
14104
+ ctx[63] && /*state*/
14105
+ ctx[63].status === "failed"
14104
14106
  );
14105
14107
  }
14106
14108
  },
@@ -14308,7 +14310,7 @@ function create_fragment74(ctx) {
14308
14310
  });
14309
14311
  let each_value = (
14310
14312
  /*$apps*/
14311
- ctx[24]
14313
+ ctx[25]
14312
14314
  );
14313
14315
  let each_blocks = [];
14314
14316
  for (let i = 0; i < each_value.length; i += 1) {
@@ -14388,7 +14390,7 @@ function create_fragment74(ctx) {
14388
14390
  div10,
14389
14391
  "--n",
14390
14392
  /*$apps*/
14391
- ctx[24].length
14393
+ ctx[25].length
14392
14394
  );
14393
14395
  attr(div11, "class", name5 + "-panel-wrapper");
14394
14396
  set_style(div11, "display", "none");
@@ -14421,11 +14423,11 @@ function create_fragment74(ctx) {
14421
14423
  append(div3, div2);
14422
14424
  append(div3, t6);
14423
14425
  mount_component(strokecolor0, div3, null);
14424
- ctx[49](div3);
14426
+ ctx[50](div3);
14425
14427
  append(div11, t7);
14426
14428
  append(div11, div4);
14427
14429
  mount_component(textcolor, div4, null);
14428
- ctx[50](div4);
14430
+ ctx[51](div4);
14429
14431
  append(div11, t8);
14430
14432
  append(div11, div7);
14431
14433
  mount_component(selectshapes, div7, null);
@@ -14437,7 +14439,7 @@ function create_fragment74(ctx) {
14437
14439
  append(div7, div6);
14438
14440
  append(div7, t12);
14439
14441
  mount_component(strokecolor1, div7, null);
14440
- ctx[51](div7);
14442
+ ctx[52](div7);
14441
14443
  append(div11, t13);
14442
14444
  append(div11, div9);
14443
14445
  append(div9, div8);
@@ -14445,7 +14447,7 @@ function create_fragment74(ctx) {
14445
14447
  if_block4.m(div8, null);
14446
14448
  append(div9, t14);
14447
14449
  mount_component(erasersize, div9, null);
14448
- ctx[52](div9);
14450
+ ctx[53](div9);
14449
14451
  append(div11, t15);
14450
14452
  append(div11, div10);
14451
14453
  for (let i = 0; i < each_blocks.length; i += 1) {
@@ -14453,7 +14455,7 @@ function create_fragment74(ctx) {
14453
14455
  each_blocks[i].m(div10, null);
14454
14456
  }
14455
14457
  }
14456
- ctx[54](div10);
14458
+ ctx[55](div10);
14457
14459
  current = true;
14458
14460
  if (!mounted) {
14459
14461
  dispose = [
@@ -14467,7 +14469,7 @@ function create_fragment74(ctx) {
14467
14469
  null,
14468
14470
  div0,
14469
14471
  /*top*/
14470
- ctx[26]
14472
+ ctx[27]
14471
14473
  ))
14472
14474
  ];
14473
14475
  mounted = true;
@@ -14498,9 +14500,9 @@ function create_fragment74(ctx) {
14498
14500
  });
14499
14501
  check_outros();
14500
14502
  }
14501
- if (dirty[0] & /*appliance, theme, btn_props, c, clicker, items, selector, pencilType, pencil_panel, text_panel, app, t, shapes_panel, eraserType, hasAppliancePlugin, eraser_panel*/
14502
- 1621064835 | dirty[1] & /*pencil, text, eraser, clear, hand, laserPointer*/
14503
- 63) {
14503
+ if (dirty[0] & /*appliance, theme, btn_props, c, clicker, items, pencilType, pencil_panel, text_panel, app, t, shapes_panel, eraserType, hasAppliancePlugin, eraser_panel*/
14504
+ 1092582531 | dirty[1] & /*selector, pencil, text, eraser, clear, hand, laserPointer*/
14505
+ 127) {
14504
14506
  each_value_1 = /*items*/
14505
14507
  ctx2[7];
14506
14508
  let i;
@@ -14739,9 +14741,9 @@ function create_fragment74(ctx) {
14739
14741
  ctx2[3];
14740
14742
  erasersize.$set(erasersize_changes);
14741
14743
  if (dirty[0] & /*$apps, theme, $status, app*/
14742
- 50331651) {
14744
+ 100663299) {
14743
14745
  each_value = /*$apps*/
14744
- ctx2[24];
14746
+ ctx2[25];
14745
14747
  let i;
14746
14748
  for (i = 0; i < each_value.length; i += 1) {
14747
14749
  const child_ctx = get_each_context4(ctx2, each_value, i);
@@ -14759,12 +14761,12 @@ function create_fragment74(ctx) {
14759
14761
  each_blocks.length = each_value.length;
14760
14762
  }
14761
14763
  if (!current || dirty[0] & /*$apps*/
14762
- 16777216) {
14764
+ 33554432) {
14763
14765
  set_style(
14764
14766
  div10,
14765
14767
  "--n",
14766
14768
  /*$apps*/
14767
- ctx2[24].length
14769
+ ctx2[25].length
14768
14770
  );
14769
14771
  }
14770
14772
  },
@@ -14829,19 +14831,19 @@ function create_fragment74(ctx) {
14829
14831
  if_block3.d();
14830
14832
  destroy_component(strokewidth0);
14831
14833
  destroy_component(strokecolor0);
14832
- ctx[49](null);
14833
- destroy_component(textcolor);
14834
14834
  ctx[50](null);
14835
+ destroy_component(textcolor);
14836
+ ctx[51](null);
14835
14837
  destroy_component(selectshapes);
14836
14838
  destroy_component(strokewidth1);
14837
14839
  destroy_component(strokecolor1);
14838
- ctx[51](null);
14840
+ ctx[52](null);
14839
14841
  if (if_block4)
14840
14842
  if_block4.d();
14841
14843
  destroy_component(erasersize);
14842
- ctx[52](null);
14844
+ ctx[53](null);
14843
14845
  destroy_each(each_blocks, detaching);
14844
- ctx[54](null);
14846
+ ctx[55](null);
14845
14847
  mounted = false;
14846
14848
  run_all(dispose);
14847
14849
  }
@@ -14857,17 +14859,18 @@ function instance74($$self, $$props, $$invalidate) {
14857
14859
  let status;
14858
14860
  let max_scroll;
14859
14861
  let hasAppliancePlugin;
14862
+ let showLaserPen;
14860
14863
  let hasUseLaserPen;
14861
14864
  let hasUseMarkPen;
14862
14865
  let pencilType;
14863
14866
  let hasUseEraserBitmap;
14864
14867
  let eraserType;
14865
14868
  let $top;
14866
- let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(47, $memberState = $$value)), memberState);
14867
- let $scroll_height, $$unsubscribe_scroll_height = noop, $$subscribe_scroll_height = () => ($$unsubscribe_scroll_height(), $$unsubscribe_scroll_height = subscribe(scroll_height, ($$value) => $$invalidate(48, $scroll_height = $$value)), scroll_height);
14869
+ let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(48, $memberState = $$value)), memberState);
14870
+ 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);
14868
14871
  let $apps;
14869
- let $status, $$unsubscribe_status = noop, $$subscribe_status = () => ($$unsubscribe_status(), $$unsubscribe_status = subscribe(status, ($$value) => $$invalidate(25, $status = $$value)), status);
14870
- component_subscribe($$self, apps, ($$value) => $$invalidate(24, $apps = $$value));
14872
+ let $status, $$unsubscribe_status = noop, $$subscribe_status = () => ($$unsubscribe_status(), $$unsubscribe_status = subscribe(status, ($$value) => $$invalidate(26, $status = $$value)), status);
14873
+ component_subscribe($$self, apps, ($$value) => $$invalidate(25, $apps = $$value));
14871
14874
  $$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
14872
14875
  $$self.$$.on_destroy.push(() => $$unsubscribe_scroll_height());
14873
14876
  $$self.$$.on_destroy.push(() => $$unsubscribe_status());
@@ -14890,7 +14893,7 @@ function instance74($$self, $$props, $$invalidate) {
14890
14893
  let eraser_panel;
14891
14894
  let btn_props;
14892
14895
  let top = writable(0);
14893
- component_subscribe($$self, top, (value) => $$invalidate(56, $top = value));
14896
+ component_subscribe($$self, top, (value) => $$invalidate(57, $top = value));
14894
14897
  function scroll_up() {
14895
14898
  set_store_value(top, $top = clamp($top - 32 - 4, 0, max_scroll), $top);
14896
14899
  }
@@ -15036,7 +15039,7 @@ function instance74($$self, $$props, $$invalidate) {
15036
15039
  if ("scroll_height" in $$props2)
15037
15040
  $$subscribe_scroll_height($$invalidate(4, scroll_height = $$props2.scroll_height));
15038
15041
  if ("computed_height" in $$props2)
15039
- $$invalidate(42, computed_height = $$props2.computed_height);
15042
+ $$invalidate(43, computed_height = $$props2.computed_height);
15040
15043
  if ("scrollable" in $$props2)
15041
15044
  $$invalidate(5, scrollable = $$props2.scrollable);
15042
15045
  if ("placement" in $$props2)
@@ -15049,6 +15052,7 @@ function instance74($$self, $$props, $$invalidate) {
15049
15052
  $$invalidate(9, colors2 = $$props2.colors);
15050
15053
  };
15051
15054
  $$self.$$.update = () => {
15055
+ var _a;
15052
15056
  if ($$self.$$.dirty[0] & /*theme, disabled, placement*/
15053
15057
  74) {
15054
15058
  $$invalidate(17, btn_props = {
@@ -15065,12 +15069,12 @@ function instance74($$self, $$props, $$invalidate) {
15065
15069
  }
15066
15070
  if ($$self.$$.dirty[0] & /*app*/
15067
15071
  1) {
15068
- $$invalidate(46, hotkeys = app == null ? void 0 : app.hotKeys);
15072
+ $$invalidate(47, hotkeys = app == null ? void 0 : app.hotKeys);
15069
15073
  }
15070
15074
  if ($$self.$$.dirty[0] & /*t*/
15071
15075
  2048 | $$self.$$.dirty[1] & /*hotkeys*/
15072
- 32768) {
15073
- $$invalidate(23, c = {
15076
+ 65536) {
15077
+ $$invalidate(24, c = {
15074
15078
  clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
15075
15079
  selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
15076
15080
  pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
@@ -15082,46 +15086,50 @@ function instance74($$self, $$props, $$invalidate) {
15082
15086
  }
15083
15087
  if ($$self.$$.dirty[0] & /*app*/
15084
15088
  1) {
15085
- $$subscribe_memberState($$invalidate(22, memberState = app == null ? void 0 : app.memberState));
15089
+ $$subscribe_memberState($$invalidate(23, memberState = app == null ? void 0 : app.memberState));
15086
15090
  }
15087
15091
  if ($$self.$$.dirty[1] & /*$memberState*/
15088
- 65536) {
15092
+ 131072) {
15089
15093
  $$invalidate(19, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
15090
15094
  }
15091
15095
  if ($$self.$$.dirty[0] & /*app*/
15092
15096
  1) {
15093
- $$subscribe_status($$invalidate(21, status = app == null ? void 0 : app.appsStatus));
15097
+ $$subscribe_status($$invalidate(22, status = app == null ? void 0 : app.appsStatus));
15094
15098
  }
15095
15099
  if ($$self.$$.dirty[0] & /*scrollable*/
15096
15100
  32 | $$self.$$.dirty[1] & /*$scroll_height, computed_height*/
15097
- 133120) {
15101
+ 266240) {
15098
15102
  max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
15099
15103
  }
15100
15104
  if ($$self.$$.dirty[0] & /*app*/
15101
15105
  1) {
15102
15106
  $$invalidate(10, hasAppliancePlugin = !!(app == null ? void 0 : app.appliancePlugin));
15103
15107
  }
15108
+ if ($$self.$$.dirty[0] & /*app*/
15109
+ 1) {
15110
+ $$invalidate(21, showLaserPen = (app == null ? void 0 : app.appliancePlugin) && !((_a = app == null ? void 0 : app.appliancePlugin.currentManager) == null ? void 0 : _a.pluginOptions.extras.useSimple) || false);
15111
+ }
15104
15112
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15105
15113
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15106
- 65536) {
15107
- $$invalidate(45, hasUseLaserPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.useLaserPen) || false);
15114
+ 131072) {
15115
+ $$invalidate(46, hasUseLaserPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.useLaserPen) || false);
15108
15116
  }
15109
15117
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15110
15118
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15111
- 65536) {
15112
- $$invalidate(44, hasUseMarkPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.strokeOpacity) === 0.5 || false);
15119
+ 131072) {
15120
+ $$invalidate(45, hasUseMarkPen = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.strokeOpacity) === 0.5 || false);
15113
15121
  }
15114
15122
  if ($$self.$$.dirty[1] & /*hasUseLaserPen, hasUseMarkPen*/
15115
- 24576) {
15123
+ 49152) {
15116
15124
  $$invalidate(20, pencilType = hasUseLaserPen ? "laser" : hasUseMarkPen ? "mark" : "pencil");
15117
15125
  }
15118
15126
  if ($$self.$$.dirty[0] & /*hasAppliancePlugin*/
15119
15127
  1024 | $$self.$$.dirty[1] & /*$memberState*/
15120
- 65536) {
15121
- $$invalidate(43, hasUseEraserBitmap = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.isLine) === false);
15128
+ 131072) {
15129
+ $$invalidate(44, hasUseEraserBitmap = hasAppliancePlugin && ($memberState == null ? void 0 : $memberState.isLine) === false);
15122
15130
  }
15123
15131
  if ($$self.$$.dirty[1] & /*hasUseEraserBitmap*/
15124
- 4096) {
15132
+ 8192) {
15125
15133
  $$invalidate(18, eraserType = hasUseEraserBitmap ? "pencilEraser" : "eraser");
15126
15134
  }
15127
15135
  };
@@ -15147,6 +15155,7 @@ function instance74($$self, $$props, $$invalidate) {
15147
15155
  eraserType,
15148
15156
  appliance,
15149
15157
  pencilType,
15158
+ showLaserPen,
15150
15159
  status,
15151
15160
  memberState,
15152
15161
  c,
@@ -15198,7 +15207,7 @@ var Contents = class extends SvelteComponent {
15198
15207
  language: 2,
15199
15208
  disabled: 3,
15200
15209
  scroll_height: 4,
15201
- computed_height: 42,
15210
+ computed_height: 43,
15202
15211
  scrollable: 5,
15203
15212
  placement: 6,
15204
15213
  items: 7,