lido-player 0.0.2-beta-14 → 0.0.2-beta-15-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.
Files changed (229) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{decode-BLUeYhas.js → decode-Xh5IDmFh.js} +1 -1
  3. package/dist/cjs/{index-CNWniNnt.js → index-B9AON0kM.js} +206 -86
  4. package/dist/cjs/{index-CS8kGcZo.js → index-Dy19zuTX.js} +1 -1
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/lido-avatar_22.cjs.entry.js +73 -50
  7. package/dist/cjs/lido-player.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/components/avatar/lido-avatar.css +4 -4
  10. package/dist/collection/components/avatar/lido-avatar.js +1 -1
  11. package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
  12. package/dist/collection/components/avatar/readme.md +49 -49
  13. package/dist/collection/components/calculator/lido-calculator.css +89 -89
  14. package/dist/collection/components/calculator/lido-calculator.js +2 -2
  15. package/dist/collection/components/canvas/lido-canvas.css +33 -33
  16. package/dist/collection/components/canvas/lido-canvas.js +1 -1
  17. package/dist/collection/components/cell/lido-cell.css +100 -100
  18. package/dist/collection/components/cell/lido-cell.js +12 -12
  19. package/dist/collection/components/column/lido-col.css +19 -19
  20. package/dist/collection/components/column/lido-col.js +6 -6
  21. package/dist/collection/components/container/lido-container.css +10 -10
  22. package/dist/collection/components/container/lido-container.js +9 -9
  23. package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
  24. package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
  25. package/dist/collection/components/float/lido-float.css +30 -30
  26. package/dist/collection/components/float/lido-float.js +2 -2
  27. package/dist/collection/components/home/lido-home.css +309 -309
  28. package/dist/collection/components/home/lido-home.js +5 -5
  29. package/dist/collection/components/image/lido-image.css +17 -17
  30. package/dist/collection/components/image/lido-image.js +6 -6
  31. package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
  32. package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
  33. package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
  34. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  35. package/dist/collection/components/position/lido-pos.css +16 -16
  36. package/dist/collection/components/position/lido-pos.js +2 -2
  37. package/dist/collection/components/random/lido-random.css +8 -8
  38. package/dist/collection/components/random/lido-random.js +2 -2
  39. package/dist/collection/components/root/lido-root.js +5 -5
  40. package/dist/collection/components/row/lido-row.css +10 -10
  41. package/dist/collection/components/row/lido-row.js +6 -6
  42. package/dist/collection/components/scale/lido-balance.css +145 -145
  43. package/dist/collection/components/scale/lido-balance.js +13 -13
  44. package/dist/collection/components/shape/lido-shape.css +216 -216
  45. package/dist/collection/components/shape/lido-shape.js +6 -6
  46. package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
  47. package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
  48. package/dist/collection/components/text/lido-text.css +53 -53
  49. package/dist/collection/components/text/lido-text.js +29 -5
  50. package/dist/collection/components/trace/lido-trace.css +97 -97
  51. package/dist/collection/components/trace/lido-trace.js +2 -2
  52. package/dist/collection/components/wrap/lido-wrap.css +18 -18
  53. package/dist/collection/components/wrap/lido-wrap.js +6 -6
  54. package/dist/collection/css/animation.css +211 -211
  55. package/dist/collection/css/index.css +312 -312
  56. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
  57. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
  58. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
  59. package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
  60. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
  61. package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
  62. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
  63. package/dist/collection/stories/Templates/blender/blender.stories.js +58 -58
  64. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
  65. package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
  66. package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
  67. package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
  68. package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
  69. package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
  70. package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
  71. package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
  72. package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
  73. package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
  74. package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
  75. package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
  76. package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
  77. package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
  78. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
  79. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
  80. package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
  81. package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
  82. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
  83. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
  84. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
  85. package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
  86. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
  87. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
  88. package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
  89. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
  90. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
  91. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
  92. package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
  93. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
  94. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
  95. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
  96. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
  97. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
  98. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
  99. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
  100. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
  101. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
  102. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
  103. package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
  104. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
  105. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
  106. package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
  107. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
  108. package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
  109. package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
  110. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
  111. package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
  112. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
  113. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
  114. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
  115. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
  116. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
  117. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
  118. package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
  119. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
  120. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
  121. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
  122. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
  123. package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
  124. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
  125. package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
  126. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
  127. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
  128. package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
  129. package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
  130. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
  131. package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
  132. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
  133. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
  134. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
  135. package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
  136. package/dist/collection/stories/Templates/total/total.stories.js +28 -28
  137. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
  138. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
  139. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
  140. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
  141. package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
  142. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
  143. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
  144. package/dist/collection/stories/components/flash-card.stories.js +48 -48
  145. package/dist/collection/stories/components/keyboard.stories.js +10 -10
  146. package/dist/collection/stories/components/slider.stories.js +4 -4
  147. package/dist/collection/stories/components/trace.stories.js +5 -5
  148. package/dist/collection/utils/utils.js +16 -10
  149. package/dist/collection/utils/utilsHandlers/animationHandler.js +25 -21
  150. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
  151. package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
  152. package/dist/collection/utils/utilsHandlers/lidoCalculatorHandler.js +8 -8
  153. package/dist/collection/utils/utilsHandlers/moveHandler.js +111 -0
  154. package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
  155. package/dist/components/index.js +1 -1
  156. package/dist/components/lido-avatar.js +1 -1
  157. package/dist/components/lido-balance.js +1 -1
  158. package/dist/components/lido-calculator.js +1 -1
  159. package/dist/components/lido-canvas.js +1 -1
  160. package/dist/components/lido-cell.js +1 -1
  161. package/dist/components/lido-col.js +1 -1
  162. package/dist/components/lido-container.js +1 -1
  163. package/dist/components/lido-flash-card.js +1 -1
  164. package/dist/components/lido-float.js +1 -1
  165. package/dist/components/lido-home.js +1 -1
  166. package/dist/components/lido-image.js +1 -1
  167. package/dist/components/lido-keyboard.js +1 -1
  168. package/dist/components/lido-math-matrix.js +1 -1
  169. package/dist/components/lido-pos.js +1 -1
  170. package/dist/components/lido-random.js +1 -1
  171. package/dist/components/lido-root.js +1 -1
  172. package/dist/components/lido-row.js +1 -1
  173. package/dist/components/lido-shape.js +1 -1
  174. package/dist/components/lido-slide-fill.js +1 -1
  175. package/dist/components/lido-text.js +1 -1
  176. package/dist/components/lido-trace.js +1 -1
  177. package/dist/components/lido-wrap.js +1 -1
  178. package/dist/components/{p-CCR42e0i.js → p-BE25wHoo.js} +1 -1
  179. package/dist/components/p-BSV5U72F.js +1 -0
  180. package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
  181. package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
  182. package/dist/components/{p-NHusmM9J.js → p-C2p0KZh4.js} +1 -1
  183. package/dist/components/p-C5jvgiPE.js +1 -0
  184. package/dist/components/{p-MkbxS5lW.js → p-C7U1h9gI.js} +1 -1
  185. package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
  186. package/dist/components/{p-DaMpzrMk.js → p-CS6iRQJh.js} +1 -1
  187. package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
  188. package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
  189. package/dist/components/p-D-B1groh.js +1 -0
  190. package/dist/components/{p-CRzTmKDJ.js → p-D-IYWSAa.js} +1 -1
  191. package/dist/components/{p-DbZeFECr.js → p-DGvzMlyn.js} +2 -2
  192. package/dist/components/{p-D4s9ZWCB.js → p-DPAlnts-.js} +1 -1
  193. package/dist/components/{p-CayICx4g.js → p-DYs8s-uh.js} +1 -1
  194. package/dist/components/p-DbR5sNOj.js +1 -0
  195. package/dist/components/{p-BBHM059l.js → p-Sl9R-E6h.js} +1 -1
  196. package/dist/components/p-Uluc7jQ7.js +1 -0
  197. package/dist/components/p-leIEepjl.js +1 -0
  198. package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
  199. package/dist/esm/{decode-DpcU-915.js → decode-C-vVYHke.js} +1 -1
  200. package/dist/esm/{index-Dki_0kla.js → index-BswlHnsY.js} +206 -86
  201. package/dist/esm/{index-Dfj4noku.js → index-Dq-Z8Dx0.js} +1 -1
  202. package/dist/esm/index.js +2 -2
  203. package/dist/esm/lido-avatar_22.entry.js +73 -50
  204. package/dist/esm/lido-player.js +3 -3
  205. package/dist/esm/loader.js +3 -3
  206. package/dist/lido-player/index.esm.js +1 -1
  207. package/dist/lido-player/lido-avatar.css +4 -4
  208. package/dist/lido-player/lido-avatar.tsx +207 -207
  209. package/dist/lido-player/lido-player.css +7 -7
  210. package/dist/lido-player/lido-player.esm.js +1 -1
  211. package/dist/lido-player/p-0l6uR1lH.js +1 -0
  212. package/dist/lido-player/{p-BZv5PD3F.js → p-CYMdg2_E.js} +1 -1
  213. package/dist/lido-player/p-Dq-Z8Dx0.js +2 -0
  214. package/dist/lido-player/{p-476aaf0e.entry.js → p-b2c60372.entry.js} +2 -2
  215. package/dist/lido-player/readme.md +49 -49
  216. package/dist/types/components/text/lido-text.d.ts +4 -0
  217. package/dist/types/components.d.ts +11 -0
  218. package/dist/types/types/json.d.ts +3 -3
  219. package/dist/types/utils/utilsHandlers/moveHandler.d.ts +1 -0
  220. package/package.json +73 -73
  221. package/readme.md +113 -113
  222. package/dist/components/p-CwIlwnQk.js +0 -1
  223. package/dist/components/p-DLyacZap.js +0 -1
  224. package/dist/components/p-DONbWJGn.js +0 -1
  225. package/dist/components/p-DVTigdH_.js +0 -1
  226. package/dist/components/p-DbDgJi-A.js +0 -1
  227. package/dist/components/p-fBjZoiLo.js +0 -1
  228. package/dist/lido-player/p-Dfj4noku.js +0 -2
  229. package/dist/lido-player/p-pxe3GMFr.js +0 -1
@@ -1,4 +1,4 @@
1
- import { d as getAssetPath } from './index-Dfj4noku.js';
1
+ import { d as getAssetPath } from './index-Dq-Z8Dx0.js';
2
2
 
3
3
  const DragMapKey = 'lidoDragMap';
4
4
  const SelectedValuesKey = 'lidoSelectedValues';
@@ -261,7 +261,7 @@ function balanceResult(container, objectiveString) {
261
261
  const tempVanishedValues = [];
262
262
  function dragDropAnimation(container, dragElement, dropElement) {
263
263
  container.style.pointerEvents = "none";
264
- setTimeout(() => {
264
+ setTimeout(async () => {
265
265
  var _a, _b, _c;
266
266
  const div = document.createElement('div');
267
267
  container.append(div);
@@ -291,27 +291,31 @@ function dragDropAnimation(container, dragElement, dropElement) {
291
291
  div.appendChild(dragElement);
292
292
  div.appendChild(dropElement);
293
293
  dropElement.classList.remove('empty');
294
+ const objective = container.getAttribute('objective');
295
+ const isObjectiveComplete = !!objective &&
296
+ tempVanishedValues.map(v => v.trim()).sort().join(',') ===
297
+ objective.split(',').map(v => v.trim()).sort().join(',');
298
+ if (dropElement.getAttribute('type') === 'drop') {
299
+ const dropOnCorrect = dropElement.getAttribute('onCorrect') || '';
300
+ await executeActions(dropOnCorrect, dropElement, dragElement);
301
+ }
302
+ if (isObjectiveComplete) {
303
+ const containerOnCorrect = (container === null || container === void 0 ? void 0 : container.getAttribute('onCorrect')) || '';
304
+ await executeActions(containerOnCorrect, container);
305
+ }
306
+ dragElement.classList.remove('zoom-fade-in');
307
+ dropElement.classList.remove('zoom-fade-in');
308
+ dragElement.classList.add('zoom-fade-out');
309
+ dropElement.classList.add('zoom-fade-out');
294
310
  setTimeout(() => {
295
- dragElement.classList.remove('zoom-fade-in');
296
- dropElement.classList.remove('zoom-fade-in');
297
- dragElement.classList.add('zoom-fade-out');
298
- dropElement.classList.add('zoom-fade-out');
299
- setTimeout(() => {
300
- div.remove();
301
- container.style.pointerEvents = 'auto';
302
- const objective = container.getAttribute('objective');
303
- if (objective && tempVanishedValues.map(v => v.trim()).sort().join(',') === objective.split(',').map(v => v.trim()).sort().join(',')) {
304
- (async () => {
305
- // isCorrect=true;
306
- const onCorrect = (container === null || container === void 0 ? void 0 : container.getAttribute('onCorrect')) || '';
307
- await executeActions(onCorrect, container);
308
- calculateScore();
309
- triggerNextContainer();
310
- tempVanishedValues.length = 0;
311
- })();
312
- }
313
- }, 800); // match animation duration
314
- }, 2000); // stay for 2 seconds
311
+ div.remove();
312
+ container.style.pointerEvents = 'auto';
313
+ if (isObjectiveComplete) {
314
+ calculateScore();
315
+ triggerNextContainer();
316
+ tempVanishedValues.length = 0;
317
+ }
318
+ }, 800); // match animation duration
315
319
  }, 250);
316
320
  }
317
321
 
@@ -1134,14 +1138,14 @@ async function onClickDropOrDragElement(element, type) {
1134
1138
  if (!document.querySelector('#dynamic-highlight-style')) {
1135
1139
  const style = document.createElement('style');
1136
1140
  style.id = 'dynamic-highlight-style';
1137
- style.innerHTML = `
1138
- .highlight {
1139
- // border: 4px solid #e74c3c; /* Thicker red border for more visibility */
1140
- // border-radius: 12px; /* Larger rounded corners */
1141
- // background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
1142
- // box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
1143
- // outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
1144
- }
1141
+ style.innerHTML = `
1142
+ .highlight {
1143
+ // border: 4px solid #e74c3c; /* Thicker red border for more visibility */
1144
+ // border-radius: 12px; /* Larger rounded corners */
1145
+ // background-color: rgba(231, 76, 60, 0.3); /* Stronger, more noticeable background */
1146
+ // box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
1147
+ // outline: 4px solid rgba(231, 76, 60, 0.6); /* Glow effect */
1148
+ }
1145
1149
  `;
1146
1150
  document.head.appendChild(style);
1147
1151
  }
@@ -1329,34 +1333,34 @@ function highlightSpeakingElement(element) {
1329
1333
  if (!document.getElementById(styleId)) {
1330
1334
  const style = document.createElement('style');
1331
1335
  style.id = styleId;
1332
- style.innerHTML = `
1333
- .speaking-highlight {
1334
- --base-transform: ${element.style.transform};
1335
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1336
- // border: 3px solid green !important;
1337
- // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1338
- // transform: scale(1.05); /* Subtle scale effect to pop the element */
1339
- // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1340
-
1341
- }
1342
-
1343
- @keyframes pulseEffect {
1344
- 0% {
1345
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1346
- // transform: var(--base-transform) scale(1.05);
1347
- // background-color: #FFFF0B;
1348
- }
1349
- 50% {
1350
- box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1351
- // transform: var(--base-transform) scale(1.1);
1352
- // background-color: #FFFF0B;
1353
- }
1354
- 100% {
1355
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1356
- // transform: var(--base-transform) scale(1.05);
1357
- // background-color: #FFFF0B;
1358
- }
1359
- }
1336
+ style.innerHTML = `
1337
+ .speaking-highlight {
1338
+ --base-transform: ${element.style.transform};
1339
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1340
+ // border: 3px solid green !important;
1341
+ // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1342
+ // transform: scale(1.05); /* Subtle scale effect to pop the element */
1343
+ // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1344
+
1345
+ }
1346
+
1347
+ @keyframes pulseEffect {
1348
+ 0% {
1349
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1350
+ // transform: var(--base-transform) scale(1.05);
1351
+ // background-color: #FFFF0B;
1352
+ }
1353
+ 50% {
1354
+ box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1355
+ // transform: var(--base-transform) scale(1.1);
1356
+ // background-color: #FFFF0B;
1357
+ }
1358
+ 100% {
1359
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1360
+ // transform: var(--base-transform) scale(1.05);
1361
+ // background-color: #FFFF0B;
1362
+ }
1363
+ }
1360
1364
  `;
1361
1365
  document.head.appendChild(style);
1362
1366
  }
@@ -2046,11 +2050,11 @@ function enableReorderDrag(element) {
2046
2050
  onDropToCategory(element, category);
2047
2051
  }
2048
2052
  if (divEl) {
2049
- const keyframes = `
2050
- @keyframes widthDecrease {
2051
- 0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
2052
- 100% { width: 0px; height: 0px;}
2053
- }
2053
+ const keyframes = `
2054
+ @keyframes widthDecrease {
2055
+ 0% { width: ${divEl.offsetWidth}px; height: ${divEl.offsetHeight}px; }
2056
+ 100% { width: 0px; height: 0px;}
2057
+ }
2054
2058
  `;
2055
2059
  const styleSheet = document.styleSheets[0];
2056
2060
  styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
@@ -2263,11 +2267,11 @@ function moveWithAnimation(target, overlapped) {
2263
2267
  const dummy = createDummyElement(target);
2264
2268
  dummy.style.visibility = 'hidden';
2265
2269
  dummy.setAttribute('type', 'dummy');
2266
- const keyframes = `
2267
- @keyframes widthIncrease {
2268
- 0% { width: 0px; height: 0px; }
2269
- 100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
2270
- }
2270
+ const keyframes = `
2271
+ @keyframes widthIncrease {
2272
+ 0% { width: 0px; height: 0px; }
2273
+ 100% { width: ${target.offsetWidth}px; height: ${target.offsetHeight}px;}
2274
+ }
2271
2275
  `;
2272
2276
  if (!overlapped) {
2273
2277
  const overlapCategory = findMostoverlappedElement(target, 'category');
@@ -2589,6 +2593,117 @@ const slideCompleted = (slideElement) => {
2589
2593
  }
2590
2594
  };
2591
2595
 
2596
+ const getContainerScale = (container) => {
2597
+ const transform = window.getComputedStyle(container).transform;
2598
+ if (!transform || transform === 'none')
2599
+ return 1;
2600
+ const matrix = new DOMMatrixReadOnly(transform);
2601
+ return matrix.a || 1;
2602
+ };
2603
+ const readPixelPosition = (value, fallback) => {
2604
+ const parsed = parseFloat(value);
2605
+ return Number.isFinite(parsed) ? parsed : fallback;
2606
+ };
2607
+ const getParentContainer = (element) => {
2608
+ var _a;
2609
+ return (_a = element.closest('lido-container')) !== null && _a !== void 0 ? _a : document.getElementById(LidoContainer);
2610
+ };
2611
+ function enableFreeMove(element) {
2612
+ var _a;
2613
+ const moveElement = element;
2614
+ (_a = moveElement.__lidoMoveCleanup) === null || _a === void 0 ? void 0 : _a.call(moveElement);
2615
+ const container = getParentContainer(element);
2616
+ if (!container)
2617
+ return;
2618
+ let isMoving = false;
2619
+ let didMove = false;
2620
+ let startX = 0;
2621
+ let startY = 0;
2622
+ let initialLeft = 0;
2623
+ let initialTop = 0;
2624
+ const onStart = (event) => {
2625
+ if (container.getAttribute('canplay') !== 'false')
2626
+ return;
2627
+ const point = event instanceof MouseEvent ? event : event.touches[0];
2628
+ if (!point)
2629
+ return;
2630
+ const computedStyle = window.getComputedStyle(element);
2631
+ if (computedStyle.position === 'static') {
2632
+ element.style.position = 'absolute';
2633
+ }
2634
+ isMoving = true;
2635
+ didMove = false;
2636
+ startX = point.clientX;
2637
+ startY = point.clientY;
2638
+ initialLeft = readPixelPosition(element.style.left || computedStyle.left, element.offsetLeft);
2639
+ initialTop = readPixelPosition(element.style.top || computedStyle.top, element.offsetTop);
2640
+ element.style.cursor = 'grabbing';
2641
+ element.style.transition = 'none';
2642
+ element.style.zIndex = element.style.zIndex || element.getAttribute('z') || '1';
2643
+ document.addEventListener('mousemove', onMove);
2644
+ document.addEventListener('mouseup', onEnd);
2645
+ document.addEventListener('touchmove', onMove, { passive: false });
2646
+ document.addEventListener('touchend', onEnd);
2647
+ };
2648
+ const onMove = (event) => {
2649
+ if (!isMoving)
2650
+ return;
2651
+ if (event.cancelable)
2652
+ event.preventDefault();
2653
+ const point = event instanceof MouseEvent ? event : event.touches[0];
2654
+ if (!point)
2655
+ return;
2656
+ didMove = true;
2657
+ const scale = getContainerScale(container);
2658
+ const nextLeft = initialLeft + (point.clientX - startX) / scale;
2659
+ const nextTop = initialTop + (point.clientY - startY) / scale;
2660
+ element.style.left = `${nextLeft}px`;
2661
+ element.style.top = `${nextTop}px`;
2662
+ };
2663
+ const removeDocumentListeners = () => {
2664
+ document.removeEventListener('mousemove', onMove);
2665
+ document.removeEventListener('mouseup', onEnd);
2666
+ document.removeEventListener('touchmove', onMove);
2667
+ document.removeEventListener('touchend', onEnd);
2668
+ };
2669
+ const onEnd = () => {
2670
+ if (!isMoving)
2671
+ return;
2672
+ isMoving = false;
2673
+ removeDocumentListeners();
2674
+ element.style.cursor = 'move';
2675
+ if (!didMove)
2676
+ return;
2677
+ element.setAttribute('x', element.style.left);
2678
+ element.setAttribute('y', element.style.top);
2679
+ };
2680
+ const preventMovedClick = (event) => {
2681
+ if (!didMove)
2682
+ return;
2683
+ event.preventDefault();
2684
+ event.stopPropagation();
2685
+ didMove = false;
2686
+ };
2687
+ const cleanup = () => {
2688
+ isMoving = false;
2689
+ removeDocumentListeners();
2690
+ element.removeEventListener('mousedown', onStart);
2691
+ element.removeEventListener('touchstart', onStart);
2692
+ element.removeEventListener('click', preventMovedClick, true);
2693
+ element.removeEventListener(LIDO_INTERACTION_CLEANUP_EVENT, cleanup);
2694
+ if (moveElement.__lidoMoveCleanup === cleanup) {
2695
+ delete moveElement.__lidoMoveCleanup;
2696
+ }
2697
+ };
2698
+ moveElement.__lidoMoveCleanup = cleanup;
2699
+ element.style.cursor = 'move';
2700
+ element.style.touchAction = 'none';
2701
+ element.addEventListener('mousedown', onStart);
2702
+ element.addEventListener('touchstart', onStart);
2703
+ element.addEventListener('click', preventMovedClick, true);
2704
+ element.addEventListener(LIDO_INTERACTION_CLEANUP_EVENT, cleanup);
2705
+ }
2706
+
2592
2707
  // This file is autogenerated. It's used to publish ESM to npm.
2593
2708
  function _typeof$1(obj) {
2594
2709
  "@babel/helpers - typeof";
@@ -71916,14 +72031,14 @@ const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
71916
72031
  /* ------------------ animation ------------------ */
71917
72032
  const animationToRemoveEquationSolvedCellForNimbleTable = (activeCell, container) => {
71918
72033
  return new Promise((resolve) => {
71919
- const keyframes = `
71920
- @keyframes widthDecrease {
71921
- 0% {
71922
- background-color: ${activeCell.style.backgroundColor};
71923
- height: ${activeCell.style.height};
71924
- margin: ${activeCell.style.margin};
71925
- }
71926
- 100% { background-color: transparent; height: 0px; margin: 0px; }
72034
+ const keyframes = `
72035
+ @keyframes widthDecrease {
72036
+ 0% {
72037
+ background-color: ${activeCell.style.backgroundColor};
72038
+ height: ${activeCell.style.height};
72039
+ margin: ${activeCell.style.margin};
72040
+ }
72041
+ 100% { background-color: transparent; height: 0px; margin: 0px; }
71927
72042
  }`;
71928
72043
  const styleSheet = document.styleSheets[0];
71929
72044
  styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
@@ -72418,6 +72533,9 @@ const initEventsForElement = async (element, type) => {
72418
72533
  }
72419
72534
  const onEntry = element.getAttribute('onEntry');
72420
72535
  await executeActions(onEntry, element);
72536
+ if (element.getAttribute('move') === 'true') {
72537
+ enableFreeMove(element);
72538
+ }
72421
72539
  switch (type) {
72422
72540
  case 'drag': {
72423
72541
  enableDraggingWithScaling(element);
@@ -72747,11 +72865,11 @@ const afterDropDragHandling = (dragElement, dropElement) => {
72747
72865
  }
72748
72866
  dummyElement.setAttribute('id', dragElement.getAttribute('id'));
72749
72867
  dragElement.replaceWith(dummyElement);
72750
- const keyframes = `
72751
- @keyframes widthDecrease {
72752
- 0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
72753
- 100% { width: 0px; height: 0px; margin: 0px;}
72754
- }
72868
+ const keyframes = `
72869
+ @keyframes widthDecrease {
72870
+ 0% { width: ${dragElement.style.width}; height: ${dragElement.style.height}; margin: ${dragElement.style.margin}; }
72871
+ 100% { width: 0px; height: 0px; margin: 0px;}
72872
+ }
72755
72873
  `;
72756
72874
  if (!isInfinite) {
72757
72875
  dummyElement.style.width = element.style.width;
@@ -72955,7 +73073,7 @@ const calculateScore = () => {
72955
73073
  gameScore.wrongMoves = 0;
72956
73074
  };
72957
73075
  async function onActivityComplete(dragElement, dropElement) {
72958
- var _a;
73076
+ var _a, _b;
72959
73077
  const container = document.getElementById(LidoContainer);
72960
73078
  if (!container)
72961
73079
  return;
@@ -72970,7 +73088,9 @@ async function onActivityComplete(dragElement, dropElement) {
72970
73088
  console.log("Right Moves : ", gameScore.rightMoves);
72971
73089
  console.log("Wrong Moves : ", gameScore.wrongMoves);
72972
73090
  }
72973
- const onCorrect = dropElement.getAttribute('onCorrect');
73091
+ const onCorrect = ((_a = container.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.EnableAnimation.toLowerCase()
73092
+ ? ''
73093
+ : dropElement.getAttribute('onCorrect');
72974
73094
  if (onCorrect) {
72975
73095
  await executeActions(onCorrect, dropElement, dragElement);
72976
73096
  }
@@ -72995,7 +73115,7 @@ async function onActivityComplete(dragElement, dropElement) {
72995
73115
  const sortedValues = getSortedValuesArrayFromMap(dragScore);
72996
73116
  container.setAttribute(SelectedValuesKey, JSON.stringify(sortedValues));
72997
73117
  //localStorage
72998
- let drag = JSON.parse((_a = localStorage.getItem(DragMapKey)) !== null && _a !== void 0 ? _a : '{}');
73118
+ let drag = JSON.parse((_b = localStorage.getItem(DragMapKey)) !== null && _b !== void 0 ? _b : '{}');
72999
73119
  const index = dropElement.getAttribute('tab-index');
73000
73120
  if (!drag[index]) {
73001
73121
  drag[index] = [];
@@ -73079,7 +73199,7 @@ const storeActivityScore = (score) => {
73079
73199
  }
73080
73200
  };
73081
73201
  const handleShowCheck = () => {
73082
- var _a, _b;
73202
+ var _a, _b, _c;
73083
73203
  const container = document.getElementById(LidoContainer);
73084
73204
  const objectiveString = container['objective'];
73085
73205
  const selectValues = (_a = container.getAttribute(SelectedValuesKey)) !== null && _a !== void 0 ? _a : '';
@@ -73093,7 +73213,7 @@ const handleShowCheck = () => {
73093
73213
  (_b = checkButton === null || checkButton === void 0 ? void 0 : checkButton.classList) === null || _b === void 0 ? void 0 : _b.remove('lido-disable-check-button');
73094
73214
  }
73095
73215
  else {
73096
- if (!container.getAttribute("game-completed") && !container.querySelector("[type='slide']") && !container.querySelector("[type='category']")) {
73216
+ if (!container.getAttribute("game-completed") && !container.querySelector("[type='slide']") && !container.querySelector("[type='category']") && ((_c = container.getAttribute('dropAttr')) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== DropMode.EnableAnimation.toLowerCase()) {
73097
73217
  validateObjectiveStatus();
73098
73218
  }
73099
73219
  }
@@ -2,7 +2,7 @@ const NAMESPACE = 'lido-player';
2
2
  const BUILD = /* lido-player */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
3
3
 
4
4
  const globalScripts = () => {};
5
- 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;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}";
5
+ 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;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}";
6
6
 
7
7
  /*
8
8
  Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { $ as format } from './index-Dki_0kla.js';
2
- import './index-Dfj4noku.js';
1
+ export { $ as format } from './index-BswlHnsY.js';
2
+ import './index-Dq-Z8Dx0.js';