lido-player 0.0.2-alpha-17 → 0.0.2-alpha-19

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 (58) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/lido-avatar_17.cjs.entry.js +17 -17
  3. package/dist/cjs/{utils-f626a4b8.js → utils-677af176.js} +17 -10
  4. package/dist/collection/components/cell/lido-cell.js +2 -2
  5. package/dist/collection/components/column/lido-col.js +2 -2
  6. package/dist/collection/components/home/lido-home.js +3 -3
  7. package/dist/collection/components/image/lido-image.js +1 -1
  8. package/dist/collection/components/random/lido-random.js +2 -2
  9. package/dist/collection/components/row/lido-row.js +2 -2
  10. package/dist/collection/components/text/lido-text.js +2 -2
  11. package/dist/collection/components/wrap/lido-wrap.js +2 -2
  12. package/dist/collection/utils/utils.js +17 -10
  13. package/dist/components/index.js +1 -1
  14. package/dist/components/lido-avatar.js +1 -1
  15. package/dist/components/lido-cell.js +1 -1
  16. package/dist/components/lido-col.js +1 -1
  17. package/dist/components/lido-container.js +1 -1
  18. package/dist/components/lido-flash-card.js +1 -1
  19. package/dist/components/lido-float.js +1 -1
  20. package/dist/components/lido-home.js +1 -1
  21. package/dist/components/lido-image.js +1 -1
  22. package/dist/components/lido-pos.js +1 -1
  23. package/dist/components/lido-random.js +1 -1
  24. package/dist/components/lido-root.js +17 -17
  25. package/dist/components/lido-row.js +1 -1
  26. package/dist/components/lido-shape.js +1 -1
  27. package/dist/components/lido-slide-fill.js +1 -1
  28. package/dist/components/lido-text.js +1 -1
  29. package/dist/components/lido-trace.js +1 -1
  30. package/dist/components/lido-wrap.js +1 -1
  31. package/dist/components/{p-a9306687.js → p-06f1ae64.js} +3 -3
  32. package/dist/components/{p-0514f191.js → p-0846f16a.js} +1 -1
  33. package/dist/components/{p-bc8352b8.js → p-0c349e4c.js} +1 -1
  34. package/dist/components/{p-4aee55d9.js → p-1bf7f8c5.js} +1 -1
  35. package/dist/components/{p-2bc770cd.js → p-342bd0f2.js} +19 -19
  36. package/dist/components/{p-a5ae9716.js → p-4817b81a.js} +17 -10
  37. package/dist/components/{p-5fbc5d57.js → p-509e23d5.js} +3 -3
  38. package/dist/components/{p-28c69665.js → p-5dea6a86.js} +1 -1
  39. package/dist/components/{p-603fc533.js → p-7f5a97ff.js} +1 -1
  40. package/dist/components/{p-7cdd1958.js → p-8173be9b.js} +2 -2
  41. package/dist/components/{p-0881da0d.js → p-a647a4fe.js} +3 -3
  42. package/dist/components/{p-1274b536.js → p-b145c3fa.js} +3 -3
  43. package/dist/components/{p-176b51e2.js → p-bcd6fcc5.js} +3 -3
  44. package/dist/components/{p-44b368f5.js → p-cb3950d0.js} +1 -1
  45. package/dist/components/{p-f8855c9f.js → p-cbc2a355.js} +3 -3
  46. package/dist/components/{p-78c15747.js → p-e5d3e84e.js} +1 -1
  47. package/dist/components/{p-d034cc2d.js → p-f47d09ca.js} +1 -1
  48. package/dist/esm/index.js +1 -1
  49. package/dist/esm/lido-avatar_17.entry.js +17 -17
  50. package/dist/esm/{utils-47f947df.js → utils-4008e3c6.js} +17 -10
  51. package/dist/lido-player/index.esm.js +1 -1
  52. package/dist/lido-player/lido-player.esm.js +1 -1
  53. package/dist/lido-player/{p-14393694.js → p-1e744f1d.js} +1 -1
  54. package/dist/lido-player/{p-4e56030a.entry.js → p-bc54975d.entry.js} +1 -1
  55. package/dist/types/components/image/lido-image.d.ts +2 -2
  56. package/dist/types/components/text/lido-text.d.ts +2 -2
  57. package/dist/types/utils/utils.d.ts +1 -1
  58. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const utils = require('./utils-f626a4b8.js');
5
+ const utils = require('./utils-677af176.js');
6
6
  require('./index-fe562525.js');
7
7
 
8
8
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fe562525.js');
6
- const utils = require('./utils-f626a4b8.js');
6
+ const utils = require('./utils-677af176.js');
7
7
 
8
8
  var rive = {exports: {}};
9
9
 
@@ -6679,7 +6679,7 @@ const LidoCell = class {
6679
6679
  }
6680
6680
  }, 50);
6681
6681
  if (this.showSpeakIcon) {
6682
- utils.attachSpeakIcon(this.el, this.x, this.y);
6682
+ utils.attachSpeakIcon(this.el);
6683
6683
  }
6684
6684
  }
6685
6685
  /**
@@ -6722,7 +6722,7 @@ const LidoCell = class {
6722
6722
  this.el.className = `lido-${utils.parseProp(this.layout, orientation)}`;
6723
6723
  }
6724
6724
  render() {
6725
- return (index.h(index.Host, { key: 'bfe66118617e201c5539c90f36baafb5f3a6f4d0', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, index.h("slot", { key: 'b3ea80bf41ea813681e35ac5704e770c5f05dcc6' })));
6725
+ return (index.h(index.Host, { key: '9f65539e85d22f775f44c310ecd7accc5f599859', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, index.h("slot", { key: '1c81a23db893dfc3af36f0ed98f9d5ce3cafebf3' })));
6726
6726
  }
6727
6727
  get el() { return index.getElement(this); }
6728
6728
  };
@@ -6772,7 +6772,7 @@ const LidoCol = class {
6772
6772
  utils.initEventsForElement(this.el, this.type);
6773
6773
  utils.handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength);
6774
6774
  if (this.showSpeakIcon) {
6775
- utils.attachSpeakIcon(this.el, this.x, this.y);
6775
+ utils.attachSpeakIcon(this.el);
6776
6776
  }
6777
6777
  }
6778
6778
  /**
@@ -6807,7 +6807,7 @@ const LidoCol = class {
6807
6807
  };
6808
6808
  }
6809
6809
  render() {
6810
- return (index.h(index.Host, { key: 'cb6eb9e4851477c3392469bc52115a796c48b9e0', id: this.id, class: "lido-col", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '71ea9bb8da2874d4127dcaf9eecb99d936be3391' })));
6810
+ return (index.h(index.Host, { key: '753487ca4817b020aaf7e34dadff00a61c826dfc', id: this.id, class: "lido-col", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'a9d9f0f2c30dc02e6468e597b5a02e032d786538' })));
6811
6811
  }
6812
6812
  get el() { return index.getElement(this); }
6813
6813
  };
@@ -7161,7 +7161,7 @@ const LidoHome = class {
7161
7161
  else {
7162
7162
  rightbtn.style.visibility = 'visible';
7163
7163
  }
7164
- }, 100);
7164
+ }, 800);
7165
7165
  };
7166
7166
  this.popUpClick = (comment) => {
7167
7167
  const alertElement = this.el.querySelector('.lido-alert-popup');
@@ -7381,7 +7381,7 @@ const LidoHome = class {
7381
7381
  item.style.transform = `scale(${utils.calculateScale()})`;
7382
7382
  });
7383
7383
  navBar.style.width = window.outerWidth + 'px';
7384
- }, 100);
7384
+ }, 700);
7385
7385
  }
7386
7386
  /**
7387
7387
  * Renders navigation dots for each container, indicating the progress of the user.
@@ -7418,7 +7418,7 @@ const LidoHome = class {
7418
7418
  // If no XML data is provided, prompt the user to provide it
7419
7419
  return index.h("div", null, "Please provide XML data.");
7420
7420
  }
7421
- return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.showDotsandbtn && 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: "720px", height: "360px", "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: "Do you want to exit?", width: "622px", height: "57px", class: "popup-exit-text", "font-size": "40px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "80%", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: "EXIT", width: "240px", height: "105px", "font-size": "24px", 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: "KEEP PLAYING", width: "280px", height: "105px", "font-size": "24px", 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" }))))))));
7421
+ return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.showDotsandbtn && 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: "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: "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: "KEEP 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" }))))))));
7422
7422
  }
7423
7423
  get el() { return index.getElement(this); }
7424
7424
  static get watchers() { return {
@@ -10181,7 +10181,7 @@ const LidoImage = class {
10181
10181
  }
10182
10182
  }
10183
10183
  if (this.showSpeakIcon) {
10184
- utils.attachSpeakIcon(this.el, this.x, this.y);
10184
+ utils.attachSpeakIcon(this.el);
10185
10185
  }
10186
10186
  }
10187
10187
  /**
@@ -10362,7 +10362,7 @@ const LidoRandom = class {
10362
10362
  });
10363
10363
  }, 50);
10364
10364
  if (this.showSpeakIcon) {
10365
- utils.attachSpeakIcon(this.el, this.x, this.y);
10365
+ utils.attachSpeakIcon(this.el);
10366
10366
  }
10367
10367
  }
10368
10368
  render() {
@@ -10377,7 +10377,7 @@ const LidoRandom = class {
10377
10377
  backgroundColor: this.bgColor,
10378
10378
  margin: this.margin,
10379
10379
  };
10380
- return (index.h(index.Host, { key: 'a4bbd44f0ff8058b808d9118b8c22a0545de6632', class: "lido-random", 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, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '421469c42d2f015cc4bf7e26b6f8e2f56d29abbe' })));
10380
+ return (index.h(index.Host, { key: '229c4cba82bdb4501ee53c16f68407e5d01095a0', class: "lido-random", 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, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'fb10f2952956918e66a4bb5b110719caa4e41670' })));
10381
10381
  }
10382
10382
  get el() { return index.getElement(this); }
10383
10383
  };
@@ -10483,7 +10483,7 @@ const LidoRow = class {
10483
10483
  utils.initEventsForElement(this.el, this.type);
10484
10484
  utils.handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength);
10485
10485
  if (this.showSpeakIcon) {
10486
- utils.attachSpeakIcon(this.el, this.x, this.y);
10486
+ utils.attachSpeakIcon(this.el);
10487
10487
  }
10488
10488
  }
10489
10489
  /**
@@ -10516,7 +10516,7 @@ const LidoRow = class {
10516
10516
  };
10517
10517
  }
10518
10518
  render() {
10519
- return (index.h(index.Host, { key: 'bea2b6a6be9168f1854075ff0d61dffb3469f1f5', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'ba5ef737a961749412dfa91523381b7193fdbde7' })));
10519
+ return (index.h(index.Host, { key: 'fd85fc603f1a8d1890984e08df7f627cc3840c24', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'a614ca85c0ab0957e0b4150303036c513505e241' })));
10520
10520
  }
10521
10521
  get el() { return index.getElement(this); }
10522
10522
  };
@@ -10796,7 +10796,7 @@ const LidoText = class {
10796
10796
  this.addSpanToText();
10797
10797
  }
10798
10798
  if (this.showSpeakIcon) {
10799
- utils.attachSpeakIcon(this.el, this.x, this.y);
10799
+ utils.attachSpeakIcon(this.el);
10800
10800
  }
10801
10801
  }
10802
10802
  /**
@@ -10863,7 +10863,7 @@ const LidoText = class {
10863
10863
  }
10864
10864
  }
10865
10865
  render() {
10866
- return (index.h(index.Host, { key: '77cc78e6a7228c771d78fe2ef8926ad15f474f7a', 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 }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, this.string) : this.string));
10866
+ return (index.h(index.Host, { key: 'b20e7357057e57fd2b1763f9d2d711a1521af4cd', 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 }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, this.string) : this.string));
10867
10867
  }
10868
10868
  get el() { return index.getElement(this); }
10869
10869
  };
@@ -11553,7 +11553,7 @@ const LidoWrap = class {
11553
11553
  this.el.classList.add('lido-flex');
11554
11554
  }
11555
11555
  if (this.showSpeakIcon) {
11556
- utils.attachSpeakIcon(this.el, this.x, this.y);
11556
+ utils.attachSpeakIcon(this.el);
11557
11557
  }
11558
11558
  }
11559
11559
  /**
@@ -11583,7 +11583,7 @@ const LidoWrap = class {
11583
11583
  };
11584
11584
  }
11585
11585
  render() {
11586
- return (index.h(index.Host, { key: '396ad713cde9f794c740975daee6587f4166394a', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '2016d52840e7d3db136680f4969d66e5b4d156d7' })));
11586
+ return (index.h(index.Host, { key: 'f093d948bae3bd98d6c6a205b88ab2dcb6c809b3', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '02e2e72ace7ca4eae384ed410cacc2e3a337b6f7' })));
11587
11587
  }
11588
11588
  get el() { return index.getElement(this); }
11589
11589
  };
@@ -68496,21 +68496,28 @@ const speakIcon = (targetElement) => {
68496
68496
  }
68497
68497
  setCancelBtnPopup(false); // Reset cancel state
68498
68498
  });
68499
- if (targetElement['type'] === 'option') {
68500
- speakIcon.style.position = 'unset';
68501
- return parentDiv;
68502
- }
68503
68499
  targetElement.style.position = 'relative';
68504
68500
  return speakIcon;
68505
68501
  };
68506
- const attachSpeakIcon = async (element, x, y) => {
68507
- const speakIconElement = speakIcon(element);
68502
+ const attachSpeakIcon = async (element) => {
68503
+ let speakIconElement = speakIcon(element);
68508
68504
  if (element['type'] === 'option') {
68509
- const icon = speakIconElement.firstChild;
68510
- icon.style.marginLeft = x;
68511
- icon.style.marginTop = y;
68505
+ element.style.position = 'unset';
68506
+ const speakDiv = document.createElement('div');
68507
+ speakDiv.className = element.className;
68508
+ speakDiv.style.position = 'relative';
68509
+ speakDiv.style.backgroundColor = 'transparent';
68510
+ speakDiv.style.padding = '0';
68511
+ speakDiv.style.width = '100%';
68512
+ speakDiv.style.height = '100%';
68513
+ Array.from(element.children).forEach(child => {
68514
+ speakDiv.appendChild(child);
68515
+ });
68516
+ speakDiv.appendChild(speakIconElement);
68517
+ speakIconElement.style.position = 'absolute';
68518
+ speakIconElement = speakDiv;
68512
68519
  }
68513
- element.append(speakIconElement);
68520
+ element.appendChild(speakIconElement);
68514
68521
  };
68515
68522
  const clearLocalStorage = () => {
68516
68523
  AudioPlayer.getI().stop();
@@ -87,7 +87,7 @@ export class LidoCell {
87
87
  }
88
88
  }, 50);
89
89
  if (this.showSpeakIcon) {
90
- attachSpeakIcon(this.el, this.x, this.y);
90
+ attachSpeakIcon(this.el);
91
91
  }
92
92
  }
93
93
  /**
@@ -130,7 +130,7 @@ export class LidoCell {
130
130
  this.el.className = `lido-${parseProp(this.layout, orientation)}`;
131
131
  }
132
132
  render() {
133
- return (h(Host, { key: 'bfe66118617e201c5539c90f36baafb5f3a6f4d0', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, h("slot", { key: 'b3ea80bf41ea813681e35ac5704e770c5f05dcc6' })));
133
+ return (h(Host, { key: '9f65539e85d22f775f44c310ecd7accc5f599859', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, h("slot", { key: '1c81a23db893dfc3af36f0ed98f9d5ce3cafebf3' })));
134
134
  }
135
135
  static get is() { return "lido-cell"; }
136
136
  static get originalStyleUrls() {
@@ -49,7 +49,7 @@ export class LidoCol {
49
49
  initEventsForElement(this.el, this.type);
50
50
  handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength);
51
51
  if (this.showSpeakIcon) {
52
- attachSpeakIcon(this.el, this.x, this.y);
52
+ attachSpeakIcon(this.el);
53
53
  }
54
54
  }
55
55
  /**
@@ -84,7 +84,7 @@ export class LidoCol {
84
84
  };
85
85
  }
86
86
  render() {
87
- return (h(Host, { key: 'cb6eb9e4851477c3392469bc52115a796c48b9e0', id: this.id, class: "lido-col", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: '71ea9bb8da2874d4127dcaf9eecb99d936be3391' })));
87
+ return (h(Host, { key: '753487ca4817b020aaf7e34dadff00a61c826dfc', id: this.id, class: "lido-col", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'a9d9f0f2c30dc02e6468e597b5a02e032d786538' })));
88
88
  }
89
89
  static get is() { return "lido-col"; }
90
90
  static get originalStyleUrls() {
@@ -78,7 +78,7 @@ export class LidoHome {
78
78
  else {
79
79
  rightbtn.style.visibility = 'visible';
80
80
  }
81
- }, 100);
81
+ }, 800);
82
82
  };
83
83
  this.popUpClick = (comment) => {
84
84
  const alertElement = this.el.querySelector('.lido-alert-popup');
@@ -298,7 +298,7 @@ export class LidoHome {
298
298
  item.style.transform = `scale(${calculateScale()})`;
299
299
  });
300
300
  navBar.style.width = window.outerWidth + 'px';
301
- }, 100);
301
+ }, 700);
302
302
  }
303
303
  /**
304
304
  * Renders navigation dots for each container, indicating the progress of the user.
@@ -335,7 +335,7 @@ export class LidoHome {
335
335
  // If no XML data is provided, prompt the user to provide it
336
336
  return h("div", null, "Please provide XML data.");
337
337
  }
338
- return (h(Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.showDotsandbtn && 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: "720px", height: "360px", "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: "Do you want to exit?", width: "622px", height: "57px", class: "popup-exit-text", "font-size": "40px", onEntry: "this.margin-bottom =' -36px';" }), h("lido-cell", { visible: "true", layout: "row", width: "80%", class: "btn-cell" }, h("lido-text", { visible: "true", string: "EXIT", width: "240px", height: "105px", "font-size": "24px", 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: "KEEP PLAYING", width: "280px", height: "105px", "font-size": "24px", 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" }))))))));
338
+ return (h(Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.showDotsandbtn && 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: "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: "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: "KEEP 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" }))))))));
339
339
  }
340
340
  static get is() { return "lido-home"; }
341
341
  static get originalStyleUrls() {
@@ -58,7 +58,7 @@ export class LidoImage {
58
58
  }
59
59
  }
60
60
  if (this.showSpeakIcon) {
61
- attachSpeakIcon(this.el, this.x, this.y);
61
+ attachSpeakIcon(this.el);
62
62
  }
63
63
  }
64
64
  /**
@@ -63,7 +63,7 @@ export class LidoRandom {
63
63
  });
64
64
  }, 50);
65
65
  if (this.showSpeakIcon) {
66
- attachSpeakIcon(this.el, this.x, this.y);
66
+ attachSpeakIcon(this.el);
67
67
  }
68
68
  }
69
69
  render() {
@@ -78,7 +78,7 @@ export class LidoRandom {
78
78
  backgroundColor: this.bgColor,
79
79
  margin: this.margin,
80
80
  };
81
- return (h(Host, { key: 'a4bbd44f0ff8058b808d9118b8c22a0545de6632', class: "lido-random", 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, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: '421469c42d2f015cc4bf7e26b6f8e2f56d29abbe' })));
81
+ return (h(Host, { key: '229c4cba82bdb4501ee53c16f68407e5d01095a0', class: "lido-random", 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, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'fb10f2952956918e66a4bb5b110719caa4e41670' })));
82
82
  }
83
83
  static get is() { return "lido-random"; }
84
84
  static get originalStyleUrls() {
@@ -44,7 +44,7 @@ export class LidoRow {
44
44
  initEventsForElement(this.el, this.type);
45
45
  handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength);
46
46
  if (this.showSpeakIcon) {
47
- attachSpeakIcon(this.el, this.x, this.y);
47
+ attachSpeakIcon(this.el);
48
48
  }
49
49
  }
50
50
  /**
@@ -77,7 +77,7 @@ export class LidoRow {
77
77
  };
78
78
  }
79
79
  render() {
80
- return (h(Host, { key: 'bea2b6a6be9168f1854075ff0d61dffb3469f1f5', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'ba5ef737a961749412dfa91523381b7193fdbde7' })));
80
+ return (h(Host, { key: 'fd85fc603f1a8d1890984e08df7f627cc3840c24', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'a614ca85c0ab0957e0b4150303036c513505e241' })));
81
81
  }
82
82
  static get is() { return "lido-row"; }
83
83
  static get originalStyleUrls() {
@@ -55,7 +55,7 @@ export class LidoText {
55
55
  this.addSpanToText();
56
56
  }
57
57
  if (this.showSpeakIcon) {
58
- attachSpeakIcon(this.el, this.x, this.y);
58
+ attachSpeakIcon(this.el);
59
59
  }
60
60
  }
61
61
  /**
@@ -122,7 +122,7 @@ export class LidoText {
122
122
  }
123
123
  }
124
124
  render() {
125
- return (h(Host, { key: '77cc78e6a7228c771d78fe2ef8926ad15f474f7a', 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 }, this.spanType !== '' ? h("div", { class: "lido-text-content" }, this.string) : this.string));
125
+ return (h(Host, { key: 'b20e7357057e57fd2b1763f9d2d711a1521af4cd', 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 }, this.spanType !== '' ? h("div", { class: "lido-text-content" }, this.string) : this.string));
126
126
  }
127
127
  static get is() { return "lido-text"; }
128
128
  static get originalStyleUrls() {
@@ -49,7 +49,7 @@ export class LidoWrap {
49
49
  this.el.classList.add('lido-flex');
50
50
  }
51
51
  if (this.showSpeakIcon) {
52
- attachSpeakIcon(this.el, this.x, this.y);
52
+ attachSpeakIcon(this.el);
53
53
  }
54
54
  }
55
55
  /**
@@ -79,7 +79,7 @@ export class LidoWrap {
79
79
  };
80
80
  }
81
81
  render() {
82
- return (h(Host, { key: '396ad713cde9f794c740975daee6587f4166394a', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: '2016d52840e7d3db136680f4969d66e5b4d156d7' })));
82
+ return (h(Host, { key: 'f093d948bae3bd98d6c6a205b88ab2dcb6c809b3', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: '02e2e72ace7ca4eae384ed410cacc2e3a337b6f7' })));
83
83
  }
84
84
  static get is() { return "lido-wrap"; }
85
85
  static get originalStyleUrls() {
@@ -731,21 +731,28 @@ export const speakIcon = (targetElement) => {
731
731
  }
732
732
  setCancelBtnPopup(false); // Reset cancel state
733
733
  });
734
- if (targetElement['type'] === 'option') {
735
- speakIcon.style.position = 'unset';
736
- return parentDiv;
737
- }
738
734
  targetElement.style.position = 'relative';
739
735
  return speakIcon;
740
736
  };
741
- export const attachSpeakIcon = async (element, x, y) => {
742
- const speakIconElement = speakIcon(element);
737
+ export const attachSpeakIcon = async (element) => {
738
+ let speakIconElement = speakIcon(element);
743
739
  if (element['type'] === 'option') {
744
- const icon = speakIconElement.firstChild;
745
- icon.style.marginLeft = x;
746
- icon.style.marginTop = y;
740
+ element.style.position = 'unset';
741
+ const speakDiv = document.createElement('div');
742
+ speakDiv.className = element.className;
743
+ speakDiv.style.position = 'relative';
744
+ speakDiv.style.backgroundColor = 'transparent';
745
+ speakDiv.style.padding = '0';
746
+ speakDiv.style.width = '100%';
747
+ speakDiv.style.height = '100%';
748
+ Array.from(element.children).forEach(child => {
749
+ speakDiv.appendChild(child);
750
+ });
751
+ speakDiv.appendChild(speakIconElement);
752
+ speakIconElement.style.position = 'absolute';
753
+ speakIconElement = speakDiv;
747
754
  }
748
- element.append(speakIconElement);
755
+ element.appendChild(speakIconElement);
749
756
  };
750
757
  export const clearLocalStorage = () => {
751
758
  AudioPlayer.getI().stop();
@@ -1 +1 @@
1
- export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-a5ae9716.js';
1
+ export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-4817b81a.js';
@@ -1,4 +1,4 @@
1
- import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-4aee55d9.js';
1
+ import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-1bf7f8c5.js';
2
2
 
3
3
  const LidoAvatar = LidoAvatar$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoCell$1, d as defineCustomElement$1 } from './p-a9306687.js';
1
+ import { L as LidoCell$1, d as defineCustomElement$1 } from './p-06f1ae64.js';
2
2
 
3
3
  const LidoCell = LidoCell$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoCol$1, d as defineCustomElement$1 } from './p-176b51e2.js';
1
+ import { L as LidoCol$1, d as defineCustomElement$1 } from './p-bcd6fcc5.js';
2
2
 
3
3
  const LidoCol = LidoCol$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoContainer$1, d as defineCustomElement$1 } from './p-bc8352b8.js';
1
+ import { L as LidoContainer$1, d as defineCustomElement$1 } from './p-0c349e4c.js';
2
2
 
3
3
  const LidoContainer = LidoContainer$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoFlash, d as defineCustomElement$1 } from './p-603fc533.js';
1
+ import { L as LidoFlash, d as defineCustomElement$1 } from './p-7f5a97ff.js';
2
2
 
3
3
  const LidoFlashCard = LidoFlash;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoFloat$1, d as defineCustomElement$1 } from './p-d034cc2d.js';
1
+ import { L as LidoFloat$1, d as defineCustomElement$1 } from './p-f47d09ca.js';
2
2
 
3
3
  const LidoFloat = LidoFloat$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoHome$1, d as defineCustomElement$1 } from './p-2bc770cd.js';
1
+ import { L as LidoHome$1, d as defineCustomElement$1 } from './p-342bd0f2.js';
2
2
 
3
3
  const LidoHome = LidoHome$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoImage$1, d as defineCustomElement$1 } from './p-7cdd1958.js';
1
+ import { L as LidoImage$1, d as defineCustomElement$1 } from './p-8173be9b.js';
2
2
 
3
3
  const LidoImage = LidoImage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoPos$1, d as defineCustomElement$1 } from './p-44b368f5.js';
1
+ import { L as LidoPos$1, d as defineCustomElement$1 } from './p-cb3950d0.js';
2
2
 
3
3
  const LidoPos = LidoPos$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoRandom$1, d as defineCustomElement$1 } from './p-f8855c9f.js';
1
+ import { L as LidoRandom$1, d as defineCustomElement$1 } from './p-cbc2a355.js';
2
2
 
3
3
  const LidoRandom = LidoRandom$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,20 +1,20 @@
1
- import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-a5ae9716.js';
2
- import { d as defineCustomElement$h } from './p-4aee55d9.js';
3
- import { d as defineCustomElement$g } from './p-a9306687.js';
4
- import { d as defineCustomElement$f } from './p-176b51e2.js';
5
- import { d as defineCustomElement$e } from './p-bc8352b8.js';
6
- import { d as defineCustomElement$d } from './p-603fc533.js';
7
- import { d as defineCustomElement$c } from './p-d034cc2d.js';
8
- import { d as defineCustomElement$b } from './p-2bc770cd.js';
9
- import { d as defineCustomElement$a } from './p-7cdd1958.js';
10
- import { d as defineCustomElement$9 } from './p-44b368f5.js';
11
- import { d as defineCustomElement$8 } from './p-f8855c9f.js';
12
- import { d as defineCustomElement$7 } from './p-0881da0d.js';
13
- import { d as defineCustomElement$6 } from './p-78c15747.js';
14
- import { d as defineCustomElement$5 } from './p-28c69665.js';
15
- import { d as defineCustomElement$4 } from './p-5fbc5d57.js';
16
- import { d as defineCustomElement$3 } from './p-0514f191.js';
17
- import { d as defineCustomElement$2 } from './p-1274b536.js';
1
+ import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-4817b81a.js';
2
+ import { d as defineCustomElement$h } from './p-1bf7f8c5.js';
3
+ import { d as defineCustomElement$g } from './p-06f1ae64.js';
4
+ import { d as defineCustomElement$f } from './p-bcd6fcc5.js';
5
+ import { d as defineCustomElement$e } from './p-0c349e4c.js';
6
+ import { d as defineCustomElement$d } from './p-7f5a97ff.js';
7
+ import { d as defineCustomElement$c } from './p-f47d09ca.js';
8
+ import { d as defineCustomElement$b } from './p-342bd0f2.js';
9
+ import { d as defineCustomElement$a } from './p-8173be9b.js';
10
+ import { d as defineCustomElement$9 } from './p-cb3950d0.js';
11
+ import { d as defineCustomElement$8 } from './p-cbc2a355.js';
12
+ import { d as defineCustomElement$7 } from './p-a647a4fe.js';
13
+ import { d as defineCustomElement$6 } from './p-e5d3e84e.js';
14
+ import { d as defineCustomElement$5 } from './p-5dea6a86.js';
15
+ import { d as defineCustomElement$4 } from './p-509e23d5.js';
16
+ import { d as defineCustomElement$3 } from './p-0846f16a.js';
17
+ import { d as defineCustomElement$2 } from './p-b145c3fa.js';
18
18
 
19
19
  const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
20
20
  constructor() {
@@ -1,4 +1,4 @@
1
- import { L as LidoRow$1, d as defineCustomElement$1 } from './p-0881da0d.js';
1
+ import { L as LidoRow$1, d as defineCustomElement$1 } from './p-a647a4fe.js';
2
2
 
3
3
  const LidoRow = LidoRow$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoShape$1, d as defineCustomElement$1 } from './p-78c15747.js';
1
+ import { L as LidoShape$1, d as defineCustomElement$1 } from './p-e5d3e84e.js';
2
2
 
3
3
  const LidoShape = LidoShape$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoSlideFill$1, d as defineCustomElement$1 } from './p-28c69665.js';
1
+ import { L as LidoSlideFill$1, d as defineCustomElement$1 } from './p-5dea6a86.js';
2
2
 
3
3
  const LidoSlideFill = LidoSlideFill$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoText$1, d as defineCustomElement$1 } from './p-5fbc5d57.js';
1
+ import { L as LidoText$1, d as defineCustomElement$1 } from './p-509e23d5.js';
2
2
 
3
3
  const LidoText = LidoText$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoTrace$1, d as defineCustomElement$1 } from './p-0514f191.js';
1
+ import { L as LidoTrace$1, d as defineCustomElement$1 } from './p-0846f16a.js';
2
2
 
3
3
  const LidoTrace = LidoTrace$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoWrap$1, d as defineCustomElement$1 } from './p-1274b536.js';
1
+ import { L as LidoWrap$1, d as defineCustomElement$1 } from './p-b145c3fa.js';
2
2
 
3
3
  const LidoWrap = LidoWrap$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-a5ae9716.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-4817b81a.js';
2
2
 
3
3
  const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
4
4
  const LidoCellStyle0 = lidoCellCss;
@@ -85,7 +85,7 @@ const LidoCell = /*@__PURE__*/ proxyCustomElement(class LidoCell extends H {
85
85
  }
86
86
  }, 50);
87
87
  if (this.showSpeakIcon) {
88
- attachSpeakIcon(this.el, this.x, this.y);
88
+ attachSpeakIcon(this.el);
89
89
  }
90
90
  }
91
91
  /**
@@ -128,7 +128,7 @@ const LidoCell = /*@__PURE__*/ proxyCustomElement(class LidoCell extends H {
128
128
  this.el.className = `lido-${parseProp(this.layout, orientation)}`;
129
129
  }
130
130
  render() {
131
- return (h(Host, { key: 'bfe66118617e201c5539c90f36baafb5f3a6f4d0', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, h("slot", { key: 'b3ea80bf41ea813681e35ac5704e770c5f05dcc6' })));
131
+ return (h(Host, { key: '9f65539e85d22f775f44c310ecd7accc5f599859', id: this.id, class: "lido-cell", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, minDrops: this.minDrops, maxDrops: this.maxDrops, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "flex-direction": this.flexDirection }, h("slot", { key: '1c81a23db893dfc3af36f0ed98f9d5ce3cafebf3' })));
132
132
  }
133
133
  get el() { return this; }
134
134
  static get style() { return LidoCellStyle0; }
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, T as TraceMode, d as setVisibilityWithDelay, E as speakIcon, e as convertUrlToRelative, L as LidoContainer, y as executeActions, F as triggerNextContainer, h, j as Host } from './p-a5ae9716.js';
1
+ import { p as proxyCustomElement, H, T as TraceMode, d as setVisibilityWithDelay, E as speakIcon, e as convertUrlToRelative, L as LidoContainer, y as executeActions, F as triggerNextContainer, h, j as Host } from './p-4817b81a.js';
2
2
 
3
3
  const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;max-height:calc(100vh - 50px);touch-action:none}#lido-draggableCircle{cursor:pointer;fill:red;transition:fill 0.2s, r 0.2s}.lido-blindTracing{stroke:none !important}.lido-blindFreeTrace{stroke:none !important}.lido-hovered{cursor:grab;fill:darkred}#lido-controls{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:10px;background-color:#f0f0f0;border-top:1px solid #ccc}button{padding:10px;font-size:16px}@media (max-width: 600px){button{padding:8px;font-size:14px}}.lido-trace-path-green{}.lido-trace{height:700px;width:700px;z-index:1;justify-items:center;align-content:center}.trace-animate{animation:trace-bounce 0.5s}@keyframes trace-bounce{0%{transform:scale(1)}30%{transform:scale(1.05)}60%{transform:scale(0.95)}100%{transform:scale(1)}}";
4
4
  const LidoTraceStyle0 = lidoTraceCss;