lido-player 0.0.2-beta-19-dev → 0.0.2-beta-22-dev
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.
- package/LICENSE +21 -21
- package/dist/cjs/{decode-Bny56MQ9.js → decode-Cr5DANqc.js} +1 -1
- package/dist/cjs/{index-BY9fvbr8.js → index-0BvcfeCt.js} +144 -68
- package/dist/cjs/{index-DjsCseV8.js → index-DnaH8sO-.js} +20 -67
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +279 -66
- package/dist/cjs/lido-player.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
- package/dist/collection/components/avatar/readme.md +49 -49
- package/dist/collection/components/calculator/lido-calculator.css +89 -89
- package/dist/collection/components/calculator/lido-calculator.js +2 -2
- package/dist/collection/components/canvas/lido-canvas.css +33 -33
- package/dist/collection/components/canvas/lido-canvas.js +1 -1
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +10 -10
- package/dist/collection/components/container/lido-container.js +8 -8
- package/dist/collection/components/flashCard/lido-flash-card.css +46 -28
- package/dist/collection/components/flashCard/lido-flash-card.js +131 -14
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +309 -309
- package/dist/collection/components/home/lido-home.js +9 -6
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +5 -5
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/assets/Shadow.svg +9 -9
- package/dist/collection/components/scale/lido-balance.css +174 -145
- package/dist/collection/components/scale/lido-balance.js +54 -14
- package/dist/collection/components/shape/lido-shape.css +216 -216
- package/dist/collection/components/shape/lido-shape.js +6 -6
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +5 -5
- package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +119 -23
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +211 -211
- package/dist/collection/css/index.css +323 -323
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
- package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
- package/dist/collection/stories/Templates/total/total.stories.js +28 -28
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +9 -12
- package/dist/collection/utils/utils.js +24 -8
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +16 -10
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +58 -1
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.js +1 -1
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +1 -1
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-BOQDbCrm.js → p-BJiyBHYT.js} +1 -1
- package/dist/components/p-BUfCIPRa.js +1 -0
- package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
- package/dist/components/p-BiBt9LGP.js +1 -0
- package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
- package/dist/components/{p-B4YAipq-.js → p-CFzvgrMa.js} +1 -1
- package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
- package/dist/components/{p-CCR42e0i.js → p-ChfVUoX4.js} +1 -1
- package/dist/components/{p-CWwymnbk.js → p-CkxAm8rY.js} +2 -2
- package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
- package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
- package/dist/components/{p-BJMjg5wu.js → p-D2GhaM-T.js} +1 -1
- package/dist/components/{p-BBHM059l.js → p-DDS30M3y.js} +1 -1
- package/dist/components/p-DP6jQ5ML.js +1 -0
- package/dist/components/{p-CljvnHkI.js → p-DZRNZCPt.js} +1 -1
- package/dist/components/p-DbR5sNOj.js +1 -0
- package/dist/components/{p-B8nzzM8c.js → p-DdQ1eqJr.js} +1 -1
- package/dist/components/p-leIEepjl.js +1 -0
- package/dist/components/p-u3czV7QM.js +1 -0
- package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
- package/dist/esm/{decode-Buyq-Iy5.js → decode-DkSXjv7K.js} +1 -1
- package/dist/esm/{index-CQXciux9.js → index-D9-TTsdZ.js} +144 -68
- package/dist/esm/{index-DQZfuGjI.js → index-Dvjbti-h.js} +20 -67
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +279 -66
- package/dist/esm/lido-player.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/lido-player/assets/Shadow.svg +9 -9
- package/dist/lido-player/assets/Tracing-hand.svg +8 -8
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-avatar.css +4 -4
- package/dist/lido-player/lido-avatar.tsx +207 -207
- package/dist/lido-player/lido-player.css +7 -7
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-35fa0b8b.entry.js +12 -0
- package/dist/lido-player/p-D2iINRNN.js +1 -0
- package/dist/lido-player/{p-CFtq4Thh.js → p-Dc8j8Hxw.js} +1 -1
- package/dist/lido-player/p-Dvjbti-h.js +2 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/components/flashCard/lido-flash-card.d.ts +10 -0
- package/dist/types/components/scale/lido-balance.d.ts +5 -0
- package/dist/types/components/trace/lido-trace.d.ts +9 -1
- package/dist/types/components.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +55 -73
- package/dist/types/types/json.d.ts +3 -3
- package/dist/types/utils/audioPlayer.d.ts +1 -1
- package/dist/types/utils/utilsHandlers/lidoBalanceHandler.d.ts +10 -0
- package/loader/index.d.ts +1 -1
- package/package.json +74 -74
- package/readme.md +113 -113
- package/dist/components/p-BfqihbR6.js +0 -1
- package/dist/components/p-CwIlwnQk.js +0 -1
- package/dist/components/p-DLyacZap.js +0 -1
- package/dist/components/p-DONbWJGn.js +0 -1
- package/dist/components/p-DVTigdH_.js +0 -1
- package/dist/components/p-DYFVwyRr.js +0 -1
- package/dist/lido-player/p-37736e11.entry.js +0 -12
- package/dist/lido-player/p-3Ry570XH.js +0 -1
- package/dist/lido-player/p-DQZfuGjI.js +0 -3
|
@@ -22,10 +22,10 @@ const NAMESPACE = 'lido-player';
|
|
|
22
22
|
const BUILD = /* lido-player */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
23
23
|
|
|
24
24
|
const globalScripts = () => {};
|
|
25
|
-
const globalStyles = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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(\n 180deg,\n rgba(255, 235, 59, 0.95),\n rgba(255, 214, 0, 0.95)\n );border-radius:6px;box-shadow:0 2px 6px rgba(0, 0, 0, 0.18),\n inset 0 -1px 0 rgba(255, 255, 255, 0.25);transition:width 25ms ease-out,\n height 25ms ease-out,\n opacity 80ms ease-out;opacity:0.95;will-change:transform, width, height;contain:layout paint style}.category-dropped-onCorrect{box-shadow:rgba(129, 193, 39, 1) 0px 8px 8px 0px !important}.category-dropped-onInCorrect{box-shadow:rgba(255, 4, 16, 1) 0px 8px 8px 0px !important}";
|
|
25
|
+
const globalStyles = "@font-face{font-family:'Baloo Bhai 2';font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/offline-assets/fonts/Baloo-Bhai-2/Baloo-Bhai-2-Variable.woff2') format('woff2')}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-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}.category-dropped-onCorrect{box-shadow:rgba(129, 193, 39, 1) 0px 8px 8px 0px !important}.category-dropped-onInCorrect{box-shadow:rgba(255, 4, 16, 1) 0px 8px 8px 0px !important}";
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
|
-
Stencil Client Platform v4.
|
|
28
|
+
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
31
|
|
|
@@ -113,9 +113,7 @@ var consoleError = (e, el) => (0, console.error)(e, el);
|
|
|
113
113
|
|
|
114
114
|
// src/client/client-load-module.ts
|
|
115
115
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
116
|
-
var failedLoadAttempts = /* @__PURE__ */ new Map();
|
|
117
116
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
118
|
-
var _a;
|
|
119
117
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
120
118
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
121
119
|
if (!bundleId) {
|
|
@@ -125,11 +123,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
125
123
|
if (module) {
|
|
126
124
|
return module[exportName];
|
|
127
125
|
}
|
|
128
|
-
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
129
|
-
const cacheBustParams = [
|
|
130
|
-
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
131
|
-
""
|
|
132
|
-
].filter(Boolean).join("&");
|
|
133
126
|
|
|
134
127
|
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
135
128
|
const processMod = importedModule => {
|
|
@@ -149,17 +142,15 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
149
142
|
/* webpackInclude: /\.entry\.js$/ */
|
|
150
143
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
151
144
|
/* webpackMode: "lazy" */
|
|
152
|
-
`./${bundleId}.entry.js${
|
|
145
|
+
`./${bundleId}.entry.js${""}`
|
|
153
146
|
).then(
|
|
154
147
|
(importedModule) => {
|
|
155
148
|
{
|
|
156
|
-
failedLoadAttempts.delete(bundleId);
|
|
157
149
|
cmpModules.set(bundleId, importedModule);
|
|
158
150
|
}
|
|
159
151
|
return importedModule[exportName];
|
|
160
152
|
},
|
|
161
153
|
(e) => {
|
|
162
|
-
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
163
154
|
consoleError(e, hostRef.$hostElement$);
|
|
164
155
|
}
|
|
165
156
|
);
|
|
@@ -170,8 +161,6 @@ var styles = /* @__PURE__ */ new Map();
|
|
|
170
161
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
171
162
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
172
163
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
173
|
-
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
174
|
-
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
175
164
|
var win = typeof window !== "undefined" ? window : {};
|
|
176
165
|
var plt = {
|
|
177
166
|
$flags$: 0,
|
|
@@ -198,10 +187,6 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
|
|
|
198
187
|
var queuePending = false;
|
|
199
188
|
var queueDomReads = [];
|
|
200
189
|
var queueDomWrites = [];
|
|
201
|
-
var scheduleFlush = () => {
|
|
202
|
-
var _a;
|
|
203
|
-
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
204
|
-
};
|
|
205
190
|
var queueTask = (queue, write) => (cb) => {
|
|
206
191
|
queue.push(cb);
|
|
207
192
|
if (!queuePending) {
|
|
@@ -209,7 +194,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
209
194
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
210
195
|
nextTick(flush);
|
|
211
196
|
} else {
|
|
212
|
-
|
|
197
|
+
plt.raf(flush);
|
|
213
198
|
}
|
|
214
199
|
}
|
|
215
200
|
};
|
|
@@ -228,7 +213,7 @@ var flush = () => {
|
|
|
228
213
|
{
|
|
229
214
|
consume(queueDomWrites);
|
|
230
215
|
if (queuePending = queueDomReads.length > 0) {
|
|
231
|
-
|
|
216
|
+
plt.raf(flush);
|
|
232
217
|
}
|
|
233
218
|
}
|
|
234
219
|
};
|
|
@@ -309,7 +294,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
309
294
|
slottedNodes.push(childNode);
|
|
310
295
|
if (typeof slotName !== "undefined") return slottedNodes;
|
|
311
296
|
}
|
|
312
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(
|
|
297
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
313
298
|
}
|
|
314
299
|
return slottedNodes;
|
|
315
300
|
}
|
|
@@ -553,11 +538,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
553
538
|
} else if (child != null && typeof child !== "boolean") {
|
|
554
539
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
555
540
|
child = String(child);
|
|
556
|
-
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
557
|
-
{
|
|
558
|
-
consoleError("Invalid vNode child");
|
|
559
|
-
}
|
|
560
|
-
continue;
|
|
561
541
|
}
|
|
562
542
|
if (simple && lastSimple) {
|
|
563
543
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -802,7 +782,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
802
782
|
}
|
|
803
783
|
}
|
|
804
784
|
if (newValue == null || newValue === false) {
|
|
805
|
-
if (newValue !== false || elm.getAttribute(memberName) === ""
|
|
785
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
806
786
|
if (xlink) {
|
|
807
787
|
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
808
788
|
} else {
|
|
@@ -819,8 +799,6 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
819
799
|
}
|
|
820
800
|
}
|
|
821
801
|
};
|
|
822
|
-
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
823
|
-
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
824
802
|
var parseClassListRegex = /\s/;
|
|
825
803
|
var parseClassList = (value) => {
|
|
826
804
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
@@ -1089,7 +1067,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1089
1067
|
if (idxInOld >= 0) {
|
|
1090
1068
|
elmToMove = oldCh[idxInOld];
|
|
1091
1069
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
1092
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
1070
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
1093
1071
|
} else {
|
|
1094
1072
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1095
1073
|
oldCh[idxInOld] = void 0;
|
|
@@ -1188,10 +1166,7 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1188
1166
|
const slotName = childNode["s-sn"];
|
|
1189
1167
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1190
1168
|
node = hostContentNodes[j];
|
|
1191
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] &&
|
|
1192
|
-
// `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
|
|
1193
|
-
// would trivially "match" on every re-render and force pointless re-insertion.
|
|
1194
|
-
(!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
|
|
1169
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
|
1195
1170
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1196
1171
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1197
1172
|
checkSlotFallbackVisibility = true;
|
|
@@ -1259,7 +1234,7 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
1259
1234
|
return newNode;
|
|
1260
1235
|
}
|
|
1261
1236
|
}
|
|
1262
|
-
if (
|
|
1237
|
+
if (parent.__insertBefore) {
|
|
1263
1238
|
return parent.__insertBefore(newNode, reference);
|
|
1264
1239
|
} else {
|
|
1265
1240
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
@@ -1626,7 +1601,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1626
1601
|
};
|
|
1627
1602
|
|
|
1628
1603
|
// src/runtime/proxy-component.ts
|
|
1629
|
-
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
1630
1604
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1631
1605
|
var _a, _b;
|
|
1632
1606
|
const prototype = Cstr.prototype;
|
|
@@ -1697,26 +1671,21 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1697
1671
|
}
|
|
1698
1672
|
return;
|
|
1699
1673
|
}
|
|
1700
|
-
const
|
|
1701
|
-
newValue,
|
|
1702
|
-
memberFlags);
|
|
1703
|
-
const setterSetVal = (val) => {
|
|
1674
|
+
const setterSetVal = () => {
|
|
1704
1675
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1705
1676
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1706
1677
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1707
1678
|
}
|
|
1708
|
-
ref.$lazyInstance$[memberName] =
|
|
1679
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(
|
|
1680
|
+
newValue,
|
|
1681
|
+
memberFlags);
|
|
1709
1682
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1710
1683
|
};
|
|
1711
1684
|
if (ref.$lazyInstance$) {
|
|
1712
|
-
setterSetVal(
|
|
1685
|
+
setterSetVal();
|
|
1713
1686
|
} else {
|
|
1714
|
-
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1715
1687
|
ref.$fetchedCbList$.push(() => {
|
|
1716
|
-
|
|
1717
|
-
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
1718
|
-
setterSetVal(pendingValue);
|
|
1719
|
-
}
|
|
1688
|
+
setterSetVal();
|
|
1720
1689
|
});
|
|
1721
1690
|
}
|
|
1722
1691
|
}
|
|
@@ -1764,20 +1733,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1764
1733
|
return;
|
|
1765
1734
|
}
|
|
1766
1735
|
const propFlags = members.find(([m]) => m === propName);
|
|
1767
|
-
const
|
|
1768
|
-
const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
|
|
1769
|
-
if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
|
|
1770
|
-
// one is always external
|
|
1771
|
-
!isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
|
|
1772
|
-
return;
|
|
1773
|
-
}
|
|
1736
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
1774
1737
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1775
1738
|
if (isBooleanTarget) {
|
|
1776
1739
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1777
1740
|
}
|
|
1778
|
-
const currentValue = propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
|
|
1779
1741
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1780
|
-
if (!isSpuriousBooleanRemoval && newValue !=
|
|
1742
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1781
1743
|
this[propName] = newValue;
|
|
1782
1744
|
}
|
|
1783
1745
|
});
|
|
@@ -1803,12 +1765,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1803
1765
|
|
|
1804
1766
|
// src/runtime/initialize-component.ts
|
|
1805
1767
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1806
|
-
var _a;
|
|
1807
1768
|
let Cstr;
|
|
1808
1769
|
try {
|
|
1809
1770
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1810
1771
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1811
|
-
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
1812
1772
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1813
1773
|
if (bundleId) {
|
|
1814
1774
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
@@ -1820,11 +1780,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1820
1780
|
Cstr = CstrImport;
|
|
1821
1781
|
}
|
|
1822
1782
|
if (!Cstr) {
|
|
1823
|
-
hostRef.$flags$ &= -33 /* hasInitializedComponent */;
|
|
1824
|
-
hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
|
|
1825
|
-
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
1826
|
-
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
1827
|
-
}
|
|
1828
1783
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1829
1784
|
}
|
|
1830
1785
|
if (!Cstr.isProxied) {
|
|
@@ -1889,7 +1844,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1889
1844
|
hostRef.$onRenderResolve$();
|
|
1890
1845
|
hostRef.$onRenderResolve$ = void 0;
|
|
1891
1846
|
}
|
|
1892
|
-
if (hostRef.$onReadyResolve$
|
|
1847
|
+
if (hostRef.$onReadyResolve$) {
|
|
1893
1848
|
hostRef.$onReadyResolve$(elm);
|
|
1894
1849
|
}
|
|
1895
1850
|
}
|
|
@@ -1941,8 +1896,6 @@ var connectedCallback = (elm) => {
|
|
|
1941
1896
|
} else {
|
|
1942
1897
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1943
1898
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1944
|
-
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
1945
|
-
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
1946
1899
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1947
1900
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1948
1901
|
}
|
|
@@ -2069,7 +2022,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2069
2022
|
}
|
|
2070
2023
|
disconnectedCallback() {
|
|
2071
2024
|
plt.jmp(() => disconnectedCallback(this));
|
|
2072
|
-
|
|
2025
|
+
plt.raf(() => {
|
|
2073
2026
|
var _a3;
|
|
2074
2027
|
const hostRef = getHostRef(this);
|
|
2075
2028
|
if (!hostRef) {
|