PageSourceSearch

https://s9.com/_next/static/chunks/6278-d390291d4759f5b7.js

js s9.com collected 2026-10-02 06:36:35 UTC 12,462 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgame_user_webfront=self.webpackChunkgame_user_webfront||[]).push([[2868,6278],{17152:(e,t,r)=>{r.d(t,{R:()=>s});var n=r(12115),i=r(91218);function a(e,t){if(!t)return e;let r=e;return Object.keys(t).forEach(e=>{"function"!=typeof t[e]&&(r=r.replace(RegExp(`{{${e}}}`,"g"),String(t[e]??"")))}),r}function o(e,t,r,n,i){if(t){let t=e(r,i);return t===r||"string"!=typeof t?a(n,i):t}return a(n,i)}function s(){let{t:e,i18n:t}=(0,i.Bd)();return(0,n.useMemo)(()=>{let r=(r,n,i)=>o(e,t.isInitialized,r,n,i);return r.rich=(r,i,a,s)=>(function e(t,r){let i,a=/<(\w+)(?:\s*\/>|>([\s\S]*?)<\/\1>)/g,o=[],s=0,l=0;for(;null!==(i=a.exec(t));){i.index>s&&o.push(t.slice(s,i.index));let a=i[1],c=i[2],u=r[a];if(u){let t=null==c||""===c?null:/<\w+/.test(c)?e(c,r):c;o.push((0,n.createElement)(n.Fragment,{key:`rich-${l++}`},u(t)))}else o.push(i[0]);s=i.index+i[0].length}return(s<t.length&&o.push(t.slice(s)),0===o.length)?null:1===o.length?o[0]:(0,n.createElement)(n.Fragment,null,...o)})(o(e,t.isInitialized,r,i,s),a),r},[e,t.isInitialized])}},40977:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(95155),i=r(66766),a=r(61487);let o=r(33048).SR;function s(e){let{src:t,alt:r="",className:s,...l}=e,c=null==t||"string"==typeof t&&""===t.trim()?o:t,u="string"==typeof c?(0,a.z)(c):c,d="string"==typeof u&&(u.startsWith("http://")||u.startsWith("https://")||u.startsWith("/api/crypto-icon/")||u.startsWith("/api/country-flag/")||u.includes("/assets/image/referral/social/")||u.endsWith(".gif")),p="string"==typeof u&&u.includes("/image/games/empty.png")&&!(s??"").includes("object-")?["object-contain",s].filter(Boolean).join(" "):s;return(0,n.jsx)(i.default,{src:u,alt:r,unoptimized:d,className:p,...l})}},90487:(e,t,r)=>{r.r(t),r.d(t,{DEPOSIT_PAYMENT_STATUS_PENDING_GATEWAY:()=>o,GTM_EVENTS:()=>a,hydrateFundedUserStatus:()=>m,isGtmApiSuccess:()=>d,paymentMethodFromChannel:()=>u,resolveHasDeposited:()=>f,trackCompleteRegistration:()=>g,trackDepositIntentClick:()=>h,trackEnterGame:()=>b,trackInstallPwaSuccess:()=>T,trackLogin:()=>w,trackLogout:()=>S,trackRegisterClick:()=>y,trackSupportChannelOpen:()=>E,withDepositSubmitGtmTracking:()=>_});var n=r(97822),i=r(89304);let a={COMPLETE_REGISTRATION:"completeRegistration",REGISTER_CLICK:"registerClick",LOGIN:"login",LOGOUT:"logout",ENTER_GAME:"enterGame",DEPOSIT_INTENT_CLICK:"deposit_intent_click",FIRST_DEPOSIT_INITIATED:"first_deposit_initiated",DEPOSIT_INITIATED:"deposit_initiated",SUPPORT_CHANNEL_OPEN:"support_channel_open",INSTALL_PWA_SUCCESS:"install_pwa_success"},o="pending_gateway",s=null;function l(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,page_path:window.location.pathname,page_location:window.location.href,...t})}function c(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:e,page_path:window.location.pathname,page_location:window.location.href,...t})}function u(e){switch(e){case"crypto_wallet":return"crypto";case"bank_card":return"bank_transfer";case"google_apple":return"google_apple";default:return"express_pay"}}function d(e){return e===i.wSq.SUCCESS||1===e}async function p(){let{setFundedUser:e}=n.o.getState();try{let{promotionApi:t}=await r.e(2700).then(r.bind(r,82700)),{API_MODES:n,PAGE:i}=await Promise.resolve().then(r.bind(r,89304)),a=await t.getPromotionList({mode:n.GAME_LIST,page_index:i.DEFAULT_INDEX,page_size:1});if(void 0===a.is_funded_user)return null;let o=!!a.is_funded_user;return e(o),o}catch{return null}}async function f(e){let{getUser:t,getToken:r,getFundedUser:i}=n.o.getState();if(!t()||!r())return null;if(!e?.forceRefresh){let e=i();if(!0===e)return!0;if(!1===e)return!1}return s||(s=p().finally(()=>{s=null})),s}async function m(){await f({forceRefresh:!0})}function h(e){let t=n.o.getState().getUser();c(a.DEPOSIT_INTENT_CLICK,{traffic_source:e.traffic_source,...null!=e.currency&&""!==e.currency?{currency:e.currency}:{},...null!=e.value&&Number.isFinite(e.value)?{value:e.value}:{},...e.payment_method?{payment_method:e.payment_method}:{},user_id:t?.user_id})}async function _(e,t,r){let i=await f(),s=await t();if(null===i||!(r.isSuccess?r.isSuccess(s):d(s.code)))return s;var l={currency:r.tracking.currency,value:r.tracking.value,payment_method:u(e),payment_status:o,traffic_source:r.tracking.traffic_source};let p=n.o.getState().getUser(),m={currency:l.currency,value:l.value,payment_method:l.payment_method,payment_status:l.payment_status,...l.traffic_source?{traffic_source:l.traffic_source}:{},user_id:p?.user_id,submitted_at:new Date().toISOString()};
1return i||(c(a.FIRST_DEPOSIT_INITIATED,{...m,is_first_deposit:!0}),n.o.getState().setFundedUser(!0)),c(a.DEPOSIT_INITIATED,{...m,is_first_deposit:!i}),s}function y(e){l(a.REGISTER_CLICK,e)}function g(e){let t=n.o.getState().getUser();l(a.COMPLETE_REGISTRATION,{user_id:t?.user_id,...e})}function w(e){let t=n.o.getState().getUser();l(a.LOGIN,{user_id:t?.user_id,...e})}function S(e){l(a.LOGOUT,e)}function b(e,t){l(a.ENTER_GAME,{game_id:e,...t})}function E(e,t){l(a.SUPPORT_CHANNEL_OPEN,{...e,...t})}function T(e){let t=n.o.getState().getUser();l(a.INSTALL_PWA_SUCCESS,{user_id:t?.user_id,...e})}},91948:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(95155),i=r(12115),a=r(47650),o=r(40977);let s=/\!?z-(?:\[[^\]]+\]|\d+)/g;function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t){let t=e.match(s);if(t?.[0])return t[0]}return""}function c(e){return e.replace(s,"").replace(/\s+/g," ").trim()}let u={maxHeight:"90vh",maxWidth:"min(90vw, calc(var(--max-width) * 0.9))"};function d(e){let{isOpen:t,onClose:r,position:s="center",showClose:d=!0,showBoom:p=!1,children:f,className:m="",panelClassName:h="",contentClassName:_="",title:y,plain:g=!1,backdropClassName:w="",closeOnBackdrop:S=!0}=e,[b,E]=(0,i.useState)(!1),[T,v]=(0,i.useState)(!1),I=(0,i.useRef)(0),N=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{if(t){E(!0);let e=setTimeout(()=>v(!0),10);return()=>clearTimeout(e)}{v(!1);let e=setTimeout(()=>E(!1),300);return()=>clearTimeout(e)}},[t]),(0,i.useEffect)(()=>{if(t)N.current=!0,I.current=window.scrollY,document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top=`-${I.current}px`,document.body.style.width="100%";else if(N.current){let e=I.current;document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.top="unset",document.body.style.width="unset",requestAnimationFrame(()=>{window.scrollTo(0,e)})}return()=>{N.current&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.top="unset",document.body.style.width="unset")}},[t]),!b)return null;let x=null!=y&&""!==y,k=l(w)||"z-[100]",P=c(w),L=l(m,h)||"z-[110]",$=[c(m),c(h)].filter(Boolean).join(" "),C=g?"popup-panel popup-panel--plain":`popup-panel popup-panel--${s}`,R=["popup-panel__content",_||(x?"p-0":"p-4 md:p-6")].filter(Boolean).join(" "),O=[(()=>{switch(s){case"top":case"bottom":case"center":default:return"w-full max-w-[var(--max-width)] mx-auto";case"left":case"right":return"h-full"}})(),(()=>{let e="duration-300";switch(s){case"top":return`transform transition-all ${e} ease-out ${T?"translate-y-0 opacity-100":"-translate-y-full opacity-0"}`;case"center":return`transform transition-all ${e} ease-out ${T?"scale-100 opacity-100":"scale-95 opacity-0"}`;default:return`transform transition-all ${e} ease-out ${T?"translate-y-0 opacity-100":"translate-y-full opacity-0"}`}})(),(()=>{if(m.includes("rounded-")||h.includes("rounded-"))return"";switch(s){case"top":return"rounded-b-[0.3rem] md:rounded-b-lg";case"bottom":return"rounded-t-[0.3rem] md:rounded-t-lg";case"left":return"rounded-r-[0.3rem] md:rounded-r-lg";case"right":return"rounded-l-[0.3rem] md:rounded-l-lg";default:return"rounded-[0.3rem] md:rounded-lg"}})(),C,$].filter(Boolean).join(" "),j=(0,n.jsxs)(n.Fragment,{children:[d&&!x&&(0,n.jsx)("button",{type:"button",onClick:r,className:"popup-panel__close","aria-label":"Close",children:(0,n.jsx)(o.A,{src:"/assets/icons/svg/global/cross.svg",alt:"",width:8,height:8,className:"popup-panel__close__icon","aria-hidden":!0})}),x&&(0,n.jsx)("div",{className:"popup-panel__title",children:(0,n.jsxs)("div",{className:"popup-panel__title-row",children:[(0,n.jsx)("span",{className:"popup-panel__title-spacer","aria-hidden":"true"}),(0,n.jsx)("div",{className:"popup-panel__title-text",children:y}),d?(0,n.jsx)("button",{type:"button",onClick:r,className:"popup-panel__close popup-panel__close--in-title","aria-label":"Close",children:(0,n.jsx)(o.A,{src:"/assets/icons/svg/global/cross.svg",alt:"",width:8,height:8,className:"popup-panel__close__icon","aria-hidden":!0})}):(0,n.jsx)("span",{className:"popup-panel__title-spacer","aria-hidden":"true"})]})}),(0,n.jsx)("div",{className:`relative ${R}`,onClick:e=>e.stopPropagation(),children:x?(0,n.jsx)("div",{className:"popup-panel__body",children:f}):f}),p&&(0,n.jsx)("div",{className:"h-[2rem]"})]}),A=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:`popup-panel__backdrop fixed inset-0 ${k} ${T?"popup-panel__backdrop--visible":"popup-panel__backdrop--hidden"} ${P}`,onClick:S?r:void 0,"aria-hidden":"true"}),"center"===s?(0,n.jsx)("div",{className:`fixed inset-0 flex items-center justify-center pointer-events-none ${L}`,children:(0,n.jsx)("div",{className:`pointer-events-auto ${O}`,onClick:e=>e.stopPropagation(),style:u,children:j})}):(0,n.jsx)("div",{className:`fixed ${L} ${(()=>{switch(s){case"top":return"top-0 left-0 right-0";case"bottom":return"bottom-0 left-0 right-0";case"left":return"top-0 left-0 bottom-0";case"right":return"top-0 right-0 bottom-0";default:return""}})()} ${O}`,onClick:e=>e.stopPropagation(),children:j})]});return"undefined"!=typeof document&&document.body?(0,a.createPortal)(A,document.body):null}},99012:(e,t,r)=>{r.d(t,{Bb:()=>y,Fe:()=>c,VL:()=>m,Wn:()=>u,vE:()=>p,x2:()=>d});let n="",i="ref",a=!1,o="",s=null;function l(e){let t="string"==typeof e?new URLSearchParams(e.startsWith("?")?e.slice(1):e):e,r=(t.get("promo_code")||"").trim();if(r)return{code:r,key:"promo_code"};let n=(t.get("ref")||"").trim();return n?{code:n,key:"ref"}:{code:"",key:"ref"}}function c(e){var t,r;let s=l(window.location.search);if(a){if(!s.code||s.code===o){s.code||(a=!1,o="");return}a=!1,o=""}s.code&&(t=s.code,r=s.key,n=t,i=r)}function u(e){let t=e.indexOf("#"),r=-1===t?"":e.slice(t),n=-1===t?e:e.slice(0,t),i=n.indexOf("?"),a=-1===i?
1n:n.slice(0,i),o=new URLSearchParams(-1===i?"":n.slice(i+1));f(o),o.delete("ref"),o.delete("promo_code");let s=o.toString();return`${s?`${a}?${s}`:a}${r}`}function d(){o=n||o,a=!0,n="",i="ref";let e=`${window.location.pathname}${window.location.search}${window.location.hash}`,t=u(e);t!==e&&(s??history.replaceState.bind(history)).call(history,history.state,"",t)}function p(e){if(a)return"";{let e=l(window.location.search);if(e.code){var t,r;return t=e.code,r=e.key,n=t,i=r,e.code}}return n}function f(e){let t=e.get("redirect");if(!t)return;let r=function(e){let t=e.indexOf("?");if(-1===t)return e;let r=e.slice(0,t),n=new URLSearchParams(e.slice(t+1));if(!n.has("ref")&&!n.has("promo_code"))return e;n.delete("ref"),n.delete("promo_code");let i=n.toString();return i?`${r}?${i}`:r}(t);r!==t&&e.set("redirect",r)}function m(e){let t=p(),r=e.indexOf("?"),n=-1===r?e:e.slice(0,r),a=new URLSearchParams(-1===r?"":e.slice(r+1));f(a),!t||a.get("promo_code")?.trim()||a.get("ref")?.trim()||a.set(i,t);let o=a.toString(),s=o?`${n}?${o}`:n;return s===e?e:s}function h(e,t){return"string"!=typeof e||/^[a-z]+:/i.test(e)?"string"==typeof e?t.toString():t:`${t.pathname}${t.search}${t.hash}`}let _=!1;function y(){if(_)return;_=!0,s=history.replaceState.bind(history);let e=e=>function(t,r,n){let o=null!=n&&""!==n?function(e){try{let t="string"==typeof e?e:e.toString(),r=new URL(t,window.location.origin);if(r.origin!==window.location.origin)return e;if(a)return f(r.searchParams),r.searchParams.delete("ref"),r.searchParams.delete("promo_code"),h(e,r);let n=p();if(!n)return e;return f(r.searchParams),r.searchParams.get("promo_code")?.trim()||r.searchParams.get("ref")?.trim()||r.searchParams.set(i,n),h(e,r)}catch{return e}}(n):n;return e.call(this,t,r,o)};history.pushState=e(history.pushState.bind(history)),history.replaceState=e(history.replaceState.bind(history)),window.addEventListener("popstate",()=>{c(window.location.search);let e=`${window.location.pathname}${window.location.search}`,t=m(e);t!==e&&history.replaceState(history.state,"",t)})}}}]);

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.