@micro-lc/preview 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -0
- package/package.json +7 -7
- package/website/assets/index-210024ad.js +13 -0
- package/website/development/assets/{index-d5aaa491.js → index-7a3e0004.js} +490 -417
- package/website/development/index.html +1 -1
- package/website/development/manifest.json +1 -1
- package/website/index.html +1 -1
- package/website/manifest.json +1 -1
- package/website/assets/index-b0a6eac8.js +0 -15
@@ -278,13 +278,14 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
278
278
|
});
|
279
279
|
let supportsJsonAssertions = false;
|
280
280
|
let supportsCssAssertions = false;
|
281
|
-
|
282
|
-
let
|
281
|
+
const supports = hasDocument && HTMLScriptElement.supports;
|
282
|
+
let supportsImportMaps = supports && supports.name === "supports" && supports("importmap");
|
283
|
+
let supportsImportMeta = supportsDynamicImport;
|
283
284
|
const importMetaCheck = "import.meta";
|
284
285
|
const cssModulesCheck = `import"x"assert{type:"css"}`;
|
285
286
|
const jsonModulesCheck = `import"x"assert{type:"json"}`;
|
286
|
-
|
287
|
-
if (!supportsDynamicImport
|
287
|
+
let featureDetectionPromise = Promise.resolve(dynamicImportCheck).then(() => {
|
288
|
+
if (!supportsDynamicImport)
|
288
289
|
return;
|
289
290
|
if (!hasDocument)
|
290
291
|
return Promise.all([
|
@@ -296,18 +297,25 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
296
297
|
const iframe = document.createElement("iframe");
|
297
298
|
iframe.style.display = "none";
|
298
299
|
iframe.setAttribute("nonce", nonce);
|
299
|
-
function cb({ data
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
300
|
+
function cb({ data }) {
|
301
|
+
if (Array.isArray(data)) {
|
302
|
+
supportsImportMaps = data[0];
|
303
|
+
supportsImportMeta = data[1];
|
304
|
+
supportsCssAssertions = data[2];
|
305
|
+
supportsJsonAssertions = data[3];
|
306
|
+
}
|
304
307
|
resolve2();
|
305
308
|
document.head.removeChild(iframe);
|
306
309
|
window.removeEventListener("message", cb, false);
|
307
310
|
}
|
308
311
|
window.addEventListener("message", cb, false);
|
309
312
|
const importMapTest = `<script nonce=${nonce || ""}>b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"${nonce}",innerText:\`{"imports":{"x":"\${b('')}"}}\`}));Promise.all([${supportsImportMaps ? "true,true" : `'x',b('${importMetaCheck}')`}, ${cssModulesEnabled ? `b('${cssModulesCheck}'.replace('x',b('','text/css')))` : "false"}, ${jsonModulesEnabled ? `b('${jsonModulesCheck}'.replace('x',b('{}','text/json')))` : "false"}].map(x =>typeof x==='string'?import(x).then(x =>!!x,()=>false):x)).then(a=>parent.postMessage(a,'*'))<${""}/script>`;
|
310
|
-
|
313
|
+
let readyForOnload = false, onloadCalledWhileNotReady = false;
|
314
|
+
function doOnload() {
|
315
|
+
if (!readyForOnload) {
|
316
|
+
onloadCalledWhileNotReady = true;
|
317
|
+
return;
|
318
|
+
}
|
311
319
|
const doc = iframe.contentDocument;
|
312
320
|
if (doc && doc.head.childNodes.length === 0) {
|
313
321
|
const s3 = doc.createElement("script");
|
@@ -316,12 +324,16 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
316
324
|
s3.innerHTML = importMapTest.slice(15 + (nonce ? nonce.length : 0), -9);
|
317
325
|
doc.head.appendChild(s3);
|
318
326
|
}
|
319
|
-
}
|
327
|
+
}
|
328
|
+
iframe.onload = doOnload;
|
320
329
|
document.head.appendChild(iframe);
|
330
|
+
readyForOnload = true;
|
321
331
|
if ("srcdoc" in iframe)
|
322
332
|
iframe.srcdoc = importMapTest;
|
323
333
|
else
|
324
334
|
iframe.contentDocument.write(importMapTest);
|
335
|
+
if (onloadCalledWhileNotReady)
|
336
|
+
doOnload();
|
325
337
|
});
|
326
338
|
});
|
327
339
|
let e2, a2, r2, i2 = 2 << 19;
|
@@ -348,9 +360,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
348
360
|
a2 = new ArrayBuffer(i2), s2(t2, new Uint16Array(a2, 16, 105)), e2 = function(e3, a3, r3) {
|
349
361
|
;
|
350
362
|
var i3 = new e3.Int8Array(r3), s3 = new e3.Int16Array(r3), t3 = new e3.Int32Array(r3), c3 = new e3.Uint8Array(r3), f3 = new e3.Uint16Array(r3), n3 = 1024;
|
351
|
-
function
|
352
|
-
var e4 = 0, a4 = 0, r4 = 0, c4 = 0,
|
353
|
-
|
363
|
+
function b2() {
|
364
|
+
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, b3 = 0, u5 = 0, w4 = 0;
|
365
|
+
w4 = n3;
|
354
366
|
n3 = n3 + 10240 | 0;
|
355
367
|
i3[795] = 1;
|
356
368
|
s3[395] = 0;
|
@@ -359,8 +371,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
359
371
|
i3[796] = 0;
|
360
372
|
t3[66] = 0;
|
361
373
|
i3[794] = 0;
|
362
|
-
t3[68] =
|
363
|
-
t3[69] =
|
374
|
+
t3[68] = w4 + 2048;
|
375
|
+
t3[69] = w4;
|
364
376
|
i3[797] = 0;
|
365
377
|
e4 = (t3[3] | 0) + -2 | 0;
|
366
378
|
t3[70] = e4;
|
@@ -371,7 +383,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
371
383
|
r4 = e4 + 2 | 0;
|
372
384
|
t3[70] = r4;
|
373
385
|
if (e4 >>> 0 >= a4 >>> 0) {
|
374
|
-
|
386
|
+
b3 = 18;
|
375
387
|
break;
|
376
388
|
}
|
377
389
|
a:
|
@@ -386,22 +398,22 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
386
398
|
break;
|
387
399
|
case 101: {
|
388
400
|
if ((((s3[396] | 0) == 0 ? H2(r4) | 0 : 0) ? (m2(e4 + 4 | 0, 16, 10) | 0) == 0 : 0) ? (l4(), (i3[795] | 0) == 0) : 0) {
|
389
|
-
|
401
|
+
b3 = 9;
|
390
402
|
break e;
|
391
403
|
} else
|
392
|
-
|
404
|
+
b3 = 17;
|
393
405
|
break;
|
394
406
|
}
|
395
407
|
case 105: {
|
396
408
|
if (H2(r4) | 0 ? (m2(e4 + 4 | 0, 26, 10) | 0) == 0 : 0) {
|
397
409
|
k4();
|
398
|
-
|
410
|
+
b3 = 17;
|
399
411
|
} else
|
400
|
-
|
412
|
+
b3 = 17;
|
401
413
|
break;
|
402
414
|
}
|
403
415
|
case 59: {
|
404
|
-
|
416
|
+
b3 = 17;
|
405
417
|
break;
|
406
418
|
}
|
407
419
|
case 47:
|
@@ -415,46 +427,46 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
415
427
|
break a;
|
416
428
|
}
|
417
429
|
default: {
|
418
|
-
|
430
|
+
b3 = 16;
|
419
431
|
break e;
|
420
432
|
}
|
421
433
|
}
|
422
434
|
default: {
|
423
|
-
|
435
|
+
b3 = 16;
|
424
436
|
break e;
|
425
437
|
}
|
426
438
|
}
|
427
439
|
} while (0);
|
428
|
-
if ((
|
429
|
-
|
440
|
+
if ((b3 | 0) == 17) {
|
441
|
+
b3 = 0;
|
430
442
|
t3[67] = t3[70];
|
431
443
|
}
|
432
444
|
e4 = t3[70] | 0;
|
433
445
|
a4 = t3[71] | 0;
|
434
446
|
}
|
435
|
-
if ((
|
447
|
+
if ((b3 | 0) == 9) {
|
436
448
|
e4 = t3[70] | 0;
|
437
449
|
t3[67] = e4;
|
438
|
-
|
439
|
-
} else if ((
|
450
|
+
b3 = 19;
|
451
|
+
} else if ((b3 | 0) == 16) {
|
440
452
|
i3[795] = 0;
|
441
453
|
t3[70] = e4;
|
442
|
-
|
443
|
-
} else if ((
|
454
|
+
b3 = 19;
|
455
|
+
} else if ((b3 | 0) == 18)
|
444
456
|
if (!(i3[794] | 0)) {
|
445
457
|
e4 = r4;
|
446
|
-
|
458
|
+
b3 = 19;
|
447
459
|
} else
|
448
460
|
e4 = 0;
|
449
461
|
do {
|
450
|
-
if ((
|
462
|
+
if ((b3 | 0) == 19) {
|
451
463
|
e:
|
452
464
|
while (1) {
|
453
465
|
a4 = e4 + 2 | 0;
|
454
466
|
t3[70] = a4;
|
455
467
|
c4 = a4;
|
456
468
|
if (e4 >>> 0 >= (t3[71] | 0) >>> 0) {
|
457
|
-
|
469
|
+
b3 = 82;
|
458
470
|
break;
|
459
471
|
}
|
460
472
|
a:
|
@@ -470,64 +482,64 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
470
482
|
case 101: {
|
471
483
|
if (((s3[396] | 0) == 0 ? H2(a4) | 0 : 0) ? (m2(e4 + 4 | 0, 16, 10) | 0) == 0 : 0) {
|
472
484
|
l4();
|
473
|
-
|
485
|
+
b3 = 81;
|
474
486
|
} else
|
475
|
-
|
487
|
+
b3 = 81;
|
476
488
|
break;
|
477
489
|
}
|
478
490
|
case 105: {
|
479
491
|
if (H2(a4) | 0 ? (m2(e4 + 4 | 0, 26, 10) | 0) == 0 : 0) {
|
480
492
|
k4();
|
481
|
-
|
493
|
+
b3 = 81;
|
482
494
|
} else
|
483
|
-
|
495
|
+
b3 = 81;
|
484
496
|
break;
|
485
497
|
}
|
486
498
|
case 99: {
|
487
499
|
if ((H2(a4) | 0 ? (m2(e4 + 4 | 0, 36, 8) | 0) == 0 : 0) ? V2(s3[e4 + 12 >> 1] | 0) | 0 : 0) {
|
488
500
|
i3[797] = 1;
|
489
|
-
|
501
|
+
b3 = 81;
|
490
502
|
} else
|
491
|
-
|
503
|
+
b3 = 81;
|
492
504
|
break;
|
493
505
|
}
|
494
506
|
case 40: {
|
495
507
|
c4 = t3[68] | 0;
|
496
508
|
a4 = s3[396] | 0;
|
497
|
-
|
498
|
-
t3[c4 + (
|
509
|
+
b3 = a4 & 65535;
|
510
|
+
t3[c4 + (b3 << 3) >> 2] = 1;
|
499
511
|
r4 = t3[67] | 0;
|
500
512
|
s3[396] = a4 + 1 << 16 >> 16;
|
501
|
-
t3[c4 + (
|
502
|
-
|
513
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = r4;
|
514
|
+
b3 = 81;
|
503
515
|
break;
|
504
516
|
}
|
505
517
|
case 41: {
|
506
518
|
a4 = s3[396] | 0;
|
507
519
|
if (!(a4 << 16 >> 16)) {
|
508
|
-
|
520
|
+
b3 = 36;
|
509
521
|
break e;
|
510
522
|
}
|
511
523
|
a4 = a4 + -1 << 16 >> 16;
|
512
524
|
s3[396] = a4;
|
513
525
|
r4 = s3[395] | 0;
|
514
|
-
if (r4 << 16 >> 16 != 0 ? (
|
515
|
-
a4 =
|
526
|
+
if (r4 << 16 >> 16 != 0 ? (u5 = t3[(t3[69] | 0) + ((r4 & 65535) + -1 << 2) >> 2] | 0, (t3[u5 + 20 >> 2] | 0) == (t3[(t3[68] | 0) + ((a4 & 65535) << 3) + 4 >> 2] | 0)) : 0) {
|
527
|
+
a4 = u5 + 4 | 0;
|
516
528
|
if (!(t3[a4 >> 2] | 0))
|
517
529
|
t3[a4 >> 2] = c4;
|
518
|
-
t3[
|
530
|
+
t3[u5 + 12 >> 2] = e4 + 4;
|
519
531
|
s3[395] = r4 + -1 << 16 >> 16;
|
520
|
-
|
532
|
+
b3 = 81;
|
521
533
|
} else
|
522
|
-
|
534
|
+
b3 = 81;
|
523
535
|
break;
|
524
536
|
}
|
525
537
|
case 123: {
|
526
|
-
|
538
|
+
b3 = t3[67] | 0;
|
527
539
|
c4 = t3[61] | 0;
|
528
|
-
e4 =
|
540
|
+
e4 = b3;
|
529
541
|
do {
|
530
|
-
if ((s3[
|
542
|
+
if ((s3[b3 >> 1] | 0) == 41 & (c4 | 0) != 0 ? (t3[c4 + 4 >> 2] | 0) == (b3 | 0) : 0) {
|
531
543
|
a4 = t3[62] | 0;
|
532
544
|
t3[61] = a4;
|
533
545
|
if (!a4) {
|
@@ -541,38 +553,38 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
541
553
|
} while (0);
|
542
554
|
c4 = t3[68] | 0;
|
543
555
|
r4 = s3[396] | 0;
|
544
|
-
|
545
|
-
t3[c4 + (
|
556
|
+
b3 = r4 & 65535;
|
557
|
+
t3[c4 + (b3 << 3) >> 2] = (i3[797] | 0) == 0 ? 2 : 6;
|
546
558
|
s3[396] = r4 + 1 << 16 >> 16;
|
547
|
-
t3[c4 + (
|
559
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = e4;
|
548
560
|
i3[797] = 0;
|
549
|
-
|
561
|
+
b3 = 81;
|
550
562
|
break;
|
551
563
|
}
|
552
564
|
case 125: {
|
553
565
|
e4 = s3[396] | 0;
|
554
566
|
if (!(e4 << 16 >> 16)) {
|
555
|
-
|
567
|
+
b3 = 49;
|
556
568
|
break e;
|
557
569
|
}
|
558
570
|
c4 = t3[68] | 0;
|
559
|
-
|
560
|
-
s3[396] =
|
561
|
-
if ((t3[c4 + ((
|
571
|
+
b3 = e4 + -1 << 16 >> 16;
|
572
|
+
s3[396] = b3;
|
573
|
+
if ((t3[c4 + ((b3 & 65535) << 3) >> 2] | 0) == 4) {
|
562
574
|
h3();
|
563
|
-
|
575
|
+
b3 = 81;
|
564
576
|
} else
|
565
|
-
|
577
|
+
b3 = 81;
|
566
578
|
break;
|
567
579
|
}
|
568
580
|
case 39: {
|
569
581
|
d3(39);
|
570
|
-
|
582
|
+
b3 = 81;
|
571
583
|
break;
|
572
584
|
}
|
573
585
|
case 34: {
|
574
586
|
d3(34);
|
575
|
-
|
587
|
+
b3 = 81;
|
576
588
|
break;
|
577
589
|
}
|
578
590
|
case 47:
|
@@ -594,70 +606,70 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
594
606
|
switch (c4 << 16 >> 16) {
|
595
607
|
case 41:
|
596
608
|
if (D(t3[(t3[68] | 0) + (f3[396] << 3) + 4 >> 2] | 0) | 0) {
|
597
|
-
|
609
|
+
b3 = 69;
|
598
610
|
break r;
|
599
611
|
} else {
|
600
|
-
|
612
|
+
b3 = 66;
|
601
613
|
break r;
|
602
614
|
}
|
603
615
|
case 125:
|
604
616
|
break;
|
605
617
|
default: {
|
606
|
-
|
618
|
+
b3 = 66;
|
607
619
|
break r;
|
608
620
|
}
|
609
621
|
}
|
610
622
|
a4 = t3[68] | 0;
|
611
623
|
r4 = f3[396] | 0;
|
612
624
|
if (!(p3(t3[a4 + (r4 << 3) + 4 >> 2] | 0) | 0) ? (t3[a4 + (r4 << 3) >> 2] | 0) != 6 : 0)
|
613
|
-
|
625
|
+
b3 = 66;
|
614
626
|
else
|
615
|
-
|
627
|
+
b3 = 69;
|
616
628
|
} else
|
617
629
|
switch (c4 << 16 >> 16) {
|
618
630
|
case 46:
|
619
631
|
if (((s3[e4 + -2 >> 1] | 0) + -48 & 65535) < 10) {
|
620
|
-
|
632
|
+
b3 = 66;
|
621
633
|
break r;
|
622
634
|
} else {
|
623
|
-
|
635
|
+
b3 = 69;
|
624
636
|
break r;
|
625
637
|
}
|
626
638
|
case 43:
|
627
639
|
if ((s3[e4 + -2 >> 1] | 0) == 43) {
|
628
|
-
|
640
|
+
b3 = 66;
|
629
641
|
break r;
|
630
642
|
} else {
|
631
|
-
|
643
|
+
b3 = 69;
|
632
644
|
break r;
|
633
645
|
}
|
634
646
|
case 45:
|
635
647
|
if ((s3[e4 + -2 >> 1] | 0) == 45) {
|
636
|
-
|
648
|
+
b3 = 66;
|
637
649
|
break r;
|
638
650
|
} else {
|
639
|
-
|
651
|
+
b3 = 69;
|
640
652
|
break r;
|
641
653
|
}
|
642
654
|
default: {
|
643
|
-
|
655
|
+
b3 = 69;
|
644
656
|
break r;
|
645
657
|
}
|
646
658
|
}
|
647
659
|
} while (0);
|
648
660
|
r:
|
649
661
|
do {
|
650
|
-
if ((
|
651
|
-
|
652
|
-
if (!(
|
662
|
+
if ((b3 | 0) == 66) {
|
663
|
+
b3 = 0;
|
664
|
+
if (!(o3(e4) | 0)) {
|
653
665
|
switch (c4 << 16 >> 16) {
|
654
666
|
case 0: {
|
655
|
-
|
667
|
+
b3 = 69;
|
656
668
|
break r;
|
657
669
|
}
|
658
670
|
case 47: {
|
659
671
|
if (i3[796] | 0) {
|
660
|
-
|
672
|
+
b3 = 69;
|
661
673
|
break r;
|
662
674
|
}
|
663
675
|
break;
|
@@ -681,73 +693,73 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
681
693
|
e4 = e4 + -2 | 0;
|
682
694
|
t3[67] = e4;
|
683
695
|
} while (F(s3[e4 >> 1] | 0) | 0);
|
684
|
-
if (
|
696
|
+
if (j2(e4) | 0) {
|
685
697
|
g2();
|
686
698
|
i3[796] = 0;
|
687
|
-
|
699
|
+
b3 = 81;
|
688
700
|
break a;
|
689
701
|
} else
|
690
702
|
e4 = 1;
|
691
703
|
} else
|
692
704
|
e4 = 1;
|
693
705
|
} else
|
694
|
-
|
706
|
+
b3 = 69;
|
695
707
|
}
|
696
708
|
} while (0);
|
697
|
-
if ((
|
709
|
+
if ((b3 | 0) == 69) {
|
698
710
|
g2();
|
699
711
|
e4 = 0;
|
700
712
|
}
|
701
713
|
i3[796] = e4;
|
702
|
-
|
714
|
+
b3 = 81;
|
703
715
|
break a;
|
704
716
|
}
|
705
717
|
}
|
706
718
|
case 96: {
|
707
719
|
c4 = t3[68] | 0;
|
708
720
|
r4 = s3[396] | 0;
|
709
|
-
|
710
|
-
t3[c4 + (
|
721
|
+
b3 = r4 & 65535;
|
722
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = t3[67];
|
711
723
|
s3[396] = r4 + 1 << 16 >> 16;
|
712
|
-
t3[c4 + (
|
724
|
+
t3[c4 + (b3 << 3) >> 2] = 3;
|
713
725
|
h3();
|
714
|
-
|
726
|
+
b3 = 81;
|
715
727
|
break;
|
716
728
|
}
|
717
729
|
default:
|
718
|
-
|
730
|
+
b3 = 81;
|
719
731
|
}
|
720
732
|
} while (0);
|
721
|
-
if ((
|
722
|
-
|
733
|
+
if ((b3 | 0) == 81) {
|
734
|
+
b3 = 0;
|
723
735
|
t3[67] = t3[70];
|
724
736
|
}
|
725
737
|
e4 = t3[70] | 0;
|
726
738
|
}
|
727
|
-
if ((
|
739
|
+
if ((b3 | 0) == 36) {
|
728
740
|
T2();
|
729
741
|
e4 = 0;
|
730
742
|
break;
|
731
|
-
} else if ((
|
743
|
+
} else if ((b3 | 0) == 49) {
|
732
744
|
T2();
|
733
745
|
e4 = 0;
|
734
746
|
break;
|
735
|
-
} else if ((
|
747
|
+
} else if ((b3 | 0) == 82) {
|
736
748
|
e4 = (i3[794] | 0) == 0 ? (s3[395] | s3[396]) << 16 >> 16 == 0 : 0;
|
737
749
|
break;
|
738
750
|
}
|
739
751
|
}
|
740
752
|
} while (0);
|
741
|
-
n3 =
|
753
|
+
n3 = w4;
|
742
754
|
return e4 | 0;
|
743
755
|
}
|
744
756
|
function l4() {
|
745
|
-
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, f4 = 0, n4 = 0,
|
757
|
+
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, f4 = 0, n4 = 0, b3 = 0, l5 = 0, k5 = 0, o4 = 0, h4 = 0, A3 = 0, C3 = 0, g3 = 0;
|
746
758
|
l5 = t3[70] | 0;
|
747
759
|
k5 = t3[63] | 0;
|
748
760
|
g3 = l5 + 12 | 0;
|
749
761
|
t3[70] = g3;
|
750
|
-
r4 =
|
762
|
+
r4 = w3(1) | 0;
|
751
763
|
e4 = t3[70] | 0;
|
752
764
|
if (!((e4 | 0) == (g3 | 0) ? !(I2(r4) | 0) : 0))
|
753
765
|
C3 = 3;
|
@@ -759,7 +771,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
759
771
|
switch (r4 << 16 >> 16) {
|
760
772
|
case 123: {
|
761
773
|
t3[70] = e4 + 2;
|
762
|
-
e4 =
|
774
|
+
e4 = w3(1) | 0;
|
763
775
|
r4 = t3[70] | 0;
|
764
776
|
while (1) {
|
765
777
|
if (W(e4) | 0) {
|
@@ -770,11 +782,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
770
782
|
q(e4) | 0;
|
771
783
|
e4 = t3[70] | 0;
|
772
784
|
}
|
773
|
-
|
785
|
+
w3(1) | 0;
|
774
786
|
e4 = v2(r4, e4) | 0;
|
775
787
|
if (e4 << 16 >> 16 == 44) {
|
776
788
|
t3[70] = (t3[70] | 0) + 2;
|
777
|
-
e4 =
|
789
|
+
e4 = w3(1) | 0;
|
778
790
|
}
|
779
791
|
a4 = r4;
|
780
792
|
r4 = t3[70] | 0;
|
@@ -805,7 +817,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
805
817
|
}
|
806
818
|
case 42: {
|
807
819
|
t3[70] = e4 + 2;
|
808
|
-
|
820
|
+
w3(1) | 0;
|
809
821
|
g3 = t3[70] | 0;
|
810
822
|
v2(g3, g3) | 0;
|
811
823
|
break;
|
@@ -816,12 +828,12 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
816
828
|
case 100: {
|
817
829
|
l5 = e4 + 14 | 0;
|
818
830
|
t3[70] = l5;
|
819
|
-
switch ((
|
831
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
820
832
|
case 97: {
|
821
833
|
a4 = t3[70] | 0;
|
822
834
|
if ((m2(a4 + 2 | 0, 56, 8) | 0) == 0 ? (f4 = a4 + 10 | 0, F(s3[f4 >> 1] | 0) | 0) : 0) {
|
823
835
|
t3[70] = f4;
|
824
|
-
|
836
|
+
w3(0) | 0;
|
825
837
|
C3 = 22;
|
826
838
|
}
|
827
839
|
break;
|
@@ -832,7 +844,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
832
844
|
}
|
833
845
|
case 99: {
|
834
846
|
a4 = t3[70] | 0;
|
835
|
-
if (((m2(a4 + 2 | 0, 36, 8) | 0) == 0 ? (c4 = a4 + 10 | 0, g3 = s3[c4 >> 1] | 0, V2(g3) | 0 | g3 << 16 >> 16 == 123) : 0) ? (t3[70] = c4, n4 =
|
847
|
+
if (((m2(a4 + 2 | 0, 36, 8) | 0) == 0 ? (c4 = a4 + 10 | 0, g3 = s3[c4 >> 1] | 0, V2(g3) | 0 | g3 << 16 >> 16 == 123) : 0) ? (t3[70] = c4, n4 = w3(1) | 0, n4 << 16 >> 16 != 123) : 0) {
|
836
848
|
A3 = n4;
|
837
849
|
C3 = 31;
|
838
850
|
}
|
@@ -843,8 +855,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
843
855
|
}
|
844
856
|
r:
|
845
857
|
do {
|
846
|
-
if ((C3 | 0) == 22 ? (
|
847
|
-
r4 =
|
858
|
+
if ((C3 | 0) == 22 ? (b3 = t3[70] | 0, (m2(b3 + 2 | 0, 64, 14) | 0) == 0) : 0) {
|
859
|
+
r4 = b3 + 16 | 0;
|
848
860
|
a4 = s3[r4 >> 1] | 0;
|
849
861
|
if (!(V2(a4) | 0))
|
850
862
|
switch (a4 << 16 >> 16) {
|
@@ -855,10 +867,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
855
867
|
break r;
|
856
868
|
}
|
857
869
|
t3[70] = r4;
|
858
|
-
a4 =
|
870
|
+
a4 = w3(1) | 0;
|
859
871
|
if (a4 << 16 >> 16 == 42) {
|
860
872
|
t3[70] = (t3[70] | 0) + 2;
|
861
|
-
a4 =
|
873
|
+
a4 = w3(1) | 0;
|
862
874
|
}
|
863
875
|
if (a4 << 16 >> 16 != 40) {
|
864
876
|
A3 = a4;
|
@@ -866,8 +878,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
866
878
|
}
|
867
879
|
}
|
868
880
|
} while (0);
|
869
|
-
if ((C3 | 0) == 31 ? (
|
870
|
-
$2(e4, l5,
|
881
|
+
if ((C3 | 0) == 31 ? (o4 = t3[70] | 0, q(A3) | 0, h4 = t3[70] | 0, h4 >>> 0 > o4 >>> 0) : 0) {
|
882
|
+
$2(e4, l5, o4, h4);
|
871
883
|
t3[70] = (t3[70] | 0) + -2;
|
872
884
|
break e;
|
873
885
|
}
|
@@ -877,7 +889,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
877
889
|
}
|
878
890
|
case 97: {
|
879
891
|
t3[70] = e4 + 10;
|
880
|
-
|
892
|
+
w3(0) | 0;
|
881
893
|
e4 = t3[70] | 0;
|
882
894
|
C3 = 35;
|
883
895
|
break;
|
@@ -889,7 +901,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
889
901
|
case 99: {
|
890
902
|
if ((m2(e4 + 2 | 0, 36, 8) | 0) == 0 ? (a4 = e4 + 10 | 0, E2(s3[a4 >> 1] | 0) | 0) : 0) {
|
891
903
|
t3[70] = a4;
|
892
|
-
g3 =
|
904
|
+
g3 = w3(1) | 0;
|
893
905
|
C3 = t3[70] | 0;
|
894
906
|
q(g3) | 0;
|
895
907
|
g3 = t3[70] | 0;
|
@@ -909,10 +921,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
909
921
|
}
|
910
922
|
if ((C3 | 0) == 35) {
|
911
923
|
t3[70] = e4 + 16;
|
912
|
-
e4 =
|
924
|
+
e4 = w3(1) | 0;
|
913
925
|
if (e4 << 16 >> 16 == 42) {
|
914
926
|
t3[70] = (t3[70] | 0) + 2;
|
915
|
-
e4 =
|
927
|
+
e4 = w3(1) | 0;
|
916
928
|
}
|
917
929
|
C3 = t3[70] | 0;
|
918
930
|
q(e4) | 0;
|
@@ -927,7 +939,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
927
939
|
r:
|
928
940
|
while (1) {
|
929
941
|
t3[70] = e4 + 2;
|
930
|
-
g3 =
|
942
|
+
g3 = w3(1) | 0;
|
931
943
|
e4 = t3[70] | 0;
|
932
944
|
switch ((q(g3) | 0) << 16 >> 16) {
|
933
945
|
case 91:
|
@@ -940,7 +952,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
940
952
|
if ((a4 | 0) == (e4 | 0))
|
941
953
|
break e;
|
942
954
|
$2(e4, a4, e4, a4);
|
943
|
-
if ((
|
955
|
+
if ((w3(1) | 0) << 16 >> 16 != 44)
|
944
956
|
break;
|
945
957
|
e4 = t3[70] | 0;
|
946
958
|
}
|
@@ -949,11 +961,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
949
961
|
}
|
950
962
|
}
|
951
963
|
} while (0);
|
952
|
-
g3 = (
|
964
|
+
g3 = (w3(1) | 0) << 16 >> 16 == 102;
|
953
965
|
e4 = t3[70] | 0;
|
954
966
|
if (g3 ? (m2(e4 + 2 | 0, 50, 6) | 0) == 0 : 0) {
|
955
967
|
t3[70] = e4 + 8;
|
956
|
-
|
968
|
+
u4(l5, w3(1) | 0);
|
957
969
|
e4 = (k5 | 0) == 0 ? 232 : k5 + 16 | 0;
|
958
970
|
while (1) {
|
959
971
|
e4 = t3[e4 >> 2] | 0;
|
@@ -976,7 +988,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
976
988
|
t3[70] = e4;
|
977
989
|
e:
|
978
990
|
do {
|
979
|
-
switch ((
|
991
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
980
992
|
case 40: {
|
981
993
|
a4 = t3[68] | 0;
|
982
994
|
n4 = s3[396] | 0;
|
@@ -987,7 +999,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
987
999
|
t3[a4 + (r4 << 3) + 4 >> 2] = e4;
|
988
1000
|
if ((s3[t3[67] >> 1] | 0) != 46) {
|
989
1001
|
t3[70] = e4 + 2;
|
990
|
-
n4 =
|
1002
|
+
n4 = w3(1) | 0;
|
991
1003
|
A2(f4, t3[70] | 0, 0, e4);
|
992
1004
|
a4 = t3[61] | 0;
|
993
1005
|
r4 = t3[69] | 0;
|
@@ -1010,10 +1022,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1010
1022
|
}
|
1011
1023
|
e4 = (t3[70] | 0) + 2 | 0;
|
1012
1024
|
t3[70] = e4;
|
1013
|
-
switch ((
|
1025
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1014
1026
|
case 44: {
|
1015
1027
|
t3[70] = (t3[70] | 0) + 2;
|
1016
|
-
|
1028
|
+
w3(1) | 0;
|
1017
1029
|
f4 = t3[61] | 0;
|
1018
1030
|
t3[f4 + 4 >> 2] = e4;
|
1019
1031
|
n4 = t3[70] | 0;
|
@@ -1041,7 +1053,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1041
1053
|
}
|
1042
1054
|
case 46: {
|
1043
1055
|
t3[70] = (t3[70] | 0) + 2;
|
1044
|
-
if ((
|
1056
|
+
if ((w3(1) | 0) << 16 >> 16 == 109 ? (a4 = t3[70] | 0, (m2(a4 + 2 | 0, 44, 6) | 0) == 0) : 0) {
|
1045
1057
|
e4 = t3[67] | 0;
|
1046
1058
|
if (!(G(e4) | 0) ? (s3[e4 >> 1] | 0) == 46 : 0)
|
1047
1059
|
break e;
|
@@ -1064,7 +1076,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1064
1076
|
while (1) {
|
1065
1077
|
if (e4 >>> 0 >= (t3[71] | 0) >>> 0)
|
1066
1078
|
break;
|
1067
|
-
e4 =
|
1079
|
+
e4 = w3(1) | 0;
|
1068
1080
|
if (!(W(e4) | 0)) {
|
1069
1081
|
if (e4 << 16 >> 16 == 125) {
|
1070
1082
|
c4 = 33;
|
@@ -1077,16 +1089,16 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1077
1089
|
}
|
1078
1090
|
if ((c4 | 0) == 33)
|
1079
1091
|
t3[70] = (t3[70] | 0) + 2;
|
1080
|
-
n4 = (
|
1092
|
+
n4 = (w3(1) | 0) << 16 >> 16 == 102;
|
1081
1093
|
e4 = t3[70] | 0;
|
1082
1094
|
if (n4 ? m2(e4 + 2 | 0, 50, 6) | 0 : 0) {
|
1083
1095
|
T2();
|
1084
1096
|
break e;
|
1085
1097
|
}
|
1086
1098
|
t3[70] = e4 + 8;
|
1087
|
-
e4 =
|
1099
|
+
e4 = w3(1) | 0;
|
1088
1100
|
if (W(e4) | 0) {
|
1089
|
-
|
1101
|
+
u4(f4, e4);
|
1090
1102
|
break e;
|
1091
1103
|
} else {
|
1092
1104
|
T2();
|
@@ -1123,7 +1135,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1123
1135
|
a4 = n4;
|
1124
1136
|
}
|
1125
1137
|
if ((c4 | 0) == 23) {
|
1126
|
-
|
1138
|
+
u4(f4, r4);
|
1127
1139
|
break;
|
1128
1140
|
} else if ((c4 | 0) == 25) {
|
1129
1141
|
T2();
|
@@ -1133,7 +1145,130 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1133
1145
|
} while (0);
|
1134
1146
|
return;
|
1135
1147
|
}
|
1136
|
-
function u4(e4) {
|
1148
|
+
function u4(e4, a4) {
|
1149
|
+
e4 = e4 | 0;
|
1150
|
+
a4 = a4 | 0;
|
1151
|
+
var r4 = 0, i4 = 0;
|
1152
|
+
r4 = (t3[70] | 0) + 2 | 0;
|
1153
|
+
switch (a4 << 16 >> 16) {
|
1154
|
+
case 39: {
|
1155
|
+
d3(39);
|
1156
|
+
i4 = 5;
|
1157
|
+
break;
|
1158
|
+
}
|
1159
|
+
case 34: {
|
1160
|
+
d3(34);
|
1161
|
+
i4 = 5;
|
1162
|
+
break;
|
1163
|
+
}
|
1164
|
+
default:
|
1165
|
+
T2();
|
1166
|
+
}
|
1167
|
+
do {
|
1168
|
+
if ((i4 | 0) == 5) {
|
1169
|
+
A2(e4, r4, t3[70] | 0, 1);
|
1170
|
+
t3[70] = (t3[70] | 0) + 2;
|
1171
|
+
a4 = w3(0) | 0;
|
1172
|
+
e4 = a4 << 16 >> 16 == 97;
|
1173
|
+
if (e4) {
|
1174
|
+
r4 = t3[70] | 0;
|
1175
|
+
if (m2(r4 + 2 | 0, 78, 10) | 0)
|
1176
|
+
i4 = 11;
|
1177
|
+
} else {
|
1178
|
+
r4 = t3[70] | 0;
|
1179
|
+
if (!(((a4 << 16 >> 16 == 119 ? (s3[r4 + 2 >> 1] | 0) == 105 : 0) ? (s3[r4 + 4 >> 1] | 0) == 116 : 0) ? (s3[r4 + 6 >> 1] | 0) == 104 : 0))
|
1180
|
+
i4 = 11;
|
1181
|
+
}
|
1182
|
+
if ((i4 | 0) == 11) {
|
1183
|
+
t3[70] = r4 + -2;
|
1184
|
+
break;
|
1185
|
+
}
|
1186
|
+
t3[70] = r4 + ((e4 ? 6 : 4) << 1);
|
1187
|
+
if ((w3(1) | 0) << 16 >> 16 != 123) {
|
1188
|
+
t3[70] = r4;
|
1189
|
+
break;
|
1190
|
+
}
|
1191
|
+
e4 = t3[70] | 0;
|
1192
|
+
a4 = e4;
|
1193
|
+
e:
|
1194
|
+
while (1) {
|
1195
|
+
t3[70] = a4 + 2;
|
1196
|
+
a4 = w3(1) | 0;
|
1197
|
+
switch (a4 << 16 >> 16) {
|
1198
|
+
case 39: {
|
1199
|
+
d3(39);
|
1200
|
+
t3[70] = (t3[70] | 0) + 2;
|
1201
|
+
a4 = w3(1) | 0;
|
1202
|
+
break;
|
1203
|
+
}
|
1204
|
+
case 34: {
|
1205
|
+
d3(34);
|
1206
|
+
t3[70] = (t3[70] | 0) + 2;
|
1207
|
+
a4 = w3(1) | 0;
|
1208
|
+
break;
|
1209
|
+
}
|
1210
|
+
default:
|
1211
|
+
a4 = q(a4) | 0;
|
1212
|
+
}
|
1213
|
+
if (a4 << 16 >> 16 != 58) {
|
1214
|
+
i4 = 20;
|
1215
|
+
break;
|
1216
|
+
}
|
1217
|
+
t3[70] = (t3[70] | 0) + 2;
|
1218
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1219
|
+
case 39: {
|
1220
|
+
d3(39);
|
1221
|
+
break;
|
1222
|
+
}
|
1223
|
+
case 34: {
|
1224
|
+
d3(34);
|
1225
|
+
break;
|
1226
|
+
}
|
1227
|
+
default: {
|
1228
|
+
i4 = 24;
|
1229
|
+
break e;
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
t3[70] = (t3[70] | 0) + 2;
|
1233
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1234
|
+
case 125: {
|
1235
|
+
i4 = 29;
|
1236
|
+
break e;
|
1237
|
+
}
|
1238
|
+
case 44:
|
1239
|
+
break;
|
1240
|
+
default: {
|
1241
|
+
i4 = 28;
|
1242
|
+
break e;
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
t3[70] = (t3[70] | 0) + 2;
|
1246
|
+
if ((w3(1) | 0) << 16 >> 16 == 125) {
|
1247
|
+
i4 = 29;
|
1248
|
+
break;
|
1249
|
+
}
|
1250
|
+
a4 = t3[70] | 0;
|
1251
|
+
}
|
1252
|
+
if ((i4 | 0) == 20) {
|
1253
|
+
t3[70] = r4;
|
1254
|
+
break;
|
1255
|
+
} else if ((i4 | 0) == 24) {
|
1256
|
+
t3[70] = r4;
|
1257
|
+
break;
|
1258
|
+
} else if ((i4 | 0) == 28) {
|
1259
|
+
t3[70] = r4;
|
1260
|
+
break;
|
1261
|
+
} else if ((i4 | 0) == 29) {
|
1262
|
+
i4 = t3[61] | 0;
|
1263
|
+
t3[i4 + 16 >> 2] = e4;
|
1264
|
+
t3[i4 + 12 >> 2] = (t3[70] | 0) + 2;
|
1265
|
+
break;
|
1266
|
+
}
|
1267
|
+
}
|
1268
|
+
} while (0);
|
1269
|
+
return;
|
1270
|
+
}
|
1271
|
+
function o3(e4) {
|
1137
1272
|
e4 = e4 | 0;
|
1138
1273
|
e:
|
1139
1274
|
do {
|
@@ -1158,11 +1293,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1158
1293
|
case 115:
|
1159
1294
|
switch (s3[e4 + -4 >> 1] | 0) {
|
1160
1295
|
case 108: {
|
1161
|
-
e4 =
|
1296
|
+
e4 = B2(e4 + -6 | 0, 101) | 0;
|
1162
1297
|
break e;
|
1163
1298
|
}
|
1164
1299
|
case 97: {
|
1165
|
-
e4 =
|
1300
|
+
e4 = B2(e4 + -6 | 0, 99) | 0;
|
1166
1301
|
break e;
|
1167
1302
|
}
|
1168
1303
|
default: {
|
@@ -1209,14 +1344,14 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1209
1344
|
}
|
1210
1345
|
case 110: {
|
1211
1346
|
e4 = e4 + -2 | 0;
|
1212
|
-
if (
|
1347
|
+
if (B2(e4, 105) | 0)
|
1213
1348
|
e4 = 1;
|
1214
1349
|
else
|
1215
1350
|
e4 = O(e4, 142, 5) | 0;
|
1216
1351
|
break;
|
1217
1352
|
}
|
1218
1353
|
case 111: {
|
1219
|
-
e4 =
|
1354
|
+
e4 = B2(e4 + -2 | 0, 100) | 0;
|
1220
1355
|
break;
|
1221
1356
|
}
|
1222
1357
|
case 114: {
|
@@ -1230,7 +1365,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1230
1365
|
case 119:
|
1231
1366
|
switch (s3[e4 + -2 >> 1] | 0) {
|
1232
1367
|
case 101: {
|
1233
|
-
e4 =
|
1368
|
+
e4 = B2(e4 + -4 | 0, 110) | 0;
|
1234
1369
|
break e;
|
1235
1370
|
}
|
1236
1371
|
case 111: {
|
@@ -1248,119 +1383,6 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1248
1383
|
} while (0);
|
1249
1384
|
return e4 | 0;
|
1250
1385
|
}
|
1251
|
-
function o3(e4, a4) {
|
1252
|
-
e4 = e4 | 0;
|
1253
|
-
a4 = a4 | 0;
|
1254
|
-
var r4 = 0, i4 = 0;
|
1255
|
-
r4 = (t3[70] | 0) + 2 | 0;
|
1256
|
-
switch (a4 << 16 >> 16) {
|
1257
|
-
case 39: {
|
1258
|
-
d3(39);
|
1259
|
-
i4 = 5;
|
1260
|
-
break;
|
1261
|
-
}
|
1262
|
-
case 34: {
|
1263
|
-
d3(34);
|
1264
|
-
i4 = 5;
|
1265
|
-
break;
|
1266
|
-
}
|
1267
|
-
default:
|
1268
|
-
T2();
|
1269
|
-
}
|
1270
|
-
do {
|
1271
|
-
if ((i4 | 0) == 5) {
|
1272
|
-
A2(e4, r4, t3[70] | 0, 1);
|
1273
|
-
t3[70] = (t3[70] | 0) + 2;
|
1274
|
-
i4 = (w2(0) | 0) << 16 >> 16 == 97;
|
1275
|
-
a4 = t3[70] | 0;
|
1276
|
-
if (i4 ? (m2(a4 + 2 | 0, 78, 10) | 0) == 0 : 0) {
|
1277
|
-
t3[70] = a4 + 12;
|
1278
|
-
if ((w2(1) | 0) << 16 >> 16 != 123) {
|
1279
|
-
t3[70] = a4;
|
1280
|
-
break;
|
1281
|
-
}
|
1282
|
-
e4 = t3[70] | 0;
|
1283
|
-
r4 = e4;
|
1284
|
-
e:
|
1285
|
-
while (1) {
|
1286
|
-
t3[70] = r4 + 2;
|
1287
|
-
r4 = w2(1) | 0;
|
1288
|
-
switch (r4 << 16 >> 16) {
|
1289
|
-
case 39: {
|
1290
|
-
d3(39);
|
1291
|
-
t3[70] = (t3[70] | 0) + 2;
|
1292
|
-
r4 = w2(1) | 0;
|
1293
|
-
break;
|
1294
|
-
}
|
1295
|
-
case 34: {
|
1296
|
-
d3(34);
|
1297
|
-
t3[70] = (t3[70] | 0) + 2;
|
1298
|
-
r4 = w2(1) | 0;
|
1299
|
-
break;
|
1300
|
-
}
|
1301
|
-
default:
|
1302
|
-
r4 = q(r4) | 0;
|
1303
|
-
}
|
1304
|
-
if (r4 << 16 >> 16 != 58) {
|
1305
|
-
i4 = 16;
|
1306
|
-
break;
|
1307
|
-
}
|
1308
|
-
t3[70] = (t3[70] | 0) + 2;
|
1309
|
-
switch ((w2(1) | 0) << 16 >> 16) {
|
1310
|
-
case 39: {
|
1311
|
-
d3(39);
|
1312
|
-
break;
|
1313
|
-
}
|
1314
|
-
case 34: {
|
1315
|
-
d3(34);
|
1316
|
-
break;
|
1317
|
-
}
|
1318
|
-
default: {
|
1319
|
-
i4 = 20;
|
1320
|
-
break e;
|
1321
|
-
}
|
1322
|
-
}
|
1323
|
-
t3[70] = (t3[70] | 0) + 2;
|
1324
|
-
switch ((w2(1) | 0) << 16 >> 16) {
|
1325
|
-
case 125: {
|
1326
|
-
i4 = 25;
|
1327
|
-
break e;
|
1328
|
-
}
|
1329
|
-
case 44:
|
1330
|
-
break;
|
1331
|
-
default: {
|
1332
|
-
i4 = 24;
|
1333
|
-
break e;
|
1334
|
-
}
|
1335
|
-
}
|
1336
|
-
t3[70] = (t3[70] | 0) + 2;
|
1337
|
-
if ((w2(1) | 0) << 16 >> 16 == 125) {
|
1338
|
-
i4 = 25;
|
1339
|
-
break;
|
1340
|
-
}
|
1341
|
-
r4 = t3[70] | 0;
|
1342
|
-
}
|
1343
|
-
if ((i4 | 0) == 16) {
|
1344
|
-
t3[70] = a4;
|
1345
|
-
break;
|
1346
|
-
} else if ((i4 | 0) == 20) {
|
1347
|
-
t3[70] = a4;
|
1348
|
-
break;
|
1349
|
-
} else if ((i4 | 0) == 24) {
|
1350
|
-
t3[70] = a4;
|
1351
|
-
break;
|
1352
|
-
} else if ((i4 | 0) == 25) {
|
1353
|
-
i4 = t3[61] | 0;
|
1354
|
-
t3[i4 + 16 >> 2] = e4;
|
1355
|
-
t3[i4 + 12 >> 2] = (t3[70] | 0) + 2;
|
1356
|
-
break;
|
1357
|
-
}
|
1358
|
-
}
|
1359
|
-
t3[70] = a4 + -2;
|
1360
|
-
}
|
1361
|
-
} while (0);
|
1362
|
-
return;
|
1363
|
-
}
|
1364
1386
|
function h3() {
|
1365
1387
|
var e4 = 0, a4 = 0, r4 = 0, i4 = 0;
|
1366
1388
|
a4 = t3[71] | 0;
|
@@ -1415,7 +1437,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1415
1437
|
}
|
1416
1438
|
return;
|
1417
1439
|
}
|
1418
|
-
function
|
1440
|
+
function w3(e4) {
|
1419
1441
|
e4 = e4 | 0;
|
1420
1442
|
var a4 = 0, r4 = 0, i4 = 0;
|
1421
1443
|
r4 = t3[70] | 0;
|
@@ -1479,7 +1501,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1479
1501
|
a4 = (s3[a4 >> 1] | 0) == 10 ? a4 : r4;
|
1480
1502
|
} else
|
1481
1503
|
a4 = r4;
|
1482
|
-
} else if (
|
1504
|
+
} else if (Z(r4) | 0) {
|
1483
1505
|
a4 = 9;
|
1484
1506
|
break;
|
1485
1507
|
} else
|
@@ -1503,7 +1525,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1503
1525
|
f4 = f4 ? 0 : a4;
|
1504
1526
|
if (i4 << 16 >> 16 == 97) {
|
1505
1527
|
t3[70] = r4 + 4;
|
1506
|
-
r4 =
|
1528
|
+
r4 = w3(1) | 0;
|
1507
1529
|
e4 = t3[70] | 0;
|
1508
1530
|
if (W(r4) | 0) {
|
1509
1531
|
d3(r4);
|
@@ -1513,7 +1535,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1513
1535
|
q(r4) | 0;
|
1514
1536
|
a4 = t3[70] | 0;
|
1515
1537
|
}
|
1516
|
-
i4 =
|
1538
|
+
i4 = w3(1) | 0;
|
1517
1539
|
r4 = t3[70] | 0;
|
1518
1540
|
}
|
1519
1541
|
if ((r4 | 0) != (e4 | 0))
|
@@ -1661,7 +1683,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1661
1683
|
if (c4 >>> 0 >= r4 >>> 0)
|
1662
1684
|
break;
|
1663
1685
|
i4 = s3[a4 >> 1] | 0;
|
1664
|
-
if (!e4 ?
|
1686
|
+
if (!e4 ? Z(i4) | 0 : 0)
|
1665
1687
|
break;
|
1666
1688
|
if (i4 << 16 >> 16 == 42 ? (s3[c4 + 4 >> 1] | 0) == 47 : 0) {
|
1667
1689
|
f4 = 8;
|
@@ -1843,7 +1865,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1843
1865
|
t3[s4 + 16 >> 2] = 0;
|
1844
1866
|
return;
|
1845
1867
|
}
|
1846
|
-
function
|
1868
|
+
function j2(e4) {
|
1847
1869
|
e4 = e4 | 0;
|
1848
1870
|
switch (s3[e4 >> 1] | 0) {
|
1849
1871
|
case 107: {
|
@@ -1862,7 +1884,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1862
1884
|
}
|
1863
1885
|
return e4 | 0;
|
1864
1886
|
}
|
1865
|
-
function
|
1887
|
+
function B2(e4, a4) {
|
1866
1888
|
e4 = e4 | 0;
|
1867
1889
|
a4 = a4 | 0;
|
1868
1890
|
var r4 = 0;
|
@@ -2009,7 +2031,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2009
2031
|
e4 = e4 - (t3[3] | 0) >> 1;
|
2010
2032
|
return e4 | 0;
|
2011
2033
|
}
|
2012
|
-
function
|
2034
|
+
function L2() {
|
2013
2035
|
var e4 = 0;
|
2014
2036
|
e4 = t3[(t3[60] | 0) + 8 >> 2] | 0;
|
2015
2037
|
if (!e4)
|
@@ -2070,7 +2092,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2070
2092
|
function Y() {
|
2071
2093
|
return (t3[(t3[60] | 0) + 4 >> 2] | 0) - (t3[3] | 0) >> 1 | 0;
|
2072
2094
|
}
|
2073
|
-
function
|
2095
|
+
function Z(e4) {
|
2074
2096
|
e4 = e4 | 0;
|
2075
2097
|
return e4 << 16 >> 16 == 13 | e4 << 16 >> 16 == 10 | 0;
|
2076
2098
|
}
|
@@ -2099,24 +2121,24 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2099
2121
|
n3 = e4 + 992 + 15 & -16;
|
2100
2122
|
return 992;
|
2101
2123
|
}
|
2102
|
-
return { su: te, ai: M2, e: se, ee: Y, ele: J, els:
|
2124
|
+
return { su: te, ai: M2, e: se, ee: Y, ele: J, els: L2, es: ee, f: ie, id: z2, ie: N2, ip: ae, is: _2, p: b2, re: R2, ri: Q, sa: S2, se: K, ses: re, ss: X };
|
2103
2125
|
}("undefined" != typeof self ? self : commonjsGlobal, {}, a2), r2 = e2.su(i2 - (2 << 17));
|
2104
2126
|
}
|
2105
2127
|
const h2 = c$1.length + 1;
|
2106
2128
|
e2.ses(r2), e2.sa(h2 - 1), s2(c$1, new Uint16Array(a2, r2, h2)), e2.p() || (n2 = e2.e(), o2());
|
2107
|
-
const
|
2129
|
+
const w2 = [], d2 = [];
|
2108
2130
|
for (; e2.ri(); ) {
|
2109
2131
|
const a3 = e2.is(), r3 = e2.ie(), i3 = e2.ai(), s3 = e2.id(), t3 = e2.ss(), f3 = e2.se();
|
2110
2132
|
let n3;
|
2111
|
-
e2.ip() && (n3 =
|
2133
|
+
e2.ip() && (n3 = b(-1 === s3 ? a3 : a3 + 1, c$1.charCodeAt(-1 === s3 ? a3 - 1 : a3))), w2.push({ n: n3, s: a3, e: r3, ss: t3, se: f3, d: s3, a: i3 });
|
2112
2134
|
}
|
2113
2135
|
for (; e2.re(); ) {
|
2114
2136
|
const a3 = e2.es(), r3 = e2.ee(), i3 = e2.els(), s3 = e2.ele(), t3 = c$1.charCodeAt(a3), f3 = i3 >= 0 ? c$1.charCodeAt(i3) : -1;
|
2115
|
-
d2.push({ s: a3, e: r3, ls: i3, le: s3, n: 34 === t3 || 39 === t3 ?
|
2137
|
+
d2.push({ s: a3, e: r3, ls: i3, le: s3, n: 34 === t3 || 39 === t3 ? b(a3 + 1, t3) : c$1.slice(a3, r3), ln: i3 < 0 ? void 0 : 34 === f3 || 39 === f3 ? b(i3 + 1, f3) : c$1.slice(i3, s3) });
|
2116
2138
|
}
|
2117
|
-
return [
|
2139
|
+
return [w2, d2, !!e2.f()];
|
2118
2140
|
}
|
2119
|
-
function
|
2141
|
+
function b(e3, a3) {
|
2120
2142
|
n2 = e3;
|
2121
2143
|
let r3 = "", i3 = n2;
|
2122
2144
|
for (; ; ) {
|
@@ -2139,9 +2161,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2139
2161
|
return String.fromCharCode(k2(2));
|
2140
2162
|
case 117:
|
2141
2163
|
return function() {
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2164
|
+
const e4 = c$1.charCodeAt(n2);
|
2165
|
+
let a3;
|
2166
|
+
123 === e4 ? (++n2, a3 = k2(c$1.indexOf("}", n2) - n2), ++n2, a3 > 1114111 && o2()) : a3 = k2(4);
|
2167
|
+
return a3 <= 65535 ? String.fromCharCode(a3) : (a3 -= 65536, String.fromCharCode(55296 + (a3 >> 10), 56320 + (1023 & a3)));
|
2145
2168
|
}();
|
2146
2169
|
case 116:
|
2147
2170
|
return " ";
|
@@ -2260,11 +2283,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2260
2283
|
let importMap = { imports: {}, scopes: {} };
|
2261
2284
|
let baselinePassthrough;
|
2262
2285
|
const initPromise = featureDetectionPromise.then(() => {
|
2263
|
-
baselinePassthrough = esmsInitOptions.polyfillEnable !== true && supportsDynamicImport && supportsImportMeta && supportsImportMaps && (!jsonModulesEnabled || supportsJsonAssertions) && (!cssModulesEnabled || supportsCssAssertions) && !importMapSrcOrLazy
|
2286
|
+
baselinePassthrough = esmsInitOptions.polyfillEnable !== true && supportsDynamicImport && supportsImportMeta && supportsImportMaps && (!jsonModulesEnabled || supportsJsonAssertions) && (!cssModulesEnabled || supportsCssAssertions) && !importMapSrcOrLazy;
|
2264
2287
|
if (hasDocument) {
|
2265
2288
|
if (!supportsImportMaps) {
|
2266
|
-
const
|
2267
|
-
HTMLScriptElement.supports = (type) => type === "importmap" ||
|
2289
|
+
const supports2 = HTMLScriptElement.supports || ((type) => type === "classic" || type === "module");
|
2290
|
+
HTMLScriptElement.supports = (type) => type === "importmap" || supports2(type);
|
2268
2291
|
}
|
2269
2292
|
if (shimMode || !baselinePassthrough) {
|
2270
2293
|
new MutationObserver((mutations) => {
|
@@ -2323,7 +2346,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2323
2346
|
lastLoad = void 0;
|
2324
2347
|
resolveDeps(load, seen2);
|
2325
2348
|
await lastStaticLoadPromise2;
|
2326
|
-
if (source && !shimMode && !load.n
|
2349
|
+
if (source && !shimMode && !load.n) {
|
2327
2350
|
if (nativelyLoaded)
|
2328
2351
|
return;
|
2329
2352
|
if (revokeBlobURLs)
|
@@ -2541,8 +2564,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2541
2564
|
load.n = true;
|
2542
2565
|
if (d2 !== -1 || !n3)
|
2543
2566
|
return;
|
2544
|
-
const { r: r3, b:
|
2545
|
-
if (
|
2567
|
+
const { r: r3, b: b2 } = await resolve(n3, load.r || load.u);
|
2568
|
+
if (b2 && (!supportsImportMaps || importMapSrcOrLazy))
|
2546
2569
|
load.n = true;
|
2547
2570
|
if (d2 !== -1)
|
2548
2571
|
return;
|
@@ -2582,8 +2605,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2582
2605
|
let lastStaticLoadPromise = Promise.resolve();
|
2583
2606
|
let domContentLoadedCnt = 1;
|
2584
2607
|
function domContentLoadedCheck() {
|
2585
|
-
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough))
|
2608
|
+
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough)) {
|
2586
2609
|
document.dispatchEvent(new Event("DOMContentLoaded"));
|
2610
|
+
}
|
2587
2611
|
}
|
2588
2612
|
if (hasDocument) {
|
2589
2613
|
document.addEventListener("DOMContentLoaded", async () => {
|
@@ -2593,8 +2617,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2593
2617
|
}
|
2594
2618
|
let readyStateCompleteCnt = 1;
|
2595
2619
|
function readyStateCompleteCheck() {
|
2596
|
-
if (--readyStateCompleteCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough))
|
2620
|
+
if (--readyStateCompleteCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough)) {
|
2597
2621
|
document.dispatchEvent(new Event("readystatechange"));
|
2622
|
+
}
|
2598
2623
|
}
|
2599
2624
|
const hasNext = (script) => script.nextSibling || script.parentNode && hasNext(script.parentNode);
|
2600
2625
|
const epCheck = (script, ready) => script.ep || !ready && (!script.src && !script.innerHTML || !hasNext(script)) || script.getAttribute("noshim") !== null || !(script.ep = true);
|
@@ -2629,8 +2654,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2629
2654
|
if (isDomContentLoadedScript)
|
2630
2655
|
domContentLoadedCnt++;
|
2631
2656
|
const loadPromise = topLevelLoad(script.src || baseUrl, getFetchOpts(script), !script.src && script.innerHTML, !shimMode, isBlockingReadyScript && lastStaticLoadPromise).then(() => {
|
2632
|
-
if (shimMode)
|
2657
|
+
if (shimMode) {
|
2633
2658
|
script.dispatchEvent(new Event("load"));
|
2659
|
+
}
|
2634
2660
|
}).catch(throwError);
|
2635
2661
|
if (isBlockingReadyScript)
|
2636
2662
|
lastStaticLoadPromise = loadPromise.then(readyStateCompleteCheck);
|
@@ -2647,24 +2673,24 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2647
2673
|
fetchCache[link.href] = fetchModule(link.href, getFetchOpts(link));
|
2648
2674
|
}
|
2649
2675
|
})();
|
2650
|
-
var extendStatics = function(d2,
|
2651
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3,
|
2652
|
-
d3.__proto__ =
|
2653
|
-
} || function(d3,
|
2654
|
-
for (var p2 in
|
2655
|
-
if (Object.prototype.hasOwnProperty.call(
|
2656
|
-
d3[p2] =
|
2676
|
+
var extendStatics = function(d2, b) {
|
2677
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b2) {
|
2678
|
+
d3.__proto__ = b2;
|
2679
|
+
} || function(d3, b2) {
|
2680
|
+
for (var p2 in b2)
|
2681
|
+
if (Object.prototype.hasOwnProperty.call(b2, p2))
|
2682
|
+
d3[p2] = b2[p2];
|
2657
2683
|
};
|
2658
|
-
return extendStatics(d2,
|
2684
|
+
return extendStatics(d2, b);
|
2659
2685
|
};
|
2660
|
-
function __extends(d2,
|
2661
|
-
if (typeof
|
2662
|
-
throw new TypeError("Class extends value " + String(
|
2663
|
-
extendStatics(d2,
|
2686
|
+
function __extends(d2, b) {
|
2687
|
+
if (typeof b !== "function" && b !== null)
|
2688
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
2689
|
+
extendStatics(d2, b);
|
2664
2690
|
function __() {
|
2665
2691
|
this.constructor = d2;
|
2666
2692
|
}
|
2667
|
-
d2.prototype =
|
2693
|
+
d2.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
2668
2694
|
}
|
2669
2695
|
function __awaiter(thisArg, _arguments, P2, generator) {
|
2670
2696
|
function adopt(value) {
|
@@ -2828,8 +2854,8 @@ function __asyncGenerator(thisArg, _arguments, generator) {
|
|
2828
2854
|
function verb(n2) {
|
2829
2855
|
if (g2[n2])
|
2830
2856
|
i2[n2] = function(v2) {
|
2831
|
-
return new Promise(function(a2,
|
2832
|
-
q.push([n2, v2, a2,
|
2857
|
+
return new Promise(function(a2, b) {
|
2858
|
+
q.push([n2, v2, a2, b]) > 1 || resume(n2, v2);
|
2833
2859
|
});
|
2834
2860
|
};
|
2835
2861
|
}
|
@@ -4312,8 +4338,8 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
4312
4338
|
}
|
4313
4339
|
if (isFunction(resultSelector)) {
|
4314
4340
|
return mergeMap(function(a2, i2) {
|
4315
|
-
return map(function(
|
4316
|
-
return resultSelector(a2,
|
4341
|
+
return map(function(b, ii) {
|
4342
|
+
return resultSelector(a2, b, i2, ii);
|
4317
4343
|
})(innerFrom(project(a2, i2)));
|
4318
4344
|
}, concurrent);
|
4319
4345
|
} else if (typeof resultSelector === "number") {
|
@@ -4438,6 +4464,9 @@ function bufferTime(bufferTimeSpan) {
|
|
4438
4464
|
source.subscribe(bufferTimeSubscriber);
|
4439
4465
|
});
|
4440
4466
|
}
|
4467
|
+
function concatMap(project, resultSelector) {
|
4468
|
+
return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);
|
4469
|
+
}
|
4441
4470
|
function take(count) {
|
4442
4471
|
return count <= 0 ? function() {
|
4443
4472
|
return EMPTY;
|
@@ -4465,6 +4494,35 @@ function pairwise() {
|
|
4465
4494
|
}));
|
4466
4495
|
});
|
4467
4496
|
}
|
4497
|
+
function tap(observerOrNext, error2, complete) {
|
4498
|
+
var tapObserver = isFunction(observerOrNext) || error2 || complete ? { next: observerOrNext, error: error2, complete } : observerOrNext;
|
4499
|
+
return tapObserver ? operate(function(source, subscriber) {
|
4500
|
+
var _a2;
|
4501
|
+
(_a2 = tapObserver.subscribe) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver);
|
4502
|
+
var isUnsub = true;
|
4503
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
4504
|
+
var _a3;
|
4505
|
+
(_a3 = tapObserver.next) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, value);
|
4506
|
+
subscriber.next(value);
|
4507
|
+
}, function() {
|
4508
|
+
var _a3;
|
4509
|
+
isUnsub = false;
|
4510
|
+
(_a3 = tapObserver.complete) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
|
4511
|
+
subscriber.complete();
|
4512
|
+
}, function(err) {
|
4513
|
+
var _a3;
|
4514
|
+
isUnsub = false;
|
4515
|
+
(_a3 = tapObserver.error) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, err);
|
4516
|
+
subscriber.error(err);
|
4517
|
+
}, function() {
|
4518
|
+
var _a3, _b;
|
4519
|
+
if (isUnsub) {
|
4520
|
+
(_a3 = tapObserver.unsubscribe) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
|
4521
|
+
}
|
4522
|
+
(_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);
|
4523
|
+
}));
|
4524
|
+
}) : identity;
|
4525
|
+
}
|
4468
4526
|
const DEFAULT_LANGUAGE = "en";
|
4469
4527
|
const localizeText = (input, lang = DEFAULT_LANGUAGE) => {
|
4470
4528
|
if (typeof input === "string") {
|
@@ -4503,8 +4561,8 @@ const getElement = (document2, context, nth = 0) => {
|
|
4503
4561
|
function getElementBySelector(selector) {
|
4504
4562
|
return document.querySelector(selector);
|
4505
4563
|
}
|
4506
|
-
const unfocus = (element,
|
4507
|
-
const originalStyle =
|
4564
|
+
const unfocus = (element, mapping) => {
|
4565
|
+
const originalStyle = mapping.get(element);
|
4508
4566
|
if (originalStyle) {
|
4509
4567
|
const { css, rest, subscription } = originalStyle;
|
4510
4568
|
rest.forEach((el) => {
|
@@ -4516,53 +4574,70 @@ const unfocus = (element, map2) => {
|
|
4516
4574
|
Object.assign(el.style, css[idx]);
|
4517
4575
|
});
|
4518
4576
|
}
|
4519
|
-
|
4577
|
+
mapping.delete(element);
|
4520
4578
|
};
|
4579
|
+
const noUndefined = (input) => input !== void 0;
|
4521
4580
|
function focus(document2, obs$, mode$) {
|
4522
4581
|
const stylesMap = /* @__PURE__ */ new Map();
|
4523
4582
|
const getBySelector = getElementBySelector.bind(document2);
|
4524
|
-
const subscription = obs$.pipe(
|
4525
|
-
|
4526
|
-
|
4527
|
-
|
4528
|
-
if (
|
4529
|
-
|
4530
|
-
|
4583
|
+
const subscription = obs$.pipe(
|
4584
|
+
pairwise(),
|
4585
|
+
tap(([current]) => {
|
4586
|
+
var _a2;
|
4587
|
+
if (current !== void 0) {
|
4588
|
+
const prev = getElement(document2, current);
|
4589
|
+
if (prev !== null) {
|
4590
|
+
(_a2 = prev.__unfocus_handler) == null ? void 0 : _a2.call(prev);
|
4591
|
+
unfocus(prev, stylesMap);
|
4592
|
+
}
|
4531
4593
|
}
|
4532
|
-
}
|
4533
|
-
|
4594
|
+
}),
|
4595
|
+
map(([, next]) => next),
|
4596
|
+
filter(noUndefined),
|
4597
|
+
map((next) => {
|
4534
4598
|
const [first, ...rest] = next.selectors;
|
4535
4599
|
const otherElements = rest.reduce((arr, selector) => {
|
4536
|
-
var
|
4600
|
+
var _a2;
|
4537
4601
|
const el = getBySelector(selector);
|
4538
4602
|
if (el) {
|
4539
4603
|
arr.push(el);
|
4540
|
-
(
|
4604
|
+
const result = (_a2 = el.__focus_handler) == null ? void 0 : _a2.call(el);
|
4605
|
+
if (result && "then" in result) {
|
4606
|
+
result.catch(noop);
|
4607
|
+
}
|
4541
4608
|
}
|
4542
4609
|
return arr;
|
4543
4610
|
}, []);
|
4544
|
-
|
4545
|
-
|
4546
|
-
|
4547
|
-
|
4548
|
-
|
4549
|
-
|
4550
|
-
|
4551
|
-
|
4552
|
-
|
4553
|
-
|
4554
|
-
|
4555
|
-
|
4556
|
-
|
4557
|
-
|
4558
|
-
|
4559
|
-
|
4560
|
-
|
4561
|
-
|
4562
|
-
|
4563
|
-
|
4564
|
-
|
4565
|
-
|
4611
|
+
return { first, next, otherElements };
|
4612
|
+
}),
|
4613
|
+
map((next) => ({ ...next, firstElement: getBySelector(next.first) })),
|
4614
|
+
filter((next) => next.firstElement !== null),
|
4615
|
+
map((next) => {
|
4616
|
+
var _a2, _b;
|
4617
|
+
return { ...next, focus: (_b = (_a2 = next.firstElement).__focus_handler) == null ? void 0 : _b.call(_a2) };
|
4618
|
+
}),
|
4619
|
+
concatMap(({ focus: focusPromise, ...rest }) => {
|
4620
|
+
const promise = focusPromise && "then" in focusPromise ? focusPromise : Promise.resolve(focusPromise != null ? focusPromise : rest.firstElement);
|
4621
|
+
return promise.then((focusElement) => ({ focus: focusElement, ...rest })).catch(() => ({ focus: void 0, ...rest }));
|
4622
|
+
})
|
4623
|
+
).subscribe(({ otherElements, next, firstElement, focus: focusContext }) => {
|
4624
|
+
const cssKeys = Object.keys(next.style);
|
4625
|
+
const stylePendingChanges = new Subscription();
|
4626
|
+
const elementToFocus = toArray$1(focusContext != null ? focusContext : firstElement).filter(Boolean);
|
4627
|
+
const initialStyles = { css: [], elementToFocus, rest: otherElements, subscription: stylePendingChanges };
|
4628
|
+
const styles = cssKeys.reduce((acc, key) => {
|
4629
|
+
elementToFocus.forEach((el, idx) => {
|
4630
|
+
var _a2;
|
4631
|
+
acc.css[idx] = Object.assign((_a2 = acc.css[idx]) != null ? _a2 : {}, { [key]: el.style[key] });
|
4632
|
+
});
|
4633
|
+
return acc;
|
4634
|
+
}, initialStyles);
|
4635
|
+
stylePendingChanges.add(mode$.pipe(filter((val) => val === "select"), take(1)).subscribe(() => {
|
4636
|
+
elementToFocus.forEach((el) => {
|
4637
|
+
Object.assign(el.style, next.style);
|
4638
|
+
});
|
4639
|
+
}));
|
4640
|
+
stylesMap.set(firstElement, styles);
|
4566
4641
|
});
|
4567
4642
|
return () => subscription.unsubscribe();
|
4568
4643
|
}
|
@@ -4704,6 +4779,7 @@ const keys = {
|
|
4704
4779
|
"new-configuration": 0,
|
4705
4780
|
notification: 0,
|
4706
4781
|
options: 0,
|
4782
|
+
"request-resource": 0,
|
4707
4783
|
"tag-info": 0,
|
4708
4784
|
update: 0,
|
4709
4785
|
updated: 0
|
@@ -4796,86 +4872,83 @@ class PostChannel {
|
|
4796
4872
|
}
|
4797
4873
|
}
|
4798
4874
|
var t;
|
4799
|
-
const i = window, s = i.trustedTypes, e = s ? s.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o = `lit$${(Math.random() + "").slice(9)}$`,
|
4800
|
-
\f\r](?:(
|
4801
|
-
|
4802
|
-
|
4803
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), m = /'/g, p = /"/g, $ = /^(?:script|style|textarea|title)$/i, g = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), y = g(1), x = Symbol.for("lit-noChange"), b = Symbol.for("lit-nothing"), T = /* @__PURE__ */ new WeakMap(), A = h.createTreeWalker(h, 129, null, false), E = (t2, i2) => {
|
4804
|
-
const s2 = t2.length - 1, n2 = [];
|
4805
|
-
let h2, r2 = 2 === i2 ? "<svg>" : "", d2 = v;
|
4875
|
+
const i = window, s = i.trustedTypes, e = s ? s.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o = "$lit$", n = `lit$${(Math.random() + "").slice(9)}$`, l = "?" + n, h = `<${l}>`, r = document, d = () => r.createComment(""), u = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c = Array.isArray, v = (t2) => c(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^
|
4876
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, w = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = w(1), T = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), E = /* @__PURE__ */ new WeakMap(), C = r.createTreeWalker(r, 129, null, false), P = (t2, i2) => {
|
4877
|
+
const s2 = t2.length - 1, l2 = [];
|
4878
|
+
let r2, d2 = 2 === i2 ? "<svg>" : "", u2 = f;
|
4806
4879
|
for (let i3 = 0; i3 < s2; i3++) {
|
4807
4880
|
const s3 = t2[i3];
|
4808
|
-
let e2,
|
4809
|
-
for (;
|
4810
|
-
|
4811
|
-
const
|
4812
|
-
|
4881
|
+
let e2, c3, v2 = -1, a2 = 0;
|
4882
|
+
for (; a2 < s3.length && (u2.lastIndex = a2, c3 = u2.exec(s3), null !== c3); )
|
4883
|
+
a2 = u2.lastIndex, u2 === f ? "!--" === c3[1] ? u2 = _ : void 0 !== c3[1] ? u2 = m : void 0 !== c3[2] ? (y.test(c3[2]) && (r2 = RegExp("</" + c3[2], "g")), u2 = p) : void 0 !== c3[3] && (u2 = p) : u2 === p ? ">" === c3[0] ? (u2 = null != r2 ? r2 : f, v2 = -1) : void 0 === c3[1] ? v2 = -2 : (v2 = u2.lastIndex - c3[2].length, e2 = c3[1], u2 = void 0 === c3[3] ? p : '"' === c3[3] ? $ : g) : u2 === $ || u2 === g ? u2 = p : u2 === _ || u2 === m ? u2 = f : (u2 = p, r2 = void 0);
|
4884
|
+
const w2 = u2 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
|
4885
|
+
d2 += u2 === f ? s3 + h : v2 >= 0 ? (l2.push(e2), s3.slice(0, v2) + o + s3.slice(v2) + n + w2) : s3 + n + (-2 === v2 ? (l2.push(void 0), i3) : w2);
|
4813
4886
|
}
|
4814
|
-
const
|
4887
|
+
const c2 = d2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : "");
|
4815
4888
|
if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
|
4816
4889
|
throw Error("invalid template strings array");
|
4817
|
-
return [void 0 !== e ? e.createHTML(
|
4890
|
+
return [void 0 !== e ? e.createHTML(c2) : c2, l2];
|
4818
4891
|
};
|
4819
|
-
class
|
4892
|
+
class V {
|
4820
4893
|
constructor({ strings: t2, _$litType$: i2 }, e2) {
|
4821
|
-
let
|
4894
|
+
let h2;
|
4822
4895
|
this.parts = [];
|
4823
|
-
let
|
4824
|
-
const
|
4825
|
-
if (this.el =
|
4896
|
+
let r2 = 0, u2 = 0;
|
4897
|
+
const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = P(t2, i2);
|
4898
|
+
if (this.el = V.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
|
4826
4899
|
const t3 = this.el.content, i3 = t3.firstChild;
|
4827
4900
|
i3.remove(), t3.append(...i3.childNodes);
|
4828
4901
|
}
|
4829
|
-
for (; null !== (
|
4830
|
-
if (1 ===
|
4831
|
-
if (
|
4902
|
+
for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
|
4903
|
+
if (1 === h2.nodeType) {
|
4904
|
+
if (h2.hasAttributes()) {
|
4832
4905
|
const t3 = [];
|
4833
|
-
for (const i3 of
|
4834
|
-
if (i3.endsWith(
|
4835
|
-
const s2 =
|
4906
|
+
for (const i3 of h2.getAttributeNames())
|
4907
|
+
if (i3.endsWith(o) || i3.startsWith(n)) {
|
4908
|
+
const s2 = f2[u2++];
|
4836
4909
|
if (t3.push(i3), void 0 !== s2) {
|
4837
|
-
const t4 =
|
4838
|
-
|
4910
|
+
const t4 = h2.getAttribute(s2.toLowerCase() + o).split(n), i4 = /([.?@])?(.*)/.exec(s2);
|
4911
|
+
v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? k : "?" === i4[1] ? I : "@" === i4[1] ? L : R });
|
4839
4912
|
} else
|
4840
|
-
|
4913
|
+
v2.push({ type: 6, index: r2 });
|
4841
4914
|
}
|
4842
4915
|
for (const i3 of t3)
|
4843
|
-
|
4916
|
+
h2.removeAttribute(i3);
|
4844
4917
|
}
|
4845
|
-
if (
|
4846
|
-
const t3 =
|
4918
|
+
if (y.test(h2.tagName)) {
|
4919
|
+
const t3 = h2.textContent.split(n), i3 = t3.length - 1;
|
4847
4920
|
if (i3 > 0) {
|
4848
|
-
|
4921
|
+
h2.textContent = s ? s.emptyScript : "";
|
4849
4922
|
for (let s2 = 0; s2 < i3; s2++)
|
4850
|
-
|
4851
|
-
|
4923
|
+
h2.append(t3[s2], d()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
|
4924
|
+
h2.append(t3[i3], d());
|
4852
4925
|
}
|
4853
4926
|
}
|
4854
|
-
} else if (8 ===
|
4855
|
-
if (
|
4856
|
-
|
4927
|
+
} else if (8 === h2.nodeType)
|
4928
|
+
if (h2.data === l)
|
4929
|
+
v2.push({ type: 2, index: r2 });
|
4857
4930
|
else {
|
4858
4931
|
let t3 = -1;
|
4859
|
-
for (; -1 !== (t3 =
|
4860
|
-
|
4932
|
+
for (; -1 !== (t3 = h2.data.indexOf(n, t3 + 1)); )
|
4933
|
+
v2.push({ type: 7, index: r2 }), t3 += n.length - 1;
|
4861
4934
|
}
|
4862
|
-
|
4935
|
+
r2++;
|
4863
4936
|
}
|
4864
4937
|
}
|
4865
4938
|
static createElement(t2, i2) {
|
4866
|
-
const s2 =
|
4939
|
+
const s2 = r.createElement("template");
|
4867
4940
|
return s2.innerHTML = t2, s2;
|
4868
4941
|
}
|
4869
4942
|
}
|
4870
|
-
function
|
4943
|
+
function N(t2, i2, s2 = t2, e2) {
|
4871
4944
|
var o2, n2, l2, h2;
|
4872
|
-
if (i2 ===
|
4945
|
+
if (i2 === T)
|
4873
4946
|
return i2;
|
4874
4947
|
let r2 = void 0 !== e2 ? null === (o2 = s2._$Co) || void 0 === o2 ? void 0 : o2[e2] : s2._$Cl;
|
4875
|
-
const
|
4876
|
-
return (null == r2 ? void 0 : r2.constructor) !==
|
4948
|
+
const d2 = u(i2) ? void 0 : i2._$litDirective$;
|
4949
|
+
return (null == r2 ? void 0 : r2.constructor) !== d2 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === d2 ? r2 = void 0 : (r2 = new d2(t2), r2._$AT(t2, s2, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s2)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s2._$Cl = r2), void 0 !== r2 && (i2 = N(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
|
4877
4950
|
}
|
4878
|
-
class
|
4951
|
+
class S {
|
4879
4952
|
constructor(t2, i2) {
|
4880
4953
|
this.u = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
|
4881
4954
|
}
|
@@ -4887,15 +4960,15 @@ class V {
|
|
4887
4960
|
}
|
4888
4961
|
v(t2) {
|
4889
4962
|
var i2;
|
4890
|
-
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 :
|
4891
|
-
|
4892
|
-
let n2 =
|
4963
|
+
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : r).importNode(s2, true);
|
4964
|
+
C.currentNode = o2;
|
4965
|
+
let n2 = C.nextNode(), l2 = 0, h2 = 0, d2 = e2[0];
|
4893
4966
|
for (; void 0 !== d2; ) {
|
4894
4967
|
if (l2 === d2.index) {
|
4895
4968
|
let i3;
|
4896
|
-
2 === d2.type ? i3 = new
|
4969
|
+
2 === d2.type ? i3 = new M(n2, n2.nextSibling, this, t2) : 1 === d2.type ? i3 = new d2.ctor(n2, d2.name, d2.strings, this, t2) : 6 === d2.type && (i3 = new z(n2, this, t2)), this.u.push(i3), d2 = e2[++h2];
|
4897
4970
|
}
|
4898
|
-
l2 !== (null == d2 ? void 0 : d2.index) && (n2 =
|
4971
|
+
l2 !== (null == d2 ? void 0 : d2.index) && (n2 = C.nextNode(), l2++);
|
4899
4972
|
}
|
4900
4973
|
return o2;
|
4901
4974
|
}
|
@@ -4905,10 +4978,10 @@ class V {
|
|
4905
4978
|
void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
|
4906
4979
|
}
|
4907
4980
|
}
|
4908
|
-
class
|
4981
|
+
class M {
|
4909
4982
|
constructor(t2, i2, s2, e2) {
|
4910
4983
|
var o2;
|
4911
|
-
this.type = 2, this._$AH =
|
4984
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cm = null === (o2 = null == e2 ? void 0 : e2.isConnected) || void 0 === o2 || o2;
|
4912
4985
|
}
|
4913
4986
|
get _$AU() {
|
4914
4987
|
var t2, i2;
|
@@ -4917,7 +4990,7 @@ class N {
|
|
4917
4990
|
get parentNode() {
|
4918
4991
|
let t2 = this._$AA.parentNode;
|
4919
4992
|
const i2 = this._$AM;
|
4920
|
-
return void 0 !== i2 && 11 === t2.nodeType && (t2 = i2.parentNode), t2;
|
4993
|
+
return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
|
4921
4994
|
}
|
4922
4995
|
get startNode() {
|
4923
4996
|
return this._$AA;
|
@@ -4926,37 +4999,37 @@ class N {
|
|
4926
4999
|
return this._$AB;
|
4927
5000
|
}
|
4928
5001
|
_$AI(t2, i2 = this) {
|
4929
|
-
t2 =
|
5002
|
+
t2 = N(this, t2, i2), u(t2) ? t2 === A || null == t2 || "" === t2 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t2 !== this._$AH && t2 !== T && this.g(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : v(t2) ? this.k(t2) : this.g(t2);
|
4930
5003
|
}
|
4931
|
-
|
4932
|
-
return this._$AA.parentNode.insertBefore(t2,
|
5004
|
+
S(t2) {
|
5005
|
+
return this._$AA.parentNode.insertBefore(t2, this._$AB);
|
4933
5006
|
}
|
4934
5007
|
T(t2) {
|
4935
|
-
this._$AH !== t2 && (this._$AR(), this._$AH = this.
|
5008
|
+
this._$AH !== t2 && (this._$AR(), this._$AH = this.S(t2));
|
4936
5009
|
}
|
4937
5010
|
g(t2) {
|
4938
|
-
this._$AH !==
|
5011
|
+
this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r.createTextNode(t2)), this._$AH = t2;
|
4939
5012
|
}
|
4940
5013
|
$(t2) {
|
4941
5014
|
var i2;
|
4942
|
-
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el =
|
5015
|
+
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = V.createElement(e2.h, this.options)), e2);
|
4943
5016
|
if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o2)
|
4944
5017
|
this._$AH.p(s2);
|
4945
5018
|
else {
|
4946
|
-
const t3 = new
|
5019
|
+
const t3 = new S(o2, this), i3 = t3.v(this.options);
|
4947
5020
|
t3.p(s2), this.T(i3), this._$AH = t3;
|
4948
5021
|
}
|
4949
5022
|
}
|
4950
5023
|
_$AC(t2) {
|
4951
|
-
let i2 =
|
4952
|
-
return void 0 === i2 &&
|
5024
|
+
let i2 = E.get(t2.strings);
|
5025
|
+
return void 0 === i2 && E.set(t2.strings, i2 = new V(t2)), i2;
|
4953
5026
|
}
|
4954
5027
|
k(t2) {
|
4955
|
-
|
5028
|
+
c(this._$AH) || (this._$AH = [], this._$AR());
|
4956
5029
|
const i2 = this._$AH;
|
4957
5030
|
let s2, e2 = 0;
|
4958
5031
|
for (const o2 of t2)
|
4959
|
-
e2 === i2.length ? i2.push(s2 = new
|
5032
|
+
e2 === i2.length ? i2.push(s2 = new M(this.S(d()), this.S(d()), this, this.options)) : s2 = i2[e2], s2._$AI(o2), e2++;
|
4960
5033
|
e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
|
4961
5034
|
}
|
4962
5035
|
_$AR(t2 = this._$AA.nextSibling, i2) {
|
@@ -4971,9 +5044,9 @@ class N {
|
|
4971
5044
|
void 0 === this._$AM && (this._$Cm = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
|
4972
5045
|
}
|
4973
5046
|
}
|
4974
|
-
class
|
5047
|
+
class R {
|
4975
5048
|
constructor(t2, i2, s2, e2, o2) {
|
4976
|
-
this.type = 1, this._$AH =
|
5049
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = A;
|
4977
5050
|
}
|
4978
5051
|
get tagName() {
|
4979
5052
|
return this.element.tagName;
|
@@ -4985,45 +5058,45 @@ class S {
|
|
4985
5058
|
const o2 = this.strings;
|
4986
5059
|
let n2 = false;
|
4987
5060
|
if (void 0 === o2)
|
4988
|
-
t2 =
|
5061
|
+
t2 = N(this, t2, i2, 0), n2 = !u(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
|
4989
5062
|
else {
|
4990
5063
|
const e3 = t2;
|
4991
5064
|
let l2, h2;
|
4992
5065
|
for (t2 = o2[0], l2 = 0; l2 < o2.length - 1; l2++)
|
4993
|
-
h2 =
|
5066
|
+
h2 = N(this, e3[s2 + l2], i2, l2), h2 === T && (h2 = this._$AH[l2]), n2 || (n2 = !u(h2) || h2 !== this._$AH[l2]), h2 === A ? t2 = A : t2 !== A && (t2 += (null != h2 ? h2 : "") + o2[l2 + 1]), this._$AH[l2] = h2;
|
4994
5067
|
}
|
4995
5068
|
n2 && !e2 && this.j(t2);
|
4996
5069
|
}
|
4997
5070
|
j(t2) {
|
4998
|
-
t2 ===
|
5071
|
+
t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
|
4999
5072
|
}
|
5000
5073
|
}
|
5001
|
-
class
|
5074
|
+
class k extends R {
|
5002
5075
|
constructor() {
|
5003
5076
|
super(...arguments), this.type = 3;
|
5004
5077
|
}
|
5005
5078
|
j(t2) {
|
5006
|
-
this.element[this.name] = t2 ===
|
5079
|
+
this.element[this.name] = t2 === A ? void 0 : t2;
|
5007
5080
|
}
|
5008
5081
|
}
|
5009
|
-
const
|
5010
|
-
class
|
5082
|
+
const H = s ? s.emptyScript : "";
|
5083
|
+
class I extends R {
|
5011
5084
|
constructor() {
|
5012
5085
|
super(...arguments), this.type = 4;
|
5013
5086
|
}
|
5014
5087
|
j(t2) {
|
5015
|
-
t2 && t2 !==
|
5088
|
+
t2 && t2 !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
|
5016
5089
|
}
|
5017
5090
|
}
|
5018
|
-
class
|
5091
|
+
class L extends R {
|
5019
5092
|
constructor(t2, i2, s2, e2, o2) {
|
5020
5093
|
super(t2, i2, s2, e2, o2), this.type = 5;
|
5021
5094
|
}
|
5022
5095
|
_$AI(t2, i2 = this) {
|
5023
5096
|
var s2;
|
5024
|
-
if ((t2 = null !== (s2 =
|
5097
|
+
if ((t2 = null !== (s2 = N(this, t2, i2, 0)) && void 0 !== s2 ? s2 : A) === T)
|
5025
5098
|
return;
|
5026
|
-
const e2 = this._$AH, o2 = t2 ===
|
5099
|
+
const e2 = this._$AH, o2 = t2 === A && e2 !== A || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A && (e2 === A || o2);
|
5027
5100
|
o2 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
|
5028
5101
|
}
|
5029
5102
|
handleEvent(t2) {
|
@@ -5031,7 +5104,7 @@ class H extends S {
|
|
5031
5104
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s2 = null === (i2 = this.options) || void 0 === i2 ? void 0 : i2.host) && void 0 !== s2 ? s2 : this.element, t2) : this._$AH.handleEvent(t2);
|
5032
5105
|
}
|
5033
5106
|
}
|
5034
|
-
class
|
5107
|
+
class z {
|
5035
5108
|
constructor(t2, i2, s2) {
|
5036
5109
|
this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
|
5037
5110
|
}
|
@@ -5039,18 +5112,18 @@ class I {
|
|
5039
5112
|
return this._$AM._$AU;
|
5040
5113
|
}
|
5041
5114
|
_$AI(t2) {
|
5042
|
-
|
5115
|
+
N(this, t2);
|
5043
5116
|
}
|
5044
5117
|
}
|
5045
|
-
const
|
5046
|
-
null ==
|
5047
|
-
const
|
5118
|
+
const j = i.litHtmlPolyfillSupport;
|
5119
|
+
null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
|
5120
|
+
const B = (t2, i2, s2) => {
|
5048
5121
|
var e2, o2;
|
5049
5122
|
const n2 = null !== (e2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== e2 ? e2 : i2;
|
5050
5123
|
let l2 = n2._$litPart$;
|
5051
5124
|
if (void 0 === l2) {
|
5052
5125
|
const t3 = null !== (o2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== o2 ? o2 : null;
|
5053
|
-
n2._$litPart$ = l2 = new
|
5126
|
+
n2._$litPart$ = l2 = new M(i2.insertBefore(d(), t3), t3, void 0, null != s2 ? s2 : {});
|
5054
5127
|
}
|
5055
5128
|
return l2._$AI(t2), l2;
|
5056
5129
|
};
|
@@ -5455,8 +5528,8 @@ async function createComposerContext(content, { extraProperties, context = {} }
|
|
5455
5528
|
const htmlBuffer = jsonToHtml(content, extra);
|
5456
5529
|
const template = await lexer(htmlBuffer);
|
5457
5530
|
const variables = interpolate(template.variables, context);
|
5458
|
-
const htmlTemplate =
|
5459
|
-
return (container, options) =>
|
5531
|
+
const htmlTemplate = x(template.literals, ...variables);
|
5532
|
+
return (container, options) => B(htmlTemplate, container, options);
|
5460
5533
|
}
|
5461
5534
|
async function premount(config2, proxyWindow = window, reporter2 = console.error) {
|
5462
5535
|
var _a2;
|
@@ -6046,7 +6119,7 @@ function appendOverlay(self2, mode$) {
|
|
6046
6119
|
overlay.style.position = "fixed";
|
6047
6120
|
overlay.style.width = "100vw";
|
6048
6121
|
overlay.style.height = "100%";
|
6049
|
-
overlay.style.backgroundColor = "rgba(
|
6122
|
+
overlay.style.backgroundColor = "rgba(0, 0, 0, 0.05)";
|
6050
6123
|
overlay.style.zIndex = `${OVERLAY_Z_INDEX}`;
|
6051
6124
|
const isVisible = () => overlay.style.display === visibleOverlayDisplay;
|
6052
6125
|
const swap = () => isVisible() ? overlay.style.display = "none" : overlay.style.display = visibleOverlayDisplay;
|