@everymatrix/prize-engine-suite 0.4.20 → 0.4.22

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 (19) hide show
  1. package/components/{PrizeEngineChest-J5Mh0r9J.js → PrizeEngineChest-D20kYcZH.js} +1 -1
  2. package/components/{PrizeEngineChest-ClYweWEe.js → PrizeEngineChest-DKa6fL7q.js} +16 -16
  3. package/components/{PrizeEngineCoin-D3EEy8Z0.js → PrizeEngineCoin-CSaqP476.js} +10 -10
  4. package/components/{PrizeEngineCoin-B_QZdmbY.js → PrizeEngineCoin-DB2SNbBm.js} +22 -22
  5. package/components/{PrizeEngineDetails-DeOQQeFv.js → PrizeEngineDetails-CG0d2Hah.js} +4 -4
  6. package/components/{PrizeEngineDetails-342tvqNu.js → PrizeEngineDetails-VmCA-ii3.js} +36 -36
  7. package/components/{PrizeEngineHistory-vGUQ4EfZ.js → PrizeEngineHistory-BOCXY1d8.js} +70 -70
  8. package/components/{PrizeEngineHistory-Dzydg21x.js → PrizeEngineHistory-DiG9cF-i.js} +53 -53
  9. package/components/{PrizeEngineList-CWlGpnYx.js → PrizeEngineList-Bj7B5I06.js} +38 -38
  10. package/components/{PrizeEngineList-CIivA6bl.js → PrizeEngineList-CEPBy1pL.js} +47 -47
  11. package/components/{PrizeEngineLuckywheel-DJM5jzrL.js → PrizeEngineLuckywheel-0WYMdzvz.js} +32 -32
  12. package/components/{PrizeEngineLuckywheel-579ZUXpL.js → PrizeEngineLuckywheel-Cb5REWSh.js} +28 -28
  13. package/components/{PrizeEngineSuite-3SpaZoog.js → PrizeEngineSuite-3vlUEft1.js} +59 -59
  14. package/components/{PrizeEngineSuite-DkEtda7W.js → PrizeEngineSuite-DJUx6dHj.js} +58 -58
  15. package/components/{WheelSVG-BBVwLFe2.js → WheelSVG-5WuLAqeO.js} +4 -4
  16. package/components/{WheelSVG-BYcR4Q8q.js → WheelSVG-IokoeQGs.js} +4 -4
  17. package/es2015/prize-engine-suite.js +1 -1
  18. package/esnext/prize-engine-suite.js +1 -1
  19. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { b as U, $ as X, c as q, S as J, C as $, N as ee, y, f as te, J as F, t as j, d as le, o as re, x as ne, D as _, e as c, u, h as d, a1 as Y, k as ie, E as se, L as oe, i as ae, w as W, s as R, U as D, _ as E, Y as N, G as ce, X as A, O as de, Q as ue, R as ge, n as me, a as fe } from "./PrizeEngineSuite-3SpaZoog.js";
1
+ import { $ as F, a as X, b as q, S as J, i as $, s as ee, f as y, d as te, n as U, e as x, g as le, h as re, j as ne, k as L, l as c, m as u, o as d, t as Y, p as ie, q as se, r as oe, u as ae, v as W, w as P, y as D, z as E, C as N, L as ce, A, E as de, F as ue, G as ge, c as me, D as fe } from "./PrizeEngineSuite-3vlUEft1.js";
2
2
  import "../stencil/ui-skeleton-W50o8tfg.js";
3
- const O = {
3
+ const H = {
4
4
  en: {
5
5
  Title: "Prize Games",
6
6
  RemainingTimes: "Remaining Times",
@@ -14,19 +14,19 @@ const O = {
14
14
  }
15
15
  };
16
16
  function he({ withLocale: t, translations: e }) {
17
- U.subscribe((l) => {
18
- l == null && (X.set(e), U.set(t));
17
+ F.subscribe((l) => {
18
+ l == null && (X.set(e), F.set(t));
19
19
  });
20
20
  }
21
- function P(t, e) {
21
+ function R(t, e) {
22
22
  q(t, e);
23
23
  }
24
24
  function pe(t) {
25
- U.set(t);
25
+ F.set(t);
26
26
  }
27
27
  const ve = () => {
28
- he({ withLocale: "en", translations: {} }), Object.keys(O).forEach((t) => {
29
- P(t, O[t]);
28
+ he({ withLocale: "en", translations: {} }), Object.keys(H).forEach((t) => {
29
+ R(t, H[t]);
30
30
  });
31
31
  }, we = async ({ endpoint: t, session: e, types: l }) => {
32
32
  const r = new URL(`${t}/v1/wof/lotteries`);
@@ -45,18 +45,18 @@ const ve = () => {
45
45
  }, Ce = {
46
46
  lotteries: async (t, e, l) => (await we({ endpoint: t, session: e, types: l }))?.items || []
47
47
  }, be = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMVSURBVHgBbVTNThNRGD3fnSmYYNLizhVl4ZriC9AhcUFcWDYmbsQuiCsT0aioJJRogrJhacJC0MSwMsALMIUHsDQxYSeDCVspiWA7befz3Jm2AnGSm7k/3+85517Bf75F9fMOoikXjTzHkIO6OAgrnFcdNLaK8mjzso+cX5S0kk2h9ZHGeUNnOtY4MlzDRVjjP801DBpBG83xorwMur6mO3ml33MCqSg0r4h2Beo9kduDCtDYHDyUKc5lPAI+03z4CvTbFy3lLgSa1f2sC9dngWk6HjbQLjyTW+VOyb2qp2W6LGg95rRGu0EX2F7X2WwvkEG/z0oyHCesJNuHlF9SP2PPNA6hcbBVXeWeTQh7FgiiwRS344Sv9ehOhMami+aag7MZ/n3iMGLQrKZw4hloxUFTB3B2k7j4BD5HvPZa+O0NoL1BEsYitMdNC1qQOLP5VJLRWgunHtdVZssp+ivEbYhVDocwv2hGTEzQguMVpVSL+WExKeh9kxxK7a3ciDEpicdgraLGTant3zoEBHm30+NQF7O78mbHQI6ZKC/P9UjdmN7mgYM/pDxU0svew7QgXHgqEwvW6YOuUhoh2w6HDMJD6+PEo06iQvp3ACXl5p+4RJN9rXaDGBjLKiuUAIh6NCQfhcGKWEkzvSjZa93t97pbYFYC2ThwUd/heYGZM8wcOEiNFqVY69p+1RfHBDww7K9saZzT/XxH3ZkIMt+xGya4U8yYkViYFrNTf1WXY2ms6xx9lNqTPWPgrHFCEJ15G4RZfbY2wsL3BIaB9CfPgz7oKH33OEZctBmsxKsjUzxjDnfLLMp1Iq87QDtPx4plMSI2Z6R4RiaCJAlg23HQ5zFwlUlyV5D6Qck8YNJgUpY2Y4BTkCI3KHvN8n8c4qpnZYCeqhPwE2xangWccA/y7JgBvN4VKclwYBKD+A7143R5SbfHOhxq94qs6Ar33A3ECVFjB+OT8i5ImD73LfIZiXgNqKMsWeo+HZlEJ3XOwzTX9nkpU3fFe+eekQuBLtFfsHeOziNO/DaRYkqB/zU+bOXLPn8BG6xnv5+RMCQAAAAASUVORK5CYII=", ye = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", ke = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1978%2013.2348C12.1978%209.60751%2015.1383%206.66699%2018.7656%206.66699C22.3929%206.66699%2025.3334%209.60751%2025.3334%2013.2348C25.3334%2016.8621%2022.3929%2019.8026%2018.7656%2019.8026C18.467%2019.8026%2018.1725%2019.7826%2017.8835%2019.7438C17.6825%2019.7168%2017.557%2019.7001%2017.4658%2019.6909C17.4218%2019.7326%2017.3626%2019.7916%2017.2673%2019.8869L12.5565%2024.5977C12.5457%2024.6085%2012.5344%2024.6198%2012.5229%2024.6315C12.4009%2024.7542%2012.2356%2024.9205%2012.0329%2025.0448C11.8576%2025.1522%2011.6665%2025.2313%2011.4666%2025.2793C11.2354%2025.3348%2011.001%2025.3341%2010.8279%2025.3335C10.8115%2025.3335%2010.7956%2025.3334%2010.7803%2025.3334L9.14719%2025.3334C8.91663%2025.3335%208.68571%2025.3335%208.48899%2025.3174C8.27114%2025.2996%208.00565%2025.2571%207.7365%2025.1199C7.36793%2024.9321%207.06826%2024.6325%206.88046%2024.2639C6.74332%2023.9948%206.70076%2023.7293%206.68297%2023.5114C6.66689%2023.3147%206.66693%2023.0838%206.66696%2022.8532L6.66696%2021.2201C6.66696%2021.2049%206.66691%2021.189%206.66686%2021.1725C6.66631%2020.9994%206.66557%2020.765%206.72109%2020.5338C6.76907%2020.3339%206.84822%2020.1428%206.95562%2019.9676C7.07986%2019.7648%207.24617%2019.5995%207.36894%2019.4776C7.3806%2019.466%207.39188%2019.4548%207.40268%2019.4439L12.1135%2014.7331C12.2088%2014.6378%2012.2678%2014.5786%2012.3095%2014.5346C12.3003%2014.4434%2012.2836%2014.3179%2012.2566%2014.1169C12.2178%2013.8279%2012.1978%2013.5334%2012.1978%2013.2348ZM18.7656%208.74104C16.2837%208.74104%2014.2718%2010.753%2014.2718%2013.2348C14.2718%2013.4408%2014.2856%2013.6429%2014.3122%2013.8406L14.3146%2013.8585C14.3394%2014.0432%2014.3618%2014.2097%2014.3749%2014.3451C14.3874%2014.4747%2014.4011%2014.6598%2014.3736%2014.8525C14.3367%2015.1105%2014.2715%2015.3033%2014.1443%2015.5308C14.0078%2015.7751%2013.7931%2015.9881%2013.629%2016.151C13.6121%2016.1678%2013.5958%2016.184%2013.5801%2016.1997L8.86926%2020.9105C8.82845%2020.9513%208.79718%2020.9826%208.77036%2021.0099C8.75929%2021.0212%208.74992%2021.0308%208.74194%2021.0392C8.7417%2021.0507%208.74151%2021.0641%208.74137%2021.0799C8.74102%2021.1182%208.74101%2021.1624%208.74101%2021.2201V22.8215C8.74101%2023.0268%208.74146%2023.1591%208.74514%2023.2553C8.84132%2023.2589%208.97362%2023.2594%209.17887%2023.2594H10.7803C10.838%2023.2594%2010.8822%2023.2594%2010.9205%2023.259C10.9363%2023.2589%2010.9497%2023.2587%2010.9613%2023.2585C10.9696%2023.2505%2010.9792%2023.2411%2010.9905%2023.2301C11.0178%2023.2032%2011.0491%2023.172%2011.0899%2023.1312L15.8007%2018.4203C15.8164%2018.4046%2015.8327%2018.3883%2015.8494%2018.3714C16.0123%2018.2073%2016.2253%2017.9926%2016.4696%2017.8561C16.6971%2017.7289%2016.8899%2017.6638%2017.1479%2017.6268C17.3406%2017.5993%2017.5257%2017.613%2017.6553%2017.6255C17.7907%2017.6386%2017.9572%2017.661%2018.1419%2017.6858L18.1598%2017.6882C18.3575%2017.7148%2018.5597%2017.7286%2018.7656%2017.7286C21.2474%2017.7286%2023.2594%2015.7167%2023.2594%2013.2348C23.2594%2010.753%2021.2474%208.74104%2018.7656%208.74104ZM17.7286%2013.2348C17.7286%2012.6621%2018.1929%2012.1978%2018.7656%2012.1978H18.7748C19.3475%2012.1978%2019.8118%2012.6621%2019.8118%2013.2348C19.8118%2013.8076%2019.3475%2014.2718%2018.7748%2014.2718H18.7656C18.1929%2014.2718%2017.7286%2013.8076%2017.7286%2013.2348Z'%20fill='url(%23paint0_linear_714_605)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_714_605'%20x1='6.66675'%20y1='16.0003'%20x2='25.3334'%20y2='16.0003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
48
- function xe(t) {
48
+ function je(t) {
49
49
  te(t, "svelte-ljc7r7", `:host{display:block;height:100%;flex-grow:1}.PrizeListContent.svelte-ljc7r7.svelte-ljc7r7{width:100%;height:100%;display:flex;flex-direction:column;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7{flex-grow:1;overflow-y:auto}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar{width:4px}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31);border-radius:2px}.LuckyWheelList.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;list-style:none}.LuckyWheelListItem.svelte-ljc7r7.svelte-ljc7r7{width:100%}.ItemButton.svelte-ljc7r7.svelte-ljc7r7{padding:16px;border-radius:16px;border:1px solid var(--emw--color-teal-10, rgba(117, 255, 233, 0.1019607843));color:var(--emw--color-primary, #d3ffed);width:100%;height:110px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-sizing:border-box;cursor:pointer;text-align:left;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);background:var(--emw--color-teal-05, rgba(117, 255, 233, 0.0509803922));position:relative}.ItemButton.svelte-ljc7r7.svelte-ljc7r7:hover,.ItemButton.svelte-ljc7r7.svelte-ljc7r7:active{background:var(--emw--color-teal-08, rgba(117, 255, 233, 0.0784313725));border:1px solid transparent;background-image:linear-gradient(var(--emw--color-background, #213841), var(--emw--color-background, #213841)), linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);background-origin:border-box;background-clip:padding-box, border-box}.ItemButton.svelte-ljc7r7:hover .IconButton.Chevron.svelte-ljc7r7,.ItemButton.svelte-ljc7r7:active .IconButton.Chevron.svelte-ljc7r7{background-color:var(--emw--color-green, #b2ff6d);background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%230C1A1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');border-radius:50%}.ItemTitleRow.svelte-ljc7r7.svelte-ljc7r7{display:flex;justify-content:space-between;align-items:center;width:100%}.ItemTitle.svelte-ljc7r7.svelte-ljc7r7{font-weight:700;font-size:var(--emw--font-size-medium-plus, 18px);background:linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ItemDetails.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:12px;align-items:center}.ItemKeys.svelte-ljc7r7.svelte-ljc7r7,.ItemValidity.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:4px;align-items:center;font-size:14px;font-weight:400;color:var(--emw--color-secondary-variant, #729787)}.ItemKeys.svelte-ljc7r7 span.svelte-ljc7r7:last-child,.ItemValidity.svelte-ljc7r7 span.svelte-ljc7r7:last-child{color:var(--emw--color-primary, #d3ffed)}.SmallIcon.svelte-ljc7r7.svelte-ljc7r7{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--emw--color-secondary-variant, #729787);flex-shrink:0}.IconButton.Chevron.svelte-ljc7r7.svelte-ljc7r7{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background:center/18px 18px url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.LoaderWrap.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;width:100%}.LoaderWrap.svelte-ljc7r7 .Skeleton{border-radius:var(--emw--border-radius-small, 12px);--emw-skeleton-primary-color:var(--emw--color-primary, #d9d9d9);--emw-skeleton-secondary-color:var(--emw--color-secondary, #999999)}.LoaderWrap.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:var(--emw--border-radius-large, 28px);display:flex;padding:45px 48px;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);justify-content:space-between;line-height:35px;overflow:hidden;margin-bottom:24px}.LoaderWrap.Mobile.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:16px;padding:25px 20px;line-height:15px}.LoaderWrap.Mobile.svelte-ljc7r7 .Skeleton.SkeletonText{width:135px}.EmptyState.svelte-ljc7r7.svelte-ljc7r7{width:100%;display:flex;flex-direction:column;color:var(--emw--color-secondary-variant, #a9ccbe);font-size:var(--emw--font-size-medium, 16px);align-items:center;justify-content:center;height:200px}.Mobile.svelte-ljc7r7 .ItemButton.svelte-ljc7r7{height:72px;padding:16px 20px;border-radius:16px}.Mobile.svelte-ljc7r7 .ItemButton .ItemTitle.svelte-ljc7r7{font-size:var(--emw--font-size-medium, 16px)}.Mobile.svelte-ljc7r7 .ItemButton .ItemDetails.svelte-ljc7r7{font-size:var(--emw--font-size-x-small, 12px)}.Mobile.svelte-ljc7r7 .IconButton.Chevron.svelte-ljc7r7{width:24px;height:24px;background-size:14px 14px}`);
50
50
  }
51
- function H(t, e, l) {
51
+ function O(t, e, l) {
52
52
  const r = t.slice();
53
53
  return r[23] = e[l], r;
54
54
  }
55
- function je(t, e, l) {
55
+ function xe(t, e, l) {
56
56
  const r = t.slice();
57
57
  return r[20] = e[l], r;
58
58
  }
59
- function _e(t) {
59
+ function Le(t) {
60
60
  let e, l, r = (
61
61
  /*$_*/
62
62
  t[5]("NoContent") + ""
@@ -66,7 +66,7 @@ function _e(t) {
66
66
  e = u("div"), l = u("p"), n = E(r), d(e, "class", "EmptyState svelte-ljc7r7");
67
67
  },
68
68
  m(o, i) {
69
- _(o, e, i), c(e, l), c(l, n);
69
+ L(o, e, i), c(e, l), c(l, n);
70
70
  },
71
71
  p(o, i) {
72
72
  i & /*$_*/
@@ -74,17 +74,17 @@ function _e(t) {
74
74
  o[5]("NoContent") + "") && D(n, r);
75
75
  },
76
76
  d(o) {
77
- o && j(e);
77
+ o && x(e);
78
78
  }
79
79
  };
80
80
  }
81
- function Le(t) {
81
+ function _e(t) {
82
82
  let e, l = W(
83
83
  /*programs*/
84
84
  t[3]
85
85
  ), r = [];
86
86
  for (let n = 0; n < l.length; n += 1)
87
- r[n] = V(H(t, l, n));
87
+ r[n] = V(O(t, l, n));
88
88
  return {
89
89
  c() {
90
90
  e = u("ul");
@@ -93,7 +93,7 @@ function Le(t) {
93
93
  d(e, "class", "LuckyWheelList svelte-ljc7r7");
94
94
  },
95
95
  m(n, o) {
96
- _(n, e, o);
96
+ L(n, e, o);
97
97
  for (let i = 0; i < r.length; i += 1)
98
98
  r[i] && r[i].m(e, null);
99
99
  },
@@ -106,7 +106,7 @@ function Le(t) {
106
106
  );
107
107
  let i;
108
108
  for (i = 0; i < l.length; i += 1) {
109
- const a = H(n, l, i);
109
+ const a = O(n, l, i);
110
110
  r[i] ? r[i].p(a, o) : (r[i] = V(a), r[i].c(), r[i].m(e, null));
111
111
  }
112
112
  for (; i < r.length; i += 1)
@@ -115,14 +115,14 @@ function Le(t) {
115
115
  }
116
116
  },
117
117
  d(n) {
118
- n && j(e), R(r, n);
118
+ n && x(e), P(r, n);
119
119
  }
120
120
  };
121
121
  }
122
122
  function Ae(t) {
123
123
  let e, l = W([1, 2, 3, 4, 5]), r = [];
124
124
  for (let n = 0; n < 5; n += 1)
125
- r[n] = Ie(je(t, l, n));
125
+ r[n] = Ie(xe(t, l, n));
126
126
  return {
127
127
  c() {
128
128
  e = u("div");
@@ -136,13 +136,13 @@ function Ae(t) {
136
136
  );
137
137
  },
138
138
  m(n, o) {
139
- _(n, e, o);
139
+ L(n, e, o);
140
140
  for (let i = 0; i < 5; i += 1)
141
141
  r[i] && r[i].m(e, null);
142
142
  },
143
- p: F,
143
+ p: U,
144
144
  d(n) {
145
- n && j(e), R(r, n);
145
+ n && x(e), P(r, n);
146
146
  }
147
147
  };
148
148
  }
@@ -159,7 +159,7 @@ function G(t) {
159
159
  e = u("div"), l = u("span"), l.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r = A(), n = u("span"), i = E(o), d(l, "class", "SmallIcon Timer svelte-ljc7r7"), d(n, "class", "svelte-ljc7r7"), d(e, "class", "ItemValidity svelte-ljc7r7");
160
160
  },
161
161
  m(a, g) {
162
- _(a, e, g), c(e, l), c(e, r), c(e, n), c(n, i);
162
+ L(a, e, g), c(e, l), c(e, r), c(e, n), c(n, i);
163
163
  },
164
164
  p(a, g) {
165
165
  g & /*programs*/
@@ -170,7 +170,7 @@ function G(t) {
170
170
  ) + "") && D(i, o);
171
171
  },
172
172
  d(a) {
173
- a && j(e);
173
+ a && x(e);
174
174
  }
175
175
  };
176
176
  }
@@ -182,10 +182,10 @@ function V(t) {
182
182
  t[0]
183
183
  ] || /*program*/
184
184
  t[23].program.name["*"] || "Unknown Game") + ""
185
- ), i, a, g, k, v, w, f, h, M, b, x = (
185
+ ), i, a, g, k, v, w, f, h, M, b, j = (
186
186
  /*program*/
187
187
  (t[23].current?.remainingTimes || 0) + ""
188
- ), I, B, S, L, T, m = (
188
+ ), I, B, S, _, T, m = (
189
189
  /*program*/
190
190
  t[23].current?.expiryTime && G(t)
191
191
  );
@@ -200,11 +200,11 @@ function V(t) {
200
200
  }
201
201
  return {
202
202
  c() {
203
- e = u("li"), l = u("button"), r = u("div"), n = u("span"), i = E(o), a = A(), g = u("span"), k = A(), v = u("div"), w = u("div"), f = u("img"), M = A(), b = u("span"), I = E(x), B = A(), m && m.c(), S = A(), d(n, "class", "ItemTitle svelte-ljc7r7"), d(g, "class", "IconButton Chevron svelte-ljc7r7"), d(r, "class", "ItemTitleRow svelte-ljc7r7"), N(f.src, h = /*dynamicIcon*/
203
+ e = u("li"), l = u("button"), r = u("div"), n = u("span"), i = E(o), a = A(), g = u("span"), k = A(), v = u("div"), w = u("div"), f = u("img"), M = A(), b = u("span"), I = E(j), B = A(), m && m.c(), S = A(), d(n, "class", "ItemTitle svelte-ljc7r7"), d(g, "class", "IconButton Chevron svelte-ljc7r7"), d(r, "class", "ItemTitleRow svelte-ljc7r7"), N(f.src, h = /*dynamicIcon*/
204
204
  t[4]) || d(f, "src", h), d(f, "alt", ""), d(b, "class", "svelte-ljc7r7"), d(w, "class", "ItemKeys svelte-ljc7r7"), d(v, "class", "ItemDetails svelte-ljc7r7"), d(l, "type", "button"), d(l, "class", "ItemButton svelte-ljc7r7"), d(e, "class", "LuckyWheelListItem svelte-ljc7r7");
205
205
  },
206
206
  m(p, C) {
207
- _(p, e, C), c(e, l), c(l, r), c(r, n), c(n, i), c(r, a), c(r, g), c(l, k), c(l, v), c(v, w), c(w, f), c(w, M), c(w, b), c(b, I), c(v, B), m && m.m(v, null), c(e, S), L || (T = ce(l, "click", s), L = !0);
207
+ L(p, e, C), c(e, l), c(l, r), c(r, n), c(n, i), c(r, a), c(r, g), c(l, k), c(l, v), c(v, w), c(w, f), c(w, M), c(w, b), c(b, I), c(v, B), m && m.m(v, null), c(e, S), _ || (T = ce(l, "click", s), _ = !0);
208
208
  },
209
209
  p(p, C) {
210
210
  t = p, C & /*programs, lang*/
@@ -216,12 +216,12 @@ function V(t) {
216
216
  t[23].program.name["*"] || "Unknown Game") + "") && D(i, o), C & /*dynamicIcon*/
217
217
  16 && !N(f.src, h = /*dynamicIcon*/
218
218
  t[4]) && d(f, "src", h), C & /*programs*/
219
- 8 && x !== (x = /*program*/
220
- (t[23].current?.remainingTimes || 0) + "") && D(I, x), /*program*/
219
+ 8 && j !== (j = /*program*/
220
+ (t[23].current?.remainingTimes || 0) + "") && D(I, j), /*program*/
221
221
  t[23].current?.expiryTime ? m ? m.p(t, C) : (m = G(t), m.c(), m.m(v, null)) : m && (m.d(1), m = null);
222
222
  },
223
223
  d(p) {
224
- p && j(e), m && m.d(), L = !1, T();
224
+ p && x(e), m && m.d(), _ = !1, T();
225
225
  }
226
226
  };
227
227
  }
@@ -232,11 +232,11 @@ function Ie(t) {
232
232
  e = u("div"), e.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', d(e, "class", "WheelLoader svelte-ljc7r7");
233
233
  },
234
234
  m(l, r) {
235
- _(l, e, r);
235
+ L(l, e, r);
236
236
  },
237
- p: F,
237
+ p: U,
238
238
  d(l) {
239
- l && j(e);
239
+ l && x(e);
240
240
  }
241
241
  };
242
242
  }
@@ -247,7 +247,7 @@ function Me(t) {
247
247
  /*loading*/
248
248
  a[2] ? Ae : (
249
249
  /*programs*/
250
- a[3].length > 0 ? Le : _e
250
+ a[3].length > 0 ? _e : Le
251
251
  )
252
252
  );
253
253
  }
@@ -262,7 +262,7 @@ function Me(t) {
262
262
  );
263
263
  },
264
264
  m(a, g) {
265
- _(a, e, g), c(e, l), i.m(l, null), t[17](e);
265
+ L(a, e, g), c(e, l), i.m(l, null), t[17](e);
266
266
  },
267
267
  p(a, [g]) {
268
268
  o === (o = n(a)) && i ? i.p(a, g) : (i.d(1), i = o(a), i && (i.c(), i.m(l, null)));
@@ -272,9 +272,9 @@ function Me(t) {
272
272
  r = re(e, ne, { duration: 300 }), r.start();
273
273
  }));
274
274
  },
275
- o: F,
275
+ o: U,
276
276
  d(a) {
277
- a && j(e), i.d(), t[17](null);
277
+ a && x(e), i.d(), t[17](null);
278
278
  }
279
279
  };
280
280
  }
@@ -284,12 +284,12 @@ function Se(t, e, l) {
284
284
  ie(t, fe, (s) => l(5, n = s));
285
285
  let { endpoint: o = "" } = e, { session: i = "" } = e, { lang: a = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: v = "" } = e, { mbsource: w = "" } = e, { type: f = "wheelOfFortune" } = e, h;
286
286
  const M = se(window.navigator.userAgent);
287
- let b = !0, x = [];
287
+ let b = !0, j = [];
288
288
  ve();
289
289
  const I = () => {
290
290
  fetch(v).then((p) => p.json()).then((p) => {
291
291
  Object.keys(p).forEach((C) => {
292
- P(C, p[C]);
292
+ R(C, p[C]);
293
293
  });
294
294
  });
295
295
  }, B = (s) => {
@@ -311,19 +311,19 @@ function Se(t, e, l) {
311
311
  data: s
312
312
  },
313
313
  "*"
314
- ), l(3, x = s.filter((p) => (Number(p.current?.remainingTimes) || 0) > 0));
314
+ ), l(3, j = s.filter((p) => (Number(p.current?.remainingTimes) || 0) > 0));
315
315
  } catch (s) {
316
316
  console.error("[PrizeEngineList] Fetch failed", s);
317
317
  } finally {
318
318
  l(2, b = !1);
319
319
  }
320
320
  }
321
- }, L = (s) => {
321
+ }, _ = (s) => {
322
322
  window.postMessage({ type: "OpenPrizeGame", data: s }, "*");
323
323
  };
324
324
  oe(() => () => {
325
325
  });
326
- const T = (s) => L(s);
326
+ const T = (s) => _(s);
327
327
  function m(s) {
328
328
  ae[s ? "unshift" : "push"](() => {
329
329
  h = s, l(1, h);
@@ -344,12 +344,12 @@ function Se(t, e, l) {
344
344
  a,
345
345
  h,
346
346
  b,
347
- x,
347
+ j,
348
348
  r,
349
349
  n,
350
350
  M,
351
351
  B,
352
- L,
352
+ _,
353
353
  o,
354
354
  i,
355
355
  g,
@@ -379,7 +379,7 @@ class Te extends J {
379
379
  mbsource: 14,
380
380
  type: 15
381
381
  },
382
- xe
382
+ je
383
383
  );
384
384
  }
385
385
  get endpoint() {
@@ -1,9 +1,9 @@
1
- import { S as I, C as V, N as J, y as g, f as Q, t as W, a3 as L, a2 as z, A as T, j as B, D as G, u as M, h as P, a1 as F, E as H, L as K, r as X, e as Y, I as Z, m as $, i as E, O as ee, Q as te, R as ne, n as ie } from "./PrizeEngineSuite-3SpaZoog.js";
2
- import { b as se, s as le, W as re, a as ae } from "./WheelSVG-BYcR4Q8q.js";
1
+ import { S as O, i as V, s as F, f as g, d as H, e as W, J as M, H as z, N as I, K, k as R, m as L, o as P, t as T, q as B, r as Q, a1 as X, l as Y, a2 as Z, a3 as $, u as E, E as ee, F as te, G as ne, c as ie } from "./PrizeEngineSuite-3vlUEft1.js";
2
+ import { s as se, a as le, W as re, b as ae } from "./WheelSVG-IokoeQGs.js";
3
3
  function oe(i) {
4
- Q(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
4
+ H(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
5
5
  }
6
- function R(i) {
6
+ function G(i) {
7
7
  let e, s, t, r, c = {
8
8
  lang: (
9
9
  /*lang*/
@@ -40,10 +40,10 @@ function R(i) {
40
40
  i[20]
41
41
  ), {
42
42
  c() {
43
- e = M("div"), s = M("div"), $(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
43
+ e = L("div"), s = L("div"), $(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
44
44
  },
45
45
  m(l, a) {
46
- G(l, e, a), Y(e, s), Z(t, s, null), r = !0;
46
+ R(l, e, a), Y(e, s), Z(t, s, null), r = !0;
47
47
  },
48
48
  p(l, a) {
49
49
  const o = {};
@@ -63,7 +63,7 @@ function R(i) {
63
63
  r || (z(t.$$.fragment, l), r = !0);
64
64
  },
65
65
  o(l) {
66
- L(t.$$.fragment, l), r = !1;
66
+ M(t.$$.fragment, l), r = !1;
67
67
  },
68
68
  d(l) {
69
69
  l && W(e), i[17](null), X(t);
@@ -73,11 +73,11 @@ function R(i) {
73
73
  function ce(i) {
74
74
  let e, s, t = (
75
75
  /*activeGame*/
76
- i[4] && R(i)
76
+ i[4] && G(i)
77
77
  );
78
78
  return {
79
79
  c() {
80
- e = M("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), F(
80
+ e = L("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), T(
81
81
  e,
82
82
  "Mobile",
83
83
  /*mobileView*/
@@ -85,20 +85,20 @@ function ce(i) {
85
85
  );
86
86
  },
87
87
  m(r, c) {
88
- G(r, e, c), t && t.m(e, null), i[21](e), s = !0;
88
+ R(r, e, c), t && t.m(e, null), i[21](e), s = !0;
89
89
  },
90
90
  p(r, [c]) {
91
91
  /*activeGame*/
92
92
  r[4] ? t ? (t.p(r, c), c & /*activeGame*/
93
- 16 && z(t, 1)) : (t = R(r), t.c(), z(t, 1), t.m(e, null)) : t && (T(), L(t, 1, 1, () => {
93
+ 16 && z(t, 1)) : (t = G(r), t.c(), z(t, 1), t.m(e, null)) : t && (I(), M(t, 1, 1, () => {
94
94
  t = null;
95
- }), B());
95
+ }), K());
96
96
  },
97
97
  i(r) {
98
98
  s || (z(t), s = !0);
99
99
  },
100
100
  o(r) {
101
- L(t), s = !1;
101
+ M(t), s = !1;
102
102
  },
103
103
  d(r) {
104
104
  r && W(e), t && t.d(), i[21](null);
@@ -107,25 +107,25 @@ function ce(i) {
107
107
  }
108
108
  let ue = null;
109
109
  function fe(i, e, s) {
110
- let t, r, c, { data: l = null } = e, { lang: a = "en" } = e, { clientstyling: o = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: w = "" } = e, { mbsource: b = "" } = e, { size: S = 324 } = e, { mobilesize: _ = 240 } = e, { contentdirection: C = "anticlockwise" } = e, k = null, u;
111
- const v = H(window.navigator.userAgent);
110
+ let t, r, c, { data: l = null } = e, { lang: a = "en" } = e, { clientstyling: o = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: w = "" } = e, { mbsource: b = "" } = e, { size: S = 324 } = e, { mobilesize: _ = 240 } = e, { contentdirection: v = "anticlockwise" } = e, k = null, u;
111
+ const C = B(window.navigator.userAgent);
112
112
  let f, m = !1;
113
113
  se();
114
- const j = () => {
114
+ const q = () => {
115
115
  fetch(w).then((d) => d.json()).then((d) => {
116
116
  Object.keys(d).forEach((h) => {
117
117
  ae(h, d[h]);
118
118
  });
119
119
  });
120
- }, D = (n) => {
120
+ }, j = (n) => {
121
121
  f && f.setDrawResult(n);
122
- }, q = () => {
122
+ }, D = () => {
123
123
  m || (s(6, m = !0), f && f.eventSpin());
124
124
  };
125
- K(() => {
125
+ Q(() => {
126
126
  const n = (d) => {
127
- const { type: h, data: U } = d.data;
128
- h === "PrizeGameResult" ? D(U) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && q();
127
+ const { type: h, data: J } = d.data;
128
+ h === "PrizeGameResult" ? j(J) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && D();
129
129
  };
130
130
  return window.addEventListener("message", n), () => {
131
131
  window.removeEventListener("message", n);
@@ -136,14 +136,14 @@ function fe(i, e, s) {
136
136
  f = n, s(5, f);
137
137
  });
138
138
  }
139
- const x = () => s(6, m = !0), A = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), N = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
140
- function O(n) {
139
+ const x = () => s(6, m = !0), N = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), U = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
140
+ function A(n) {
141
141
  E[n ? "unshift" : "push"](() => {
142
142
  u = n, s(2, u);
143
143
  });
144
144
  }
145
145
  return i.$$set = (n) => {
146
- "data" in n && s(9, l = n.data), "lang" in n && s(0, a = n.lang), "clientstyling" in n && s(10, o = n.clientstyling), "clientstylingurl" in n && s(11, y = n.clientstylingurl), "translationurl" in n && s(12, w = n.translationurl), "mbsource" in n && s(13, b = n.mbsource), "size" in n && s(14, S = n.size), "mobilesize" in n && s(15, _ = n.mobilesize), "contentdirection" in n && s(1, C = n.contentdirection);
146
+ "data" in n && s(9, l = n.data), "lang" in n && s(0, a = n.lang), "clientstyling" in n && s(10, o = n.clientstyling), "clientstylingurl" in n && s(11, y = n.clientstylingurl), "translationurl" in n && s(12, w = n.translationurl), "mbsource" in n && s(13, b = n.mbsource), "size" in n && s(14, S = n.size), "mobilesize" in n && s(15, _ = n.mobilesize), "contentdirection" in n && s(1, v = n.contentdirection);
147
147
  }, i.$$.update = () => {
148
148
  if (i.$$.dirty & /*data*/
149
149
  512)
@@ -157,23 +157,23 @@ function fe(i, e, s) {
157
157
  s(4, k = l);
158
158
  i.$$.dirty & /*lang*/
159
159
  1 && a && le(a), i.$$.dirty & /*translationurl*/
160
- 4096 && w && j(), i.$$.dirty & /*clientstyling, rootContainer*/
160
+ 4096 && w && q(), i.$$.dirty & /*clientstyling, rootContainer*/
161
161
  1028 && o && u && ee(u, o), i.$$.dirty & /*clientstylingurl, rootContainer*/
162
162
  2052 && y && u && te(u, y), i.$$.dirty & /*mbsource, rootContainer*/
163
163
  8196 && b && u && ne(u, `${b}.Style`, ue), i.$$.dirty & /*mobilesize, size*/
164
- 49152 && s(16, t = v && _ ? _ : S), i.$$.dirty & /*_size*/
164
+ 49152 && s(16, t = C && _ ? _ : S), i.$$.dirty & /*_size*/
165
165
  65536 && s(3, r = t / 0.6875), i.$$.dirty & /*_internalSize*/
166
166
  8 && s(7, c = 0.62 * r / 2);
167
167
  }, [
168
168
  a,
169
- C,
169
+ v,
170
170
  u,
171
171
  r,
172
172
  k,
173
173
  f,
174
174
  m,
175
175
  c,
176
- v,
176
+ C,
177
177
  l,
178
178
  o,
179
179
  y,
@@ -184,19 +184,19 @@ function fe(i, e, s) {
184
184
  t,
185
185
  p,
186
186
  x,
187
- A,
188
187
  N,
189
- O
188
+ U,
189
+ A
190
190
  ];
191
191
  }
192
- class ge extends I {
192
+ class ge extends O {
193
193
  constructor(e) {
194
194
  super(), V(
195
195
  this,
196
196
  e,
197
197
  fe,
198
198
  ce,
199
- J,
199
+ F,
200
200
  {
201
201
  data: 9,
202
202
  lang: 0,
@@ -1,9 +1,9 @@
1
- import { S as I, C as V, N as J, y as g, f as Q, t as W, a3 as L, a2 as z, A as T, j as B, D as G, u as M, h as P, a1 as F, E as H, L as K, r as X, e as Y, I as Z, m as $, i as E, O as ee, Q as te, R as ne, n as ie } from "./PrizeEngineSuite-DkEtda7W.js";
2
- import { b as se, s as le, W as re, a as ae } from "./WheelSVG-BBVwLFe2.js";
1
+ import { S as N, i as V, s as F, f as g, c as H, d as G, J as M, H as z, O as I, K, h as R, k as L, l as P, t as T, o as B, p as Q, a1 as X, j as Y, a2 as Z, a3 as $, q as E, C as ee, D as te, E as ne, F as ie } from "./PrizeEngineSuite-DJUx6dHj.js";
2
+ import { s as se, a as le, W as re, b as ae } from "./WheelSVG-5WuLAqeO.js";
3
3
  function oe(i) {
4
- Q(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
4
+ H(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
5
5
  }
6
- function R(i) {
6
+ function W(i) {
7
7
  let e, s, t, r, c = {
8
8
  lang: (
9
9
  /*lang*/
@@ -40,10 +40,10 @@ function R(i) {
40
40
  i[20]
41
41
  ), {
42
42
  c() {
43
- e = M("div"), s = M("div"), $(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
43
+ e = L("div"), s = L("div"), $(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
44
44
  },
45
45
  m(l, a) {
46
- G(l, e, a), Y(e, s), Z(t, s, null), r = !0;
46
+ R(l, e, a), Y(e, s), Z(t, s, null), r = !0;
47
47
  },
48
48
  p(l, a) {
49
49
  const o = {};
@@ -63,21 +63,21 @@ function R(i) {
63
63
  r || (z(t.$$.fragment, l), r = !0);
64
64
  },
65
65
  o(l) {
66
- L(t.$$.fragment, l), r = !1;
66
+ M(t.$$.fragment, l), r = !1;
67
67
  },
68
68
  d(l) {
69
- l && W(e), i[17](null), X(t);
69
+ l && G(e), i[17](null), X(t);
70
70
  }
71
71
  };
72
72
  }
73
73
  function ce(i) {
74
74
  let e, s, t = (
75
75
  /*activeGame*/
76
- i[4] && R(i)
76
+ i[4] && W(i)
77
77
  );
78
78
  return {
79
79
  c() {
80
- e = M("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), F(
80
+ e = L("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), T(
81
81
  e,
82
82
  "Mobile",
83
83
  /*mobileView*/
@@ -85,30 +85,30 @@ function ce(i) {
85
85
  );
86
86
  },
87
87
  m(r, c) {
88
- G(r, e, c), t && t.m(e, null), i[21](e), s = !0;
88
+ R(r, e, c), t && t.m(e, null), i[21](e), s = !0;
89
89
  },
90
90
  p(r, [c]) {
91
91
  /*activeGame*/
92
92
  r[4] ? t ? (t.p(r, c), c & /*activeGame*/
93
- 16 && z(t, 1)) : (t = R(r), t.c(), z(t, 1), t.m(e, null)) : t && (T(), L(t, 1, 1, () => {
93
+ 16 && z(t, 1)) : (t = W(r), t.c(), z(t, 1), t.m(e, null)) : t && (I(), M(t, 1, 1, () => {
94
94
  t = null;
95
- }), B());
95
+ }), K());
96
96
  },
97
97
  i(r) {
98
98
  s || (z(t), s = !0);
99
99
  },
100
100
  o(r) {
101
- L(t), s = !1;
101
+ M(t), s = !1;
102
102
  },
103
103
  d(r) {
104
- r && W(e), t && t.d(), i[21](null);
104
+ r && G(e), t && t.d(), i[21](null);
105
105
  }
106
106
  };
107
107
  }
108
108
  let ue = null;
109
109
  function fe(i, e, s) {
110
110
  let t, r, c, { data: l = null } = e, { lang: a = "en" } = e, { clientstyling: o = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: w = "" } = e, { mbsource: b = "" } = e, { size: S = 324 } = e, { mobilesize: _ = 240 } = e, { contentdirection: C = "anticlockwise" } = e, k = null, u;
111
- const v = H(window.navigator.userAgent);
111
+ const v = B(window.navigator.userAgent);
112
112
  let f, m = !1;
113
113
  se();
114
114
  const j = () => {
@@ -117,15 +117,15 @@ function fe(i, e, s) {
117
117
  ae(h, d[h]);
118
118
  });
119
119
  });
120
- }, D = (n) => {
120
+ }, q = (n) => {
121
121
  f && f.setDrawResult(n);
122
- }, q = () => {
122
+ }, D = () => {
123
123
  m || (s(6, m = !0), f && f.eventSpin());
124
124
  };
125
- K(() => {
125
+ Q(() => {
126
126
  const n = (d) => {
127
- const { type: h, data: U } = d.data;
128
- h === "PrizeGameResult" ? D(U) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && q();
127
+ const { type: h, data: J } = d.data;
128
+ h === "PrizeGameResult" ? q(J) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && D();
129
129
  };
130
130
  return window.addEventListener("message", n), () => {
131
131
  window.removeEventListener("message", n);
@@ -136,8 +136,8 @@ function fe(i, e, s) {
136
136
  f = n, s(5, f);
137
137
  });
138
138
  }
139
- const x = () => s(6, m = !0), A = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), N = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
140
- function O(n) {
139
+ const x = () => s(6, m = !0), O = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), U = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
140
+ function A(n) {
141
141
  E[n ? "unshift" : "push"](() => {
142
142
  u = n, s(2, u);
143
143
  });
@@ -184,19 +184,19 @@ function fe(i, e, s) {
184
184
  t,
185
185
  p,
186
186
  x,
187
- A,
188
- N,
189
- O
187
+ O,
188
+ U,
189
+ A
190
190
  ];
191
191
  }
192
- class ge extends I {
192
+ class ge extends N {
193
193
  constructor(e) {
194
194
  super(), V(
195
195
  this,
196
196
  e,
197
197
  fe,
198
198
  ce,
199
- J,
199
+ F,
200
200
  {
201
201
  data: 9,
202
202
  lang: 0,