@jsenv/plugin-toolbar 1.4.34 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,672 +1,4 @@
1
- var l$2,
2
- t$2;
3
- l$2 = {
4
- __e: function (n, l, u, t) {
5
- for (var i, r, o; l = l.__;) if ((i = l.__c) && !i.__) try {
6
- if ((r = i.constructor) && null != r.getDerivedStateFromError && (i.setState(r.getDerivedStateFromError(n)), o = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), o = i.__d), o) return i.__E = i;
7
- } catch (l) {
8
- n = l;
9
- }
10
- throw n;
11
- }
12
- }, t$2 = function (n) {
13
- return null != n && null == n.constructor;
14
- }, "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout;
15
-
16
- var t$1,
17
- r$1,
18
- u$1,
19
- i$1,
20
- o$1 = 0,
21
- f$1 = [],
22
- c$1 = l$2,
23
- e$1 = c$1.__b,
24
- a$2 = c$1.__r,
25
- v$2 = c$1.diffed,
26
- l$1 = c$1.__c,
27
- m$1 = c$1.unmount,
28
- s$1 = c$1.__;
29
- function d$2(n, t) {
30
- c$1.__h && c$1.__h(r$1, n, o$1 || t), o$1 = 0;
31
- var u = r$1.__H || (r$1.__H = {
32
- __: [],
33
- __h: []
34
- });
35
- return n >= u.__.length && u.__.push({}), u.__[n];
36
- }
37
- function T(n, r) {
38
- var u = d$2(t$1++, 7);
39
- return C(u.__H, r) && (u.__ = n(), u.__H = r, u.__h = n), u.__;
40
- }
41
- function j() {
42
- for (var n; n = f$1.shift();) if (n.__P && n.__H) try {
43
- n.__H.__h.forEach(z), n.__H.__h.forEach(B), n.__H.__h = [];
44
- } catch (t) {
45
- n.__H.__h = [], c$1.__e(t, n.__v);
46
- }
47
- }
48
- c$1.__b = function (n) {
49
- r$1 = null, e$1 && e$1(n);
50
- }, c$1.__ = function (n, t) {
51
- n && t.__k && t.__k.__m && (n.__m = t.__k.__m), s$1 && s$1(n, t);
52
- }, c$1.__r = function (n) {
53
- a$2 && a$2(n), t$1 = 0;
54
- var i = (r$1 = n.__c).__H;
55
- i && (u$1 === r$1 ? (i.__h = [], r$1.__h = [], i.__.forEach(function (n) {
56
- n.__N && (n.__ = n.__N), n.i = n.__N = undefined;
57
- })) : (i.__h.forEach(z), i.__h.forEach(B), i.__h = [], t$1 = 0)), u$1 = r$1;
58
- }, c$1.diffed = function (n) {
59
- v$2 && v$2(n);
60
- var t = n.__c;
61
- t && t.__H && (t.__H.__h.length && (1 !== f$1.push(t) && i$1 === c$1.requestAnimationFrame || ((i$1 = c$1.requestAnimationFrame) || w$1)(j)), t.__H.__.forEach(function (n) {
62
- n.i && (n.__H = n.i), n.i = undefined;
63
- })), u$1 = r$1 = null;
64
- }, c$1.__c = function (n, t) {
65
- t.some(function (n) {
66
- try {
67
- n.__h.forEach(z), n.__h = n.__h.filter(function (n) {
68
- return !n.__ || B(n);
69
- });
70
- } catch (r) {
71
- t.some(function (n) {
72
- n.__h && (n.__h = []);
73
- }), t = [], c$1.__e(r, n.__v);
74
- }
75
- }), l$1 && l$1(n, t);
76
- }, c$1.unmount = function (n) {
77
- m$1 && m$1(n);
78
- var t,
79
- r = n.__c;
80
- r && r.__H && (r.__H.__.forEach(function (n) {
81
- try {
82
- z(n);
83
- } catch (n) {
84
- t = n;
85
- }
86
- }), r.__H = undefined, t && c$1.__e(t, r.__v));
87
- };
88
- var k$1 = "function" == typeof requestAnimationFrame;
89
- function w$1(n) {
90
- var t,
91
- r = function () {
92
- clearTimeout(u), k$1 && cancelAnimationFrame(t), setTimeout(n);
93
- },
94
- u = setTimeout(r, 100);
95
- k$1 && (t = requestAnimationFrame(r));
96
- }
97
- function z(n) {
98
- var t = r$1,
99
- u = n.__c;
100
- "function" == typeof u && (n.__c = undefined, u()), r$1 = t;
101
- }
102
- function B(n) {
103
- var t = r$1;
104
- n.__c = n.__(), r$1 = t;
105
- }
106
- function C(n, t) {
107
- return !n || n.length !== t.length || t.some(function (t, r) {
108
- return t !== n[r];
109
- });
110
- }
111
-
112
- const i = Symbol.for("preact-signals");
113
- function t() {
114
- if (r > 1) {
115
- r--;
116
- return;
117
- }
118
- let i,
119
- t = false;
120
- while (undefined !== s) {
121
- let o = s;
122
- s = undefined;
123
- f++;
124
- while (undefined !== o) {
125
- const n = o.o;
126
- o.o = undefined;
127
- o.f &= -3;
128
- if (!(8 & o.f) && v$1(o)) try {
129
- o.c();
130
- } catch (o) {
131
- if (!t) {
132
- i = o;
133
- t = true;
134
- }
135
- }
136
- o = n;
137
- }
138
- }
139
- f = 0;
140
- r--;
141
- if (t) throw i;
142
- }
143
- function o(i) {
144
- if (r > 0) return i();
145
- r++;
146
- try {
147
- return i();
148
- } finally {
149
- t();
150
- }
151
- }
152
- let n, s;
153
- let r = 0,
154
- f = 0,
155
- e = 0;
156
- function c(i) {
157
- if (undefined === n) return;
158
- let t = i.n;
159
- if (undefined === t || t.t !== n) {
160
- t = {
161
- i: 0,
162
- S: i,
163
- p: n.s,
164
- n: undefined,
165
- t: n,
166
- e: undefined,
167
- x: undefined,
168
- r: t
169
- };
170
- if (undefined !== n.s) n.s.n = t;
171
- n.s = t;
172
- i.n = t;
173
- if (32 & n.f) i.S(t);
174
- return t;
175
- } else if (-1 === t.i) {
176
- t.i = 0;
177
- if (undefined !== t.n) {
178
- t.n.p = t.p;
179
- if (undefined !== t.p) t.p.n = t.n;
180
- t.p = n.s;
181
- t.n = undefined;
182
- n.s.n = t;
183
- n.s = t;
184
- }
185
- return t;
186
- }
187
- }
188
- function u(i) {
189
- this.v = i;
190
- this.i = 0;
191
- this.n = undefined;
192
- this.t = undefined;
193
- }
194
- u.prototype.brand = i;
195
- u.prototype.h = function () {
196
- return true;
197
- };
198
- u.prototype.S = function (i) {
199
- if (this.t !== i && undefined === i.e) {
200
- i.x = this.t;
201
- if (undefined !== this.t) this.t.e = i;
202
- this.t = i;
203
- }
204
- };
205
- u.prototype.U = function (i) {
206
- if (undefined !== this.t) {
207
- const t = i.e,
208
- o = i.x;
209
- if (undefined !== t) {
210
- t.x = o;
211
- i.e = undefined;
212
- }
213
- if (undefined !== o) {
214
- o.e = t;
215
- i.x = undefined;
216
- }
217
- if (i === this.t) this.t = o;
218
- }
219
- };
220
- u.prototype.subscribe = function (i) {
221
- return E(() => {
222
- const t = this.value,
223
- o = n;
224
- n = undefined;
225
- try {
226
- i(t);
227
- } finally {
228
- n = o;
229
- }
230
- });
231
- };
232
- u.prototype.valueOf = function () {
233
- return this.value;
234
- };
235
- u.prototype.toString = function () {
236
- return this.value + "";
237
- };
238
- u.prototype.toJSON = function () {
239
- return this.value;
240
- };
241
- u.prototype.peek = function () {
242
- const i = n;
243
- n = undefined;
244
- try {
245
- return this.value;
246
- } finally {
247
- n = i;
248
- }
249
- };
250
- Object.defineProperty(u.prototype, "value", {
251
- get() {
252
- const i = c(this);
253
- if (undefined !== i) i.i = this.i;
254
- return this.v;
255
- },
256
- set(i) {
257
- if (i !== this.v) {
258
- if (f > 100) throw new Error("Cycle detected");
259
- this.v = i;
260
- this.i++;
261
- e++;
262
- r++;
263
- try {
264
- for (let i = this.t; void 0 !== i; i = i.x) i.t.N();
265
- } finally {
266
- t();
267
- }
268
- }
269
- }
270
- });
271
- function d$1(i) {
272
- return new u(i);
273
- }
274
- function v$1(i) {
275
- for (let t = i.s; undefined !== t; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return true;
276
- return false;
277
- }
278
- function l(i) {
279
- for (let t = i.s; undefined !== t; t = t.n) {
280
- const o = t.S.n;
281
- if (undefined !== o) t.r = o;
282
- t.S.n = t;
283
- t.i = -1;
284
- if (undefined === t.n) {
285
- i.s = t;
286
- break;
287
- }
288
- }
289
- }
290
- function y(i) {
291
- let t,
292
- o = i.s;
293
- while (undefined !== o) {
294
- const i = o.p;
295
- if (-1 === o.i) {
296
- o.S.U(o);
297
- if (undefined !== i) i.n = o.n;
298
- if (undefined !== o.n) o.n.p = i;
299
- } else t = o;
300
- o.S.n = o.r;
301
- if (undefined !== o.r) o.r = undefined;
302
- o = i;
303
- }
304
- i.s = t;
305
- }
306
- function a$1(i) {
307
- u.call(this, undefined);
308
- this.x = i;
309
- this.s = undefined;
310
- this.g = e - 1;
311
- this.f = 4;
312
- }
313
- (a$1.prototype = new u()).h = function () {
314
- this.f &= -3;
315
- if (1 & this.f) return false;
316
- if (32 == (36 & this.f)) return true;
317
- this.f &= -5;
318
- if (this.g === e) return true;
319
- this.g = e;
320
- this.f |= 1;
321
- if (this.i > 0 && !v$1(this)) {
322
- this.f &= -2;
323
- return true;
324
- }
325
- const i = n;
326
- try {
327
- l(this);
328
- n = this;
329
- const i = this.x();
330
- if (16 & this.f || this.v !== i || 0 === this.i) {
331
- this.v = i;
332
- this.f &= -17;
333
- this.i++;
334
- }
335
- } catch (i) {
336
- this.v = i;
337
- this.f |= 16;
338
- this.i++;
339
- }
340
- n = i;
341
- y(this);
342
- this.f &= -2;
343
- return true;
344
- };
345
- a$1.prototype.S = function (i) {
346
- if (undefined === this.t) {
347
- this.f |= 36;
348
- for (let i = this.s; undefined !== i; i = i.n) i.S.S(i);
349
- }
350
- u.prototype.S.call(this, i);
351
- };
352
- a$1.prototype.U = function (i) {
353
- if (undefined !== this.t) {
354
- u.prototype.U.call(this, i);
355
- if (undefined === this.t) {
356
- this.f &= -33;
357
- for (let i = this.s; undefined !== i; i = i.n) i.S.U(i);
358
- }
359
- }
360
- };
361
- a$1.prototype.N = function () {
362
- if (!(2 & this.f)) {
363
- this.f |= 6;
364
- for (let i = this.t; undefined !== i; i = i.x) i.t.N();
365
- }
366
- };
367
- Object.defineProperty(a$1.prototype, "value", {
368
- get() {
369
- if (1 & this.f) throw new Error("Cycle detected");
370
- const i = c(this);
371
- this.h();
372
- if (undefined !== i) i.i = this.i;
373
- if (16 & this.f) throw this.v;
374
- return this.v;
375
- }
376
- });
377
- function w(i) {
378
- return new a$1(i);
379
- }
380
- function _$1(i) {
381
- const o = i.u;
382
- i.u = undefined;
383
- if ("function" == typeof o) {
384
- r++;
385
- const s = n;
386
- n = undefined;
387
- try {
388
- o();
389
- } catch (t) {
390
- i.f &= -2;
391
- i.f |= 8;
392
- g$1(i);
393
- throw t;
394
- } finally {
395
- n = s;
396
- t();
397
- }
398
- }
399
- }
400
- function g$1(i) {
401
- for (let t = i.s; undefined !== t; t = t.n) t.S.U(t);
402
- i.x = undefined;
403
- i.s = undefined;
404
- _$1(i);
405
- }
406
- function p(i) {
407
- if (n !== this) throw new Error("Out-of-order effect");
408
- y(this);
409
- n = i;
410
- this.f &= -2;
411
- if (8 & this.f) g$1(this);
412
- t();
413
- }
414
- function b$1(i) {
415
- this.x = i;
416
- this.u = undefined;
417
- this.s = undefined;
418
- this.o = undefined;
419
- this.f = 32;
420
- }
421
- b$1.prototype.c = function () {
422
- const i = this.S();
423
- try {
424
- if (8 & this.f) return;
425
- if (void 0 === this.x) return;
426
- const t = this.x();
427
- if ("function" == typeof t) this.u = t;
428
- } finally {
429
- i();
430
- }
431
- };
432
- b$1.prototype.S = function () {
433
- if (1 & this.f) throw new Error("Cycle detected");
434
- this.f |= 1;
435
- this.f &= -9;
436
- _$1(this);
437
- l(this);
438
- r++;
439
- const i = n;
440
- n = this;
441
- return p.bind(this, i);
442
- };
443
- b$1.prototype.N = function () {
444
- if (!(2 & this.f)) {
445
- this.f |= 2;
446
- this.o = s;
447
- s = this;
448
- }
449
- };
450
- b$1.prototype.d = function () {
451
- this.f |= 8;
452
- if (!(1 & this.f)) g$1(this);
453
- };
454
- function E(i) {
455
- const t = new b$1(i);
456
- try {
457
- t.c();
458
- } catch (i) {
459
- t.d();
460
- throw i;
461
- }
462
- return t.d.bind(t);
463
- }
464
-
465
- let a,
466
- d,
467
- _ = [];
468
- E(function () {
469
- a = this.N;
470
- })();
471
- function m(t, e) {
472
- l$2[t] = e.bind(null, l$2[t] || (() => {}));
473
- }
474
- function v(t) {
475
- if (d) d();
476
- d = t && t.S();
477
- }
478
- function g({
479
- data: t
480
- }) {
481
- const i = useSignal(t);
482
- i.value = t;
483
- const [o, f] = T(() => {
484
- let t = this,
485
- n = this.__v;
486
- while (n = n.__) if (n.__c) {
487
- n.__c.__$f |= 4;
488
- break;
489
- }
490
- const o = w(() => {
491
- let t = i.value.value;
492
- return 0 === t ? 0 : true === t ? "" : t || "";
493
- }),
494
- f = w(() => !t$2(o.value)),
495
- s = E(function () {
496
- this.N = A;
497
- if (f.value) {
498
- const i = o.value;
499
- if (t.base && 3 === t.base.nodeType) t.base.data = i;
500
- }
501
- }),
502
- c = this.__$u.d;
503
- this.__$u.d = function () {
504
- s();
505
- c.call(this);
506
- };
507
- return [f, o];
508
- }, []);
509
- return o.value ? f.peek() : f.value;
510
- }
511
- g.displayName = "_st";
512
- Object.defineProperties(u.prototype, {
513
- constructor: {
514
- configurable: true,
515
- value: undefined
516
- },
517
- type: {
518
- configurable: true,
519
- value: g
520
- },
521
- props: {
522
- configurable: true,
523
- get() {
524
- return {
525
- data: this
526
- };
527
- }
528
- },
529
- __b: {
530
- configurable: true,
531
- value: 1
532
- }
533
- });
534
- m("__b", (t, i) => {
535
- if ("string" == typeof i.type) {
536
- let t,
537
- e = i.props;
538
- for (let n in e) {
539
- if ("children" === n) continue;
540
- let o = e[n];
541
- if (o instanceof u) {
542
- if (!t) i.__np = t = {};
543
- t[n] = o;
544
- e[n] = o.peek();
545
- }
546
- }
547
- }
548
- t(i);
549
- });
550
- m("__r", (t, i) => {
551
- v();
552
- let e,
553
- n = i.__c;
554
- if (n) {
555
- n.__$f &= -2;
556
- e = n.__$u;
557
- if (undefined === e) n.__$u = e = function (t) {
558
- let i;
559
- E(function () {
560
- i = this;
561
- });
562
- i.c = () => {
563
- n.__$f |= 1;
564
- n.setState({});
565
- };
566
- return i;
567
- }();
568
- }
569
- v(e);
570
- t(i);
571
- });
572
- m("__e", (t, i, e, n) => {
573
- v();
574
- t(i, e, n);
575
- });
576
- m("diffed", (t, i) => {
577
- v();
578
- let e;
579
- if ("string" == typeof i.type && (e = i.__e)) {
580
- let t = i.__np,
581
- n = i.props;
582
- if (t) {
583
- let i = e.U;
584
- if (i) for (let e in i) {
585
- let n = i[e];
586
- if (undefined !== n && !(e in t)) {
587
- n.d();
588
- i[e] = undefined;
589
- }
590
- } else {
591
- i = {};
592
- e.U = i;
593
- }
594
- for (let o in t) {
595
- let f = i[o],
596
- r = t[o];
597
- if (undefined === f) {
598
- f = b(e, o, r, n);
599
- i[o] = f;
600
- } else f.o(r, n);
601
- }
602
- }
603
- }
604
- t(i);
605
- });
606
- function b(t, i, e, n) {
607
- const o = i in t && undefined === t.ownerSVGElement,
608
- f = d$1(e);
609
- return {
610
- o: (t, i) => {
611
- f.value = t;
612
- n = i;
613
- },
614
- d: E(function () {
615
- this.N = A;
616
- const e = f.value.value;
617
- if (n[i] !== e) {
618
- n[i] = e;
619
- if (o) t[i] = e;else if (e) t.setAttribute(i, e);else t.removeAttribute(i);
620
- }
621
- })
622
- };
623
- }
624
- m("unmount", (t, i) => {
625
- if ("string" == typeof i.type) {
626
- let t = i.__e;
627
- if (t) {
628
- const i = t.U;
629
- if (i) {
630
- t.U = undefined;
631
- for (let t in i) {
632
- let e = i[t];
633
- if (e) e.d();
634
- }
635
- }
636
- }
637
- } else {
638
- let t = i.__c;
639
- if (t) {
640
- const i = t.__$u;
641
- if (i) {
642
- t.__$u = undefined;
643
- i.d();
644
- }
645
- }
646
- }
647
- t(i);
648
- });
649
- m("__h", (t, i, e, n) => {
650
- if (n < 3 || 9 === n) i.__$f |= 2;
651
- t(i, e, n);
652
- });
653
- function useSignal(t) {
654
- return T(() => d$1(t), []);
655
- }
656
- const k = t => {
657
- queueMicrotask(() => {
658
- queueMicrotask(t);
659
- });
660
- };
661
- function x() {
662
- o(() => {
663
- let t;
664
- while (t = _.shift()) a.call(t);
665
- });
666
- }
667
- function A() {
668
- if (1 === _.push(this)) (l$2.requestAnimationFrame || k)(x);
669
- }
1
+ import { d, E, w } from "./vendors.js";
670
2
 
671
3
  const paramsFromParentWindow = {};
672
4
  const searchParams = new URLSearchParams(window.location.search);
@@ -677,7 +9,7 @@ const parentWindowReloader = window.parent.__reloader__;
677
9
 
678
10
  const stateFromLocalStorage = localStorage.hasOwnProperty("jsenv_toolbar") ? JSON.parse(localStorage.getItem("jsenv_toolbar")) : {};
679
11
 
680
- const animationsEnabledSignal = d$1(typeof stateFromLocalStorage.animationsEnabled === "boolean" ? stateFromLocalStorage.animationsEnabled : typeof paramsFromParentWindow.animationsEnabled === "boolean" ? paramsFromParentWindow.animationsEnabled : false);
12
+ const animationsEnabledSignal = d(typeof stateFromLocalStorage.animationsEnabled === "boolean" ? stateFromLocalStorage.animationsEnabled : typeof paramsFromParentWindow.animationsEnabled === "boolean" ? paramsFromParentWindow.animationsEnabled : false);
681
13
 
682
14
  E(() => {
683
15
  const animationsEnabled = animationsEnabledSignal.value;
@@ -688,11 +20,11 @@ E(() => {
688
20
  }
689
21
  });
690
22
 
691
- const executionTooltipOpenedSignal = d$1(false);
692
- const executionSignal = d$1({
23
+ const executionTooltipOpenedSignal = d(false);
24
+ const executionSignal = d({
693
25
  status: "running"
694
26
  });
695
- const previousExecutionSignal = d$1(sessionStorage.hasOwnProperty(window.location.href) ? JSON.parse(sessionStorage.getItem(window.location.href)) : null);
27
+ const previousExecutionSignal = d(sessionStorage.hasOwnProperty(window.location.href) ? JSON.parse(sessionStorage.getItem(window.location.href)) : null);
696
28
  window.parent.__supervisor__.getDocumentExecutionResult().then(({
697
29
  status,
698
30
  startTime,
@@ -707,8 +39,8 @@ window.parent.__supervisor__.getDocumentExecutionResult().then(({
707
39
 
708
40
  const notificationAPIDetected = typeof window.Notification === "function";
709
41
 
710
- const notificationsEnabledSignal = d$1(typeof stateFromLocalStorage.notificationsEnabled === "boolean" ? stateFromLocalStorage.notificationsEnabled : typeof paramsFromParentWindow.notificationsEnabled === "boolean" ? paramsFromParentWindow.notificationsEnabled : false);
711
- const notificationPermissionSignal = d$1(Notification.permission);
42
+ const notificationsEnabledSignal = d(typeof stateFromLocalStorage.notificationsEnabled === "boolean" ? stateFromLocalStorage.notificationsEnabled : typeof paramsFromParentWindow.notificationsEnabled === "boolean" ? paramsFromParentWindow.notificationsEnabled : false);
43
+ const notificationPermissionSignal = d(Notification.permission);
712
44
 
713
45
  const enableNotifications = () => {
714
46
  notificationsEnabledSignal.value = true;
@@ -835,7 +167,7 @@ E(() => {
835
167
  }
836
168
  });
837
169
 
838
- const changesTooltipOpenedSignal = d$1(false);
170
+ const changesTooltipOpenedSignal = d(false);
839
171
 
840
172
  const openChangesToolip = () => {
841
173
  changesTooltipOpenedSignal.value = true;
@@ -844,9 +176,9 @@ const closeChangesToolip = () => {
844
176
  changesTooltipOpenedSignal.value = false;
845
177
  };
846
178
 
847
- const autoreloadEnabledSignal = d$1(false);
848
- const reloaderStatusSignal = d$1("idle");
849
- const changesSignal = d$1(0);
179
+ const autoreloadEnabledSignal = d(false);
180
+ const reloaderStatusSignal = d("idle");
181
+ const changesSignal = d(0);
850
182
  if (parentWindowReloader) {
851
183
  autoreloadEnabledSignal.value = parentWindowReloader.autoreload.enabled;
852
184
  parentWindowReloader.autoreload.onchange = () => {
@@ -1081,8 +413,8 @@ const renderDocumentIndexLink = () => {
1081
413
  setLinkHrefForParentWindow(document.querySelector("#document_index_link"), "/");
1082
414
  };
1083
415
 
1084
- const serverTooltipOpenedSignal = d$1(false);
1085
- const serverConnectionSignal = d$1("default");
416
+ const serverTooltipOpenedSignal = d(false);
417
+ const serverConnectionSignal = d("default");
1086
418
  const serverEvents$1 = window.__server_events__;
1087
419
  if (serverEvents$1) {
1088
420
  serverEvents$1.readyState.onchange = () => {
@@ -1146,7 +478,7 @@ const updateServerIndicator = connectionState => {
1146
478
  }
1147
479
  };
1148
480
 
1149
- const openedSignal = d$1(typeof stateFromLocalStorage.opened === "boolean" ? stateFromLocalStorage.opened : typeof paramsFromParentWindow.opened === "boolean" ? paramsFromParentWindow.opened : false);
481
+ const openedSignal = d(typeof stateFromLocalStorage.opened === "boolean" ? stateFromLocalStorage.opened : typeof paramsFromParentWindow.opened === "boolean" ? paramsFromParentWindow.opened : false);
1150
482
 
1151
483
  const openToolbar = () => {
1152
484
  openedSignal.value = true;
@@ -1222,7 +554,6 @@ const createSignal = () => {
1222
554
  };
1223
555
  };
1224
556
  const windowWidthMeasure = createMeasure({
1225
- name: "window-width",
1226
557
  compute: () => window.innerWidth,
1227
558
  register: onchange => {
1228
559
  window.addEventListener("resize", onchange);
@@ -1467,7 +798,7 @@ const showToolbar = () => {
1467
798
  }
1468
799
  };
1469
800
 
1470
- const settingsOpenedSignal = d$1(false);
801
+ const settingsOpenedSignal = d(false);
1471
802
 
1472
803
  const openSettings = () => {
1473
804
  settingsOpenedSignal.value = true;
@@ -1735,7 +1066,7 @@ const applyNotificationNOTGrantedEffects = () => {
1735
1066
  };
1736
1067
  };
1737
1068
 
1738
- const ribbonDisplayedSignal = d$1(typeof stateFromLocalStorage.ribbonDisplayed === "boolean" ? stateFromLocalStorage.ribbonDisplayed : true);
1069
+ const ribbonDisplayedSignal = d(typeof stateFromLocalStorage.ribbonDisplayed === "boolean" ? stateFromLocalStorage.ribbonDisplayed : true);
1739
1070
 
1740
1071
  const ribbonBox = document.querySelector("#ribbon_box");
1741
1072
  const ribbonCheckbox = ribbonBox.querySelector("input");
@@ -1762,7 +1093,7 @@ const renderToolbarRibbonSetting = () => {
1762
1093
  }
1763
1094
  };
1764
1095
 
1765
- const themeSignal = d$1(typeof stateFromLocalStorage.theme === "string" ? stateFromLocalStorage.theme : typeof paramsFromParentWindow.theme === "string" ? paramsFromParentWindow.theme : "dark");
1096
+ const themeSignal = d(typeof stateFromLocalStorage.theme === "string" ? stateFromLocalStorage.theme : typeof paramsFromParentWindow.theme === "string" ? paramsFromParentWindow.theme : "dark");
1766
1097
 
1767
1098
  const switchToLightTheme = () => {
1768
1099
  themeSignal.value = "light";