lido-player 0.0.2-alpha-78 → 0.0.2-alpha-79

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 (85) hide show
  1. package/dist/cjs/{decode-C8i5r2rz.js → decode-deq4aiWl.js} +1 -1
  2. package/dist/cjs/{index-BrME-8br.js → index-7Dh-uOww.js} +24 -15
  3. package/dist/cjs/{index-CTFlNIYW.js → index-DCqhhVJB.js} +6 -5
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/lido-avatar_22.cjs.entry.js +81 -123
  6. package/dist/cjs/lido-player.cjs.js +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -1
  9. package/dist/collection/components/calculator/lido-calculator.css +2 -2
  10. package/dist/collection/components/calculator/lido-calculator.js +3 -2
  11. package/dist/collection/components/float/lido-float.js +8 -2
  12. package/dist/collection/components/home/lido-home.js +5 -5
  13. package/dist/collection/components/keyboard/lido-keyboard.js +14 -8
  14. package/dist/collection/components/root/lido-root.js +5 -5
  15. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +5 -5
  16. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +1 -1
  17. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +12 -12
  18. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +4 -4
  19. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +1 -1
  20. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +1 -1
  21. package/dist/components/index.js +1 -1
  22. package/dist/components/lido-avatar.js +1 -1
  23. package/dist/components/lido-calculator.js +1 -1
  24. package/dist/components/lido-canvas.js +1 -1
  25. package/dist/components/lido-cell.js +1 -1
  26. package/dist/components/lido-col.js +1 -1
  27. package/dist/components/lido-container.js +1 -1
  28. package/dist/components/lido-flash-card.js +1 -1
  29. package/dist/components/lido-float.js +1 -1
  30. package/dist/components/lido-home.js +1 -1
  31. package/dist/components/lido-image.js +1 -1
  32. package/dist/components/lido-keyboard.js +1 -1
  33. package/dist/components/lido-math-matrix.js +1 -1
  34. package/dist/components/lido-random.js +1 -1
  35. package/dist/components/lido-root.js +1 -1
  36. package/dist/components/lido-row.js +1 -1
  37. package/dist/components/lido-shape.js +1 -1
  38. package/dist/components/lido-slide-fill.js +1 -1
  39. package/dist/components/lido-text.js +1 -1
  40. package/dist/components/lido-trace.js +1 -1
  41. package/dist/components/lido-wrap.js +1 -1
  42. package/dist/components/{p-DgB4pFUj.js → p-0px10m_v.js} +1 -1
  43. package/dist/components/{p-BHL7G-y0.js → p-6DsBZAwT.js} +1 -1
  44. package/dist/components/{p-C4rRkRc8.js → p-B3HgEpJG.js} +1 -1
  45. package/dist/components/{p-C4JlwGnv.js → p-BgobUKTe.js} +1 -1
  46. package/dist/components/{p-DI3YQ1ap.js → p-BoNAwWsD.js} +1 -1
  47. package/dist/components/p-Bs7wJ4Lj.js +1 -0
  48. package/dist/components/{p-BLF0bf8W.js → p-Bv06SP2E.js} +1 -1
  49. package/dist/components/p-C75ihiHN.js +1 -0
  50. package/dist/components/{p-CeRGpl37.js → p-CLKF3KKQ.js} +1 -1
  51. package/dist/components/{p-CRF2oUXd.js → p-CRHXBDd9.js} +1 -1
  52. package/dist/components/p-CumdMqv4.js +1 -0
  53. package/dist/components/{p-BpyuUL_l.js → p-DGZVyMvW.js} +1 -1
  54. package/dist/components/{p-CkriJpbA.js → p-DJmFOzKq.js} +1 -1
  55. package/dist/components/{p-DDa8Yzr9.js → p-DbC47BiF.js} +1 -1
  56. package/dist/components/{p-DgaDcUWF.js → p-DimQN2SE.js} +1 -1
  57. package/dist/components/{p-BMLH8kUS.js → p-IcMu8wni.js} +1 -1
  58. package/dist/components/p-UCKWWpdi.js +1 -0
  59. package/dist/components/p-VKK_CdF_.js +1 -0
  60. package/dist/components/p-hMN8yrUc.js +1 -0
  61. package/dist/components/{p-DBZ3cqpl.js → p-td_1ZVnU.js} +1 -1
  62. package/dist/esm/{decode-CjZMblKw.js → decode-DWaAeRuK.js} +1 -1
  63. package/dist/esm/{index-DoO-CWOR.js → index-CBmYf7sZ.js} +24 -15
  64. package/dist/esm/{index-DCps0gjn.js → index-DlDAkUXz.js} +6 -6
  65. package/dist/esm/index.js +2 -2
  66. package/dist/esm/lido-avatar_22.entry.js +81 -123
  67. package/dist/esm/lido-player.js +3 -3
  68. package/dist/esm/loader.js +2 -2
  69. package/dist/lido-player/index.esm.js +1 -1
  70. package/dist/lido-player/lido-player.esm.js +1 -1
  71. package/dist/lido-player/p-CBmYf7sZ.js +2 -0
  72. package/dist/lido-player/{p-IuhYLpZG.js → p-CINWIpuJ.js} +1 -1
  73. package/dist/lido-player/p-ZysqB6UH.js +1 -0
  74. package/dist/lido-player/p-c60c12cd.entry.js +1 -0
  75. package/dist/types/stencil-public-runtime.d.ts +3 -1
  76. package/package.json +1 -1
  77. package/dist/components/p-B5eWaJMV.js +0 -1
  78. package/dist/components/p-C1t5EKXt.js +0 -1
  79. package/dist/components/p-C6dOKhfu.js +0 -1
  80. package/dist/components/p-DMzmB_5i.js +0 -1
  81. package/dist/components/p-DdIEm_9-.js +0 -1
  82. package/dist/components/p-DsG2NUdT.js +0 -1
  83. package/dist/lido-player/p--1NtfUQc.js +0 -1
  84. package/dist/lido-player/p-90b611c9.entry.js +0 -1
  85. package/dist/lido-player/p-DoO-CWOR.js +0 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CTFlNIYW.js');
3
+ var index = require('./index-DCqhhVJB.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -25,9 +25,22 @@ const globalScripts = () => {};
25
25
  const globalStyles = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:rgb(243, 77, 8) 0px 0px 40px !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}.lido-glow{animation:glowPulse 1s infinite alternate;transition:opacity 0.5s ease-in-out}.lido-box-highlight{animation:topToPlace 0.3s linear}.lido-display-hiddenvalue{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;font-weight:1000;color:brown;-webkit-text-stroke:2px white;font-family:'Baloo Bhai 2', sans-serif;pointer-events:none}.lido-image-colorize{position:relative;display:inline-block}.lido-image-colorize::after{content:'';position:absolute;inset:0;background:var(--tint-color);mix-blend-mode:multiply;opacity:0.8;pointer-events:none;mask-image:var(--mask-url);mask-size:cover;mask-repeat:no-repeat;mask-position:center}.lido-tts-highlight-overlay{position:fixed;pointer-events:none;z-index:9999;background:linear-gradient(\r\n 180deg,\r\n rgba(255, 235, 59, 0.95),\r\n rgba(255, 214, 0, 0.95)\r\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\r\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:left 55ms linear,\r\n top 55ms linear,\r\n width 55ms ease-out,\r\n height 55ms ease-out,\r\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height}";
26
26
 
27
27
  /*
28
- Stencil Client Platform v4.43.0 | MIT Licensed | https://stenciljs.com
28
+ Stencil Client Platform v4.43.2 | MIT Licensed | https://stenciljs.com
29
29
  */
30
30
 
31
+
32
+ // src/utils/get-prop-descriptor.ts
33
+ function getPropertyDescriptor(obj, memberName, getOnly) {
34
+ const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
35
+ while (obj && obj !== stopAt) {
36
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
37
+ if (desc && (!getOnly || desc.get)) return desc;
38
+ obj = Object.getPrototypeOf(obj);
39
+ }
40
+ return void 0;
41
+ }
42
+
43
+ // src/utils/es2022-rewire-class-members.ts
31
44
  var reWireGetterSetter = (instance, hostRef) => {
32
45
  var _a;
33
46
  const cmpMeta = hostRef.$cmpMeta$;
@@ -35,7 +48,7 @@ var reWireGetterSetter = (instance, hostRef) => {
35
48
  members.map(([memberName, [memberFlags]]) => {
36
49
  if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
37
50
  const ogValue = instance[memberName];
38
- const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
51
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
39
52
  if (ogDescriptor) {
40
53
  Object.defineProperty(instance, memberName, {
41
54
  get() {
@@ -48,18 +61,14 @@ var reWireGetterSetter = (instance, hostRef) => {
48
61
  enumerable: true
49
62
  });
50
63
  }
51
- instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
64
+ if (hostRef.$instanceValues$.has(memberName)) {
65
+ instance[memberName] = hostRef.$instanceValues$.get(memberName);
66
+ } else if (ogValue !== void 0) {
67
+ instance[memberName] = ogValue;
68
+ }
52
69
  }
53
70
  });
54
71
  };
55
- function getPropertyDescriptor(obj, memberName) {
56
- while (obj) {
57
- const desc = Object.getOwnPropertyDescriptor(obj, memberName);
58
- if (desc == null ? void 0 : desc.get) return desc;
59
- obj = Object.getPrototypeOf(obj);
60
- }
61
- return void 0;
62
- }
63
72
 
64
73
  // src/client/client-host-ref.ts
65
74
  var getHostRef = (ref) => {
@@ -443,7 +452,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
443
452
  }
444
453
  } else {
445
454
  const existingStyleContainer = styleContainerNode.querySelector("style");
446
- if (existingStyleContainer) {
455
+ if (existingStyleContainer && true) {
447
456
  existingStyleContainer.textContent = style + existingStyleContainer.textContent;
448
457
  } else {
449
458
  styleContainerNode.prepend(styleElm);
@@ -721,7 +730,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
721
730
  return;
722
731
  } else {
723
732
  const isComplex = isComplexType(newValue);
724
- if ((isProp || isComplex && newValue !== null) && true) {
733
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
725
734
  try {
726
735
  if (!elm.tagName.includes("-")) {
727
736
  const n = newValue == null ? "" : newValue;
@@ -1585,7 +1594,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1585
1594
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1586
1595
  members.map(([memberName, [memberFlags]]) => {
1587
1596
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1588
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1597
+ const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
1589
1598
  if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1590
1599
  if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1591
1600
  if (flags & 1 /* isElementConstructor */ || !origGetter) {
@@ -1847,7 +1856,7 @@ var connectedCallback = (elm) => {
1847
1856
  }
1848
1857
  if (cmpMeta.$members$) {
1849
1858
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1850
- if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1859
+ if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
1851
1860
  const value = elm[memberName];
1852
1861
  delete elm[memberName];
1853
1862
  elm[memberName] = value;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-BrME-8br.js');
3
+ var index$1 = require('./index-7Dh-uOww.js');
4
4
 
5
5
  const DragMapKey = 'lidoDragMap';
6
6
  const SelectedValuesKey = 'lidoSelectedValues';
@@ -7195,7 +7195,7 @@ var tanh$2 = Math.tanh || function (x) {
7195
7195
  function copysign(x, y) {
7196
7196
  var signx = true ;
7197
7197
  var signy = y > 0 ? true : y < 0 ? false : 1 / y === Infinity;
7198
- return signx ^ signy ? -6.283185307179586 : x;
7198
+ return signx ^ signy ? -x : x;
7199
7199
  }
7200
7200
  function _toNumberOrThrow(value, onError) {
7201
7201
  if (isNumber(value)) {
@@ -7818,7 +7818,7 @@ var EXP_LIMIT = 9e15, // 0 to 9e15
7818
7818
 
7819
7819
  // The minimum exponent value, beneath which underflow to zero occurs.
7820
7820
  // JavaScript numbers: -324 (5e-324)
7821
- minE: -9e15, // -1 to -EXP_LIMIT
7821
+ minE: -EXP_LIMIT, // -1 to -EXP_LIMIT
7822
7822
 
7823
7823
  // The maximum exponent value, above which overflow to Infinity occurs.
7824
7824
  // JavaScript numbers: 308 (1.7976931348623157e+308)
@@ -11944,10 +11944,10 @@ function config(obj) {
11944
11944
  ps = [
11945
11945
  'precision', 1, MAX_DIGITS,
11946
11946
  'rounding', 0, 8,
11947
- 'toExpNeg', -9e15, 0,
11947
+ 'toExpNeg', -EXP_LIMIT, 0,
11948
11948
  'toExpPos', 0, EXP_LIMIT,
11949
11949
  'maxE', 0, EXP_LIMIT,
11950
- 'minE', -9e15, 0,
11950
+ 'minE', -EXP_LIMIT, 0,
11951
11951
  'modulo', 0, 9
11952
11952
  ];
11953
11953
 
@@ -73476,6 +73476,7 @@ exports.setCancelBtnPopup = setCancelBtnPopup;
73476
73476
  exports.setVisibilityWithDelay = setVisibilityWithDelay;
73477
73477
  exports.speakIcon = speakIcon;
73478
73478
  exports.speakUrl = speakUrl;
73479
+ exports.stopHighlightForSpeakingElement = stopHighlightForSpeakingElement;
73479
73480
  exports.storingEachActivityScore = storingEachActivityScore;
73480
73481
  exports.tinycolor = tinycolor;
73481
73482
  exports.triggerNextContainer = triggerNextContainer;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CTFlNIYW.js');
4
- require('./index-BrME-8br.js');
3
+ var index = require('./index-DCqhhVJB.js');
4
+ require('./index-7Dh-uOww.js');
5
5
 
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BrME-8br.js');
4
- var index$1 = require('./index-CTFlNIYW.js');
3
+ var index = require('./index-7Dh-uOww.js');
4
+ var index$1 = require('./index-DCqhhVJB.js');
5
5
 
6
6
  var rive$1 = {exports: {}};
7
7
 
@@ -8510,7 +8510,7 @@ const LidoBalance = class {
8510
8510
  };
8511
8511
  LidoBalance.style = lidoBalanceCss();
8512
8512
 
8513
- const lidoCalculatorCss = () => `#lidoCalculator{border-radius:19px;border:5px solid #029A9A;position:relative;display:flex;flex-direction:column;padding:2%;box-sizing:border-box}.lido-calculator-btn-special{background-color:#014D4D !important;--btn-shadow-color:#0a2f2f !important}.lido-calculator-btn-default{--btn-bg-color:#029A9A !important;--btn-shadow-color:#0f4242 !important;color:#000}#lido-calculator-penIcon{--btn-bg-color:#FB7038 !important;--btn-shadow-px:0 8px 0 !important;--btn-shadow-color:#D74B12 !important;border-radius:5px !important}.lido-calculator-displayParent{width:89%;height:107px;background-color:rgb(68, 186, 186);border-radius:5px;margin:14px auto 17px auto;overflow:hidden;display:flex;align-items:end}.lido-calculator-display{width:97%;height:94px;background:#029A9A;color:#fff;text-align:right;display:flex;justify-content:flex-end;align-items:center;font-size:72px;font-weight:700;font-family:'Baloo Bhai 2', serif;border-radius:5px 0px 0px 5px;box-sizing:border-box;margin:0 0px -6px auto}.lido-calculator-buttons{flex:1;display:grid;grid-template-columns:repeat(3, 1fr);grid-auto-rows:1fr;gap:0%;width:100%;justify-items:center;align-items:center;position:relative;top:-1%}.lido-calculator-buttons lido-text{display:flex !important;justify-content:center;align-items:center;width:96px !important;height:80px !important;font-size:72px !important;font-weight:700 !important;color:#fff;border-radius:5px !important;cursor:pointer;text-align:center;line-height:1;box-sizing:border-box;transition:transform 0.1s}.lido-calculator-buttons lido-text:active{transform:scale(0.95)}`;
8513
+ const lidoCalculatorCss = () => `#lidoCalculator{border-radius:19px;border:5px solid #029A9A;position:relative;display:flex;flex-direction:column;padding:2%;box-sizing:border-box}.lido-calculator-btn-special{background-color:#014D4D !important;--btn-shadow-color:#0a2f2f !important}.lido-calculator-btn-default{background-color:#029A9A !important;color:#000;--btn-shadow-color:#0f4242 !important}#lido-calculator-penIcon{--btn-bg-color:#FB7038 !important;--btn-shadow-px:0 8px 0 !important;--btn-shadow-color:#D74B12 !important;border-radius:5px !important}.lido-calculator-displayParent{width:89%;height:107px;background-color:rgb(68, 186, 186);border-radius:5px;margin:14px auto 17px auto;overflow:hidden;display:flex;align-items:end}.lido-calculator-display{width:97%;height:94px;background:#029A9A;color:#fff;text-align:right;display:flex;justify-content:flex-end;align-items:center;font-size:72px;font-weight:700;font-family:'Baloo Bhai 2', serif;border-radius:5px 0px 0px 5px;box-sizing:border-box;margin:0 0px -6px auto}.lido-calculator-buttons{flex:1;display:grid;grid-template-columns:repeat(3, 1fr);grid-auto-rows:1fr;gap:0%;width:100%;justify-items:center;align-items:center;position:relative;top:-1%}.lido-calculator-buttons lido-text{display:flex !important;justify-content:center;align-items:center;width:96px !important;height:80px !important;font-size:72px !important;font-weight:700 !important;color:#fff;border-radius:5px !important;cursor:pointer;text-align:center;line-height:1;box-sizing:border-box;transition:transform 0.1s}.lido-calculator-buttons lido-text:active{transform:scale(0.95)}`;
8514
8514
 
8515
8515
  const LidoCalculator = class {
8516
8516
  constructor(hostRef) {
@@ -8648,12 +8648,13 @@ const LidoCalculator = class {
8648
8648
  else {
8649
8649
  await index$1.executeActions(onInCorrect, container);
8650
8650
  }
8651
+ index$1.triggerNextContainer();
8651
8652
  }
8652
8653
  okbtn.style.pointerEvents = 'auto'; // Re-enable OK button after processing
8653
8654
  }
8654
8655
  render() {
8655
8656
  const numbers = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '←', '0', 'OK'];
8656
- return (index.h(index.Host, { key: '29f91af1bedaa8be605cdf82fddf74b5622eff6e', onEntry: this.onEntry, id: "lidoCalculator", style: { width: this.width, height: this.height, backgroundColor: this.bgColor, left: this.x, top: this.y } }, index.h("lido-cell", { key: '1ac0f61986e688603db21b2eb1bb52bbcabca1ca', visible: "true", height: "94px", width: "60px" }, index.h("lido-text", { key: '3bdacbcb2ea2f371b11a2ed05eb271e0a75c5e09', visible: "true", id: "lido-calculator-penIcon", type: "click", height: "80px", x: "176%", width: "89px", onEntry: "this.position='relative';", class: "top-icon" }, index.h("img", { key: '5f7bb3c09bccdb21c2bda00ae99234409bad7eda', src: this.penIcon, alt: "pen", style: { width: '100%', height: '100%' } }))), index.h("div", { key: '0891cd4b5929861d264c29684ef260f61e65004b', class: "lido-calculator-displayParent" }, index.h("div", { key: 'ac5861ca1a9ebaee9eb7d729f8d2b88933b733d5', class: "lido-calculator-display" }, this.displayValue)), index.h("div", { key: 'f80c85a89462fd96630a4bf8a304284e4546fe72', class: "lido-calculator-buttons" }, numbers.map((num, i) => (index.h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
8657
+ return (index.h(index.Host, { key: 'e37b659e48048b18812f385db123c208eabe6ba4', onEntry: this.onEntry, id: "lidoCalculator", style: { width: this.width, height: this.height, backgroundColor: this.bgColor, left: this.x, top: this.y } }, index.h("lido-cell", { key: 'fb41e56bd1414869fa21e0460dd6e64945aeee82', visible: "true", height: "94px", width: "60px" }, index.h("lido-text", { key: '4330873be32fbdc2236397240c5930bb1a1b395e', visible: "true", id: "lido-calculator-penIcon", type: "click", height: "80px", x: "176%", width: "89px", onEntry: "this.position='relative';", class: "top-icon" }, index.h("img", { key: 'b5f6b05debf1f641047b7021d0c08cdc628cea8d', src: this.penIcon, alt: "pen", style: { width: '100%', height: '100%' } }))), index.h("div", { key: '125dca5b401eb78f51653867ff248b68997ade2c', class: "lido-calculator-displayParent" }, index.h("div", { key: '2fa29f9cab7d3a82cd0efe752d02d76c02f56f65', class: "lido-calculator-display" }, this.displayValue)), index.h("div", { key: '30f9819671255c7a98f5137882b1c06bd75663e0', class: "lido-calculator-buttons" }, numbers.map((num, i) => (index.h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
8657
8658
  'lido-calculator-btn-special': num === '←' || num === 'OK',
8658
8659
  'lido-calculator-btn-default': num !== '←' && num !== 'OK'
8659
8660
  }, onClick: () => this.handleClick(num) }))))));
@@ -9284,7 +9285,7 @@ const deepFind = (obj, path, keySeparator = '.') => {
9284
9285
  }
9285
9286
  return current;
9286
9287
  };
9287
- const getCleanedCode = code => code?.replace('_', '-');
9288
+ const getCleanedCode = code => code?.replace(/_/g, '-');
9288
9289
 
9289
9290
  const consoleLogger = {
9290
9291
  type: 'logger',
@@ -10793,13 +10794,21 @@ const bindMemberFunctions = inst => {
10793
10794
  }
10794
10795
  });
10795
10796
  };
10796
- let supportNoticeShown = false;
10797
+ const SUPPORT_NOTICE_KEY = '__i18next_supportNoticeShown';
10798
+ const getSupportNoticeShown = () => typeof globalThis !== 'undefined' && !!globalThis[SUPPORT_NOTICE_KEY];
10799
+ const setSupportNoticeShown = () => {
10800
+ if (typeof globalThis !== 'undefined') globalThis[SUPPORT_NOTICE_KEY] = true;
10801
+ };
10797
10802
  const usesLocize = inst => {
10798
10803
  if (inst?.modules?.backend?.name?.indexOf('Locize') > 0) return true;
10799
10804
  if (inst?.modules?.backend?.constructor?.name?.indexOf('Locize') > 0) return true;
10800
10805
  if (inst?.options?.backend?.backends) {
10801
10806
  if (inst.options.backend.backends.some(b => b?.name?.indexOf('Locize') > 0 || b?.constructor?.name?.indexOf('Locize') > 0)) return true;
10802
10807
  }
10808
+ if (inst?.options?.backend?.projectId) return true;
10809
+ if (inst?.options?.backend?.backendOptions) {
10810
+ if (inst.options.backend.backendOptions.some(b => b?.projectId)) return true;
10811
+ }
10803
10812
  return false;
10804
10813
  };
10805
10814
  class I18n extends EventEmitter {
@@ -10854,9 +10863,9 @@ class I18n extends EventEmitter {
10854
10863
  if (typeof this.options.overloadTranslationOptionHandler !== 'function') {
10855
10864
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
10856
10865
  }
10857
- if (this.options.showSupportNotice !== false && !usesLocize(this) && !supportNoticeShown) {
10866
+ if (this.options.showSupportNotice !== false && !usesLocize(this) && !getSupportNoticeShown()) {
10858
10867
  if (typeof console !== 'undefined' && typeof console.info !== 'undefined') console.info('🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙');
10859
- supportNoticeShown = true;
10868
+ setSupportNoticeShown();
10860
10869
  }
10861
10870
  const createClassOnDemand = ClassOrObject => {
10862
10871
  if (!ClassOrObject) return null;
@@ -11749,80 +11758,46 @@ class Browser {
11749
11758
  Browser.type = 'languageDetector';
11750
11759
 
11751
11760
  const Exit$5 = "Exit";
11752
- const openwindow = " Select the correct picture indicating the word.";
11753
- const fillblank = "Select the correct word from below and complete the sentence.";
11754
- const writecard = "Trace the letter by dragging the green point as shown by the pointing finger. ";
11755
- const picturemeaning = "Select the correct sentence/phrase matching with the picture.";
11756
- const jumpsentence = "Complete the sentence by dragging the missing parts of the sentence from below.";
11757
- const phonictractor = "Drag the wooden blocks to the tractor to form the correct sound.";
11758
- const letterboard = "Drag the alphabets from the right to its correct place and complete the puzzle.";
11759
- const bubbletype = "Type the letter/word shown inside the bubble using the keyboard in the bottom.";
11760
- const createsentence = "Pull the words from the bottom in the correct order to form a sentence.";
11761
- const letterpair = "Match the cards with same letters together.";
11762
- const rocket = "Drag the correct letter/syllable from bottom and form the correct word.";
11763
- const writeset = "Trace the letter by dragging the green point as shown by the pointing finger. ";
11764
- const spelldoor = "Drag the letters from the bottom to it correct place and form the correct spelling.";
11765
- const speakingpet = "Listen to the cat's sound. Feed the food tray to the cat having the same sounds.";
11766
- const grid = "Form the word by mixing the vertical sound with horizontal sounds. Drag the word from the bottom and put it in the correct place.";
11767
- const balancing = "Compare the number of fruits on both the sides. Use the = sign when the number on both sides are equal. Use < sign when number on the right is bigger. Use > sign when number on the left is bigger.";
11768
- const blender = "Fill the empty jars with the correct filled jars from below and complete the equation.";
11769
- const calculator = "Solve the problem on the white board and enter the answer in the number board. ";
11770
- const checkerblocks = "Drag the missing numbers from right to its correct place and complete the puzzle.";
11771
- const drawshape = "Trace the lines as shown by the pointing finger.";
11772
- const fillanswer = "Solve the problem and select the correct answer from below.";
11773
- const foodjar = "Fill the empty jars with the correct filled jars from below and complete the equation.";
11774
- const multiplybeads = "Add new columns of beads from the right and count the sum of all beads.";
11775
- const nimbletable = "Solve the question at the top most board and select the correct answer shown on the right.";
11776
- const numberboard = "Drag the number from right and complete the number puzzle.";
11777
- const rowblocks = "Drag the missing numbers from right to its correct place and complete the puzzle.";
11778
- const sequencebox = "Fill the empty treasure box with the missing numbers and complete the pattern.";
11779
- const shapepair = "Fill the empty treasure box with the missing numbers and complete the pattern.";
11780
- const shapetractor = "Complete the pattern using the blocks given below .";
11781
- const sumtogether = "Solve the problem by counting the tiles above and drag the correct answer .";
11782
- const tag = "Solve the problem by counting the tiles above and drag the correct answer .";
11783
- const total = "Count the number of objects in the left and click the number on the number board. ";
11784
- const writenumber = "Trace the letter by dragging the green point as shown by the pointing finger. ";
11785
- const writeletter = "Trace the letter by dragging the green point as shown by the pointing finger. ";
11761
+ const instruction$4 = {
11762
+ dragAndDrop: "Match the items by dragging and dropping them into the correct places.",
11763
+ mcq: "Select the correct answer from the options provided.",
11764
+ tracing: "Trace the shape by following the outline carefully.",
11765
+ flashcards: "Review the flashcards to reinforce your learning.",
11766
+ substractionWithImage: "substractionWithImageEngAudio",
11767
+ substractionWithoutImage: "substractionWithoutImageEngAudio",
11768
+ numberIdentificationWithImage: "numberIdentificationWithImageEngAudio",
11769
+ numberIdentificationWithoutImage: "numberIdentificationWithoutImageEngAudio",
11770
+ wordBuildingWithImage: "wordBuildingWithImageEngAudio",
11771
+ wordBuildingWithoutImage: "wordBuildingWithoutImageEngAudio",
11772
+ pictureClues: "pictureCluesEngAudio",
11773
+ pictureWordMatchMultipleImages: "pictureWordMatchMultipleImagesEngAudio",
11774
+ pictureWordMatchSingleImage: "pictureWordMatchSingleImageEngAudio",
11775
+ sentenceMatch: "sentenceMatchEngAudio",
11776
+ imageMatch: "imageMatchEngAudio",
11777
+ palStoryTale: "palStoryTaleEngAudio",
11778
+ palEgmaPatternMatching: "palEgmaPatternMatchingEngAudio",
11779
+ palEgmaWordProblemDragnDrop: "palEgmaWordProblemDragnDropEngAudio",
11780
+ palEgmaWordProblemClick: "palEgmaWordProblemClickEngAudio",
11781
+ palEgraOddOneOut: "palEgraOddOneOutEngAudio",
11782
+ palEgraArrangePictures: "palEgraArrangePicturesEngAudio",
11783
+ palEgraBuildWord: "palEgraBuildWordEngAudio",
11784
+ palEgraWordFormation: "palEgraWordFormationEngAudio",
11785
+ palInventedSpelling: "palInventedSpellingEngAudio",
11786
+ palLetterIdentification: "palLetterIdentificationEngAudio",
11787
+ palStoryMaking: "palStoryMakingEngAudio",
11788
+ palegmasumtogether: "palegmasumtogetherEngAudio",
11789
+ palegmamultioption: "palegmamultioptionEngAudio",
11790
+ palegraoptionaudio: "palegraoptionaudioEngAudio",
11791
+ palegrawordmatch: "palegrawordmatchEngAudio",
11792
+ palegramcqimages: "palegramcqimagesEngAudio"
11793
+ };
11786
11794
  var en = {
11787
11795
  "Do you want to exit?": "Do you want to exit?",
11788
11796
  Exit: Exit$5,
11789
11797
  "Continue playing": "Continue playing",
11790
11798
  "Drop the elements to match the given symbol order": "Drop the elements to match the given symbol order",
11791
11799
  "Fill in the blanks": "Fill in the blanks",
11792
- openwindow: openwindow,
11793
- fillblank: fillblank,
11794
- writecard: writecard,
11795
- picturemeaning: picturemeaning,
11796
- jumpsentence: jumpsentence,
11797
- phonictractor: phonictractor,
11798
- letterboard: letterboard,
11799
- bubbletype: bubbletype,
11800
- createsentence: createsentence,
11801
- letterpair: letterpair,
11802
- rocket: rocket,
11803
- writeset: writeset,
11804
- spelldoor: spelldoor,
11805
- speakingpet: speakingpet,
11806
- grid: grid,
11807
- balancing: balancing,
11808
- blender: blender,
11809
- calculator: calculator,
11810
- checkerblocks: checkerblocks,
11811
- drawshape: drawshape,
11812
- fillanswer: fillanswer,
11813
- foodjar: foodjar,
11814
- multiplybeads: multiplybeads,
11815
- nimbletable: nimbletable,
11816
- numberboard: numberboard,
11817
- rowblocks: rowblocks,
11818
- sequencebox: sequencebox,
11819
- shapepair: shapepair,
11820
- shapetractor: shapetractor,
11821
- sumtogether: sumtogether,
11822
- tag: tag,
11823
- total: total,
11824
- writenumber: writenumber,
11825
- writeletter: writeletter
11800
+ instruction: instruction$4
11826
11801
  };
11827
11802
 
11828
11803
  const Exit$4 = "Quitter";
@@ -11946,37 +11921,10 @@ var port = {
11946
11921
  };
11947
11922
 
11948
11923
  const instruction = {
11949
- dragAndDrop: "Match the items by dragging and dropping them into the correct places.",
11950
- mcq: "Select the correct answer from the options provided.",
11951
- tracing: "Trace the shape by following the outline carefully.",
11952
- flashcards: "Review the flashcards to reinforce your learning.",
11953
- substractionWithImage: "substractionWithImageMaAudio ",
11954
- substractionWithoutImage: "substractionWithoutImageMaAudio",
11955
- numberIdentificationWithImage: "numberIdentificationWithImageMaAudio",
11956
- numberIdentificationWithoutImage: "numberIdentificationWithoutImageMaAudio",
11957
- wordBuildingWithImage: "wordBuildingWithImageMaAudio",
11958
- wordBuildingWithoutImage: "wordBuildingWithoutImageMaAudio",
11959
- pictureClues: "pictureCluesMaAudio",
11960
- pictureWordMatchMultipleImages: "pictureWordMatchMultipleImagesMaAudio",
11961
- pictureWordMatchSingleImage: "pictureWordMatchSingleImageMaAudio",
11962
- sentenceMatch: "sentenceMatchMaAudio",
11963
- imageMatch: "imageMatchMaAudio",
11964
- palStoryTale: "palStoryTaleMaAudio",
11965
- palEgmaPatternMatching: "palEgmaPatternMatchingMaAudio",
11966
- palEgmaWordProblemDragnDrop: "palEgmaWordProblemDragnDropMaAudio",
11967
- palEgmaWordProblemClick: "palEgmaWordProblemClickMaAudio",
11968
- palEgraOddOneOut: "palEgraOddOneOutMaAudio",
11969
- palEgraArrangePictures: "palEgraArrangePicturesMaAudio",
11970
- palEgraBuildWord: "palEgraBuildWordMaAudio",
11971
- palEgraWordFormation: "palEgraWordFormationMaAudio",
11972
- palInventedSpelling: "palInventedSpellingMaAudio",
11973
- palLetterIdentification: "palLetterIdentificationMaAudio",
11974
- palStoryMaking: "palStoryMakingMaAudio",
11975
- palegmasumtogether: "palegmasumtogetherMaAudio",
11976
- palegmamultioption: "palegmamultioptionMaAudio",
11977
- palegraoptionaudio: "palegraoptionaudioMaAudio",
11978
- palegrawordmatch: "palegrawordmatchMaAudio",
11979
- palegramcqimages: "palegramcqimagesMaAudio"
11924
+ dragAndDrop: "वस्तू योग्य ठिकाणी ओढून आणि सोडून जुळवा.",
11925
+ mcq: "दिलेल्या पर्यायांमधून योग्य उत्तर निवडा.",
11926
+ tracing: "रेषेचा काळजीपूर्वक मागोवा घेत आकृती काढा.",
11927
+ flashcards: "तुमचे शिक्षण मजबूत करण्यासाठी फ्लॅशकार्ड्स पाहा."
11980
11928
  };
11981
11929
  var ma = {
11982
11930
  instruction: instruction
@@ -12639,9 +12587,15 @@ const LidoFloat = class {
12639
12587
  }
12640
12588
  initializeFloatElement() {
12641
12589
  const floatElements = this.el.children;
12590
+ let delay = 0;
12642
12591
  Array.from(floatElements).forEach((el) => {
12643
12592
  const element = el;
12644
- index$1.handleFloatElementPosition(element);
12593
+ element.style.visibility = 'hidden';
12594
+ setTimeout(() => {
12595
+ element.style.visibility = 'visible';
12596
+ index$1.handleFloatElementPosition(element);
12597
+ }, delay);
12598
+ delay += 1000; // Stagger the visibility of each element by 1 second
12645
12599
  el.addEventListener('click', () => {
12646
12600
  index$1.handleElementClick(element);
12647
12601
  });
@@ -12658,7 +12612,7 @@ const LidoFloat = class {
12658
12612
  };
12659
12613
  }
12660
12614
  render() {
12661
- return (index.h(index.Host, { key: 'd12c96be36eb27c4b46cb2b494f1de3352634feb', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, index.h("slot", { key: '5c2b330b5fb5c27ead76a0a9514750d4dd3ef820' })));
12615
+ return (index.h(index.Host, { key: '56dd4ef6911cc6828d391c0860f8c06e4bc704f7', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, index.h("slot", { key: '562f76563618f517918712821fa708f3dd59b596' })));
12662
12616
  }
12663
12617
  get el() { return index.getElement(this); }
12664
12618
  };
@@ -12862,7 +12816,7 @@ const LidoHome = class {
12862
12816
  });
12863
12817
  await this.loadTemplateData();
12864
12818
  const trimmed = (this.xmlData || '').trim();
12865
- if (trimmed.startsWith('<main')) {
12819
+ if (trimmed.includes("lido-container")) {
12866
12820
  this.parseXMLData(this.xmlData);
12867
12821
  }
12868
12822
  else {
@@ -12878,10 +12832,10 @@ const LidoHome = class {
12878
12832
  });
12879
12833
  }
12880
12834
  async loadTemplateData() {
12881
- // if (!this.baseUrl) {
12882
- // return;
12883
- // }
12884
- const candidatePaths = ["/assets/data.json", "data.json"];
12835
+ if (!this.baseUrl) {
12836
+ return;
12837
+ }
12838
+ const candidatePaths = [`${this.baseUrl.replace(/\/+$/, '')}/data.json`];
12885
12839
  for (const path of candidatePaths) {
12886
12840
  try {
12887
12841
  const resolvedPath = path.startsWith('http') ? path : index.getAssetPath(path);
@@ -12930,7 +12884,7 @@ const LidoHome = class {
12930
12884
  }
12931
12885
  // Pure-JS fallback (no wasm asset required)
12932
12886
  try {
12933
- const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-C8i5r2rz.js'); }).then(function (n) { return n.decode; });
12887
+ const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-deq4aiWl.js'); }).then(function (n) { return n.decode; });
12934
12888
  const brotliDecompressBuffer = brotliDecodeModule.BrotliDecompressBuffer ||
12935
12889
  ((_a = brotliDecodeModule.default) === null || _a === void 0 ? void 0 : _a.BrotliDecompressBuffer);
12936
12890
  if (typeof brotliDecompressBuffer !== 'function') {
@@ -16446,14 +16400,18 @@ const LidoKeyboard = class {
16446
16400
  const element = word === null || word === void 0 ? void 0 : word.startsWith(this.inputString.toLowerCase());
16447
16401
  return element;
16448
16402
  });
16449
- if (matchedBubble) {
16450
- const bodyRect = document.body.getBoundingClientRect();
16451
- const elemRect = matchedBubble.getBoundingClientRect();
16452
- // Ciheck if the matched bubble is overlapping with the target area (you can define the target area as needed, here we use the entire viewport)
16453
- isOverlapping = elemRect.left < bodyRect.right && elemRect.right > bodyRect.left && elemRect.top < bodyRect.bottom && elemRect.bottom > bodyRect.top;
16403
+ const bodyRect = document.body.getBoundingClientRect();
16404
+ const elemRect = matchedBubble.getBoundingClientRect();
16405
+ // Ciheck if the matched bubble is overlapping with the target area (you can define the target area as needed, here we use the entire viewport)
16406
+ isOverlapping = elemRect.left < bodyRect.right && elemRect.right > bodyRect.left && elemRect.top < bodyRect.bottom && elemRect.bottom > bodyRect.top;
16407
+ if (matchedBubble && isOverlapping) {
16454
16408
  // If full word completed
16455
- if (this.inputString.toLowerCase() === matchedBubble.getAttribute('value').toLowerCase() && isOverlapping) {
16409
+ if (this.inputString.toLowerCase() === matchedBubble.getAttribute('value').toLowerCase()) {
16456
16410
  index$1.storingEachActivityScore(true);
16411
+ index$1.AudioPlayer.getI().play(matchedBubble);
16412
+ index$1.stopHighlightForSpeakingElement(matchedBubble);
16413
+ const elementOnCorrect = matchedBubble.getAttribute('onCorrect');
16414
+ await index$1.executeActions(elementOnCorrect, matchedBubble);
16457
16415
  matchedBubble.style.animation = 'none';
16458
16416
  matchedBubble.style.pointerEvents = 'none';
16459
16417
  this.numberOfClick++;
@@ -16528,10 +16486,10 @@ const LidoKeyboard = class {
16528
16486
  const keysArray = this.keys.split(',').map(k => k.trim());
16529
16487
  const container = document.getElementById(index$1.LidoContainer);
16530
16488
  const showCheck = container.getAttribute('show-check') === 'true';
16531
- return (index.h(index.Host, { key: 'c628b4412414cb77bf6596b302deb91f13626f53', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (index.h("div", { key: '3081daf25caa5ca0390b78567e0f46c8fecd0933', class: "input-area" }, index.h("input", { key: 'a21b93f86abb42afc45811d560400deb58da09fe', type: "text", value: this.inputString, class: "input-area", readonly: true }), index.h("lido-text", { key: '3486ddf43feb30d595a4e854761de41c0f963690', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
16489
+ return (index.h(index.Host, { key: '0d05d0c728277cb017348ba2d2ae3948cf2bab55', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (index.h("div", { key: '14a518c62f6d08a4f151862ee62164bb2855e663', class: "input-area" }, index.h("input", { key: '10eeaea092ff52f34f305228cdc3b5a0dfff444d', type: "text", value: this.inputString, class: "input-area", readonly: true }), index.h("lido-text", { key: '13773d7c06178fecd4de0f5e5913c0596a7c8870', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
16532
16490
  this.inputString = this.inputString.slice(0, -1);
16533
16491
  this.inputValidation(event);
16534
- } }), index.h("lido-text", { key: '3a619b53a9c0a6e511adfbdff3f2e8b89692431b', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (index.h("lido-text", { key: '0a780c4a4669edb5bf7f51190ddb6345a724fd43', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), index.h("div", { key: '49f04eacdfbdc93ffcd3749531b90b4acd655d50', class: "keyboard-wrapper", style: {
16492
+ } }), index.h("lido-text", { key: 'f430668be25e241f8047f66024d823c91aa07dea', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (index.h("lido-text", { key: 'e885f754dc148709506a3f5273c9a29a1746fad9', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), index.h("div", { key: '402251e518990c9ef768aaac13e93476a12cad06', class: "keyboard-wrapper", style: {
16535
16493
  display: 'flex',
16536
16494
  flexWrap: 'wrap',
16537
16495
  justifyContent: 'center',
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BrME-8br.js');
3
+ var index = require('./index-7Dh-uOww.js');
4
4
 
5
5
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
6
  /*
7
- Stencil Client Patch Browser v4.43.0 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Patch Browser v4.43.2 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
 
10
10
  var patchBrowser = () => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BrME-8br.js');
3
+ var index = require('./index-7Dh-uOww.js');
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
@@ -23,9 +23,10 @@
23
23
  "components/trace/lido-trace.js",
24
24
  "components/wrap/lido-wrap.js"
25
25
  ],
26
+ "mixins": [],
26
27
  "compiler": {
27
28
  "name": "@stencil/core",
28
- "version": "4.43.0",
29
+ "version": "4.43.2",
29
30
  "typescriptVersion": "5.8.3"
30
31
  },
31
32
  "collections": [],
@@ -13,9 +13,9 @@
13
13
  }
14
14
 
15
15
  .lido-calculator-btn-default {
16
- --btn-bg-color: #029A9A !important;
17
- --btn-shadow-color: #0f4242 !important;
16
+ background-color: #029A9A !important;
18
17
  color: #000;
18
+ --btn-shadow-color: #0f4242 !important ;
19
19
  }
20
20
 
21
21
  #lido-calculator-penIcon {
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { executeActions, equationCheck, storingEachActivityScore, calculateScore } from "../../utils/utils";
2
+ import { executeActions, equationCheck, storingEachActivityScore, calculateScore, triggerNextContainer } from "../../utils/utils";
3
3
  import { NextContainerKey } from "../../utils/constants";
4
4
  export class LidoCalculator {
5
5
  constructor() {
@@ -138,12 +138,13 @@ export class LidoCalculator {
138
138
  else {
139
139
  await executeActions(onInCorrect, container);
140
140
  }
141
+ triggerNextContainer();
141
142
  }
142
143
  okbtn.style.pointerEvents = 'auto'; // Re-enable OK button after processing
143
144
  }
144
145
  render() {
145
146
  const numbers = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '←', '0', 'OK'];
146
- return (h(Host, { key: '29f91af1bedaa8be605cdf82fddf74b5622eff6e', onEntry: this.onEntry, id: "lidoCalculator", style: { width: this.width, height: this.height, backgroundColor: this.bgColor, left: this.x, top: this.y } }, h("lido-cell", { key: '1ac0f61986e688603db21b2eb1bb52bbcabca1ca', visible: "true", height: "94px", width: "60px" }, h("lido-text", { key: '3bdacbcb2ea2f371b11a2ed05eb271e0a75c5e09', visible: "true", id: "lido-calculator-penIcon", type: "click", height: "80px", x: "176%", width: "89px", onEntry: "this.position='relative';", class: "top-icon" }, h("img", { key: '5f7bb3c09bccdb21c2bda00ae99234409bad7eda', src: this.penIcon, alt: "pen", style: { width: '100%', height: '100%' } }))), h("div", { key: '0891cd4b5929861d264c29684ef260f61e65004b', class: "lido-calculator-displayParent" }, h("div", { key: 'ac5861ca1a9ebaee9eb7d729f8d2b88933b733d5', class: "lido-calculator-display" }, this.displayValue)), h("div", { key: 'f80c85a89462fd96630a4bf8a304284e4546fe72', class: "lido-calculator-buttons" }, numbers.map((num, i) => (h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
147
+ return (h(Host, { key: 'e37b659e48048b18812f385db123c208eabe6ba4', onEntry: this.onEntry, id: "lidoCalculator", style: { width: this.width, height: this.height, backgroundColor: this.bgColor, left: this.x, top: this.y } }, h("lido-cell", { key: 'fb41e56bd1414869fa21e0460dd6e64945aeee82', visible: "true", height: "94px", width: "60px" }, h("lido-text", { key: '4330873be32fbdc2236397240c5930bb1a1b395e', visible: "true", id: "lido-calculator-penIcon", type: "click", height: "80px", x: "176%", width: "89px", onEntry: "this.position='relative';", class: "top-icon" }, h("img", { key: 'b5f6b05debf1f641047b7021d0c08cdc628cea8d', src: this.penIcon, alt: "pen", style: { width: '100%', height: '100%' } }))), h("div", { key: '125dca5b401eb78f51653867ff248b68997ade2c', class: "lido-calculator-displayParent" }, h("div", { key: '2fa29f9cab7d3a82cd0efe752d02d76c02f56f65', class: "lido-calculator-display" }, this.displayValue)), h("div", { key: '30f9819671255c7a98f5137882b1c06bd75663e0', class: "lido-calculator-buttons" }, numbers.map((num, i) => (h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
147
148
  'lido-calculator-btn-special': num === '←' || num === 'OK',
148
149
  'lido-calculator-btn-default': num !== '←' && num !== 'OK'
149
150
  }, onClick: () => this.handleClick(num) }))))));
@@ -58,9 +58,15 @@ export class LidoFloat {
58
58
  }
59
59
  initializeFloatElement() {
60
60
  const floatElements = this.el.children;
61
+ let delay = 0;
61
62
  Array.from(floatElements).forEach((el) => {
62
63
  const element = el;
63
- handleFloatElementPosition(element);
64
+ element.style.visibility = 'hidden';
65
+ setTimeout(() => {
66
+ element.style.visibility = 'visible';
67
+ handleFloatElementPosition(element);
68
+ }, delay);
69
+ delay += 1000; // Stagger the visibility of each element by 1 second
64
70
  el.addEventListener('click', () => {
65
71
  handleElementClick(element);
66
72
  });
@@ -77,7 +83,7 @@ export class LidoFloat {
77
83
  };
78
84
  }
79
85
  render() {
80
- return (h(Host, { key: 'd12c96be36eb27c4b46cb2b494f1de3352634feb', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, h("slot", { key: '5c2b330b5fb5c27ead76a0a9514750d4dd3ef820' })));
86
+ return (h(Host, { key: '56dd4ef6911cc6828d391c0860f8c06e4bc704f7', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, h("slot", { key: '562f76563618f517918712821fa708f3dd59b596' })));
81
87
  }
82
88
  static get is() { return "lido-float"; }
83
89
  static get originalStyleUrls() {