lido-player 0.0.2-beta-09 → 0.0.2-beta-10

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 (39) hide show
  1. package/dist/cjs/{decode-BGpB00bI.js → decode-COuOLWQt.js} +1 -1
  2. package/dist/cjs/{index-Ch9Ct6sb.js → index-CPFtlL1n.js} +1 -1
  3. package/dist/cjs/{index-Y4X7a1AL.js → index-Dy19zuTX.js} +1 -1
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/lido-avatar_22.cjs.entry.js +33 -36
  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 -1
  9. package/dist/collection/components/home/lido-home.js +3 -3
  10. package/dist/collection/components/text/lido-text.js +1 -1
  11. package/dist/collection/utils/i18n.js +4 -4
  12. package/dist/components/lido-calculator.js +1 -1
  13. package/dist/components/lido-container.js +1 -1
  14. package/dist/components/lido-home.js +1 -1
  15. package/dist/components/lido-keyboard.js +1 -1
  16. package/dist/components/lido-root.js +1 -1
  17. package/dist/components/lido-text.js +1 -1
  18. package/dist/components/{p-DV74KWbC.js → p-B712HxGz.js} +2 -2
  19. package/dist/components/{p-CSu0EVWd.js → p-Cj0WIIDb.js} +1 -1
  20. package/dist/components/{p-tvTO4cIa.js → p-DVn4BL1l.js} +1 -1
  21. package/dist/components/{p-Rq1bu-YC.js → p-oO4WyqLq.js} +1 -1
  22. package/dist/components/{p-DM4OQq6g.js → p-qqHD4Pch.js} +1 -1
  23. package/dist/esm/{decode-DhZ4ctW4.js → decode-Bs8H_aLp.js} +1 -1
  24. package/dist/esm/{index-L8apbwLh.js → index-CS2I2YZa.js} +1 -1
  25. package/dist/esm/{index-ESIgsUZt.js → index-Dq-Z8Dx0.js} +1 -1
  26. package/dist/esm/index.js +2 -2
  27. package/dist/esm/lido-avatar_22.entry.js +33 -36
  28. package/dist/esm/lido-player.js +3 -3
  29. package/dist/esm/loader.js +2 -2
  30. package/dist/lido-player/index.esm.js +1 -1
  31. package/dist/lido-player/lido-player.esm.js +1 -1
  32. package/dist/lido-player/p-973e6ce9.entry.js +12 -0
  33. package/dist/lido-player/{p-D8SQ6dkz.js → p-DvcZcwfC.js} +1 -1
  34. package/dist/lido-player/{p-C4H7tpII.js → p-DxLnBaAa.js} +1 -1
  35. package/dist/types/components.d.ts +2 -2
  36. package/dist/types/stencil-public-runtime.d.ts +1 -0
  37. package/package.json +1 -1
  38. package/dist/lido-player/p-caae6367.entry.js +0 -12
  39. /package/dist/lido-player/{p-ESIgsUZt.js → p-Dq-Z8Dx0.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Ch9Ct6sb.js');
3
+ var index = require('./index-CPFtlL1n.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-Y4X7a1AL.js');
3
+ var index$1 = require('./index-Dy19zuTX.js');
4
4
 
5
5
  const DragMapKey = 'lidoDragMap';
6
6
  const SelectedValuesKey = 'lidoSelectedValues';
@@ -25,7 +25,7 @@ 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;left:0;top:0;pointer-events:none;z-index:9999;background:linear-gradient(\r\n 180deg,\r\n rgba(255, 235, 59, 0.95),\r\n rgba(255, 214, 0, 0.95)\r\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\r\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:width 25ms ease-out,\r\n height 25ms ease-out,\r\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}";
26
26
 
27
27
  /*
28
- Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
28
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
29
29
  */
30
30
 
31
31
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Ch9Ct6sb.js');
4
- require('./index-Y4X7a1AL.js');
3
+ var index = require('./index-CPFtlL1n.js');
4
+ require('./index-Dy19zuTX.js');
5
5
 
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Y4X7a1AL.js');
4
- var index$1 = require('./index-Ch9Ct6sb.js');
3
+ var index = require('./index-Dy19zuTX.js');
4
+ var index$1 = require('./index-CPFtlL1n.js');
5
5
 
6
6
  var rive$1 = {exports: {}};
7
7
 
@@ -11715,7 +11715,6 @@ class Browser {
11715
11715
  }
11716
11716
  Browser.type = 'languageDetector';
11717
11717
 
11718
- const Exit$5 = "Exit";
11719
11718
  const instruction$4 = {
11720
11719
  dragAndDrop: "Match the items by dragging and dropping them into the correct places.",
11721
11720
  mcq: "Select the correct answer from the options provided.",
@@ -11750,15 +11749,14 @@ const instruction$4 = {
11750
11749
  palegramcqimages: "palegramcqimagesEngAudio"
11751
11750
  };
11752
11751
  var en = {
11753
- "Do you want to exit?": "Do you want to exit?",
11754
- Exit: Exit$5,
11755
- "Continue playing": "Continue playing",
11752
+ "Do you want to exit? button": "Do you want to exit?",
11753
+ "Exit button": "Exit",
11754
+ "Continue playing button": "Continue playing",
11756
11755
  "Drop the elements to match the given symbol order": "Drop the elements to match the given symbol order",
11757
11756
  "Fill in the blanks": "Fill in the blanks",
11758
11757
  instruction: instruction$4
11759
11758
  };
11760
11759
 
11761
- const Exit$4 = "Quitter";
11762
11760
  const instruction$3 = {
11763
11761
  dragAndDrop: "Faites glisser les objets vers le bon emplacement.",
11764
11762
  mcq: "Choisissez la bonne réponse parmi les options proposées.",
@@ -11766,15 +11764,14 @@ const instruction$3 = {
11766
11764
  flashcards: "Regardez les cartes mémoire pour renforcer l’apprentissage."
11767
11765
  };
11768
11766
  var fr = {
11769
- "Do you want to exit?": "Voulez-vous quitter?",
11770
- Exit: Exit$4,
11771
- "Continue playing": "Continuer à jouer",
11767
+ "Do you want to exit? button": "Voulez-vous quitter?",
11768
+ "Exit button": "Quitter",
11769
+ "Continue playing button": "Continuer à jouer",
11772
11770
  "Drop the elements to match the given symbol order": "Déposez les éléments pour correspondre au symbole donné",
11773
11771
  "Fill in the blanks": "Remplissez les blancs",
11774
11772
  instruction: instruction$3
11775
11773
  };
11776
11774
 
11777
- const Exit$3 = "बाहर निकलें";
11778
11775
  const instruction$2 = {
11779
11776
  dragAndDrop: "Match the items by dragging and dropping them into the correct places.",
11780
11777
  mcq: "Select the correct answer from the options provided.",
@@ -11809,15 +11806,14 @@ const instruction$2 = {
11809
11806
  palegramcqimages: "palegramcqimagesHiAudio"
11810
11807
  };
11811
11808
  var hi = {
11812
- "Do you want to exit?": "क्या आप बाहर निकलना चाहते हैं?",
11813
- Exit: Exit$3,
11814
- "Continue playing": "खेलना जारी रखें",
11809
+ "Do you want to exit? button": "क्या आप बाहर निकलना चाहते हैं?",
11810
+ "Exit button": "बाहर निकलें",
11811
+ "Continue playing button": "खेलना जारी रखें",
11815
11812
  "Drop the elements to match the given symbol order": "दिए गए चिन्ह से मिलाने के लिए तत्वों को ड्रॉप करें",
11816
11813
  "Fill in the blanks": "रिक्त स्थान भरें",
11817
11814
  instruction: instruction$2
11818
11815
  };
11819
11816
 
11820
- const Exit$2 = "ನಿರ್ಗಮಿಸು";
11821
11817
  const instruction$1 = {
11822
11818
  dragAndDrop: "Match the items by dragging and dropping them into the correct places.",
11823
11819
  mcq: "Select the correct answer from the options provided.",
@@ -11852,28 +11848,26 @@ const instruction$1 = {
11852
11848
  palegramcqimages: "palegramcqimagesKaAudio"
11853
11849
  };
11854
11850
  var kn = {
11855
- "Do you want to exit?": "ನೀವು ನಿರ್ಗಮಿಸಲು ಬಯಸುವಿರಾ?",
11856
- Exit: Exit$2,
11857
- "Continue playing": "ಆಟವನ್ನು ಮುಂದುವರಿಸಿ",
11851
+ "Do you want to exit? button": "ನೀವು ನಿರ್ಗಮಿಸಲು ಬಯಸುವಿರಾ?",
11852
+ "Exit button": "ನಿರ್ಗಮಿಸು",
11853
+ "Continue playing button": "ಆಟವನ್ನು ಮುಂದುವರಿಸಿ",
11858
11854
  "Drop the elements to match the given symbol order": "ನೀಡಿರುವ ಸಂಕೇತಕ್ಕೆ ಹೊಂದುವಂತೆ ಅಂಶಗಳನ್ನು ಬಿಡಿ",
11859
11855
  "Fill in the blanks": "ಖಾಲಿ ಸ್ಥಳಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",
11860
11856
  instruction: instruction$1
11861
11857
  };
11862
11858
 
11863
- const Exit$1 = "బయటకు వెళ్ళు";
11864
11859
  var te = {
11865
- "Do you want to exit?": "మీరు బయటకు వెళ్లాలనుకుంటున్నారా?",
11866
- Exit: Exit$1,
11867
- "Continue playing": "ఆటను కొనసాగించు",
11868
- "Drop the elements to match the given symbol order": "ఇచ్చిన చిహ్నానికి సరిపడేలా అంశాలను డ్రాప్ చేయండి",
11869
- "Fill in the blanks": "ఖాళీలను నింపండి"
11860
+ "Do you want to exit? button": "మీరు బయటకు వెళ్లాలనుకుంటున్నారా?",
11861
+ "Exit button": "బయటకు వెళ్ళు",
11862
+ "Continue playing button": "ఆటను కొనసాగించు",
11863
+ "Drop the elements to match the given symbol order": "ఇచ్చిన చిహ్నానికి సరిపడేలా అంశాలను డ్రాప్ చేయಂడಿ",
11864
+ "Fill in the blanks": "ಖಾಲಿ ಸ್ಥಳಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ"
11870
11865
  };
11871
11866
 
11872
- const Exit = "Sair";
11873
- var port = {
11874
- "Do you want to exit?": "Você deseja sair?",
11875
- Exit: Exit,
11876
- "Continue playing": "Continuar jogando",
11867
+ var pt = {
11868
+ "Do you want to exit? button": "Você deseja sair?",
11869
+ "Exit button": "Sair",
11870
+ "Continue playing button": "Continuar jogando",
11877
11871
  "Drop the elements to match the given symbol order": "Solte os elementos para corresponder à ordem dos símbolos fornecida",
11878
11872
  "Fill in the blanks": "Preencha os espaços em branco"
11879
11873
  };
@@ -11884,7 +11878,10 @@ const instruction = {
11884
11878
  tracing: "रेषेचा काळजीपूर्वक मागोवा घेत आकृती काढा.",
11885
11879
  flashcards: "तुमचे शिक्षण मजबूत करण्यासाठी फ्लॅशकार्ड्स पाहा."
11886
11880
  };
11887
- var ma = {
11881
+ var mr = {
11882
+ "Do you want to exit? button": "तुम्हाला बाहेर पडायचे आहे का?",
11883
+ "Exit button": "बाहेर पडा",
11884
+ "Continue playing button": "खेळ सुरू ठेवा",
11888
11885
  instruction: instruction
11889
11886
  };
11890
11887
 
@@ -11897,8 +11894,8 @@ instance
11897
11894
  hi: { translation: hi },
11898
11895
  kn: { translation: kn },
11899
11896
  te: { translation: te },
11900
- port: { translation: port },
11901
- ma: { translation: ma },
11897
+ pt: { translation: pt },
11898
+ mr: { translation: mr },
11902
11899
  },
11903
11900
  fallbackLng: 'en', // fallback if current lang not found
11904
11901
  debug: false,
@@ -12661,7 +12658,7 @@ const LidoHome = class {
12661
12658
  /** Array of active container indexes to be rendered */
12662
12659
  this.activeContainerIndexes = [];
12663
12660
  /** Language to apply to all texts */
12664
- this.Lang = '';
12661
+ this.Lang = 'en';
12665
12662
  /**
12666
12663
  * XML data passed to the component, which is parsed and used to render various containers.
12667
12664
  */
@@ -12953,7 +12950,7 @@ const LidoHome = class {
12953
12950
  }
12954
12951
  // Pure-JS fallback (no wasm asset required)
12955
12952
  try {
12956
- const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-BGpB00bI.js'); }).then(function (n) { return n.decode; });
12953
+ const brotliDecodeModule = await Promise.resolve().then(function () { return require('./decode-COuOLWQt.js'); }).then(function (n) { return n.decode; });
12957
12954
  const brotliDecompressBuffer = brotliDecodeModule.BrotliDecompressBuffer || ((_a = brotliDecodeModule.default) === null || _a === void 0 ? void 0 : _a.BrotliDecompressBuffer);
12958
12955
  if (typeof brotliDecompressBuffer !== 'function') {
12959
12956
  throw new Error('BrotliDecompressBuffer function not found in brotli/dec/decode');
@@ -13424,7 +13421,7 @@ const LidoHome = class {
13424
13421
  const style = {
13425
13422
  userSelect: 'none', // Prevent any field selection
13426
13423
  };
13427
- return (index.h(index.Host, { class: "lido-home", uuid: this.uuid, "template-id": "", index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: this.translateHomeText('Do you want to exit?'), width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: this.translateHomeText('Exit'), width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), index.h("lido-text", { visible: "true", string: this.translateHomeText('Continue playing'), width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
13424
+ return (index.h(index.Host, { class: "lido-home", uuid: this.uuid, "template-id": "", index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: this.translateHomeText('Do you want to exit? button'), width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: this.translateHomeText('Exit button'), width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), index.h("lido-text", { visible: "true", string: this.translateHomeText('Continue playing button'), width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
13428
13425
  }
13429
13426
  get el() { return index.getElement(this); }
13430
13427
  static get watchers() { return {
@@ -18023,7 +18020,7 @@ const LidoText = class {
18023
18020
  }
18024
18021
  }
18025
18022
  render() {
18026
- return (index.h(index.Host, { key: '0981599614c94565afc0b74187fcdf6adb118e5e', 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)));
18023
+ return (index.h(index.Host, { key: 'e1ca534d9823a8b967c9d8c51d4aebd4706004e7', 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)));
18027
18024
  }
18028
18025
  get el() { return index.getElement(this); }
18029
18026
  };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Y4X7a1AL.js');
3
+ var index = require('./index-Dy19zuTX.js');
4
4
 
5
5
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
6
  /*
7
- Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Patch Browser v4.43.5 | 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-Y4X7a1AL.js');
3
+ var index = require('./index-Dy19zuTX.js');
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
@@ -26,7 +26,7 @@
26
26
  "mixins": [],
27
27
  "compiler": {
28
28
  "name": "@stencil/core",
29
- "version": "4.43.4",
29
+ "version": "4.43.5",
30
30
  "typescriptVersion": "5.8.3"
31
31
  },
32
32
  "collections": [],
@@ -23,7 +23,7 @@ export class LidoHome {
23
23
  /** Array of active container indexes to be rendered */
24
24
  this.activeContainerIndexes = [];
25
25
  /** Language to apply to all texts */
26
- this.Lang = '';
26
+ this.Lang = 'en';
27
27
  /**
28
28
  * XML data passed to the component, which is parsed and used to render various containers.
29
29
  */
@@ -787,7 +787,7 @@ export class LidoHome {
787
787
  const style = {
788
788
  userSelect: 'none', // Prevent any field selection
789
789
  };
790
- return (h(Host, { class: "lido-home", uuid: this.uuid, "template-id": "", index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (h("div", { class: "lido-alert-parent" }, h("div", { class: "lido-alert-popup" }, h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, h("lido-text", { visible: "true", string: this.translateHomeText('Do you want to exit?'), width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, h("lido-text", { visible: "true", string: this.translateHomeText('Exit'), width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), h("lido-text", { visible: "true", string: this.translateHomeText('Continue playing'), width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
790
+ return (h(Host, { class: "lido-home", uuid: this.uuid, "template-id": "", index: this.currentContainerIndex, totalIndex: this.containers.length, style: style }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (h("div", { class: "lido-alert-parent" }, h("div", { class: "lido-alert-popup" }, h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, h("lido-text", { visible: "true", string: this.translateHomeText('Do you want to exit? button'), width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, h("lido-text", { visible: "true", string: this.translateHomeText('Exit button'), width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), h("lido-text", { visible: "true", string: this.translateHomeText('Continue playing button'), width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
791
791
  }
792
792
  static get is() { return "lido-home"; }
793
793
  static get originalStyleUrls() {
@@ -878,7 +878,7 @@ export class LidoHome {
878
878
  "setter": false,
879
879
  "reflect": false,
880
880
  "attribute": "lang",
881
- "defaultValue": "''"
881
+ "defaultValue": "'en'"
882
882
  },
883
883
  "xmlData": {
884
884
  "type": "string",
@@ -256,7 +256,7 @@ export class LidoText {
256
256
  }
257
257
  }
258
258
  render() {
259
- return (h(Host, { key: '0981599614c94565afc0b74187fcdf6adb118e5e', 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 !== '' ? h("div", { class: "lido-text-content" }, " ", i18next.t(this.string)) : i18next.t(this.string)));
259
+ return (h(Host, { key: 'e1ca534d9823a8b967c9d8c51d4aebd4706004e7', 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 !== '' ? h("div", { class: "lido-text-content" }, " ", i18next.t(this.string)) : i18next.t(this.string)));
260
260
  }
261
261
  static get is() { return "lido-text"; }
262
262
  static get originalStyleUrls() {
@@ -6,8 +6,8 @@ import fr from "../i18n/fr.json";
6
6
  import hi from "../i18n/hi.json";
7
7
  import kn from "../i18n/kn.json";
8
8
  import te from "../i18n/te.json";
9
- import port from "../i18n/port.json";
10
- import ma from "../i18n/ma.json";
9
+ import pt from "../i18n/pt.json";
10
+ import mr from "../i18n/mr.json";
11
11
  i18next
12
12
  .use(LanguageDetector)
13
13
  .init({
@@ -17,8 +17,8 @@ i18next
17
17
  hi: { translation: hi },
18
18
  kn: { translation: kn },
19
19
  te: { translation: te },
20
- port: { translation: port },
21
- ma: { translation: ma },
20
+ pt: { translation: pt },
21
+ mr: { translation: mr },
22
22
  },
23
23
  fallbackLng: 'en', // fallback if current lang not found
24
24
  debug: false,
@@ -1 +1 @@
1
- import{L as o,d as s}from"./p-Rq1bu-YC.js";const p=o,r=s;export{p as LidoCalculator,r as defineCustomElement}
1
+ import{L as o,d as s}from"./p-oO4WyqLq.js";const p=o,r=s;export{p as LidoCalculator,r as defineCustomElement}
@@ -1 +1 @@
1
- import{L as o,d as s}from"./p-DM4OQq6g.js";const p=o,r=s;export{p as LidoContainer,r as defineCustomElement}
1
+ import{L as o,d as s}from"./p-qqHD4Pch.js";const p=o,r=s;export{p as LidoContainer,r as defineCustomElement}
@@ -1 +1 @@
1
- import{L as o,d as s}from"./p-DV74KWbC.js";const p=o,r=s;export{p as LidoHome,r as defineCustomElement}
1
+ import{L as o,d as s}from"./p-B712HxGz.js";const p=o,r=s;export{p as LidoHome,r as defineCustomElement}
@@ -1 +1 @@
1
- import{L as o,d as s}from"./p-CSu0EVWd.js";const p=o,r=s;export{p as LidoKeyboard,r as defineCustomElement}
1
+ import{L as o,d as s}from"./p-Cj0WIIDb.js";const p=o,r=s;export{p as LidoKeyboard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as s,H as o,getAssetPath as e,h as a}from"./index.js";import{d as i,i as l}from"./p-tvTO4cIa.js";import{d as r}from"./p-CwDTdXe5.js";import{d as m}from"./p-DPAlnts-.js";import{d as n}from"./p-Rq1bu-YC.js";import{d}from"./p-CFNRhdZZ.js";import{d as c}from"./p-CDhOF-lb.js";import{d as p}from"./p-BJ4H1UxZ.js";import{d as u}from"./p-DM4OQq6g.js";import{d as h}from"./p-D-B1groh.js";import{d as b}from"./p-BiNO9454.js";import{d as f}from"./p-DV74KWbC.js";import{d as k}from"./p-DbDgJi-A.js";import{d as E}from"./p-CSu0EVWd.js";import{d as x}from"./p-C7U1h9gI.js";import{d as g}from"./p-DflRPD3L.js";import{d as j}from"./p-leIEepjl.js";import{d as v}from"./p-CLX-8DBk.js";import{d as D}from"./p-Dy_6oCxD.js";import{d as L}from"./p-D2RiLzSu.js";import{d as U}from"./p-VuF4lAdR.js";import{d as C}from"./p-kmKkLN_7.js";const B=s(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.Lang="",this.xmlPath="",this.initialIndex=0,this.margin="",this.canplay=!0,this.baseUrl="",this.zipUrl=""}connectedCallback(){this.setLanguage(this.Lang)}onLangChange(t){this.setLanguage(t)}setLanguage(t){l.changeLanguage(t||l.language)}async componentWillLoad(){var t,s;if(this.zipUrl)return void(this.xmlData="");const o=null!==(t=this.xmlPath)&&void 0!==t?t:this.baseUrl+((null===(s=this.baseUrl)||void 0===s?void 0:s.endsWith("/"))?"index.xml":"/index.xml");try{const t=o.startsWith("http")?o:e(o),s=await fetch(t);if(!s.ok)throw Error("Failed to fetch XML data: "+s.statusText);const a=await s.text();this.xmlData=a}catch(t){console.error("Error fetching XML data:",t),this.xmlData=null}}render(){return void 0===this.xmlData?a("div",null,"Loading..."):null===this.xmlData?a("div",null,"Error loading XML data. Please check the path or URL."):a("lido-home",Object.assign({showNav:!0,activeContainerIndexes:[],initialIndex:this.initialIndex,canplay:this.canplay,xmlData:this.xmlData,baseUrl:this.baseUrl},this.zipUrl?{zipUrl:this.zipUrl}:{},{exitButtonUrl:this.exitButtonUrl,prevButtonUrl:this.prevButtonUrl,nextButtonUrl:this.nextButtonUrl,speakerButtonUrl:this.speakerButtonUrl}))}static get assetsDirs(){return["assets"]}static get watchers(){return{Lang:[{onLangChange:0}]}}},[0,"lido-root",{Lang:[1,"lang"],xmlPath:[1,"xml-path"],initialIndex:[2,"initial-index"],margin:[1],canplay:[4],baseUrl:[1,"base-url"],zipUrl:[1,"zip-url"],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],xmlData:[32]},void 0,{Lang:[{onLangChange:0}]}]);function w(){"undefined"!=typeof customElements&&["lido-root","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-home","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((s=>{switch(s){case"lido-root":customElements.get(t(s))||customElements.define(t(s),B);break;case"lido-avatar":customElements.get(t(s))||r();break;case"lido-balance":customElements.get(t(s))||m();break;case"lido-calculator":customElements.get(t(s))||n();break;case"lido-canvas":customElements.get(t(s))||d();break;case"lido-cell":customElements.get(t(s))||c();break;case"lido-col":customElements.get(t(s))||p();break;case"lido-container":customElements.get(t(s))||u();break;case"lido-flash-card":customElements.get(t(s))||h();break;case"lido-float":customElements.get(t(s))||b();break;case"lido-home":customElements.get(t(s))||f();break;case"lido-image":customElements.get(t(s))||k();break;case"lido-keyboard":customElements.get(t(s))||E();break;case"lido-math-matrix":customElements.get(t(s))||x();break;case"lido-pos":customElements.get(t(s))||g();break;case"lido-random":customElements.get(t(s))||j();break;case"lido-row":customElements.get(t(s))||v();break;case"lido-shape":customElements.get(t(s))||D();break;case"lido-slide-fill":customElements.get(t(s))||L();break;case"lido-text":customElements.get(t(s))||i();break;case"lido-trace":customElements.get(t(s))||U();break;case"lido-wrap":customElements.get(t(s))||C()}}))}w();const y=B,I=w;export{y as LidoRoot,I as defineCustomElement}
1
+ import{t,p as s,H as o,getAssetPath as e,h as a}from"./index.js";import{d as i,i as l}from"./p-DVn4BL1l.js";import{d as r}from"./p-CwDTdXe5.js";import{d as m}from"./p-DPAlnts-.js";import{d as n}from"./p-oO4WyqLq.js";import{d}from"./p-CFNRhdZZ.js";import{d as c}from"./p-CDhOF-lb.js";import{d as p}from"./p-BJ4H1UxZ.js";import{d as h}from"./p-qqHD4Pch.js";import{d as u}from"./p-D-B1groh.js";import{d as b}from"./p-BiNO9454.js";import{d as f}from"./p-B712HxGz.js";import{d as k}from"./p-DbDgJi-A.js";import{d as x}from"./p-Cj0WIIDb.js";import{d as E}from"./p-C7U1h9gI.js";import{d as j}from"./p-DflRPD3L.js";import{d as g}from"./p-leIEepjl.js";import{d as L}from"./p-CLX-8DBk.js";import{d as v}from"./p-Dy_6oCxD.js";import{d as D}from"./p-D2RiLzSu.js";import{d as U}from"./p-VuF4lAdR.js";import{d as B}from"./p-kmKkLN_7.js";const C=s(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.Lang="",this.xmlPath="",this.initialIndex=0,this.margin="",this.canplay=!0,this.baseUrl="",this.zipUrl=""}connectedCallback(){this.setLanguage(this.Lang)}onLangChange(t){this.setLanguage(t)}setLanguage(t){l.changeLanguage(t||l.language)}async componentWillLoad(){var t,s;if(this.zipUrl)return void(this.xmlData="");const o=null!==(t=this.xmlPath)&&void 0!==t?t:this.baseUrl+((null===(s=this.baseUrl)||void 0===s?void 0:s.endsWith("/"))?"index.xml":"/index.xml");try{const t=o.startsWith("http")?o:e(o),s=await fetch(t);if(!s.ok)throw Error("Failed to fetch XML data: "+s.statusText);const a=await s.text();this.xmlData=a}catch(t){console.error("Error fetching XML data:",t),this.xmlData=null}}render(){return void 0===this.xmlData?a("div",null,"Loading..."):null===this.xmlData?a("div",null,"Error loading XML data. Please check the path or URL."):a("lido-home",Object.assign({showNav:!0,activeContainerIndexes:[],initialIndex:this.initialIndex,canplay:this.canplay,xmlData:this.xmlData,baseUrl:this.baseUrl},this.zipUrl?{zipUrl:this.zipUrl}:{},{exitButtonUrl:this.exitButtonUrl,prevButtonUrl:this.prevButtonUrl,nextButtonUrl:this.nextButtonUrl,speakerButtonUrl:this.speakerButtonUrl}))}static get assetsDirs(){return["assets"]}static get watchers(){return{Lang:[{onLangChange:0}]}}},[0,"lido-root",{Lang:[1,"lang"],xmlPath:[1,"xml-path"],initialIndex:[2,"initial-index"],margin:[1],canplay:[4],baseUrl:[1,"base-url"],zipUrl:[1,"zip-url"],exitButtonUrl:[1,"exit-button-url"],prevButtonUrl:[1,"prev-button-url"],nextButtonUrl:[1,"next-button-url"],speakerButtonUrl:[1,"speaker-button-url"],xmlData:[32]},void 0,{Lang:[{onLangChange:0}]}]);function w(){"undefined"!=typeof customElements&&["lido-root","lido-avatar","lido-balance","lido-calculator","lido-canvas","lido-cell","lido-col","lido-container","lido-flash-card","lido-float","lido-home","lido-image","lido-keyboard","lido-math-matrix","lido-pos","lido-random","lido-row","lido-shape","lido-slide-fill","lido-text","lido-trace","lido-wrap"].forEach((s=>{switch(s){case"lido-root":customElements.get(t(s))||customElements.define(t(s),C);break;case"lido-avatar":customElements.get(t(s))||r();break;case"lido-balance":customElements.get(t(s))||m();break;case"lido-calculator":customElements.get(t(s))||n();break;case"lido-canvas":customElements.get(t(s))||d();break;case"lido-cell":customElements.get(t(s))||c();break;case"lido-col":customElements.get(t(s))||p();break;case"lido-container":customElements.get(t(s))||h();break;case"lido-flash-card":customElements.get(t(s))||u();break;case"lido-float":customElements.get(t(s))||b();break;case"lido-home":customElements.get(t(s))||f();break;case"lido-image":customElements.get(t(s))||k();break;case"lido-keyboard":customElements.get(t(s))||x();break;case"lido-math-matrix":customElements.get(t(s))||E();break;case"lido-pos":customElements.get(t(s))||j();break;case"lido-random":customElements.get(t(s))||g();break;case"lido-row":customElements.get(t(s))||L();break;case"lido-shape":customElements.get(t(s))||v();break;case"lido-slide-fill":customElements.get(t(s))||D();break;case"lido-text":customElements.get(t(s))||i();break;case"lido-trace":customElements.get(t(s))||U();break;case"lido-wrap":customElements.get(t(s))||B()}}))}w();const y=C,I=w;export{y as LidoRoot,I as defineCustomElement}
@@ -1 +1 @@
1
- import{L as o,d as s}from"./p-tvTO4cIa.js";const t=o,a=s;export{t as LidoText,a as defineCustomElement}
1
+ import{L as o,d as s}from"./p-DVn4BL1l.js";const p=o,r=s;export{p as LidoText,r as defineCustomElement}