@netless/fastboard-ui 0.3.2-canary.3 → 0.3.2-canary.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 +227 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -75
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +656 -486
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Toolbar/components/Contents.svelte +2 -1
- package/src/components/Toolbar/components/TextColor.svelte +39 -0
package/dist/index.svelte.mjs
CHANGED
|
@@ -3512,12 +3512,12 @@ if (is_client) {
|
|
|
3512
3512
|
{
|
|
3513
3513
|
name: "className",
|
|
3514
3514
|
defaultValue: "",
|
|
3515
|
-
fn(
|
|
3515
|
+
fn(instance60) {
|
|
3516
3516
|
function add() {
|
|
3517
|
-
const el =
|
|
3517
|
+
const el = instance60.popper.firstElementChild;
|
|
3518
3518
|
if (el) {
|
|
3519
3519
|
el.classList.add("fastboard-tip");
|
|
3520
|
-
const extra = (
|
|
3520
|
+
const extra = (instance60.props.className || "").trim();
|
|
3521
3521
|
if (extra) {
|
|
3522
3522
|
el.classList.add(extra);
|
|
3523
3523
|
}
|
|
@@ -3525,7 +3525,7 @@ if (is_client) {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
function remove() {
|
|
3527
3527
|
var _a;
|
|
3528
|
-
(_a =
|
|
3528
|
+
(_a = instance60.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3529
3529
|
}
|
|
3530
3530
|
return {
|
|
3531
3531
|
onCreate: add,
|
|
@@ -3538,21 +3538,21 @@ if (is_client) {
|
|
|
3538
3538
|
});
|
|
3539
3539
|
}
|
|
3540
3540
|
var tippy = function(node, props) {
|
|
3541
|
-
const
|
|
3541
|
+
const instance60 = Tippy(node, props);
|
|
3542
3542
|
return {
|
|
3543
3543
|
update(props2) {
|
|
3544
|
-
|
|
3544
|
+
instance60.setProps(props2);
|
|
3545
3545
|
},
|
|
3546
3546
|
destroy() {
|
|
3547
|
-
|
|
3547
|
+
instance60.destroy();
|
|
3548
3548
|
}
|
|
3549
3549
|
};
|
|
3550
3550
|
};
|
|
3551
3551
|
function tippy_hide_all() {
|
|
3552
3552
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3553
|
-
const
|
|
3554
|
-
if (
|
|
3555
|
-
|
|
3553
|
+
const instance60 = el._tippy;
|
|
3554
|
+
if (instance60)
|
|
3555
|
+
instance60.hide();
|
|
3556
3556
|
});
|
|
3557
3557
|
}
|
|
3558
3558
|
var tippy_menu = {
|
|
@@ -5561,27 +5561,27 @@ var ZoomControl_default = ZoomControl;
|
|
|
5561
5561
|
|
|
5562
5562
|
// src/components/Toolbar/Toolbar.svelte
|
|
5563
5563
|
import {
|
|
5564
|
-
SvelteComponent as
|
|
5564
|
+
SvelteComponent as SvelteComponent56,
|
|
5565
5565
|
action_destroyer as action_destroyer4,
|
|
5566
|
-
append as
|
|
5567
|
-
attr as
|
|
5566
|
+
append as append55,
|
|
5567
|
+
attr as attr56,
|
|
5568
5568
|
component_subscribe as component_subscribe2,
|
|
5569
5569
|
create_component as create_component7,
|
|
5570
5570
|
destroy_component as destroy_component7,
|
|
5571
|
-
detach as
|
|
5572
|
-
element as
|
|
5573
|
-
init as
|
|
5574
|
-
insert as
|
|
5575
|
-
listen as
|
|
5571
|
+
detach as detach55,
|
|
5572
|
+
element as element12,
|
|
5573
|
+
init as init56,
|
|
5574
|
+
insert as insert55,
|
|
5575
|
+
listen as listen7,
|
|
5576
5576
|
mount_component as mount_component7,
|
|
5577
|
-
noop as
|
|
5577
|
+
noop as noop55,
|
|
5578
5578
|
run_all as run_all4,
|
|
5579
|
-
safe_not_equal as
|
|
5580
|
-
set_style as
|
|
5581
|
-
space as
|
|
5582
|
-
subscribe as
|
|
5579
|
+
safe_not_equal as safe_not_equal56,
|
|
5580
|
+
set_style as set_style5,
|
|
5581
|
+
space as space9,
|
|
5582
|
+
subscribe as subscribe9,
|
|
5583
5583
|
svg_element as svg_element45,
|
|
5584
|
-
toggle_class as
|
|
5584
|
+
toggle_class as toggle_class50,
|
|
5585
5585
|
transition_in as transition_in9,
|
|
5586
5586
|
transition_out as transition_out9
|
|
5587
5587
|
} from "svelte/internal";
|
|
@@ -5621,39 +5621,39 @@ var scrollHeight = function(node, height2) {
|
|
|
5621
5621
|
|
|
5622
5622
|
// src/components/Toolbar/components/Contents.svelte
|
|
5623
5623
|
import {
|
|
5624
|
-
SvelteComponent as
|
|
5624
|
+
SvelteComponent as SvelteComponent55,
|
|
5625
5625
|
action_destroyer as action_destroyer3,
|
|
5626
|
-
append as
|
|
5626
|
+
append as append54,
|
|
5627
5627
|
assign as assign2,
|
|
5628
|
-
attr as
|
|
5628
|
+
attr as attr55,
|
|
5629
5629
|
binding_callbacks,
|
|
5630
5630
|
check_outros as check_outros4,
|
|
5631
5631
|
component_subscribe,
|
|
5632
5632
|
create_component as create_component6,
|
|
5633
5633
|
destroy_component as destroy_component6,
|
|
5634
5634
|
destroy_each,
|
|
5635
|
-
detach as
|
|
5636
|
-
element as
|
|
5635
|
+
detach as detach54,
|
|
5636
|
+
element as element11,
|
|
5637
5637
|
empty as empty4,
|
|
5638
5638
|
get_spread_object as get_spread_object2,
|
|
5639
5639
|
get_spread_update as get_spread_update2,
|
|
5640
5640
|
group_outros as group_outros4,
|
|
5641
|
-
init as
|
|
5642
|
-
insert as
|
|
5641
|
+
init as init55,
|
|
5642
|
+
insert as insert54,
|
|
5643
5643
|
is_function as is_function3,
|
|
5644
|
-
listen as
|
|
5644
|
+
listen as listen6,
|
|
5645
5645
|
mount_component as mount_component6,
|
|
5646
|
-
noop as
|
|
5646
|
+
noop as noop54,
|
|
5647
5647
|
run_all as run_all3,
|
|
5648
|
-
safe_not_equal as
|
|
5648
|
+
safe_not_equal as safe_not_equal55,
|
|
5649
5649
|
set_data as set_data3,
|
|
5650
5650
|
set_store_value,
|
|
5651
|
-
set_style as
|
|
5652
|
-
space as
|
|
5651
|
+
set_style as set_style4,
|
|
5652
|
+
space as space8,
|
|
5653
5653
|
src_url_equal as src_url_equal2,
|
|
5654
|
-
subscribe as
|
|
5654
|
+
subscribe as subscribe8,
|
|
5655
5655
|
text as text_1,
|
|
5656
|
-
toggle_class as
|
|
5656
|
+
toggle_class as toggle_class49,
|
|
5657
5657
|
transition_in as transition_in8,
|
|
5658
5658
|
transition_out as transition_out8
|
|
5659
5659
|
} from "svelte/internal";
|
|
@@ -6317,35 +6317,205 @@ var StrokeColor = class extends SvelteComponent52 {
|
|
|
6317
6317
|
};
|
|
6318
6318
|
var StrokeColor_default = StrokeColor;
|
|
6319
6319
|
|
|
6320
|
-
// src/components/Toolbar/components/
|
|
6320
|
+
// src/components/Toolbar/components/TextColor.svelte
|
|
6321
6321
|
import {
|
|
6322
6322
|
SvelteComponent as SvelteComponent53,
|
|
6323
|
-
action_destroyer as action_destroyer2,
|
|
6324
6323
|
append as append52,
|
|
6325
6324
|
attr as attr53,
|
|
6326
|
-
|
|
6327
|
-
create_component as create_component5,
|
|
6328
|
-
destroy_component as destroy_component5,
|
|
6325
|
+
destroy_block as destroy_block2,
|
|
6329
6326
|
detach as detach52,
|
|
6330
6327
|
element as element9,
|
|
6331
|
-
empty as empty3,
|
|
6332
|
-
group_outros as group_outros3,
|
|
6333
6328
|
init as init53,
|
|
6334
6329
|
insert as insert52,
|
|
6335
|
-
is_function as is_function2,
|
|
6336
6330
|
listen as listen4,
|
|
6337
|
-
mount_component as mount_component5,
|
|
6338
6331
|
noop as noop52,
|
|
6339
|
-
outro_and_destroy_block,
|
|
6340
6332
|
safe_not_equal as safe_not_equal53,
|
|
6333
|
+
set_style as set_style3,
|
|
6341
6334
|
space as space6,
|
|
6342
6335
|
subscribe as subscribe6,
|
|
6343
6336
|
toggle_class as toggle_class47,
|
|
6344
|
-
transition_in as transition_in7,
|
|
6345
|
-
transition_out as transition_out7,
|
|
6346
6337
|
update_keyed_each as update_keyed_each2
|
|
6347
6338
|
} from "svelte/internal";
|
|
6348
6339
|
function get_each_context2(ctx, list, i) {
|
|
6340
|
+
const child_ctx = ctx.slice();
|
|
6341
|
+
child_ctx[7] = list[i];
|
|
6342
|
+
return child_ctx;
|
|
6343
|
+
}
|
|
6344
|
+
function create_each_block2(key_1, ctx) {
|
|
6345
|
+
let button;
|
|
6346
|
+
let span;
|
|
6347
|
+
let t;
|
|
6348
|
+
let button_class_value;
|
|
6349
|
+
let button_data_color_key_value;
|
|
6350
|
+
return {
|
|
6351
|
+
key: key_1,
|
|
6352
|
+
first: null,
|
|
6353
|
+
c() {
|
|
6354
|
+
button = element9("button");
|
|
6355
|
+
span = element9("span");
|
|
6356
|
+
t = space6();
|
|
6357
|
+
attr53(span, "class", "fastboard-toolbar-color-item");
|
|
6358
|
+
set_style3(span, "background-color", ctx[7], false);
|
|
6359
|
+
attr53(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6360
|
+
attr53(button, "data-color-key", button_data_color_key_value = ctx[7]);
|
|
6361
|
+
button.disabled = ctx[1];
|
|
6362
|
+
toggle_class47(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6363
|
+
this.first = button;
|
|
6364
|
+
},
|
|
6365
|
+
m(target, anchor) {
|
|
6366
|
+
insert52(target, button, anchor);
|
|
6367
|
+
append52(button, span);
|
|
6368
|
+
append52(button, t);
|
|
6369
|
+
},
|
|
6370
|
+
p(new_ctx, dirty) {
|
|
6371
|
+
ctx = new_ctx;
|
|
6372
|
+
if (dirty & 1 && button_class_value !== (button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0])) {
|
|
6373
|
+
attr53(button, "class", button_class_value);
|
|
6374
|
+
}
|
|
6375
|
+
if (dirty & 2) {
|
|
6376
|
+
button.disabled = ctx[1];
|
|
6377
|
+
}
|
|
6378
|
+
if (dirty & 5) {
|
|
6379
|
+
toggle_class47(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6380
|
+
}
|
|
6381
|
+
},
|
|
6382
|
+
d(detaching) {
|
|
6383
|
+
if (detaching)
|
|
6384
|
+
detach52(button);
|
|
6385
|
+
}
|
|
6386
|
+
};
|
|
6387
|
+
}
|
|
6388
|
+
function create_fragment53(ctx) {
|
|
6389
|
+
let div;
|
|
6390
|
+
let each_blocks = [];
|
|
6391
|
+
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
6392
|
+
let div_class_value;
|
|
6393
|
+
let mounted;
|
|
6394
|
+
let dispose;
|
|
6395
|
+
let each_value = colorKeys;
|
|
6396
|
+
const get_key = (ctx2) => ctx2[7];
|
|
6397
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
6398
|
+
let child_ctx = get_each_context2(ctx, each_value, i);
|
|
6399
|
+
let key = get_key(child_ctx);
|
|
6400
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block2(key, child_ctx));
|
|
6401
|
+
}
|
|
6402
|
+
return {
|
|
6403
|
+
c() {
|
|
6404
|
+
div = element9("div");
|
|
6405
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6406
|
+
each_blocks[i].c();
|
|
6407
|
+
}
|
|
6408
|
+
attr53(div, "class", div_class_value = "fastboard-toolbar-colors " + ctx[0]);
|
|
6409
|
+
},
|
|
6410
|
+
m(target, anchor) {
|
|
6411
|
+
insert52(target, div, anchor);
|
|
6412
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6413
|
+
each_blocks[i].m(div, null);
|
|
6414
|
+
}
|
|
6415
|
+
if (!mounted) {
|
|
6416
|
+
dispose = listen4(div, "click", ctx[4]);
|
|
6417
|
+
mounted = true;
|
|
6418
|
+
}
|
|
6419
|
+
},
|
|
6420
|
+
p(ctx2, [dirty]) {
|
|
6421
|
+
if (dirty & 7) {
|
|
6422
|
+
each_value = colorKeys;
|
|
6423
|
+
each_blocks = update_keyed_each2(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, destroy_block2, create_each_block2, null, get_each_context2);
|
|
6424
|
+
}
|
|
6425
|
+
if (dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-colors " + ctx2[0])) {
|
|
6426
|
+
attr53(div, "class", div_class_value);
|
|
6427
|
+
}
|
|
6428
|
+
},
|
|
6429
|
+
i: noop52,
|
|
6430
|
+
o: noop52,
|
|
6431
|
+
d(detaching) {
|
|
6432
|
+
if (detaching)
|
|
6433
|
+
detach52(div);
|
|
6434
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6435
|
+
each_blocks[i].d();
|
|
6436
|
+
}
|
|
6437
|
+
mounted = false;
|
|
6438
|
+
dispose();
|
|
6439
|
+
}
|
|
6440
|
+
};
|
|
6441
|
+
}
|
|
6442
|
+
function is_equal_color2(a, b) {
|
|
6443
|
+
return a && b && a.every((v, i) => v === b[i]);
|
|
6444
|
+
}
|
|
6445
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6446
|
+
let memberState;
|
|
6447
|
+
let textColor;
|
|
6448
|
+
let $memberState, $$unsubscribe_memberState = noop52, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe6(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
6449
|
+
$$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
|
|
6450
|
+
let { app = null } = $$props;
|
|
6451
|
+
let { theme = "light" } = $$props;
|
|
6452
|
+
let { disabled = false } = $$props;
|
|
6453
|
+
function set_stroke_color(ev) {
|
|
6454
|
+
let button = ev.target;
|
|
6455
|
+
if (button && button.dataset.colorKey) {
|
|
6456
|
+
let color = colors[button.dataset.colorKey];
|
|
6457
|
+
if (color && app) {
|
|
6458
|
+
app.setTextColor(color);
|
|
6459
|
+
}
|
|
6460
|
+
}
|
|
6461
|
+
}
|
|
6462
|
+
$$self.$$set = ($$props2) => {
|
|
6463
|
+
if ("app" in $$props2)
|
|
6464
|
+
$$invalidate(5, app = $$props2.app);
|
|
6465
|
+
if ("theme" in $$props2)
|
|
6466
|
+
$$invalidate(0, theme = $$props2.theme);
|
|
6467
|
+
if ("disabled" in $$props2)
|
|
6468
|
+
$$invalidate(1, disabled = $$props2.disabled);
|
|
6469
|
+
};
|
|
6470
|
+
$$self.$$.update = () => {
|
|
6471
|
+
if ($$self.$$.dirty & 32) {
|
|
6472
|
+
$:
|
|
6473
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6474
|
+
}
|
|
6475
|
+
if ($$self.$$.dirty & 64) {
|
|
6476
|
+
$:
|
|
6477
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6478
|
+
}
|
|
6479
|
+
};
|
|
6480
|
+
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
6481
|
+
}
|
|
6482
|
+
var TextColor = class extends SvelteComponent53 {
|
|
6483
|
+
constructor(options) {
|
|
6484
|
+
super();
|
|
6485
|
+
init53(this, options, instance53, create_fragment53, safe_not_equal53, { app: 5, theme: 0, disabled: 1 });
|
|
6486
|
+
}
|
|
6487
|
+
};
|
|
6488
|
+
var TextColor_default = TextColor;
|
|
6489
|
+
|
|
6490
|
+
// src/components/Toolbar/components/Shapes.svelte
|
|
6491
|
+
import {
|
|
6492
|
+
SvelteComponent as SvelteComponent54,
|
|
6493
|
+
action_destroyer as action_destroyer2,
|
|
6494
|
+
append as append53,
|
|
6495
|
+
attr as attr54,
|
|
6496
|
+
check_outros as check_outros3,
|
|
6497
|
+
create_component as create_component5,
|
|
6498
|
+
destroy_component as destroy_component5,
|
|
6499
|
+
detach as detach53,
|
|
6500
|
+
element as element10,
|
|
6501
|
+
empty as empty3,
|
|
6502
|
+
group_outros as group_outros3,
|
|
6503
|
+
init as init54,
|
|
6504
|
+
insert as insert53,
|
|
6505
|
+
is_function as is_function2,
|
|
6506
|
+
listen as listen5,
|
|
6507
|
+
mount_component as mount_component5,
|
|
6508
|
+
noop as noop53,
|
|
6509
|
+
outro_and_destroy_block,
|
|
6510
|
+
safe_not_equal as safe_not_equal54,
|
|
6511
|
+
space as space7,
|
|
6512
|
+
subscribe as subscribe7,
|
|
6513
|
+
toggle_class as toggle_class48,
|
|
6514
|
+
transition_in as transition_in7,
|
|
6515
|
+
transition_out as transition_out7,
|
|
6516
|
+
update_keyed_each as update_keyed_each3
|
|
6517
|
+
} from "svelte/internal";
|
|
6518
|
+
function get_each_context3(ctx, list, i) {
|
|
6349
6519
|
const child_ctx = ctx.slice();
|
|
6350
6520
|
child_ctx[12] = list[i];
|
|
6351
6521
|
const constants_0 = child_ctx[4] === "shape" ? child_ctx[3] === child_ctx[12] : child_ctx[4] === child_ctx[12];
|
|
@@ -6373,7 +6543,7 @@ function create_else_block5(ctx) {
|
|
|
6373
6543
|
if (switch_instance) {
|
|
6374
6544
|
mount_component5(switch_instance, target, anchor);
|
|
6375
6545
|
}
|
|
6376
|
-
|
|
6546
|
+
insert53(target, switch_instance_anchor, anchor);
|
|
6377
6547
|
current = true;
|
|
6378
6548
|
},
|
|
6379
6549
|
p(ctx2, dirty) {
|
|
@@ -6415,7 +6585,7 @@ function create_else_block5(ctx) {
|
|
|
6415
6585
|
},
|
|
6416
6586
|
d(detaching) {
|
|
6417
6587
|
if (detaching)
|
|
6418
|
-
|
|
6588
|
+
detach53(switch_instance_anchor);
|
|
6419
6589
|
if (switch_instance)
|
|
6420
6590
|
destroy_component5(switch_instance, detaching);
|
|
6421
6591
|
}
|
|
@@ -6444,7 +6614,7 @@ function create_if_block5(ctx) {
|
|
|
6444
6614
|
if (switch_instance) {
|
|
6445
6615
|
mount_component5(switch_instance, target, anchor);
|
|
6446
6616
|
}
|
|
6447
|
-
|
|
6617
|
+
insert53(target, switch_instance_anchor, anchor);
|
|
6448
6618
|
current = true;
|
|
6449
6619
|
},
|
|
6450
6620
|
p(ctx2, dirty) {
|
|
@@ -6486,13 +6656,13 @@ function create_if_block5(ctx) {
|
|
|
6486
6656
|
},
|
|
6487
6657
|
d(detaching) {
|
|
6488
6658
|
if (detaching)
|
|
6489
|
-
|
|
6659
|
+
detach53(switch_instance_anchor);
|
|
6490
6660
|
if (switch_instance)
|
|
6491
6661
|
destroy_component5(switch_instance, detaching);
|
|
6492
6662
|
}
|
|
6493
6663
|
};
|
|
6494
6664
|
}
|
|
6495
|
-
function
|
|
6665
|
+
function create_each_block3(key_1, ctx) {
|
|
6496
6666
|
let button;
|
|
6497
6667
|
let current_block_type_index;
|
|
6498
6668
|
let if_block;
|
|
@@ -6516,19 +6686,19 @@ function create_each_block2(key_1, ctx) {
|
|
|
6516
6686
|
key: key_1,
|
|
6517
6687
|
first: null,
|
|
6518
6688
|
c() {
|
|
6519
|
-
button =
|
|
6689
|
+
button = element10("button");
|
|
6520
6690
|
if_block.c();
|
|
6521
|
-
t_1 =
|
|
6522
|
-
|
|
6523
|
-
|
|
6691
|
+
t_1 = space7();
|
|
6692
|
+
attr54(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
|
|
6693
|
+
attr54(button, "data-shape-key", button_data_shape_key_value = ctx[12]);
|
|
6524
6694
|
button.disabled = ctx[1];
|
|
6525
|
-
|
|
6695
|
+
toggle_class48(button, "is-active", ctx[13]);
|
|
6526
6696
|
this.first = button;
|
|
6527
6697
|
},
|
|
6528
6698
|
m(target, anchor) {
|
|
6529
|
-
|
|
6699
|
+
insert53(target, button, anchor);
|
|
6530
6700
|
if_blocks[current_block_type_index].m(button, null);
|
|
6531
|
-
|
|
6701
|
+
append53(button, t_1);
|
|
6532
6702
|
current = true;
|
|
6533
6703
|
if (!mounted) {
|
|
6534
6704
|
dispose = action_destroyer2(tippy_action = tippy.call(null, button, {
|
|
@@ -6561,7 +6731,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6561
6731
|
if_block.m(button, t_1);
|
|
6562
6732
|
}
|
|
6563
6733
|
if (!current || dirty & 1 && button_class_value !== (button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12])) {
|
|
6564
|
-
|
|
6734
|
+
attr54(button, "class", button_class_value);
|
|
6565
6735
|
}
|
|
6566
6736
|
if (!current || dirty & 2) {
|
|
6567
6737
|
button.disabled = ctx[1];
|
|
@@ -6572,7 +6742,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6572
6742
|
placement: "top"
|
|
6573
6743
|
});
|
|
6574
6744
|
if (dirty & 25) {
|
|
6575
|
-
|
|
6745
|
+
toggle_class48(button, "is-active", ctx[13]);
|
|
6576
6746
|
}
|
|
6577
6747
|
},
|
|
6578
6748
|
i(local) {
|
|
@@ -6587,14 +6757,14 @@ function create_each_block2(key_1, ctx) {
|
|
|
6587
6757
|
},
|
|
6588
6758
|
d(detaching) {
|
|
6589
6759
|
if (detaching)
|
|
6590
|
-
|
|
6760
|
+
detach53(button);
|
|
6591
6761
|
if_blocks[current_block_type_index].d();
|
|
6592
6762
|
mounted = false;
|
|
6593
6763
|
dispose();
|
|
6594
6764
|
}
|
|
6595
6765
|
};
|
|
6596
6766
|
}
|
|
6597
|
-
function
|
|
6767
|
+
function create_fragment54(ctx) {
|
|
6598
6768
|
let div;
|
|
6599
6769
|
let each_blocks = [];
|
|
6600
6770
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6605,26 +6775,26 @@ function create_fragment53(ctx) {
|
|
|
6605
6775
|
let each_value = shapes;
|
|
6606
6776
|
const get_key = (ctx2) => ctx2[12];
|
|
6607
6777
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6608
|
-
let child_ctx =
|
|
6778
|
+
let child_ctx = get_each_context3(ctx, each_value, i);
|
|
6609
6779
|
let key = get_key(child_ctx);
|
|
6610
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
6780
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block3(key, child_ctx));
|
|
6611
6781
|
}
|
|
6612
6782
|
return {
|
|
6613
6783
|
c() {
|
|
6614
|
-
div =
|
|
6784
|
+
div = element10("div");
|
|
6615
6785
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6616
6786
|
each_blocks[i].c();
|
|
6617
6787
|
}
|
|
6618
|
-
|
|
6788
|
+
attr54(div, "class", div_class_value = "fastboard-toolbar-shapes " + ctx[0]);
|
|
6619
6789
|
},
|
|
6620
6790
|
m(target, anchor) {
|
|
6621
|
-
|
|
6791
|
+
insert53(target, div, anchor);
|
|
6622
6792
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6623
6793
|
each_blocks[i].m(div, null);
|
|
6624
6794
|
}
|
|
6625
6795
|
current = true;
|
|
6626
6796
|
if (!mounted) {
|
|
6627
|
-
dispose =
|
|
6797
|
+
dispose = listen5(div, "click", ctx[7]);
|
|
6628
6798
|
mounted = true;
|
|
6629
6799
|
}
|
|
6630
6800
|
},
|
|
@@ -6632,11 +6802,11 @@ function create_fragment53(ctx) {
|
|
|
6632
6802
|
if (dirty & 95) {
|
|
6633
6803
|
each_value = shapes;
|
|
6634
6804
|
group_outros3();
|
|
6635
|
-
each_blocks =
|
|
6805
|
+
each_blocks = update_keyed_each3(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block3, null, get_each_context3);
|
|
6636
6806
|
check_outros3();
|
|
6637
6807
|
}
|
|
6638
6808
|
if (!current || dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-shapes " + ctx2[0])) {
|
|
6639
|
-
|
|
6809
|
+
attr54(div, "class", div_class_value);
|
|
6640
6810
|
}
|
|
6641
6811
|
},
|
|
6642
6812
|
i(local) {
|
|
@@ -6655,7 +6825,7 @@ function create_fragment53(ctx) {
|
|
|
6655
6825
|
},
|
|
6656
6826
|
d(detaching) {
|
|
6657
6827
|
if (detaching)
|
|
6658
|
-
|
|
6828
|
+
detach53(div);
|
|
6659
6829
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6660
6830
|
each_blocks[i].d();
|
|
6661
6831
|
}
|
|
@@ -6686,13 +6856,13 @@ var i18n5 = {
|
|
|
6686
6856
|
speechBalloon: "\u6C14\u6CE1"
|
|
6687
6857
|
}
|
|
6688
6858
|
};
|
|
6689
|
-
function
|
|
6859
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
6690
6860
|
let t;
|
|
6691
6861
|
let memberState;
|
|
6692
6862
|
let appliance;
|
|
6693
6863
|
let shape;
|
|
6694
6864
|
let hotkeys;
|
|
6695
|
-
let $memberState, $$unsubscribe_memberState =
|
|
6865
|
+
let $memberState, $$unsubscribe_memberState = noop53, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe7(memberState, ($$value) => $$invalidate(11, $memberState = $$value)), memberState);
|
|
6696
6866
|
$$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
|
|
6697
6867
|
let { app = null } = $$props;
|
|
6698
6868
|
let { theme = "light" } = $$props;
|
|
@@ -6768,10 +6938,10 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6768
6938
|
$memberState
|
|
6769
6939
|
];
|
|
6770
6940
|
}
|
|
6771
|
-
var Shapes = class extends
|
|
6941
|
+
var Shapes = class extends SvelteComponent54 {
|
|
6772
6942
|
constructor(options) {
|
|
6773
6943
|
super();
|
|
6774
|
-
|
|
6944
|
+
init54(this, options, instance54, create_fragment54, safe_not_equal54, {
|
|
6775
6945
|
app: 8,
|
|
6776
6946
|
theme: 0,
|
|
6777
6947
|
language: 9,
|
|
@@ -6782,7 +6952,7 @@ var Shapes = class extends SvelteComponent53 {
|
|
|
6782
6952
|
var Shapes_default = Shapes;
|
|
6783
6953
|
|
|
6784
6954
|
// src/components/Toolbar/components/Contents.svelte
|
|
6785
|
-
function
|
|
6955
|
+
function get_each_context4(ctx, list, i) {
|
|
6786
6956
|
const child_ctx = ctx.slice();
|
|
6787
6957
|
child_ctx[40] = list[i];
|
|
6788
6958
|
const constants_0 = child_ctx[40];
|
|
@@ -6959,7 +7129,7 @@ function create_default_slot_8(ctx) {
|
|
|
6959
7129
|
},
|
|
6960
7130
|
m(target, anchor) {
|
|
6961
7131
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
6962
|
-
|
|
7132
|
+
insert54(target, if_block_anchor, anchor);
|
|
6963
7133
|
current = true;
|
|
6964
7134
|
},
|
|
6965
7135
|
p(ctx2, dirty) {
|
|
@@ -6997,7 +7167,7 @@ function create_default_slot_8(ctx) {
|
|
|
6997
7167
|
d(detaching) {
|
|
6998
7168
|
if_blocks[current_block_type_index].d(detaching);
|
|
6999
7169
|
if (detaching)
|
|
7000
|
-
|
|
7170
|
+
detach54(if_block_anchor);
|
|
7001
7171
|
}
|
|
7002
7172
|
};
|
|
7003
7173
|
}
|
|
@@ -7090,7 +7260,7 @@ function create_default_slot_7(ctx) {
|
|
|
7090
7260
|
},
|
|
7091
7261
|
m(target, anchor) {
|
|
7092
7262
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
7093
|
-
|
|
7263
|
+
insert54(target, if_block_anchor, anchor);
|
|
7094
7264
|
current = true;
|
|
7095
7265
|
},
|
|
7096
7266
|
p(ctx2, dirty) {
|
|
@@ -7128,7 +7298,7 @@ function create_default_slot_7(ctx) {
|
|
|
7128
7298
|
d(detaching) {
|
|
7129
7299
|
if_blocks[current_block_type_index].d(detaching);
|
|
7130
7300
|
if (detaching)
|
|
7131
|
-
|
|
7301
|
+
detach54(if_block_anchor);
|
|
7132
7302
|
}
|
|
7133
7303
|
};
|
|
7134
7304
|
}
|
|
@@ -7221,7 +7391,7 @@ function create_default_slot_6(ctx) {
|
|
|
7221
7391
|
},
|
|
7222
7392
|
m(target, anchor) {
|
|
7223
7393
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
7224
|
-
|
|
7394
|
+
insert54(target, if_block_anchor, anchor);
|
|
7225
7395
|
current = true;
|
|
7226
7396
|
},
|
|
7227
7397
|
p(ctx2, dirty) {
|
|
@@ -7259,7 +7429,7 @@ function create_default_slot_6(ctx) {
|
|
|
7259
7429
|
d(detaching) {
|
|
7260
7430
|
if_blocks[current_block_type_index].d(detaching);
|
|
7261
7431
|
if (detaching)
|
|
7262
|
-
|
|
7432
|
+
detach54(if_block_anchor);
|
|
7263
7433
|
}
|
|
7264
7434
|
};
|
|
7265
7435
|
}
|
|
@@ -7352,7 +7522,7 @@ function create_default_slot_53(ctx) {
|
|
|
7352
7522
|
},
|
|
7353
7523
|
m(target, anchor) {
|
|
7354
7524
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
7355
|
-
|
|
7525
|
+
insert54(target, if_block_anchor, anchor);
|
|
7356
7526
|
current = true;
|
|
7357
7527
|
},
|
|
7358
7528
|
p(ctx2, dirty) {
|
|
@@ -7390,7 +7560,7 @@ function create_default_slot_53(ctx) {
|
|
|
7390
7560
|
d(detaching) {
|
|
7391
7561
|
if_blocks[current_block_type_index].d(detaching);
|
|
7392
7562
|
if (detaching)
|
|
7393
|
-
|
|
7563
|
+
detach54(if_block_anchor);
|
|
7394
7564
|
}
|
|
7395
7565
|
};
|
|
7396
7566
|
}
|
|
@@ -7415,7 +7585,7 @@ function create_else_block_12(ctx) {
|
|
|
7415
7585
|
if (switch_instance) {
|
|
7416
7586
|
mount_component6(switch_instance, target, anchor);
|
|
7417
7587
|
}
|
|
7418
|
-
|
|
7588
|
+
insert54(target, switch_instance_anchor, anchor);
|
|
7419
7589
|
current = true;
|
|
7420
7590
|
},
|
|
7421
7591
|
p(ctx2, dirty) {
|
|
@@ -7457,7 +7627,7 @@ function create_else_block_12(ctx) {
|
|
|
7457
7627
|
},
|
|
7458
7628
|
d(detaching) {
|
|
7459
7629
|
if (detaching)
|
|
7460
|
-
|
|
7630
|
+
detach54(switch_instance_anchor);
|
|
7461
7631
|
if (switch_instance)
|
|
7462
7632
|
destroy_component6(switch_instance, detaching);
|
|
7463
7633
|
}
|
|
@@ -7486,7 +7656,7 @@ function create_if_block_2(ctx) {
|
|
|
7486
7656
|
if (switch_instance) {
|
|
7487
7657
|
mount_component6(switch_instance, target, anchor);
|
|
7488
7658
|
}
|
|
7489
|
-
|
|
7659
|
+
insert54(target, switch_instance_anchor, anchor);
|
|
7490
7660
|
current = true;
|
|
7491
7661
|
},
|
|
7492
7662
|
p(ctx2, dirty) {
|
|
@@ -7528,7 +7698,7 @@ function create_if_block_2(ctx) {
|
|
|
7528
7698
|
},
|
|
7529
7699
|
d(detaching) {
|
|
7530
7700
|
if (detaching)
|
|
7531
|
-
|
|
7701
|
+
detach54(switch_instance_anchor);
|
|
7532
7702
|
if (switch_instance)
|
|
7533
7703
|
destroy_component6(switch_instance, detaching);
|
|
7534
7704
|
}
|
|
@@ -7555,7 +7725,7 @@ function create_default_slot_43(ctx) {
|
|
|
7555
7725
|
},
|
|
7556
7726
|
m(target, anchor) {
|
|
7557
7727
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
7558
|
-
|
|
7728
|
+
insert54(target, if_block_anchor, anchor);
|
|
7559
7729
|
current = true;
|
|
7560
7730
|
},
|
|
7561
7731
|
p(ctx2, dirty) {
|
|
@@ -7593,7 +7763,7 @@ function create_default_slot_43(ctx) {
|
|
|
7593
7763
|
d(detaching) {
|
|
7594
7764
|
if_blocks[current_block_type_index].d(detaching);
|
|
7595
7765
|
if (detaching)
|
|
7596
|
-
|
|
7766
|
+
detach54(if_block_anchor);
|
|
7597
7767
|
}
|
|
7598
7768
|
};
|
|
7599
7769
|
}
|
|
@@ -7686,7 +7856,7 @@ function create_default_slot_34(ctx) {
|
|
|
7686
7856
|
},
|
|
7687
7857
|
m(target, anchor) {
|
|
7688
7858
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
7689
|
-
|
|
7859
|
+
insert54(target, if_block_anchor, anchor);
|
|
7690
7860
|
current = true;
|
|
7691
7861
|
},
|
|
7692
7862
|
p(ctx2, dirty) {
|
|
@@ -7724,7 +7894,7 @@ function create_default_slot_34(ctx) {
|
|
|
7724
7894
|
d(detaching) {
|
|
7725
7895
|
if_blocks[current_block_type_index].d(detaching);
|
|
7726
7896
|
if (detaching)
|
|
7727
|
-
|
|
7897
|
+
detach54(if_block_anchor);
|
|
7728
7898
|
}
|
|
7729
7899
|
};
|
|
7730
7900
|
}
|
|
@@ -7875,7 +8045,7 @@ function create_default_slot4(ctx) {
|
|
|
7875
8045
|
}
|
|
7876
8046
|
};
|
|
7877
8047
|
}
|
|
7878
|
-
function
|
|
8048
|
+
function create_each_block4(ctx) {
|
|
7879
8049
|
let button;
|
|
7880
8050
|
let img;
|
|
7881
8051
|
let img_class_value;
|
|
@@ -7896,34 +8066,34 @@ function create_each_block3(ctx) {
|
|
|
7896
8066
|
let dispose;
|
|
7897
8067
|
return {
|
|
7898
8068
|
c() {
|
|
7899
|
-
button =
|
|
7900
|
-
img =
|
|
7901
|
-
t0 =
|
|
7902
|
-
span =
|
|
8069
|
+
button = element11("button");
|
|
8070
|
+
img = element11("img");
|
|
8071
|
+
t0 = space8();
|
|
8072
|
+
span = element11("span");
|
|
7903
8073
|
t1 = text_1(t1_value);
|
|
7904
|
-
t2 =
|
|
7905
|
-
|
|
8074
|
+
t2 = space8();
|
|
8075
|
+
attr55(img, "class", img_class_value = name5 + "-app-btn-icon " + ctx[1]);
|
|
7906
8076
|
if (!src_url_equal2(img.src, img_src_value = ctx[41]))
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
8077
|
+
attr55(img, "src", img_src_value);
|
|
8078
|
+
attr55(img, "alt", img_alt_value = ctx[43]);
|
|
8079
|
+
attr55(img, "title", img_title_value = ctx[42]);
|
|
8080
|
+
attr55(span, "class", span_class_value = name5 + "-app-btn-text " + ctx[1]);
|
|
8081
|
+
attr55(button, "class", button_class_value = name5 + "-app-btn " + ctx[43] + " " + ctx[1]);
|
|
8082
|
+
attr55(button, "title", button_title_value = ctx[42] + (ctx[45] && ctx[45].reason ? ": " + ctx[45].reason : ""));
|
|
8083
|
+
attr55(button, "data-app-kind", button_data_app_kind_value = ctx[40].kind);
|
|
7914
8084
|
button.disabled = button_disabled_value = ctx[45] && ctx[45].status !== "idle";
|
|
7915
|
-
|
|
7916
|
-
|
|
8085
|
+
toggle_class49(button, "is-loading", ctx[45] && ctx[45].status === "loading");
|
|
8086
|
+
toggle_class49(button, "is-failed", ctx[45] && ctx[45].status === "failed");
|
|
7917
8087
|
},
|
|
7918
8088
|
m(target, anchor) {
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
8089
|
+
insert54(target, button, anchor);
|
|
8090
|
+
append54(button, img);
|
|
8091
|
+
append54(button, t0);
|
|
8092
|
+
append54(button, span);
|
|
8093
|
+
append54(span, t1);
|
|
8094
|
+
append54(button, t2);
|
|
7925
8095
|
if (!mounted) {
|
|
7926
|
-
dispose =
|
|
8096
|
+
dispose = listen6(button, "click", function() {
|
|
7927
8097
|
if (is_function3(ctx[0] && ctx[44].bind(null, ctx[0])))
|
|
7928
8098
|
(ctx[0] && ctx[44].bind(null, ctx[0])).apply(this, arguments);
|
|
7929
8099
|
});
|
|
@@ -7933,50 +8103,50 @@ function create_each_block3(ctx) {
|
|
|
7933
8103
|
p(new_ctx, dirty) {
|
|
7934
8104
|
ctx = new_ctx;
|
|
7935
8105
|
if (dirty[0] & 2 && img_class_value !== (img_class_value = name5 + "-app-btn-icon " + ctx[1])) {
|
|
7936
|
-
|
|
8106
|
+
attr55(img, "class", img_class_value);
|
|
7937
8107
|
}
|
|
7938
8108
|
if (dirty[0] & 262144 && !src_url_equal2(img.src, img_src_value = ctx[41])) {
|
|
7939
|
-
|
|
8109
|
+
attr55(img, "src", img_src_value);
|
|
7940
8110
|
}
|
|
7941
8111
|
if (dirty[0] & 262144 && img_alt_value !== (img_alt_value = ctx[43])) {
|
|
7942
|
-
|
|
8112
|
+
attr55(img, "alt", img_alt_value);
|
|
7943
8113
|
}
|
|
7944
8114
|
if (dirty[0] & 262144 && img_title_value !== (img_title_value = ctx[42])) {
|
|
7945
|
-
|
|
8115
|
+
attr55(img, "title", img_title_value);
|
|
7946
8116
|
}
|
|
7947
8117
|
if (dirty[0] & 262144 && t1_value !== (t1_value = ctx[42] + ""))
|
|
7948
8118
|
set_data3(t1, t1_value);
|
|
7949
8119
|
if (dirty[0] & 2 && span_class_value !== (span_class_value = name5 + "-app-btn-text " + ctx[1])) {
|
|
7950
|
-
|
|
8120
|
+
attr55(span, "class", span_class_value);
|
|
7951
8121
|
}
|
|
7952
8122
|
if (dirty[0] & 262146 && button_class_value !== (button_class_value = name5 + "-app-btn " + ctx[43] + " " + ctx[1])) {
|
|
7953
|
-
|
|
8123
|
+
attr55(button, "class", button_class_value);
|
|
7954
8124
|
}
|
|
7955
8125
|
if (dirty[0] & 786432 && button_title_value !== (button_title_value = ctx[42] + (ctx[45] && ctx[45].reason ? ": " + ctx[45].reason : ""))) {
|
|
7956
|
-
|
|
8126
|
+
attr55(button, "title", button_title_value);
|
|
7957
8127
|
}
|
|
7958
8128
|
if (dirty[0] & 262144 && button_data_app_kind_value !== (button_data_app_kind_value = ctx[40].kind)) {
|
|
7959
|
-
|
|
8129
|
+
attr55(button, "data-app-kind", button_data_app_kind_value);
|
|
7960
8130
|
}
|
|
7961
8131
|
if (dirty[0] & 786432 && button_disabled_value !== (button_disabled_value = ctx[45] && ctx[45].status !== "idle")) {
|
|
7962
8132
|
button.disabled = button_disabled_value;
|
|
7963
8133
|
}
|
|
7964
8134
|
if (dirty[0] & 786434) {
|
|
7965
|
-
|
|
8135
|
+
toggle_class49(button, "is-loading", ctx[45] && ctx[45].status === "loading");
|
|
7966
8136
|
}
|
|
7967
8137
|
if (dirty[0] & 786434) {
|
|
7968
|
-
|
|
8138
|
+
toggle_class49(button, "is-failed", ctx[45] && ctx[45].status === "failed");
|
|
7969
8139
|
}
|
|
7970
8140
|
},
|
|
7971
8141
|
d(detaching) {
|
|
7972
8142
|
if (detaching)
|
|
7973
|
-
|
|
8143
|
+
detach54(button);
|
|
7974
8144
|
mounted = false;
|
|
7975
8145
|
dispose();
|
|
7976
8146
|
}
|
|
7977
8147
|
};
|
|
7978
8148
|
}
|
|
7979
|
-
function
|
|
8149
|
+
function create_fragment55(ctx) {
|
|
7980
8150
|
let t0;
|
|
7981
8151
|
let div0;
|
|
7982
8152
|
let button0;
|
|
@@ -8010,7 +8180,7 @@ function create_fragment54(ctx) {
|
|
|
8010
8180
|
let div2_class_value;
|
|
8011
8181
|
let t12;
|
|
8012
8182
|
let div3;
|
|
8013
|
-
let
|
|
8183
|
+
let textcolor;
|
|
8014
8184
|
let div3_class_value;
|
|
8015
8185
|
let t13;
|
|
8016
8186
|
let div6;
|
|
@@ -8024,7 +8194,7 @@ function create_fragment54(ctx) {
|
|
|
8024
8194
|
let div5;
|
|
8025
8195
|
let div5_class_value;
|
|
8026
8196
|
let t17;
|
|
8027
|
-
let
|
|
8197
|
+
let strokecolor1;
|
|
8028
8198
|
let div6_class_value;
|
|
8029
8199
|
let t18;
|
|
8030
8200
|
let div7;
|
|
@@ -8157,7 +8327,7 @@ function create_fragment54(ctx) {
|
|
|
8157
8327
|
disabled: ctx[3]
|
|
8158
8328
|
}
|
|
8159
8329
|
});
|
|
8160
|
-
|
|
8330
|
+
textcolor = new TextColor_default({
|
|
8161
8331
|
props: {
|
|
8162
8332
|
app: ctx[0],
|
|
8163
8333
|
theme: ctx[1],
|
|
@@ -8179,7 +8349,7 @@ function create_fragment54(ctx) {
|
|
|
8179
8349
|
disabled: ctx[3]
|
|
8180
8350
|
}
|
|
8181
8351
|
});
|
|
8182
|
-
|
|
8352
|
+
strokecolor1 = new StrokeColor_default({
|
|
8183
8353
|
props: {
|
|
8184
8354
|
app: ctx[0],
|
|
8185
8355
|
theme: ctx[1],
|
|
@@ -8189,122 +8359,122 @@ function create_fragment54(ctx) {
|
|
|
8189
8359
|
let each_value = ctx[18];
|
|
8190
8360
|
let each_blocks = [];
|
|
8191
8361
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8192
|
-
each_blocks[i] =
|
|
8362
|
+
each_blocks[i] = create_each_block4(get_each_context4(ctx, each_value, i));
|
|
8193
8363
|
}
|
|
8194
8364
|
return {
|
|
8195
8365
|
c() {
|
|
8196
8366
|
if (if_block0)
|
|
8197
8367
|
if_block0.c();
|
|
8198
|
-
t0 =
|
|
8199
|
-
div0 =
|
|
8368
|
+
t0 = space8();
|
|
8369
|
+
div0 = element11("div");
|
|
8200
8370
|
create_component6(button0.$$.fragment);
|
|
8201
|
-
t1 =
|
|
8371
|
+
t1 = space8();
|
|
8202
8372
|
create_component6(button1.$$.fragment);
|
|
8203
|
-
t2 =
|
|
8373
|
+
t2 = space8();
|
|
8204
8374
|
create_component6(button2.$$.fragment);
|
|
8205
|
-
t3 =
|
|
8375
|
+
t3 = space8();
|
|
8206
8376
|
create_component6(button3.$$.fragment);
|
|
8207
|
-
t4 =
|
|
8377
|
+
t4 = space8();
|
|
8208
8378
|
create_component6(button4.$$.fragment);
|
|
8209
|
-
t5 =
|
|
8379
|
+
t5 = space8();
|
|
8210
8380
|
create_component6(button5.$$.fragment);
|
|
8211
|
-
t6 =
|
|
8381
|
+
t6 = space8();
|
|
8212
8382
|
create_component6(button6.$$.fragment);
|
|
8213
|
-
t7 =
|
|
8383
|
+
t7 = space8();
|
|
8214
8384
|
create_component6(button7.$$.fragment);
|
|
8215
|
-
t8 =
|
|
8385
|
+
t8 = space8();
|
|
8216
8386
|
if (if_block1)
|
|
8217
8387
|
if_block1.c();
|
|
8218
|
-
t9 =
|
|
8219
|
-
div8 =
|
|
8220
|
-
div2 =
|
|
8388
|
+
t9 = space8();
|
|
8389
|
+
div8 = element11("div");
|
|
8390
|
+
div2 = element11("div");
|
|
8221
8391
|
create_component6(strokewidth0.$$.fragment);
|
|
8222
|
-
t10 =
|
|
8223
|
-
div1 =
|
|
8224
|
-
t11 =
|
|
8392
|
+
t10 = space8();
|
|
8393
|
+
div1 = element11("div");
|
|
8394
|
+
t11 = space8();
|
|
8225
8395
|
create_component6(strokecolor0.$$.fragment);
|
|
8226
|
-
t12 =
|
|
8227
|
-
div3 =
|
|
8228
|
-
create_component6(
|
|
8229
|
-
t13 =
|
|
8230
|
-
div6 =
|
|
8396
|
+
t12 = space8();
|
|
8397
|
+
div3 = element11("div");
|
|
8398
|
+
create_component6(textcolor.$$.fragment);
|
|
8399
|
+
t13 = space8();
|
|
8400
|
+
div6 = element11("div");
|
|
8231
8401
|
create_component6(shapes2.$$.fragment);
|
|
8232
|
-
t14 =
|
|
8233
|
-
div4 =
|
|
8234
|
-
t15 =
|
|
8402
|
+
t14 = space8();
|
|
8403
|
+
div4 = element11("div");
|
|
8404
|
+
t15 = space8();
|
|
8235
8405
|
create_component6(strokewidth1.$$.fragment);
|
|
8236
|
-
t16 =
|
|
8237
|
-
div5 =
|
|
8238
|
-
t17 =
|
|
8239
|
-
create_component6(
|
|
8240
|
-
t18 =
|
|
8241
|
-
div7 =
|
|
8406
|
+
t16 = space8();
|
|
8407
|
+
div5 = element11("div");
|
|
8408
|
+
t17 = space8();
|
|
8409
|
+
create_component6(strokecolor1.$$.fragment);
|
|
8410
|
+
t18 = space8();
|
|
8411
|
+
div7 = element11("div");
|
|
8242
8412
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8243
8413
|
each_blocks[i].c();
|
|
8244
8414
|
}
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8415
|
+
attr55(div0, "class", div0_class_value = name5 + "-scrollable");
|
|
8416
|
+
toggle_class49(div0, "scrollable", ctx[5]);
|
|
8417
|
+
attr55(div1, "class", div1_class_value = name5 + "-panel-divider");
|
|
8418
|
+
attr55(div2, "class", div2_class_value = name5 + "-panel pencil");
|
|
8419
|
+
attr55(div3, "class", div3_class_value = name5 + "-panel text");
|
|
8420
|
+
attr55(div4, "class", div4_class_value = name5 + "-panel-divider");
|
|
8421
|
+
attr55(div5, "class", div5_class_value = name5 + "-panel-divider");
|
|
8422
|
+
attr55(div6, "class", div6_class_value = name5 + "-panel shapes");
|
|
8423
|
+
attr55(div7, "class", div7_class_value = name5 + "-panel apps");
|
|
8424
|
+
set_style4(div7, "--n", ctx[18].length);
|
|
8425
|
+
attr55(div8, "class", div8_class_value = name5 + "-panel-wrapper");
|
|
8426
|
+
set_style4(div8, "display", "none");
|
|
8257
8427
|
},
|
|
8258
8428
|
m(target, anchor) {
|
|
8259
8429
|
if (if_block0)
|
|
8260
8430
|
if_block0.m(target, anchor);
|
|
8261
|
-
|
|
8262
|
-
|
|
8431
|
+
insert54(target, t0, anchor);
|
|
8432
|
+
insert54(target, div0, anchor);
|
|
8263
8433
|
mount_component6(button0, div0, null);
|
|
8264
|
-
|
|
8434
|
+
append54(div0, t1);
|
|
8265
8435
|
mount_component6(button1, div0, null);
|
|
8266
|
-
|
|
8436
|
+
append54(div0, t2);
|
|
8267
8437
|
mount_component6(button2, div0, null);
|
|
8268
|
-
|
|
8438
|
+
append54(div0, t3);
|
|
8269
8439
|
mount_component6(button3, div0, null);
|
|
8270
|
-
|
|
8440
|
+
append54(div0, t4);
|
|
8271
8441
|
mount_component6(button4, div0, null);
|
|
8272
|
-
|
|
8442
|
+
append54(div0, t5);
|
|
8273
8443
|
mount_component6(button5, div0, null);
|
|
8274
|
-
|
|
8444
|
+
append54(div0, t6);
|
|
8275
8445
|
mount_component6(button6, div0, null);
|
|
8276
|
-
|
|
8446
|
+
append54(div0, t7);
|
|
8277
8447
|
mount_component6(button7, div0, null);
|
|
8278
|
-
|
|
8448
|
+
insert54(target, t8, anchor);
|
|
8279
8449
|
if (if_block1)
|
|
8280
8450
|
if_block1.m(target, anchor);
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8451
|
+
insert54(target, t9, anchor);
|
|
8452
|
+
insert54(target, div8, anchor);
|
|
8453
|
+
append54(div8, div2);
|
|
8284
8454
|
mount_component6(strokewidth0, div2, null);
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8455
|
+
append54(div2, t10);
|
|
8456
|
+
append54(div2, div1);
|
|
8457
|
+
append54(div2, t11);
|
|
8288
8458
|
mount_component6(strokecolor0, div2, null);
|
|
8289
8459
|
ctx[34](div2);
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
mount_component6(
|
|
8460
|
+
append54(div8, t12);
|
|
8461
|
+
append54(div8, div3);
|
|
8462
|
+
mount_component6(textcolor, div3, null);
|
|
8293
8463
|
ctx[35](div3);
|
|
8294
|
-
|
|
8295
|
-
|
|
8464
|
+
append54(div8, t13);
|
|
8465
|
+
append54(div8, div6);
|
|
8296
8466
|
mount_component6(shapes2, div6, null);
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8467
|
+
append54(div6, t14);
|
|
8468
|
+
append54(div6, div4);
|
|
8469
|
+
append54(div6, t15);
|
|
8300
8470
|
mount_component6(strokewidth1, div6, null);
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
mount_component6(
|
|
8471
|
+
append54(div6, t16);
|
|
8472
|
+
append54(div6, div5);
|
|
8473
|
+
append54(div6, t17);
|
|
8474
|
+
mount_component6(strokecolor1, div6, null);
|
|
8305
8475
|
ctx[36](div6);
|
|
8306
|
-
|
|
8307
|
-
|
|
8476
|
+
append54(div8, t18);
|
|
8477
|
+
append54(div8, div7);
|
|
8308
8478
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8309
8479
|
each_blocks[i].m(div7, null);
|
|
8310
8480
|
}
|
|
@@ -8418,7 +8588,7 @@ function create_fragment54(ctx) {
|
|
|
8418
8588
|
if (scrollHeight_action && is_function3(scrollHeight_action.update) && dirty[0] & 16)
|
|
8419
8589
|
scrollHeight_action.update.call(null, ctx2[4]);
|
|
8420
8590
|
if (dirty[0] & 32) {
|
|
8421
|
-
|
|
8591
|
+
toggle_class49(div0, "scrollable", ctx2[5]);
|
|
8422
8592
|
}
|
|
8423
8593
|
if (ctx2[5]) {
|
|
8424
8594
|
if (if_block1) {
|
|
@@ -8455,14 +8625,14 @@ function create_fragment54(ctx) {
|
|
|
8455
8625
|
if (dirty[0] & 8)
|
|
8456
8626
|
strokecolor0_changes.disabled = ctx2[3];
|
|
8457
8627
|
strokecolor0.$set(strokecolor0_changes);
|
|
8458
|
-
const
|
|
8628
|
+
const textcolor_changes = {};
|
|
8459
8629
|
if (dirty[0] & 1)
|
|
8460
|
-
|
|
8630
|
+
textcolor_changes.app = ctx2[0];
|
|
8461
8631
|
if (dirty[0] & 2)
|
|
8462
|
-
|
|
8632
|
+
textcolor_changes.theme = ctx2[1];
|
|
8463
8633
|
if (dirty[0] & 8)
|
|
8464
|
-
|
|
8465
|
-
|
|
8634
|
+
textcolor_changes.disabled = ctx2[3];
|
|
8635
|
+
textcolor.$set(textcolor_changes);
|
|
8466
8636
|
const shapes_changes = {};
|
|
8467
8637
|
if (dirty[0] & 1)
|
|
8468
8638
|
shapes_changes.app = ctx2[0];
|
|
@@ -8481,23 +8651,23 @@ function create_fragment54(ctx) {
|
|
|
8481
8651
|
if (dirty[0] & 8)
|
|
8482
8652
|
strokewidth1_changes.disabled = ctx2[3];
|
|
8483
8653
|
strokewidth1.$set(strokewidth1_changes);
|
|
8484
|
-
const
|
|
8654
|
+
const strokecolor1_changes = {};
|
|
8485
8655
|
if (dirty[0] & 1)
|
|
8486
|
-
|
|
8656
|
+
strokecolor1_changes.app = ctx2[0];
|
|
8487
8657
|
if (dirty[0] & 2)
|
|
8488
|
-
|
|
8658
|
+
strokecolor1_changes.theme = ctx2[1];
|
|
8489
8659
|
if (dirty[0] & 8)
|
|
8490
|
-
|
|
8491
|
-
|
|
8660
|
+
strokecolor1_changes.disabled = ctx2[3];
|
|
8661
|
+
strokecolor1.$set(strokecolor1_changes);
|
|
8492
8662
|
if (dirty[0] & 786435) {
|
|
8493
8663
|
each_value = ctx2[18];
|
|
8494
8664
|
let i;
|
|
8495
8665
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8496
|
-
const child_ctx =
|
|
8666
|
+
const child_ctx = get_each_context4(ctx2, each_value, i);
|
|
8497
8667
|
if (each_blocks[i]) {
|
|
8498
8668
|
each_blocks[i].p(child_ctx, dirty);
|
|
8499
8669
|
} else {
|
|
8500
|
-
each_blocks[i] =
|
|
8670
|
+
each_blocks[i] = create_each_block4(child_ctx);
|
|
8501
8671
|
each_blocks[i].c();
|
|
8502
8672
|
each_blocks[i].m(div7, null);
|
|
8503
8673
|
}
|
|
@@ -8508,7 +8678,7 @@ function create_fragment54(ctx) {
|
|
|
8508
8678
|
each_blocks.length = each_value.length;
|
|
8509
8679
|
}
|
|
8510
8680
|
if (!current || dirty[0] & 262144) {
|
|
8511
|
-
|
|
8681
|
+
set_style4(div7, "--n", ctx2[18].length);
|
|
8512
8682
|
}
|
|
8513
8683
|
},
|
|
8514
8684
|
i(local) {
|
|
@@ -8526,10 +8696,10 @@ function create_fragment54(ctx) {
|
|
|
8526
8696
|
transition_in8(if_block1);
|
|
8527
8697
|
transition_in8(strokewidth0.$$.fragment, local);
|
|
8528
8698
|
transition_in8(strokecolor0.$$.fragment, local);
|
|
8529
|
-
transition_in8(
|
|
8699
|
+
transition_in8(textcolor.$$.fragment, local);
|
|
8530
8700
|
transition_in8(shapes2.$$.fragment, local);
|
|
8531
8701
|
transition_in8(strokewidth1.$$.fragment, local);
|
|
8532
|
-
transition_in8(
|
|
8702
|
+
transition_in8(strokecolor1.$$.fragment, local);
|
|
8533
8703
|
current = true;
|
|
8534
8704
|
},
|
|
8535
8705
|
o(local) {
|
|
@@ -8545,19 +8715,19 @@ function create_fragment54(ctx) {
|
|
|
8545
8715
|
transition_out8(if_block1);
|
|
8546
8716
|
transition_out8(strokewidth0.$$.fragment, local);
|
|
8547
8717
|
transition_out8(strokecolor0.$$.fragment, local);
|
|
8548
|
-
transition_out8(
|
|
8718
|
+
transition_out8(textcolor.$$.fragment, local);
|
|
8549
8719
|
transition_out8(shapes2.$$.fragment, local);
|
|
8550
8720
|
transition_out8(strokewidth1.$$.fragment, local);
|
|
8551
|
-
transition_out8(
|
|
8721
|
+
transition_out8(strokecolor1.$$.fragment, local);
|
|
8552
8722
|
current = false;
|
|
8553
8723
|
},
|
|
8554
8724
|
d(detaching) {
|
|
8555
8725
|
if (if_block0)
|
|
8556
8726
|
if_block0.d(detaching);
|
|
8557
8727
|
if (detaching)
|
|
8558
|
-
|
|
8728
|
+
detach54(t0);
|
|
8559
8729
|
if (detaching)
|
|
8560
|
-
|
|
8730
|
+
detach54(div0);
|
|
8561
8731
|
destroy_component6(button0);
|
|
8562
8732
|
destroy_component6(button1);
|
|
8563
8733
|
destroy_component6(button2);
|
|
@@ -8567,21 +8737,21 @@ function create_fragment54(ctx) {
|
|
|
8567
8737
|
destroy_component6(button6);
|
|
8568
8738
|
destroy_component6(button7);
|
|
8569
8739
|
if (detaching)
|
|
8570
|
-
|
|
8740
|
+
detach54(t8);
|
|
8571
8741
|
if (if_block1)
|
|
8572
8742
|
if_block1.d(detaching);
|
|
8573
8743
|
if (detaching)
|
|
8574
|
-
|
|
8744
|
+
detach54(t9);
|
|
8575
8745
|
if (detaching)
|
|
8576
|
-
|
|
8746
|
+
detach54(div8);
|
|
8577
8747
|
destroy_component6(strokewidth0);
|
|
8578
8748
|
destroy_component6(strokecolor0);
|
|
8579
8749
|
ctx[34](null);
|
|
8580
|
-
destroy_component6(
|
|
8750
|
+
destroy_component6(textcolor);
|
|
8581
8751
|
ctx[35](null);
|
|
8582
8752
|
destroy_component6(shapes2);
|
|
8583
8753
|
destroy_component6(strokewidth1);
|
|
8584
|
-
destroy_component6(
|
|
8754
|
+
destroy_component6(strokecolor1);
|
|
8585
8755
|
ctx[36](null);
|
|
8586
8756
|
destroy_each(each_blocks, detaching);
|
|
8587
8757
|
ctx[37](null);
|
|
@@ -8591,7 +8761,7 @@ function create_fragment54(ctx) {
|
|
|
8591
8761
|
};
|
|
8592
8762
|
}
|
|
8593
8763
|
var name5 = "fastboard-toolbar";
|
|
8594
|
-
function
|
|
8764
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
8595
8765
|
let t;
|
|
8596
8766
|
let hotkeys;
|
|
8597
8767
|
let c;
|
|
@@ -8601,10 +8771,10 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
8601
8771
|
let status;
|
|
8602
8772
|
let max_scroll;
|
|
8603
8773
|
let $top;
|
|
8604
|
-
let $scroll_height, $$unsubscribe_scroll_height =
|
|
8605
|
-
let $memberState, $$unsubscribe_memberState =
|
|
8774
|
+
let $scroll_height, $$unsubscribe_scroll_height = noop54, $$subscribe_scroll_height = () => ($$unsubscribe_scroll_height(), $$unsubscribe_scroll_height = subscribe8(scroll_height, ($$value) => $$invalidate(32, $scroll_height = $$value)), scroll_height);
|
|
8775
|
+
let $memberState, $$unsubscribe_memberState = noop54, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe8(memberState, ($$value) => $$invalidate(33, $memberState = $$value)), memberState);
|
|
8606
8776
|
let $apps;
|
|
8607
|
-
let $status, $$unsubscribe_status =
|
|
8777
|
+
let $status, $$unsubscribe_status = noop54, $$subscribe_status = () => ($$unsubscribe_status(), $$unsubscribe_status = subscribe8(status, ($$value) => $$invalidate(19, $status = $$value)), status);
|
|
8608
8778
|
component_subscribe($$self, apps, ($$value) => $$invalidate(18, $apps = $$value));
|
|
8609
8779
|
$$self.$$.on_destroy.push(() => $$unsubscribe_scroll_height());
|
|
8610
8780
|
$$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
|
|
@@ -8794,10 +8964,10 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
8794
8964
|
div7_binding
|
|
8795
8965
|
];
|
|
8796
8966
|
}
|
|
8797
|
-
var Contents = class extends
|
|
8967
|
+
var Contents = class extends SvelteComponent55 {
|
|
8798
8968
|
constructor(options) {
|
|
8799
8969
|
super();
|
|
8800
|
-
|
|
8970
|
+
init55(this, options, instance55, create_fragment55, safe_not_equal55, {
|
|
8801
8971
|
app: 0,
|
|
8802
8972
|
theme: 1,
|
|
8803
8973
|
language: 2,
|
|
@@ -8820,24 +8990,24 @@ function create_else_block7(ctx) {
|
|
|
8820
8990
|
c() {
|
|
8821
8991
|
path0 = svg_element45("path");
|
|
8822
8992
|
path1 = svg_element45("path");
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8993
|
+
attr56(path0, "stroke", "#000");
|
|
8994
|
+
attr56(path0, "d", "M20 52v16");
|
|
8995
|
+
attr56(path0, "class", path0_class_value = name6 + "-handler-image-stroke-color");
|
|
8996
|
+
attr56(path1, "fill", "#000");
|
|
8997
|
+
attr56(path1, "stroke", "none");
|
|
8998
|
+
attr56(path1, "d", "M16 52v16l-8-8z");
|
|
8999
|
+
attr56(path1, "class", path1_class_value = name6 + "-handler-image-fill-color");
|
|
8830
9000
|
},
|
|
8831
9001
|
m(target, anchor) {
|
|
8832
|
-
|
|
8833
|
-
|
|
9002
|
+
insert55(target, path0, anchor);
|
|
9003
|
+
insert55(target, path1, anchor);
|
|
8834
9004
|
},
|
|
8835
|
-
p:
|
|
9005
|
+
p: noop55,
|
|
8836
9006
|
d(detaching) {
|
|
8837
9007
|
if (detaching)
|
|
8838
|
-
|
|
9008
|
+
detach55(path0);
|
|
8839
9009
|
if (detaching)
|
|
8840
|
-
|
|
9010
|
+
detach55(path1);
|
|
8841
9011
|
}
|
|
8842
9012
|
};
|
|
8843
9013
|
}
|
|
@@ -8850,28 +9020,28 @@ function create_if_block7(ctx) {
|
|
|
8850
9020
|
c() {
|
|
8851
9021
|
path0 = svg_element45("path");
|
|
8852
9022
|
path1 = svg_element45("path");
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
9023
|
+
attr56(path0, "stroke", "#000");
|
|
9024
|
+
attr56(path0, "d", "M10 52v16");
|
|
9025
|
+
attr56(path0, "class", path0_class_value = name6 + "-handler-image-stroke-color");
|
|
9026
|
+
attr56(path1, "fill", "#000");
|
|
9027
|
+
attr56(path1, "stroke", "none");
|
|
9028
|
+
attr56(path1, "d", "M14 52v16l8-8z");
|
|
9029
|
+
attr56(path1, "class", path1_class_value = name6 + "-handler-image-fill-color");
|
|
8860
9030
|
},
|
|
8861
9031
|
m(target, anchor) {
|
|
8862
|
-
|
|
8863
|
-
|
|
9032
|
+
insert55(target, path0, anchor);
|
|
9033
|
+
insert55(target, path1, anchor);
|
|
8864
9034
|
},
|
|
8865
|
-
p:
|
|
9035
|
+
p: noop55,
|
|
8866
9036
|
d(detaching) {
|
|
8867
9037
|
if (detaching)
|
|
8868
|
-
|
|
9038
|
+
detach55(path0);
|
|
8869
9039
|
if (detaching)
|
|
8870
|
-
|
|
9040
|
+
detach55(path1);
|
|
8871
9041
|
}
|
|
8872
9042
|
};
|
|
8873
9043
|
}
|
|
8874
|
-
function
|
|
9044
|
+
function create_fragment56(ctx) {
|
|
8875
9045
|
let div1;
|
|
8876
9046
|
let div0;
|
|
8877
9047
|
let contents;
|
|
@@ -8911,51 +9081,51 @@ function create_fragment55(ctx) {
|
|
|
8911
9081
|
let if_block = current_block_type(ctx);
|
|
8912
9082
|
return {
|
|
8913
9083
|
c() {
|
|
8914
|
-
div1 =
|
|
8915
|
-
div0 =
|
|
9084
|
+
div1 = element12("div");
|
|
9085
|
+
div0 = element12("div");
|
|
8916
9086
|
create_component7(contents.$$.fragment);
|
|
8917
|
-
t0 =
|
|
8918
|
-
label =
|
|
8919
|
-
input =
|
|
8920
|
-
t1 =
|
|
9087
|
+
t0 = space9();
|
|
9088
|
+
label = element12("label");
|
|
9089
|
+
input = element12("input");
|
|
9090
|
+
t1 = space9();
|
|
8921
9091
|
svg = svg_element45("svg");
|
|
8922
9092
|
path0 = svg_element45("path");
|
|
8923
9093
|
path1 = svg_element45("path");
|
|
8924
9094
|
if_block.c();
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
},
|
|
8942
|
-
m(target, anchor) {
|
|
8943
|
-
|
|
8944
|
-
|
|
9095
|
+
attr56(div0, "class", div0_class_value = name6 + "-contents " + ctx[1]);
|
|
9096
|
+
set_style5(div0, "height", ctx[4] ? ctx[5] + "px" : "auto", false);
|
|
9097
|
+
attr56(input, "type", "checkbox");
|
|
9098
|
+
attr56(path0, "fill", "#fff");
|
|
9099
|
+
attr56(path0, "stroke", "none");
|
|
9100
|
+
attr56(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9101
|
+
attr56(path0, "class", path0_class_value = name6 + "-handler-bg-color");
|
|
9102
|
+
attr56(path1, "stroke", "#000");
|
|
9103
|
+
attr56(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9104
|
+
attr56(path1, "class", path1_class_value = name6 + "-handler-border-color");
|
|
9105
|
+
attr56(svg, "fill", "none");
|
|
9106
|
+
attr56(svg, "stroke-width", "2");
|
|
9107
|
+
attr56(svg, "viewBox", "0 0 32 120");
|
|
9108
|
+
attr56(label, "class", label_class_value = name6 + "-handler " + ctx[1]);
|
|
9109
|
+
attr56(div1, "class", div1_class_value = name6 + " " + ctx[1]);
|
|
9110
|
+
toggle_class50(div1, "collapsed", ctx[3]);
|
|
9111
|
+
},
|
|
9112
|
+
m(target, anchor) {
|
|
9113
|
+
insert55(target, div1, anchor);
|
|
9114
|
+
append55(div1, div0);
|
|
8945
9115
|
mount_component7(contents, div0, null);
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
9116
|
+
append55(div1, t0);
|
|
9117
|
+
append55(div1, label);
|
|
9118
|
+
append55(label, input);
|
|
8949
9119
|
input.checked = ctx[3];
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
9120
|
+
append55(label, t1);
|
|
9121
|
+
append55(label, svg);
|
|
9122
|
+
append55(svg, path0);
|
|
9123
|
+
append55(svg, path1);
|
|
8954
9124
|
if_block.m(svg, null);
|
|
8955
9125
|
current = true;
|
|
8956
9126
|
if (!mounted) {
|
|
8957
9127
|
dispose = [
|
|
8958
|
-
|
|
9128
|
+
listen7(input, "change", ctx[13]),
|
|
8959
9129
|
action_destroyer4(height_action = height.call(null, div1, ctx[8]))
|
|
8960
9130
|
];
|
|
8961
9131
|
mounted = true;
|
|
@@ -8977,10 +9147,10 @@ function create_fragment55(ctx) {
|
|
|
8977
9147
|
contents_changes.scrollable = ctx2[4];
|
|
8978
9148
|
contents.$set(contents_changes);
|
|
8979
9149
|
if (!current || dirty & 2 && div0_class_value !== (div0_class_value = name6 + "-contents " + ctx2[1])) {
|
|
8980
|
-
|
|
9150
|
+
attr56(div0, "class", div0_class_value);
|
|
8981
9151
|
}
|
|
8982
9152
|
if (dirty & 48) {
|
|
8983
|
-
|
|
9153
|
+
set_style5(div0, "height", ctx2[4] ? ctx2[5] + "px" : "auto", false);
|
|
8984
9154
|
}
|
|
8985
9155
|
if (dirty & 8) {
|
|
8986
9156
|
input.checked = ctx2[3];
|
|
@@ -8996,13 +9166,13 @@ function create_fragment55(ctx) {
|
|
|
8996
9166
|
}
|
|
8997
9167
|
}
|
|
8998
9168
|
if (!current || dirty & 2 && label_class_value !== (label_class_value = name6 + "-handler " + ctx2[1])) {
|
|
8999
|
-
|
|
9169
|
+
attr56(label, "class", label_class_value);
|
|
9000
9170
|
}
|
|
9001
9171
|
if (!current || dirty & 2 && div1_class_value !== (div1_class_value = name6 + " " + ctx2[1])) {
|
|
9002
|
-
|
|
9172
|
+
attr56(div1, "class", div1_class_value);
|
|
9003
9173
|
}
|
|
9004
9174
|
if (dirty & 10) {
|
|
9005
|
-
|
|
9175
|
+
toggle_class50(div1, "collapsed", ctx2[3]);
|
|
9006
9176
|
}
|
|
9007
9177
|
},
|
|
9008
9178
|
i(local) {
|
|
@@ -9017,7 +9187,7 @@ function create_fragment55(ctx) {
|
|
|
9017
9187
|
},
|
|
9018
9188
|
d(detaching) {
|
|
9019
9189
|
if (detaching)
|
|
9020
|
-
|
|
9190
|
+
detach55(div1);
|
|
9021
9191
|
destroy_component7(contents);
|
|
9022
9192
|
if_block.d();
|
|
9023
9193
|
mounted = false;
|
|
@@ -9026,14 +9196,14 @@ function create_fragment55(ctx) {
|
|
|
9026
9196
|
};
|
|
9027
9197
|
}
|
|
9028
9198
|
var name6 = "fastboard-toolbar";
|
|
9029
|
-
function
|
|
9199
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
9030
9200
|
let writable2;
|
|
9031
9201
|
let disabled;
|
|
9032
9202
|
let computed_height;
|
|
9033
9203
|
let scrollable;
|
|
9034
9204
|
let $container_height;
|
|
9035
9205
|
let $scroll_height;
|
|
9036
|
-
let $writable, $$unsubscribe_writable =
|
|
9206
|
+
let $writable, $$unsubscribe_writable = noop55, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe9(writable2, ($$value) => $$invalidate(12, $writable = $$value)), writable2);
|
|
9037
9207
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
9038
9208
|
let { app = null } = $$props;
|
|
9039
9209
|
let { theme = "light" } = $$props;
|
|
@@ -9091,43 +9261,43 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
9091
9261
|
input_change_handler
|
|
9092
9262
|
];
|
|
9093
9263
|
}
|
|
9094
|
-
var Toolbar = class extends
|
|
9264
|
+
var Toolbar = class extends SvelteComponent56 {
|
|
9095
9265
|
constructor(options) {
|
|
9096
9266
|
super();
|
|
9097
|
-
|
|
9267
|
+
init56(this, options, instance56, create_fragment56, safe_not_equal56, { app: 0, theme: 1, language: 2 });
|
|
9098
9268
|
}
|
|
9099
9269
|
};
|
|
9100
9270
|
var Toolbar_default = Toolbar;
|
|
9101
9271
|
|
|
9102
9272
|
// src/components/PlayerControl/PlayerControl.svelte
|
|
9103
9273
|
import {
|
|
9104
|
-
SvelteComponent as
|
|
9105
|
-
append as
|
|
9106
|
-
attr as
|
|
9274
|
+
SvelteComponent as SvelteComponent57,
|
|
9275
|
+
append as append56,
|
|
9276
|
+
attr as attr57,
|
|
9107
9277
|
binding_callbacks as binding_callbacks2,
|
|
9108
9278
|
check_outros as check_outros5,
|
|
9109
9279
|
create_component as create_component8,
|
|
9110
9280
|
destroy_component as destroy_component8,
|
|
9111
|
-
detach as
|
|
9112
|
-
element as
|
|
9281
|
+
detach as detach56,
|
|
9282
|
+
element as element13,
|
|
9113
9283
|
empty as empty5,
|
|
9114
9284
|
group_outros as group_outros5,
|
|
9115
|
-
init as
|
|
9116
|
-
insert as
|
|
9285
|
+
init as init57,
|
|
9286
|
+
insert as insert56,
|
|
9117
9287
|
mount_component as mount_component8,
|
|
9118
|
-
noop as
|
|
9288
|
+
noop as noop56,
|
|
9119
9289
|
outro_and_destroy_block as outro_and_destroy_block2,
|
|
9120
|
-
safe_not_equal as
|
|
9290
|
+
safe_not_equal as safe_not_equal57,
|
|
9121
9291
|
set_data as set_data4,
|
|
9122
|
-
set_style as
|
|
9123
|
-
space as
|
|
9124
|
-
subscribe as
|
|
9292
|
+
set_style as set_style6,
|
|
9293
|
+
space as space10,
|
|
9294
|
+
subscribe as subscribe10,
|
|
9125
9295
|
text as text3,
|
|
9126
9296
|
transition_in as transition_in10,
|
|
9127
9297
|
transition_out as transition_out10,
|
|
9128
|
-
update_keyed_each as
|
|
9298
|
+
update_keyed_each as update_keyed_each4
|
|
9129
9299
|
} from "svelte/internal";
|
|
9130
|
-
function
|
|
9300
|
+
function get_each_context5(ctx, list, i) {
|
|
9131
9301
|
const child_ctx = ctx.slice();
|
|
9132
9302
|
child_ctx[25] = list[i];
|
|
9133
9303
|
return child_ctx;
|
|
@@ -9389,7 +9559,7 @@ function create_default_slot_25(ctx) {
|
|
|
9389
9559
|
},
|
|
9390
9560
|
m(target, anchor) {
|
|
9391
9561
|
if_blocks[current_block_type_index].m(target, anchor);
|
|
9392
|
-
|
|
9562
|
+
insert56(target, if_block_anchor, anchor);
|
|
9393
9563
|
current = true;
|
|
9394
9564
|
},
|
|
9395
9565
|
p(ctx2, dirty) {
|
|
@@ -9427,7 +9597,7 @@ function create_default_slot_25(ctx) {
|
|
|
9427
9597
|
d(detaching) {
|
|
9428
9598
|
if_blocks[current_block_type_index].d(detaching);
|
|
9429
9599
|
if (detaching)
|
|
9430
|
-
|
|
9600
|
+
detach56(if_block_anchor);
|
|
9431
9601
|
}
|
|
9432
9602
|
};
|
|
9433
9603
|
}
|
|
@@ -9463,33 +9633,33 @@ function create_else_block8(ctx) {
|
|
|
9463
9633
|
return {
|
|
9464
9634
|
c() {
|
|
9465
9635
|
create_component8(slider.$$.fragment);
|
|
9466
|
-
t0 =
|
|
9467
|
-
span3 =
|
|
9468
|
-
span0 =
|
|
9636
|
+
t0 = space10();
|
|
9637
|
+
span3 = element13("span");
|
|
9638
|
+
span0 = element13("span");
|
|
9469
9639
|
t1 = text3(t1_value);
|
|
9470
|
-
t2 =
|
|
9471
|
-
span1 =
|
|
9640
|
+
t2 = space10();
|
|
9641
|
+
span1 = element13("span");
|
|
9472
9642
|
t3 = text3("/");
|
|
9473
|
-
t4 =
|
|
9474
|
-
span2 =
|
|
9643
|
+
t4 = space10();
|
|
9644
|
+
span2 = element13("span");
|
|
9475
9645
|
t5 = text3(t5_value);
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9646
|
+
attr57(span0, "class", span0_class_value = name7 + "-current");
|
|
9647
|
+
attr57(span1, "class", span1_class_value = name7 + "-slash");
|
|
9648
|
+
attr57(span2, "class", span2_class_value = name7 + "-duration");
|
|
9649
|
+
attr57(span3, "class", span3_class_value = name7 + "-progress");
|
|
9480
9650
|
},
|
|
9481
9651
|
m(target, anchor) {
|
|
9482
9652
|
mount_component8(slider, target, anchor);
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9653
|
+
insert56(target, t0, anchor);
|
|
9654
|
+
insert56(target, span3, anchor);
|
|
9655
|
+
append56(span3, span0);
|
|
9656
|
+
append56(span0, t1);
|
|
9657
|
+
append56(span3, t2);
|
|
9658
|
+
append56(span3, span1);
|
|
9659
|
+
append56(span1, t3);
|
|
9660
|
+
append56(span3, t4);
|
|
9661
|
+
append56(span3, span2);
|
|
9662
|
+
append56(span2, t5);
|
|
9493
9663
|
current = true;
|
|
9494
9664
|
},
|
|
9495
9665
|
p(ctx2, dirty) {
|
|
@@ -9519,9 +9689,9 @@ function create_else_block8(ctx) {
|
|
|
9519
9689
|
d(detaching) {
|
|
9520
9690
|
destroy_component8(slider, detaching);
|
|
9521
9691
|
if (detaching)
|
|
9522
|
-
|
|
9692
|
+
detach56(t0);
|
|
9523
9693
|
if (detaching)
|
|
9524
|
-
|
|
9694
|
+
detach56(span3);
|
|
9525
9695
|
}
|
|
9526
9696
|
};
|
|
9527
9697
|
}
|
|
@@ -9541,19 +9711,19 @@ function create_if_block8(ctx) {
|
|
|
9541
9711
|
return {
|
|
9542
9712
|
c() {
|
|
9543
9713
|
create_component8(slider.$$.fragment);
|
|
9544
|
-
t0 =
|
|
9545
|
-
span =
|
|
9714
|
+
t0 = space10();
|
|
9715
|
+
span = element13("span");
|
|
9546
9716
|
t1 = text3("\u2026/\u2026");
|
|
9547
|
-
|
|
9717
|
+
attr57(span, "class", span_class_value = name7 + "-progress loading");
|
|
9548
9718
|
},
|
|
9549
9719
|
m(target, anchor) {
|
|
9550
9720
|
mount_component8(slider, target, anchor);
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9721
|
+
insert56(target, t0, anchor);
|
|
9722
|
+
insert56(target, span, anchor);
|
|
9723
|
+
append56(span, t1);
|
|
9554
9724
|
current = true;
|
|
9555
9725
|
},
|
|
9556
|
-
p:
|
|
9726
|
+
p: noop56,
|
|
9557
9727
|
i(local) {
|
|
9558
9728
|
if (current)
|
|
9559
9729
|
return;
|
|
@@ -9567,9 +9737,9 @@ function create_if_block8(ctx) {
|
|
|
9567
9737
|
d(detaching) {
|
|
9568
9738
|
destroy_component8(slider, detaching);
|
|
9569
9739
|
if (detaching)
|
|
9570
|
-
|
|
9740
|
+
detach56(t0);
|
|
9571
9741
|
if (detaching)
|
|
9572
|
-
|
|
9742
|
+
detach56(span);
|
|
9573
9743
|
}
|
|
9574
9744
|
};
|
|
9575
9745
|
}
|
|
@@ -9581,15 +9751,15 @@ function create_default_slot_15(ctx) {
|
|
|
9581
9751
|
let span_class_value;
|
|
9582
9752
|
return {
|
|
9583
9753
|
c() {
|
|
9584
|
-
span =
|
|
9754
|
+
span = element13("span");
|
|
9585
9755
|
t0 = text3(t0_value);
|
|
9586
9756
|
t1 = text3("x");
|
|
9587
|
-
|
|
9757
|
+
attr57(span, "class", span_class_value = name7 + "-speed-text");
|
|
9588
9758
|
},
|
|
9589
9759
|
m(target, anchor) {
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9760
|
+
insert56(target, span, anchor);
|
|
9761
|
+
append56(span, t0);
|
|
9762
|
+
append56(span, t1);
|
|
9593
9763
|
},
|
|
9594
9764
|
p(ctx2, dirty) {
|
|
9595
9765
|
if (dirty & 32768 && t0_value !== (t0_value = (ctx2[15] || 1) + ""))
|
|
@@ -9597,7 +9767,7 @@ function create_default_slot_15(ctx) {
|
|
|
9597
9767
|
},
|
|
9598
9768
|
d(detaching) {
|
|
9599
9769
|
if (detaching)
|
|
9600
|
-
|
|
9770
|
+
detach56(span);
|
|
9601
9771
|
}
|
|
9602
9772
|
};
|
|
9603
9773
|
}
|
|
@@ -9611,19 +9781,19 @@ function create_default_slot5(ctx) {
|
|
|
9611
9781
|
t1 = text3("x\n ");
|
|
9612
9782
|
},
|
|
9613
9783
|
m(target, anchor) {
|
|
9614
|
-
|
|
9615
|
-
|
|
9784
|
+
insert56(target, t0, anchor);
|
|
9785
|
+
insert56(target, t1, anchor);
|
|
9616
9786
|
},
|
|
9617
|
-
p:
|
|
9787
|
+
p: noop56,
|
|
9618
9788
|
d(detaching) {
|
|
9619
9789
|
if (detaching)
|
|
9620
|
-
|
|
9790
|
+
detach56(t0);
|
|
9621
9791
|
if (detaching)
|
|
9622
|
-
|
|
9792
|
+
detach56(t1);
|
|
9623
9793
|
}
|
|
9624
9794
|
};
|
|
9625
9795
|
}
|
|
9626
|
-
function
|
|
9796
|
+
function create_each_block5(key_1, ctx) {
|
|
9627
9797
|
let first;
|
|
9628
9798
|
let button;
|
|
9629
9799
|
let current;
|
|
@@ -9650,7 +9820,7 @@ function create_each_block4(key_1, ctx) {
|
|
|
9650
9820
|
this.first = first;
|
|
9651
9821
|
},
|
|
9652
9822
|
m(target, anchor) {
|
|
9653
|
-
|
|
9823
|
+
insert56(target, first, anchor);
|
|
9654
9824
|
mount_component8(button, target, anchor);
|
|
9655
9825
|
current = true;
|
|
9656
9826
|
},
|
|
@@ -9680,12 +9850,12 @@ function create_each_block4(key_1, ctx) {
|
|
|
9680
9850
|
},
|
|
9681
9851
|
d(detaching) {
|
|
9682
9852
|
if (detaching)
|
|
9683
|
-
|
|
9853
|
+
detach56(first);
|
|
9684
9854
|
destroy_component8(button, detaching);
|
|
9685
9855
|
}
|
|
9686
9856
|
};
|
|
9687
9857
|
}
|
|
9688
|
-
function
|
|
9858
|
+
function create_fragment57(ctx) {
|
|
9689
9859
|
let div0;
|
|
9690
9860
|
let button0;
|
|
9691
9861
|
let t0;
|
|
@@ -9738,38 +9908,38 @@ function create_fragment56(ctx) {
|
|
|
9738
9908
|
let each_value = speeds;
|
|
9739
9909
|
const get_key = (ctx2) => ctx2[25];
|
|
9740
9910
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9741
|
-
let child_ctx =
|
|
9911
|
+
let child_ctx = get_each_context5(ctx, each_value, i);
|
|
9742
9912
|
let key = get_key(child_ctx);
|
|
9743
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
9913
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block5(key, child_ctx));
|
|
9744
9914
|
}
|
|
9745
9915
|
return {
|
|
9746
9916
|
c() {
|
|
9747
|
-
div0 =
|
|
9917
|
+
div0 = element13("div");
|
|
9748
9918
|
create_component8(button0.$$.fragment);
|
|
9749
|
-
t0 =
|
|
9919
|
+
t0 = space10();
|
|
9750
9920
|
if_block.c();
|
|
9751
|
-
t1 =
|
|
9921
|
+
t1 = space10();
|
|
9752
9922
|
create_component8(button1.$$.fragment);
|
|
9753
|
-
t2 =
|
|
9754
|
-
div2 =
|
|
9755
|
-
div1 =
|
|
9923
|
+
t2 = space10();
|
|
9924
|
+
div2 = element13("div");
|
|
9925
|
+
div1 = element13("div");
|
|
9756
9926
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
9757
9927
|
each_blocks[i].c();
|
|
9758
9928
|
}
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9929
|
+
attr57(div0, "class", div0_class_value = name7 + " " + ctx[0]);
|
|
9930
|
+
attr57(div1, "class", div1_class_value = name7 + "-panel speed");
|
|
9931
|
+
set_style6(div2, "display", "none");
|
|
9762
9932
|
},
|
|
9763
9933
|
m(target, anchor) {
|
|
9764
|
-
|
|
9934
|
+
insert56(target, div0, anchor);
|
|
9765
9935
|
mount_component8(button0, div0, null);
|
|
9766
|
-
|
|
9936
|
+
append56(div0, t0);
|
|
9767
9937
|
if_blocks[current_block_type_index].m(div0, null);
|
|
9768
|
-
|
|
9938
|
+
append56(div0, t1);
|
|
9769
9939
|
mount_component8(button1, div0, null);
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9940
|
+
insert56(target, t2, anchor);
|
|
9941
|
+
insert56(target, div2, anchor);
|
|
9942
|
+
append56(div2, div1);
|
|
9773
9943
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
9774
9944
|
each_blocks[i].m(div1, null);
|
|
9775
9945
|
}
|
|
@@ -9824,12 +9994,12 @@ function create_fragment56(ctx) {
|
|
|
9824
9994
|
}
|
|
9825
9995
|
button1.$set(button1_changes);
|
|
9826
9996
|
if (!current || dirty & 1 && div0_class_value !== (div0_class_value = name7 + " " + ctx2[0])) {
|
|
9827
|
-
|
|
9997
|
+
attr57(div0, "class", div0_class_value);
|
|
9828
9998
|
}
|
|
9829
9999
|
if (dirty & 294929) {
|
|
9830
10000
|
each_value = speeds;
|
|
9831
10001
|
group_outros5();
|
|
9832
|
-
each_blocks =
|
|
10002
|
+
each_blocks = update_keyed_each4(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div1, outro_and_destroy_block2, create_each_block5, null, get_each_context5);
|
|
9833
10003
|
check_outros5();
|
|
9834
10004
|
}
|
|
9835
10005
|
},
|
|
@@ -9855,14 +10025,14 @@ function create_fragment56(ctx) {
|
|
|
9855
10025
|
},
|
|
9856
10026
|
d(detaching) {
|
|
9857
10027
|
if (detaching)
|
|
9858
|
-
|
|
10028
|
+
detach56(div0);
|
|
9859
10029
|
destroy_component8(button0);
|
|
9860
10030
|
if_blocks[current_block_type_index].d();
|
|
9861
10031
|
destroy_component8(button1);
|
|
9862
10032
|
if (detaching)
|
|
9863
|
-
|
|
10033
|
+
detach56(t2);
|
|
9864
10034
|
if (detaching)
|
|
9865
|
-
|
|
10035
|
+
detach56(div2);
|
|
9866
10036
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
9867
10037
|
each_blocks[i].d();
|
|
9868
10038
|
}
|
|
@@ -9889,7 +10059,7 @@ function format(ms) {
|
|
|
9889
10059
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9890
10060
|
}
|
|
9891
10061
|
var name7 = "fastboard-player-control";
|
|
9892
|
-
function
|
|
10062
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
9893
10063
|
let t;
|
|
9894
10064
|
let canPlay;
|
|
9895
10065
|
let disabled;
|
|
@@ -9900,10 +10070,10 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9900
10070
|
let loading;
|
|
9901
10071
|
let playing;
|
|
9902
10072
|
let className;
|
|
9903
|
-
let $phase, $$unsubscribe_phase =
|
|
9904
|
-
let $current, $$unsubscribe_current =
|
|
9905
|
-
let $duration, $$unsubscribe_duration =
|
|
9906
|
-
let $playbackRate, $$unsubscribe_playbackRate =
|
|
10073
|
+
let $phase, $$unsubscribe_phase = noop56, $$subscribe_phase = () => ($$unsubscribe_phase(), $$unsubscribe_phase = subscribe10(phase, ($$value) => $$invalidate(22, $phase = $$value)), phase);
|
|
10074
|
+
let $current, $$unsubscribe_current = noop56, $$subscribe_current = () => ($$unsubscribe_current(), $$unsubscribe_current = subscribe10(current, ($$value) => $$invalidate(13, $current = $$value)), current);
|
|
10075
|
+
let $duration, $$unsubscribe_duration = noop56, $$subscribe_duration = () => ($$unsubscribe_duration(), $$unsubscribe_duration = subscribe10(duration, ($$value) => $$invalidate(14, $duration = $$value)), duration);
|
|
10076
|
+
let $playbackRate, $$unsubscribe_playbackRate = noop56, $$subscribe_playbackRate = () => ($$unsubscribe_playbackRate(), $$unsubscribe_playbackRate = subscribe10(playbackRate, ($$value) => $$invalidate(15, $playbackRate = $$value)), playbackRate);
|
|
9907
10077
|
$$self.$$.on_destroy.push(() => $$unsubscribe_phase());
|
|
9908
10078
|
$$self.$$.on_destroy.push(() => $$unsubscribe_current());
|
|
9909
10079
|
$$self.$$.on_destroy.push(() => $$unsubscribe_duration());
|
|
@@ -10031,10 +10201,10 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
10031
10201
|
div1_binding
|
|
10032
10202
|
];
|
|
10033
10203
|
}
|
|
10034
|
-
var PlayerControl = class extends
|
|
10204
|
+
var PlayerControl = class extends SvelteComponent57 {
|
|
10035
10205
|
constructor(options) {
|
|
10036
10206
|
super();
|
|
10037
|
-
|
|
10207
|
+
init57(this, options, instance57, create_fragment57, safe_not_equal57, {
|
|
10038
10208
|
player: 19,
|
|
10039
10209
|
theme: 0,
|
|
10040
10210
|
language: 20,
|
|
@@ -10046,26 +10216,26 @@ var PlayerControl_default = PlayerControl;
|
|
|
10046
10216
|
|
|
10047
10217
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
10048
10218
|
import {
|
|
10049
|
-
SvelteComponent as
|
|
10050
|
-
append as
|
|
10051
|
-
attr as
|
|
10219
|
+
SvelteComponent as SvelteComponent58,
|
|
10220
|
+
append as append57,
|
|
10221
|
+
attr as attr58,
|
|
10052
10222
|
binding_callbacks as binding_callbacks3,
|
|
10053
10223
|
create_component as create_component9,
|
|
10054
10224
|
destroy_component as destroy_component9,
|
|
10055
|
-
detach as
|
|
10056
|
-
element as
|
|
10057
|
-
init as
|
|
10058
|
-
insert as
|
|
10059
|
-
listen as
|
|
10225
|
+
detach as detach57,
|
|
10226
|
+
element as element14,
|
|
10227
|
+
init as init58,
|
|
10228
|
+
insert as insert57,
|
|
10229
|
+
listen as listen8,
|
|
10060
10230
|
mount_component as mount_component9,
|
|
10061
|
-
safe_not_equal as
|
|
10062
|
-
space as
|
|
10063
|
-
toggle_class as
|
|
10231
|
+
safe_not_equal as safe_not_equal58,
|
|
10232
|
+
space as space11,
|
|
10233
|
+
toggle_class as toggle_class51,
|
|
10064
10234
|
transition_in as transition_in11,
|
|
10065
10235
|
transition_out as transition_out11
|
|
10066
10236
|
} from "svelte/internal";
|
|
10067
10237
|
import { onMount } from "svelte";
|
|
10068
|
-
function
|
|
10238
|
+
function create_fragment58(ctx) {
|
|
10069
10239
|
let div2;
|
|
10070
10240
|
let div0;
|
|
10071
10241
|
let div0_class_value;
|
|
@@ -10086,26 +10256,26 @@ function create_fragment57(ctx) {
|
|
|
10086
10256
|
});
|
|
10087
10257
|
return {
|
|
10088
10258
|
c() {
|
|
10089
|
-
div2 =
|
|
10090
|
-
div0 =
|
|
10091
|
-
t =
|
|
10092
|
-
div1 =
|
|
10259
|
+
div2 = element14("div");
|
|
10260
|
+
div0 = element14("div");
|
|
10261
|
+
t = space11();
|
|
10262
|
+
div1 = element14("div");
|
|
10093
10263
|
create_component9(playercontrol.$$.fragment);
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10264
|
+
attr58(div0, "class", div0_class_value = name8 + "-view");
|
|
10265
|
+
attr58(div1, "class", div1_class_value = name8 + "-bottom");
|
|
10266
|
+
attr58(div2, "class", div2_class_value = name8 + "-root");
|
|
10267
|
+
toggle_class51(div2, "loading", !ctx[0]);
|
|
10098
10268
|
},
|
|
10099
10269
|
m(target, anchor) {
|
|
10100
|
-
|
|
10101
|
-
|
|
10270
|
+
insert57(target, div2, anchor);
|
|
10271
|
+
append57(div2, div0);
|
|
10102
10272
|
ctx[5](div0);
|
|
10103
|
-
|
|
10104
|
-
|
|
10273
|
+
append57(div2, t);
|
|
10274
|
+
append57(div2, div1);
|
|
10105
10275
|
mount_component9(playercontrol, div1, null);
|
|
10106
10276
|
current = true;
|
|
10107
10277
|
if (!mounted) {
|
|
10108
|
-
dispose =
|
|
10278
|
+
dispose = listen8(div0, "touchstart", tippy_hide_all, true);
|
|
10109
10279
|
mounted = true;
|
|
10110
10280
|
}
|
|
10111
10281
|
},
|
|
@@ -10119,7 +10289,7 @@ function create_fragment57(ctx) {
|
|
|
10119
10289
|
playercontrol_changes.language = ctx2[2];
|
|
10120
10290
|
playercontrol.$set(playercontrol_changes);
|
|
10121
10291
|
if (dirty & 1) {
|
|
10122
|
-
|
|
10292
|
+
toggle_class51(div2, "loading", !ctx2[0]);
|
|
10123
10293
|
}
|
|
10124
10294
|
},
|
|
10125
10295
|
i(local) {
|
|
@@ -10134,7 +10304,7 @@ function create_fragment57(ctx) {
|
|
|
10134
10304
|
},
|
|
10135
10305
|
d(detaching) {
|
|
10136
10306
|
if (detaching)
|
|
10137
|
-
|
|
10307
|
+
detach57(div2);
|
|
10138
10308
|
ctx[5](null);
|
|
10139
10309
|
destroy_component9(playercontrol);
|
|
10140
10310
|
mounted = false;
|
|
@@ -10143,7 +10313,7 @@ function create_fragment57(ctx) {
|
|
|
10143
10313
|
};
|
|
10144
10314
|
}
|
|
10145
10315
|
var name8 = "fastboard";
|
|
10146
|
-
function
|
|
10316
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
10147
10317
|
let { player = null } = $$props;
|
|
10148
10318
|
let { theme = "light" } = $$props;
|
|
10149
10319
|
let { language = "en" } = $$props;
|
|
@@ -10194,10 +10364,10 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10194
10364
|
};
|
|
10195
10365
|
return [player, theme, language, container, containerRef, div0_binding];
|
|
10196
10366
|
}
|
|
10197
|
-
var ReplayFastboard = class extends
|
|
10367
|
+
var ReplayFastboard = class extends SvelteComponent58 {
|
|
10198
10368
|
constructor(options) {
|
|
10199
10369
|
super();
|
|
10200
|
-
|
|
10370
|
+
init58(this, options, instance58, create_fragment58, safe_not_equal58, {
|
|
10201
10371
|
player: 0,
|
|
10202
10372
|
theme: 1,
|
|
10203
10373
|
language: 2,
|
|
@@ -10209,25 +10379,25 @@ var ReplayFastboard_default = ReplayFastboard;
|
|
|
10209
10379
|
|
|
10210
10380
|
// src/components/Fastboard/Fastboard.svelte
|
|
10211
10381
|
import {
|
|
10212
|
-
SvelteComponent as
|
|
10213
|
-
append as
|
|
10214
|
-
attr as
|
|
10382
|
+
SvelteComponent as SvelteComponent59,
|
|
10383
|
+
append as append58,
|
|
10384
|
+
attr as attr59,
|
|
10215
10385
|
binding_callbacks as binding_callbacks4,
|
|
10216
10386
|
check_outros as check_outros6,
|
|
10217
10387
|
create_component as create_component10,
|
|
10218
10388
|
destroy_component as destroy_component10,
|
|
10219
|
-
detach as
|
|
10220
|
-
element as
|
|
10389
|
+
detach as detach58,
|
|
10390
|
+
element as element15,
|
|
10221
10391
|
group_outros as group_outros6,
|
|
10222
|
-
init as
|
|
10223
|
-
insert as
|
|
10224
|
-
listen as
|
|
10392
|
+
init as init59,
|
|
10393
|
+
insert as insert58,
|
|
10394
|
+
listen as listen9,
|
|
10225
10395
|
mount_component as mount_component10,
|
|
10226
|
-
noop as
|
|
10227
|
-
safe_not_equal as
|
|
10228
|
-
space as
|
|
10229
|
-
subscribe as
|
|
10230
|
-
toggle_class as
|
|
10396
|
+
noop as noop57,
|
|
10397
|
+
safe_not_equal as safe_not_equal59,
|
|
10398
|
+
space as space12,
|
|
10399
|
+
subscribe as subscribe11,
|
|
10400
|
+
toggle_class as toggle_class52,
|
|
10231
10401
|
transition_in as transition_in12,
|
|
10232
10402
|
transition_out as transition_out12
|
|
10233
10403
|
} from "svelte/internal";
|
|
@@ -10404,7 +10574,7 @@ function create_if_block9(ctx) {
|
|
|
10404
10574
|
}
|
|
10405
10575
|
};
|
|
10406
10576
|
}
|
|
10407
|
-
function
|
|
10577
|
+
function create_fragment59(ctx) {
|
|
10408
10578
|
var _a, _b, _c, _d;
|
|
10409
10579
|
let div4;
|
|
10410
10580
|
let div0;
|
|
@@ -10429,55 +10599,55 @@ function create_fragment58(ctx) {
|
|
|
10429
10599
|
let if_block3 = ((_d = ctx[3].page_control) == null ? void 0 : _d.enable) !== false && create_if_block9(ctx);
|
|
10430
10600
|
return {
|
|
10431
10601
|
c() {
|
|
10432
|
-
div4 =
|
|
10433
|
-
div0 =
|
|
10434
|
-
t0 =
|
|
10435
|
-
div1 =
|
|
10602
|
+
div4 = element15("div");
|
|
10603
|
+
div0 = element15("div");
|
|
10604
|
+
t0 = space12();
|
|
10605
|
+
div1 = element15("div");
|
|
10436
10606
|
if (if_block0)
|
|
10437
10607
|
if_block0.c();
|
|
10438
|
-
t1 =
|
|
10439
|
-
div2 =
|
|
10608
|
+
t1 = space12();
|
|
10609
|
+
div2 = element15("div");
|
|
10440
10610
|
if (if_block1)
|
|
10441
10611
|
if_block1.c();
|
|
10442
|
-
t2 =
|
|
10612
|
+
t2 = space12();
|
|
10443
10613
|
if (if_block2)
|
|
10444
10614
|
if_block2.c();
|
|
10445
|
-
t3 =
|
|
10446
|
-
div3 =
|
|
10615
|
+
t3 = space12();
|
|
10616
|
+
div3 = element15("div");
|
|
10447
10617
|
if (if_block3)
|
|
10448
10618
|
if_block3.c();
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
},
|
|
10459
|
-
m(target, anchor) {
|
|
10460
|
-
|
|
10461
|
-
|
|
10619
|
+
attr59(div0, "class", div0_class_value = name9 + "-view");
|
|
10620
|
+
attr59(div1, "class", div1_class_value = name9 + "-left");
|
|
10621
|
+
toggle_class52(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10622
|
+
attr59(div2, "class", div2_class_value = name9 + "-bottom-left");
|
|
10623
|
+
toggle_class52(div2, "hidden", ctx[5] !== "visible");
|
|
10624
|
+
attr59(div3, "class", div3_class_value = name9 + "-bottom-right");
|
|
10625
|
+
toggle_class52(div3, "hidden", ctx[5] !== "visible");
|
|
10626
|
+
attr59(div4, "class", div4_class_value = name9 + "-root");
|
|
10627
|
+
toggle_class52(div4, "loading", !ctx[0]);
|
|
10628
|
+
},
|
|
10629
|
+
m(target, anchor) {
|
|
10630
|
+
insert58(target, div4, anchor);
|
|
10631
|
+
append58(div4, div0);
|
|
10462
10632
|
ctx[13](div0);
|
|
10463
|
-
|
|
10464
|
-
|
|
10633
|
+
append58(div4, t0);
|
|
10634
|
+
append58(div4, div1);
|
|
10465
10635
|
if (if_block0)
|
|
10466
10636
|
if_block0.m(div1, null);
|
|
10467
|
-
|
|
10468
|
-
|
|
10637
|
+
append58(div4, t1);
|
|
10638
|
+
append58(div4, div2);
|
|
10469
10639
|
if (if_block1)
|
|
10470
10640
|
if_block1.m(div2, null);
|
|
10471
|
-
|
|
10641
|
+
append58(div2, t2);
|
|
10472
10642
|
if (if_block2)
|
|
10473
10643
|
if_block2.m(div2, null);
|
|
10474
|
-
|
|
10475
|
-
|
|
10644
|
+
append58(div4, t3);
|
|
10645
|
+
append58(div4, div3);
|
|
10476
10646
|
if (if_block3)
|
|
10477
10647
|
if_block3.m(div3, null);
|
|
10478
10648
|
current = true;
|
|
10479
10649
|
if (!mounted) {
|
|
10480
|
-
dispose =
|
|
10650
|
+
dispose = listen9(div0, "touchstart", tippy_hide_all, true);
|
|
10481
10651
|
mounted = true;
|
|
10482
10652
|
}
|
|
10483
10653
|
},
|
|
@@ -10503,7 +10673,7 @@ function create_fragment58(ctx) {
|
|
|
10503
10673
|
check_outros6();
|
|
10504
10674
|
}
|
|
10505
10675
|
if (dirty & 32) {
|
|
10506
|
-
|
|
10676
|
+
toggle_class52(div1, "hidden", !(ctx2[5] === "visible" || ctx2[5] === "toolbar-only"));
|
|
10507
10677
|
}
|
|
10508
10678
|
if (((_b2 = ctx2[3].redo_undo) == null ? void 0 : _b2.enable) !== false) {
|
|
10509
10679
|
if (if_block1) {
|
|
@@ -10544,7 +10714,7 @@ function create_fragment58(ctx) {
|
|
|
10544
10714
|
check_outros6();
|
|
10545
10715
|
}
|
|
10546
10716
|
if (dirty & 32) {
|
|
10547
|
-
|
|
10717
|
+
toggle_class52(div2, "hidden", ctx2[5] !== "visible");
|
|
10548
10718
|
}
|
|
10549
10719
|
if (((_d2 = ctx2[3].page_control) == null ? void 0 : _d2.enable) !== false) {
|
|
10550
10720
|
if (if_block3) {
|
|
@@ -10566,10 +10736,10 @@ function create_fragment58(ctx) {
|
|
|
10566
10736
|
check_outros6();
|
|
10567
10737
|
}
|
|
10568
10738
|
if (dirty & 32) {
|
|
10569
|
-
|
|
10739
|
+
toggle_class52(div3, "hidden", ctx2[5] !== "visible");
|
|
10570
10740
|
}
|
|
10571
10741
|
if (dirty & 1) {
|
|
10572
|
-
|
|
10742
|
+
toggle_class52(div4, "loading", !ctx2[0]);
|
|
10573
10743
|
}
|
|
10574
10744
|
},
|
|
10575
10745
|
i(local) {
|
|
@@ -10590,7 +10760,7 @@ function create_fragment58(ctx) {
|
|
|
10590
10760
|
},
|
|
10591
10761
|
d(detaching) {
|
|
10592
10762
|
if (detaching)
|
|
10593
|
-
|
|
10763
|
+
detach58(div4);
|
|
10594
10764
|
ctx[13](null);
|
|
10595
10765
|
if (if_block0)
|
|
10596
10766
|
if_block0.d();
|
|
@@ -10606,13 +10776,13 @@ function create_fragment58(ctx) {
|
|
|
10606
10776
|
};
|
|
10607
10777
|
}
|
|
10608
10778
|
var name9 = "fastboard";
|
|
10609
|
-
function
|
|
10779
|
+
function instance59($$self, $$props, $$invalidate) {
|
|
10610
10780
|
let writable2;
|
|
10611
10781
|
let boxState;
|
|
10612
10782
|
let focusedApp;
|
|
10613
|
-
let $focusedApp, $$unsubscribe_focusedApp =
|
|
10614
|
-
let $boxState, $$unsubscribe_boxState =
|
|
10615
|
-
let $writable, $$unsubscribe_writable =
|
|
10783
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop57, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe11(focusedApp, ($$value) => $$invalidate(10, $focusedApp = $$value)), focusedApp);
|
|
10784
|
+
let $boxState, $$unsubscribe_boxState = noop57, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe11(boxState, ($$value) => $$invalidate(11, $boxState = $$value)), boxState);
|
|
10785
|
+
let $writable, $$unsubscribe_writable = noop57, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe11(writable2, ($$value) => $$invalidate(12, $writable = $$value)), writable2);
|
|
10616
10786
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
10617
10787
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
10618
10788
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -10712,10 +10882,10 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10712
10882
|
div0_binding
|
|
10713
10883
|
];
|
|
10714
10884
|
}
|
|
10715
|
-
var Fastboard = class extends
|
|
10885
|
+
var Fastboard = class extends SvelteComponent59 {
|
|
10716
10886
|
constructor(options) {
|
|
10717
10887
|
super();
|
|
10718
|
-
|
|
10888
|
+
init59(this, options, instance59, create_fragment59, safe_not_equal59, {
|
|
10719
10889
|
app: 0,
|
|
10720
10890
|
theme: 1,
|
|
10721
10891
|
language: 2,
|
|
@@ -10737,7 +10907,7 @@ function injectStyle(text4) {
|
|
|
10737
10907
|
}
|
|
10738
10908
|
|
|
10739
10909
|
// inline-sass-content:./src/style.scss
|
|
10740
|
-
var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.fastboard-icon.light .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-icon.light .fastboard-icon-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-icon.light.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #3381ff)}.fastboard-icon.light.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #3381ff)}.fastboard-icon.dark .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark .fastboard-icon-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #2867cc)}.fastboard-icon.dark.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #2867cc)}.fastboard-redo-undo{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-redo-undo *{box-sizing:inherit}.fastboard-redo-undo.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-redo-undo.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-redo-undo-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-redo-undo-btn svg,.fastboard-redo-undo-btn img{width:100%;height:100%;pointer-events:none}.fastboard-redo-undo-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-redo-undo-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-redo-undo-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-zoom-control *{box-sizing:inherit}.fastboard-zoom-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-zoom-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-zoom-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-zoom-control-btn svg,.fastboard-zoom-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-zoom-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-zoom-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-zoom-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control-text{font-variant-numeric:tabular-nums}.fastboard-page-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-page-control *{box-sizing:inherit}.fastboard-page-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-page-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-page-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-page-control-btn svg,.fastboard-page-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-page-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-page-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-page-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-page-control-text{font-variant-numeric:tabular-nums}.fastboard-player-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);width:100%}.fastboard-player-control *{box-sizing:inherit}.fastboard-player-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-player-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-player-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0;display:inline}.fastboard-player-control-btn svg,.fastboard-player-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-player-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-player-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-player-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-player-control-btn.loading svg,.fastboard-player-control-btn.loading img{animation:fastboard-player-control-rotate .5s linear infinite}@keyframes fastboard-player-control-rotate{to{transform:rotate(360deg)}}.fastboard-player-control-btn.speed{width:auto;padding:4px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.fastboard-player-control-btn.is-active.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-player-control-btn.is-active.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-player-control-speed-text,.fastboard-player-control-progress{font-size:14px;font-variant-numeric:tabular-nums;line-height:16px}.fastboard-player-control-progress{display:inline-flex;align-items:center}.fastboard-player-control-panel.speed{display:flex;flex-direction:column}.fastboard-toolbar{height:100%;display:flex;align-items:center;position:relative;transform:translate(0);transition:transform .5s cubic-bezier(.34,1.56,.64,1);pointer-events:none}.fastboard-toolbar.collapsed{transform:translate(-100%)}.fastboard-toolbar-handler{position:absolute;left:100%;width:17px;font-size:0;border-radius:3px;cursor:pointer;pointer-events:auto}.fastboard-toolbar-handler:focus-within{outline:2px solid -webkit-focus-ring-color}.fastboard-toolbar-handler input[type=checkbox]{position:absolute;top:0;left:0;appearance:none;margin:0;width:100%;height:100%;cursor:pointer;opacity:0;z-index:-1}.fastboard-toolbar-handler svg{opacity:0;transition:opacity .5s 1s;pointer-events:none}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(255, 255, 255, .9))}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(20, 24, 30, .9))}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-toolbar:hover .fastboard-toolbar-handler svg,.fastboard-toolbar.collapsed .fastboard-toolbar-handler svg{opacity:1;transition:opacity .2s}.fastboard-toolbar-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:4px;width:32px;height:32px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-toolbar-btn svg,.fastboard-toolbar-btn img{width:100%;height:100%;pointer-events:none}.fastboard-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-toolbar-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-slider{box-sizing:border-box;position:relative;width:100%;height:100%;display:flex;align-items:center}.fastboard-slider *{box-sizing:inherit}.fastboard-slider-track{appearance:none;background:transparent;border:0;border-radius:26px;flex:1;display:block;height:19px;margin:0;width:0;min-width:0;padding:0;transition:box-shadow .3s ease;cursor:pointer;touch-action:manipulation}.fastboard-slider-track::-webkit-slider-runnable-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;background-image:linear-gradient(to right,currentColor var(--value, 0%),transparent var(--value, 0%))}.fastboard-slider-track::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;appearance:none;margin-top:-4px}.fastboard-slider-track::-moz-range-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none}.fastboard-slider-track::-moz-range-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab}.fastboard-slider-track::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.fastboard-slider-track::-ms-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;color:transparent}.fastboard-slider-track::-ms-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;margin-top:0}.fastboard-slider-track::-ms-tooltip{display:none}.fastboard-slider-track::-moz-focus-outer{border:0}.fastboard-slider-track.grabbing::-webkit-slider-thumb{cursor:grabbing}.fastboard-slider-track.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-slider-track.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-contents{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:2px 0;gap:0;flex-direction:column}.fastboard-toolbar-contents *{box-sizing:inherit}.fastboard-toolbar-contents.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-contents.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-contents>.fastboard-toolbar-btn{margin:2px 4px}.fastboard-toolbar-btn-interactive{position:relative}.fastboard-toolbar-triangle{width:0px;height:0px;border-bottom:4px solid;border-left:4px solid transparent;position:absolute;bottom:0;right:0}.fastboard-toolbar-btn:focus+.fastboard-toolbar-triangle{opacity:0}.fastboard-toolbar-scrollable{padding:2px 4px;overflow:hidden;display:flex;flex-direction:column;gap:4px}.fastboard-toolbar-tooltip{display:inline-flex;align-items:center;gap:4px}.fastboard-toolbar-hotkey{display:inline-flex;margin-right:-4px;width:24px;height:24px;align-items:center;justify-content:center;background-color:#ffffff1a;border-radius:4px}.fastboard-toolbar-panel-wrapper{display:none}.fastboard-toolbar-panel{display:flex;flex-direction:column}.fastboard-toolbar-panel-divider{height:.5px;width:100%;margin:4px 0;background-color:#ffffff26}.fastboard-toolbar-colors,.fastboard-toolbar-shapes{display:grid;align-self:center;grid-template:repeat(2,1fr)/repeat(4,1fr);align-items:center;justify-items:center;gap:4px}.fastboard-toolbar-shape-btn,.fastboard-toolbar-color-btn{width:24px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.fastboard-toolbar-color-btn{border:1px solid transparent}.fastboard-toolbar-color-btn.light.is-active{border-color:var(--fastboard-active-color, #3381ff)}.fastboard-toolbar-color-btn.dark.is-active{border-color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-color-item{display:inline-block;width:16px;height:16px;border-radius:4px;pointer-events:none}.fastboard-toolbar-panel.apps{display:grid;grid-template-columns:repeat(min(var(--n, 3),3),minmax(max-content,1fr));gap:4px}.fastboard-toolbar-app-btn{margin:0;border:0;border-radius:2px;padding:4px 6px;background-color:transparent;display:inline-flex;flex-direction:column;align-items:center;gap:4px;font-size:0}.fastboard-toolbar-app-btn:disabled{opacity:.8}.fastboard-toolbar-app-btn-icon{width:32px;height:32px;pointer-events:none}.fastboard-toolbar-app-btn-text{font-size:14px;line-height:1;max-width:100%;overflow:hidden;text-overflow:ellipsis}.fastboard-toolbar-app-btn.is-loading{cursor:progress}.fastboard-toolbar-app-btn.is-failed{cursor:not-allowed;opacity:.5}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.light{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-app-btn-text.light{color:var(--fastboard-color, #5d6066)}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.dark{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-toolbar-app-btn-text.dark{color:var(--fastboard-color, #7b7e84)}.fastboard-root{position:relative;width:100%;height:100%;overflow:hidden}.fastboard-view{position:absolute;top:0;left:0;width:100%;height:100%}.fastboard-left{display:flex;align-items:center;position:absolute;bottom:62px;top:8px;left:0;z-index:200;pointer-events:none}.fastboard-left .fastboard-toolbar{padding-left:16px}.fastboard-bottom-left,.fastboard-bottom,.fastboard-bottom-right{display:flex;gap:10px;position:absolute;bottom:8px;left:8px;padding:8px;z-index:200;pointer-events:none}.fastboard-bottom-right{left:auto;right:8px}.fastboard-bottom{right:8px}.fastboard-left.hidden *,.fastboard-bottom.hidden *,.fastboard-bottom-left.hidden *,.fastboard-bottom-right.hidden *{opacity:0;pointer-events:none}.fastboard-tip{font-family:inherit;color:#d5d9e0;background-color:#03060d}.fastboard-tip[data-placement^=right]>.tippy-arrow:before{top:4px;border-width:4px;border-right-color:#03060d}.fastboard-tip[data-placement^=top]>.tippy-arrow:before{left:4px;border-width:4px;border-top-color:#03060d}.fastboard-panel .tippy-content{padding:8px}';
|
|
10910
|
+
var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.fastboard-icon.light .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-icon.light .fastboard-icon-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-icon.light.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #3381ff)}.fastboard-icon.light.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #3381ff)}.fastboard-icon.dark .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark .fastboard-icon-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #2867cc)}.fastboard-icon.dark.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #2867cc)}.fastboard-redo-undo{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-redo-undo *{box-sizing:inherit}.fastboard-redo-undo.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-redo-undo.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-redo-undo-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-redo-undo-btn svg,.fastboard-redo-undo-btn img{width:100%;height:100%;pointer-events:none}.fastboard-redo-undo-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-redo-undo-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-redo-undo-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-zoom-control *{box-sizing:inherit}.fastboard-zoom-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-zoom-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-zoom-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-zoom-control-btn svg,.fastboard-zoom-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-zoom-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-zoom-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-zoom-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control-text{font-variant-numeric:tabular-nums}.fastboard-page-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-page-control *{box-sizing:inherit}.fastboard-page-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-page-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-page-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-page-control-btn svg,.fastboard-page-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-page-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-page-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-page-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-page-control-text{font-variant-numeric:tabular-nums}.fastboard-player-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);width:100%}.fastboard-player-control *{box-sizing:inherit}.fastboard-player-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-player-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-player-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0;display:inline}.fastboard-player-control-btn svg,.fastboard-player-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-player-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-player-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-player-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-player-control-btn.loading svg,.fastboard-player-control-btn.loading img{animation:fastboard-player-control-rotate .5s linear infinite}@keyframes fastboard-player-control-rotate{to{transform:rotate(360deg)}}.fastboard-player-control-btn.speed{width:auto;padding:4px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.fastboard-player-control-btn.is-active.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-player-control-btn.is-active.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-player-control-speed-text,.fastboard-player-control-progress{font-size:14px;font-variant-numeric:tabular-nums;line-height:16px}.fastboard-player-control-progress{display:inline-flex;align-items:center}.fastboard-player-control-panel.speed{display:flex;flex-direction:column}.fastboard-toolbar{height:100%;display:flex;align-items:center;position:relative;transform:translate(0);transition:transform .5s cubic-bezier(.34,1.56,.64,1);pointer-events:none}.fastboard-toolbar.collapsed{transform:translate(-100%)}.fastboard-toolbar-handler{position:absolute;left:100%;width:17px;font-size:0;border-radius:3px;cursor:pointer;pointer-events:auto}.fastboard-toolbar-handler:focus-within{outline:2px solid -webkit-focus-ring-color}.fastboard-toolbar-handler input[type=checkbox]{position:absolute;top:0;left:0;appearance:none;margin:0;width:100%;height:100%;cursor:pointer;opacity:0;z-index:-1}.fastboard-toolbar-handler svg{opacity:0;transition:opacity .5s 1s;pointer-events:none}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(255, 255, 255, .9))}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(20, 24, 30, .9))}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-toolbar:hover .fastboard-toolbar-handler svg,.fastboard-toolbar.collapsed .fastboard-toolbar-handler svg{opacity:1;transition:opacity .2s}.fastboard-toolbar-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:4px;width:32px;height:32px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-toolbar-btn svg,.fastboard-toolbar-btn img{width:100%;height:100%;pointer-events:none}.fastboard-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-toolbar-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-slider{box-sizing:border-box;position:relative;width:100%;height:100%;display:flex;align-items:center}.fastboard-slider *{box-sizing:inherit}.fastboard-slider-track{appearance:none;background:rgba(0,0,0,0);border:0;border-radius:26px;flex:1;display:block;height:19px;margin:0;width:0;min-width:0;padding:0;transition:box-shadow .3s ease;cursor:pointer;touch-action:manipulation}.fastboard-slider-track::-webkit-slider-runnable-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;background-image:linear-gradient(to right,currentColor var(--value, 0%),transparent var(--value, 0%))}.fastboard-slider-track::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;appearance:none;margin-top:-4px}.fastboard-slider-track::-moz-range-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none}.fastboard-slider-track::-moz-range-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab}.fastboard-slider-track::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.fastboard-slider-track::-ms-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;color:#0000}.fastboard-slider-track::-ms-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;margin-top:0}.fastboard-slider-track::-ms-tooltip{display:none}.fastboard-slider-track::-moz-focus-outer{border:0}.fastboard-slider-track.grabbing::-webkit-slider-thumb{cursor:grabbing}.fastboard-slider-track.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-slider-track.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-contents{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:2px 0;gap:0;flex-direction:column}.fastboard-toolbar-contents *{box-sizing:inherit}.fastboard-toolbar-contents.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-contents.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-contents>.fastboard-toolbar-btn{margin:2px 4px}.fastboard-toolbar-btn-interactive{position:relative}.fastboard-toolbar-triangle{width:0px;height:0px;border-bottom:4px solid;border-left:4px solid rgba(0,0,0,0);position:absolute;bottom:0;right:0}.fastboard-toolbar-btn:focus+.fastboard-toolbar-triangle{opacity:0}.fastboard-toolbar-scrollable{padding:2px 4px;overflow:hidden;display:flex;flex-direction:column;gap:4px}.fastboard-toolbar-tooltip{display:inline-flex;align-items:center;gap:4px}.fastboard-toolbar-hotkey{display:inline-flex;margin-right:-4px;width:24px;height:24px;align-items:center;justify-content:center;background-color:#ffffff1a;border-radius:4px}.fastboard-toolbar-panel-wrapper{display:none}.fastboard-toolbar-panel{display:flex;flex-direction:column}.fastboard-toolbar-panel-divider{height:.5px;width:100%;margin:4px 0;background-color:#ffffff26}.fastboard-toolbar-colors,.fastboard-toolbar-shapes{display:grid;align-self:center;grid-template:repeat(2,1fr)/repeat(4,1fr);align-items:center;justify-items:center;gap:4px}.fastboard-toolbar-shape-btn,.fastboard-toolbar-color-btn{width:24px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.fastboard-toolbar-color-btn{border:1px solid rgba(0,0,0,0)}.fastboard-toolbar-color-btn.light.is-active{border-color:var(--fastboard-active-color, #3381ff)}.fastboard-toolbar-color-btn.dark.is-active{border-color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-color-item{display:inline-block;width:16px;height:16px;border-radius:4px;pointer-events:none}.fastboard-toolbar-panel.apps{display:grid;grid-template-columns:repeat(min(var(--n, 3),3),minmax(max-content,1fr));gap:4px}.fastboard-toolbar-app-btn{margin:0;border:0;border-radius:2px;padding:4px 6px;background-color:#0000;display:inline-flex;flex-direction:column;align-items:center;gap:4px;font-size:0}.fastboard-toolbar-app-btn:disabled{opacity:.8}.fastboard-toolbar-app-btn-icon{width:32px;height:32px;pointer-events:none}.fastboard-toolbar-app-btn-text{font-size:14px;line-height:1;max-width:100%;overflow:hidden;text-overflow:ellipsis}.fastboard-toolbar-app-btn.is-loading{cursor:progress}.fastboard-toolbar-app-btn.is-failed{cursor:not-allowed;opacity:.5}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.light{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-app-btn-text.light{color:var(--fastboard-color, #5d6066)}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.dark{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-toolbar-app-btn-text.dark{color:var(--fastboard-color, #7b7e84)}.fastboard-root{position:relative;width:100%;height:100%;overflow:hidden}.fastboard-view{position:absolute;top:0;left:0;width:100%;height:100%}.fastboard-left{display:flex;align-items:center;position:absolute;bottom:62px;top:8px;left:0;z-index:200;pointer-events:none}.fastboard-left .fastboard-toolbar{padding-left:16px}.fastboard-bottom-left,.fastboard-bottom,.fastboard-bottom-right{display:flex;gap:10px;position:absolute;bottom:8px;left:8px;padding:8px;z-index:200;pointer-events:none}.fastboard-bottom-right{left:auto;right:8px}.fastboard-bottom{right:8px}.fastboard-left.hidden *,.fastboard-bottom.hidden *,.fastboard-bottom-left.hidden *,.fastboard-bottom-right.hidden *{opacity:0;pointer-events:none}.fastboard-tip{font-family:inherit;color:#d5d9e0;background-color:#03060d}.fastboard-tip[data-placement^=right]>.tippy-arrow:before{top:4px;border-width:4px;border-right-color:#03060d}.fastboard-tip[data-placement^=top]>.tippy-arrow:before{left:4px;border-width:4px;border-top-color:#03060d}.fastboard-panel .tippy-content{padding:8px}';
|
|
10741
10911
|
|
|
10742
10912
|
// inline-sass-stub:./src/style.scss
|
|
10743
10913
|
injectStyle(style_default);
|