lido-player 0.0.2-alpha-97 → 0.0.2-alpha-98
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/cjs/{decode-BK8Kqw1j.js → decode-afeNWInB.js} +1 -1
- package/dist/cjs/{index-BijNmpWS.js → index-DMfHwNdL.js} +5 -5
- package/dist/cjs/{index-BrME-8br.js → index-Dl8SlqP-.js} +24 -15
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +1037 -1126
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-root.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/{p-sXIVKaYg.js → p-1qOeKb23.js} +1 -1
- package/dist/components/{p-DU4wfdAe.js → p-5cqqnSZl.js} +1 -1
- package/dist/components/{p-BQENw2P9.js → p-BToRx4je.js} +1 -1
- package/dist/components/{p-DMjuSKpY.js → p-DWnRy2OX.js} +1 -1
- package/dist/components/{p-CEvj-zzm.js → p-DsaycW90.js} +1 -1
- package/dist/components/p-XacgbiAe.js +1 -0
- package/dist/components/p-q6x112RN.js +1 -0
- package/dist/esm/{decode-0vpRxCh3.js → decode-ChEy8Z68.js} +1 -1
- package/dist/esm/{index-BlRhFuUy.js → index-C7XdSFIP.js} +24 -15
- package/dist/esm/{index-Bf4MY45y.js → index-DwX5MikQ.js} +5 -5
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +1037 -1126
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +2 -2
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-C-h69UYH.js +1 -0
- package/dist/lido-player/p-C7XdSFIP.js +2 -0
- package/dist/lido-player/{p-MsdMCX0_.js → p-Cn2i_VLp.js} +1 -1
- package/dist/lido-player/p-a5f04b97.entry.js +1 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -1
- package/package.json +1 -1
- package/dist/components/p-BstMLAyY.js +0 -1
- package/dist/components/p-Jfm941HH.js +0 -1
- package/dist/lido-player/p-3ed3bcd7.entry.js +0 -1
- package/dist/lido-player/p-BlRhFuUy.js +0 -2
- package/dist/lido-player/p-UqNm08Na.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./index-
|
|
3
|
+
var index$1 = require('./index-Dl8SlqP-.js');
|
|
4
4
|
|
|
5
5
|
const DragMapKey = 'lidoDragMap';
|
|
6
6
|
const SelectedValuesKey = 'lidoSelectedValues';
|
|
@@ -7282,7 +7282,7 @@ var tanh$2 = Math.tanh || function (x) {
|
|
|
7282
7282
|
function copysign(x, y) {
|
|
7283
7283
|
var signx = true ;
|
|
7284
7284
|
var signy = y > 0 ? true : y < 0 ? false : 1 / y === Infinity;
|
|
7285
|
-
return signx ^ signy ? -
|
|
7285
|
+
return signx ^ signy ? -x : x;
|
|
7286
7286
|
}
|
|
7287
7287
|
function _toNumberOrThrow(value, onError) {
|
|
7288
7288
|
if (isNumber(value)) {
|
|
@@ -7905,7 +7905,7 @@ var EXP_LIMIT = 9e15, // 0 to 9e15
|
|
|
7905
7905
|
|
|
7906
7906
|
// The minimum exponent value, beneath which underflow to zero occurs.
|
|
7907
7907
|
// JavaScript numbers: -324 (5e-324)
|
|
7908
|
-
minE: -
|
|
7908
|
+
minE: -EXP_LIMIT, // -1 to -EXP_LIMIT
|
|
7909
7909
|
|
|
7910
7910
|
// The maximum exponent value, above which overflow to Infinity occurs.
|
|
7911
7911
|
// JavaScript numbers: 308 (1.7976931348623157e+308)
|
|
@@ -12031,10 +12031,10 @@ function config(obj) {
|
|
|
12031
12031
|
ps = [
|
|
12032
12032
|
'precision', 1, MAX_DIGITS,
|
|
12033
12033
|
'rounding', 0, 8,
|
|
12034
|
-
'toExpNeg', -
|
|
12034
|
+
'toExpNeg', -EXP_LIMIT, 0,
|
|
12035
12035
|
'toExpPos', 0, EXP_LIMIT,
|
|
12036
12036
|
'maxE', 0, EXP_LIMIT,
|
|
12037
|
-
'minE', -
|
|
12037
|
+
'minE', -EXP_LIMIT, 0,
|
|
12038
12038
|
'modulo', 0, 9
|
|
12039
12039
|
];
|
|
12040
12040
|
|
|
@@ -25,9 +25,22 @@ const globalScripts = () => {};
|
|
|
25
25
|
const globalStyles = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;pointer-events:none;z-index:9999;background:linear-gradient(\r\n 180deg,\r\n rgba(255, 235, 59, 0.95),\r\n rgba(255, 214, 0, 0.95)\r\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\r\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:left 55ms linear,\r\n top 55ms linear,\r\n width 55ms ease-out,\r\n height 55ms ease-out,\r\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height}";
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
|
-
Stencil Client Platform v4.43.
|
|
28
|
+
Stencil Client Platform v4.43.3 | MIT Licensed | https://stenciljs.com
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
+
|
|
32
|
+
// src/utils/get-prop-descriptor.ts
|
|
33
|
+
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
34
|
+
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
35
|
+
while (obj && obj !== stopAt) {
|
|
36
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
37
|
+
if (desc && (!getOnly || desc.get)) return desc;
|
|
38
|
+
obj = Object.getPrototypeOf(obj);
|
|
39
|
+
}
|
|
40
|
+
return void 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
31
44
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
32
45
|
var _a;
|
|
33
46
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -35,7 +48,7 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
35
48
|
members.map(([memberName, [memberFlags]]) => {
|
|
36
49
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
37
50
|
const ogValue = instance[memberName];
|
|
38
|
-
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
51
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
39
52
|
if (ogDescriptor) {
|
|
40
53
|
Object.defineProperty(instance, memberName, {
|
|
41
54
|
get() {
|
|
@@ -48,18 +61,14 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
48
61
|
enumerable: true
|
|
49
62
|
});
|
|
50
63
|
}
|
|
51
|
-
|
|
64
|
+
if (hostRef.$instanceValues$.has(memberName)) {
|
|
65
|
+
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
66
|
+
} else if (ogValue !== void 0) {
|
|
67
|
+
instance[memberName] = ogValue;
|
|
68
|
+
}
|
|
52
69
|
}
|
|
53
70
|
});
|
|
54
71
|
};
|
|
55
|
-
function getPropertyDescriptor(obj, memberName) {
|
|
56
|
-
while (obj) {
|
|
57
|
-
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
58
|
-
if (desc == null ? void 0 : desc.get) return desc;
|
|
59
|
-
obj = Object.getPrototypeOf(obj);
|
|
60
|
-
}
|
|
61
|
-
return void 0;
|
|
62
|
-
}
|
|
63
72
|
|
|
64
73
|
// src/client/client-host-ref.ts
|
|
65
74
|
var getHostRef = (ref) => {
|
|
@@ -443,7 +452,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
443
452
|
}
|
|
444
453
|
} else {
|
|
445
454
|
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
446
|
-
if (existingStyleContainer) {
|
|
455
|
+
if (existingStyleContainer && true) {
|
|
447
456
|
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
448
457
|
} else {
|
|
449
458
|
styleContainerNode.prepend(styleElm);
|
|
@@ -721,7 +730,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
721
730
|
return;
|
|
722
731
|
} else {
|
|
723
732
|
const isComplex = isComplexType(newValue);
|
|
724
|
-
if ((isProp || isComplex && newValue !== null) &&
|
|
733
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
725
734
|
try {
|
|
726
735
|
if (!elm.tagName.includes("-")) {
|
|
727
736
|
const n = newValue == null ? "" : newValue;
|
|
@@ -1585,7 +1594,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1585
1594
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1586
1595
|
members.map(([memberName, [memberFlags]]) => {
|
|
1587
1596
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1588
|
-
const { get: origGetter, set: origSetter } =
|
|
1597
|
+
const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
|
|
1589
1598
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1590
1599
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1591
1600
|
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
@@ -1847,7 +1856,7 @@ var connectedCallback = (elm) => {
|
|
|
1847
1856
|
}
|
|
1848
1857
|
if (cmpMeta.$members$) {
|
|
1849
1858
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1850
|
-
if (memberFlags & 31 /* Prop */ &&
|
|
1859
|
+
if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
|
|
1851
1860
|
const value = elm[memberName];
|
|
1852
1861
|
delete elm[memberName];
|
|
1853
1862
|
elm[memberName] = value;
|