@everymatrix/mini-games-hub 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/BackButton-BMWvZ9Lb.js +39 -0
- package/components/BackButton-BNp3jVLa.js +39 -0
- package/components/BackButton-Bi1zFTns.js +38 -0
- package/components/BackButton-BvRNh4nJ.js +39 -0
- package/components/BackButton-C2-HXI2m.cjs +1 -0
- package/components/BackButton-C_v3b0Ky.cjs +1 -0
- package/components/BackButton-D5gfQ3NI.cjs +1 -0
- package/components/BackButton-DOW_OP-H.cjs +1 -0
- package/components/BackButton-DznJk3U4.js +38 -0
- package/components/BackButton-gIVGAf6v.js +38 -0
- package/components/BackButton-s0YqvufR.cjs +1 -0
- package/components/CoinFlip-5qt33VpA.js +399 -0
- package/components/CoinFlip-9-7FNYAn.js +364 -0
- package/components/CoinFlip-B0Q-xZDI.cjs +1 -0
- package/components/CoinFlip-BWNJK7aS.js +402 -0
- package/components/CoinFlip-BaNNMAYb.cjs +1 -0
- package/components/CoinFlip-BgRZmhbg.js +367 -0
- package/components/CoinFlip-COwy7cq1.cjs +1 -0
- package/components/CoinFlip-CSel9VZR.js +398 -0
- package/components/CoinFlip-CfHvSwpV.cjs +1 -0
- package/components/CoinFlip-ClRh6gz2.js +363 -0
- package/components/CoinFlip-D7Bwnl8W.cjs +1 -0
- package/components/CoinFlip-D8OLaQiA.js +367 -0
- package/components/CoinFlip-Dg2ZA_B2.cjs +1 -0
- package/components/CoinFlip-DoASIhfX.cjs +1 -0
- package/components/CoinFlip-pvtcTO4f.cjs +1 -0
- package/components/CoinFlip-vrZpkrnS.js +402 -0
- package/components/CoinRoyale-4Oe-x5-J.cjs +734 -0
- package/components/CoinRoyale-9nHMXODj.js +1017 -0
- package/components/CoinRoyale-B3bu5S4n.cjs +734 -0
- package/components/CoinRoyale-B4dKiGgG.cjs +736 -0
- package/components/CoinRoyale-BNxFDqe1.js +999 -0
- package/components/CoinRoyale-BwNvG3QI.js +1009 -0
- package/components/CoinRoyale-Bza84vCL.cjs +738 -0
- package/components/CoinRoyale-C-x6uDgh.js +989 -0
- package/components/CoinRoyale-CAI2JCvG.js +1020 -0
- package/components/CoinRoyale-CGHKZ-kc.js +997 -0
- package/components/CoinRoyale-CbqmmMPg.cjs +736 -0
- package/components/CoinRoyale-ChWsctqo.cjs +759 -0
- package/components/CoinRoyale-Cw8ImDP5.js +1040 -0
- package/components/CoinRoyale-CxIBSKFK.js +1017 -0
- package/components/CoinRoyale-D-rF6BV4.js +1019 -0
- package/components/CoinRoyale-DH-tQHtT.cjs +736 -0
- package/components/CoinRoyale-DmcgvBwG.js +997 -0
- package/components/CoinRoyale-d2utu3E3.cjs +759 -0
- package/components/CoinRoyale-xAkf1dm_.cjs +738 -0
- package/components/DrawResult-BHZeM1oX.cjs +1 -0
- package/components/DrawResult-BVtwLs-z.js +373 -0
- package/components/DrawResult-CG5KTjF7.cjs +1 -0
- package/components/DrawResult-COyPm6Cv.cjs +1 -0
- package/components/DrawResult-CbLPtjvZ.js +343 -0
- package/components/DrawResult-Cul15bW0.cjs +1 -0
- package/components/DrawResult-DMRODSxk.cjs +1 -0
- package/components/DrawResult-DTJJfQkP.js +373 -0
- package/components/DrawResult-DdL4fFZM.js +343 -0
- package/components/DrawResult-DxG4CaKK.cjs +1 -0
- package/components/DrawResult-SyzKXHgd.js +343 -0
- package/components/DrawResult-ZEAa0flC.js +373 -0
- package/components/GameCard-8k9KvRun.cjs +3 -0
- package/components/GameCard-A3k7RxF5.js +63 -0
- package/components/GameCard-B2td6J8K.js +62 -0
- package/components/{GameCard-BIn8BJ4U.cjs → GameCard-Bku9nP58.cjs} +3 -3
- package/components/GameCard-CBGi9i6m.cjs +3 -0
- package/components/GameCard-CHZmVd6n.cjs +3 -0
- package/components/GameCard-Cj4zAE8_.js +59 -0
- package/components/GameCard-CrKoQU1B.js +59 -0
- package/components/GameCard-DFVjSdtd.cjs +3 -0
- package/components/GameCard-DHetS96-.js +66 -0
- package/components/GameCard-DcWpuwMl.cjs +3 -0
- package/components/GameCard-jIcB63Tt.js +62 -0
- package/components/GameHistory-9Mf_u0La.js +231 -0
- package/components/GameHistory-BktmYuDa.js +231 -0
- package/components/GameHistory-CGAhNQKk.js +231 -0
- package/components/GameHistory-ChYjWDsa.cjs +12 -0
- package/components/GameHistory-CmiIChL-.cjs +12 -0
- package/components/GameHistory-CrrlOaAg.js +231 -0
- package/components/GameHistory-DVsHn3lx.cjs +12 -0
- package/components/GameHistory-_jU0BiqI.js +231 -0
- package/components/GameHistory-aQf3vf9u.cjs +12 -0
- package/components/GameHistory-lyXo0tYb.cjs +12 -0
- package/components/GameHistory-uzrT81kU.js +231 -0
- package/components/GameHistory-v6cI-TIF.cjs +12 -0
- package/components/GamePlaceholder-4oI8uJ-1.cjs +1 -0
- package/components/GamePlaceholder-Bp4nTJeL.js +84 -0
- package/components/GamePlaceholder-COiYGwNi.cjs +15 -0
- package/components/GamePlaceholder-CfJ4hx9w.js +70 -0
- package/components/GamePlaceholder-D9JEXsAk.js +84 -0
- package/components/GamePlaceholder-DGnB06iW.js +71 -0
- package/components/GamePlaceholder-DS5evGU6.js +85 -0
- package/components/GamePlaceholder-DmiU1G7G.cjs +15 -0
- package/components/GamePlaceholder-Dwo_YAUQ.cjs +1 -0
- package/components/GamePlaceholder-Uni3xW09.cjs +15 -0
- package/components/GamePlaceholder-fVPk29f9.cjs +15 -0
- package/components/GamePlaceholder-vUYYV2Ps.js +85 -0
- package/components/GameRules-41OkRwZu.js +115 -0
- package/components/GameRules-BwLJBo6z.cjs +3 -0
- package/components/GameRules-CRiycUU8.js +115 -0
- package/components/GameRules-CTKyBDZO.cjs +3 -0
- package/components/GameRules-CV9sxZYz.js +126 -0
- package/components/GameRules-CuuoMoqN.cjs +3 -0
- package/components/GameRules-Cy7jwBok.js +126 -0
- package/components/GameRules-DUD8OKC0.js +115 -0
- package/components/GameRules-Dkl0qVzr.js +126 -0
- package/components/GameRules-DpGqZdSj.cjs +3 -0
- package/components/GameRules-DrBYjWA6.cjs +3 -0
- package/components/GameRules-DrZ6w0LM.cjs +3 -0
- package/components/MiniGamesHub-BWPRLpyq.cjs +16 -0
- package/components/MiniGamesHub-BXcQ_faH.js +1022 -0
- package/components/MiniGamesHub-BjME_rom.cjs +16 -0
- package/components/{MiniGamesHub-D3BazHMT.js → MiniGamesHub-Bn-xvO1e.js} +419 -743
- package/components/MiniGamesHub-BpjzFxHO.cjs +16 -0
- package/components/MiniGamesHub-BtC6TmtK.cjs +16 -0
- package/components/MiniGamesHub-C-9Nf-x7.js +1029 -0
- package/components/MiniGamesHub-C0ESIt9P.cjs +16 -0
- package/components/MiniGamesHub-CfIFEVOU.js +1022 -0
- package/components/MiniGamesHub-Cj_6ebsL.cjs +16 -0
- package/components/MiniGamesHub-CktxKKTj.cjs +16 -0
- package/components/MiniGamesHub-CrPltGGl.js +1042 -0
- package/components/MiniGamesHub-D2Eet3pe.js +1048 -0
- package/components/{MiniGamesHub-Cu8_8yFl.js → MiniGamesHub-DCCeYwnc.js} +416 -760
- package/components/MiniGamesHub-DuyWceLB.cjs +16 -0
- package/components/MiniGamesHub-Dz8Ltp98.js +1048 -0
- package/components/MiniGamesHub-_uRBhzYg.js +1029 -0
- package/components/MiniGamesHub-kIXoGqbZ.cjs +16 -0
- package/components/MiniGamesHub-v8PPHifq.js +1072 -0
- package/components/MysteryChest-B4h9tqVR.js +1301 -0
- package/components/MysteryChest-BJCFkn02.cjs +737 -0
- package/components/MysteryChest-BXPAdruk.js +1290 -0
- package/components/MysteryChest-BuB9PD57.js +1240 -0
- package/components/MysteryChest-C40hwiCW.cjs +745 -0
- package/components/MysteryChest-CKPELFiF.cjs +737 -0
- package/components/MysteryChest-CRJtPhlo.cjs +743 -0
- package/components/MysteryChest-CScyc3Jw.cjs +745 -0
- package/components/MysteryChest-CheF_Rh5.cjs +739 -0
- package/components/MysteryChest-CrL8IXga.js +1309 -0
- package/components/MysteryChest-CrXzepqD.js +1296 -0
- package/components/MysteryChest-D6eks4QE.js +1254 -0
- package/components/MysteryChest-DJuhkpSa.cjs +743 -0
- package/components/MysteryChest-DOTlHt7A.js +1248 -0
- package/components/MysteryChest-DfggF659.js +1262 -0
- package/components/MysteryChest-Di-dVQnd.cjs +745 -0
- package/components/MysteryChest-DnstXEZJ.js +1298 -0
- package/components/MysteryChest-IcRh-Dcp.js +1247 -0
- package/components/MysteryChest-dyhqTxMg.cjs +739 -0
- package/components/WheelOfFortune--1feiOUD.js +950 -0
- package/components/WheelOfFortune-B0g1znMo.cjs +627 -0
- package/components/{WheelOfFortune-BlHeZ0q7.cjs → WheelOfFortune-BC0wwnC-.cjs} +8 -23
- package/components/{WheelOfFortune-CnaDpfpq.js → WheelOfFortune-BYxOqBjA.js} +151 -177
- package/components/WheelOfFortune-BgUB1tnc.js +942 -0
- package/components/WheelOfFortune-Bh2XAbs4.cjs +619 -0
- package/components/WheelOfFortune-BwmCnHru.js +926 -0
- package/components/WheelOfFortune-CHgHhi9q.cjs +619 -0
- package/components/WheelOfFortune-CRgnumXh.cjs +627 -0
- package/components/WheelOfFortune-CZ2cERqz.cjs +619 -0
- package/components/WheelOfFortune-CpYsfi8D.js +934 -0
- package/components/WheelOfFortune-Cy64rFDw.js +942 -0
- package/components/WheelOfFortune-DZ7fGpS9.cjs +619 -0
- package/components/WheelOfFortune-DZg0i79U.js +949 -0
- package/components/{WheelOfFortune-Lfc_l9kc.js → WheelOfFortune-DawF7WTd.js} +180 -231
- package/components/WheelOfFortune-DjdKhLGF.cjs +617 -0
- package/components/WheelOfFortune-M5VMIsnw.cjs +619 -0
- package/components/WheelOfFortune-kXjxp6t7.js +926 -0
- package/components/WheelOfFortune-pBG33-QJ.js +933 -0
- package/components/WheelOfFortuneWheel-7PqVvd_8.cjs +3 -0
- package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +3 -0
- package/components/WheelOfFortuneWheel-BABzaEBd.js +1812 -0
- package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +3 -0
- package/components/WheelOfFortuneWheel-BYEHNHdI.js +1807 -0
- package/components/WheelOfFortuneWheel-BoZ9evN7.cjs +3 -0
- package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +3 -0
- package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-CQCLWOFi.js} +310 -302
- package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +3 -0
- package/components/WheelOfFortuneWheel-DUE4gyGP.js +1741 -0
- package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-DXhwrWpD.js} +548 -539
- package/components/WheelOfFortuneWheel-DgVQP4GA.js +1735 -0
- package/components/bg-scene-Bz42V1FW.cjs +1 -0
- package/components/bg-scene-DpHgKCHj.js +4 -0
- package/components/coin-heads-BuJOLpyg.cjs +1 -0
- package/components/coin-heads-loqcEtH2.js +4 -0
- package/components/coin-tails-20vJmhwv.cjs +1 -0
- package/components/coin-tails-BTbsTwkz.js +4 -0
- package/components/confetti-CIk02Iw8.cjs +1 -0
- package/components/confetti-QNsE8ssC.js +14 -0
- package/components/constants-BDMySuIA.cjs +1 -0
- package/components/constants-DNSPUges.cjs +1 -0
- package/components/{constants-BYsDpbRv.js → constants-DdcZGwlM.js} +28 -19
- package/components/constants-DgCBmV7S.js +29 -0
- package/components/constants-Ds7J0meH.cjs +1 -0
- package/components/constants-Q_kcdbM6.js +29 -0
- package/components/countdown-2m_26DZf.js +157 -0
- package/components/countdown-BhZfvy-p.cjs +1 -0
- package/components/countdown-Bp3yWidJ.cjs +1 -0
- package/components/countdown-CH5h-cVr.js +146 -0
- package/components/countdown-CnUPVFlE.cjs +1 -0
- package/components/countdown-DmWNNDzv.js +168 -0
- package/components/countdown-YmZm4DrD.js +146 -0
- package/components/countdown-o9wqo7P7.cjs +1 -0
- package/components/key-CFhvp9Ju.cjs +1 -0
- package/components/key-D1g9LqMU.js +4 -0
- package/components/mystery-chest-bg-CGT-JTBW.js +4 -0
- package/components/mystery-chest-bg-vrQMNafs.cjs +1 -0
- package/components/mystery-chest-empty-CSY7-Vbl.cjs +1 -0
- package/components/mystery-chest-empty-D7bbrCHH.js +4 -0
- package/components/mystery-chest-locked-CIxpYU3v.js +4 -0
- package/components/mystery-chest-locked-DiyrvNm3.cjs +1 -0
- package/components/mystery-chest-win-D1NYItcd.js +4 -0
- package/components/mystery-chest-win-OxXZtQQd.cjs +1 -0
- package/components/remaining-times-Dexper1E.js +52 -0
- package/components/remaining-times-DiYnfuZB.js +23 -0
- package/components/remaining-times-Eqo69UfM.cjs +1 -0
- package/components/remaining-times-Gt6ytHaa.cjs +1 -0
- package/components/sparkles-B2kHtb3R.js +14 -0
- package/components/sparkles-BBLT1jhq.js +14 -0
- package/components/sparkles-BIl7-lvq.cjs +1 -0
- package/components/sparkles-BRrL2C0i.cjs +1 -0
- package/components/sparkles-BXFe6GK6.js +18 -0
- package/components/sparkles-C2rT-gN_.cjs +1 -0
- package/components/sparkles-Cfa1xTlQ.js +14 -0
- package/components/sparkles-Cot5wZXx.cjs +1 -0
- package/components/sparkles-D1RTsqBU.js +18 -0
- package/components/sparkles-DKbGLSaY.cjs +1 -0
- package/components/sparkles-DmL-n8od.cjs +1 -0
- package/components/sparkles-WqrZ-iXs.js +18 -0
- package/components/spin-controller-3wmy9F5-.cjs +1 -0
- package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BF6ymCY4.cjs} +1 -1
- package/components/spin-controller-Bc8nQATS.cjs +1 -0
- package/components/{spin-controller-BuBkKrNR.js → spin-controller-BcBfHUn9.js} +7 -7
- package/components/{spin-controller-REPdRwaB.js → spin-controller-CC3QZvWl.js} +8 -8
- package/components/spin-controller-CEIahkSh.cjs +1 -0
- package/components/spin-controller-CUb1rpPl.js +177 -0
- package/components/spin-controller-CVXfvzb7.cjs +1 -0
- package/components/spin-controller-DBglqs7W.js +175 -0
- package/components/spin-controller-Db-fwR9V.cjs +1 -0
- package/components/spin-controller-DkSQ07IL.js +177 -0
- package/components/spin-controller-Dxxx3-ya.js +175 -0
- package/components/utils-8EFTHKcu.cjs +3 -0
- package/components/utils-AGVOgUGK.cjs +3 -0
- package/components/{utils-C7uxZXaZ.js → utils-B3aNdyMX.js} +968 -958
- package/components/utils-BJHloM10.js +6055 -0
- package/components/utils-C1uNHR_J.cjs +3 -0
- package/components/{utils-d-JrZBJu.js → utils-DEov6Qk_.js} +902 -892
- package/components/utils-DQ220WK3.js +6016 -0
- package/components/utils-DwrHy7a0.js +6007 -0
- package/components/utils-Dwz-wUFC.cjs +3 -0
- package/components/utils-Rda5erjI.cjs +3 -0
- package/components/utils-fG_nzyoc.cjs +3 -0
- package/components/utils-qUyu-MNU.js +6064 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -0
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +12 -13
- package/components/GameCard-D3knomma.js +0 -56
- package/components/GameCard-Ds0FcnPp.js +0 -56
- package/components/MiniGamesHub-SjsgF4e2.cjs +0 -94
- package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
- package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
- package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
- package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
- package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
- package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
- package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
- package/components/WheelOfFortuneRules-VAMAiK0m.cjs +0 -5
- package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
- package/components/constants-DM6Vdc6Z.cjs +0 -1
- package/components/sparkles-BnriHiyw.cjs +0 -1
- package/components/sparkles-CSfeD2Zu.js +0 -25
- package/components/sparkles-CTrQ372y.js +0 -29
- package/components/utils-DQIHJIDu.cjs +0 -3
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";const r=require("./WheelOfFortuneWheel-B4fe-idJ.cjs"),e=require("./utils-Rda5erjI.cjs"),P="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='40'%20height='40'%20fill='url(%23pattern0_2493_12874)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_2493_12874'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_2493_12874'%20transform='scale(0.0125)'/%3e%3c/pattern%3e%3cimage%20id='image0_2493_12874'%20width='80'%20height='80'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAADAFBMVEVHcEyJ2J5Sik2i/Mqu/96e+Mie98Cv/qic87ZblVKr/9JWj06e/99MhU5QiE6c9LSt/9Om/+BUi01RiU1VjU6FxG2H6aKA8bpcl1Wu/q1YkVCt/Jqi/tVyvG9alFJ+67CZ9cma87yGxnBuqlpqpVWo8oeZ7Y+j6H2D04R74aKDwmp0sV1jm06p+Jiy/27/4hMmPEGR/7H3vQ74wgz/5BD/0Bn/6hr+1hr/2RojOUD3wA2t/3j/0xqV/6j/3xjzoRDVjRXHYQv/3Rr2sxD1txD+4Ry2/+D6xQ/ekhn/5xP/zBab/5v7yBL2ug7xmxD/5h2h/5DinBr5zBPuwi3yphNXkU/0qhHipxnafA/VcxDpwED/4xssQ0W9ZxCm/4PwviDwjw/ylRDb+rLruBu6WwvouDHDcxX1zyjP86jOaA2u+W6vUgv2rg/RhBQzXEjJWgmm8XWB66sLeFJgnFSpSgg3cFKw/ZXirzFtpko6UUbsrxqq/+LwgA2dLwT53CKvWQ/yiQ4ZIh/5zxLux0KcPAbdhA/bpC2U+J4mMic6eVtvsF+0/rwxSUfCRgjCeyLyySX21DO2/9Oo/8qa4XI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sQqfz7fwYkqFcMgeLF9YRPSbB4gxkVF+k5mOwfNdXV3zCLowMTHxEr4vnkypzp0rPge45OSSlmbhutCYt06vN0DYgMzBI9PHZ29hPb6iUgGK6MI0mm/+bBWGha//X0PdyK1BZE5Oo8PxGOkK5o2OEhrgqoQhb7cXWMnPt87NORobEXAaPjn+ofj0NBk7V/Z7qoTrPl3zLpPsyNg5YDqOkkn2spJLKvutBqEw5J1waCmjP/li6+Agml07Ko8SVVa29A94DGAuPDT6/f5c+OKzjRs9ICvI42k2GKqqtodEhK5Z9d7atCF085dbtm1rBphh+5bNEaHr3+LtH+S1dETfQiSAAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e";var I=r.from_html('<p class="mini-games-card-subtitle"> </p>'),W=r.from_html('<div class="mini-games-card-list"><div class="mini-games-card"><div class="mini-games-card-header"><h3 class="mini-games-card-title"> </h3> <!></div> <div class="mini-games-card-prize-row"><div class="mini-games-card-left"><div class="mini-games-card-coin"><img alt="Lottery Tooltip"/></div> <div class="mini-games-win-chances"><span class="mini-games-card-count"> </span> <span class="mini-games-card-prize-name"></span></div></div> <button class="mini-games-card-cta"> </button></div></div></div>');const q={hash:"svelte-kbirfa",code:` *,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;} .mini-games-card {border-radius:14px;overflow:hidden;width:100%;} .mini-games-card-header {padding:18px 16px 16px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.0509803922));background-image:radial-gradient(circle, var(--color-overlay-neutral-1, rgba(255, 255, 255, 0.0549019608)) 1px, transparent 1px);background-size:18px 18px;} .mini-games-card-header .mini-games-card-title {color:var(--color-text-default, #ffffff);font-size:20px;font-weight:700;margin-bottom:6px;} .mini-games-card-header .mini-games-card-subtitle {color:rgba(255, 255, 255, 0.65);font-size:15px;} .mini-games-card-prize-row {display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:var(--color-bg-surface-level-3, #60361f);background-image:radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);background-size:18px 18px;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));} .mini-games-card-prize-row .mini-games-card-left {display:flex;align-items:center;gap:10px;} .mini-games-card-prize-row .mini-games-card-coin {width:30px;height:30px;flex-shrink:0;} .mini-games-card-prize-row .mini-games-card-coin img {width:100%;height:100%;} .mini-games-card-prize-row .mini-games-win-chances {display:flex;align-items:center;gap:8px;} .mini-games-card-prize-row .mini-games-win-chances .mini-games-card-count {font-size:26px;font-weight:800;color:var(--color-text-default, #ffffff);align-self:center;} .mini-games-card-prize-row .mini-games-win-chances .mini-games-card-prize-name {font-size:12px;color:var(--color-text-default, #ffffff);} .mini-games-card-prize-row .mini-games-card-cta {background-color:var(--color-button-primary, #ffcc00);color:var(--color-text-button-primary, #261d00);border:none;border-radius:4px;padding:4px 12px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap;flex-shrink:0;} .mini-games-card-prize-row .mini-games-card-cta:active {background-color:var(--color-button-primary-hover, #e0b72b);}`};function w(p,x){e.push(x,!0),r.append_styles(p,q);const h=()=>e.store_get(e.$format,"$_",B),[B,b]=e.setup_stores(),z={flipcoin:"gameCardCoinFlips",mysterychest:"gameCardMysteryChests"},s=r.prop(x,"program",7),t=e.user_derived(s),y=()=>{window.postMessage({type:"PlayMiniGame",programId:s().id},window.location.href)};var Q={get program(){return s()},set program(i){s(i),e.flushSync()}},n=W(),v=e.child(n),o=e.child(v),c=e.child(o),k=e.child(c,!0);e.reset(c);var F=e.sibling(c,2);{var U=i=>{var a=I(),D=e.child(a,!0);e.reset(a),e.template_effect(()=>r.set_text(D,e.get(t).descriptions)),r.append(i,a)};r.if_block(F,i=>{e.get(t).descriptions&&i(U)})}e.reset(o);var f=e.sibling(o,2),m=e.child(f),l=e.child(m),C=e.child(l);e.reset(l);var u=e.sibling(l,2),d=e.child(u),L=e.child(d,!0);e.reset(d);var A=e.sibling(d,2);r.html(A,()=>{var i,a;return h()((a=z[(i=e.get(t).type)==null?void 0:i.toLowerCase()])!=null?a:"gameCardWheelSpins")},!0),e.reset(A),e.reset(u),e.reset(m);var g=e.sibling(m,2),R=e.child(g,!0);e.reset(g),e.reset(f),e.reset(v),e.reset(n),e.template_effect(i=>{r.set_text(k,e.get(t).name),r.set_attribute(C,"src",P),r.set_text(L,e.get(t).remainingTimes),r.set_text(R,i)},[()=>h()("playNow")]),r.delegated("click",g,y),r.append(p,n);var j=e.pop(Q);return b(),j}r.delegate(["click"]);r.create_custom_element(w,{program:{}},[],[],{mode:"open"});exports.GameCard=w;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { d as q, c as G, a as J, p as E, i as K, q as N, s as c, j as X, m as Y, b as z, f as Q } from "./WheelOfFortuneWheel-BYEHNHdI.js";
|
|
2
|
+
import { G as M, aO as t, a0 as n, ah as y, L as S, aT as e, aX as Z, aP as V, aQ as O, aG as _, aR as $, aW as a } from "./utils-B3aNdyMX.js";
|
|
3
|
+
const aa = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='40'%20height='40'%20fill='url(%23pattern0_2493_12874)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_2493_12874'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_2493_12874'%20transform='scale(0.0125)'/%3e%3c/pattern%3e%3cimage%20id='image0_2493_12874'%20width='80'%20height='80'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAADAFBMVEVHcEyJ2J5Sik2i/Mqu/96e+Mie98Cv/qic87ZblVKr/9JWj06e/99MhU5QiE6c9LSt/9Om/+BUi01RiU1VjU6FxG2H6aKA8bpcl1Wu/q1YkVC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CsqtFN8GvyJ7Yh3+QzwcMBQZ1YoUmvbgZ7z+jOICEhFmlqtpsX10JxAQ4vFB9yPP/zm1dyhRMjf8+dXOwivcmXA5AFuw8QufcWNUoYtZ2VpRJhqLywsKioqRDjXHY3LVQ8nZKYu/9ofhFfS3BcR868RQazNloqf4K1Ll8yMOQAMYNUu0MU7B5014qI0maKtoa2N/dXPswrDo/9jiBGlxcTzTa3DPT0WnVejQShNmobI6z3odNbUWBgF8DpBC/MqwhtYsWNeTQwQM9GYRX9bZrFYnKVer9fP8tNqLDKFrJTpRryXYC/AW/+awQ32mJnpGLncufQ7+rnTqXMS1SDpGAUjk7EI1/YE7I0ew/G+jhf0mNl49lFFxb0/eyw1y7KU+liWkTGKblDnkxPIXjLkt7nv9TxYx1itthHP5rpOnz5yc4H1+cxIPgXLsgqGYdhuVsFOYNzoMeC1GPrC17x53KdFJhHy/MjIyPzQ0EJ3N4IhsQqfz7fwYkqFcMgeLF9YRPSbB4gxkVF+k5mOwfNdXV3zCLowMTHxEr4vnkypzp0rPge45OSSlmbhutCYt06vN0DYgMzBI9PHZ29hPb6iUgGK6MI0mm/+bBWGha//X0PdyK1BZE5Oo8PxGOkK5o2OEhrgqoQhb7cXWMnPt87NORobEXAaPjn+ofj0NBk7V/Z7qoTrPl3zLpPsyNg5YDqOkkn2spJLKvutBqEw5J1waCmjP/li6+Agml07Ko8SVVa29A94DGAuPDT6/f5c+OKzjRs9ICvI42k2GKqqtodEhK5Z9d7atCF085dbtm1rBphh+5bNEaHr3+LtH+S1dETfQiSAAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e";
|
|
4
|
+
var ea = Q('<p class="mini-games-card-subtitle"> </p>'), ra = Q('<div class="mini-games-card-list"><div class="mini-games-card"><div class="mini-games-card-header"><h3 class="mini-games-card-title"> </h3> <!></div> <div class="mini-games-card-prize-row"><div class="mini-games-card-left"><div class="mini-games-card-coin"><img alt="Lottery Tooltip"/></div> <div class="mini-games-win-chances"><span class="mini-games-card-count"> </span> <span class="mini-games-card-prize-name"></span></div></div> <button class="mini-games-card-cta"> </button></div></div></div>');
|
|
5
|
+
const ia = {
|
|
6
|
+
hash: "svelte-kbirfa",
|
|
7
|
+
code: ` *,
|
|
8
|
+
*::before,
|
|
9
|
+
*::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;} .mini-games-card {border-radius:14px;overflow:hidden;width:100%;} .mini-games-card-header {padding:18px 16px 16px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.0509803922));background-image:radial-gradient(circle, var(--color-overlay-neutral-1, rgba(255, 255, 255, 0.0549019608)) 1px, transparent 1px);background-size:18px 18px;} .mini-games-card-header .mini-games-card-title {color:var(--color-text-default, #ffffff);font-size:20px;font-weight:700;margin-bottom:6px;} .mini-games-card-header .mini-games-card-subtitle {color:rgba(255, 255, 255, 0.65);font-size:15px;} .mini-games-card-prize-row {display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:var(--color-bg-surface-level-3, #60361f);background-image:radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);background-size:18px 18px;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));} .mini-games-card-prize-row .mini-games-card-left {display:flex;align-items:center;gap:10px;} .mini-games-card-prize-row .mini-games-card-coin {width:30px;height:30px;flex-shrink:0;} .mini-games-card-prize-row .mini-games-card-coin img {width:100%;height:100%;} .mini-games-card-prize-row .mini-games-win-chances {display:flex;align-items:center;gap:8px;} .mini-games-card-prize-row .mini-games-win-chances .mini-games-card-count {font-size:26px;font-weight:800;color:var(--color-text-default, #ffffff);align-self:center;} .mini-games-card-prize-row .mini-games-win-chances .mini-games-card-prize-name {font-size:12px;color:var(--color-text-default, #ffffff);} .mini-games-card-prize-row .mini-games-card-cta {background-color:var(--color-button-primary, #ffcc00);color:var(--color-text-button-primary, #261d00);border:none;border-radius:4px;padding:4px 12px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap;flex-shrink:0;} .mini-games-card-prize-row .mini-games-card-cta:active {background-color:var(--color-button-primary-hover, #e0b72b);}`
|
|
10
|
+
};
|
|
11
|
+
function sa(v, f) {
|
|
12
|
+
M(f, !0), J(v, ia);
|
|
13
|
+
const u = () => V(O, "$_", k), [k, L] = $(), U = {
|
|
14
|
+
flipcoin: "gameCardCoinFlips",
|
|
15
|
+
mysterychest: "gameCardMysteryChests"
|
|
16
|
+
}, o = E(f, "program", 7), s = Z(o), F = () => {
|
|
17
|
+
window.postMessage({ type: "PlayMiniGame", programId: o().id }, window.location.href);
|
|
18
|
+
};
|
|
19
|
+
var R = {
|
|
20
|
+
get program() {
|
|
21
|
+
return o();
|
|
22
|
+
},
|
|
23
|
+
set program(r) {
|
|
24
|
+
o(r), _();
|
|
25
|
+
}
|
|
26
|
+
}, m = ra(), A = e(m), d = e(A), g = e(d), j = e(g, !0);
|
|
27
|
+
a(g);
|
|
28
|
+
var C = t(g, 2);
|
|
29
|
+
{
|
|
30
|
+
var P = (r) => {
|
|
31
|
+
var i = ea(), T = e(i, !0);
|
|
32
|
+
a(i), y(() => c(T, n(s).descriptions)), z(r, i);
|
|
33
|
+
};
|
|
34
|
+
K(C, (r) => {
|
|
35
|
+
n(s).descriptions && r(P);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
a(d);
|
|
39
|
+
var w = t(d, 2), l = e(w), p = e(l), D = e(p);
|
|
40
|
+
a(p);
|
|
41
|
+
var B = t(p, 2), x = e(B), I = e(x, !0);
|
|
42
|
+
a(x);
|
|
43
|
+
var b = t(x, 2);
|
|
44
|
+
N(b, () => {
|
|
45
|
+
var r, i;
|
|
46
|
+
return u()((i = U[(r = n(s).type) == null ? void 0 : r.toLowerCase()]) != null ? i : "gameCardWheelSpins");
|
|
47
|
+
}, !0), a(b), a(B), a(l);
|
|
48
|
+
var h = t(l, 2), W = e(h, !0);
|
|
49
|
+
a(h), a(w), a(A), a(m), y(
|
|
50
|
+
(r) => {
|
|
51
|
+
c(j, n(s).name), X(D, "src", aa), c(I, n(s).remainingTimes), c(W, r);
|
|
52
|
+
},
|
|
53
|
+
[() => u()("playNow")]
|
|
54
|
+
), Y("click", h, F), z(v, m);
|
|
55
|
+
var H = S(R);
|
|
56
|
+
return L(), H;
|
|
57
|
+
}
|
|
58
|
+
q(["click"]);
|
|
59
|
+
G(sa, { program: {} }, [], [], { mode: "open" });
|
|
60
|
+
export {
|
|
61
|
+
sa as G
|
|
62
|
+
};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { d as Ze, c as je, a as He, p as ne, o as Se, i as R, b as d, f as C, e as le, g as ve, s as p, h as ue, j as de, k as Y, l as Ae, m as pe } from "./WheelOfFortuneWheel-BYEHNHdI.js";
|
|
2
|
+
import { G as Fe, aM as J, aC as We, a0 as e, ah as I, L as De, aP as Oe, au as Z, aV as Xe, aT as s, aG as ce, aR as Ne, aQ as Qe, aN as K, aO as o, aW as a, b1 as Ue, b2 as we, aX as fe } from "./utils-B3aNdyMX.js";
|
|
3
|
+
var Ve = C('<div class="game-history-item history-grid history-skeleton-row svelte-1rfwd7v" aria-hidden="true"><p class="svelte-1rfwd7v"><span class="history-skeleton-bar svelte-1rfwd7v"></span></p> <p class="svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--name svelte-1rfwd7v"> </span></p> <div class="date-time-cell svelte-1rfwd7v"><span class="history-skeleton-bar svelte-1rfwd7v">Oct 00, 0000</span> <span class="history-skeleton-bar svelte-1rfwd7v">00:00:00</span></div> <div class="history-icon svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--icon svelte-1rfwd7v"></span></div> <div class="history-icon svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--icon svelte-1rfwd7v"></span></div></div>'), $e = C('<div class="game-history-header history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v">#</p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p></div> <!>', 1), qe = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.3977 2.60225C10.6174 2.82192 10.6174 3.17808 10.3977 3.39775L4.89775 8.89775C4.67808 9.11742 4.32192 9.11742 4.10225 8.89775L1.60225 6.39775C1.38258 6.17808 1.38258 5.82192 1.60225 5.60225C1.82192 5.38258 2.17808 5.38258 2.39775 5.60225L4.5 7.7045L9.60225 2.60225C9.82192 2.38258 10.1781 2.38258 10.3977 2.60225Z" fill="#29CF00" class="svelte-1rfwd7v"></path></svg>'), Je = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path d="M6.73367 6.0952L9.82534 3.0327C9.92639 2.92941 9.98768 2.79371 9.99835 2.6496C10.009 2.50549 9.96841 2.36225 9.88367 2.2452C9.83646 2.1749 9.77377 2.11636 9.70041 2.07407C9.62705 2.03178 9.54498 2.00686 9.46049 2.00123C9.376 1.99559 9.29135 2.0094 9.21302 2.04158C9.1347 2.07376 9.06479 2.12346 9.00867 2.18686L5.91701 5.27853L2.82534 2.18686C2.76922 2.12346 2.69931 2.07376 2.62099 2.04158C2.54266 2.0094 2.45801 1.99559 2.37352 2.00123C2.28903 2.00686 2.20696 2.03178 2.1336 2.07407C2.06024 2.11636 1.99755 2.1749 1.95034 2.2452C1.8656 2.36225 1.82498 2.50549 1.83566 2.6496C1.84633 2.79371 1.90762 2.92941 2.00867 3.0327L5.10034 6.0952L2.00867 9.1577C1.90762 9.26099 1.84633 9.39668 1.83566 9.54079C1.82498 9.6849 1.8656 9.82814 1.95034 9.9452C1.99755 10.0155 2.06024 10.074 2.1336 10.1163C2.20696 10.1586 2.28903 10.1835 2.37352 10.1892C2.45801 10.1948 2.54266 10.181 2.62099 10.1488C2.69931 10.1166 2.76922 10.0669 2.82534 10.0035L5.91701 6.91186L9.00867 10.0035C9.06479 10.0669 9.1347 10.1166 9.21302 10.1488C9.29135 10.181 9.376 10.1948 9.46049 10.1892C9.54498 10.1835 9.62705 10.1586 9.70041 10.1163C9.77377 10.074 9.83646 10.0155 9.88367 9.9452C9.96841 9.82814 10.009 9.6849 9.99835 9.54079C9.98768 9.39668 9.92639 9.26099 9.82534 9.1577L6.73367 6.0952Z" fill="#EB0000" class="svelte-1rfwd7v"></path></svg>'), Ke = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.3977 2.60225C10.6174 2.82192 10.6174 3.17808 10.3977 3.39775L4.89775 8.89775C4.67808 9.11742 4.32192 9.11742 4.10225 8.89775L1.60225 6.39775C1.38258 6.17808 1.38258 5.82192 1.60225 5.60225C1.82192 5.38258 2.17808 5.38258 2.39775 5.60225L4.5 7.7045L9.60225 2.60225C9.82192 2.38258 10.1781 2.38258 10.3977 2.60225Z" fill="#29CF00" class="svelte-1rfwd7v"></path></svg>'), Ye = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path d="M6.73367 6.0952L9.82534 3.0327C9.92639 2.92941 9.98768 2.79371 9.99835 2.6496C10.009 2.50549 9.96841 2.36225 9.88367 2.2452C9.83646 2.1749 9.77377 2.11636 9.70041 2.07407C9.62705 2.03178 9.54498 2.00686 9.46049 2.00123C9.376 1.99559 9.29135 2.0094 9.21302 2.04158C9.1347 2.07376 9.06479 2.12346 9.00867 2.18686L5.91701 5.27853L2.82534 2.18686C2.76922 2.12346 2.69931 2.07376 2.62099 2.04158C2.54266 2.0094 2.45801 1.99559 2.37352 2.00123C2.28903 2.00686 2.20696 2.03178 2.1336 2.07407C2.06024 2.11636 1.99755 2.1749 1.95034 2.2452C1.8656 2.36225 1.82498 2.50549 1.83566 2.6496C1.84633 2.79371 1.90762 2.92941 2.00867 3.0327L5.10034 6.0952L2.00867 9.1577C1.90762 9.26099 1.84633 9.39668 1.83566 9.54079C1.82498 9.6849 1.8656 9.82814 1.95034 9.9452C1.99755 10.0155 2.06024 10.074 2.1336 10.1163C2.20696 10.1586 2.28903 10.1835 2.37352 10.1892C2.45801 10.1948 2.54266 10.181 2.62099 10.1488C2.69931 10.1166 2.76922 10.0669 2.82534 10.0035L5.91701 6.91186L9.00867 10.0035C9.06479 10.0669 9.1347 10.1166 9.21302 10.1488C9.29135 10.181 9.376 10.1948 9.46049 10.1892C9.54498 10.1835 9.62705 10.1586 9.70041 10.1163C9.77377 10.074 9.83646 10.0155 9.88367 9.9452C9.96841 9.82814 10.009 9.6849 9.99835 9.54079C9.98768 9.39668 9.92639 9.26099 9.82534 9.1577L6.73367 6.0952Z" fill="#EB0000" class="svelte-1rfwd7v"></path></svg>'), et = C('<div class="game-history-item history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <div class="date-time-cell svelte-1rfwd7v"><span class="svelte-1rfwd7v"> </span> <span class="svelte-1rfwd7v"> </span></div> <div class="history-icon svelte-1rfwd7v"><!></div> <div class="history-icon svelte-1rfwd7v"><!></div></div>'), tt = C('<span class="pagination-ellipsis svelte-1rfwd7v">…</span>'), at = C("<button> </button>"), st = C('<div class="game-history-pagination svelte-1rfwd7v"><button class="pagination-button pagination-nav svelte-1rfwd7v">‹</button> <div class="pagination-pages svelte-1rfwd7v"></div> <button class="pagination-button pagination-nav svelte-1rfwd7v">›</button></div>'), rt = C('<div class="game-history-header history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v">#</p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p></div> <!> <!>', 1), ot = C('<h2 class="no-history svelte-1rfwd7v"> </h2>'), it = C('<div class="history-list svelte-1rfwd7v"><!></div>');
|
|
4
|
+
const nt = {
|
|
5
|
+
hash: "svelte-1rfwd7v",
|
|
6
|
+
code: ` *,
|
|
7
|
+
*::before,
|
|
8
|
+
*::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;} .history-list {display:flex;flex-direction:column;gap:6px;width:100%;max-width:700px;margin:0 auto;} .history-grid {display:grid;grid-template-columns:28px 1fr 1fr 44px 60px;align-items:center;gap:8px;} .date-time-cell {display:flex;flex-direction:column;gap:2px;} .date-time-cell span:last-child {opacity:0.6;font-size:10px;} .game-history-item {width:100%;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:8px 12px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);font-size:12px;} .game-history-header {width:100%;padding:6px 12px;color:var(--color-text-default, #ffffff);opacity:0.6;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em;} .history-icon {display:flex;align-items:center;justify-content:center;} .no-history {width:100%;font-size:14px;font-weight:400;margin-top:12px;} .game-history-pagination {display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:8px;} .pagination-pages {display:flex;align-items:center;gap:4px;} .pagination-ellipsis {color:var(--color-text-default, #ffffff);padding:0 2px;user-select:none;opacity:0.6;font-size:14px;line-height:32px;} .pagination-button {border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:6px 10px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);cursor:pointer;transition:background-color 0.15s ease;font-size:13px;line-height:1;} .pagination-button:hover:not(:disabled) {background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));} .pagination-button:disabled {opacity:0.4;cursor:not-allowed;} .pagination-page {min-width:32px;text-align:center;padding:6px 8px;} .pagination-nav {min-width:32px;text-align:center;font-size:16px;padding:4px 8px;flex-shrink:0;} .pagination-page.active {background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));border-color:var(--color-text-default, #ffffff);font-weight:600;}
|
|
9
|
+
@keyframes svelte-1rfwd7v-skeleton-pulse {
|
|
10
|
+
0%, 100% {
|
|
11
|
+
opacity: 0.3;
|
|
12
|
+
}
|
|
13
|
+
50% {
|
|
14
|
+
opacity: 0.6;
|
|
15
|
+
}
|
|
16
|
+
} .history-skeleton-row {pointer-events:none;
|
|
17
|
+
animation: svelte-1rfwd7v-skeleton-pulse 1.4s ease-in-out infinite;} .history-skeleton-bar {display:inline-block;max-width:100%;border-radius:4px;background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));color:transparent;user-select:none;} .history-skeleton-bar--name {width:70%;} .history-skeleton-bar--icon {width:12px;height:12px;}`
|
|
18
|
+
};
|
|
19
|
+
function lt(ge, W) {
|
|
20
|
+
Fe(W, !0), He(ge, nt);
|
|
21
|
+
const r = () => Oe(Qe, "$_", xe), [xe, me] = Ne(), ee = ne(W, "programId", 7), te = ne(W, "endpoint", 7), D = ne(W, "session", 7);
|
|
22
|
+
let O = J(!0), w = J(We([])), _e = J(!1);
|
|
23
|
+
const j = 10;
|
|
24
|
+
let f = J(1);
|
|
25
|
+
const X = fe(() => e(w) && e(w).length > 0 ? Math.ceil(e(w).length / j) : 1), ye = fe(() => e(w) && e(w).length > 0 ? e(w).slice((e(f) - 1) * j, e(f) * j) : []), be = {
|
|
26
|
+
bonus: r()("prizeBonus"),
|
|
27
|
+
role: r()("prizeRole"),
|
|
28
|
+
tournament: r()("prizeTournament"),
|
|
29
|
+
ticket: r()("prizeTicket"),
|
|
30
|
+
loyalty: r()("prizeLoyalty"),
|
|
31
|
+
challenge: r()("prizeChallenge"),
|
|
32
|
+
noprize: r()("noWin"),
|
|
33
|
+
custom: r()("prizeCustom")
|
|
34
|
+
}, Ce = fe(() => {
|
|
35
|
+
const t = e(X);
|
|
36
|
+
if (t <= 5)
|
|
37
|
+
return Array.from({ length: t }, (l, h) => h + 1);
|
|
38
|
+
const i = [], g = e(f);
|
|
39
|
+
i.push(1), g > 3 && i.push("...");
|
|
40
|
+
const n = Math.max(2, g - 1), L = Math.min(t - 1, g + 1);
|
|
41
|
+
for (let l = n; l <= L; l++)
|
|
42
|
+
i.push(l);
|
|
43
|
+
return g < t - 2 && i.push("..."), t > 1 && i.push(t), i;
|
|
44
|
+
}), ae = (t) => {
|
|
45
|
+
t < 1 || t > e(X) || (Z(f, t, !0), window.scrollTo({ top: 0, behavior: "smooth" }));
|
|
46
|
+
}, ke = () => {
|
|
47
|
+
Z(O, !0);
|
|
48
|
+
const t = new URL(`${te()}/v1/wof/outcome/${ee()}`), i = new Headers();
|
|
49
|
+
D() && i.append("X-SessionId", D()), fetch(t, { method: "GET", headers: i, cache: "no-store" }).then((n) => n.json()).then((n) => {
|
|
50
|
+
Z(w, n == null ? void 0 : n.items.map((L) => Xe(L, "history")), !0), Z(f, 1);
|
|
51
|
+
}).catch((n) => {
|
|
52
|
+
console.log(n), Z(_e, !0);
|
|
53
|
+
}).finally(() => Z(O, !1));
|
|
54
|
+
};
|
|
55
|
+
Se(() => {
|
|
56
|
+
ke();
|
|
57
|
+
});
|
|
58
|
+
var Le = {
|
|
59
|
+
get programId() {
|
|
60
|
+
return ee();
|
|
61
|
+
},
|
|
62
|
+
set programId(t) {
|
|
63
|
+
ee(t), ce();
|
|
64
|
+
},
|
|
65
|
+
get endpoint() {
|
|
66
|
+
return te();
|
|
67
|
+
},
|
|
68
|
+
set endpoint(t) {
|
|
69
|
+
te(t), ce();
|
|
70
|
+
},
|
|
71
|
+
get session() {
|
|
72
|
+
return D();
|
|
73
|
+
},
|
|
74
|
+
set session(t) {
|
|
75
|
+
D(t), ce();
|
|
76
|
+
}
|
|
77
|
+
}, N = it(), ze = s(N);
|
|
78
|
+
{
|
|
79
|
+
var Me = (t) => {
|
|
80
|
+
var i = $e(), g = K(i), n = o(s(g), 2), L = s(n, !0);
|
|
81
|
+
a(n);
|
|
82
|
+
var l = o(n, 2), h = s(l, !0);
|
|
83
|
+
a(l);
|
|
84
|
+
var x = o(l, 2), z = s(x, !0);
|
|
85
|
+
a(x);
|
|
86
|
+
var Q = o(x, 2), H = s(Q, !0);
|
|
87
|
+
a(Q), a(g);
|
|
88
|
+
var se = o(g, 2);
|
|
89
|
+
le(se, 17, () => Array(j), ve, (M, U, T, V) => {
|
|
90
|
+
var G = Ve(), $ = s(G), re = s($);
|
|
91
|
+
re.textContent = `${T + 1}.`, a($), Ue(8), a(G), d(M, G);
|
|
92
|
+
}), I(
|
|
93
|
+
(M, U, T, V) => {
|
|
94
|
+
p(L, M), p(h, U), p(z, T), p(H, V);
|
|
95
|
+
},
|
|
96
|
+
[
|
|
97
|
+
() => r()("name"),
|
|
98
|
+
() => r()("date"),
|
|
99
|
+
() => r()("spin"),
|
|
100
|
+
() => r()("assigned")
|
|
101
|
+
]
|
|
102
|
+
), d(t, i);
|
|
103
|
+
}, Be = (t) => {
|
|
104
|
+
var i = ue(), g = K(i);
|
|
105
|
+
{
|
|
106
|
+
var n = (l) => {
|
|
107
|
+
var h = rt(), x = K(h), z = o(s(x), 2), Q = s(z, !0);
|
|
108
|
+
a(z);
|
|
109
|
+
var H = o(z, 2), se = s(H, !0);
|
|
110
|
+
a(H);
|
|
111
|
+
var M = o(H, 2), U = s(M, !0);
|
|
112
|
+
a(M);
|
|
113
|
+
var T = o(M, 2), V = s(T, !0);
|
|
114
|
+
a(T), a(x);
|
|
115
|
+
var G = o(x, 2);
|
|
116
|
+
le(G, 17, () => e(ye), ve, (B, c, k) => {
|
|
117
|
+
var m = et(), E = s(m), S = s(E);
|
|
118
|
+
a(E);
|
|
119
|
+
var u = o(E, 2), q = s(u, !0);
|
|
120
|
+
a(u);
|
|
121
|
+
var A = o(u, 2), F = s(A), oe = s(F, !0);
|
|
122
|
+
a(F);
|
|
123
|
+
var _ = o(F, 2), y = s(_, !0);
|
|
124
|
+
a(_), a(A);
|
|
125
|
+
var P = o(A, 2), ie = s(P);
|
|
126
|
+
{
|
|
127
|
+
var Ie = (v) => {
|
|
128
|
+
var b = qe();
|
|
129
|
+
d(v, b);
|
|
130
|
+
}, Te = (v) => {
|
|
131
|
+
var b = Je();
|
|
132
|
+
d(v, b);
|
|
133
|
+
};
|
|
134
|
+
R(ie, (v) => {
|
|
135
|
+
e(c).state === "drawn" || e(c).state === "fulfilled" ? v(Ie) : v(Te, -1);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
a(P);
|
|
139
|
+
var he = o(P, 2), Ge = s(he);
|
|
140
|
+
{
|
|
141
|
+
var Pe = (v) => {
|
|
142
|
+
var b = Ke();
|
|
143
|
+
d(v, b);
|
|
144
|
+
}, Re = (v) => {
|
|
145
|
+
var b = Ye();
|
|
146
|
+
d(v, b);
|
|
147
|
+
};
|
|
148
|
+
R(Ge, (v) => {
|
|
149
|
+
e(c).completed && e(c).state === "fulfilled" ? v(Pe) : v(Re, -1);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
a(he), a(m), I(
|
|
153
|
+
(v, b) => {
|
|
154
|
+
p(S, `${(e(f) - 1) * j + k + 1}.`), p(q, be[e(c).type] || "-"), p(oe, v), p(y, b);
|
|
155
|
+
},
|
|
156
|
+
[
|
|
157
|
+
() => we(e(c).time).date,
|
|
158
|
+
() => we(e(c).time).time
|
|
159
|
+
]
|
|
160
|
+
), d(B, m);
|
|
161
|
+
});
|
|
162
|
+
var $ = o(G, 2);
|
|
163
|
+
{
|
|
164
|
+
var re = (B) => {
|
|
165
|
+
var c = st(), k = s(c), m = o(k, 2);
|
|
166
|
+
le(m, 21, () => e(Ce), ve, (S, u) => {
|
|
167
|
+
var q = ue(), A = K(q);
|
|
168
|
+
{
|
|
169
|
+
var F = (_) => {
|
|
170
|
+
var y = tt();
|
|
171
|
+
d(_, y);
|
|
172
|
+
}, oe = (_) => {
|
|
173
|
+
var y = at();
|
|
174
|
+
let P;
|
|
175
|
+
var ie = s(y, !0);
|
|
176
|
+
a(y), I(() => {
|
|
177
|
+
P = Ae(y, 1, "pagination-button pagination-page svelte-1rfwd7v", null, P, { active: e(f) === e(u) }), p(ie, e(u));
|
|
178
|
+
}), pe("click", y, () => ae(e(u))), d(_, y);
|
|
179
|
+
};
|
|
180
|
+
R(A, (_) => {
|
|
181
|
+
e(u) === "..." ? _(F) : _(oe, -1);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
d(S, q);
|
|
185
|
+
}), a(m);
|
|
186
|
+
var E = o(m, 2);
|
|
187
|
+
a(c), I(
|
|
188
|
+
(S, u) => {
|
|
189
|
+
k.disabled = e(f) === 1, de(k, "aria-label", S), E.disabled = e(f) === e(X), de(E, "aria-label", u);
|
|
190
|
+
},
|
|
191
|
+
[() => r()("previous"), () => r()("next")]
|
|
192
|
+
), pe("click", k, () => ae(e(f) - 1)), pe("click", E, () => ae(e(f) + 1)), d(B, c);
|
|
193
|
+
};
|
|
194
|
+
R($, (B) => {
|
|
195
|
+
e(X) > 1 && B(re);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
I(
|
|
199
|
+
(B, c, k, m) => {
|
|
200
|
+
p(Q, B), p(se, c), p(U, k), p(V, m);
|
|
201
|
+
},
|
|
202
|
+
[
|
|
203
|
+
() => r()("name"),
|
|
204
|
+
() => r()("date"),
|
|
205
|
+
() => r()("spin"),
|
|
206
|
+
() => r()("assigned")
|
|
207
|
+
]
|
|
208
|
+
), d(l, h);
|
|
209
|
+
}, L = (l) => {
|
|
210
|
+
var h = ot(), x = s(h, !0);
|
|
211
|
+
a(h), I((z) => p(x, z), [() => r()("noHistory")]), d(l, h);
|
|
212
|
+
};
|
|
213
|
+
R(g, (l) => {
|
|
214
|
+
e(w) && e(w).length > 0 ? l(n) : l(L, -1);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
d(t, i);
|
|
218
|
+
};
|
|
219
|
+
R(ze, (t) => {
|
|
220
|
+
e(O) ? t(Me) : t(Be, -1);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
a(N), I(() => de(N, "aria-busy", e(O))), d(ge, N);
|
|
224
|
+
var Ee = De(Le);
|
|
225
|
+
return me(), Ee;
|
|
226
|
+
}
|
|
227
|
+
Ze(["click"]);
|
|
228
|
+
je(lt, { programId: {}, endpoint: {}, session: {} }, [], [], { mode: "open" });
|
|
229
|
+
export {
|
|
230
|
+
lt as G
|
|
231
|
+
};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { d as je, c as De, a as Ge, p as ne, o as He, i as Z, b as d, f as C, e as le, g as ve, s as p, h as ue, j as de, k as Y, l as Se, m as pe } from "./WheelOfFortuneWheel-DXhwrWpD.js";
|
|
2
|
+
import { D as Ae, aM as J, az as Fe, Z as e, ae as E, I as We, aP as Oe, ar as j, aV as Xe, aT as s, aD as ce, aR as Ne, aQ as Qe, aN as K, aO as o, aW as a, b1 as Ue, b2 as we, aX as fe } from "./utils-qUyu-MNU.js";
|
|
3
|
+
var Ve = C('<div class="game-history-item history-grid history-skeleton-row svelte-1rfwd7v" aria-hidden="true"><p class="svelte-1rfwd7v"><span class="history-skeleton-bar svelte-1rfwd7v"></span></p> <p class="svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--name svelte-1rfwd7v"> </span></p> <div class="date-time-cell svelte-1rfwd7v"><span class="history-skeleton-bar svelte-1rfwd7v">Oct 00, 0000</span> <span class="history-skeleton-bar svelte-1rfwd7v">00:00:00</span></div> <div class="history-icon svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--icon svelte-1rfwd7v"></span></div> <div class="history-icon svelte-1rfwd7v"><span class="history-skeleton-bar history-skeleton-bar--icon svelte-1rfwd7v"></span></div></div>'), $e = C('<div class="game-history-header history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v">#</p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p></div> <!>', 1), qe = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.3977 2.60225C10.6174 2.82192 10.6174 3.17808 10.3977 3.39775L4.89775 8.89775C4.67808 9.11742 4.32192 9.11742 4.10225 8.89775L1.60225 6.39775C1.38258 6.17808 1.38258 5.82192 1.60225 5.60225C1.82192 5.38258 2.17808 5.38258 2.39775 5.60225L4.5 7.7045L9.60225 2.60225C9.82192 2.38258 10.1781 2.38258 10.3977 2.60225Z" fill="#29CF00" class="svelte-1rfwd7v"></path></svg>'), Je = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path d="M6.73367 6.0952L9.82534 3.0327C9.92639 2.92941 9.98768 2.79371 9.99835 2.6496C10.009 2.50549 9.96841 2.36225 9.88367 2.2452C9.83646 2.1749 9.77377 2.11636 9.70041 2.07407C9.62705 2.03178 9.54498 2.00686 9.46049 2.00123C9.376 1.99559 9.29135 2.0094 9.21302 2.04158C9.1347 2.07376 9.06479 2.12346 9.00867 2.18686L5.91701 5.27853L2.82534 2.18686C2.76922 2.12346 2.69931 2.07376 2.62099 2.04158C2.54266 2.0094 2.45801 1.99559 2.37352 2.00123C2.28903 2.00686 2.20696 2.03178 2.1336 2.07407C2.06024 2.11636 1.99755 2.1749 1.95034 2.2452C1.8656 2.36225 1.82498 2.50549 1.83566 2.6496C1.84633 2.79371 1.90762 2.92941 2.00867 3.0327L5.10034 6.0952L2.00867 9.1577C1.90762 9.26099 1.84633 9.39668 1.83566 9.54079C1.82498 9.6849 1.8656 9.82814 1.95034 9.9452C1.99755 10.0155 2.06024 10.074 2.1336 10.1163C2.20696 10.1586 2.28903 10.1835 2.37352 10.1892C2.45801 10.1948 2.54266 10.181 2.62099 10.1488C2.69931 10.1166 2.76922 10.0669 2.82534 10.0035L5.91701 6.91186L9.00867 10.0035C9.06479 10.0669 9.1347 10.1166 9.21302 10.1488C9.29135 10.181 9.376 10.1948 9.46049 10.1892C9.54498 10.1835 9.62705 10.1586 9.70041 10.1163C9.77377 10.074 9.83646 10.0155 9.88367 9.9452C9.96841 9.82814 10.009 9.6849 9.99835 9.54079C9.98768 9.39668 9.92639 9.26099 9.82534 9.1577L6.73367 6.0952Z" fill="#EB0000" class="svelte-1rfwd7v"></path></svg>'), Ke = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.3977 2.60225C10.6174 2.82192 10.6174 3.17808 10.3977 3.39775L4.89775 8.89775C4.67808 9.11742 4.32192 9.11742 4.10225 8.89775L1.60225 6.39775C1.38258 6.17808 1.38258 5.82192 1.60225 5.60225C1.82192 5.38258 2.17808 5.38258 2.39775 5.60225L4.5 7.7045L9.60225 2.60225C9.82192 2.38258 10.1781 2.38258 10.3977 2.60225Z" fill="#29CF00" class="svelte-1rfwd7v"></path></svg>'), Ye = Y('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1rfwd7v"><path d="M6.73367 6.0952L9.82534 3.0327C9.92639 2.92941 9.98768 2.79371 9.99835 2.6496C10.009 2.50549 9.96841 2.36225 9.88367 2.2452C9.83646 2.1749 9.77377 2.11636 9.70041 2.07407C9.62705 2.03178 9.54498 2.00686 9.46049 2.00123C9.376 1.99559 9.29135 2.0094 9.21302 2.04158C9.1347 2.07376 9.06479 2.12346 9.00867 2.18686L5.91701 5.27853L2.82534 2.18686C2.76922 2.12346 2.69931 2.07376 2.62099 2.04158C2.54266 2.0094 2.45801 1.99559 2.37352 2.00123C2.28903 2.00686 2.20696 2.03178 2.1336 2.07407C2.06024 2.11636 1.99755 2.1749 1.95034 2.2452C1.8656 2.36225 1.82498 2.50549 1.83566 2.6496C1.84633 2.79371 1.90762 2.92941 2.00867 3.0327L5.10034 6.0952L2.00867 9.1577C1.90762 9.26099 1.84633 9.39668 1.83566 9.54079C1.82498 9.6849 1.8656 9.82814 1.95034 9.9452C1.99755 10.0155 2.06024 10.074 2.1336 10.1163C2.20696 10.1586 2.28903 10.1835 2.37352 10.1892C2.45801 10.1948 2.54266 10.181 2.62099 10.1488C2.69931 10.1166 2.76922 10.0669 2.82534 10.0035L5.91701 6.91186L9.00867 10.0035C9.06479 10.0669 9.1347 10.1166 9.21302 10.1488C9.29135 10.181 9.376 10.1948 9.46049 10.1892C9.54498 10.1835 9.62705 10.1586 9.70041 10.1163C9.77377 10.074 9.83646 10.0155 9.88367 9.9452C9.96841 9.82814 10.009 9.6849 9.99835 9.54079C9.98768 9.39668 9.92639 9.26099 9.82534 9.1577L6.73367 6.0952Z" fill="#EB0000" class="svelte-1rfwd7v"></path></svg>'), et = C('<div class="game-history-item history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <div class="date-time-cell svelte-1rfwd7v"><span class="svelte-1rfwd7v"> </span> <span class="svelte-1rfwd7v"> </span></div> <div class="history-icon svelte-1rfwd7v"><!></div> <div class="history-icon svelte-1rfwd7v"><!></div></div>'), tt = C('<span class="pagination-ellipsis svelte-1rfwd7v">…</span>'), at = C("<button> </button>"), st = C('<div class="game-history-pagination svelte-1rfwd7v"><button class="pagination-button pagination-nav svelte-1rfwd7v">‹</button> <div class="pagination-pages svelte-1rfwd7v"></div> <button class="pagination-button pagination-nav svelte-1rfwd7v">›</button></div>'), rt = C('<div class="game-history-header history-grid svelte-1rfwd7v"><p class="svelte-1rfwd7v">#</p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p> <p class="svelte-1rfwd7v"> </p></div> <!> <!>', 1), ot = C('<h2 class="no-history svelte-1rfwd7v"> </h2>'), it = C('<div class="history-list svelte-1rfwd7v"><!></div>');
|
|
4
|
+
const nt = {
|
|
5
|
+
hash: "svelte-1rfwd7v",
|
|
6
|
+
code: ` *,
|
|
7
|
+
*::before,
|
|
8
|
+
*::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;} .history-list {display:flex;flex-direction:column;gap:6px;width:100%;max-width:700px;margin:0 auto;} .history-grid {display:grid;grid-template-columns:28px 1fr 1fr 44px 60px;align-items:center;gap:8px;} .date-time-cell {display:flex;flex-direction:column;gap:2px;} .date-time-cell span:last-child {opacity:0.6;font-size:10px;} .game-history-item {width:100%;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:8px 12px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);font-size:12px;} .game-history-header {width:100%;padding:6px 12px;color:var(--color-text-default, #ffffff);opacity:0.6;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em;} .history-icon {display:flex;align-items:center;justify-content:center;} .no-history {width:100%;font-size:14px;font-weight:400;margin-top:12px;} .game-history-pagination {display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:8px;} .pagination-pages {display:flex;align-items:center;gap:4px;} .pagination-ellipsis {color:var(--color-text-default, #ffffff);padding:0 2px;user-select:none;opacity:0.6;font-size:14px;line-height:32px;} .pagination-button {border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:6px 10px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);cursor:pointer;transition:background-color 0.15s ease;font-size:13px;line-height:1;} .pagination-button:hover:not(:disabled) {background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));} .pagination-button:disabled {opacity:0.4;cursor:not-allowed;} .pagination-page {min-width:32px;text-align:center;padding:6px 8px;} .pagination-nav {min-width:32px;text-align:center;font-size:16px;padding:4px 8px;flex-shrink:0;} .pagination-page.active {background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));border-color:var(--color-text-default, #ffffff);font-weight:600;}
|
|
9
|
+
@keyframes svelte-1rfwd7v-skeleton-pulse {
|
|
10
|
+
0%, 100% {
|
|
11
|
+
opacity: 0.3;
|
|
12
|
+
}
|
|
13
|
+
50% {
|
|
14
|
+
opacity: 0.6;
|
|
15
|
+
}
|
|
16
|
+
} .history-skeleton-row {pointer-events:none;
|
|
17
|
+
animation: svelte-1rfwd7v-skeleton-pulse 1.4s ease-in-out infinite;} .history-skeleton-bar {display:inline-block;max-width:100%;border-radius:4px;background-color:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));color:transparent;user-select:none;} .history-skeleton-bar--name {width:70%;} .history-skeleton-bar--icon {width:12px;height:12px;}`
|
|
18
|
+
};
|
|
19
|
+
function lt(ge, F) {
|
|
20
|
+
Ae(F, !0), Ge(ge, nt);
|
|
21
|
+
const r = () => Oe(Qe, "$_", xe), [xe, me] = Ne(), ee = ne(F, "programId", 7), te = ne(F, "endpoint", 7), W = ne(F, "session", 7);
|
|
22
|
+
let O = J(!0), w = J(Fe([])), _e = J(!1);
|
|
23
|
+
const D = 10;
|
|
24
|
+
let f = J(1);
|
|
25
|
+
const X = fe(() => e(w) && e(w).length > 0 ? Math.ceil(e(w).length / D) : 1), ye = fe(() => e(w) && e(w).length > 0 ? e(w).slice((e(f) - 1) * D, e(f) * D) : []), be = {
|
|
26
|
+
bonus: r()("prizeBonus"),
|
|
27
|
+
role: r()("prizeRole"),
|
|
28
|
+
tournament: r()("prizeTournament"),
|
|
29
|
+
ticket: r()("prizeTicket"),
|
|
30
|
+
loyalty: r()("prizeLoyalty"),
|
|
31
|
+
challenge: r()("prizeChallenge"),
|
|
32
|
+
noprize: r()("noWin"),
|
|
33
|
+
custom: r()("prizeCustom")
|
|
34
|
+
}, Ce = fe(() => {
|
|
35
|
+
const t = e(X);
|
|
36
|
+
if (t <= 5)
|
|
37
|
+
return Array.from({ length: t }, (l, h) => h + 1);
|
|
38
|
+
const i = [], g = e(f);
|
|
39
|
+
i.push(1), g > 3 && i.push("...");
|
|
40
|
+
const n = Math.max(2, g - 1), L = Math.min(t - 1, g + 1);
|
|
41
|
+
for (let l = n; l <= L; l++)
|
|
42
|
+
i.push(l);
|
|
43
|
+
return g < t - 2 && i.push("..."), t > 1 && i.push(t), i;
|
|
44
|
+
}), ae = (t) => {
|
|
45
|
+
t < 1 || t > e(X) || (j(f, t, !0), window.scrollTo({ top: 0, behavior: "smooth" }));
|
|
46
|
+
}, ke = () => {
|
|
47
|
+
j(O, !0);
|
|
48
|
+
const t = new URL(`${te()}/v1/wof/outcome/${ee()}`), i = new Headers();
|
|
49
|
+
W() && i.append("X-SessionId", W()), fetch(t, { method: "GET", headers: i, cache: "no-store" }).then((n) => n.json()).then((n) => {
|
|
50
|
+
j(w, n == null ? void 0 : n.items.map((L) => Xe(L, "history")), !0), j(f, 1);
|
|
51
|
+
}).catch((n) => {
|
|
52
|
+
console.log(n), j(_e, !0);
|
|
53
|
+
}).finally(() => j(O, !1));
|
|
54
|
+
};
|
|
55
|
+
He(() => {
|
|
56
|
+
ke();
|
|
57
|
+
});
|
|
58
|
+
var Le = {
|
|
59
|
+
get programId() {
|
|
60
|
+
return ee();
|
|
61
|
+
},
|
|
62
|
+
set programId(t) {
|
|
63
|
+
ee(t), ce();
|
|
64
|
+
},
|
|
65
|
+
get endpoint() {
|
|
66
|
+
return te();
|
|
67
|
+
},
|
|
68
|
+
set endpoint(t) {
|
|
69
|
+
te(t), ce();
|
|
70
|
+
},
|
|
71
|
+
get session() {
|
|
72
|
+
return W();
|
|
73
|
+
},
|
|
74
|
+
set session(t) {
|
|
75
|
+
W(t), ce();
|
|
76
|
+
}
|
|
77
|
+
}, N = it(), ze = s(N);
|
|
78
|
+
{
|
|
79
|
+
var Me = (t) => {
|
|
80
|
+
var i = $e(), g = K(i), n = o(s(g), 2), L = s(n, !0);
|
|
81
|
+
a(n);
|
|
82
|
+
var l = o(n, 2), h = s(l, !0);
|
|
83
|
+
a(l);
|
|
84
|
+
var x = o(l, 2), z = s(x, !0);
|
|
85
|
+
a(x);
|
|
86
|
+
var Q = o(x, 2), G = s(Q, !0);
|
|
87
|
+
a(Q), a(g);
|
|
88
|
+
var se = o(g, 2);
|
|
89
|
+
le(se, 17, () => Array(D), ve, (M, U, T, V) => {
|
|
90
|
+
var P = Ve(), $ = s(P), re = s($);
|
|
91
|
+
re.textContent = `${T + 1}.`, a($), Ue(8), a(P), d(M, P);
|
|
92
|
+
}), E(
|
|
93
|
+
(M, U, T, V) => {
|
|
94
|
+
p(L, M), p(h, U), p(z, T), p(G, V);
|
|
95
|
+
},
|
|
96
|
+
[
|
|
97
|
+
() => r()("name"),
|
|
98
|
+
() => r()("date"),
|
|
99
|
+
() => r()("spin"),
|
|
100
|
+
() => r()("assigned")
|
|
101
|
+
]
|
|
102
|
+
), d(t, i);
|
|
103
|
+
}, Ie = (t) => {
|
|
104
|
+
var i = ue(), g = K(i);
|
|
105
|
+
{
|
|
106
|
+
var n = (l) => {
|
|
107
|
+
var h = rt(), x = K(h), z = o(s(x), 2), Q = s(z, !0);
|
|
108
|
+
a(z);
|
|
109
|
+
var G = o(z, 2), se = s(G, !0);
|
|
110
|
+
a(G);
|
|
111
|
+
var M = o(G, 2), U = s(M, !0);
|
|
112
|
+
a(M);
|
|
113
|
+
var T = o(M, 2), V = s(T, !0);
|
|
114
|
+
a(T), a(x);
|
|
115
|
+
var P = o(x, 2);
|
|
116
|
+
le(P, 17, () => e(ye), ve, (I, c, k) => {
|
|
117
|
+
var m = et(), B = s(m), H = s(B);
|
|
118
|
+
a(B);
|
|
119
|
+
var u = o(B, 2), q = s(u, !0);
|
|
120
|
+
a(u);
|
|
121
|
+
var S = o(u, 2), A = s(S), oe = s(A, !0);
|
|
122
|
+
a(A);
|
|
123
|
+
var _ = o(A, 2), y = s(_, !0);
|
|
124
|
+
a(_), a(S);
|
|
125
|
+
var R = o(S, 2), ie = s(R);
|
|
126
|
+
{
|
|
127
|
+
var Ee = (v) => {
|
|
128
|
+
var b = qe();
|
|
129
|
+
d(v, b);
|
|
130
|
+
}, Te = (v) => {
|
|
131
|
+
var b = Je();
|
|
132
|
+
d(v, b);
|
|
133
|
+
};
|
|
134
|
+
Z(ie, (v) => {
|
|
135
|
+
e(c).state === "drawn" || e(c).state === "fulfilled" ? v(Ee) : v(Te, -1);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
a(R);
|
|
139
|
+
var he = o(R, 2), Pe = s(he);
|
|
140
|
+
{
|
|
141
|
+
var Re = (v) => {
|
|
142
|
+
var b = Ke();
|
|
143
|
+
d(v, b);
|
|
144
|
+
}, Ze = (v) => {
|
|
145
|
+
var b = Ye();
|
|
146
|
+
d(v, b);
|
|
147
|
+
};
|
|
148
|
+
Z(Pe, (v) => {
|
|
149
|
+
e(c).completed && e(c).state === "fulfilled" ? v(Re) : v(Ze, -1);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
a(he), a(m), E(
|
|
153
|
+
(v, b) => {
|
|
154
|
+
p(H, `${(e(f) - 1) * D + k + 1}.`), p(q, be[e(c).type] || "-"), p(oe, v), p(y, b);
|
|
155
|
+
},
|
|
156
|
+
[
|
|
157
|
+
() => we(e(c).time).date,
|
|
158
|
+
() => we(e(c).time).time
|
|
159
|
+
]
|
|
160
|
+
), d(I, m);
|
|
161
|
+
});
|
|
162
|
+
var $ = o(P, 2);
|
|
163
|
+
{
|
|
164
|
+
var re = (I) => {
|
|
165
|
+
var c = st(), k = s(c), m = o(k, 2);
|
|
166
|
+
le(m, 21, () => e(Ce), ve, (H, u) => {
|
|
167
|
+
var q = ue(), S = K(q);
|
|
168
|
+
{
|
|
169
|
+
var A = (_) => {
|
|
170
|
+
var y = tt();
|
|
171
|
+
d(_, y);
|
|
172
|
+
}, oe = (_) => {
|
|
173
|
+
var y = at();
|
|
174
|
+
let R;
|
|
175
|
+
var ie = s(y, !0);
|
|
176
|
+
a(y), E(() => {
|
|
177
|
+
R = Se(y, 1, "pagination-button pagination-page svelte-1rfwd7v", null, R, { active: e(f) === e(u) }), p(ie, e(u));
|
|
178
|
+
}), pe("click", y, () => ae(e(u))), d(_, y);
|
|
179
|
+
};
|
|
180
|
+
Z(S, (_) => {
|
|
181
|
+
e(u) === "..." ? _(A) : _(oe, -1);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
d(H, q);
|
|
185
|
+
}), a(m);
|
|
186
|
+
var B = o(m, 2);
|
|
187
|
+
a(c), E(
|
|
188
|
+
(H, u) => {
|
|
189
|
+
k.disabled = e(f) === 1, de(k, "aria-label", H), B.disabled = e(f) === e(X), de(B, "aria-label", u);
|
|
190
|
+
},
|
|
191
|
+
[() => r()("previous"), () => r()("next")]
|
|
192
|
+
), pe("click", k, () => ae(e(f) - 1)), pe("click", B, () => ae(e(f) + 1)), d(I, c);
|
|
193
|
+
};
|
|
194
|
+
Z($, (I) => {
|
|
195
|
+
e(X) > 1 && I(re);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
E(
|
|
199
|
+
(I, c, k, m) => {
|
|
200
|
+
p(Q, I), p(se, c), p(U, k), p(V, m);
|
|
201
|
+
},
|
|
202
|
+
[
|
|
203
|
+
() => r()("name"),
|
|
204
|
+
() => r()("date"),
|
|
205
|
+
() => r()("spin"),
|
|
206
|
+
() => r()("assigned")
|
|
207
|
+
]
|
|
208
|
+
), d(l, h);
|
|
209
|
+
}, L = (l) => {
|
|
210
|
+
var h = ot(), x = s(h, !0);
|
|
211
|
+
a(h), E((z) => p(x, z), [() => r()("noHistory")]), d(l, h);
|
|
212
|
+
};
|
|
213
|
+
Z(g, (l) => {
|
|
214
|
+
e(w) && e(w).length > 0 ? l(n) : l(L, -1);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
d(t, i);
|
|
218
|
+
};
|
|
219
|
+
Z(ze, (t) => {
|
|
220
|
+
e(O) ? t(Me) : t(Ie, -1);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
a(N), E(() => de(N, "aria-busy", e(O))), d(ge, N);
|
|
224
|
+
var Be = We(Le);
|
|
225
|
+
return me(), Be;
|
|
226
|
+
}
|
|
227
|
+
je(["click"]);
|
|
228
|
+
De(lt, { programId: {}, endpoint: {}, session: {} }, [], [], { mode: "open" });
|
|
229
|
+
export {
|
|
230
|
+
lt as G
|
|
231
|
+
};
|