@everymatrix/mini-games-hub 0.1.5 → 0.1.7

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 (135) hide show
  1. package/components/{GameCard-8XBwX5mB.js → GameCard-DTz2IEhm.js} +27 -29
  2. package/components/GameCard-Dfgtrwdb.cjs +3 -0
  3. package/components/{GameCard-SP2WkMe4.js → GameCard-sNqb2_mR.js} +27 -29
  4. package/components/{MiniGamesHub-DKkDXC81.cjs → MiniGamesHub-3XlqpfV_.cjs} +5 -5
  5. package/components/{MiniGamesHub-BEAlx3WE.js → MiniGamesHub-DTPiOtNT.js} +318 -286
  6. package/components/{MiniGamesHub-CrRIFbj_.js → MiniGamesHub-iX9t9vSW.js} +261 -249
  7. package/components/{WheelOfFortune-B7NMoATV.js → WheelOfFortune-BKUcclpm.js} +197 -164
  8. package/components/{WheelOfFortune-0yZoHYHH.js → WheelOfFortune-CbvJZO8-.js} +184 -151
  9. package/components/{WheelOfFortune-BxbFigrE.cjs → WheelOfFortune-DgAgnR_Q.cjs} +27 -6
  10. package/components/WheelOfFortuneDrawResults-AskDnOA6.cjs +1 -0
  11. package/components/WheelOfFortuneDrawResults-C9BcE4Kr.js +262 -0
  12. package/components/WheelOfFortuneDrawResults-DnQPGIPX.js +237 -0
  13. package/components/WheelOfFortuneHistory-BA977Hfx.js +230 -0
  14. package/components/WheelOfFortuneHistory-CT-5jtfe.js +230 -0
  15. package/components/WheelOfFortuneHistory-uP606zLS.cjs +13 -0
  16. package/components/{WheelOfFortuneRules-BI3iP5jZ.js → WheelOfFortuneRules-C16Md0m_.js} +64 -64
  17. package/components/WheelOfFortuneRules-DQcA-d8i.js +128 -0
  18. package/components/WheelOfFortuneRules-zVRcNYIv.cjs +5 -0
  19. package/components/WheelOfFortuneWheel-6j7QTrsf.cjs +3 -0
  20. package/components/WheelOfFortuneWheel-BvI-fAML.js +1980 -0
  21. package/components/WheelOfFortuneWheel-CCmzx2yj.js +1910 -0
  22. package/components/{constants-syi43uVY.js → constants-CWz8CXw2.js} +1 -1
  23. package/components/{constants-B5BwgkMh.cjs → constants-DM6Vdc6Z.cjs} +1 -1
  24. package/components/{sparkles-DMNeGYKa.cjs → sparkles-BnriHiyw.cjs} +1 -1
  25. package/components/{sparkles-Br3hNIM6.js → sparkles-BzZDomk7.js} +1 -1
  26. package/components/{sparkles-CsUJD5iK.js → sparkles-C9wObsYC.js} +1 -1
  27. package/components/{spin-controller-BfbakdA_.js → spin-controller-BjXSz9Me.js} +53 -52
  28. package/components/{spin-controller-Y0nB76qX.js → spin-controller-CETKYiGM.js} +51 -50
  29. package/components/spin-controller-q2CuZMYj.cjs +1 -0
  30. package/components/utils-B53aGsNG.js +6095 -0
  31. package/components/utils-C0oX5v1l.js +6141 -0
  32. package/components/utils-Du65tqU5.cjs +3 -0
  33. package/es2015/mini-games-hub.cjs +1 -1
  34. package/es2015/mini-games-hub.js +1 -1
  35. package/esnext/mini-games-hub.js +1 -1
  36. package/package.json +3 -1
  37. package/components/GameCard-B2Vf_Okb.cjs +0 -3
  38. package/components/GameCard-B2dUYs8D.cjs +0 -3
  39. package/components/GameCard-Bx4TWFNT.js +0 -58
  40. package/components/GameCard-CKlgiS66.cjs +0 -3
  41. package/components/GameCard-DX4XDT2r.js +0 -58
  42. package/components/GameCard-DXX0iD0Z.js +0 -58
  43. package/components/GameCard-Dfi3jlxs.js +0 -58
  44. package/components/GameCard-FmSc9xvG.js +0 -58
  45. package/components/GameCard-lPup4pYJ.js +0 -58
  46. package/components/GameCard-txJxZVfs.cjs +0 -3
  47. package/components/MiniGamesHub-BBCzOhms.js +0 -1269
  48. package/components/MiniGamesHub-BaAiz62L.cjs +0 -94
  49. package/components/MiniGamesHub-BbJIrcsb.cjs +0 -28
  50. package/components/MiniGamesHub-C6Nsfrqn.js +0 -1369
  51. package/components/MiniGamesHub-CLinNS2-.js +0 -1288
  52. package/components/MiniGamesHub-DXmod0OW.cjs +0 -94
  53. package/components/MiniGamesHub-DZHG1XwH.js +0 -1357
  54. package/components/MiniGamesHub-Db8-msnK.js +0 -1338
  55. package/components/MiniGamesHub-DxW3lK75.js +0 -1369
  56. package/components/WheelOfFortune-B-sa8npV.cjs +0 -572
  57. package/components/WheelOfFortune-CdsgfPZg.js +0 -829
  58. package/components/WheelOfFortune-Cfe5KhF-.cjs +0 -588
  59. package/components/WheelOfFortune-Cm-9CaHf.cjs +0 -570
  60. package/components/WheelOfFortune-DDfYKRzu.js +0 -862
  61. package/components/WheelOfFortune-DpMvjI6_.js +0 -811
  62. package/components/WheelOfFortune-Dtoep2n2.js +0 -852
  63. package/components/WheelOfFortune-cD7JyRL5.js +0 -820
  64. package/components/WheelOfFortune-u__JAdi_.js +0 -820
  65. package/components/WheelOfFortuneDrawResults-3S77J9M5.js +0 -292
  66. package/components/WheelOfFortuneDrawResults-B2L6I4Po.cjs +0 -1
  67. package/components/WheelOfFortuneDrawResults-B6RkAQ_i.cjs +0 -1
  68. package/components/WheelOfFortuneDrawResults-BRgQ0mTi.js +0 -261
  69. package/components/WheelOfFortuneDrawResults-BZAetM0L.js +0 -238
  70. package/components/WheelOfFortuneDrawResults-C0J_0fRE.cjs +0 -1
  71. package/components/WheelOfFortuneDrawResults-CKkYMVLn.js +0 -317
  72. package/components/WheelOfFortuneDrawResults-CvyqGbQG.js +0 -292
  73. package/components/WheelOfFortuneDrawResults-DIO74xIg.js +0 -317
  74. package/components/WheelOfFortuneDrawResults-D_QT2RDK.cjs +0 -1
  75. package/components/WheelOfFortuneDrawResults-WD4ZaXdI.js +0 -261
  76. package/components/WheelOfFortuneDrawResults-XiJyW5cc.js +0 -238
  77. package/components/WheelOfFortuneHistory-3lEfr9Yn.cjs +0 -13
  78. package/components/WheelOfFortuneHistory-BE1mGyJn.js +0 -233
  79. package/components/WheelOfFortuneHistory-BagUH_Pn.js +0 -233
  80. package/components/WheelOfFortuneHistory-BpfmGEE1.js +0 -233
  81. package/components/WheelOfFortuneHistory-C_EX6Ecx.js +0 -233
  82. package/components/WheelOfFortuneHistory-CgWvWb5r.js +0 -233
  83. package/components/WheelOfFortuneHistory-CldOJOup.js +0 -233
  84. package/components/WheelOfFortuneHistory-D9EVcaH2.js +0 -233
  85. package/components/WheelOfFortuneHistory-DQ7yysUE.cjs +0 -13
  86. package/components/WheelOfFortuneHistory-DoYx_EbF.js +0 -233
  87. package/components/WheelOfFortuneHistory-mbWa96d6.cjs +0 -13
  88. package/components/WheelOfFortuneHistory-tcBNosXj.cjs +0 -13
  89. package/components/WheelOfFortuneRules-3Pnc2tv_.cjs +0 -5
  90. package/components/WheelOfFortuneRules-ByuqEg7o.js +0 -128
  91. package/components/WheelOfFortuneRules-CD5FcLZh.js +0 -117
  92. package/components/WheelOfFortuneRules-CS1AnNsi.cjs +0 -5
  93. package/components/WheelOfFortuneRules-DEln64Ys.js +0 -117
  94. package/components/WheelOfFortuneRules-DTZ61azL.js +0 -128
  95. package/components/WheelOfFortuneRules-DUjXad1Z.cjs +0 -5
  96. package/components/WheelOfFortuneRules-Dp6015wP.cjs +0 -5
  97. package/components/WheelOfFortuneRules-ICYWgDZn.js +0 -128
  98. package/components/WheelOfFortuneRules-Sa4GsYQ7.js +0 -117
  99. package/components/WheelOfFortuneRules-ssp6aAUp.js +0 -128
  100. package/components/WheelOfFortuneWheel-76dShj7s.cjs +0 -1
  101. package/components/WheelOfFortuneWheel-B-3ALU8u.js +0 -632
  102. package/components/WheelOfFortuneWheel-B0P_kjVI.js +0 -599
  103. package/components/WheelOfFortuneWheel-C2yIQKzY.js +0 -598
  104. package/components/WheelOfFortuneWheel-C6o9ZPV4.js +0 -598
  105. package/components/WheelOfFortuneWheel-JKN_P3ES.cjs +0 -1
  106. package/components/WheelOfFortuneWheel-LXdY_AV0.js +0 -633
  107. package/components/WheelOfFortuneWheel-R5JZFn6S.js +0 -643
  108. package/components/WheelOfFortuneWheel-j83OpEdj.cjs +0 -1
  109. package/components/WheelOfFortuneWheel-jv0TkAX_.js +0 -632
  110. package/components/WheelOfFortuneWheel-le2uV09t.js +0 -609
  111. package/components/WheelOfFortuneWheel-rP-wIp2j.cjs +0 -1
  112. package/components/bonus-BcSq5fV_.cjs +0 -1
  113. package/components/bonus-BroDvSJR.js +0 -4
  114. package/components/coin-DetgSMGn.js +0 -4
  115. package/components/coin-dEAbLQma.cjs +0 -1
  116. package/components/loyalty-Bf3uaVFP.js +0 -4
  117. package/components/loyalty-XDJlZgzx.cjs +0 -1
  118. package/components/noprize-BJ-U8c5U.cjs +0 -1
  119. package/components/noprize-DQHyTDC0.js +0 -4
  120. package/components/role-Bxkn_4_S.cjs +0 -1
  121. package/components/role-CNEtykLr.js +0 -4
  122. package/components/spin-controller-Do0l1eeX.cjs +0 -1
  123. package/components/ticket-DP0fQfPa.cjs +0 -1
  124. package/components/ticket-DcOVRE_N.js +0 -4
  125. package/components/tournament-8UbfkV5I.cjs +0 -1
  126. package/components/tournament-BtKf5Btm.js +0 -4
  127. package/components/utils-BCvapeyS.cjs +0 -5
  128. package/components/utils-CG5ADU6a.cjs +0 -5
  129. package/components/utils-COXr0j7Z.js +0 -6803
  130. package/components/utils-CbMHM9Bv.js +0 -6831
  131. package/components/utils-ClIENp93.js +0 -6906
  132. package/components/utils-Cun_uLlb.js +0 -6890
  133. package/components/utils-D6FQ3_dW.cjs +0 -5
  134. package/components/utils-De4h5fhB.js +0 -6918
  135. package/components/utils-DrFJq1GB.js +0 -6819
@@ -1,11 +1,11 @@
1
- import { d as xe, W as ye } from "./WheelOfFortuneWheel-jv0TkAX_.js";
2
- import { d as ve, e as we, p as ke, U as We, f as Be, h as g, s as I, i as ze, V as Ce, n as x, E as c, q as Se, k as D, j as n, m as M, t as N, r as w, w as A, Y as _e, x as G, y as De, H as ee, M as L, z as Ae, A as Ge, D as f, B as Le, L as o, G as Q, l as $ } from "./utils-De4h5fhB.js";
3
- import { W as Re } from "./WheelOfFortuneHistory-C_EX6Ecx.js";
4
- import { W as Te } from "./WheelOfFortuneDrawResults-DIO74xIg.js";
5
- import { W as Pe } from "./WheelOfFortuneRules-ssp6aAUp.js";
6
- import { p as He } from "./constants-syi43uVY.js";
7
- var je = ee("<button> </button>"), Ye = ee('<div><button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
8
- const Fe = {
1
+ import { d as ve, c as we, a as ke, t as We, p as l, o as Be, i as J, e as Ce, W as ze, k as h, s as _, r as Se, l as $, b as j, f as E, m as De, u as _e } from "./WheelOfFortuneWheel-BvI-fAML.js";
2
+ import { B as Ae, aN as Ge, aO as A, aB as Le, Q as Re, Y as t, aQ as m, aV as p, at as x, ad as I, G as Te, aZ as G, aR as Pe, aS as Fe, aF as c, aT as Me, aY as i } from "./utils-C0oX5v1l.js";
3
+ import { W as Ye } from "./WheelOfFortuneHistory-BA977Hfx.js";
4
+ import { W as je } from "./WheelOfFortuneDrawResults-C9BcE4Kr.js";
5
+ import { W as Ie } from "./WheelOfFortuneRules-DQcA-d8i.js";
6
+ import { p as Ee } from "./constants-CWz8CXw2.js";
7
+ var He = E('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), Oe = E("<button> </button>"), Ve = E('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
8
+ const Ze = {
9
9
  hash: "svelte-17ly5gn",
10
10
  code: `@keyframes svelte-17ly5gn-wheelBob {
11
11
  0%, 100% {
@@ -570,10 +570,31 @@ const Fe = {
570
570
  .CenterButton {filter:none !important;} .segment-hit-fill,
571
571
  .segment-hit-edge,
572
572
  .segment-hit-spark-edge {animation-duration:1800ms !important;}
573
- } .WofLottiePlayer {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;} .WheelContent {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:max-content;} .WheelContent.WheelBackgroundHalo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);transition:transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);} .WheelContent.WheelBackgroundHalo > *:not(.WheelContainer),
574
- .WheelContent.WheelBackgroundHalo .SpinsInfo {transition:opacity 0.4s ease, filter 0.4s ease;} .WheelContent.WheelBackgroundHalo.is-spin-fullscreen .WheelContainer {scale:1.15;transition:scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);animation-play-state:paused;} .WheelContent.WheelBackgroundHalo.is-spin-fullscreen > *:not(.WheelContainer),
575
- .WheelContent.WheelBackgroundHalo.is-spin-fullscreen .SpinsInfo,
576
- .WheelContent.WheelBackgroundHalo.is-spin-fullscreen .SpinButton {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;} .BackButtonContainer {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .BackButtonContainer svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .WofTitle {display:flex;flex-direction:column;justify-content:center;gap:6px;position:relative;z-index:2;} .WofTitle h3 {text-align:center;margin:0;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(20px, 5.5vw, 28px);line-height:1.05;} .WofTitle p {text-align:center;margin:0 0 clamp(10px, 3vw, 16px);color:var(--color-text-default, rgba(238, 246, 255, 0.96));font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;} .WofTabs {display:flex;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));padding:6px;width:90%;justify-content:center;margin-bottom:12px;} .WofTabs .Tab {padding:5px;width:100%;color:var(--color-text-default, #ffffff);border-radius:50px;background-color:transparent;border:none;cursor:pointer;} .WofTabs .Active {background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));} .Hidden {display:none !important;} .WheelContainer {width:var(--wof-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
573
+ }
574
+ @keyframes svelte-17ly5gn-liteHitPulse {
575
+ 0%, 100% {
576
+ opacity: 0.5;
577
+ }
578
+ 50% {
579
+ opacity: 1;
580
+ }
581
+ } .WheelContainer.is-lite .WheelWrapper {
582
+ animation: svelte-17ly5gn-wheelBob 3200ms ease-in-out infinite !important;will-change:transform;filter:none;} .WheelContainer.is-lite .WheelWrapper::before, .WheelContainer.is-lite .WheelWrapper::after {
583
+ animation: none !important;filter:none !important;opacity:0 !important;} .WheelContainer.is-lite .DropWrap {filter:drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34));} .WheelContainer.is-lite .DropWrap::before {
584
+ animation: none !important;filter:none !important;opacity:0 !important;} .WheelContainer.is-lite .SparkleLayer {display:none;} .WheelContainer.is-lite .ButtonGlow {
585
+ animation: none !important;filter:none !important;opacity:0 !important;} .WheelContainer.is-lite .ButtonGlow::before, .WheelContainer.is-lite .ButtonGlow::after {
586
+ animation: none !important;filter:none !important;opacity:0 !important;} .WheelContainer.is-lite .CenterButton {
587
+ animation: none !important;filter:drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) !important;} .WheelContainer.is-lite .CenterButton.is-pressing {
588
+ animation: svelte-17ly5gn-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both !important;} .WheelContainer.is-lite .WheelWrapper.is-spin-active .CenterButton:not(.is-pressing) {
589
+ animation: none !important;} .WheelContainer.is-lite .segment-hit-fill {filter:none !important;
590
+ animation: svelte-17ly5gn-liteHitPulse 1200ms ease-in-out infinite !important;} .WheelContainer.is-lite .SessionBadge {backdrop-filter:none;-webkit-backdrop-filter:none;} .WheelContainer.is-lite .Outer {filter:none;} .WheelContainer.is-lite .sparkle,
591
+ .WheelContainer.is-lite .confetti {display:none;} .SpinButton.is-lite {
592
+ animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .WheelContent {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:max-content;position:relative;transition:transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);} .WheelContent > *:not(.WheelContainer):not(.WheelVideoBackground),
593
+ .WheelContent .SpinsInfo {transition:opacity 0.4s ease, filter 0.4s ease;} .WheelContent.WheelBackgroundHalo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);} .WheelContent.is-spin-fullscreen .WheelContainer {scale:1.15;transition:scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);animation-play-state:paused;} .WheelContent.is-spin-fullscreen > *:not(.WheelContainer):not(.WheelVideoBackground),
594
+ .WheelContent.is-spin-fullscreen .SpinsInfo,
595
+ .WheelContent.is-spin-fullscreen .SpinButton {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;} .WheelVideoBackground {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
596
+ @media (min-width: 720px) { .WheelVideoBackground {-webkit-mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);}
597
+ } .WheelVideoBackground.is-ready {opacity:0.2;} .BackButtonContainer {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .BackButtonContainer svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .WofTitle {display:flex;flex-direction:column;justify-content:center;gap:6px;position:relative;z-index:2;} .WofTitle h3 {text-align:center;margin:0;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(20px, 5.5vw, 28px);line-height:1.05;} .WofTitle p {text-align:center;margin:0 0 clamp(10px, 3vw, 16px);color:var(--color-text-default, rgba(238, 246, 255, 0.96));font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;} .WofTabs {display:flex;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));padding:6px;width:90%;justify-content:center;margin-bottom:12px;} .WofTabs .Tab {padding:5px;width:100%;color:var(--color-text-default, #ffffff);border-radius:50px;background-color:transparent;border:none;cursor:pointer;} .WofTabs .Active {background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));} .Hidden {display:none !important;} .WheelContainer {width:var(--wof-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
577
598
  animation: svelte-17ly5gn-wheelBob 5000ms ease-in-out infinite;will-change:transform;} .SpinsInfo {display:flex;align-items:center;gap:8px;font-size:clamp(14px, 4vw, 19px);font-weight:400;color:var(--color-text-default, rgba(238, 246, 255, 0.86));position:relative;z-index:2;} .SpinsInfo .SpinsCount {display:flex;align-items:center;gap:6px;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(16px, 4.5vw, 20px);} .CountdownText {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .CountdownText .TimeSegment {font-variant-numeric:tabular-nums;} .SpinButton {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-style:italic;font-weight:900;cursor:pointer;position:relative;z-index:2;
578
599
  animation: svelte-17ly5gn-spinButtonZoomGlow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:opacity 260ms ease, transform 160ms ease, filter 160ms ease;} .SpinButton:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .SpinButton:disabled {
579
600
  animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;} .DrawResultPanel {inset:0;z-index:20;display:grid;place-items:center;padding:70px 20px;text-align:center;overflow:hidden;width:100%;height:100%;min-height:50dvh;background:transparent;
@@ -596,240 +617,251 @@ const Fe = {
596
617
  animation: none;}
597
618
  }`
598
619
  };
599
- function Ie(E, s) {
600
- ke(s, !0), We(E, Fe);
601
- const k = () => Ae(Ge, "$_", ne), [ne, te] = Le();
602
- Be.extend(xe);
603
- const r = g(s, "program", 7, null), m = g(s, "endpoint", 7, null), y = g(s, "session", 7, null), R = g(s, "outerWheelAsset", 7, null), T = g(s, "wheelButtonAsset", 7, null), P = g(s, "language", 7, "en"), H = g(s, "showBackButton", 7, !0), u = L(() => !m() || !r()), re = L(() => {
604
- var e, t;
605
- return !n(u) && ((t = (e = r()) == null ? void 0 : e.remainingTimes) != null ? t : 0) > 0;
606
- }), ae = L(() => {
607
- var e, t;
608
- return n(u) ? He : (t = (e = r()) == null ? void 0 : e.partitions) != null ? t : [];
609
- }), i = ["history", "play", "rules"];
610
- let b = I(ze(i[1]));
620
+ function Xe(H, o) {
621
+ Ae(o, !0), ke(H, Ze);
622
+ const k = () => Pe(Fe, "$_", ee), [ee, ne] = Me();
623
+ Ge.extend(We);
624
+ const te = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", a = l(o, "program", 7, null), u = l(o, "endpoint", 7, null), y = l(o, "session", 7, null), L = l(o, "outerWheelAsset", 7, null), R = l(o, "wheelButtonAsset", 7, null), T = l(o, "backgroundVideoAsset", 7, null), P = l(o, "language", 7, "en"), F = l(o, "showBackButton", 7, !0), v = l(o, "liteMode", 7, !1), b = G(() => !u() || !a()), re = G(() => {
625
+ var e, n;
626
+ return !t(b) && ((n = (e = a()) == null ? void 0 : e.remainingTimes) != null ? n : 0) > 0;
627
+ }), ae = G(() => {
628
+ var e, n;
629
+ return t(b) ? Ee : (n = (e = a()) == null ? void 0 : e.partitions) != null ? n : [];
630
+ }), s = ["history", "play", "rules"];
631
+ let f = A(Le(s[1]));
611
632
  const oe = (e) => {
612
- var t, a, d, h;
613
- e === i[0] ? window.postMessage(
633
+ var n, r, g, D;
634
+ e === s[0] ? window.postMessage(
614
635
  {
615
636
  type: "event_wof_history_click",
616
- name: ((t = r()) == null ? void 0 : t.name) || null
637
+ name: ((n = a()) == null ? void 0 : n.name) || null
617
638
  },
618
639
  window.location.href
619
- ) : e === i[2] ? window.postMessage({ type: "event_wof_rules_click", name: ((a = r()) == null ? void 0 : a.name) || null }, window.location.href) : window.postMessage(
640
+ ) : e === s[2] ? window.postMessage({ type: "event_wof_rules_click", name: ((r = a()) == null ? void 0 : r.name) || null }, window.location.href) : window.postMessage(
620
641
  {
621
642
  type: "event_wof_accessed",
622
- isUserLoggedIn: !n(u),
623
- name: ((d = r()) == null ? void 0 : d.name) || null,
624
- availableSpins: ((h = r()) == null ? void 0 : h.remainingTimes) || null
643
+ isUserLoggedIn: !t(b),
644
+ name: ((g = a()) == null ? void 0 : g.name) || null,
645
+ availableSpins: ((D = a()) == null ? void 0 : D.remainingTimes) || null
625
646
  },
626
647
  window.location.href
627
- ), D(b, e, !0);
648
+ ), x(M, !1), x(f, e, !0);
628
649
  };
629
- let l = I(null), j = I(!1);
630
- const se = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), ie = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), X = (e) => {
650
+ let d = A(null), W = A(!1), M = A(!1);
651
+ Re(() => {
652
+ if (t(W)) {
653
+ document.body.style.overflow = "hidden";
654
+ const e = (n) => n.preventDefault();
655
+ return document.addEventListener("touchmove", e, { passive: !1 }), () => {
656
+ document.body.style.overflow = "", document.removeEventListener("touchmove", e);
657
+ };
658
+ }
659
+ });
660
+ const ie = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), se = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), O = (e) => {
631
661
  if (e.data)
632
662
  switch (e.data.type) {
633
663
  case "SpinAgain":
634
664
  case "BackToWheel":
635
- D(l, null);
665
+ x(d, null);
636
666
  break;
637
667
  }
638
668
  };
639
- Ce(() => (window.addEventListener("message", X), () => {
640
- window.removeEventListener("message", X);
669
+ Be(() => (window.addEventListener("message", O), () => {
670
+ window.removeEventListener("message", O);
641
671
  }));
642
672
  var le = {
643
673
  get program() {
644
- return r();
674
+ return a();
645
675
  },
646
676
  set program(e = null) {
647
- r(e), f();
677
+ a(e), c();
648
678
  },
649
679
  get endpoint() {
650
- return m();
680
+ return u();
651
681
  },
652
682
  set endpoint(e = null) {
653
- m(e), f();
683
+ u(e), c();
654
684
  },
655
685
  get session() {
656
686
  return y();
657
687
  },
658
688
  set session(e = null) {
659
- y(e), f();
689
+ y(e), c();
660
690
  },
661
691
  get outerWheelAsset() {
662
- return R();
692
+ return L();
663
693
  },
664
694
  set outerWheelAsset(e = null) {
665
- R(e), f();
695
+ L(e), c();
666
696
  },
667
697
  get wheelButtonAsset() {
668
- return T();
698
+ return R();
669
699
  },
670
700
  set wheelButtonAsset(e = null) {
671
- T(e), f();
701
+ R(e), c();
702
+ },
703
+ get backgroundVideoAsset() {
704
+ return T();
705
+ },
706
+ set backgroundVideoAsset(e = null) {
707
+ T(e), c();
672
708
  },
673
709
  get language() {
674
710
  return P();
675
711
  },
676
712
  set language(e = "en") {
677
- P(e), f();
713
+ P(e), c();
678
714
  },
679
715
  get showBackButton() {
680
- return H();
716
+ return F();
681
717
  },
682
718
  set showBackButton(e = !0) {
683
- H(e), f();
719
+ F(e), c();
720
+ },
721
+ get liteMode() {
722
+ return v();
723
+ },
724
+ set liteMode(e = !1) {
725
+ v(e), c();
684
726
  }
685
- }, W = Ye();
686
- let Z;
687
- var v = c(W);
688
- let O;
689
- v.__click = ie;
690
- var U = x(c(v), 2), pe = c(U, !0);
691
- o(U), o(v);
692
- var B = x(v, 2);
693
- let q;
694
- var Y = c(B), ce = c(Y, !0);
695
- o(Y);
696
- var V = x(Y, 2), de = c(V, !0);
697
- o(V), o(B);
698
- var z = x(B, 2);
699
- let J;
700
- Se(z, 20, () => i, (e) => e, (e, t) => {
701
- var a = je();
702
- let d;
703
- a.__click = () => oe(t);
704
- var h = c(a, !0);
705
- o(a), N(
706
- (p) => {
707
- d = w(a, 1, "Tab svelte-17ly5gn", null, d, { Active: n(b) === t }), A(h, p);
727
+ }, B = Ve();
728
+ let V;
729
+ var Z = p(B);
730
+ {
731
+ var pe = (e) => {
732
+ var n = He();
733
+ let r;
734
+ n.muted = !0;
735
+ var g = p(n);
736
+ i(n), I(() => {
737
+ r = h(n, 1, "WheelVideoBackground svelte-17ly5gn", null, r, { "is-ready": t(M) }), De(g, "src", T() || te);
738
+ }), _e("canplay", n, () => x(M, !0)), j(e, n);
739
+ };
740
+ J(Z, (e) => {
741
+ !v() && t(f) === s[1] && e(pe);
742
+ });
743
+ }
744
+ var w = m(Z, 2);
745
+ let X;
746
+ var K = m(p(w), 2), ce = p(K, !0);
747
+ i(K), i(w);
748
+ var C = m(w, 2);
749
+ let N;
750
+ var Y = p(C), de = p(Y, !0);
751
+ i(Y);
752
+ var Q = m(Y, 2), fe = p(Q, !0);
753
+ i(Q), i(C);
754
+ var z = m(C, 2);
755
+ let U;
756
+ Ce(z, 20, () => s, (e) => e, (e, n) => {
757
+ var r = Oe();
758
+ let g;
759
+ var D = p(r, !0);
760
+ i(r), I(
761
+ (ye) => {
762
+ g = h(r, 1, "Tab svelte-17ly5gn", null, g, { Active: t(f) === n }), _(D, ye);
708
763
  },
709
- [() => k()(t)]
710
- ), G(e, a);
711
- }), o(z);
712
- var C = x(z, 2);
713
- let K;
714
- var ge = c(C);
715
- ye(ge, {
764
+ [() => k()(n)]
765
+ ), $("click", r, () => oe(n)), j(e, r);
766
+ }), i(z);
767
+ var S = m(z, 2);
768
+ let q;
769
+ var ge = p(S);
770
+ ze(ge, {
716
771
  get program() {
717
- return r();
772
+ return a();
718
773
  },
719
774
  get endpoint() {
720
- return m();
775
+ return u();
721
776
  },
722
777
  get session() {
723
778
  return y();
724
779
  },
725
780
  get outerWheelAsset() {
726
- return R();
781
+ return L();
727
782
  },
728
783
  get wheelButtonAsset() {
729
- return T();
784
+ return R();
730
785
  },
731
786
  get wheelSlices() {
732
- return n(ae);
787
+ return t(ae);
733
788
  },
734
789
  get isPlaceholder() {
735
- return n(u);
790
+ return t(b);
736
791
  },
737
792
  get isWheelAvailable() {
738
- return n(re);
793
+ return t(re);
794
+ },
795
+ get liteMode() {
796
+ return v();
739
797
  },
740
- onLogin: se,
798
+ onLogin: ie,
741
799
  get spinResults() {
742
- return n(l);
800
+ return t(d);
743
801
  },
744
802
  set spinResults(e) {
745
- D(l, e, !0);
803
+ x(d, e, !0);
746
804
  },
747
805
  get spinActive() {
748
- return n(j);
806
+ return t(W);
749
807
  },
750
808
  set spinActive(e) {
751
- D(j, e, !0);
809
+ x(W, e, !0);
752
810
  }
753
- }), o(C);
754
- var fe = x(C, 2);
811
+ }), i(S);
812
+ var me = m(S, 2);
755
813
  {
756
- var me = (e) => {
757
- Te(e, {
814
+ var ue = (e) => {
815
+ je(e, {
758
816
  get result() {
759
- return n(l);
817
+ return t(d);
760
818
  },
761
819
  get endpoint() {
762
- return m();
820
+ return u();
763
821
  },
764
822
  get session() {
765
823
  return y();
766
824
  }
767
825
  });
768
- }, ue = (e) => {
769
- var t = Q(), a = $(t);
826
+ }, be = (e) => {
770
827
  {
771
- var d = (p) => {
772
- {
773
- let S = L(() => {
774
- var _;
775
- return (_ = r()) == null ? void 0 : _.id;
776
- });
777
- Re(p, {
778
- get programId() {
779
- return n(S);
780
- },
781
- get endpoint() {
782
- return m();
783
- },
784
- get session() {
785
- return y();
786
- }
787
- });
788
- }
789
- }, h = (p) => {
790
- var S = Q(), _ = $(S);
791
- {
792
- var he = (F) => {
793
- Pe(F, {
794
- get program() {
795
- return r();
796
- },
797
- get language() {
798
- return P();
799
- }
800
- });
801
- };
802
- M(
803
- _,
804
- (F) => {
805
- n(b) === i[2] && F(he);
806
- },
807
- !0
808
- );
809
- }
810
- G(p, S);
811
- };
812
- M(
813
- a,
814
- (p) => {
815
- n(b) === i[0] ? p(d) : p(h, !1);
828
+ let n = G(() => {
829
+ var r;
830
+ return (r = a()) == null ? void 0 : r.id;
831
+ });
832
+ Ye(e, {
833
+ get programId() {
834
+ return t(n);
816
835
  },
817
- !0
818
- );
836
+ get endpoint() {
837
+ return u();
838
+ },
839
+ get session() {
840
+ return y();
841
+ }
842
+ });
819
843
  }
820
- G(e, t);
844
+ }, he = (e) => {
845
+ Ie(e, {
846
+ get program() {
847
+ return a();
848
+ },
849
+ get language() {
850
+ return P();
851
+ }
852
+ });
821
853
  };
822
- M(fe, (e) => {
823
- n(l) ? e(me) : e(ue, !1);
854
+ J(me, (e) => {
855
+ t(d) ? e(ue) : t(f) === s[0] ? e(be, 1) : t(f) === s[2] && e(he, 2);
824
856
  });
825
857
  }
826
- o(W), N(
827
- (e, t, a) => {
828
- Z = w(W, 1, "WheelContent svelte-17ly5gn", null, Z, {
829
- WheelBackgroundHalo: n(b) === i[1],
830
- "is-spin-fullscreen": n(j)
831
- }), O = w(v, 1, "BackButtonContainer svelte-17ly5gn", null, O, { Hidden: n(u) || !H() }), A(pe, e), q = w(B, 1, "WofTitle svelte-17ly5gn", null, q, { Hidden: n(l) }), A(ce, t), A(de, a), J = w(z, 1, "WofTabs svelte-17ly5gn", null, J, { Hidden: n(u) || n(l) }), K = _e(C, "", K, {
832
- display: n(b) !== i[1] || n(l) ? "none" : "contents"
858
+ i(B), I(
859
+ (e, n, r) => {
860
+ V = h(B, 1, "WheelContent svelte-17ly5gn", null, V, {
861
+ "is-spin-fullscreen": t(W),
862
+ WheelBackgroundHalo: v() && t(f) === s[1]
863
+ }), X = h(w, 1, "BackButtonContainer svelte-17ly5gn", null, X, { Hidden: t(b) || !F() }), _(ce, e), N = h(C, 1, "WofTitle svelte-17ly5gn", null, N, { Hidden: t(d) }), _(de, n), _(fe, r), U = h(z, 1, "WofTabs svelte-17ly5gn", null, U, { Hidden: t(b) || t(d) }), q = Se(S, "", q, {
864
+ display: t(f) !== s[1] || t(d) ? "none" : "contents"
833
865
  });
834
866
  },
835
867
  [
@@ -837,26 +869,27 @@ function Ie(E, s) {
837
869
  () => k()("wofTitle"),
838
870
  () => k()("wofSubtitle")
839
871
  ]
840
- ), G(E, W);
841
- var be = De(le);
842
- return te(), be;
872
+ ), $("click", w, se), j(H, B);
873
+ var xe = Te(le);
874
+ return ne(), xe;
843
875
  }
844
876
  ve(["click"]);
845
877
  customElements.define("wheel-of-fortune", we(
846
- Ie,
878
+ Xe,
847
879
  {
848
880
  program: {},
849
881
  endpoint: {},
850
882
  session: {},
851
883
  outerWheelAsset: {},
852
884
  wheelButtonAsset: {},
885
+ backgroundVideoAsset: {},
853
886
  language: {},
854
- showBackButton: {}
887
+ showBackButton: {},
888
+ liteMode: {}
855
889
  },
856
890
  [],
857
- [],
858
- !1
891
+ []
859
892
  ));
860
893
  export {
861
- Ie as W
894
+ Xe as W
862
895
  };