lido-player 0.0.2-alpha-58-dev → 0.0.2-alpha-59-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 (143) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/lido-avatar_22.cjs.entry.js +94 -34
  3. package/dist/cjs/lido-player.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-470fe410.js → utils-03573882.js} +141 -107
  6. package/dist/collection/components/container/lido-container.js +60 -3
  7. package/dist/collection/components/flashCard/lido-flash-card.js +10 -1
  8. package/dist/collection/components/float/lido-float.js +1 -1
  9. package/dist/collection/components/home/lido-home.js +22 -12
  10. package/dist/collection/components/keyboard/lido-keyboard.js +2 -2
  11. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  12. package/dist/collection/components/position/lido-pos.js +1 -1
  13. package/dist/collection/components/random/lido-random.js +1 -1
  14. package/dist/collection/components/row/lido-row.js +1 -1
  15. package/dist/collection/components/scale/lido-balance.js +1 -1
  16. package/dist/collection/components/shape/lido-shape.js +2 -2
  17. package/dist/collection/components/slideFill/lido-slide-fill.js +1 -1
  18. package/dist/collection/components/text/lido-text.js +1 -1
  19. package/dist/collection/components/trace/lido-trace.js +18 -7
  20. package/dist/collection/components/wrap/lido-wrap.js +1 -1
  21. package/dist/collection/css/animation.css +17 -0
  22. package/dist/collection/css/index.css +1 -1
  23. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +3 -3
  24. package/dist/collection/stories/Templates/balancing/balancing.stories.js +1 -1
  25. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +74 -44
  26. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +4 -4
  27. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +91 -0
  28. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +84 -0
  29. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +0 -2
  30. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +0 -2
  31. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +106 -0
  32. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +91 -0
  33. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +86 -0
  34. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +131 -0
  35. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +61 -0
  36. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +87 -0
  37. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +72 -0
  38. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +61 -0
  39. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +60 -0
  40. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +73 -0
  41. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +88 -0
  42. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +88 -0
  43. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +66 -0
  44. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +1 -1
  45. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +7 -7
  46. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +1 -1
  47. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +2 -2
  48. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +2 -2
  49. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +111 -0
  50. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +70 -0
  51. package/dist/collection/stories/Templates/total/total.stories.js +2 -0
  52. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +76 -0
  53. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +74 -0
  54. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +1 -1
  55. package/dist/collection/utils/constants.js +2 -1
  56. package/dist/collection/utils/utils.js +10 -4
  57. package/dist/collection/utils/utilsHandlers/clickHandler.js +2 -0
  58. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +24 -20
  59. package/dist/collection/utils/utilsHandlers/highlightHandler.js +50 -2
  60. package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +5 -4
  61. package/dist/components/index.js +1 -1
  62. package/dist/components/lido-avatar.js +1 -1
  63. package/dist/components/lido-balance.js +1 -1
  64. package/dist/components/lido-calculator.js +1 -1
  65. package/dist/components/lido-canvas.js +1 -1
  66. package/dist/components/lido-cell.js +1 -1
  67. package/dist/components/lido-col.js +1 -1
  68. package/dist/components/lido-container.js +1 -1
  69. package/dist/components/lido-flash-card.js +1 -1
  70. package/dist/components/lido-float.js +1 -1
  71. package/dist/components/lido-home.js +1 -1
  72. package/dist/components/lido-image.js +1 -1
  73. package/dist/components/lido-keyboard.js +1 -1
  74. package/dist/components/lido-math-matrix.js +1 -1
  75. package/dist/components/lido-pos.js +1 -1
  76. package/dist/components/lido-random.js +1 -1
  77. package/dist/components/lido-root.js +22 -23
  78. package/dist/components/lido-row.js +1 -1
  79. package/dist/components/lido-shape.js +1 -1
  80. package/dist/components/lido-slide-fill.js +1 -1
  81. package/dist/components/lido-text.js +1 -1
  82. package/dist/components/lido-trace.js +1 -1
  83. package/dist/components/lido-wrap.js +1 -1
  84. package/dist/components/{p-73e3f0f4.js → p-2bb1f74d.js} +203 -1
  85. package/dist/components/{p-53a7d4cb.js → p-33b83222.js} +1 -1
  86. package/dist/components/{p-6953efe0.js → p-3513b1f3.js} +140 -108
  87. package/dist/components/{p-97ddbda4.js → p-356e56bd.js} +2 -2
  88. package/dist/components/{p-bc7835fc.js → p-49ccf573.js} +18 -7
  89. package/dist/components/{p-f36d02e9.js → p-4d9462ab.js} +4 -4
  90. package/dist/components/{p-6f91a337.js → p-5aa24314.js} +2 -2
  91. package/dist/components/{p-348f95ba.js → p-5c990168.js} +45 -6
  92. package/dist/components/{p-ee4759de.js → p-5eeaccab.js} +2 -2
  93. package/dist/components/{p-9c7f08c4.js → p-6819005f.js} +11 -2
  94. package/dist/components/{p-8c526c86.js → p-6bbad90f.js} +2 -2
  95. package/dist/components/{p-f729ff82.js → p-73e4bb01.js} +41 -33
  96. package/dist/components/{p-17cdbc3d.js → p-84302365.js} +1 -1
  97. package/dist/components/{p-6f451328.js → p-99fcbae4.js} +1 -1
  98. package/dist/components/{p-0fa0ada9.js → p-9b35082a.js} +2 -2
  99. package/dist/components/{p-822b692a.js → p-ad0f335e.js} +2 -2
  100. package/dist/components/{p-67d97edc.js → p-aff68c41.js} +3 -3
  101. package/dist/components/{p-984ef5d1.js → p-d9b17242.js} +2 -2
  102. package/dist/components/{p-9eb8593c.js → p-de62d08e.js} +3 -3
  103. package/dist/components/{p-cfde157c.js → p-e8e9250e.js} +2 -2
  104. package/dist/components/{p-d0c4d5a7.js → p-f238004e.js} +2 -2
  105. package/dist/components/{p-c62da3ed.js → p-f9426cbe.js} +1 -1
  106. package/dist/esm/index.js +1 -1
  107. package/dist/esm/lido-avatar_22.entry.js +94 -34
  108. package/dist/esm/lido-player.js +1 -1
  109. package/dist/esm/loader.js +1 -1
  110. package/dist/esm/{utils-d0f004f8.js → utils-3995d2d5.js} +140 -108
  111. package/dist/lido-player/index.esm.js +1 -1
  112. package/dist/lido-player/lido-player.css +1 -1
  113. package/dist/lido-player/lido-player.esm.js +1 -1
  114. package/dist/lido-player/p-75daccb0.entry.js +1 -0
  115. package/dist/lido-player/{p-bde62361.js → p-aee89fba.js} +2 -2
  116. package/dist/types/components/container/lido-container.d.ts +15 -2
  117. package/dist/types/components/trace/lido-trace.d.ts +3 -3
  118. package/dist/types/components.d.ts +10 -2
  119. package/dist/types/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.d.ts +4 -0
  120. package/dist/types/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.d.ts +4 -0
  121. package/dist/types/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.d.ts +11 -0
  122. package/dist/types/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.d.ts +12 -0
  123. package/dist/types/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.d.ts +4 -0
  124. package/dist/types/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.d.ts +5 -0
  125. package/dist/types/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.d.ts +4 -0
  126. package/dist/types/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.d.ts +4 -0
  127. package/dist/types/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.d.ts +4 -0
  128. package/dist/types/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.d.ts +4 -0
  129. package/dist/types/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.d.ts +4 -0
  130. package/dist/types/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.d.ts +4 -0
  131. package/dist/types/stories/Templates/pictureClues/pictureClues.stories.d.ts +4 -0
  132. package/dist/types/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.d.ts +4 -0
  133. package/dist/types/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.d.ts +4 -0
  134. package/dist/types/stories/Templates/substraction/substractionWithimg.stories.d.ts +4 -0
  135. package/dist/types/stories/Templates/substraction/substractionWithoutImg.stories.d.ts +4 -0
  136. package/dist/types/stories/Templates/wordBuilding/wordBuildingwithimg.stories.d.ts +4 -0
  137. package/dist/types/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.d.ts +4 -0
  138. package/dist/types/utils/constants.d.ts +9 -1
  139. package/dist/types/utils/utils.d.ts +1 -0
  140. package/dist/types/utils/utilsHandlers/highlightHandler.d.ts +1 -0
  141. package/package.json +1 -1
  142. package/dist/components/p-0e645e5b.js +0 -204
  143. package/dist/lido-player/p-06248bc2.entry.js +0 -1
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy(JSON.parse("[[\"lido-avatar_22.cjs\",[[0,\"lido-root\",{\"locale\":[1],\"xmlPath\":[1,\"xml-path\"],\"initialIndex\":[2,\"initial-index\"],\"margin\":[1],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"xmlData\":[32]},null,{\"locale\":[\"onLangChange\"]}],[0,\"lido-home\",{\"commonAudioPath\":[1,\"common-audio-path\"],\"showNav\":[4,\"show-nav\"],\"activeContainerIndexes\":[16],\"locale\":[1],\"xmlData\":[1,\"xml-data\"],\"initialIndex\":[2,\"initial-index\"],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"height\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"avatarUrl\":[1,\"avatar-url\"],\"uuid\":[1],\"navBarIcons\":[32],\"currentContainerIndex\":[32],\"exitFlag\":[32],\"containers\":[32],\"showDotsandbtn\":[32]},null,{\"locale\":[\"onLangChange\"],\"commonAudioPath\":[\"onCommonAudioPathChange\"],\"xmlData\":[\"onXmlDataChange\"]}],[0,\"lido-calculator\",{\"width\":[1],\"visible\":[8],\"height\":[1],\"objective\":[1],\"onEntry\":[1,\"on-entry\"],\"x\":[1],\"y\":[1],\"bgColor\":[1,\"bg-color\"],\"penIcon\":[1,\"pen-icon\"],\"displayValue\":[32],\"style\":[32]}],[1,\"lido-canvas\",{\"bgImage\":[1,\"bg-image\"],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"onEntry\":[1,\"on-entry\"],\"style\":[32]}],[0,\"lido-keyboard\",{\"keys\":[1],\"width\":[1],\"height\":[1],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"fontFamily\":[1,\"font-family\"],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"borderRadius\":[1,\"border-radius\"],\"y\":[1],\"x\":[1],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"onEntry\":[1,\"on-entry\"],\"type\":[1],\"keyboardInput\":[4,\"keyboard-input\"],\"columns\":[1],\"letterLength\":[2,\"letter-length\"],\"disableSpeak\":[4,\"disable-speak\"],\"numberOfClick\":[32],\"inputString\":[32],\"style\":[32]}],[0,\"lido-avatar\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"src\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"]}],[0,\"lido-balance\",{\"pivotimage\":[1],\"scaleimage\":[1],\"handlerimage\":[1],\"fill\":[1],\"tilt\":[2],\"maxTilt\":[2,\"max-tilt\"],\"onEntry\":[1,\"on-entry\"],\"height\":[1],\"width\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"balanceSymbol\":[1537,\"balance-symbol\"],\"showSymbol\":[1540,\"show-symbol\"],\"operation\":[1],\"pivotSvg\":[32],\"scaleSvg\":[32],\"handlerSvg\":[32],\"style\":[32],\"tiltf\":[32],\"leftVal\":[32],\"rightVal\":[32],\"revealSymbol\":[64],\"hideSymbol\":[64],\"updateTilt\":[64]},null,{\"tilt\":[\"tiltChanged\"]}],[4,\"lido-col\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"borderImage\":[1,\"border-image\"],\"boxShadow\":[1,\"box-shadow\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-container\",{\"locale\":[1],\"showDropBorder\":[4,\"show-drop-border\"],\"appendToDropOnCompletion\":[4,\"append-to-drop-on-completion\"],\"id\":[1],\"objective\":[1],\"customStyle\":[1,\"custom-style\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"bgImage\":[1,\"bg-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"canplay\":[4],\"showCheck\":[4,\"show-check\"],\"isContinueOnCorrect\":[4,\"is-continue-on-correct\"],\"isAllowOnlyCorrect\":[4,\"is-allow-only-correct\"],\"baseUrl\":[1,\"base-url\"],\"margin\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"showPrevButton\":[1,\"show-prev-button\"],\"showNextButton\":[1,\"show-next-button\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"]},null,{\"locale\":[\"languageChanged\"]}],[4,\"lido-flash-card\",{\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"direction\":[1],\"display\":[1],\"front\":[8],\"back\":[8],\"flipped\":[1540],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"delayVisible\":[1,\"delay-visible\"],\"style\":[32]},null,{\"flipped\":[\"handleFlippedChange\"]}],[4,\"lido-float\",{\"id\":[1],\"value\":[1],\"z\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"onEntry\":[1,\"on-entry\"],\"width\":[1],\"height\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"delayVisible\":[1,\"delay-visible\"],\"floatDirection\":[1,\"float-direction\"],\"style\":[32]}],[0,\"lido-image\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"src\":[1],\"isSlice\":[1,\"is-slice\"],\"sliceWidth\":[1,\"slice-width\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"filter\":[1],\"borderRadius\":[1,\"border-radius\"],\"transform\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-math-matrix\",{\"rows\":[1],\"cols\":[1],\"defualtFill\":[1538,\"defualt-fill\"],\"leftIndex\":[4,\"left-index\"],\"topIndex\":[4,\"top-index\"],\"bottomIndex\":[4,\"bottom-index\"],\"clickable\":[4],\"activeOnlyVisible\":[4,\"active-only-visible\"],\"matrixImage\":[1,\"matrix-image\"],\"activeBgColor\":[1537,\"active-bg-color\"],\"deactiveBgColor\":[1537,\"deactive-bg-color\"],\"border\":[1537],\"height\":[1537],\"width\":[1537],\"borderRadius\":[1,\"border-radius\"],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"text\":[1],\"type\":[1],\"value\":[1],\"tabIndex\":[2,\"tab-index\"],\"x\":[1],\"y\":[1],\"fontColor\":[1,\"font-color\"],\"onCorrect\":[1,\"on-correct\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onEntry\":[1,\"on-entry\"],\"previousFilledSlot\":[32],\"previousFilledSlotElement\":[32],\"style\":[32]}],[4,\"lido-pos\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-random\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1]}],[4,\"lido-row\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"display\":[1],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-shape\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"shapeType\":[1,\"shape-type\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-slide-fill\",{\"id\":[1],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"fill\":[1],\"numberType\":[1,\"number-type\"],\"min\":[2],\"division\":[2],\"max\":[2],\"slider\":[4],\"src\":[1],\"fillDirection\":[1,\"fill-direction\"],\"type\":[1],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgContent\":[32],\"style\":[32]},null,{\"src\":[\"onSrcChange\"],\"fill\":[\"onPropChange\"],\"division\":[\"onPropChange\"],\"fillDirection\":[\"onPropChange\"],\"numberType\":[\"onPropChange\"],\"min\":[\"onPropChange\"],\"max\":[\"onPropChange\"]}],[0,\"lido-trace\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"svgSource\":[1,\"svg-source\"],\"value\":[1],\"height\":[1],\"width\":[1],\"audio\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"tabIndex\":[2,\"tab-index\"],\"mode\":[1],\"fingerHintUrl\":[1,\"finger-hint-url\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"highlightTextId\":[1,\"highlight-text-id\"],\"animationTrace\":[4,\"animation-trace\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgUrls\":[32],\"audioUrls\":[32],\"currentSvgIndex\":[32],\"moving\":[32],\"style\":[32],\"fileIndex\":[32],\"isDragging\":[32],\"activePointerId\":[32],\"freeTraceUpdateCounter\":[32],\"idleTimer\":[32],\"fingerImg\":[32]},null,{\"svgSource\":[\"initializeSVG\"],\"mode\":[\"initializeSVG\"]}],[4,\"lido-wrap\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"flex\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[4,\"lido-cell\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"scrollbarWidth\":[1,\"scrollbar-width\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[1],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"layout\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"alignItems\":[1,\"align-items\"],\"borderRadius\":[1,\"border-radius\"],\"flexDirection\":[1,\"flex-direction\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-text\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"string\":[1],\"fontFamily\":[1,\"font-family\"],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"highlightWhileSpeaking\":[4,\"highlight-while-speaking\"],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"borderImage\":[1,\"border-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"onEntry\":[1,\"on-entry\"],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"spanType\":[1,\"span-type\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}]]]]"), options);
11
+ return index.bootstrapLazy(JSON.parse("[[\"lido-avatar_22.cjs\",[[0,\"lido-root\",{\"locale\":[1],\"xmlPath\":[1,\"xml-path\"],\"initialIndex\":[2,\"initial-index\"],\"margin\":[1],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"xmlData\":[32]},null,{\"locale\":[\"onLangChange\"]}],[0,\"lido-home\",{\"commonAudioPath\":[1,\"common-audio-path\"],\"showNav\":[4,\"show-nav\"],\"activeContainerIndexes\":[16],\"locale\":[1],\"xmlData\":[1,\"xml-data\"],\"initialIndex\":[2,\"initial-index\"],\"canplay\":[4],\"baseUrl\":[1,\"base-url\"],\"height\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"avatarUrl\":[1,\"avatar-url\"],\"uuid\":[1],\"navBarIcons\":[32],\"currentContainerIndex\":[32],\"exitFlag\":[32],\"containers\":[32],\"showDotsandbtn\":[32]},null,{\"locale\":[\"onLangChange\"],\"commonAudioPath\":[\"onCommonAudioPathChange\"],\"xmlData\":[\"onXmlDataChange\"]}],[0,\"lido-calculator\",{\"width\":[1],\"visible\":[8],\"height\":[1],\"objective\":[1],\"onEntry\":[1,\"on-entry\"],\"x\":[1],\"y\":[1],\"bgColor\":[1,\"bg-color\"],\"penIcon\":[1,\"pen-icon\"],\"displayValue\":[32],\"style\":[32]}],[1,\"lido-canvas\",{\"bgImage\":[1,\"bg-image\"],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"onEntry\":[1,\"on-entry\"],\"style\":[32]}],[4,\"lido-container\",{\"locale\":[1],\"showDropBorder\":[4,\"show-drop-border\"],\"appendToDropOnCompletion\":[4,\"append-to-drop-on-completion\"],\"id\":[1],\"objective\":[1],\"customStyle\":[1,\"custom-style\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"bgImage\":[1,\"bg-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"canplay\":[4],\"showCheck\":[4,\"show-check\"],\"isContinueOnCorrect\":[4,\"is-continue-on-correct\"],\"isAllowOnlyCorrect\":[4,\"is-allow-only-correct\"],\"baseUrl\":[1,\"base-url\"],\"margin\":[1],\"exitButtonUrl\":[1,\"exit-button-url\"],\"prevButtonUrl\":[1,\"prev-button-url\"],\"nextButtonUrl\":[1,\"next-button-url\"],\"speakerButtonUrl\":[1,\"speaker-button-url\"],\"showPrevButton\":[1,\"show-prev-button\"],\"showNextButton\":[1,\"show-next-button\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"templateId\":[1,\"template-id\"],\"instructName\":[32],\"speakFlag\":[32]},null,{\"locale\":[\"languageChanged\"]}],[0,\"lido-keyboard\",{\"keys\":[1],\"width\":[1],\"height\":[1],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"fontFamily\":[1,\"font-family\"],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"borderRadius\":[1,\"border-radius\"],\"y\":[1],\"x\":[1],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"onEntry\":[1,\"on-entry\"],\"type\":[1],\"keyboardInput\":[4,\"keyboard-input\"],\"columns\":[1],\"letterLength\":[2,\"letter-length\"],\"disableSpeak\":[4,\"disable-speak\"],\"numberOfClick\":[32],\"inputString\":[32],\"style\":[32]}],[0,\"lido-avatar\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"src\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"]}],[0,\"lido-balance\",{\"pivotimage\":[1],\"scaleimage\":[1],\"handlerimage\":[1],\"fill\":[1],\"tilt\":[2],\"maxTilt\":[2,\"max-tilt\"],\"onEntry\":[1,\"on-entry\"],\"height\":[1],\"width\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"balanceSymbol\":[1537,\"balance-symbol\"],\"showSymbol\":[1540,\"show-symbol\"],\"operation\":[1],\"pivotSvg\":[32],\"scaleSvg\":[32],\"handlerSvg\":[32],\"style\":[32],\"tiltf\":[32],\"leftVal\":[32],\"rightVal\":[32],\"revealSymbol\":[64],\"hideSymbol\":[64],\"updateTilt\":[64]},null,{\"tilt\":[\"tiltChanged\"]}],[4,\"lido-col\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"borderImage\":[1,\"border-image\"],\"boxShadow\":[1,\"box-shadow\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-flash-card\",{\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"direction\":[1],\"display\":[1],\"front\":[8],\"back\":[8],\"flipped\":[1540],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"delayVisible\":[1,\"delay-visible\"],\"style\":[32]},null,{\"flipped\":[\"handleFlippedChange\"]}],[4,\"lido-float\",{\"id\":[1],\"value\":[1],\"z\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"onEntry\":[1,\"on-entry\"],\"width\":[1],\"height\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"delayVisible\":[1,\"delay-visible\"],\"floatDirection\":[1,\"float-direction\"],\"style\":[32]}],[0,\"lido-image\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"src\":[1],\"isSlice\":[1,\"is-slice\"],\"sliceWidth\":[1,\"slice-width\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"filter\":[1],\"borderRadius\":[1,\"border-radius\"],\"transform\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-math-matrix\",{\"rows\":[1],\"cols\":[1],\"defualtFill\":[1538,\"defualt-fill\"],\"leftIndex\":[4,\"left-index\"],\"topIndex\":[4,\"top-index\"],\"bottomIndex\":[4,\"bottom-index\"],\"clickable\":[4],\"activeOnlyVisible\":[4,\"active-only-visible\"],\"matrixImage\":[1,\"matrix-image\"],\"activeBgColor\":[1537,\"active-bg-color\"],\"deactiveBgColor\":[1537,\"deactive-bg-color\"],\"border\":[1537],\"height\":[1537],\"width\":[1537],\"borderRadius\":[1,\"border-radius\"],\"z\":[1],\"margin\":[1],\"padding\":[1],\"visible\":[1],\"text\":[1],\"type\":[1],\"value\":[1],\"tabIndex\":[2,\"tab-index\"],\"x\":[1],\"y\":[1],\"fontColor\":[1,\"font-color\"],\"onCorrect\":[1,\"on-correct\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onEntry\":[1,\"on-entry\"],\"previousFilledSlot\":[32],\"previousFilledSlotElement\":[32],\"style\":[32]}],[4,\"lido-pos\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"style\":[32]}],[4,\"lido-random\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1]}],[4,\"lido-row\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"direction\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"display\":[1],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-shape\",{\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"shapeType\":[1,\"shape-type\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-slide-fill\",{\"id\":[1],\"width\":[1],\"height\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"visible\":[8],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"fill\":[1],\"numberType\":[1,\"number-type\"],\"min\":[2],\"division\":[2],\"max\":[2],\"slider\":[4],\"src\":[1],\"fillDirection\":[1,\"fill-direction\"],\"type\":[1],\"onEntry\":[1,\"on-entry\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgContent\":[32],\"style\":[32]},null,{\"src\":[\"onSrcChange\"],\"fill\":[\"onPropChange\"],\"division\":[\"onPropChange\"],\"fillDirection\":[\"onPropChange\"],\"numberType\":[\"onPropChange\"],\"min\":[\"onPropChange\"],\"max\":[\"onPropChange\"]}],[0,\"lido-trace\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"svgSource\":[1,\"svg-source\"],\"value\":[1],\"height\":[1],\"width\":[1],\"audio\":[1],\"x\":[1],\"y\":[1],\"z\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"tabIndex\":[2,\"tab-index\"],\"mode\":[1],\"fingerHintUrl\":[1,\"finger-hint-url\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"highlightTextId\":[1,\"highlight-text-id\"],\"animationTrace\":[4,\"animation-trace\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"svgUrls\":[32],\"audioUrls\":[32],\"currentSvgIndex\":[32],\"moving\":[32],\"style\":[32],\"fileIndex\":[32],\"isDragging\":[32],\"activePointerId\":[32],\"freeTraceUpdateCounter\":[32],\"idleTimer\":[32],\"fingerImg\":[32]},null,{\"svgSource\":[\"initializeSVG\"],\"mode\":[\"initializeSVG\"]}],[4,\"lido-wrap\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[4],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"flex\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[4,\"lido-cell\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"scrollbarWidth\":[1,\"scrollbar-width\"],\"id\":[1],\"value\":[1],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"gap\":[1],\"bgColor\":[1,\"bg-color\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[1],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"onEntry\":[1,\"on-entry\"],\"childElementsLength\":[2,\"child-elements-length\"],\"minLength\":[2,\"min-length\"],\"maxLength\":[2,\"max-length\"],\"layout\":[1],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"margin\":[1],\"padding\":[1],\"alignItems\":[1,\"align-items\"],\"borderRadius\":[1,\"border-radius\"],\"flexDirection\":[1,\"flex-direction\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}],[0,\"lido-text\",{\"showSpeakIcon\":[4,\"show-speak-icon\"],\"id\":[1],\"value\":[1],\"string\":[1],\"fontFamily\":[1,\"font-family\"],\"fontSize\":[1,\"font-size\"],\"fontColor\":[1,\"font-color\"],\"highlightWhileSpeaking\":[4,\"highlight-while-speaking\"],\"height\":[1],\"width\":[1],\"ariaLabel\":[1,\"aria-label\"],\"ariaHidden\":[1,\"aria-hidden\"],\"x\":[1],\"y\":[1],\"z\":[1],\"bgColor\":[1,\"bg-color\"],\"borderImage\":[1,\"border-image\"],\"type\":[1],\"tabIndex\":[2,\"tab-index\"],\"visible\":[8],\"audio\":[1],\"onTouch\":[1,\"on-touch\"],\"onInCorrect\":[1,\"on-in-correct\"],\"onCorrect\":[1,\"on-correct\"],\"minDrops\":[2,\"min-drops\"],\"maxDrops\":[2,\"max-drops\"],\"onEntry\":[1,\"on-entry\"],\"margin\":[1],\"padding\":[1],\"borderRadius\":[1,\"border-radius\"],\"spanType\":[1,\"span-type\"],\"delayVisible\":[1,\"delay-visible\"],\"disableSpeak\":[4,\"disable-speak\"],\"style\":[32]}]]]]"), options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -20,6 +20,7 @@ const DropTimeAttr = 'drop-time';
20
20
  const LidoContainer = 'lido-container';
21
21
  const LIDO_COMMON_AUDIO_PATH = '__LIDO_COMMON_AUDIO_PATH__';
22
22
  const LIDO_COMMON_AUDIO_READY_EVENT = 'lidoCommonAudioPathReady';
23
+ const TemplateID = 'template-id';
23
24
  exports.TraceMode = void 0;
24
25
  (function (TraceMode) {
25
26
  TraceMode["NoFlow"] = "noFlow";
@@ -51,7 +52,7 @@ exports.DropAction = void 0;
51
52
  const exitUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Close.svg';
52
53
  const prevUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Previous.svg';
53
54
  const nextUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Next.svg';
54
- const speakUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/Audio%20icon.svg';
55
+ const speakUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/audio.png';
55
56
  const fingerUrl = 'https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/trace/Tracing-hand.svg';
56
57
 
57
58
  function dispatchCustomEvent(eventName, detail) {
@@ -104,64 +105,6 @@ class RiveService {
104
105
  }
105
106
  }
106
107
 
107
- function removeHighlight(element) {
108
- element.classList.remove('highlight');
109
- element.ariaPressed = 'false';
110
- }
111
- // Function to highlight the speaking element
112
- function highlightSpeakingElement(element) {
113
- if (!element)
114
- return;
115
- // Add a custom class for highlighting
116
- element.classList.add('speaking-highlight');
117
- // Inject keyframe animation and class styles into the document's head if it doesn't already exist
118
- const styleId = '#speaking-highlight-style';
119
- if (!document.querySelector(styleId)) {
120
- const style = document.createElement('style');
121
- style.id = styleId;
122
- style.innerHTML = `
123
- .speaking-highlight {
124
- --base-transform: ${element.style.transform};
125
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
126
- // border: 3px solid green !important;
127
- // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
128
- // transform: scale(1.05); /* Subtle scale effect to pop the element */
129
- // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
130
-
131
- }
132
-
133
- @keyframes pulseEffect {
134
- 0% {
135
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
136
- // transform: var(--base-transform) scale(1.05);
137
- // background-color: #FFFF0B;
138
- }
139
- 50% {
140
- box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
141
- // transform: var(--base-transform) scale(1.1);
142
- // background-color: #FFFF0B;
143
- }
144
- 100% {
145
- box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
146
- // transform: var(--base-transform) scale(1.05);
147
- // background-color: #FFFF0B;
148
- }
149
- }
150
- `;
151
- document.head.appendChild(style);
152
- }
153
- }
154
- // Function to stop highlighting
155
- function stopHighlightForSpeakingElement(element) {
156
- if (!element)
157
- return;
158
- // Remove the custom class for highlighting
159
- element.classList.remove('speaking-highlight');
160
- // Remove inline styles
161
- // element.style.boxShadow = '';
162
- // element.style.border = '';
163
- }
164
-
165
108
  function updateBalanceOnDrop(dragElement, dropElement) {
166
109
  const balanceEl = document.querySelector('lido-balance');
167
110
  if (!balanceEl)
@@ -177,7 +120,7 @@ function updateBalanceOnDrop(dragElement, dropElement) {
177
120
  }
178
121
  function calculateValue(elements, operation) {
179
122
  if (elements.length === 0)
180
- return null;
123
+ return 0;
181
124
  if (operation === "count") {
182
125
  return elements.length;
183
126
  }
@@ -209,15 +152,18 @@ function calculateValue(elements, operation) {
209
152
  }
210
153
  }
211
154
  function balanceResult(container, objectiveString) {
155
+ var _a, _b, _c, _d, _e, _f;
212
156
  const additionalCheck = container.getAttribute('equationCheck');
213
157
  if (!additionalCheck)
214
158
  return false;
215
159
  const balanceEl = document.querySelector('lido-balance');
216
160
  if (!balanceEl)
217
161
  return false;
218
- const leftVal = balanceEl.leftVal;
219
- const rightVal = balanceEl.rightVal;
220
- if (leftVal == null || rightVal == null) {
162
+ const leftVal = Number((_c = (_a = balanceEl.leftVal) !== null && _a !== void 0 ? _a : (_b = balanceEl.dataset) === null || _b === void 0 ? void 0 : _b.leftVal) !== null && _c !== void 0 ? _c : 0);
163
+ const rightVal = Number((_f = (_d = balanceEl.rightVal) !== null && _d !== void 0 ? _d : (_e = balanceEl.dataset) === null || _e === void 0 ? void 0 : _e.rightVal) !== null && _f !== void 0 ? _f : 0);
164
+ const hasLeft = !isNaN(leftVal);
165
+ const hasRight = !isNaN(rightVal);
166
+ if (!hasLeft || !hasRight) {
221
167
  return false;
222
168
  }
223
169
  const symbol = leftVal > rightVal ? '>' : leftVal < rightVal ? '<' : '=';
@@ -488,20 +434,14 @@ function enableDraggingWithScaling(element) {
488
434
  const storedTabIndexes = Object.keys(dropObject).map(Number);
489
435
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
490
436
  if (!(((_a = element.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
491
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
492
- otherElement.style.border = ''; // Reset border
493
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
494
- }
437
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
495
438
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
496
439
  otherElement.style.opacity = '0';
497
440
  }
498
441
  }
499
442
  }
500
443
  else {
501
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
502
- otherElement.style.border = ''; // Reset border
503
- otherElement.style.backgroundColor = ''; // Reset background color
504
- }
444
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
505
445
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
506
446
  otherElement.style.opacity = '1';
507
447
  }
@@ -509,10 +449,7 @@ function enableDraggingWithScaling(element) {
509
449
  });
510
450
  // Apply styles only to the most overlapped element
511
451
  if (mostOverlappedElement) {
512
- if (mostOverlappedElement.tagName.toLowerCase() === 'lido-text') {
513
- mostOverlappedElement.style.border = '2px dashed #ff0000'; // Red dashed border
514
- mostOverlappedElement.style.backgroundColor = 'rgba(255, 0, 0, 0.1)'; // Light red background
515
- }
452
+ if (mostOverlappedElement.tagName.toLowerCase() === 'lido-text') ;
516
453
  else {
517
454
  if (!document.getElementById('unitsDrop') || !document.getElementById('tensDrop') || !document.getElementById('hundredsDrop')) {
518
455
  mostOverlappedElement.style.opacity = '0.3';
@@ -548,10 +485,7 @@ function enableDraggingWithScaling(element) {
548
485
  const storedTabIndexes = Object.keys(dropObject).map(Number);
549
486
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
550
487
  if (!(((_a = element.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
551
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
552
- otherElement.style.border = ''; // Reset border
553
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
554
- }
488
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
555
489
  else if (otherElement.tagName.toLowerCase() === 'lido-image') {
556
490
  otherElement.style.opacity = '0';
557
491
  }
@@ -561,10 +495,7 @@ function enableDraggingWithScaling(element) {
561
495
  }
562
496
  }
563
497
  else {
564
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
565
- otherElement.style.border = ''; // Reset border
566
- otherElement.style.backgroundColor = ''; // Reset background color
567
- }
498
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
568
499
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
569
500
  otherElement.style.opacity = '1';
570
501
  }
@@ -712,6 +643,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
712
643
  let prevDropItem = Object.values(dropHasDrag).find(item => document.getElementById(item.drop) === currentDrop);
713
644
  if (prevDropItem) {
714
645
  prevDropItem.isFull = false;
646
+ highlightElement();
715
647
  // container.setAttribute(DropHasDrag, JSON.stringify(dropHasDrag));
716
648
  const dropEl = document.getElementById(prevDropItem.drop);
717
649
  if (dropEl) {
@@ -743,9 +675,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
743
675
  const storedTabIndexes = Object.keys(dropObject).map(Number);
744
676
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
745
677
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
746
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
747
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
748
- }
678
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
749
679
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
750
680
  otherElement.style.opacity = '0';
751
681
  otherElement.style.backgroundColor = 'transparent';
@@ -753,9 +683,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
753
683
  }
754
684
  }
755
685
  else {
756
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
757
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
758
- }
686
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
759
687
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
760
688
  otherElement.style.opacity = '1';
761
689
  otherElement.style.backgroundColor = 'transparent';
@@ -763,6 +691,7 @@ function handleResetDragElement(dragElement, dropElement, dropHasDrag, selectedV
763
691
  }
764
692
  });
765
693
  handleShowCheck();
694
+ highlightElement();
766
695
  }
767
696
  async function onElementDropComplete(dragElement, dropElement) {
768
697
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -876,6 +805,7 @@ async function onElementDropComplete(dragElement, dropElement) {
876
805
  if (isAllowOnlyOneDrop && isisFull) {
877
806
  isisFull.isFull = true;
878
807
  dropElement.setAttribute('is-full', 'true');
808
+ highlightElement();
879
809
  }
880
810
  else {
881
811
  console.warn('No matching drop item found for', dropElement);
@@ -919,20 +849,14 @@ async function onElementDropComplete(dragElement, dropElement) {
919
849
  const storedTabIndexes = Object.keys(dropObject).map(Number);
920
850
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
921
851
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
922
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
923
- otherElement.style.border = ''; // Reset border
924
- otherElement.style.backgroundColor = 'transparent'; // Reset background color
925
- }
852
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
926
853
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
927
854
  otherElement.style.opacity = '0';
928
855
  }
929
856
  }
930
857
  }
931
858
  else {
932
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
933
- otherElement.style.border = ''; // Reset border
934
- otherElement.style.backgroundColor = ''; // Reset background color
935
- }
859
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
936
860
  if (otherElement.tagName.toLowerCase() === 'lido-image' || 'lido-cell') {
937
861
  otherElement.style.opacity = '1';
938
862
  }
@@ -991,6 +915,7 @@ async function onElementDropComplete(dragElement, dropElement) {
991
915
  dragElement.style.opacity = '1';
992
916
  const allDropElements = document.querySelectorAll('.drop-element');
993
917
  allDropElements.forEach(el => updateDropBorder(el));
918
+ highlightElement();
994
919
  await onActivityComplete(dragElement, dropElement);
995
920
  }
996
921
  function updateDropBorder(element) {
@@ -1053,10 +978,10 @@ async function onClickDropOrDragElement(element, type) {
1053
978
  `;
1054
979
  document.head.appendChild(style);
1055
980
  }
1056
- element === null || element === void 0 ? void 0 : element.classList.add('highlight');
981
+ element === null || element === void 0 ? void 0 : element.classList.add('highlight-element');
1057
982
  element.ariaPressed = 'true';
1058
- const selectedDropElement = type === 'drop' ? element : document.querySelector("[type='drop'].highlight");
1059
- const selectedDragElement = type === 'drag' ? element : document.querySelector("[type='drag'].highlight");
983
+ const selectedDropElement = type === 'drop' ? element : document.querySelector("[type='drop'].highlight-element");
984
+ const selectedDragElement = type === 'drag' ? element : document.querySelector("[type='drag'].highlight-element");
1060
985
  if (!selectedDropElement) {
1061
986
  onClickDragElement(element);
1062
987
  }
@@ -1165,6 +1090,110 @@ const reduceSizeToOriginal = () => {
1165
1090
  });
1166
1091
  };
1167
1092
 
1093
+ function removeHighlight(element) {
1094
+ element.classList.remove('highlight-element');
1095
+ element.ariaPressed = 'false';
1096
+ }
1097
+ // Function to highlight the speaking element
1098
+ function highlightSpeakingElement(element) {
1099
+ if (!element)
1100
+ return;
1101
+ // Add a custom class for highlighting
1102
+ element.classList.add('speaking-highlight');
1103
+ // Inject keyframe animation and class styles into the document's head if it doesn't already exist
1104
+ const styleId = '#speaking-highlight-style';
1105
+ if (!document.querySelector(styleId)) {
1106
+ const style = document.createElement('style');
1107
+ style.id = styleId;
1108
+ style.innerHTML = `
1109
+ .speaking-highlight {
1110
+ --base-transform: ${element.style.transform};
1111
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9) !important; /* Stronger orange glow effect */
1112
+ // border: 3px solid green !important;
1113
+ // transition: box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
1114
+ // transform: scale(1.05); /* Subtle scale effect to pop the element */
1115
+ // animation: pulseEffect 1.5s infinite; /* Pulsing animation */
1116
+
1117
+ }
1118
+
1119
+ @keyframes pulseEffect {
1120
+ 0% {
1121
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1122
+ // transform: var(--base-transform) scale(1.05);
1123
+ // background-color: #FFFF0B;
1124
+ }
1125
+ 50% {
1126
+ box-shadow: 0 0 30px 15px rgba(255, 165, 0, 1);
1127
+ // transform: var(--base-transform) scale(1.1);
1128
+ // background-color: #FFFF0B;
1129
+ }
1130
+ 100% {
1131
+ box-shadow: 0 0 20px 10px rgba(255, 165, 0, 0.9);
1132
+ // transform: var(--base-transform) scale(1.05);
1133
+ // background-color: #FFFF0B;
1134
+ }
1135
+ }
1136
+ `;
1137
+ document.head.appendChild(style);
1138
+ }
1139
+ }
1140
+ // Function to stop highlighting
1141
+ function stopHighlightForSpeakingElement(element) {
1142
+ if (!element)
1143
+ return;
1144
+ // Remove the custom class for highlighting
1145
+ element.classList.remove('speaking-highlight');
1146
+ // Remove inline styles
1147
+ // element.style.boxShadow = '';
1148
+ // element.style.border = '';
1149
+ }
1150
+ function highlightElement() {
1151
+ const container = document.querySelector(LidoContainer);
1152
+ if (!container)
1153
+ return;
1154
+ const dropElements = buildDropHasDragFromDOM();
1155
+ let firstFalse = Object.values(dropElements).find(item => !item.isFull);
1156
+ if (firstFalse) {
1157
+ const dropEls = container.querySelectorAll(`[type="drop"]`);
1158
+ dropEls.forEach(dropEl => {
1159
+ dropEl.classList.remove('highlight-element');
1160
+ });
1161
+ const dropEle = container.querySelector(`#${firstFalse.drop}`);
1162
+ if (dropEle) {
1163
+ dropEle.classList.add('highlight-element');
1164
+ }
1165
+ // Highlight corresponding drag elements if mistakes are more than 2
1166
+ const dragElements = container.querySelectorAll(`[type="drag"]`);
1167
+ if (countOfMistakes > 2) {
1168
+ dragElements.forEach(dragEl => {
1169
+ dragEl.classList.remove('highlight-element');
1170
+ if (dragEl.getAttribute('value') === dropEle.getAttribute('value')) {
1171
+ dragEl.classList.add('highlight-element');
1172
+ dragEl.classList.remove('drag-element');
1173
+ }
1174
+ });
1175
+ }
1176
+ else {
1177
+ dragElements.forEach(dragEl => {
1178
+ dragEl.classList.remove('highlight-element');
1179
+ dragEl.classList.add('drag-element');
1180
+ });
1181
+ }
1182
+ }
1183
+ else {
1184
+ if (countOfMistakes <= 2)
1185
+ return;
1186
+ const clickTemplate = container.querySelectorAll("[type='click']");
1187
+ clickTemplate.forEach(clickEl => {
1188
+ if (clickEl.getAttribute('value') === container.getAttribute('objective')) {
1189
+ if (!clickEl.classList.contains('highlight-element')) {
1190
+ clickEl.classList.add('highlight-element');
1191
+ }
1192
+ }
1193
+ });
1194
+ }
1195
+ }
1196
+
1168
1197
  class AudioPlayer {
1169
1198
  constructor() {
1170
1199
  this.audioElement = document.createElement('audio');
@@ -3248,6 +3277,7 @@ function addClickListenerForClickType(element) {
3248
3277
  if (!isInsideCalculator) {
3249
3278
  storingEachActivityScore(isCorrect);
3250
3279
  }
3280
+ highlightElement();
3251
3281
  handleShowCheck();
3252
3282
  return;
3253
3283
  }
@@ -68606,7 +68636,7 @@ const initEventsForElement = async (element, type) => {
68606
68636
  const executeActions = async (actionsString, thisElement, element) => {
68607
68637
  var _a, _b, _c, _d, _e, _f, _g;
68608
68638
  const actions = parseActions(actionsString);
68609
- body.style.pointerEvents = 'none';
68639
+ // body.style.pointerEvents = 'none';
68610
68640
  for (let i = 0; i < actions.length; i++) {
68611
68641
  const action = actions[i];
68612
68642
  const queriedElement = document.querySelector(action.actor);
@@ -69050,12 +69080,16 @@ const countPatternWords = (pattern) => {
69050
69080
  }
69051
69081
  return wordCount;
69052
69082
  };
69083
+ let countOfMistakes = 0;
69053
69084
  const storingEachActivityScore = (flag) => {
69054
69085
  if (flag) {
69055
69086
  gameScore.rightMoves += 1;
69087
+ countOfMistakes = 0;
69088
+ highlightElement();
69056
69089
  }
69057
69090
  else {
69058
69091
  gameScore.wrongMoves += 1;
69092
+ countOfMistakes += 1;
69059
69093
  }
69060
69094
  console.log('Right Moves : ', gameScore.rightMoves);
69061
69095
  console.log('Wrong Moves : ', gameScore.wrongMoves);
@@ -69101,9 +69135,7 @@ async function onActivityComplete(dragElement, dropElement) {
69101
69135
  const storedTabIndexes = Object.keys(dragScore).map(Number);
69102
69136
  if (storedTabIndexes.includes(JSON.parse(otherElement.getAttribute('tab-index')))) {
69103
69137
  if (!(((_a = otherElement.getAttribute('dropAttr')) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === DropMode.Diagonal)) {
69104
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
69105
- otherElement.style.backgroundColor = 'transparent'; // Reset background color**
69106
- }
69138
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
69107
69139
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
69108
69140
  otherElement.style.opacity = '0';
69109
69141
  otherElement.style.backgroundColor = 'transparent';
@@ -69111,9 +69143,7 @@ async function onActivityComplete(dragElement, dropElement) {
69111
69143
  }
69112
69144
  }
69113
69145
  else {
69114
- if (otherElement.tagName.toLowerCase() === 'lido-text') {
69115
- otherElement.style.backgroundColor = 'transparent'; // Reset background color**********
69116
- }
69146
+ if (otherElement.tagName.toLowerCase() === 'lido-text') ;
69117
69147
  if (otherElement.tagName.toLowerCase() === 'lido-image') {
69118
69148
  otherElement.style.opacity = '1';
69119
69149
  otherElement.style.backgroundColor = 'transparent';
@@ -69239,8 +69269,10 @@ const validateObjectiveStatus = async () => {
69239
69269
  }
69240
69270
  else {
69241
69271
  const isContinueOnCorrect = container.getAttribute('is-continue-on-correct') === 'true';
69272
+ const onCorrect = container.getAttribute('onCorrect');
69242
69273
  if (!isContinueOnCorrect) {
69243
69274
  await calculateScore();
69275
+ await executeActions(onCorrect, container);
69244
69276
  triggerNextContainer();
69245
69277
  }
69246
69278
  else {
@@ -69914,6 +69946,7 @@ exports.NextContainerKey = NextContainerKey;
69914
69946
  exports.PrevContainerKey = PrevContainerKey;
69915
69947
  exports.RiveService = RiveService;
69916
69948
  exports.SelectedValuesKey = SelectedValuesKey;
69949
+ exports.TemplateID = TemplateID;
69917
69950
  exports.attachSpeakIcon = attachSpeakIcon;
69918
69951
  exports.calculateScale = calculateScale;
69919
69952
  exports.calculateScore = calculateScore;
@@ -69934,6 +69967,7 @@ exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
69934
69967
  exports.handleElementClick = handleElementClick;
69935
69968
  exports.handleFloatElementPosition = handleFloatElementPosition;
69936
69969
  exports.handlingChildElements = handlingChildElements;
69970
+ exports.highlightElement = highlightElement;
69937
69971
  exports.initEventsForElement = initEventsForElement;
69938
69972
  exports.matchStringPattern = matchStringPattern;
69939
69973
  exports.nextUrl = nextUrl;