PageSourceSearch

https://www.deeptoplay.com/_next/static/chunks/3610-4056201eec2e84f0.js

js deeptoplay.com collected 2026-09-24 13:38:58 UTC 9,878 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3610],{14771:function(e,n,t){t.d(n,{qJ:function(){return b},Oc:function(){return h},ZP:function(){return j}});var r=t(57437),s=t(2265),a=t(18087),l=t(66431),c=t(58214);function o(e){let{className:n,containerClassName:t,autoFocus:s=!0,scrollEndOnFocus:a=!1,...o}=e;return(0,r.jsx)(l.uZ,{id:"otpField",onFocus:()=>{a&&window.scrollTo(0,document.body.scrollHeight)},autoFocus:s,"data-autofocus":s,containerClassName:(0,c.cn)("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:(0,c.cn)("disabled:cursor-not-allowed !opacity-0",n),...o})}function i(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,c.cn)("flex items-center",n),...t})}function d(e){let{index:n,className:t,showPlaceholder:a=!1,hidePin:o=!1,...i}=e,{char:d,hasFakeCaret:u,isActive:m}=(0,s.useContext)(l.VM).slots[n];return(0,r.jsxs)("div",{className:(0,c.cn)("relative flex h-10 w-10 items-center justify-center rounded-md border border-solid border-zinc-700 bg-neutral-900 text-sm placeholder-zinc-500 transition-all",m&&"z-10 border-primary-500",t),...i,children:[a?d||(m?d:(0,r.jsx)("span",{className:"text-zinc-400",children:"•"})):d&&o?(0,r.jsx)("span",{className:"text-xl",children:"•"}):d,u&&(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,r.jsx)("div",{className:"animate-caret-blink h-4 w-px bg-foreground duration-1000"})})]})}o.displayName="InputOTP",i.displayName="InputOTPGroup",d.displayName="InputOTPSlot";var u=t(60597),m=t(29818),x=t(12098),f=t(22488),p=t(47864);function b(e){let{title:n,time:t=0,maxTime:l=p.ak,startCountDown:c,endCountDown:o}=e,[i,d]=(0,s.useState)(t||l);(0,s.useEffect)(()=>{let e;return c&&l?e=setInterval(()=>{d(n=>0===n?(clearInterval(e),0):n-1)},1e3):d(l),()=>clearInterval(e)},[c,l]),(0,s.useEffect)(()=>{0===i&&l&&o()},[i,l]);let u=(0,a.useFormatter)(),m=l&&"".concat(String(u.number(Math.floor(i/60))).padStart(2,u.number(0)),":").concat(String(u.number(i%60)).padStart(2,u.number(0)));return(0,r.jsxs)("span",{children:[n," ",m]})}function h(e){let{otpLength:n,value:t,setValue:s,showPlaceholder:a=!1,autoFocus:l=!0,scrollEndOnFocus:u=!1,otpGroupClassName:m="",otpInputClassName:x="",hidePin:f=!1}=e;return(0,r.jsx)(o,{maxLength:n,value:t,onChange:e=>s(e),autoFocus:l,scrollEndOnFocus:u,children:(0,r.jsx)(i,{className:(0,c.cn)("space-x-4",m),children:[...Array(n)].map((e,n)=>(0,r.jsx)(d,{index:n,showPlaceholder:a,hidePin:f,className:x},n))})})}function j(e){let{title:n,description:t,bodyText:l,otpLength:o,maxTime:i,value:d,setValue:p,showModal:j,setShowModal:N,handleOtpSubmit:y,resetForm:g,sendOtp:v,isOtpLoading:w,fields:F,actionText:C="",isLoading:z=!1,className:k="",otpGroupClassName:S=""}
1=e,[T,P]=(0,s.useState)(i),[E,Z]=(0,s.useState)(!1),I=(0,a.useTranslations)("Common.modals.otp"),M=(0,a.useTranslations)("Common.buttons"),O=C||M("submit");return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(u.Z,{showModal:j,setShowModal:N,disableOutsideClick:!0,children:(0,r.jsx)("form",{onSubmit:y,children:(0,r.jsxs)(m.$0,{className:(0,c.cn)("w-full lg:w-[440px]",k),children:[(0,r.jsxs)(m.M$,{children:[(0,r.jsx)("p",{className:"text-base font-semibold",children:n}),t&&(0,r.jsx)("p",{className:"mt-1 text-zinc-400",children:t})]}),(0,r.jsxs)(m.tr,{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[l&&(0,r.jsx)("p",{className:"text-sm font-medium",children:I("enter")}),i&&(0,r.jsx)("p",{className:"text-xs text-zinc-400",children:E?(0,r.jsx)("button",{type:"button","aria-label":M("resend"),onClick:()=>{v(F,{onSuccess:()=>{Z(!1),p("")},onError:e=>{(0,f.S)(e)}})},disabled:w,className:"text-accent-500 disabled:text-accent-500/80",children:M("resend")}):(0,r.jsx)(b,{title:I("resend_in"),time:T,maxTime:i,startCountDown:j,endCountDown:()=>{Z(!0)}})})]}),(0,r.jsx)("div",{className:"my-2 flex justify-center",children:(0,r.jsx)(h,{otpLength:o,value:d,setValue:p,otpGroupClassName:S})})]}),(0,r.jsxs)(m.qP,{className:"flex items-center justify-end gap-2",children:[(0,r.jsx)(x.ZP,{type:"button",buttonType:"dark2","aria-label":M("cancel"),disabled:z,onClick:()=>{N(!1),p(""),i&&P(i),g&&g()},children:M("cancel")}),(0,r.jsx)(x.ZP,{type:"submit",buttonType:"save","aria-label":O,loading:z,disabled:d.length<o||z,children:O})]})]})})})})}},7181:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(57437),s=t(58214);function a(e){let{name:n,label:t="",placeholder:a="",type:l,disabled:c=!1,className:o="",labelClassName:i="",errors:d=[],required:u=!1,scrollEndOnFocus:m=!1,...x}=e,f=d[n];return(0,r.jsxs)("div",{className:"w-full",children:[t&&(0,r.jsx)("label",{htmlFor:n,className:(0,s.cn)("mb-2 inline-flex text-sm font-medium",i),children:t}),(0,r.jsx)("input",{id:n,type:l,placeholder:a,required:u,onFocus:()=>{m&&window.scrollTo(0,document.body.scrollHeight)},"data-autofocus":x.autoFocus,disabled:c,className:(0,s.cn)("w-full rounded-md border border-solid border-zinc-700 bg-neutral-900 py-2.5 text-base placeholder-zinc-500 outline-none transition focus:border-primary-500 focus:ring-0",o),...x}),d&&(0,r.jsx)("p",{className:"text-sm text-red-500",children:f})]})}},35289:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(57437),s=t(2265),a=t(97948),l=t(88336),c=t(58214);function o(e){let{name:n,value:t,label:o="",placeholder:i="",onChange:d,inputClassName:u="",buttonClassName:m="",autoFocus:x=!0,focusOnMount:f=!1,errors:p=[]}=e,b=p[n],h=(0,s.useRef)(),[j,N]=(0,s.useState)(!1),{geo:{country:y}}=(0,l.bp)(),g=y.toLowerCase();return(0,s.useEffect)(()=>{f&&h.current&&h.current.focus()},[]),(0,r.jsxs)("div",{className:"w-full",children:[o&&(0,r.jsx)("label",{htmlFor:n,className:"peer mb-2 inline-flex text-sm font-medium",children:o}),(0,r.jsx)("div",{className:"rounded-md border border-solid border-zinc-700 ".concat(j&&"focu
1s-within:border-primary-500"),children:(0,r.jsx)(a.sb,{ref:h,defaultCountry:g,value:t,autoFocus:x,onChange:e=>d(n,e),placeholder:i,className:(0,c.cn)("!w-full"),onFocus:()=>N(!0),countrySelectorStyleProps:{buttonClassName:"".concat((0,c.cn)("!bg-neutral-900 !border-0 !pl-1 !rounded-l-md",m)),className:"!bg-neutral-900 !rounded-md",dropdownStyleProps:{className:"!bg-neutral-800 !border-0 !rounded-md !text-white !text-base !z-40 !max-w-[280px]",listItemClassName:"hover:!bg-zinc-700 !rounded !m-1"}},inputClassName:(0,c.cn)("!w-full left-[50px] !text-base !text-white !border-0 !bg-neutral-900 !placeholder-zinc-500 !rounded-md !rounded-l-none py-2.5 transition !outline-none focus:!ring-0",u)})}),p&&(0,r.jsx)("p",{className:"text-sm text-red-500",children:b})]})}t(3916)},60597:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(57437),s=t(2265),a=t(27070),l=t(47152),c=t(58214);function o(e){let{trigger:n=null,triggerProps:t={},children:o,showModal:i,setShowModal:d,panelClassName:u="",onClose:m=null,overlayClassName:x="",disableOutsideClick:f=!1,disableEscapeKey:p=!1}=e;return(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)("span",{onClick:e=>{e.preventDefault(),d(!0)},...t,children:n}),(0,r.jsx)(a.u,{appear:!0,show:i,as:s.Fragment,children:(0,r.jsxs)(l.Vq,{as:"div",className:"relative z-50",onClose:function(){f||d(!1)},onKeyDown:function(e){"Escape"===e.key&&!p&&(d(!1),m&&m())},children:[(0,r.jsx)(a.x,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:(0,c.cn)("fixed inset-0 bg-black bg-opacity-75 backdrop-blur-sm",x)})}),(0,r.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,r.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,r.jsx)(a.x,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,r.jsx)(l.EM,{className:(0,c.cn)("max-w-2xl transform overflow-hidden rounded-lg bg-transparent text-left align-middle shadow-xl transition-all",u),children:o})})})})]})})]})}},29818:function(e,n,t){t.d(n,{$0:function(){return a},M$:function(){return l},qP:function(){return o},tr:function(){return c}});var r=t(57437),s=t(58214);function a(e){let{id:n="",children:t,className:a=""}=e;return(0,r.jsx)("section",{id:n,className:(0,s.cn)("w-full lg:max-w-xl rounded-xl border border-solid border-zinc-700 bg-zinc-800",a),children:t})}function l(e){let{children:n,className:t=""}=e;return(0,r.jsx)("div",{className:(0,s.cn)("px-4 pt-4 pb-2",t),children:n})}function c(e){let{children:n,className:t=""}=e;return(0,r.jsx)("div",{className:(0,s.cn)("px-4 py-2",t),children:n})}function o(e){let{children:n,className:t=""}=e;return(0,r.jsx)("div",{className:(0,s.cn)("px-4 pt-2 pb-4",t),children:n})}},63094:function(e,n,t){t.d(n,{$j:function(){return a},Jz:function(){return l},SX:function(){return c}});var r=t(57437),s=t(58214);function a(e){let{className:n=""}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{role:"status",className:(0,s.cn)("inline-block size-5 animate-spin rounded-full border-4 border-solid border-gray-50 border-b-gray-50/30 border-r-gray-50/30",n)}),(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})]})}function l(e){let{className:n=""}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{role:"status",className:(0,s.cn)("inline-block size-10 animate-spin rounded-full border-[3px] border-solid border-primary-600 border-b-primary-600/30 border-r-primary-600/30",n)}),(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})]})}function c(e){let{className:n=""}=e;return(0,r.jsx)("div",{className:(0,s.cn)("fixed top-20 inset-x-0 z-10 h-dvh w-full flex items-center justify-center bg-background",n),children:(0,r.jsx)("div",{className:"-translate-y-[5rem]",children:(0,r.jsx)(l,{})})})}}}]);

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.