lido-player 0.0.2-beta-25-dev → 0.0.2-beta-26-dev
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/LICENSE +21 -21
- package/dist/cjs/{decode-BSImuLEU.js → decode-CE64w_Pc.js} +1 -1
- package/dist/cjs/{index-DRw2yVbg.js → index-Cf9LHdIw.js} +126 -60
- package/dist/cjs/{index-DBCFoh1I.js → index-DnaH8sO-.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +103 -42
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.tsx +214 -214
- package/dist/collection/components/avatar/readme.md +49 -49
- package/dist/collection/components/calculator/lido-calculator.css +89 -89
- package/dist/collection/components/calculator/lido-calculator.js +2 -2
- package/dist/collection/components/canvas/lido-canvas.css +33 -33
- package/dist/collection/components/canvas/lido-canvas.js +1 -1
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +34 -34
- package/dist/collection/components/container/lido-container.js +8 -8
- package/dist/collection/components/flashCard/lido-flash-card.css +72 -72
- package/dist/collection/components/flashCard/lido-flash-card.js +72 -12
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +309 -309
- package/dist/collection/components/home/lido-home.js +35 -8
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +5 -5
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/assets/Shadow.svg +9 -9
- package/dist/collection/components/scale/lido-balance.css +174 -174
- package/dist/collection/components/scale/lido-balance.js +13 -13
- package/dist/collection/components/shape/lido-shape.css +216 -216
- package/dist/collection/components/shape/lido-shape.js +6 -6
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +6 -6
- package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +2 -2
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +211 -211
- package/dist/collection/css/index.css +323 -323
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +633 -633
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
- package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
- package/dist/collection/stories/Templates/total/total.stories.js +28 -28
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +7 -2
- package/dist/collection/utils/constants.js +6 -0
- package/dist/collection/utils/utils.js +59 -7
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.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 +1 -1
- 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-B4iWvszS.js +1 -0
- package/dist/components/{p-Cf85Nc-6.js → p-BA-XmR9g.js} +1 -1
- package/dist/components/p-BJt-z8VW.js +1 -0
- package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
- package/dist/components/{p-DNo3iX_r.js → p-BiBt9LGP.js} +1 -1
- package/dist/components/{p-DG0KR2iN.js → p-BlN0IsR4.js} +1 -1
- package/dist/components/{p-BSWrnLbC.js → p-BpVpANK9.js} +1 -1
- package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
- package/dist/components/p-C2J7-bcH.js +1 -0
- package/dist/components/{p-BfJG1wmU.js → p-CEmofYPx.js} +1 -1
- package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
- package/dist/components/{p-CsDu4kiC.js → p-ChfVUoX4.js} +1 -1
- package/dist/components/{p-AaE392x7.js → p-CnQ-4EIw.js} +1 -1
- package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
- package/dist/components/{p-CuDMRxx_.js → p-D1cBkIab.js} +1 -1
- package/dist/components/p-DP6jQ5ML.js +1 -0
- package/dist/components/{p-BW0855oZ.js → p-DV-k1ulI.js} +1 -1
- package/dist/components/p-Qhj9-H6e.js +12 -0
- package/dist/components/{p-CVZEVfip.js → p-hUfX1As2.js} +1 -1
- package/dist/components/p-leIEepjl.js +1 -0
- package/dist/components/{p-CK9M0Kcf.js → p-s4oGlKg6.js} +1 -1
- package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
- package/dist/esm/{decode-D2f5bktc.js → decode-DhjaTUf2.js} +1 -1
- package/dist/esm/{index-BB56Mo3L.js → index-Bc6Y7rds.js} +124 -61
- package/dist/esm/{index-mMpK8062.js → index-Dvjbti-h.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +103 -42
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/lido-player/assets/Shadow.svg +9 -9
- package/dist/lido-player/assets/Tracing-hand.svg +8 -8
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-avatar.css +4 -4
- package/dist/lido-player/lido-avatar.tsx +214 -214
- package/dist/lido-player/lido-player.css +7 -7
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-DSlo480E.js → p-CORilAH-.js} +1 -1
- package/dist/lido-player/p-D66K5DXn.js +1 -0
- package/dist/lido-player/p-Dvjbti-h.js +2 -0
- package/dist/lido-player/p-ca195982.entry.js +12 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/components/flashCard/lido-flash-card.d.ts +2 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/types/json.d.ts +3 -3
- package/dist/types/utils/audioPlayer.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +4 -0
- package/package.json +73 -73
- package/readme.md +113 -113
- package/dist/components/p-B-mIxynb.js +0 -1
- package/dist/components/p-CSxwfvl3.js +0 -1
- package/dist/components/p-DONbWJGn.js +0 -1
- package/dist/components/p-DPGOqpde.js +0 -1
- package/dist/components/p-DXy70SGv.js +0 -1
- package/dist/components/p-i3W5bJbL.js +0 -12
- package/dist/lido-player/p-53d245b0.entry.js +0 -12
- package/dist/lido-player/p-DKuh-2gv.js +0 -1
- package/dist/lido-player/p-mMpK8062.js +0 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./index-
|
|
3
|
+
var index$1 = require('./index-DnaH8sO-.js');
|
|
4
4
|
|
|
5
5
|
const DragMapKey = 'lidoDragMap';
|
|
6
6
|
const SelectedValuesKey = 'lidoSelectedValues';
|
|
@@ -21,6 +21,12 @@ const DropTimeAttr = 'drop-time';
|
|
|
21
21
|
const LidoContainer = 'lido-container';
|
|
22
22
|
const LIDO_COMMON_AUDIO_PATH = '__LIDO_COMMON_AUDIO_PATH__';
|
|
23
23
|
const LIDO_COMMON_AUDIO_READY_EVENT = 'lidoCommonAudioPathReady';
|
|
24
|
+
const GOOD_JOB_AUDIO_FILE = 'goodJob.mp3';
|
|
25
|
+
const resolveCommonAudioPath = (basePath, fileName) => {
|
|
26
|
+
if (!basePath || !fileName)
|
|
27
|
+
return undefined;
|
|
28
|
+
return `${basePath}/${fileName}`;
|
|
29
|
+
};
|
|
24
30
|
const LIDO_INTERACTION_CLEANUP_EVENT = 'lido:interaction-cleanup';
|
|
25
31
|
const TemplateID = 'template-id';
|
|
26
32
|
const CalculatorOk = 'calculator-ok';
|
|
@@ -1351,14 +1357,14 @@ async function onClickDropOrDragElement(element, type) {
|
|
|
1351
1357
|
if (!document.querySelector('#dynamic-highlight-style')) {
|
|
1352
1358
|
const style = document.createElement('style');
|
|
1353
1359
|
style.id = 'dynamic-highlight-style';
|
|
1354
|
-
style.innerHTML = `
|
|
1355
|
-
.highlight {
|
|
1356
|
-
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1357
|
-
// border-radius: 12px; /* Larger rounded corners */
|
|
1358
|
-
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1359
|
-
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1360
|
-
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1361
|
-
}
|
|
1360
|
+
style.innerHTML = `
|
|
1361
|
+
.highlight {
|
|
1362
|
+
// border: 4px solid #e74c3c; /* Thicker red border for more visibility */
|
|
1363
|
+
// border-radius: 12px; /* Larger rounded corners */
|
|
1364
|
+
// background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
|
|
1365
|
+
// box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
|
|
1366
|
+
// outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
|
|
1367
|
+
}
|
|
1362
1368
|
`;
|
|
1363
1369
|
document.head.appendChild(style);
|
|
1364
1370
|
}
|
|
@@ -1546,34 +1552,34 @@ function highlightSpeakingElement(element) {
|
|
|
1546
1552
|
if (!document.getElementById(styleId)) {
|
|
1547
1553
|
const style = document.createElement('style');
|
|
1548
1554
|
style.id = styleId;
|
|
1549
|
-
style.innerHTML = `
|
|
1550
|
-
.speaking-highlight {
|
|
1551
|
-
--base-transform: ${element.style.transform};
|
|
1552
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
1553
|
-
// border: 3px solid green !important;
|
|
1554
|
-
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
1555
|
-
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
1556
|
-
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
1557
|
-
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
@keyframes pulseEffect {
|
|
1561
|
-
0% {
|
|
1562
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1563
|
-
// transform: var(--base-transform) scale(1.05);
|
|
1564
|
-
// background-color: #FFFF0B;
|
|
1565
|
-
}
|
|
1566
|
-
50% {
|
|
1567
|
-
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
1568
|
-
// transform: var(--base-transform) scale(1.1);
|
|
1569
|
-
// background-color: #FFFF0B;
|
|
1570
|
-
}
|
|
1571
|
-
100% {
|
|
1572
|
-
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1573
|
-
// transform: var(--base-transform) scale(1.05);
|
|
1574
|
-
// background-color: #FFFF0B;
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1555
|
+
style.innerHTML = `
|
|
1556
|
+
.speaking-highlight {
|
|
1557
|
+
--base-transform: ${element.style.transform};
|
|
1558
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
|
|
1559
|
+
// border: 3px solid green !important;
|
|
1560
|
+
// transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
|
|
1561
|
+
// transform: scale(1.05); /* Subtle scale effect to pop the element */
|
|
1562
|
+
// animation: pulseEffect 1.5s infinite; /* Pulsing animation */
|
|
1563
|
+
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
@keyframes pulseEffect {
|
|
1567
|
+
0% {
|
|
1568
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1569
|
+
// transform: var(--base-transform) scale(1.05);
|
|
1570
|
+
// background-color: #FFFF0B;
|
|
1571
|
+
}
|
|
1572
|
+
50% {
|
|
1573
|
+
box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
|
|
1574
|
+
// transform: var(--base-transform) scale(1.1);
|
|
1575
|
+
// background-color: #FFFF0B;
|
|
1576
|
+
}
|
|
1577
|
+
100% {
|
|
1578
|
+
box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
|
|
1579
|
+
// transform: var(--base-transform) scale(1.05);
|
|
1580
|
+
// background-color: #FFFF0B;
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1577
1583
|
`;
|
|
1578
1584
|
document.head.appendChild(style);
|
|
1579
1585
|
}
|
|
@@ -1749,7 +1755,7 @@ class AudioPlayer {
|
|
|
1749
1755
|
return el;
|
|
1750
1756
|
return el.closest('lido-text');
|
|
1751
1757
|
}
|
|
1752
|
-
async play(targetElement, suppressHighlight = false, playbackContext) {
|
|
1758
|
+
async play(targetElement, suppressHighlight = false, playbackContext, fallbackAudio) {
|
|
1753
1759
|
this.registerVisibilityEvents();
|
|
1754
1760
|
this.playbackHasStarted = false;
|
|
1755
1761
|
if (!this.isWindowVisible()) {
|
|
@@ -1852,7 +1858,12 @@ class AudioPlayer {
|
|
|
1852
1858
|
};
|
|
1853
1859
|
});
|
|
1854
1860
|
}
|
|
1855
|
-
catch (error) {
|
|
1861
|
+
catch (error) {
|
|
1862
|
+
if (fallbackAudio && fallbackAudio !== audioUrl) {
|
|
1863
|
+
targetElement.setAttribute('audio', fallbackAudio);
|
|
1864
|
+
await this.play(targetElement, suppressHighlight, playbackContext);
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1856
1867
|
finally {
|
|
1857
1868
|
this.audioElement.onended = null;
|
|
1858
1869
|
this.audioElement.onloadedmetadata = null;
|
|
@@ -2284,11 +2295,11 @@ function enableReorderDrag(element) {
|
|
|
2284
2295
|
onDropToCategory(element, category);
|
|
2285
2296
|
}
|
|
2286
2297
|
if (divEl) {
|
|
2287
|
-
const keyframes = `
|
|
2288
|
-
@keyframes widthDecrease {
|
|
2289
|
-
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
2290
|
-
100% { width: 0px; height: 0px;}
|
|
2291
|
-
}
|
|
2298
|
+
const keyframes = `
|
|
2299
|
+
@keyframes widthDecrease {
|
|
2300
|
+
0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
|
|
2301
|
+
100% { width: 0px; height: 0px;}
|
|
2302
|
+
}
|
|
2292
2303
|
`;
|
|
2293
2304
|
const styleSheet = document.styleSheets[0];
|
|
2294
2305
|
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
|
|
@@ -2511,11 +2522,11 @@ function moveWithAnimation(target, overlapped) {
|
|
|
2511
2522
|
const dummy = createDummyElement(target);
|
|
2512
2523
|
dummy.style.visibility = 'hidden';
|
|
2513
2524
|
dummy.setAttribute('type', 'dummy');
|
|
2514
|
-
const keyframes = `
|
|
2515
|
-
@keyframes widthIncrease {
|
|
2516
|
-
0% { width: 0px; height: 0px; }
|
|
2517
|
-
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
2518
|
-
}
|
|
2525
|
+
const keyframes = `
|
|
2526
|
+
@keyframes widthIncrease {
|
|
2527
|
+
0% { width: 0px; height: 0px; }
|
|
2528
|
+
100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
|
|
2529
|
+
}
|
|
2519
2530
|
`;
|
|
2520
2531
|
if (!overlapped) {
|
|
2521
2532
|
const overlapCategory = findMostoverlappedElement(target, 'category');
|
|
@@ -32063,15 +32074,15 @@ function _typeof(o) {
|
|
|
32063
32074
|
}, _typeof(o);
|
|
32064
32075
|
}
|
|
32065
32076
|
|
|
32066
|
-
function toPrimitive(t,
|
|
32077
|
+
function toPrimitive(t, r) {
|
|
32067
32078
|
if ("object" != _typeof(t) || !t) return t;
|
|
32068
|
-
var
|
|
32069
|
-
if (
|
|
32070
|
-
var i =
|
|
32079
|
+
var e = t[Symbol.toPrimitive];
|
|
32080
|
+
if (void 0 !== e) {
|
|
32081
|
+
var i = e.call(t, r);
|
|
32071
32082
|
if ("object" != _typeof(i)) return i;
|
|
32072
32083
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
32073
32084
|
}
|
|
32074
|
-
return ("string" ===
|
|
32085
|
+
return ("string" === r ? String : Number)(t);
|
|
32075
32086
|
}
|
|
32076
32087
|
|
|
32077
32088
|
function toPropertyKey(t) {
|
|
@@ -72882,6 +72893,44 @@ class Timer {
|
|
|
72882
72893
|
let ACTIVYTY_TIME_SPEND_ARRAY = [];
|
|
72883
72894
|
|
|
72884
72895
|
const gameScore = new GameScore();
|
|
72896
|
+
const GOOD_JOB_TEMPLATES = new Set(['flashcardtemplate', 'writeCard', 'drawShape', 'storyTale']);
|
|
72897
|
+
const isGoodJobAudioTarget = (element) => {
|
|
72898
|
+
var _a;
|
|
72899
|
+
const templateId = (_a = element === null || element === void 0 ? void 0 : element.closest('lido-container')) === null || _a === void 0 ? void 0 : _a.getAttribute('template-id');
|
|
72900
|
+
if (!GOOD_JOB_TEMPLATES.has(templateId || ''))
|
|
72901
|
+
return false;
|
|
72902
|
+
if ((element === null || element === void 0 ? void 0 : element.id) === 'arrow')
|
|
72903
|
+
return true;
|
|
72904
|
+
return templateId === 'storyTale' && (element === null || element === void 0 ? void 0 : element.id) === 'arrow1' && !!element.closest('#arrow');
|
|
72905
|
+
};
|
|
72906
|
+
const resetGoodJobAudioTracking = (home) => {
|
|
72907
|
+
home.__lidoGoodJobTemplates = new Set();
|
|
72908
|
+
};
|
|
72909
|
+
const shouldPlayGoodJobAudio = (element) => {
|
|
72910
|
+
var _a;
|
|
72911
|
+
if (!isGoodJobAudioTarget(element))
|
|
72912
|
+
return false;
|
|
72913
|
+
// Standalone templates and editor previews have no lesson host. Preserve
|
|
72914
|
+
// their existing behavior rather than making them depend on lido-home.
|
|
72915
|
+
const home = element.closest('lido-home');
|
|
72916
|
+
if (!home)
|
|
72917
|
+
return true;
|
|
72918
|
+
const templateId = (_a = element.closest('lido-container')) === null || _a === void 0 ? void 0 : _a.getAttribute('template-id');
|
|
72919
|
+
if (!templateId)
|
|
72920
|
+
return true;
|
|
72921
|
+
const played = home.__lidoGoodJobTemplates || (home.__lidoGoodJobTemplates = new Set());
|
|
72922
|
+
if (played.has(templateId))
|
|
72923
|
+
return false;
|
|
72924
|
+
played.add(templateId);
|
|
72925
|
+
return true;
|
|
72926
|
+
};
|
|
72927
|
+
const getGoodJobAudio = (element) => {
|
|
72928
|
+
if (!element)
|
|
72929
|
+
return undefined;
|
|
72930
|
+
if (!isGoodJobAudioTarget(element))
|
|
72931
|
+
return undefined;
|
|
72932
|
+
return resolveCommonAudioPath(window[LIDO_COMMON_AUDIO_PATH], GOOD_JOB_AUDIO_FILE);
|
|
72933
|
+
};
|
|
72885
72934
|
function buildDragSelectedMapFromDOM() {
|
|
72886
72935
|
const map = {};
|
|
72887
72936
|
const draggedEls = document.querySelectorAll(`[${DropToAttr}]`);
|
|
@@ -73103,7 +73152,21 @@ const executeActions = async (actionsString, thisElement, element, options = {})
|
|
|
73103
73152
|
const val = (action.value || '').toString().trim().toLowerCase();
|
|
73104
73153
|
if (val === 'true' || val === '1' || val === 'yes') {
|
|
73105
73154
|
try {
|
|
73106
|
-
|
|
73155
|
+
if (isGoodJobAudioTarget(targetElement) && !shouldPlayGoodJobAudio(targetElement))
|
|
73156
|
+
break;
|
|
73157
|
+
const isGoodJobTarget = isGoodJobAudioTarget(targetElement);
|
|
73158
|
+
const currentAudio = targetElement.getAttribute('audio') || undefined;
|
|
73159
|
+
const originalAudio = isGoodJobTarget
|
|
73160
|
+
? (targetElement.getAttribute('data-lido-original-audio') || currentAudio)
|
|
73161
|
+
: currentAudio;
|
|
73162
|
+
const localizedAudio = getGoodJobAudio(targetElement);
|
|
73163
|
+
if (localizedAudio) {
|
|
73164
|
+
if (currentAudio && !targetElement.hasAttribute('data-lido-original-audio')) {
|
|
73165
|
+
targetElement.setAttribute('data-lido-original-audio', currentAudio);
|
|
73166
|
+
}
|
|
73167
|
+
targetElement.setAttribute('audio', localizedAudio);
|
|
73168
|
+
}
|
|
73169
|
+
await AudioPlayer.getI().play(targetElement, false, undefined, originalAudio);
|
|
73107
73170
|
}
|
|
73108
73171
|
catch (err) {
|
|
73109
73172
|
console.error('Error playing audio for speak action:', err);
|
|
@@ -73349,11 +73412,11 @@ const afterDropDragHandling = (dragElement, dropElement) => {
|
|
|
73349
73412
|
if (!sourcePlaceholder) {
|
|
73350
73413
|
dragElement.replaceWith(dummyElement);
|
|
73351
73414
|
}
|
|
73352
|
-
const keyframes = `
|
|
73353
|
-
@keyframes widthDecrease {
|
|
73354
|
-
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
73355
|
-
100% { width: 0px; height: 0px; margin: 0px;}
|
|
73356
|
-
}
|
|
73415
|
+
const keyframes = `
|
|
73416
|
+
@keyframes widthDecrease {
|
|
73417
|
+
0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
|
|
73418
|
+
100% { width: 0px; height: 0px; margin: 0px;}
|
|
73419
|
+
}
|
|
73357
73420
|
`;
|
|
73358
73421
|
if (!isInfinite) {
|
|
73359
73422
|
dummyElement.style.width = sourcePlaceholder
|
|
@@ -74663,6 +74726,7 @@ exports.fraction = fraction;
|
|
|
74663
74726
|
exports.generateUUIDFallback = generateUUIDFallback;
|
|
74664
74727
|
exports.getCancelBtnPopup = getCancelBtnPopup;
|
|
74665
74728
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
74729
|
+
exports.getGoodJobAudio = getGoodJobAudio;
|
|
74666
74730
|
exports.handleElementClick = handleElementClick;
|
|
74667
74731
|
exports.handleFloatElementPosition = handleFloatElementPosition;
|
|
74668
74732
|
exports.handlingChildElements = handlingChildElements;
|
|
@@ -74674,9 +74738,11 @@ exports.nextUrl = nextUrl;
|
|
|
74674
74738
|
exports.parseProp = parseProp;
|
|
74675
74739
|
exports.prevUrl = prevUrl;
|
|
74676
74740
|
exports.resetFloatState = resetFloatState;
|
|
74741
|
+
exports.resetGoodJobAudioTracking = resetGoodJobAudioTracking;
|
|
74677
74742
|
exports.setActiveZipAssets = setActiveZipAssets;
|
|
74678
74743
|
exports.setCancelBtnPopup = setCancelBtnPopup;
|
|
74679
74744
|
exports.setVisibilityWithDelay = setVisibilityWithDelay;
|
|
74745
|
+
exports.shouldPlayGoodJobAudio = shouldPlayGoodJobAudio;
|
|
74680
74746
|
exports.speakIcon = speakIcon;
|
|
74681
74747
|
exports.speakUrl = speakUrl;
|
|
74682
74748
|
exports.stopHighlightForSpeakingElement = stopHighlightForSpeakingElement;
|
|
@@ -22,7 +22,7 @@ const NAMESPACE = 'lido-player';
|
|
|
22
22
|
const BUILD = /* lido-player */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
23
23
|
|
|
24
24
|
const globalScripts = () => {};
|
|
25
|
-
const globalStyles = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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;left:0;top:0;pointer-events:none;z-index:9999;background:linear-gradient(\n 180deg,\n rgba(255, 235, 59, 0.95),\n rgba(255, 214, 0, 0.95)\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:width 25ms ease-out,\n height 25ms ease-out,\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}.category-dropped-onCorrect{box-shadow:rgba(129, 193, 39, 1) 0px 8px 8px 0px !important}.category-dropped-onInCorrect{box-shadow:rgba(255, 4, 16, 1) 0px 8px 8px 0px !important}";
|
|
25
|
+
const globalStyles = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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;left:0;top:0;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:width 25ms ease-out,\r\n height 25ms ease-out,\r\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}.category-dropped-onCorrect{box-shadow:rgba(129, 193, 39, 1) 0px 8px 8px 0px !important}.category-dropped-onInCorrect{box-shadow:rgba(255, 4, 16, 1) 0px 8px 8px 0px !important}";
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
28
|
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|