lido-player 0.0.2-alpha-88 → 0.0.2-alpha-90

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 (70) hide show
  1. package/dist/cjs/{decode-BCtIYiSY.js → decode-JJkh_9QG.js} +1 -1
  2. package/dist/cjs/{index-BDnxAitU.js → index-BEEcyP4v.js} +113 -5
  3. package/dist/cjs/{index-Dl8SlqP-.js → index-BrME-8br.js} +15 -24
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/lido-avatar_22.cjs.entry.js +61 -60
  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 +1 -2
  9. package/dist/collection/components/avatar/lido-avatar.js +2 -1
  10. package/dist/collection/components/avatar/lido-avatar.tsx +205 -0
  11. package/dist/collection/components/avatar/readme.md +49 -0
  12. package/dist/collection/components/avatar/rive.wasm +0 -0
  13. package/dist/collection/components/calculator/lido-calculator.js +19 -3
  14. package/dist/collection/components/container/lido-container.js +1 -1
  15. package/dist/collection/components/home/lido-home.js +2 -1
  16. package/dist/collection/components/mathMatrix/lido-math-matrix.js +12 -4
  17. package/dist/collection/components/root/lido-root.js +5 -5
  18. package/dist/collection/components/text/lido-text.js +1 -1
  19. package/dist/collection/stories/Templates/balancing/balancing.stories.js +1 -3
  20. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +59 -38
  21. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +1 -1
  22. package/dist/collection/stories/Templates/total/total.stories.js +2 -1
  23. package/dist/collection/utils/utils.js +81 -1
  24. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +28 -0
  25. package/dist/components/index.js +1 -1
  26. package/dist/components/lido-avatar.js +1 -1
  27. package/dist/components/lido-calculator.js +1 -1
  28. package/dist/components/lido-canvas.js +1 -1
  29. package/dist/components/lido-container.js +1 -1
  30. package/dist/components/lido-home.js +1 -1
  31. package/dist/components/lido-keyboard.js +1 -1
  32. package/dist/components/lido-math-matrix.js +1 -1
  33. package/dist/components/lido-root.js +1 -1
  34. package/dist/components/lido-text.js +1 -1
  35. package/dist/components/p-Blfvc5ur.js +1 -0
  36. package/dist/components/p-Bnyxg1l1.js +1 -0
  37. package/dist/components/p-BstMLAyY.js +1 -0
  38. package/dist/components/{p-BOHNyYPi.js → p-C1sGTP3k.js} +1 -1
  39. package/dist/components/p-DBzsdEHZ.js +1 -0
  40. package/dist/components/{p-D5OuulAW.js → p-DMjuSKpY.js} +1 -1
  41. package/dist/components/{p-DVoNbO_j.js → p-DU4wfdAe.js} +1 -1
  42. package/dist/components/{p-Dz6mSTPu.js → p-brhqgayz.js} +1 -1
  43. package/dist/esm/{decode-CT-ttsFh.js → decode-CxVVffTP.js} +1 -1
  44. package/dist/esm/{index-Da41OKR1.js → index-Bl0AUSHC.js} +114 -6
  45. package/dist/esm/{index-DwCQErNN.js → index-DoO-CWOR.js} +15 -24
  46. package/dist/esm/index.js +2 -2
  47. package/dist/esm/lido-avatar_22.entry.js +61 -60
  48. package/dist/esm/lido-player.js +3 -3
  49. package/dist/esm/loader.js +2 -2
  50. package/dist/lido-player/index.esm.js +1 -1
  51. package/dist/lido-player/lido-avatar.css +4 -0
  52. package/dist/lido-player/lido-avatar.tsx +205 -0
  53. package/dist/lido-player/lido-player.esm.js +1 -1
  54. package/dist/lido-player/p-ClirVlrT.js +1 -0
  55. package/dist/lido-player/p-DoO-CWOR.js +2 -0
  56. package/dist/lido-player/{p-DO-Y_QEx.js → p-Dpm_8mTf.js} +1 -1
  57. package/dist/lido-player/p-e7a798a2.entry.js +1 -0
  58. package/dist/lido-player/readme.md +49 -0
  59. package/dist/lido-player/rive.wasm +0 -0
  60. package/dist/types/stencil-public-runtime.d.ts +1 -3
  61. package/dist/types/stories/Templates/multiplyBeeds/multiplyBeeds.stories.d.ts +2 -8
  62. package/dist/types/utils/utilsHandlers/dragDropHandler.d.ts +1 -0
  63. package/package.json +1 -1
  64. package/dist/components/p-CBg54ApH.js +0 -1
  65. package/dist/components/p-DAwJrK6q.js +0 -1
  66. package/dist/components/p-jt8Ishvd.js +0 -1
  67. package/dist/components/p-v5QPz3yz.js +0 -1
  68. package/dist/lido-player/p-36a1471e.entry.js +0 -1
  69. package/dist/lido-player/p-CspJVyn4.js +0 -1
  70. package/dist/lido-player/p-DwCQErNN.js +0 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BDnxAitU.js');
3
+ var index = require('./index-BEEcyP4v.js');
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-Dl8SlqP-.js');
3
+ var index$1 = require('./index-BrME-8br.js');
4
4
 
5
5
  const DragMapKey = 'lidoDragMap';
6
6
  const SelectedValuesKey = 'lidoSelectedValues';
@@ -1180,6 +1180,34 @@ const reduceSizeToOriginal = () => {
1180
1180
  }
1181
1181
  });
1182
1182
  };
1183
+ const multiplyBeedsCalculation = (dropElement) => {
1184
+ var _a, _b;
1185
+ const container = document.getElementById("lido-container");
1186
+ const beedsTextPlace = container.querySelector("#beedsText");
1187
+ if (!beedsTextPlace)
1188
+ return;
1189
+ const colsText = (_a = dropElement.getAttribute("cols")) !== null && _a !== void 0 ? _a : "";
1190
+ if (colsText.trim() === "")
1191
+ return;
1192
+ const currentText = ((_b = beedsTextPlace.textContent) !== null && _b !== void 0 ? _b : "").trim();
1193
+ if (currentText === "") {
1194
+ beedsTextPlace.textContent = colsText;
1195
+ return;
1196
+ }
1197
+ // Keep the expression part before "=" if it already exists.
1198
+ const expression = currentText.split("=")[0].trim();
1199
+ const newExpression = expression ? `${expression}+${colsText}` : colsText;
1200
+ const sum = newExpression
1201
+ .split("+")
1202
+ .map(part => Number(part.trim()))
1203
+ .reduce((acc, val) => (Number.isNaN(val) ? NaN : acc + val), 0);
1204
+ if (Number.isNaN(sum)) {
1205
+ beedsTextPlace.textContent = newExpression;
1206
+ }
1207
+ else {
1208
+ beedsTextPlace.textContent = `${newExpression}=${sum}`;
1209
+ }
1210
+ };
1183
1211
 
1184
1212
  function removeHighlight(element) {
1185
1213
  element.classList.remove('highlight-element');
@@ -7207,7 +7235,7 @@ var tanh$2 = Math.tanh || function (x) {
7207
7235
  function copysign(x, y) {
7208
7236
  var signx = true ;
7209
7237
  var signy = y > 0 ? true : y < 0 ? false : 1 / y === Infinity;
7210
- return signx ^ signy ? -x : x;
7238
+ return signx ^ signy ? -6.283185307179586 : x;
7211
7239
  }
7212
7240
  function _toNumberOrThrow(value, onError) {
7213
7241
  if (isNumber(value)) {
@@ -7830,7 +7858,7 @@ var EXP_LIMIT = 9e15, // 0 to 9e15
7830
7858
 
7831
7859
  // The minimum exponent value, beneath which underflow to zero occurs.
7832
7860
  // JavaScript numbers: -324 (5e-324)
7833
- minE: -EXP_LIMIT, // -1 to -EXP_LIMIT
7861
+ minE: -9e15, // -1 to -EXP_LIMIT
7834
7862
 
7835
7863
  // The maximum exponent value, above which overflow to Infinity occurs.
7836
7864
  // JavaScript numbers: 308 (1.7976931348623157e+308)
@@ -11956,10 +11984,10 @@ function config(obj) {
11956
11984
  ps = [
11957
11985
  'precision', 1, MAX_DIGITS,
11958
11986
  'rounding', 0, 8,
11959
- 'toExpNeg', -EXP_LIMIT, 0,
11987
+ 'toExpNeg', -9e15, 0,
11960
11988
  'toExpPos', 0, EXP_LIMIT,
11961
11989
  'maxE', 0, EXP_LIMIT,
11962
- 'minE', -EXP_LIMIT, 0,
11990
+ 'minE', -9e15, 0,
11963
11991
  'modulo', 0, 9
11964
11992
  ];
11965
11993
 
@@ -72696,6 +72724,10 @@ async function onActivityComplete(dragElement, dropElement) {
72696
72724
  if (onCorrect) {
72697
72725
  await executeActions(onCorrect, dropElement, dragElement);
72698
72726
  }
72727
+ //for multiply beeds
72728
+ if (container.getAttribute("template-id") === "multiplyBeeds") {
72729
+ multiplyBeedsCalculation(dropElement);
72730
+ }
72699
72731
  }
72700
72732
  else {
72701
72733
  const onInCorrect = dropElement.getAttribute('onInCorrect');
@@ -72840,6 +72872,12 @@ const validateObjectiveStatus = async () => {
72840
72872
  if (container.querySelectorAll("[type='click']").length > 0 || container.getAttribute("template-id") === "blender") {
72841
72873
  storingEachActivityScore(true);
72842
72874
  }
72875
+ if (container.getAttribute("template-id") === "multiplyBeeds") {
72876
+ const beedsTextPlace = container.querySelector("#beedsText");
72877
+ if (!beedsTextPlace)
72878
+ return;
72879
+ await animateMultiplyBeedsResult(beedsTextPlace);
72880
+ }
72843
72881
  await executeActions(onCorrect, container);
72844
72882
  }
72845
72883
  calculateScore();
@@ -72870,6 +72908,76 @@ const validateObjectiveStatus = async () => {
72870
72908
  }
72871
72909
  }
72872
72910
  };
72911
+ const parseMultiplyBeedsText = (text) => {
72912
+ const trimmed = text.trim();
72913
+ if (!trimmed)
72914
+ return null;
72915
+ const [expressionPart, resultPart] = trimmed.split("=");
72916
+ const expression = (expressionPart !== null && expressionPart !== void 0 ? expressionPart : "").trim();
72917
+ if (!expression)
72918
+ return null;
72919
+ const terms = expression
72920
+ .split("+")
72921
+ .map(part => part.trim())
72922
+ .filter(Boolean);
72923
+ if (terms.length === 0)
72924
+ return null;
72925
+ const firstValue = Number(terms[0]);
72926
+ if (Number.isNaN(firstValue))
72927
+ return null;
72928
+ const allSame = terms.every(term => Number(term) === firstValue);
72929
+ if (!allSame)
72930
+ return null;
72931
+ let total = Number((resultPart !== null && resultPart !== void 0 ? resultPart : "").trim());
72932
+ if (Number.isNaN(total)) {
72933
+ total = terms
72934
+ .map(term => Number(term))
72935
+ .reduce((acc, val) => (Number.isNaN(val) ? NaN : acc + val), 0);
72936
+ }
72937
+ if (Number.isNaN(total))
72938
+ return null;
72939
+ return {
72940
+ value: firstValue,
72941
+ count: terms.length,
72942
+ total,
72943
+ };
72944
+ };
72945
+ const animateMultiplyBeedsResult = (beedsTextPlace) => {
72946
+ var _a;
72947
+ const parsed = parseMultiplyBeedsText((_a = beedsTextPlace.textContent) !== null && _a !== void 0 ? _a : "");
72948
+ if (!parsed)
72949
+ return;
72950
+ const existingTimerIds = beedsTextPlace.getAttribute("data-multiply-timers");
72951
+ if (existingTimerIds) {
72952
+ existingTimerIds
72953
+ .split(",")
72954
+ .map(id => Number(id))
72955
+ .filter(id => Number.isFinite(id))
72956
+ .forEach(id => clearTimeout(id));
72957
+ }
72958
+ beedsTextPlace.removeAttribute("data-multiply-timers");
72959
+ const steps = [
72960
+ String(parsed.value),
72961
+ "X",
72962
+ String(parsed.count),
72963
+ "=",
72964
+ String(parsed.total),
72965
+ ];
72966
+ const intervalMs = 1000;
72967
+ const timerIds = [];
72968
+ steps.forEach((step, index) => {
72969
+ const id = window.setTimeout(() => {
72970
+ var _a;
72971
+ if (index === 0) {
72972
+ beedsTextPlace.textContent = "";
72973
+ }
72974
+ const existing = ((_a = beedsTextPlace.textContent) !== null && _a !== void 0 ? _a : "").trim();
72975
+ beedsTextPlace.textContent = existing ? `${existing} ${step}` : step;
72976
+ }, intervalMs * (index + 1));
72977
+ timerIds.push(id);
72978
+ });
72979
+ beedsTextPlace.setAttribute("data-multiply-timers", timerIds.join(","));
72980
+ };
72873
72981
  const triggerNextContainer = () => {
72874
72982
  AudioPlayer.getI().stop();
72875
72983
  // const event = new CustomEvent('nextContainer');
@@ -25,22 +25,9 @@ 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.3 | MIT Licensed | https://stenciljs.com
28
+ Stencil Client Platform v4.43.0 | 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
44
31
  var reWireGetterSetter = (instance, hostRef) => {
45
32
  var _a;
46
33
  const cmpMeta = hostRef.$cmpMeta$;
@@ -48,7 +35,7 @@ var reWireGetterSetter = (instance, hostRef) => {
48
35
  members.map(([memberName, [memberFlags]]) => {
49
36
  if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
50
37
  const ogValue = instance[memberName];
51
- const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
38
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
52
39
  if (ogDescriptor) {
53
40
  Object.defineProperty(instance, memberName, {
54
41
  get() {
@@ -61,14 +48,18 @@ var reWireGetterSetter = (instance, hostRef) => {
61
48
  enumerable: true
62
49
  });
63
50
  }
64
- if (hostRef.$instanceValues$.has(memberName)) {
65
- instance[memberName] = hostRef.$instanceValues$.get(memberName);
66
- } else if (ogValue !== void 0) {
67
- instance[memberName] = ogValue;
68
- }
51
+ instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
69
52
  }
70
53
  });
71
54
  };
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
+ }
72
63
 
73
64
  // src/client/client-host-ref.ts
74
65
  var getHostRef = (ref) => {
@@ -452,7 +443,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
452
443
  }
453
444
  } else {
454
445
  const existingStyleContainer = styleContainerNode.querySelector("style");
455
- if (existingStyleContainer && true) {
446
+ if (existingStyleContainer) {
456
447
  existingStyleContainer.textContent = style + existingStyleContainer.textContent;
457
448
  } else {
458
449
  styleContainerNode.prepend(styleElm);
@@ -730,7 +721,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
730
721
  return;
731
722
  } else {
732
723
  const isComplex = isComplexType(newValue);
733
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
724
+ if ((isProp || isComplex && newValue !== null) && true) {
734
725
  try {
735
726
  if (!elm.tagName.includes("-")) {
736
727
  const n = newValue == null ? "" : newValue;
@@ -1594,7 +1585,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1594
1585
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1595
1586
  members.map(([memberName, [memberFlags]]) => {
1596
1587
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1597
- const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
1588
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1598
1589
  if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1599
1590
  if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1600
1591
  if (flags & 1 /* isElementConstructor */ || !origGetter) {
@@ -1856,7 +1847,7 @@ var connectedCallback = (elm) => {
1856
1847
  }
1857
1848
  if (cmpMeta.$members$) {
1858
1849
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1859
- if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
1850
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1860
1851
  const value = elm[memberName];
1861
1852
  delete elm[memberName];
1862
1853
  elm[memberName] = value;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BDnxAitU.js');
4
- require('./index-Dl8SlqP-.js');
3
+ var index = require('./index-BEEcyP4v.js');
4
+ require('./index-BrME-8br.js');
5
5
 
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Dl8SlqP-.js');
4
- var index$1 = require('./index-BDnxAitU.js');
3
+ var index = require('./index-BrME-8br.js');
4
+ var index$1 = require('./index-BEEcyP4v.js');
5
5
 
6
6
  var rive$1 = {exports: {}};
7
7
 
@@ -747,7 +747,7 @@ function requireRive () {
747
747
  return Wa(c, a, b);
748
748
  }));
749
749
  }
750
- var Za, $a, db = {478226:(a, b, c, d, e) => {
750
+ var Za, $a, db = {491138:(a, b, c, d, e) => {
751
751
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
752
752
  return 0;
753
753
  }
@@ -810,11 +810,11 @@ function requireRive () {
810
810
  }
811
811
  window.h.za += 1;
812
812
  return 1;
813
- }, 480404:() => {
813
+ }, 493316:() => {
814
814
  "undefined" !== typeof window.h && (window.h.Sa.map(function(a) {
815
815
  document.removeEventListener(a, window.h.unlock, true);
816
816
  }), --window.h.za, 0 === window.h.za && delete window.h);
817
- }, 480708:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 480812:() => {
817
+ }, 493620:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493724:() => {
818
818
  try {
819
819
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
820
820
  a.close();
@@ -822,7 +822,7 @@ function requireRive () {
822
822
  } catch (c) {
823
823
  return 0;
824
824
  }
825
- }, 480983:(a, b, c, d, e, f) => {
825
+ }, 493895:(a, b, c, d, e, f) => {
826
826
  if ("undefined" === typeof window.h) {
827
827
  return -1;
828
828
  }
@@ -868,7 +868,7 @@ function requireRive () {
868
868
  a == window.h.J.xa && g.Z.connect(g.L.destination);
869
869
  g.pb = f;
870
870
  return window.h.sc(g);
871
- }, 483860:a => window.h.qa(a).L.sampleRate, 483933:a => {
871
+ }, 496772:a => window.h.qa(a).L.sampleRate, 496845:a => {
872
872
  a = window.h.qa(a);
873
873
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
874
874
  }, a.Z.disconnect(), a.Z = void 0);
@@ -876,13 +876,13 @@ function requireRive () {
876
876
  a.L.close();
877
877
  a.L = void 0;
878
878
  a.pb = void 0;
879
- }, 484333:a => {
879
+ }, 497245:a => {
880
880
  window.h.Ab(a);
881
- }, 484383:a => {
881
+ }, 497295:a => {
882
882
  a = window.h.qa(a);
883
883
  a.L.resume();
884
884
  a.state = window.h.ga.wb;
885
- }, 484522:a => {
885
+ }, 497434:a => {
886
886
  a = window.h.qa(a);
887
887
  a.L.suspend();
888
888
  a.state = window.h.ga.stopped;
@@ -3390,7 +3390,7 @@ function requireRive () {
3390
3390
  /* 2 */
3391
3391
  /***/ ((module) => {
3392
3392
 
3393
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.35.3","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3393
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.35.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3394
3394
 
3395
3395
  /***/ }),
3396
3396
  /* 3 */
@@ -8278,8 +8278,9 @@ const LidoAvatar = class {
8278
8278
  display: this.visible ? 'flex' : 'none',
8279
8279
  zIndex: this.z,
8280
8280
  };
8281
- return (index.h(index.Host, { key: 'e37ca80bf4fce30a13791a1b1dce283966903645', id: this.id, type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, src: this.src }, index.h("canvas", { key: '0b1ac45cfb89c5d88c0720e92664af71b143f274', class: "lido-canvas" })));
8281
+ return (index.h(index.Host, { key: 'c8b6bedf402ea855efa32eeedc897b6dff97e2ba', id: this.id, type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, src: this.src }, index.h("canvas", { key: 'dc3751f08ad1de2830a86a6e3e774ab9b466d06c', class: "lido-canvas" })));
8282
8282
  }
8283
+ static get assetsDirs() { return ["."]; }
8283
8284
  get el() { return index.getElement(this); }
8284
8285
  };
8285
8286
  LidoAvatar.style = lidoAvatarCss();
@@ -8622,7 +8623,11 @@ const LidoCalculator = class {
8622
8623
  this.onOk.emit(isCorrect);
8623
8624
  const okbtn = document.getElementById("btn-11");
8624
8625
  if (isCorrect) {
8625
- container.setAttribute("game-completed", "true");
8626
+ const isNimbleTable = container.getAttribute('template-id') === 'nimbleTable';
8627
+ const isMultiObjective = this.objective.includes(',');
8628
+ if (!(isNimbleTable && isMultiObjective)) {
8629
+ container.setAttribute("game-completed", "true");
8630
+ }
8626
8631
  this.tempInputs.push(userInput);
8627
8632
  const existingSelected = JSON.parse((_a = container.getAttribute(index$1.SelectedValuesKey)) !== null && _a !== void 0 ? _a : '[]');
8628
8633
  const cleanedSelected = Array.isArray(existingSelected)
@@ -8636,10 +8641,20 @@ const LidoCalculator = class {
8636
8641
  okbtn.style.pointerEvents = 'none'; // Disable OK button to prevent multiple clicks
8637
8642
  this.displayValue = "";
8638
8643
  index$1.storingEachActivityScore(isCorrect, index$1.CalculatorOk);
8644
+ if (isNimbleTable && isMultiObjective) {
8645
+ const activeCell = container.querySelector("[type='calculate']");
8646
+ if (activeCell) {
8647
+ const activeCellAudio = activeCell.getAttribute('audio') || '';
8648
+ if (activeCellAudio.trim()) {
8649
+ activeCell.style.boxShadow = 'none !important';
8650
+ activeCell.setAttribute('onCorrect', "this.speak='true'");
8651
+ index$1.AudioPlayer.getI().play(activeCell);
8652
+ }
8653
+ }
8654
+ }
8639
8655
  const onCorrect = (container === null || container === void 0 ? void 0 : container.getAttribute('onCorrect')) || '';
8640
8656
  await index$1.executeActions(onCorrect, container);
8641
8657
  const hasScrollAction = onCorrect.includes('scrollCellAfterEquationSolved');
8642
- const isMultiObjective = this.objective.includes(',');
8643
8658
  if (!hasScrollAction) {
8644
8659
  if (!isMultiObjective) {
8645
8660
  index$1.calculateScore();
@@ -8649,6 +8664,7 @@ const LidoCalculator = class {
8649
8664
  const objectives = this.objective.split(',').map(obj => obj.trim());
8650
8665
  const allSolved = this.userAnswers.length >= objectives.length;
8651
8666
  if (allSolved) {
8667
+ container.setAttribute("game-completed", "true");
8652
8668
  index$1.calculateScore();
8653
8669
  window.dispatchEvent(new CustomEvent(index$1.NextContainerKey));
8654
8670
  }
@@ -8677,7 +8693,7 @@ const LidoCalculator = class {
8677
8693
  }
8678
8694
  render() {
8679
8695
  const numbers = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '←', '0', 'OK'];
8680
- return (index.h(index.Host, { key: '3142741f9712fec62b3094504a689ab10a8a4adc', 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: '977a41823d740f1eaf24c6296c366ee2f070fc75', visible: "true", height: "94px", width: "60px" }, index.h("lido-text", { key: '8a16f2f6bf09e5a87cc9d08acf3ab2cf50a09876', 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: 'dabdc13613fc5f6a8ad73c933a6de69f320dc626', src: index$1.convertUrlToRelative(this.penIcon), alt: "pen", style: { width: '100%', height: '100%' } }))), index.h("div", { key: '27a068eee1580b397709c274f1f29b626d681e17', class: "lido-calculator-displayParent" }, index.h("div", { key: 'dd430c1e6366101ad8e9822961c06a92e52a7173', class: "lido-calculator-display" }, this.displayValue)), index.h("div", { key: 'ab7db4a88676205492e84cb241ce759eab93404d', class: "lido-calculator-buttons" }, numbers.map((num, i) => (index.h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
8696
+ return (index.h(index.Host, { key: 'f74605bdd05ece961c175ff64aba213961797587', 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: 'df158e5e1a545a3d763e3e5a8bf07861b826aad0', visible: "true", height: "94px", width: "60px" }, index.h("lido-text", { key: 'c6afe2c1e7970b2d6f5a6d63a6cc8f2ceb403f74', 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: '60e8e03c6d344c6b8be3c2a7417fb4ed55a2af9e', src: index$1.convertUrlToRelative(this.penIcon), alt: "pen", style: { width: '100%', height: '100%' } }))), index.h("div", { key: 'cf53e61f86acc8dce793ee1b09d880ee6fe8e35e', class: "lido-calculator-displayParent" }, index.h("div", { key: '0522a16f1ff07e3e42078eab83f58b4a0e9a6fbf', class: "lido-calculator-display" }, this.displayValue)), index.h("div", { key: 'c0145ed065199cc68ed136ebc3077a2857da7b2b', class: "lido-calculator-buttons" }, numbers.map((num, i) => (index.h("lido-text", { id: `btn-${i}`, string: num, visible: "true", type: "click", class: {
8681
8697
  'lido-calculator-btn-special': num === '←' || num === 'OK',
8682
8698
  'lido-calculator-btn-default': num !== '←' && num !== 'OK'
8683
8699
  }, onClick: () => this.handleClick(num) }))))));
@@ -9308,7 +9324,7 @@ const deepFind = (obj, path, keySeparator = '.') => {
9308
9324
  }
9309
9325
  return current;
9310
9326
  };
9311
- const getCleanedCode = code => code?.replace(/_/g, '-');
9327
+ const getCleanedCode = code => code?.replace('_', '-');
9312
9328
 
9313
9329
  const consoleLogger = {
9314
9330
  type: 'logger',
@@ -9569,16 +9585,7 @@ function keysFromSelector(selector, opts) {
9569
9585
  const {
9570
9586
  [PATH_KEY]: path
9571
9587
  } = selector(createProxy());
9572
- const keySeparator = opts?.keySeparator ?? '.';
9573
- const nsSeparator = opts?.nsSeparator ?? ':';
9574
- if (path.length > 1 && nsSeparator) {
9575
- const ns = opts?.ns;
9576
- const nsArray = Array.isArray(ns) ? ns : null;
9577
- if (nsArray && nsArray.length > 1 && nsArray.slice(1).includes(path[0])) {
9578
- return `${path[0]}${nsSeparator}${path.slice(1).join(keySeparator)}`;
9579
- }
9580
- }
9581
- return path.join(keySeparator);
9588
+ return path.join(opts?.keySeparator ?? '.');
9582
9589
  }
9583
9590
 
9584
9591
  const checkedLoadedFor = {};
@@ -9652,10 +9659,6 @@ class Translator extends EventEmitter {
9652
9659
  ...opt
9653
9660
  });
9654
9661
  if (!Array.isArray(keys)) keys = [String(keys)];
9655
- keys = keys.map(k => typeof k === 'function' ? keysFromSelector(k, {
9656
- ...this.options,
9657
- ...opt
9658
- }) : String(k));
9659
9662
  const returnDetails = opt.returnDetails !== undefined ? opt.returnDetails : this.options.returnDetails;
9660
9663
  const keySeparator = opt.keySeparator !== undefined ? opt.keySeparator : this.options.keySeparator;
9661
9664
  const {
@@ -9902,10 +9905,6 @@ class Translator extends EventEmitter {
9902
9905
  let usedLng;
9903
9906
  let usedNS;
9904
9907
  if (isString(keys)) keys = [keys];
9905
- if (Array.isArray(keys)) keys = keys.map(k => typeof k === 'function' ? keysFromSelector(k, {
9906
- ...this.options,
9907
- ...opt
9908
- }) : k);
9909
9908
  keys.forEach(k => {
9910
9909
  if (this.isValidLookup(found)) return;
9911
9910
  const extracted = this.extractFromKey(k, opt);
@@ -10834,21 +10833,13 @@ const bindMemberFunctions = inst => {
10834
10833
  }
10835
10834
  });
10836
10835
  };
10837
- const SUPPORT_NOTICE_KEY = '__i18next_supportNoticeShown';
10838
- const getSupportNoticeShown = () => typeof globalThis !== 'undefined' && !!globalThis[SUPPORT_NOTICE_KEY];
10839
- const setSupportNoticeShown = () => {
10840
- if (typeof globalThis !== 'undefined') globalThis[SUPPORT_NOTICE_KEY] = true;
10841
- };
10836
+ let supportNoticeShown = false;
10842
10837
  const usesLocize = inst => {
10843
10838
  if (inst?.modules?.backend?.name?.indexOf('Locize') > 0) return true;
10844
10839
  if (inst?.modules?.backend?.constructor?.name?.indexOf('Locize') > 0) return true;
10845
10840
  if (inst?.options?.backend?.backends) {
10846
10841
  if (inst.options.backend.backends.some(b => b?.name?.indexOf('Locize') > 0 || b?.constructor?.name?.indexOf('Locize') > 0)) return true;
10847
10842
  }
10848
- if (inst?.options?.backend?.projectId) return true;
10849
- if (inst?.options?.backend?.backendOptions) {
10850
- if (inst.options.backend.backendOptions.some(b => b?.projectId)) return true;
10851
- }
10852
10843
  return false;
10853
10844
  };
10854
10845
  class I18n extends EventEmitter {
@@ -10903,9 +10894,9 @@ class I18n extends EventEmitter {
10903
10894
  if (typeof this.options.overloadTranslationOptionHandler !== 'function') {
10904
10895
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
10905
10896
  }
10906
- if (this.options.showSupportNotice !== false && !usesLocize(this) && !getSupportNoticeShown()) {
10907
- if (typeof console !== 'undefined' && typeof console.info !== 'undefined') console.info('🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙');
10908
- setSupportNoticeShown();
10897
+ if (this.options.showSupportNotice !== false && !usesLocize(this) && !supportNoticeShown) {
10898
+ 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 💙');
10899
+ supportNoticeShown = true;
10909
10900
  }
10910
10901
  const createClassOnDemand = ClassOrObject => {
10911
10902
  if (!ClassOrObject) return null;
@@ -11167,19 +11158,21 @@ class I18n extends EventEmitter {
11167
11158
  o.lngs = o.lngs || fixedT.lngs;
11168
11159
  o.ns = o.ns || fixedT.ns;
11169
11160
  if (o.keyPrefix !== '') o.keyPrefix = o.keyPrefix || keyPrefix || fixedT.keyPrefix;
11170
- const selectorOpts = {
11171
- ...this.options,
11172
- ...o
11173
- };
11174
11161
  const keySeparator = this.options.keySeparator || '.';
11175
11162
  let resultKey;
11176
11163
  if (o.keyPrefix && Array.isArray(key)) {
11177
11164
  resultKey = key.map(k => {
11178
- if (typeof k === 'function') k = keysFromSelector(k, selectorOpts);
11165
+ if (typeof k === 'function') k = keysFromSelector(k, {
11166
+ ...this.options,
11167
+ ...opts
11168
+ });
11179
11169
  return `${o.keyPrefix}${keySeparator}${k}`;
11180
11170
  });
11181
11171
  } else {
11182
- if (typeof key === 'function') key = keysFromSelector(key, selectorOpts);
11172
+ if (typeof key === 'function') key = keysFromSelector(key, {
11173
+ ...this.options,
11174
+ ...opts
11175
+ });
11183
11176
  resultKey = o.keyPrefix ? `${o.keyPrefix}${keySeparator}${key}` : key;
11184
11177
  }
11185
11178
  return this.t(resultKey, o);
@@ -12407,7 +12400,7 @@ const LidoContainer = class {
12407
12400
  userSelect: 'none', // Prevent any field selection
12408
12401
  };
12409
12402
  console.log('🚀 ~ LidoContainer ~ canplay:', this.canplay);
12410
- return (index.h(index.Host, { key: 'abcebd40adfbb553ac4878f9e0d7b76800d74a59', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": this.disableSpeak, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, index.h("lido-text", { key: '94b6176383b21924018ba601e4c69d6f640e6cac', visible: "false", id: this.templateId, audio: "", string: this.instructName }), index.h("slot", { key: 'fb107851146dc5e3d3a17cef43a84dd894fad646' })));
12403
+ return (index.h(index.Host, { key: '9969d4eee1befeb5b5a82fdce7c58aa44abc179c', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": `${this.disableSpeak}`, "template-id": this.templateId, audio: this.audio, "highlight-word-by-word": `${this.highlightWordByWord}` }, index.h("lido-text", { key: 'c5476a7d3e16bb1b5608046d9f0b54f757003706', visible: "false", id: this.templateId, audio: "", string: this.instructName }), index.h("slot", { key: '7523757d12373c3355815012ed6a93abcb839f71' })));
12411
12404
  }
12412
12405
  get el() { return index.getElement(this); }
12413
12406
  static get watchers() { return {
@@ -12931,7 +12924,7 @@ const LidoHome = class {
12931
12924
  }
12932
12925
  // Pure-JS fallback (no wasm asset required)
12933
12926
  try {
12934
- const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-BCtIYiSY.js'); }).then(function (n) { return n.decode; });
12927
+ const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-JJkh_9QG.js'); }).then(function (n) { return n.decode; });
12935
12928
  const brotliDecompressBuffer = brotliDecodeModule.BrotliDecompressBuffer ||
12936
12929
  ((_a = brotliDecodeModule.default) === null || _a === void 0 ? void 0 : _a.BrotliDecompressBuffer);
12937
12930
  if (typeof brotliDecompressBuffer !== 'function') {
@@ -13200,7 +13193,8 @@ const LidoHome = class {
13200
13193
  const tabIndex = el.getAttribute('tab-index');
13201
13194
  const htmlel = el;
13202
13195
  if (tabIndex && Number(tabIndex) > 0) {
13203
- if (el && el.getAttribute('disable-speak') !== 'true') {
13196
+ if (el && (el.getAttribute('disable-speak') !== 'true') || !el.getAttribute("disable-speak")) {
13197
+ console.log("disbale speak thing : ", el.getAttribute("diable-speak"), !el.getAttribute("diable-speak"));
13204
13198
  await index$1.AudioPlayer.getI().play(htmlel);
13205
13199
  }
13206
13200
  if (index$1.getCancelBtnPopup()) {
@@ -16622,7 +16616,7 @@ const LidoMathMatrix = class {
16622
16616
  slot.style.border = this.border;
16623
16617
  slot.style.color = this.fontColor;
16624
16618
  if (slot.className.includes('slot-active')) {
16625
- slot.style.visibility = 'visible';
16619
+ slot.style.visibility = '';
16626
16620
  if (this.matrixImage) {
16627
16621
  slot.style.setProperty('--bg-image', `url(${index$1.convertUrlToRelative(this.matrixImage)})`);
16628
16622
  }
@@ -16653,8 +16647,15 @@ const LidoMathMatrix = class {
16653
16647
  const fristElement = this.el.querySelector('.slot');
16654
16648
  if (!slotElement.length || !fristElement)
16655
16649
  return;
16656
- const elementSize = Number(this.rows) < Number(this.cols) ? this.el.offsetHeight : this.el.offsetWidth;
16657
- const numberOfSlots = Number(this.rows) > Number(this.cols) ? Number(this.rows) : Number(this.cols);
16650
+ const container = document.getElementById(index$1.LidoContainer);
16651
+ let numOfRows = this.rows;
16652
+ let numOfCols = this.cols;
16653
+ if (container && container.getAttribute("template-id") === "multiplyBeeds") {
16654
+ numOfCols = "9";
16655
+ numOfRows = "1";
16656
+ }
16657
+ const elementSize = Number(numOfRows) < Number(numOfCols) ? this.el.offsetHeight : this.el.offsetWidth;
16658
+ const numberOfSlots = Number(numOfRows) > Number(numOfCols) ? Number(numOfRows) : Number(numOfCols);
16658
16659
  const slotParent = this.el.querySelectorAll('.slot-parent');
16659
16660
  const slotMaxValues = elementSize / numberOfSlots;
16660
16661
  slotParent.forEach(parent => {
@@ -16760,7 +16761,7 @@ const LidoMathMatrix = class {
16760
16761
  render() {
16761
16762
  let slotNumber = 1;
16762
16763
  const slotData = this.getSlotData();
16763
- return (index.h(index.Host, { key: '3da93fe1224f166febc7da07a7ef301a66d88997', class: "math-matrix", style: {
16764
+ return (index.h(index.Host, { key: '0281adbd885b8021d47ed5407aabbfadf008bdd1', class: "math-matrix", style: {
16764
16765
  height: this.style.height,
16765
16766
  width: this.style.width,
16766
16767
  z: this.style.z,
@@ -17883,7 +17884,7 @@ const LidoText = class {
17883
17884
  }
17884
17885
  }
17885
17886
  render() {
17886
- return (index.h(index.Host, { key: '7b3c230890775e489b3d2bc2abca683078211377', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType, "disable-speak": this.disableSpeak }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, " ", instance.t(this.string)) : instance.t(this.string)));
17887
+ return (index.h(index.Host, { key: '35218060c543c6775c92989779e173af4702b0d8', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType, "disable-speak": `${this.disableSpeak}` }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, " ", instance.t(this.string)) : instance.t(this.string)));
17887
17888
  }
17888
17889
  get el() { return index.getElement(this); }
17889
17890
  };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Dl8SlqP-.js');
3
+ var index = require('./index-BrME-8br.js');
4
4
 
5
5
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
6
  /*
7
- Stencil Client Patch Browser v4.43.3 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Patch Browser v4.43.0 | 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-Dl8SlqP-.js');
3
+ var index = require('./index-BrME-8br.js');
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;