lido-player 0.0.2-alpha-37 → 0.0.2-alpha-39
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/index.cjs.js +1 -1
- package/dist/cjs/lido-avatar_19.cjs.entry.js +10 -4
- package/dist/cjs/{utils-ca4f5acd.js → utils-ecfb0201.js} +3 -1
- package/dist/collection/components/trace/lido-trace.js +9 -3
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +2 -2
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +1 -1
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +1 -1
- package/dist/collection/utils/audioPlayer.js +2 -1
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +19 -19
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-21244924.js → p-02d8bdd1.js} +1 -1
- package/dist/components/{p-5d6ac6a8.js → p-08971697.js} +1 -1
- package/dist/components/{p-09d87f1e.js → p-0c38a496.js} +1 -1
- package/dist/components/{p-964bb2d8.js → p-0f339d9b.js} +1 -1
- package/dist/components/{p-52b0e7f9.js → p-1ed4ea23.js} +1 -1
- package/dist/components/{p-f22445e3.js → p-242a3040.js} +1 -1
- package/dist/components/{p-0517b256.js → p-316538c8.js} +1 -1
- package/dist/components/{p-9eb2b59e.js → p-35e88215.js} +10 -4
- package/dist/components/{p-7d6376b8.js → p-386181ff.js} +1 -1
- package/dist/components/{p-6dc838e6.js → p-4ad65185.js} +1 -1
- package/dist/components/{p-ef9c22cb.js → p-4fd16a6d.js} +1 -1
- package/dist/components/{p-029db8e3.js → p-5f6567b1.js} +1 -1
- package/dist/components/{p-64aca1ed.js → p-6c8b5f12.js} +1 -1
- package/dist/components/{p-7412e687.js → p-7b91a633.js} +2 -2
- package/dist/components/{p-b65d78cf.js → p-b59b421e.js} +1 -1
- package/dist/components/{p-7f8e1ee3.js → p-b827ba8e.js} +3 -1
- package/dist/components/{p-b8d835ab.js → p-bfe4cab0.js} +18 -18
- package/dist/components/{p-1f25128f.js → p-ddceb2c7.js} +1 -1
- package/dist/components/{p-94e44d07.js → p-ebd56b31.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_19.entry.js +10 -4
- package/dist/esm/{utils-0da1c27a.js → utils-5661610c.js} +3 -1
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-db5dbb6a.entry.js → p-a79b92c7.entry.js} +1 -1
- package/dist/lido-player/{p-7e862aa7.js → p-af64cf4b.js} +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fe562525.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-ecfb0201.js');
|
|
7
7
|
|
|
8
8
|
var rive = {exports: {}};
|
|
9
9
|
|
|
@@ -11921,8 +11921,11 @@ const LidoTrace = class {
|
|
|
11921
11921
|
return;
|
|
11922
11922
|
// Highlight the current letter keeping the previous ones highlighted
|
|
11923
11923
|
const letter = letters[index];
|
|
11924
|
-
if (letter)
|
|
11924
|
+
if (letter) {
|
|
11925
11925
|
letter.classList.add('letter-highlight');
|
|
11926
|
+
// letter.setAttribute('speak', 'true');
|
|
11927
|
+
// await AudioPlayer.getI().play(letter);
|
|
11928
|
+
}
|
|
11926
11929
|
}
|
|
11927
11930
|
if (spanType === 'words') {
|
|
11928
11931
|
const words = content.querySelectorAll('.text-words');
|
|
@@ -11930,8 +11933,11 @@ const LidoTrace = class {
|
|
|
11930
11933
|
return;
|
|
11931
11934
|
// Highlight the current word keeping the previous ones highlighted
|
|
11932
11935
|
const word = words[index];
|
|
11933
|
-
if (word)
|
|
11936
|
+
if (word) {
|
|
11934
11937
|
word.classList.add('word-highlight');
|
|
11938
|
+
// word.setAttribute('speak', 'true');
|
|
11939
|
+
// await AudioPlayer.getI().play(word);
|
|
11940
|
+
}
|
|
11935
11941
|
}
|
|
11936
11942
|
}
|
|
11937
11943
|
updateStyles() {
|
|
@@ -11946,7 +11952,7 @@ const LidoTrace = class {
|
|
|
11946
11952
|
};
|
|
11947
11953
|
}
|
|
11948
11954
|
render() {
|
|
11949
|
-
return (index.h(index.Host, { key: '
|
|
11955
|
+
return (index.h(index.Host, { key: 'e3b4b599e93cf22974b348a0f5a3915533b2162f', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, index.h("div", { key: 'f54b55ae0a58a3df9d1402f7b930bdca79f186cc', style: this.style, id: "lido-svgContainer" })));
|
|
11950
11956
|
}
|
|
11951
11957
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
11952
11958
|
get el() { return index.getElement(this); }
|
|
@@ -833,6 +833,7 @@ async function onElementDropComplete(dragElement, dropElement) {
|
|
|
833
833
|
// Perform actions if onMatch is defined
|
|
834
834
|
const onCorrect = dropElement.getAttribute('onCorrect');
|
|
835
835
|
if (onCorrect) {
|
|
836
|
+
await executeActions("this.alignMatch='true'", dropElement, dragElement);
|
|
836
837
|
await executeActions(onCorrect, dropElement, dragElement);
|
|
837
838
|
}
|
|
838
839
|
}
|
|
@@ -1075,7 +1076,8 @@ class AudioPlayer {
|
|
|
1075
1076
|
try {
|
|
1076
1077
|
highlightSpeakingElement(targetElement);
|
|
1077
1078
|
await speakText(targetElement.textContent, targetElement);
|
|
1078
|
-
|
|
1079
|
+
const highlightedElements = document.querySelectorAll('.speaking-highlight');
|
|
1080
|
+
highlightedElements.forEach(element => stopHighlightForSpeakingElement(element));
|
|
1079
1081
|
setDraggingDisabled(false);
|
|
1080
1082
|
}
|
|
1081
1083
|
catch (error) {
|
|
@@ -663,8 +663,11 @@ export class LidoTrace {
|
|
|
663
663
|
return;
|
|
664
664
|
// Highlight the current letter keeping the previous ones highlighted
|
|
665
665
|
const letter = letters[index];
|
|
666
|
-
if (letter)
|
|
666
|
+
if (letter) {
|
|
667
667
|
letter.classList.add('letter-highlight');
|
|
668
|
+
// letter.setAttribute('speak', 'true');
|
|
669
|
+
// await AudioPlayer.getI().play(letter);
|
|
670
|
+
}
|
|
668
671
|
}
|
|
669
672
|
if (spanType === 'words') {
|
|
670
673
|
const words = content.querySelectorAll('.text-words');
|
|
@@ -672,8 +675,11 @@ export class LidoTrace {
|
|
|
672
675
|
return;
|
|
673
676
|
// Highlight the current word keeping the previous ones highlighted
|
|
674
677
|
const word = words[index];
|
|
675
|
-
if (word)
|
|
678
|
+
if (word) {
|
|
676
679
|
word.classList.add('word-highlight');
|
|
680
|
+
// word.setAttribute('speak', 'true');
|
|
681
|
+
// await AudioPlayer.getI().play(word);
|
|
682
|
+
}
|
|
677
683
|
}
|
|
678
684
|
}
|
|
679
685
|
updateStyles() {
|
|
@@ -688,7 +694,7 @@ export class LidoTrace {
|
|
|
688
694
|
};
|
|
689
695
|
}
|
|
690
696
|
render() {
|
|
691
|
-
return (h(Host, { key: '
|
|
697
|
+
return (h(Host, { key: 'e3b4b599e93cf22974b348a0f5a3915533b2162f', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, h("div", { key: 'f54b55ae0a58a3df9d1402f7b930bdca79f186cc', style: this.style, id: "lido-svgContainer" })));
|
|
692
698
|
}
|
|
693
699
|
static get is() { return "lido-trace"; }
|
|
694
700
|
static get originalStyleUrls() {
|
|
@@ -92,7 +92,7 @@ function getContainerXml(args) {
|
|
|
92
92
|
return `
|
|
93
93
|
<main>
|
|
94
94
|
|
|
95
|
-
<lido-container id="lido-container" objective="${objective}" show-drop-border="false" tab-index="1" is-allow-only-correct="true" is-continue-on-correct="true" onCorrect="fullRrocket.animation='placeToLeft 2.5s 1s linear'; this.sleep='
|
|
95
|
+
<lido-container id="lido-container" objective="${objective}" show-drop-border="false" tab-index="1" is-allow-only-correct="true" is-continue-on-correct="true" onCorrect="fullRrocket.animation='placeToLeft 2.5s 1s linear'; this.sleep='1000'; heading.speak='true'; " show-check="false" bg-image="${args.backgroundImage}" visible="true" onEntry="this.overflowY='hidden'; this.overflowX='hidden'; this.background-color='transparent';" onInCorrect="lido-avatar.avatarAnimate='Fail'; this.sleep='2000';" after-drop="false" drop-action="infinite-drop">
|
|
96
96
|
<lido-cell layout="pos" id="pos1" disable-edit="true" tab-index="2" value="pos2" height="305px" width="227px" x="landscape.1270px, portrait.541px" y="landscape.-60px, portrait.250px" aria-hidden="true" z="1" bg-color="transparent" visible="true" onEntry="this.animation='rightToPlace 2.5s linear';">
|
|
97
97
|
<lido-avatar id="lido-avatar" disable-edit="true" visible="true" height="462px" width="356px" src="https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/temp2/chimplecharacter.riv" alt-text="{chimpleCharacterRive}">
|
|
98
98
|
</lido-avatar>
|
|
@@ -105,7 +105,7 @@ function getContainerXml(args) {
|
|
|
105
105
|
</lido-image>
|
|
106
106
|
<lido-image id="hit_img" tab-index="5" height="170px" width="100%" y="landscape.124%, portrait.360px" x="landscape.-42%, portrait.-36%" disable-edit="true" visible="true" src="${args.TextBackgroundImage}">
|
|
107
107
|
<lido-cell layout="pos" display="flex" value="pos3" tab-index="3" id="pos3" visible="true" height="landscape.265px, portrait.auto " bg-color="transparent" width="landscape.100%, portrait.100%;" onEntry="this.z-index='1'; this.align-items='center'; this.justify-content='center'; this.display='flex';" y="landscape.0%, portrait.14%" x="landscape.9%, portrait.4%">
|
|
108
|
-
<lido-text id="heading" tab-index="6" visible="true" string="${args.letterBoardText}" font-family="'Baloo Bhai 2'" font-color="#fafafa" font-size="landscape.9rem, portrait.10rem" bg-color="transparent" onEntry="this.fontWeight='700'; this.justify-content='center'; this.align-item='center';" x="unset" y="unset">
|
|
108
|
+
<lido-text id="heading" tab-index="6" visible="true" string="${args.letterBoardText}" font-family="'Baloo Bhai 2'" font-color="#fafafa" font-size="landscape.9rem, portrait.10rem" bg-color="transparent" onEntry="this.fontWeight='700'; this.justify-content='center'; this.align-item='center'; this.speak='true';" x="unset" y="unset">
|
|
109
109
|
</lido-text>
|
|
110
110
|
</lido-cell>
|
|
111
111
|
</lido-image>
|
|
@@ -64,7 +64,7 @@ function getContainerXml(args) {
|
|
|
64
64
|
</lido-cell>
|
|
65
65
|
|
|
66
66
|
<lido-cell tab-index="2" layout="col" show-speak-icon="true" audio="" visible="true" width="landscape.725px, portrait.725px" height="landscape.725px, portrait.725px" bg-color="#0A2C45" onEntry="this.border-radius='6px'; this.flex-shrink='0';">
|
|
67
|
-
<lido-trace id="image2" tab-index="3" value="a" visible="true" svg-source="${traceImage}" onCorrect="" mode="${traceMode}" z="1" x="25px" y="25px" width="landscape.700px,portrait.700px" height="landscape.700px,portrait.700px"
|
|
67
|
+
<lido-trace id="image2" tab-index="3" value="a" visible="true" svg-source="${traceImage}" onCorrect="this.speak='true';" mode="${traceMode}" z="1" x="25px" y="25px" width="landscape.700px,portrait.700px" height="landscape.700px,portrait.700px" alt-text="{backgroundImage}">
|
|
68
68
|
</lido-trace>
|
|
69
69
|
</lido-cell>
|
|
70
70
|
|
|
@@ -75,7 +75,7 @@ function getContainerXml(args) {
|
|
|
75
75
|
|
|
76
76
|
<!-- trace element -->
|
|
77
77
|
<lido-cell layout="pos" id="pos2" disable-edit="true" value="pos2" height="landscape.500px, portrait.500px" width="landscape.550px, portrait.550px" x="landscape.510px, portrait.75px" y="landscape.305px, portrait.475px" aria-hidden="true" z="1" bg-color="transparent" visible="true" onEntry="trace1.visibility='visible'; this.flex-shrink='0';">
|
|
78
|
-
<lido-trace id="trace1" audio="" animationTrace="true" highlightTextId="txt1" tab-index="3" value="a" visible="true" svg-source="${traceImage1}; ${traceImage2}; ${traceImage3}" onCorrect="" mode="${traceMode}" z="1" x="25px" y="25px" width="landscape.500px, portrait.675px" height="landscape.500px, portrait.500px" altText="{backgroundImage}">
|
|
78
|
+
<lido-trace id="trace1" audio="" animationTrace="true" highlightTextId="txt1" tab-index="3" value="a" visible="true" svg-source="${traceImage1}; ${traceImage2}; ${traceImage3}" onCorrect="txt1.speak='true';" mode="${traceMode}" z="1" x="25px" y="25px" width="landscape.500px, portrait.675px" height="landscape.500px, portrait.500px" altText="{backgroundImage}">
|
|
79
79
|
</lido-trace>
|
|
80
80
|
</lido-cell>
|
|
81
81
|
</lido-container>
|
|
@@ -66,7 +66,8 @@ export class AudioPlayer {
|
|
|
66
66
|
try {
|
|
67
67
|
highlightSpeakingElement(targetElement);
|
|
68
68
|
await speakText(targetElement.textContent, targetElement);
|
|
69
|
-
|
|
69
|
+
const highlightedElements = document.querySelectorAll('.speaking-highlight');
|
|
70
|
+
highlightedElements.forEach(element => stopHighlightForSpeakingElement(element));
|
|
70
71
|
setDraggingDisabled(false);
|
|
71
72
|
}
|
|
72
73
|
catch (error) {
|
|
@@ -682,6 +682,7 @@ export async function onElementDropComplete(dragElement, dropElement) {
|
|
|
682
682
|
// Perform actions if onMatch is defined
|
|
683
683
|
const onCorrect = dropElement.getAttribute('onCorrect');
|
|
684
684
|
if (onCorrect) {
|
|
685
|
+
await executeActions("this.alignMatch='true'", dropElement, dragElement);
|
|
685
686
|
await executeActions(onCorrect, dropElement, dragElement);
|
|
686
687
|
}
|
|
687
688
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
1
|
+
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-b827ba8e.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-
|
|
2
|
-
import { d as defineCustomElement$j } from './p-
|
|
3
|
-
import { d as defineCustomElement$i } from './p-
|
|
4
|
-
import { d as defineCustomElement$h } from './p-
|
|
5
|
-
import { d as defineCustomElement$g } from './p-
|
|
6
|
-
import { d as defineCustomElement$f } from './p-
|
|
7
|
-
import { d as defineCustomElement$e } from './p-
|
|
8
|
-
import { d as defineCustomElement$d } from './p-
|
|
9
|
-
import { d as defineCustomElement$c } from './p-
|
|
10
|
-
import { d as defineCustomElement$b } from './p-
|
|
11
|
-
import { d as defineCustomElement$a } from './p-
|
|
12
|
-
import { d as defineCustomElement$9 } from './p-
|
|
13
|
-
import { d as defineCustomElement$8 } from './p-
|
|
14
|
-
import { d as defineCustomElement$7 } from './p-
|
|
15
|
-
import { d as defineCustomElement$6 } from './p-
|
|
16
|
-
import { d as defineCustomElement$5 } from './p-
|
|
17
|
-
import { d as defineCustomElement$4 } from './p-
|
|
18
|
-
import { d as defineCustomElement$3 } from './p-
|
|
19
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-b827ba8e.js';
|
|
2
|
+
import { d as defineCustomElement$j } from './p-386181ff.js';
|
|
3
|
+
import { d as defineCustomElement$i } from './p-4fd16a6d.js';
|
|
4
|
+
import { d as defineCustomElement$h } from './p-ddceb2c7.js';
|
|
5
|
+
import { d as defineCustomElement$g } from './p-316538c8.js';
|
|
6
|
+
import { d as defineCustomElement$f } from './p-02d8bdd1.js';
|
|
7
|
+
import { d as defineCustomElement$e } from './p-0f339d9b.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './p-bfe4cab0.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-08971697.js';
|
|
10
|
+
import { d as defineCustomElement$b } from './p-7b91a633.js';
|
|
11
|
+
import { d as defineCustomElement$a } from './p-4ad65185.js';
|
|
12
|
+
import { d as defineCustomElement$9 } from './p-b59b421e.js';
|
|
13
|
+
import { d as defineCustomElement$8 } from './p-6c8b5f12.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './p-ebd56b31.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './p-242a3040.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './p-0c38a496.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './p-1ed4ea23.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './p-35e88215.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './p-5f6567b1.js';
|
|
20
20
|
|
|
21
21
|
const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
22
22
|
constructor() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
|
|
4
4
|
const LidoFlashCardStyle0 = lidoFlashCardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-
|
|
1
|
+
import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
var lib = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
|
|
4
4
|
const LidoSlideFillStyle0 = lidoSlideFillCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}#removeShadow{box-shadow:unset !important}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
|
|
4
4
|
const LidoFloatStyle0 = lidoFloatCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo Bhai 2', serif}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTextStyle0 = lidoTextCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z)}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}";
|
|
4
4
|
const LidoShapeStyle0 = lidoShapeCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
|
|
4
4
|
const LidoContainerStyle0 = lidoContainerCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, L as LidoContainer, F as executeActions, K as triggerNextContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, L as LidoContainer, F as executeActions, K as triggerNextContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;max-height:calc(100vh - 50px);touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;transition:fill 0.2s, r 0.2s}.lido-blindTracing{stroke:none !important}.lido-blindFreeTrace{stroke:none !important}.lido-hovered{cursor:grab;fill:darkred}#lido-controls{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:10px;background-color:#f0f0f0;border-top:1px solid #ccc}button{padding:10px;font-size:16px}@media (max-width: 600px){button{padding:8px;font-size:14px}}.lido-trace-path-green{}.lido-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.lido-trace{height:700px;width:700px;z-index:1;justify-items:center;align-content:center}.trace-animate{animation:trace-bounce 0.5s}@keyframes trace-bounce{0%{transform:scale(1)}30%{transform:scale(1.05)}60%{transform:scale(0.95)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTraceStyle0 = lidoTraceCss;
|
|
@@ -666,8 +666,11 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
|
666
666
|
return;
|
|
667
667
|
// Highlight the current letter keeping the previous ones highlighted
|
|
668
668
|
const letter = letters[index];
|
|
669
|
-
if (letter)
|
|
669
|
+
if (letter) {
|
|
670
670
|
letter.classList.add('letter-highlight');
|
|
671
|
+
// letter.setAttribute('speak', 'true');
|
|
672
|
+
// await AudioPlayer.getI().play(letter);
|
|
673
|
+
}
|
|
671
674
|
}
|
|
672
675
|
if (spanType === 'words') {
|
|
673
676
|
const words = content.querySelectorAll('.text-words');
|
|
@@ -675,8 +678,11 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
|
675
678
|
return;
|
|
676
679
|
// Highlight the current word keeping the previous ones highlighted
|
|
677
680
|
const word = words[index];
|
|
678
|
-
if (word)
|
|
681
|
+
if (word) {
|
|
679
682
|
word.classList.add('word-highlight');
|
|
683
|
+
// word.setAttribute('speak', 'true');
|
|
684
|
+
// await AudioPlayer.getI().play(word);
|
|
685
|
+
}
|
|
680
686
|
}
|
|
681
687
|
}
|
|
682
688
|
updateStyles() {
|
|
@@ -691,7 +697,7 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
|
|
|
691
697
|
};
|
|
692
698
|
}
|
|
693
699
|
render() {
|
|
694
|
-
return (h(Host, { key: '
|
|
700
|
+
return (h(Host, { key: 'e3b4b599e93cf22974b348a0f5a3915533b2162f', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, h("div", { key: 'f54b55ae0a58a3df9d1402f7b930bdca79f186cc', style: this.style, id: "lido-svgContainer" })));
|
|
695
701
|
}
|
|
696
702
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
697
703
|
get el() { return this; }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-
|
|
1
|
+
import { c as commonjsGlobal, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
var rive = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:cover;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--inactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px}";
|
|
4
4
|
const LidoMathMatrixStyle0 = lidoMathMatrixCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
|
|
4
4
|
const LidoCellStyle0 = lidoCellCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoWrapCss = ".lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;background-color:var(--child-bg-color, #f0f0f0);box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}";
|
|
4
4
|
const LidoWrapStyle0 = lidoWrapCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoRandomCss = ".lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}";
|
|
4
4
|
const LidoRandomStyle0 = lidoRandomCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-1ed4ea23.js';
|
|
3
3
|
|
|
4
4
|
const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
|
|
5
5
|
const LidoKeyboardStyle0 = lidoKeyboardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
|
|
4
4
|
const LidoPosStyle0 = lidoPosCss;
|
|
@@ -2229,6 +2229,7 @@ async function onElementDropComplete(dragElement, dropElement) {
|
|
|
2229
2229
|
// Perform actions if onMatch is defined
|
|
2230
2230
|
const onCorrect = dropElement.getAttribute('onCorrect');
|
|
2231
2231
|
if (onCorrect) {
|
|
2232
|
+
await executeActions("this.alignMatch='true'", dropElement, dragElement);
|
|
2232
2233
|
await executeActions(onCorrect, dropElement, dragElement);
|
|
2233
2234
|
}
|
|
2234
2235
|
}
|
|
@@ -2471,7 +2472,8 @@ class AudioPlayer {
|
|
|
2471
2472
|
try {
|
|
2472
2473
|
highlightSpeakingElement(targetElement);
|
|
2473
2474
|
await speakText(targetElement.textContent, targetElement);
|
|
2474
|
-
|
|
2475
|
+
const highlightedElements = document.querySelectorAll('.speaking-highlight');
|
|
2476
|
+
highlightedElements.forEach(element => stopHighlightForSpeakingElement(element));
|
|
2475
2477
|
setDraggingDisabled(false);
|
|
2476
2478
|
}
|
|
2477
2479
|
catch (error) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-
|
|
2
|
-
import { d as defineCustomElement$h } from './p-
|
|
3
|
-
import { d as defineCustomElement$g } from './p-
|
|
4
|
-
import { d as defineCustomElement$f } from './p-
|
|
5
|
-
import { d as defineCustomElement$e } from './p-
|
|
6
|
-
import { d as defineCustomElement$d } from './p-
|
|
7
|
-
import { d as defineCustomElement$c } from './p-
|
|
8
|
-
import { d as defineCustomElement$b } from './p-
|
|
9
|
-
import { d as defineCustomElement$a } from './p-
|
|
10
|
-
import { d as defineCustomElement$9 } from './p-
|
|
11
|
-
import { d as defineCustomElement$8 } from './p-
|
|
12
|
-
import { d as defineCustomElement$7 } from './p-
|
|
13
|
-
import { d as defineCustomElement$6 } from './p-
|
|
14
|
-
import { d as defineCustomElement$5 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
18
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as generateUUIDFallback, y as exitUrl, z as prevUrl, B as nextUrl, C as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, D as getCancelBtnPopup, n as calculateScale, E as triggerPrevcontainer, F as executeActions, j as Host, e as convertUrlToRelative, G as setCancelBtnPopup } from './p-b827ba8e.js';
|
|
2
|
+
import { d as defineCustomElement$h } from './p-386181ff.js';
|
|
3
|
+
import { d as defineCustomElement$g } from './p-4fd16a6d.js';
|
|
4
|
+
import { d as defineCustomElement$f } from './p-ddceb2c7.js';
|
|
5
|
+
import { d as defineCustomElement$e } from './p-316538c8.js';
|
|
6
|
+
import { d as defineCustomElement$d } from './p-02d8bdd1.js';
|
|
7
|
+
import { d as defineCustomElement$c } from './p-0f339d9b.js';
|
|
8
|
+
import { d as defineCustomElement$b } from './p-08971697.js';
|
|
9
|
+
import { d as defineCustomElement$a } from './p-7b91a633.js';
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-4ad65185.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-b59b421e.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-6c8b5f12.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-ebd56b31.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-242a3040.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-0c38a496.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-1ed4ea23.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-35e88215.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-5f6567b1.js';
|
|
19
19
|
|
|
20
20
|
const indexCss = "@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:0 2px 4px rgba(151, 150, 150, 0.1) !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}";
|
|
21
21
|
const LidoHomeStyle0 = indexCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-b827ba8e.js';
|
|
2
2
|
|
|
3
3
|
const lidoColCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}";
|
|
4
4
|
const LidoColStyle0 = lidoColCss;
|