PageSourceSearch

https://playspherestudios.com/assets/BKYfN38o.js

js playspherestudios.com collected 2026-10-02 00:54:31 UTC 11,863 bytes, 3 lines download raw bytes

1import{A as f,f as j,j as e,a,c as w}from"./index.js";import{b as h,R as y,L as D}from"./BDFUxAnP.js";import{a as F}from"./42ANG6Sg.js";import"./DDlvirwQ.js";import"./BRqnZd4Q.js";const L=o=>String(o).padStart(2,"0"),M=3,P=(o,N)=>{const r=o.replace("#",""),E=parseInt(r.substring(0,2),16),b=parseInt(r.substring(2,4),16),u=parseInt(r.substring(4,6),16);return`rgba(${E}, ${b}, ${u}, ${N})`},W=()=>{const[o,N]=h.useState(null),[r,E]=h.useState({days:0,hours:0,minutes:0,seconds:0}),[b,u]=h.useState(1);h.useEffect(()=>{window.scrollTo(0,0),F.get(f).then(s=>{s.data&&Object.keys(s.data).length>0?N(s.data):N(j)}).catch(()=>N(j))},[]);const m=o?.eventsPage||{},c=m.hero||{},i=m.countdown||{},t=m.excitingEvents||{},d=m.cta||{},v=m.liveEvents||j.eventsPage?.liveEvents||{},O=v.cards||j.eventsPage?.liveEvents?.cards||[],C=v.noEventsText||"NO LIVE EVENTS RIGHT NOW. CHECK BACK SOON!",g=O.filter(s=>s.visible!==!1),T=Math.ceil(g.length/M),p=t.card1Visible!==!1,S=t.card2Visible!==!1,I=t.card3Visible!==!1,R=p||S||I,A=t.noEventsText||"NO UPCOMING EVENTS RIGHT NOW. CHECK BACK SOON!";return h.useEffect(()=>{const s=new Date(i.targetDate||"2026-12-31T00:00:00"),l=()=>{const x=s-new Date;if(x<=0){E({days:0,hours:0,minutes:0,seconds:0});return}E({days:Math.floor(x/(1e3*60*60*24)),hours:Math.floor(x/(1e3*60*60)%24),minutes:Math.floor(x/(1e3*60)%60),seconds:Math.floor(x/1e3%60)})};l();const n=setInterval(l,1e3);return()=>clearInterval(n)},[i.targetDate]),e.jsxs("main",{className:"events-page",children:[e.jsxs("section",{className:"events-hero",children:[e.jsx("img",{src:a(c.bgImage||"/assets/Events/Group (4).webp"),alt:"",className:"events-hero-bg"}),e.jsx("img",{src:a(c.assetsImage||"/assets/Events/Group (5).webp"),alt:"",className:"events-hero-assets"}),e.jsxs("div",{className:"events-hero-content",children:[e.jsx("img",{src:a(c.leftImage||"/assets/Events/Mask (9).webp"),alt:"",className:"events-hero-char events-hero-char-left"}),e.jsxs("div",{className:"events-hero-copy",children:[e.jsx("h1",{className:"events-hero-title",dangerouslySetInnerHTML:{__html:c.title||"RUNNER RUNNER<br/><span>IN-GAME EVENTS</span>"}}),e.jsx("p",{className:"events-hero-subtitle",children:c.subtitle||"JOIN THE EXCITING EVENTS AND WIN REAL PRIZES!"}),e.jsx("a",{href:c.buttonUrl&&c.buttonUrl!=="#"?c.buttonUrl:"/contact",className:"events-hero-btn",children:c.buttonText||"PLAY NOW!"})]}),e.jsx("img",{src:a(c.rightImage||"/assets/Events/Mask (8).webp"),alt:"",className:"events-hero-char events-hero-char-right"})]})]}),e.jsxs("section",{className:"events-countdown-section",children:[e.jsx("img",{src:a(i.bgImage||"/assets/Events/Group (6).webp"),alt:"",className:"events-countdown-bg",loading:"lazy"}),e.jsxs("div",{className:"events-countdown-content",children:[e.jsx("h2",{className:"events-countdown-heading",dangerouslySetInnerHTML:{__html:i.heading||"MEGA EVENT COMING SOON!"}}),e.jsx("p",{className:"events-countdown-subtitle",children:i.subtitle||"GET READY FOR THE BIGGEST RUNNER RUNNER EVENT YET, WITH HUGE PRIZES AND FIERCE COMPETITION. STAY TUNED!"}),e.jsx("p",{className:"events-countdown-label",children:i.startsInText||"EVENT STARTS IN"}),e.jsx("div",{className:"events-timer-row",children:[{value:r.days,label:i.labelDays||"DAYS"},{value:r.hours,label:i.labelHours||"HOURS"},{value:r.minutes,label:i.labelMinutes||"MINUTES"},{value:r.seconds,label:i.labelSeconds||"SECONDS"}].map((s,l,n)=>e.jsxs(y.Fragment,{children:[e.jsxs("div",{className:"events-timer-unit",children:[e.jsx("div",{className:"events-timer-card",children:e.jsx("span",{className:"events-timer-number",children:L(s.value)})}),e.jsx("span",{className:"events-timer-unit-label",children:s.label})]}),l<n.length-1&&e.jsx("span",{className:"events-timer-colon",children:":"})]},s.label))})]})]}),e.jsxs("section",{className:"events-live-section",children:[e.jsx("img",{src:a(v.bgImage||"/assets/Events/Group (7).webp"),alt:"",className:"events-live-bg",loading:"lazy"}),e.jsxs("div",{className:"events-live-content",children:[e.jsx("h2",{className:"events-live-heading",dangerouslySetInnerHTML:{__html:v.heading||"CURRENT LIVE EVENTS – JOIN THE ACTION NOW!"}}
1),e.jsx("p",{className:"events-live-subtitle",children:v.subtitle||"TIME IS TICKING. JOIN THE COMPETITION AND WIN REAL REWARDS."}),g.length===0?e.jsx("p",{className:"events-no-events-text",children:C}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"events-cards-grid",style:{gridTemplateColumns:`repeat(${Math.min(g.length,3)}, minmax(0, 480px))`},children:g.map((s,l)=>{if(s.cardType==="rewards")return e.jsxs("div",{className:"events-card events-card-blue",children:[e.jsx("h3",{className:"events-card-title",style:{color:s.titleColor||"#0F319D",fontSize:40},children:s.title||"21 WINNERS RULES APPLY. $1000 TOP PRIZE!"}),e.jsx("p",{className:"events-card-subheading",children:s.subHeading||"ASSURED REWARDS"}),e.jsxs("div",{className:"events-card-rewards-row",children:[e.jsx("img",{src:a(s.leftRewardImage||"/assets/Events/Group (8).webp"),alt:"",className:"events-card-reward-img",loading:"lazy"}),e.jsx("img",{src:a(s.rightRewardImage||"/assets/Events/Group (9).webp"),alt:"",className:"events-card-reward-img",loading:"lazy"})]}),e.jsx(D,{to:s.buttonUrl&&s.buttonUrl!=="#"?s.buttonUrl:"/contact",className:"events-card-join-btn",style:{background:s.buttonBg||"#FACC15",color:s.buttonTextColor||"#9A4000",fontSize:s.buttonFontSize||52},children:s.buttonText||"JOIN NOW!"})]},l);const n=s.gradient==="green";return e.jsxs("div",{className:`events-card ${n?"events-card-green":"events-card-blue"}`,children:[e.jsx("h3",{className:"events-card-title",style:{color:s.titleColor||(n?"#006B2C":"#1A1F5E"),fontSize:s.titleFontSize||50},children:s.title||(n?"SPEED RUN CHALLENGE":"21 WINNERS LEGENDS EVENT")}),e.jsx("div",{className:"events-card-logo-wrap",children:e.jsx("img",{src:a(s.image||(n?"/assets/Events/image (3).webp":"/assets/Events/image (2).webp")),alt:"",className:"events-card-logo",loading:"lazy"})}),e.jsx("div",{className:"events-card-prize-box",style:{background:P(s.prizeBoxBg||(n?"#016510":"#0F319D"),n?.5:.9)},children:e.jsx("span",{style:{color:s.prizeTextColor||(n?"#FFFF46":"#FAF215"),fontSize:s.prizeFontSize||40,fontFamily:"Bebas Neue, cursive",fontWeight:100,letterSpacing:1},children:s.prizeText||(n?"$500 TO 1ST PLACE":"$1000 TO 1ST PLACE")})}),e.jsx("p",{className:"events-card-end-text",children:s.endText||(n?"ENDS IN 3 HOURS 55 MINUTES!":"ENDS IN 2 HOURS 15 MINUTES!")})]},l)})}),T>1&&e.jsx("div",{className:"events-live-pagination",children:[...Array(T)].map((s,l)=>e.jsx("span",{className:`events-live-dot ${b===l+1?"events-live-dot-active":""}`,onClick:()=>u(l+1)},l))})]})]})]}),e.jsxs("section",{className:"events-exciting-section",children:[e.jsx("img",{src:"/assets/Events/Group 201.webp",alt:"",className:"events-exciting-bg",loading:"lazy"}),e.jsxs("div",{className:"events-exciting-content",children:[e.jsx("h2",{className:"events-exciting-heading",children:t.heading||"EXCITING EVENTS COMING SOON!"}),e.jsx("p",{className:"events-exciting-subheading",children:t.subheading||`Time to mark your calendars! The next big event is just around the corner.
2Don't miss out on your chance to win incredible prizes!`}),R?e.jsxs("div",{className:"events-exciting-cards",id:"exc-cards",children:[p&&e.jsxs("div",{className:"events-exciting-card events-exciting-card-blue",children:[e.jsx("h3",{className:"exc-card-title",style:{color:t.card1TitleColor||"#0F319D"},children:t.card1Title||"KERNEL CHAOS: CANDYLAND"}),e.jsx("div",{className:"exc-card-img-wrap",children:e.jsx("img",{src:a(t.card1Image||"/assets/Events/image.webp"),alt:"",className:"exc-card-img",loading:"lazy"})}),e.jsx("p",{className:"exc-card-subtitle",style:{color:t.card1SubtitleColor||"#FFFF46"},children:t.card1Subtitle||"THEATER STYLE POPCORN MACHINE"}),e.jsx("p",{className:"exc-card-timer",children:t.card1TimerText||"EVENT STARTS IN 12D:05H!"})]}),S&&e.jsxs("div",{className:"events-exciting-card events-exciting-card-orange",children:[e.jsx("h3",{className:"exc-card-title",style:{color:t.card2TitleColor||"#7C3D10"},children:t.card2Title||"SPEED RUN CHALLENGE"}),e.jsx("div",{className:"exc-card-img-wrap",children:e.jsx("img",{src:a(t.card2Image||"/assets/Events/image (1).webp"),alt:"",className:"exc-card-img",loading:"lazy"})}),e.jsx("p",{className:"exc-card-subtitle",style:{color:t.card2SubtitleColor||"#FFFF46"},children:t.card2Subtitle||"SUPPER DRON"}),e.jsx("p",{className:"exc-card-timer",children:t.card2TimerText||"EVENT STARTS IN 12D:05H!"})]}),I&&e.jsxs("div",{className:"events-exciting-card events-exciting-card-purple",children:[e.jsx("h3",{className:"exc-card-title",style:{color:t.card3TitleColor||"#540DAC"},children:t.card3Title||"10 WINNERS LEGENDS EVENTS"}),e.jsx("div",{className:"exc-card-img-wrap",children:e.jsx("img",{src:a(t.card3Image||"/assets/Events/imagess.webp"),alt:"",className:"exc-card-img",loading:"lazy"})}),e.jsx("p",{className:"exc-card-subtitle",style:{color:t.card3SubtitleColor||"#FFFF46"},children:t.card3Subtitle||"$100 TO 1ST PLACE"}),e.jsx("p",{className:"exc-card-timer",children:t.card3TimerText||"EVENT STARTS IN 12D:05H!"})]})]}):e.jsx("p",{className:"events-no-events-text",children:A}),R&&e.jsx("div",{className:"events-live-pagination",children:e.jsx("span",{className:"events-live-d
2ot events-live-dot-active"})})]})]}),e.jsxs("section",{className:"events-cta-section",children:[e.jsx("img",{src:a(d.bgImage||"/assets/Events/Group (10).webp"),alt:"",className:"events-cta-bg",loading:"lazy"}),e.jsxs("div",{className:"events-cta-content",children:[e.jsxs("div",{className:"events-cta-left",children:[e.jsx("h2",{className:"events-cta-heading",dangerouslySetInnerHTML:{__html:(d.heading||"JOIN THE EVENT NOW<br/>REAL PRIZES, REAL FUN!").replace(/–/g,"")}}),e.jsx("p",{className:"events-cta-desc",children:d.desc||`DON'T MISS YOUR CHANCE TO COMPETE AND WIN.
3THE MORE YOU PLAY, THE MORE YOU WIN!`}),e.jsxs("div",{className:"events-cta-store-btns",children:[e.jsxs("a",{href:d.googlePlayUrl||"#",className:"events-cta-store-btn",children:[e.jsxs("svg",{viewBox:"0 0 512 512",className:"events-cta-store-icon",children:[e.jsx("path",{fill:"#0268EC",d:"M36.1 18.5a33.5 33.5 0 0 0-11.3 25.1v424.8c0 10.3 4.2 19.3 11.3 25.1l8.5 8.2L276 261 44.5 10.3l-8.4 8.2Z"}),e.jsx("path",{fill:"#02D563",d:"M362.4 346.5 276 261l-231.5 241c8.1 8 22.3 9.4 38 0l280-155.5Z"}),e.jsx("path",{fill:"#FF3A44",d:"M362.4 165.5 82.5 10C66.8.6 52.6 2 44.5 10.3L276 251l86.4-85.5Z"}),e.jsx("path",{fill:"#FEAE33",d:"M362.4 165.5 276 251l86.4 85.5 112.5-63.5c23.2-13.2 23.2-34.4 0-47.5l-112.5-60Z"})]}),e.jsxs("div",{className:"events-cta-store-text",children:[e.jsx("span",{className:"events-cta-store-sub",children:"DOWNLOAD ON THE"}),e.jsx("span",{className:"events-cta-store-main",children:"Google Play"})]})]}),e.jsxs("a",{href:d.appStoreUrl||"#",className:"events-cta-store-btn",children:[e.jsx("svg",{viewBox:"0 0 384 512",className:"events-cta-store-icon",fill:"currentColor",children:e.jsx("path",{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"})}),e.jsxs("div",{className:"events-cta-store-text",children:[e.jsx("span",{className:"events-cta-store-sub",children:"DOWNLOAD ON THE"}),e.jsx("span",{className:"events-cta-store-main",children:"App Store"})]})]})]})]}),e.jsx("div",{className:"events-cta-right",children:e.jsx("img",{src:a(d.rightImage||"/assets/Events/image (4).webp"),alt:"",className:"events-cta-char",loading:"lazy"})})]})]}),e.jsx(w,{content:o})]})};export{W as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.