lido-player 0.0.2-alpha-40 → 0.0.2-alpha-42

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 (54) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/lido-avatar_19.cjs.entry.js +5 -5
  3. package/dist/cjs/{utils-02d1df71.js → utils-d35051ce.js} +15 -14
  4. package/dist/collection/components/trace/lido-trace.css +1 -1
  5. package/dist/collection/components/trace/lido-trace.js +2 -2
  6. package/dist/collection/utils/utils.js +14 -0
  7. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +2 -16
  8. package/dist/components/index.js +1 -1
  9. package/dist/components/lido-avatar.js +1 -1
  10. package/dist/components/lido-cell.js +1 -1
  11. package/dist/components/lido-col.js +1 -1
  12. package/dist/components/lido-container.js +1 -1
  13. package/dist/components/lido-flash-card.js +1 -1
  14. package/dist/components/lido-float.js +1 -1
  15. package/dist/components/lido-home.js +1 -1
  16. package/dist/components/lido-image.js +1 -1
  17. package/dist/components/lido-keyboard.js +1 -1
  18. package/dist/components/lido-math-matrix.js +1 -1
  19. package/dist/components/lido-pos.js +1 -1
  20. package/dist/components/lido-random.js +1 -1
  21. package/dist/components/lido-root.js +19 -19
  22. package/dist/components/lido-row.js +1 -1
  23. package/dist/components/lido-shape.js +1 -1
  24. package/dist/components/lido-slide-fill.js +1 -1
  25. package/dist/components/lido-text.js +1 -1
  26. package/dist/components/lido-trace.js +1 -1
  27. package/dist/components/lido-wrap.js +1 -1
  28. package/dist/components/{p-231747a8.js → p-01661863.js} +1 -1
  29. package/dist/components/{p-d3a015c5.js → p-05a9c77a.js} +1 -1
  30. package/dist/components/{p-50691e58.js → p-0ce4e25e.js} +1 -1
  31. package/dist/components/{p-992b0ecb.js → p-12f1fee2.js} +1 -1
  32. package/dist/components/{p-fe91abe5.js → p-1880714b.js} +15 -14
  33. package/dist/components/{p-1899cd80.js → p-25a9fac9.js} +5 -5
  34. package/dist/components/{p-d5d1fb43.js → p-398c1fd5.js} +2 -2
  35. package/dist/components/{p-c8a210e2.js → p-3b245088.js} +1 -1
  36. package/dist/components/{p-00ef7219.js → p-3cd37320.js} +1 -1
  37. package/dist/components/{p-5fb5226e.js → p-4a0ead41.js} +1 -1
  38. package/dist/components/{p-95151cee.js → p-6854f3b8.js} +1 -1
  39. package/dist/components/{p-025c1426.js → p-7261a34a.js} +1 -1
  40. package/dist/components/{p-e75bb071.js → p-7d998445.js} +1 -1
  41. package/dist/components/{p-ecbbf755.js → p-8c1cafb5.js} +1 -1
  42. package/dist/components/{p-d1babd48.js → p-8f56901e.js} +1 -1
  43. package/dist/components/{p-4a5bc7a1.js → p-92908a74.js} +18 -18
  44. package/dist/components/{p-399a8fc2.js → p-991aaa57.js} +1 -1
  45. package/dist/components/{p-81542f6c.js → p-aa898bfe.js} +1 -1
  46. package/dist/components/{p-16ff1411.js → p-d93b07ea.js} +1 -1
  47. package/dist/esm/index.js +1 -1
  48. package/dist/esm/lido-avatar_19.entry.js +5 -5
  49. package/dist/esm/{utils-9330d5b6.js → utils-41eb83a5.js} +15 -14
  50. package/dist/lido-player/index.esm.js +1 -1
  51. package/dist/lido-player/lido-player.esm.js +1 -1
  52. package/dist/lido-player/{p-6ee2ec0b.entry.js → p-02138e8c.entry.js} +1 -1
  53. package/dist/lido-player/{p-11955d31.js → p-fbb622fa.js} +2 -2
  54. 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-02d1df71.js');
5
+ const utils = require('./utils-d35051ce.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-02d1df71.js');
6
+ const utils = require('./utils-d35051ce.js');
7
7
 
8
8
  var rive = {exports: {}};
9
9
 
@@ -11265,7 +11265,7 @@ const LidoText = class {
11265
11265
  };
11266
11266
  LidoText.style = LidoTextStyle0;
11267
11267
 
11268
- 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:#CF1565;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-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.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)}}";
11268
+ const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;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-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.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)}}";
11269
11269
  const LidoTraceStyle0 = lidoTraceCss;
11270
11270
 
11271
11271
  const LidoTrace = class {
@@ -11590,11 +11590,11 @@ const LidoTrace = class {
11590
11590
  var _a;
11591
11591
  const firstPathStart = state.paths[0].getPointAtLength(0);
11592
11592
  const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
11593
- const strokeWidth = state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
11593
+ state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
11594
11594
  circle.setAttribute('id', 'lido-draggableCircle');
11595
11595
  circle.setAttribute('cx', firstPathStart.x.toString());
11596
11596
  circle.setAttribute('cy', firstPathStart.y.toString());
11597
- circle.setAttribute('r', `calc(${strokeWidth || 10} / 3)`); // Radius of the draggable circle
11597
+ circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
11598
11598
  circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
11599
11599
  (_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
11600
11600
  state.circle = circle;
@@ -11977,7 +11977,7 @@ const LidoTrace = class {
11977
11977
  };
11978
11978
  }
11979
11979
  render() {
11980
- return (index.h(index.Host, { key: '3cdcbcdfbc4bda470d2ce3e4a57fee9a280b250e', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, index.h("div", { key: '29c8230656dc827027ff07e25edbb375710f1213', style: this.style, id: "lido-svgContainer" })));
11980
+ return (index.h(index.Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, index.h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
11981
11981
  }
11982
11982
  static get assetsDirs() { return ["svg", "images"]; }
11983
11983
  get el() { return index.getElement(this); }
@@ -211,7 +211,7 @@ function enableDraggingWithScaling(element) {
211
211
  isDragging = false;
212
212
  return;
213
213
  }
214
- AudioPlayer.getI().stop();
214
+ // AudioPlayer.getI().stop();
215
215
  removeHighlight(element);
216
216
  isDragging = true;
217
217
  isClicked = true;
@@ -836,19 +836,6 @@ async function onElementDropComplete(dragElement, dropElement) {
836
836
  // Add pulse and highlight effect for a successful match
837
837
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
838
838
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
839
- if (isCorrect) {
840
- // Perform actions if onMatch is defined
841
- const onCorrect = dropElement.getAttribute('onCorrect');
842
- if (onCorrect) {
843
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
844
- await executeActions(onCorrect, dropElement, dragElement);
845
- }
846
- }
847
- else {
848
- const onInCorrect = dropElement.getAttribute('onInCorrect');
849
- await executeActions(onInCorrect, dropElement, dragElement);
850
- // showWrongAnswerAnimation([dropElement, dragElement]);
851
- }
852
839
  storingEachActivityScore(isCorrect);
853
840
  dragElement.style.opacity = '1';
854
841
  await onActivityComplete(dragElement, dropElement);
@@ -67997,6 +67984,7 @@ const executeActions = async (actionsString, thisElement, element) => {
67997
67984
  const container = document.getElementById(LidoContainer);
67998
67985
  const containerScale = getElementScale$1(container);
67999
67986
  dragElement.style.transform = 'translate(0,0)';
67987
+ console.log("logg alinmatch");
68000
67988
  const dropRect = dropElement.getBoundingClientRect();
68001
67989
  const dragRect = dragElement.getBoundingClientRect();
68002
67990
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -68272,6 +68260,19 @@ async function onActivityComplete(dragElement, dropElement) {
68272
68260
  if (!container)
68273
68261
  return;
68274
68262
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
68263
+ if (dragElement && dropElement) {
68264
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
68265
+ if (isCorrect) {
68266
+ const onCorrect = dropElement.getAttribute('onCorrect');
68267
+ if (onCorrect) {
68268
+ await executeActions(onCorrect, dropElement, dragElement);
68269
+ }
68270
+ }
68271
+ else {
68272
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
68273
+ await executeActions(onInCorrect, dropElement, dragElement);
68274
+ }
68275
+ }
68275
68276
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
68276
68277
  const tabindex = dropElement.getAttribute('tab-index');
68277
68278
  if (!dragScore[tabindex]) {
@@ -18,7 +18,7 @@
18
18
  svg {
19
19
  width: 100%;
20
20
  height: 100%;
21
- max-height: calc(100vh - 50px);
21
+ /* max-height: calc(100vh - 50px); */
22
22
  /* border: 1px solid black; */
23
23
  touch-action: none;
24
24
  }
@@ -327,7 +327,7 @@ export class LidoTrace {
327
327
  circle.setAttribute('id', 'lido-draggableCircle');
328
328
  circle.setAttribute('cx', firstPathStart.x.toString());
329
329
  circle.setAttribute('cy', firstPathStart.y.toString());
330
- circle.setAttribute('r', `calc(${strokeWidth || 10} / 3)`); // Radius of the draggable circle
330
+ circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
331
331
  circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
332
332
  (_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
333
333
  state.circle = circle;
@@ -710,7 +710,7 @@ export class LidoTrace {
710
710
  };
711
711
  }
712
712
  render() {
713
- return (h(Host, { key: '3cdcbcdfbc4bda470d2ce3e4a57fee9a280b250e', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '29c8230656dc827027ff07e25edbb375710f1213', style: this.style, id: "lido-svgContainer" })));
713
+ return (h(Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
714
714
  }
715
715
  static get is() { return "lido-trace"; }
716
716
  static get originalStyleUrls() {
@@ -83,6 +83,7 @@ export const executeActions = async (actionsString, thisElement, element) => {
83
83
  const container = document.getElementById(LidoContainer);
84
84
  const containerScale = getElementScale(container);
85
85
  dragElement.style.transform = 'translate(0,0)';
86
+ console.log("logg alinmatch");
86
87
  const dropRect = dropElement.getBoundingClientRect();
87
88
  const dragRect = dragElement.getBoundingClientRect();
88
89
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -358,6 +359,19 @@ export async function onActivityComplete(dragElement, dropElement) {
358
359
  if (!container)
359
360
  return;
360
361
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
362
+ if (dragElement && dropElement) {
363
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
364
+ if (isCorrect) {
365
+ const onCorrect = dropElement.getAttribute('onCorrect');
366
+ if (onCorrect) {
367
+ await executeActions(onCorrect, dropElement, dragElement);
368
+ }
369
+ }
370
+ else {
371
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
372
+ await executeActions(onInCorrect, dropElement, dragElement);
373
+ }
374
+ }
361
375
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
362
376
  const tabindex = dropElement.getAttribute('tab-index');
363
377
  if (!dragScore[tabindex]) {
@@ -1,5 +1,4 @@
1
- import { calculateScale, countPatternWords, executeActions, handleShowCheck, handlingElementFlexibleWidth, onActivityComplete, storingEachActivityScore } from "../utils";
2
- import { AudioPlayer } from "../audioPlayer";
1
+ import { calculateScale, countPatternWords, handleShowCheck, handlingElementFlexibleWidth, onActivityComplete, storingEachActivityScore } from "../utils";
3
2
  import { DragSelectedMapKey, DragMapKey, DropHasDrag, DropLength, SelectedValuesKey, DropMode, DropToAttr, DropTimeAttr, LidoContainer, DropAction } from "../constants";
4
3
  import { dispatchElementDropEvent } from "../customEvents";
5
4
  import { removeHighlight } from "./highlightHandler";
@@ -56,7 +55,7 @@ export function enableDraggingWithScaling(element) {
56
55
  isDragging = false;
57
56
  return;
58
57
  }
59
- AudioPlayer.getI().stop();
58
+ // AudioPlayer.getI().stop();
60
59
  removeHighlight(element);
61
60
  isDragging = true;
62
61
  isClicked = true;
@@ -685,19 +684,6 @@ export async function onElementDropComplete(dragElement, dropElement) {
685
684
  // Add pulse and highlight effect for a successful match
686
685
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
687
686
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
688
- if (isCorrect) {
689
- // Perform actions if onMatch is defined
690
- const onCorrect = dropElement.getAttribute('onCorrect');
691
- if (onCorrect) {
692
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
693
- await executeActions(onCorrect, dropElement, dragElement);
694
- }
695
- }
696
- else {
697
- const onInCorrect = dropElement.getAttribute('onInCorrect');
698
- await executeActions(onInCorrect, dropElement, dragElement);
699
- // showWrongAnswerAnimation([dropElement, dragElement]);
700
- }
701
687
  storingEachActivityScore(isCorrect);
702
688
  dragElement.style.opacity = '1';
703
689
  await onActivityComplete(dragElement, dropElement);
@@ -1 +1 @@
1
- export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-fe91abe5.js';
1
+ export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-1880714b.js';
@@ -1,4 +1,4 @@
1
- import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-231747a8.js';
1
+ import { L as LidoAvatar$1, d as defineCustomElement$1 } from './p-01661863.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-81542f6c.js';
1
+ import { L as LidoCell$1, d as defineCustomElement$1 } from './p-aa898bfe.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-c8a210e2.js';
1
+ import { L as LidoCol$1, d as defineCustomElement$1 } from './p-3b245088.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-e75bb071.js';
1
+ import { L as LidoContainer$1, d as defineCustomElement$1 } from './p-7d998445.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-d1babd48.js';
1
+ import { L as LidoFlash, d as defineCustomElement$1 } from './p-8f56901e.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-992b0ecb.js';
1
+ import { L as LidoFloat$1, d as defineCustomElement$1 } from './p-12f1fee2.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-4a5bc7a1.js';
1
+ import { L as LidoHome$1, d as defineCustomElement$1 } from './p-92908a74.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-00ef7219.js';
1
+ import { L as LidoImage$1, d as defineCustomElement$1 } from './p-3cd37320.js';
2
2
 
3
3
  const LidoImage = LidoImage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoKeyboard$1, d as defineCustomElement$1 } from './p-d5d1fb43.js';
1
+ import { L as LidoKeyboard$1, d as defineCustomElement$1 } from './p-398c1fd5.js';
2
2
 
3
3
  const LidoKeyboard = LidoKeyboard$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoMathMatrix$1, d as defineCustomElement$1 } from './p-5fb5226e.js';
1
+ import { L as LidoMathMatrix$1, d as defineCustomElement$1 } from './p-4a0ead41.js';
2
2
 
3
3
  const LidoMathMatrix = LidoMathMatrix$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { L as LidoPos$1, d as defineCustomElement$1 } from './p-50691e58.js';
1
+ import { L as LidoPos$1, d as defineCustomElement$1 } from './p-0ce4e25e.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-399a8fc2.js';
1
+ import { L as LidoRandom$1, d as defineCustomElement$1 } from './p-991aaa57.js';
2
2
 
3
3
  const LidoRandom = LidoRandom$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,22 +1,22 @@
1
- import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-fe91abe5.js';
2
- import { d as defineCustomElement$j } from './p-231747a8.js';
3
- import { d as defineCustomElement$i } from './p-81542f6c.js';
4
- import { d as defineCustomElement$h } from './p-c8a210e2.js';
5
- import { d as defineCustomElement$g } from './p-e75bb071.js';
6
- import { d as defineCustomElement$f } from './p-d1babd48.js';
7
- import { d as defineCustomElement$e } from './p-992b0ecb.js';
8
- import { d as defineCustomElement$d } from './p-4a5bc7a1.js';
9
- import { d as defineCustomElement$c } from './p-00ef7219.js';
10
- import { d as defineCustomElement$b } from './p-d5d1fb43.js';
11
- import { d as defineCustomElement$a } from './p-5fb5226e.js';
12
- import { d as defineCustomElement$9 } from './p-50691e58.js';
13
- import { d as defineCustomElement$8 } from './p-399a8fc2.js';
14
- import { d as defineCustomElement$7 } from './p-ecbbf755.js';
15
- import { d as defineCustomElement$6 } from './p-025c1426.js';
16
- import { d as defineCustomElement$5 } from './p-95151cee.js';
17
- import { d as defineCustomElement$4 } from './p-16ff1411.js';
18
- import { d as defineCustomElement$3 } from './p-1899cd80.js';
19
- import { d as defineCustomElement$2 } from './p-d3a015c5.js';
1
+ import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-1880714b.js';
2
+ import { d as defineCustomElement$j } from './p-01661863.js';
3
+ import { d as defineCustomElement$i } from './p-aa898bfe.js';
4
+ import { d as defineCustomElement$h } from './p-3b245088.js';
5
+ import { d as defineCustomElement$g } from './p-7d998445.js';
6
+ import { d as defineCustomElement$f } from './p-8f56901e.js';
7
+ import { d as defineCustomElement$e } from './p-12f1fee2.js';
8
+ import { d as defineCustomElement$d } from './p-92908a74.js';
9
+ import { d as defineCustomElement$c } from './p-3cd37320.js';
10
+ import { d as defineCustomElement$b } from './p-398c1fd5.js';
11
+ import { d as defineCustomElement$a } from './p-4a0ead41.js';
12
+ import { d as defineCustomElement$9 } from './p-0ce4e25e.js';
13
+ import { d as defineCustomElement$8 } from './p-991aaa57.js';
14
+ import { d as defineCustomElement$7 } from './p-8c1cafb5.js';
15
+ import { d as defineCustomElement$6 } from './p-7261a34a.js';
16
+ import { d as defineCustomElement$5 } from './p-6854f3b8.js';
17
+ import { d as defineCustomElement$4 } from './p-d93b07ea.js';
18
+ import { d as defineCustomElement$3 } from './p-25a9fac9.js';
19
+ import { d as defineCustomElement$2 } from './p-05a9c77a.js';
20
20
 
21
21
  const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
22
22
  constructor() {
@@ -1,4 +1,4 @@
1
- import { L as LidoRow$1, d as defineCustomElement$1 } from './p-ecbbf755.js';
1
+ import { L as LidoRow$1, d as defineCustomElement$1 } from './p-8c1cafb5.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-025c1426.js';
1
+ import { L as LidoShape$1, d as defineCustomElement$1 } from './p-7261a34a.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-95151cee.js';
1
+ import { L as LidoSlideFill$1, d as defineCustomElement$1 } from './p-6854f3b8.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-16ff1411.js';
1
+ import { L as LidoText$1, d as defineCustomElement$1 } from './p-d93b07ea.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-1899cd80.js';
1
+ import { L as LidoTrace$1, d as defineCustomElement$1 } from './p-25a9fac9.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-d3a015c5.js';
1
+ import { L as LidoWrap$1, d as defineCustomElement$1 } from './p-05a9c77a.js';
2
2
 
3
3
  const LidoWrap = LidoWrap$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-fe91abe5.js';
1
+ import { c as commonjsGlobal, p as proxyCustomElement, H, g as getAssetPath, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-1880714b.js';
2
2
 
3
3
  var rive = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoWrapCss = ".lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;background-color:var(--child-bg-color, #f0f0f0);box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}";
4
4
  const LidoWrapStyle0 = lidoWrapCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoPosCss = ".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}";
4
4
  const LidoPosStyle0 = lidoPosCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}#removeShadow{box-shadow:unset !important}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
4
4
  const LidoFloatStyle0 = lidoFloatCss;
@@ -1607,7 +1607,7 @@ function enableDraggingWithScaling(element) {
1607
1607
  isDragging = false;
1608
1608
  return;
1609
1609
  }
1610
- AudioPlayer.getI().stop();
1610
+ // AudioPlayer.getI().stop();
1611
1611
  removeHighlight(element);
1612
1612
  isDragging = true;
1613
1613
  isClicked = true;
@@ -2232,19 +2232,6 @@ async function onElementDropComplete(dragElement, dropElement) {
2232
2232
  // Add pulse and highlight effect for a successful match
2233
2233
  const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
2234
2234
  dispatchElementDropEvent(dragElement, dropElement, isCorrect);
2235
- if (isCorrect) {
2236
- // Perform actions if onMatch is defined
2237
- const onCorrect = dropElement.getAttribute('onCorrect');
2238
- if (onCorrect) {
2239
- await executeActions("this.alignMatch='true'", dropElement, dragElement);
2240
- await executeActions(onCorrect, dropElement, dragElement);
2241
- }
2242
- }
2243
- else {
2244
- const onInCorrect = dropElement.getAttribute('onInCorrect');
2245
- await executeActions(onInCorrect, dropElement, dragElement);
2246
- // showWrongAnswerAnimation([dropElement, dragElement]);
2247
- }
2248
2235
  storingEachActivityScore(isCorrect);
2249
2236
  dragElement.style.opacity = '1';
2250
2237
  await onActivityComplete(dragElement, dropElement);
@@ -69393,6 +69380,7 @@ const executeActions = async (actionsString, thisElement, element) => {
69393
69380
  const container = document.getElementById(LidoContainer);
69394
69381
  const containerScale = getElementScale$1(container);
69395
69382
  dragElement.style.transform = 'translate(0,0)';
69383
+ console.log("logg alinmatch");
69396
69384
  const dropRect = dropElement.getBoundingClientRect();
69397
69385
  const dragRect = dragElement.getBoundingClientRect();
69398
69386
  const dropCenterX = dropRect.left + dropRect.width / 2;
@@ -69668,6 +69656,19 @@ async function onActivityComplete(dragElement, dropElement) {
69668
69656
  if (!container)
69669
69657
  return;
69670
69658
  await executeActions("this.alignMatch='true'", dropElement, dragElement);
69659
+ if (dragElement && dropElement) {
69660
+ const isCorrect = dropElement['value'].toLowerCase().includes(dragElement['value'].toLowerCase());
69661
+ if (isCorrect) {
69662
+ const onCorrect = dropElement.getAttribute('onCorrect');
69663
+ if (onCorrect) {
69664
+ await executeActions(onCorrect, dropElement, dragElement);
69665
+ }
69666
+ }
69667
+ else {
69668
+ const onInCorrect = dropElement.getAttribute('onInCorrect');
69669
+ await executeActions(onInCorrect, dropElement, dragElement);
69670
+ }
69671
+ }
69671
69672
  let dragScore = JSON.parse((_a = localStorage.getItem(DragSelectedMapKey)) !== null && _a !== void 0 ? _a : '{}');
69672
69673
  const tabindex = dropElement.getAttribute('tab-index');
69673
69674
  if (!dragScore[tabindex]) {
@@ -1,6 +1,6 @@
1
- import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, T as TraceMode, e as convertUrlToRelative, d as setVisibilityWithDelay, U as speakIcon, F as executeActions, K as triggerNextContainer, L as LidoContainer, m as parseProp, h, j as Host, V as fingerUrl } from './p-1880714b.js';
2
2
 
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:#CF1565;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-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.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)}}";
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%;touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;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-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.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;
5
5
 
6
6
  const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
@@ -326,11 +326,11 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
326
326
  var _a;
327
327
  const firstPathStart = state.paths[0].getPointAtLength(0);
328
328
  const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
329
- const strokeWidth = state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
329
+ state.paths[state.currentPathIndex].style['stroke-width'] || state.paths[state.currentPathIndex].getAttribute('stroke-width');
330
330
  circle.setAttribute('id', 'lido-draggableCircle');
331
331
  circle.setAttribute('cx', firstPathStart.x.toString());
332
332
  circle.setAttribute('cy', firstPathStart.y.toString());
333
- circle.setAttribute('r', `calc(${strokeWidth || 10} / 3)`); // Radius of the draggable circle
333
+ circle.setAttribute('r', `calc(20)`); // Radius of the draggable circle
334
334
  circle.setAttribute('fill', '#CF1565'); // fill the color for the circle
335
335
  (_a = state.svg) === null || _a === void 0 ? void 0 : _a.appendChild(circle);
336
336
  state.circle = circle;
@@ -713,7 +713,7 @@ const LidoTrace = /*@__PURE__*/ proxyCustomElement(class LidoTrace extends H {
713
713
  };
714
714
  }
715
715
  render() {
716
- return (h(Host, { key: '3cdcbcdfbc4bda470d2ce3e4a57fee9a280b250e', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '29c8230656dc827027ff07e25edbb375710f1213', style: this.style, id: "lido-svgContainer" })));
716
+ return (h(Host, { key: 'c774cbe324a21f540fc756dedab1c04a743ab03c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d129814d07ca953b05200cb6101bd67a8e8596d', style: this.style, id: "lido-svgContainer" })));
717
717
  }
718
718
  static get assetsDirs() { return ["svg", "images"]; }
719
719
  get el() { return this; }
@@ -1,5 +1,5 @@
1
- import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-fe91abe5.js';
2
- import { d as defineCustomElement$1 } from './p-16ff1411.js';
1
+ import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, F as executeActions, K as triggerNextContainer, o as handleFloatElementPosition, M as storingEachActivityScore, O as DropAction, m as parseProp, h, j as Host } from './p-1880714b.js';
2
+ import { d as defineCustomElement$1 } from './p-d93b07ea.js';
3
3
 
4
4
  const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
5
5
  const LidoKeyboardStyle0 = lidoKeyboardCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoColCss = ".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>*{}";
4
4
  const LidoColStyle0 = lidoColCss;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-fe91abe5.js';
1
+ import { c as commonjsGlobal, I as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, J as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  var lib = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:cover;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--inactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px}";
4
4
  const LidoMathMatrixStyle0 = lidoMathMatrixCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, Q as fraction, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
4
4
  const LidoSlideFillStyle0 = lidoSlideFillCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z)}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}";
4
4
  const LidoShapeStyle0 = lidoShapeCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
4
4
  const LidoContainerStyle0 = lidoContainerCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoRowCss = ".lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}";
4
4
  const LidoRowStyle0 = lidoRowCss;
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-fe91abe5.js';
1
+ import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-1880714b.js';
2
2
 
3
3
  const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
4
4
  const LidoFlashCardStyle0 = lidoFlashCardCss;