@everymatrix/mini-games-hub 0.1.6 → 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 (157) 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-CMCQVVj-.cjs → MiniGamesHub-3XlqpfV_.cjs} +5 -5
  5. package/components/{MiniGamesHub-DXDzq6kn.js → MiniGamesHub-DTPiOtNT.js} +272 -273
  6. package/components/{MiniGamesHub-CZqhbkAH.js → MiniGamesHub-iX9t9vSW.js} +258 -259
  7. package/components/{WheelOfFortune-5qXt_Tgq.js → WheelOfFortune-BKUcclpm.js} +173 -159
  8. package/components/{WheelOfFortune-C175eyqQ.js → WheelOfFortune-CbvJZO8-.js} +159 -165
  9. package/components/{WheelOfFortune-DfEViFbR.cjs → WheelOfFortune-DgAgnR_Q.cjs} +8 -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-DWgbOzlP.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/utils-B53aGsNG.js +6095 -0
  23. package/components/utils-C0oX5v1l.js +6141 -0
  24. package/components/utils-Du65tqU5.cjs +3 -0
  25. package/es2015/mini-games-hub.cjs +1 -1
  26. package/es2015/mini-games-hub.js +1 -1
  27. package/esnext/mini-games-hub.js +1 -1
  28. package/package.json +3 -1
  29. package/components/GameCard-B2Vf_Okb.cjs +0 -3
  30. package/components/GameCard-B2dUYs8D.cjs +0 -3
  31. package/components/GameCard-Bx4TWFNT.js +0 -58
  32. package/components/GameCard-CKlgiS66.cjs +0 -3
  33. package/components/GameCard-DX4XDT2r.js +0 -58
  34. package/components/GameCard-DXX0iD0Z.js +0 -58
  35. package/components/GameCard-Dfi3jlxs.js +0 -58
  36. package/components/GameCard-FmSc9xvG.js +0 -58
  37. package/components/GameCard-M2W5m0Zm.js +0 -58
  38. package/components/GameCard-_o5MuNe0.cjs +0 -3
  39. package/components/GameCard-lPup4pYJ.js +0 -58
  40. package/components/GameCard-m8ao3BnH.js +0 -58
  41. package/components/GameCard-txJxZVfs.cjs +0 -3
  42. package/components/MiniGamesHub-BBCzOhms.js +0 -1269
  43. package/components/MiniGamesHub-BEAlx3WE.js +0 -1350
  44. package/components/MiniGamesHub-BaAiz62L.cjs +0 -94
  45. package/components/MiniGamesHub-BbJIrcsb.cjs +0 -28
  46. package/components/MiniGamesHub-C6Nsfrqn.js +0 -1369
  47. package/components/MiniGamesHub-CLinNS2-.js +0 -1288
  48. package/components/MiniGamesHub-CrRIFbj_.js +0 -1350
  49. package/components/MiniGamesHub-DKkDXC81.cjs +0 -94
  50. package/components/MiniGamesHub-DXmod0OW.cjs +0 -94
  51. package/components/MiniGamesHub-DZHG1XwH.js +0 -1357
  52. package/components/MiniGamesHub-Db8-msnK.js +0 -1338
  53. package/components/MiniGamesHub-DxW3lK75.js +0 -1369
  54. package/components/WheelOfFortune-0yZoHYHH.js +0 -852
  55. package/components/WheelOfFortune-B-sa8npV.cjs +0 -572
  56. package/components/WheelOfFortune-B7NMoATV.js +0 -862
  57. package/components/WheelOfFortune-BxbFigrE.cjs +0 -588
  58. package/components/WheelOfFortune-CdsgfPZg.js +0 -829
  59. package/components/WheelOfFortune-Cfe5KhF-.cjs +0 -588
  60. package/components/WheelOfFortune-Cm-9CaHf.cjs +0 -570
  61. package/components/WheelOfFortune-DDfYKRzu.js +0 -862
  62. package/components/WheelOfFortune-DpMvjI6_.js +0 -811
  63. package/components/WheelOfFortune-Dtoep2n2.js +0 -852
  64. package/components/WheelOfFortune-cD7JyRL5.js +0 -820
  65. package/components/WheelOfFortune-u__JAdi_.js +0 -820
  66. package/components/WheelOfFortuneDrawResults-3S77J9M5.js +0 -292
  67. package/components/WheelOfFortuneDrawResults-B2L6I4Po.cjs +0 -1
  68. package/components/WheelOfFortuneDrawResults-B6RkAQ_i.cjs +0 -1
  69. package/components/WheelOfFortuneDrawResults-BRgQ0mTi.js +0 -261
  70. package/components/WheelOfFortuneDrawResults-BZAetM0L.js +0 -238
  71. package/components/WheelOfFortuneDrawResults-BmOTEhGD.js +0 -317
  72. package/components/WheelOfFortuneDrawResults-C0J_0fRE.cjs +0 -1
  73. package/components/WheelOfFortuneDrawResults-CKkYMVLn.js +0 -317
  74. package/components/WheelOfFortuneDrawResults-CRTL9AxF.cjs +0 -1
  75. package/components/WheelOfFortuneDrawResults-CvyqGbQG.js +0 -292
  76. package/components/WheelOfFortuneDrawResults-DIO74xIg.js +0 -317
  77. package/components/WheelOfFortuneDrawResults-D_QT2RDK.cjs +0 -1
  78. package/components/WheelOfFortuneDrawResults-WD4ZaXdI.js +0 -261
  79. package/components/WheelOfFortuneDrawResults-XiJyW5cc.js +0 -238
  80. package/components/WheelOfFortuneDrawResults-tMY81TeU.js +0 -292
  81. package/components/WheelOfFortuneHistory-3lEfr9Yn.cjs +0 -13
  82. package/components/WheelOfFortuneHistory-BE1mGyJn.js +0 -233
  83. package/components/WheelOfFortuneHistory-BagUH_Pn.js +0 -233
  84. package/components/WheelOfFortuneHistory-BpfmGEE1.js +0 -233
  85. package/components/WheelOfFortuneHistory-C1VQ9CfR.cjs +0 -13
  86. package/components/WheelOfFortuneHistory-C_EX6Ecx.js +0 -233
  87. package/components/WheelOfFortuneHistory-CdbwXfZf.js +0 -233
  88. package/components/WheelOfFortuneHistory-CgWvWb5r.js +0 -233
  89. package/components/WheelOfFortuneHistory-CldOJOup.js +0 -233
  90. package/components/WheelOfFortuneHistory-CpY9Bvl5.js +0 -233
  91. package/components/WheelOfFortuneHistory-D9EVcaH2.js +0 -233
  92. package/components/WheelOfFortuneHistory-DQ7yysUE.cjs +0 -13
  93. package/components/WheelOfFortuneHistory-DoYx_EbF.js +0 -233
  94. package/components/WheelOfFortuneHistory-mbWa96d6.cjs +0 -13
  95. package/components/WheelOfFortuneHistory-tcBNosXj.cjs +0 -13
  96. package/components/WheelOfFortuneRules-3Pnc2tv_.cjs +0 -5
  97. package/components/WheelOfFortuneRules-BI3iP5jZ.js +0 -117
  98. package/components/WheelOfFortuneRules-ByuqEg7o.js +0 -128
  99. package/components/WheelOfFortuneRules-C9cNreB6.cjs +0 -5
  100. package/components/WheelOfFortuneRules-CD5FcLZh.js +0 -117
  101. package/components/WheelOfFortuneRules-CS1AnNsi.cjs +0 -5
  102. package/components/WheelOfFortuneRules-DAM5aq_8.js +0 -128
  103. package/components/WheelOfFortuneRules-DEln64Ys.js +0 -117
  104. package/components/WheelOfFortuneRules-DTZ61azL.js +0 -128
  105. package/components/WheelOfFortuneRules-DUjXad1Z.cjs +0 -5
  106. package/components/WheelOfFortuneRules-Dp6015wP.cjs +0 -5
  107. package/components/WheelOfFortuneRules-ICYWgDZn.js +0 -128
  108. package/components/WheelOfFortuneRules-Sa4GsYQ7.js +0 -117
  109. package/components/WheelOfFortuneRules-ssp6aAUp.js +0 -128
  110. package/components/WheelOfFortuneWheel-76dShj7s.cjs +0 -1
  111. package/components/WheelOfFortuneWheel-B-3ALU8u.js +0 -632
  112. package/components/WheelOfFortuneWheel-B0P_kjVI.js +0 -599
  113. package/components/WheelOfFortuneWheel-C2yIQKzY.js +0 -598
  114. package/components/WheelOfFortuneWheel-C6o9ZPV4.js +0 -598
  115. package/components/WheelOfFortuneWheel-CeSTBBTb.js +0 -640
  116. package/components/WheelOfFortuneWheel-D-wKWbJO.cjs +0 -1
  117. package/components/WheelOfFortuneWheel-Dn6de3eN.js +0 -674
  118. package/components/WheelOfFortuneWheel-JKN_P3ES.cjs +0 -1
  119. package/components/WheelOfFortuneWheel-LXdY_AV0.js +0 -633
  120. package/components/WheelOfFortuneWheel-R5JZFn6S.js +0 -643
  121. package/components/WheelOfFortuneWheel-j83OpEdj.cjs +0 -1
  122. package/components/WheelOfFortuneWheel-jv0TkAX_.js +0 -632
  123. package/components/WheelOfFortuneWheel-le2uV09t.js +0 -609
  124. package/components/WheelOfFortuneWheel-rP-wIp2j.cjs +0 -1
  125. package/components/bonus-BcSq5fV_.cjs +0 -1
  126. package/components/bonus-BroDvSJR.js +0 -4
  127. package/components/coin-DetgSMGn.js +0 -4
  128. package/components/coin-dEAbLQma.cjs +0 -1
  129. package/components/constants-B5BwgkMh.cjs +0 -1
  130. package/components/constants-syi43uVY.js +0 -29
  131. package/components/loyalty-Bf3uaVFP.js +0 -4
  132. package/components/loyalty-XDJlZgzx.cjs +0 -1
  133. package/components/noprize-BJ-U8c5U.cjs +0 -1
  134. package/components/noprize-DQHyTDC0.js +0 -4
  135. package/components/role-Bxkn_4_S.cjs +0 -1
  136. package/components/role-CNEtykLr.js +0 -4
  137. package/components/sparkles-Br3hNIM6.js +0 -25
  138. package/components/sparkles-CsUJD5iK.js +0 -29
  139. package/components/sparkles-DMNeGYKa.cjs +0 -1
  140. package/components/spin-controller-BfbakdA_.js +0 -160
  141. package/components/spin-controller-Do0l1eeX.cjs +0 -1
  142. package/components/spin-controller-Y0nB76qX.js +0 -162
  143. package/components/ticket-DP0fQfPa.cjs +0 -1
  144. package/components/ticket-DcOVRE_N.js +0 -4
  145. package/components/tournament-8UbfkV5I.cjs +0 -1
  146. package/components/tournament-BtKf5Btm.js +0 -4
  147. package/components/utils-BCvapeyS.cjs +0 -5
  148. package/components/utils-CCuzS-TL.js +0 -6831
  149. package/components/utils-CG5ADU6a.cjs +0 -5
  150. package/components/utils-COXr0j7Z.js +0 -6803
  151. package/components/utils-CbMHM9Bv.js +0 -6831
  152. package/components/utils-ClIENp93.js +0 -6906
  153. package/components/utils-Cun_uLlb.js +0 -6890
  154. package/components/utils-D6FQ3_dW.cjs +0 -5
  155. package/components/utils-De4h5fhB.js +0 -6918
  156. package/components/utils-DrFJq1GB.js +0 -6819
  157. package/components/utils-DrO0OQK_.js +0 -6918
@@ -1,11 +1,11 @@
1
- import { d as ye, W as ve } from "./WheelOfFortuneWheel-CeSTBBTb.js";
2
- import { d as we, e as ke, p as We, U as Be, f as Ce, h as c, s as F, i as ze, V as Se, o as _e, k as S, j as n, m as I, t as N, q as y, v as _, Y as De, w as D, x as Ge, G as ee, E as d, M as G, y as Ae, z as Re, D as b, C as f, A as Te, K as o, T as Q, l as $ } from "./utils-CCuzS-TL.js";
3
- import { W as Le } from "./WheelOfFortuneHistory-CpY9Bvl5.js";
4
- import { W as Pe } from "./WheelOfFortuneDrawResults-tMY81TeU.js";
5
- import { W as He } from "./WheelOfFortuneRules-DWgbOzlP.js";
6
- import { p as Me } from "./constants-CWz8CXw2.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% {
@@ -589,10 +589,12 @@ const Fe = {
589
589
  animation: none !important;} .WheelContainer.is-lite .segment-hit-fill {filter:none !important;
590
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
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;} .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),
593
- .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),
594
- .WheelContent.WheelBackgroundHalo.is-spin-fullscreen .SpinsInfo,
595
- .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);
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);
596
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;
597
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 {
598
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;
@@ -615,267 +617,279 @@ const Fe = {
615
617
  animation: none;}
616
618
  }`
617
619
  };
618
- function Ie(E, r) {
619
- We(r, !0), Be(E, Fe);
620
- const v = () => Ae(Re, "$_", ne), [ne, te] = Te();
621
- Ce.extend(ye);
622
- const t = c(r, "program", 7, null), g = c(r, "endpoint", 7, null), h = c(r, "session", 7, null), A = c(r, "outerWheelAsset", 7, null), R = c(r, "wheelButtonAsset", 7, null), T = c(r, "language", 7, "en"), L = c(r, "showBackButton", 7, !0), P = c(r, "liteMode", 7, !1), m = G(() => !g() || !t()), re = G(() => !n(m) && (t()?.remainingTimes ?? 0) > 0), ae = G(() => n(m) ? Me : t()?.partitions ?? []), i = ["history", "play", "rules"];
623
- let u = F(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]));
624
632
  const oe = (e) => {
625
- e === i[0] ? window.postMessage(
633
+ var n, r, g, D;
634
+ e === s[0] ? window.postMessage(
626
635
  {
627
636
  type: "event_wof_history_click",
628
- name: t()?.name || null
637
+ name: ((n = a()) == null ? void 0 : n.name) || null
629
638
  },
630
639
  window.location.href
631
- ) : e === i[2] ? window.postMessage({ type: "event_wof_rules_click", name: t()?.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(
632
641
  {
633
642
  type: "event_wof_accessed",
634
- isUserLoggedIn: !n(m),
635
- name: t()?.name || null,
636
- availableSpins: t()?.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
637
646
  },
638
647
  window.location.href
639
- ), S(u, e, !0);
648
+ ), x(M, !1), x(f, e, !0);
640
649
  };
641
- let s = F(null), H = F(!1);
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
+ });
642
660
  const ie = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), se = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), O = (e) => {
643
661
  if (e.data)
644
662
  switch (e.data.type) {
645
663
  case "SpinAgain":
646
664
  case "BackToWheel":
647
- S(s, null);
665
+ x(d, null);
648
666
  break;
649
667
  }
650
668
  };
651
- Se(() => (window.addEventListener("message", O), () => {
669
+ Be(() => (window.addEventListener("message", O), () => {
652
670
  window.removeEventListener("message", O);
653
671
  }));
654
672
  var le = {
655
673
  get program() {
656
- return t();
674
+ return a();
657
675
  },
658
676
  set program(e = null) {
659
- t(e), f();
677
+ a(e), c();
660
678
  },
661
679
  get endpoint() {
662
- return g();
680
+ return u();
663
681
  },
664
682
  set endpoint(e = null) {
665
- g(e), f();
683
+ u(e), c();
666
684
  },
667
685
  get session() {
668
- return h();
686
+ return y();
669
687
  },
670
688
  set session(e = null) {
671
- h(e), f();
689
+ y(e), c();
672
690
  },
673
691
  get outerWheelAsset() {
674
- return A();
692
+ return L();
675
693
  },
676
694
  set outerWheelAsset(e = null) {
677
- A(e), f();
695
+ L(e), c();
678
696
  },
679
697
  get wheelButtonAsset() {
680
698
  return R();
681
699
  },
682
700
  set wheelButtonAsset(e = null) {
683
- R(e), f();
701
+ R(e), c();
684
702
  },
685
- get language() {
703
+ get backgroundVideoAsset() {
686
704
  return T();
687
705
  },
706
+ set backgroundVideoAsset(e = null) {
707
+ T(e), c();
708
+ },
709
+ get language() {
710
+ return P();
711
+ },
688
712
  set language(e = "en") {
689
- T(e), f();
713
+ P(e), c();
690
714
  },
691
715
  get showBackButton() {
692
- return L();
716
+ return F();
693
717
  },
694
718
  set showBackButton(e = !0) {
695
- L(e), f();
719
+ F(e), c();
696
720
  },
697
721
  get liteMode() {
698
- return P();
722
+ return v();
699
723
  },
700
724
  set liteMode(e = !1) {
701
- P(e), f();
725
+ v(e), c();
702
726
  }
703
- }, w = Ye();
704
- let X;
705
- var x = d(w);
706
- let Z;
707
- x.__click = se;
708
- var U = b(d(x), 2), pe = d(U, !0);
709
- o(U), o(x);
710
- var k = b(x, 2);
711
- let q;
712
- var M = d(k), ce = d(M, !0);
713
- o(M);
714
- var K = b(M, 2), de = d(K, !0);
715
- o(K), o(k);
716
- var W = b(k, 2);
727
+ }, B = Ve();
717
728
  let V;
718
- _e(W, 20, () => i, (e) => e, (e, l) => {
719
- var a = je();
720
- let C;
721
- a.__click = () => oe(l);
722
- var j = d(a, !0);
723
- o(a), N(
724
- (p) => {
725
- C = y(a, 1, "Tab svelte-17ly5gn", null, C, { Active: n(u) === l }), _(j, p);
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);
726
763
  },
727
- [() => v()(l)]
728
- ), D(e, a);
729
- }), o(W);
730
- var B = b(W, 2);
731
- let J;
732
- var fe = d(B);
733
- ve(fe, {
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, {
734
771
  get program() {
735
- return t();
772
+ return a();
736
773
  },
737
774
  get endpoint() {
738
- return g();
775
+ return u();
739
776
  },
740
777
  get session() {
741
- return h();
778
+ return y();
742
779
  },
743
780
  get outerWheelAsset() {
744
- return A();
781
+ return L();
745
782
  },
746
783
  get wheelButtonAsset() {
747
784
  return R();
748
785
  },
749
786
  get wheelSlices() {
750
- return n(ae);
787
+ return t(ae);
751
788
  },
752
789
  get isPlaceholder() {
753
- return n(m);
790
+ return t(b);
754
791
  },
755
792
  get isWheelAvailable() {
756
- return n(re);
793
+ return t(re);
757
794
  },
758
795
  get liteMode() {
759
- return P();
796
+ return v();
760
797
  },
761
798
  onLogin: ie,
762
799
  get spinResults() {
763
- return n(s);
800
+ return t(d);
764
801
  },
765
802
  set spinResults(e) {
766
- S(s, e, !0);
803
+ x(d, e, !0);
767
804
  },
768
805
  get spinActive() {
769
- return n(H);
806
+ return t(W);
770
807
  },
771
808
  set spinActive(e) {
772
- S(H, e, !0);
809
+ x(W, e, !0);
773
810
  }
774
- }), o(B);
775
- var ge = b(B, 2);
811
+ }), i(S);
812
+ var me = m(S, 2);
776
813
  {
777
- var me = (e) => {
778
- Pe(e, {
814
+ var ue = (e) => {
815
+ je(e, {
779
816
  get result() {
780
- return n(s);
817
+ return t(d);
781
818
  },
782
819
  get endpoint() {
783
- return g();
820
+ return u();
784
821
  },
785
822
  get session() {
786
- return h();
823
+ return y();
787
824
  }
788
825
  });
789
- }, ue = (e) => {
790
- var l = Q(), a = $(l);
826
+ }, be = (e) => {
791
827
  {
792
- var C = (p) => {
793
- {
794
- let z = G(() => t()?.id);
795
- Le(p, {
796
- get programId() {
797
- return n(z);
798
- },
799
- get endpoint() {
800
- return g();
801
- },
802
- get session() {
803
- return h();
804
- }
805
- });
806
- }
807
- }, j = (p) => {
808
- var z = Q(), he = $(z);
809
- {
810
- var xe = (Y) => {
811
- He(Y, {
812
- get program() {
813
- return t();
814
- },
815
- get language() {
816
- return T();
817
- }
818
- });
819
- };
820
- I(
821
- he,
822
- (Y) => {
823
- n(u) === i[2] && Y(xe);
824
- },
825
- !0
826
- );
827
- }
828
- D(p, z);
829
- };
830
- I(
831
- a,
832
- (p) => {
833
- n(u) === i[0] ? p(C) : p(j, !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);
834
835
  },
835
- !0
836
- );
836
+ get endpoint() {
837
+ return u();
838
+ },
839
+ get session() {
840
+ return y();
841
+ }
842
+ });
837
843
  }
838
- D(e, l);
844
+ }, he = (e) => {
845
+ Ie(e, {
846
+ get program() {
847
+ return a();
848
+ },
849
+ get language() {
850
+ return P();
851
+ }
852
+ });
839
853
  };
840
- I(ge, (e) => {
841
- n(s) ? 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);
842
856
  });
843
857
  }
844
- o(w), N(
845
- (e, l, a) => {
846
- X = y(w, 1, "WheelContent svelte-17ly5gn", null, X, {
847
- WheelBackgroundHalo: n(u) === i[1],
848
- "is-spin-fullscreen": n(H)
849
- }), Z = y(x, 1, "BackButtonContainer svelte-17ly5gn", null, Z, { Hidden: n(m) || !L() }), _(pe, e), q = y(k, 1, "WofTitle svelte-17ly5gn", null, q, { Hidden: n(s) }), _(ce, l), _(de, a), V = y(W, 1, "WofTabs svelte-17ly5gn", null, V, { Hidden: n(m) || n(s) }), J = De(B, "", J, {
850
- display: n(u) !== i[1] || n(s) ? "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"
851
865
  });
852
866
  },
853
867
  [
854
- () => v()("backToHub"),
855
- () => v()("wofTitle"),
856
- () => v()("wofSubtitle")
868
+ () => k()("backToHub"),
869
+ () => k()("wofTitle"),
870
+ () => k()("wofSubtitle")
857
871
  ]
858
- ), D(E, w);
859
- var be = Ge(le);
860
- return te(), be;
872
+ ), $("click", w, se), j(H, B);
873
+ var xe = Te(le);
874
+ return ne(), xe;
861
875
  }
862
- we(["click"]);
863
- customElements.define("wheel-of-fortune", ke(
864
- Ie,
876
+ ve(["click"]);
877
+ customElements.define("wheel-of-fortune", we(
878
+ Xe,
865
879
  {
866
880
  program: {},
867
881
  endpoint: {},
868
882
  session: {},
869
883
  outerWheelAsset: {},
870
884
  wheelButtonAsset: {},
885
+ backgroundVideoAsset: {},
871
886
  language: {},
872
887
  showBackButton: {},
873
888
  liteMode: {}
874
889
  },
875
890
  [],
876
- [],
877
- !1
891
+ []
878
892
  ));
879
893
  export {
880
- Ie as W
894
+ Xe as W
881
895
  };