PageSourceSearch

https://caz-ru-mirr-winex.com/_next/static/chunks/3345.d5947b8623faffc7.js

js caz-ru-mirr-winex.com collected 2026-10-09 21:36:27 UTC 24,354 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="64e65569-3e71-4b42-a64e-9727c12186ac",e._sentryDebugIdIdentifier="sentry-dbid-64e65569-3e71-4b42-a64e-9727c12186ac")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3345],{3345:(e,t,a)=>{a.r(t),a.d(t,{WheelModal:()=>ei});var n=a(95155),s=a(93409),l=a(84135),i=a(31425),r=a(41551),c=a(12118),o=a(99776),u=a(77202),d=a(18955),p=a(15239),m=a(20063),x=a(12115),h=a(34761),f=a(80549),g=a(22022),y=a(8123),b=a(53455),w=a(35620),v=a(94711),j=a(56041),_=a(87159),N=a(42933),k=a(58988),z=a(75826),C=a(86298),F=a(25951),S=a(96923),T=a(14336),A=a(49821),I=a(60182),E=a(8867),D=a(4005),P=a(78767),W=a(98270),O=a(98809),R=a(37561),B=a(1954),K=a(9057),M=a(59845),J=a(43850),G=a(20113),L=a(76957);let Q=e=>{let{amount:t,displayFormat:a,label:s,icon:l,className:i}=e;return(0,n.jsxs)("div",{className:(0,S.cn)("flex min-w-0 flex-1 flex-col items-center gap-spacing-4",i),children:[(0,n.jsx)("div",{className:"relative size-4",children:(0,n.jsx)(E.In,{icon:"glyphs-pointer",size:"inherit",className:"absolute left-1/2 -translate-x-1/2 rotate-180 text-content-static-white-secondary",style:{top:"4px",width:"10.9342px",height:"10px"}})}),(0,n.jsxs)("div",{className:"flex items-center gap-spacing-4",children:[(0,n.jsx)(D.o,{variant:"h4",className:"text-content-static-white-primary",children:(0,K.nE)(t)}),(0,n.jsx)(D.o,{variant:"h4",className:"text-content-static-white-secondary",children:a.replace("{amount}","")})]}),(0,n.jsx)(G.E,{variant:"staticSecondary",prefixIcon:l,children:s})]})},U=e=>{var t;let{split:a}=e,s=(0,d.c)("bonus_vault"),l=null==(t=(0,M.k)("turbine_of_luck"))?void 0:t.display_min_vault_money,i=l&&(0,n.jsxs)("div",{className:"flex flex-col gap-spacing-8",children:[(0,n.jsx)(D.o,{variant:"body-s-semibold",children:s("info_modal_condition_balance_title")}),(0,n.jsx)(D.o,{variant:"body-s-regular",children:s("info_modal_condition_balance_description",{minAmount:(0,K.Ov)(l.amount,l.display_format)})})]});return(0,n.jsxs)("div",{className:"flex w-full flex-col items-center gap-spacing-8 px-spacing-40",children:[(0,n.jsxs)("div",{className:"flex w-full flex-col items-center gap-spacing-12 border-b border-border-container pb-spacing-12",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)(D.o,{variant:"body-s-semibold",className:"text-content-static-white-secondary",children:s("payout_modal_received")}),(0,n.jsxs)("div",{className:"flex items-start gap-spacing-4",children:[(0,n.jsx)(D.o,{variant:"display-m",className:"text-content-static-white-primary",children:(0,K.nE)(a.totalAmount)}),(0,n.jsx)(D.o,{variant:"display-m",className:"text-content-static-white-secondary",children:a.displayFormat.replace("{amount}","")})]})]}),(0,n.jsxs)("div",{className:"flex items-start justify-center gap-spacing-4",children:[(0,n.jsx)(J.f,{}),(0,n.jsx)(L.m,{tooltipContent:i,children:(0,n.jsx)(E.In,{icon:"glyphs-inform",size:"s",className:"shrink-0 cursor-pointer text-content-static-white-secondary"})})]})]}),(0,n.jsxs)("div",{className:"flex w-full items-center justify-center overflow-hidden",children:[(0,n.jsx)(Q,{amount:a.balanceAmount,displayFormat:a.displayFormat,label:s("payout_modal_main_balance"),icon:"glyphs-check-circle",className:"border-r border-border-container"}),(0,n.jsx)(Q,{amount:a.vaultAmount,displayFormat:a.displayFormat,label:s("title"),icon:"glyphs-coin"})]})]})};var q=a(15221);let $=e=>{let{isNewTurbine:t,nextSpinDate:a,onComplete:s}=e,l=(0,d.c)();return a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.o,{variant:"body-m-regular",className:"my-spacing-12 text-content-static-white-secondary",children:l(t?"wheel.come_back_tommorow":"wheel.bonus-section.return")}),(0,n.jsx)(q.r,{date:a,size:"s",onComplete:s})]}):null},Y=e=>{let{nextSpinDate:t,onComplete:a}=e,s=(0,d.c)();return t?(0,n.jsxs)("div",{className:"flex items-center justify-center gap-spacing-8",children:[(0,n.jsx)(D.o,{variant:"body-s-semibold",className:"text-content-static-white-secondary",children:s("wheel.bonus-section.return")}),(0,n.jsx)(q.r,{date:t,size:"s",type:"static",separatorClassName:"text-content-static-white-tertiary",onComplete:a})]}):null};var Z=a(49811),H=a.n(Z),V=a(91576);let X=e=>{let{value:t}=e,a=(0,d.c)();return(0,n.jsx)(H(),{onCopy:()=>{(0,T.m)({title:a("wheel.copy_promocode"),type:"success",duration:2e3,message:""})},text:null!=t?t:"","data-mixpanel":W.aF,children:(0,n.jsxs)("div",{className:" flex justify-center h-11 rounded-container-s overflow-hidden items-center cursor-pointer active:scale-90 duration-200",children:[(0,n.jsx)(p.default,{src:"/images/wheel-of-luck/small/left.svg",alt:"left",width:13,height:44,className:"text-content-static-white -mr-0.5 select-none"}),(0,n.jsx)("div",{className:"h-full bg-bg-static-white flex items-center px-spacing-8 -mr-px",children:(0,n.jsx)(D.o,{variant:"h4",className:"text-content-static-black select-none",children:a("Registration.promo_placeholder")})}),(0,n.jsx)(p.default,{src:"/images/wheel-of-luck/small/center.svg",alt:"left",width:13,height:44,className:" select-none"}),(0,n.jsx)("div",{className:"h-full bg-bg-static-white flex items-center px-spacing-8 -ml-0.5",children:(0,n.jsx)(V.z,{variant:"secondary",typographyVariant:"h4",className:" flex items-center gap-1 justify-start w-fit text-content-static-black",postfixIcon:"glyphs-copy",typographyClassName:"text-content-static-black",children:t})}),(0,n.jsx)(p.default,{src:"/images/wheel-of-luck/small/left.svg",alt:"left",width:13,height:44,className:"-scale-x-100 text-content-static-white -ml-[3px] select-none"})]})})},ee="bg-white/20 rounded-full inset-10 absolute -top-10 pointer-events-none",et={filter:"blur(24px)",WebkitFilter:"blur(24px)",transform:"translateZ(0)"},ea="mt-spacing-16 px-spacing-8 py-spacing-4 rounded-badge bg-bg-static-white-subtle",en=e=>{var t;let{spinPrize:a,prize:s,currencyCode:l,currencyPrecision:i,currencyDisplayFormat:r,isSpinned:c,isNewTurbine:o,nextSpinDate:u,onCompleteTech:p,payoutSplit:m}=e,x=(0,d.c)(),h=(0,S.cn)("flex flex-col items-center text-center repeat-1 animate-[wheelPrizeIn_1s_ease] relative"),f={marginTop:c?"160px":"50px"},g=(0,n.jsx)($,{isNewTurbine:o,nextSpinDate:u,onComplete:p});if(0===a)return(0,n.jsxs)("div",{className:h,style:f,children:[(0,n.jsx)(D.o,{variant:"body-s-semibold",className:"text-content-static-white-secondary",children:x("wheel.new_ups")}),(0,n.jsx)(D.o,{variant:"h1",className:"text-content-static-white-primary",children:(0,B.Zw)(0,null!=i?i:0,r)}),(0,n.jsx)("div",{className:ee,style:et}),(0,n.jsx)("div",{className:(0,S.cn)(ea,"mb-spacing-40"),children:(0,n.jsx)(D.o,{variant:"caption-s-semibold",children:x("wheel.next_chance")})}),g]});if(!s||!a)return null;let y=(0,N.K)(s);return m?(0,n.jsxs)("div",{className:(0,S.cn)(h,"w-full"),style:f,children:[(0,n.jsx)("div",{className:ee,style:et}),(0,n.jsx)(U,{split:m})]}):(0,n.jsxs)("div",{className:h,style:f,children:[!!s.amount&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.o,{variant:"body-s-semibold",className:"text-content-static-white-secondary",children:x("wheel.prize_title_2")}),(0,n.jsx)(D.o,{variant:"h1",className:"text-content-static-white-primary",children:"".concat(s.formattedAmount||s.amount||0," ").concat("freespins"===s.balanceType?"FS":null!=(t=s.currency)?t:l)})]}),(0,n.jsx)("div",{className:ee,style:et}),y&&(0,n.jsx)("div",{className:"h-spacing-48"}),!y&&(s.promo?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"pt-spacing-8",children:(0,n.jsx)(X,{value:s.promo})}),(0,n.jsx)("div",{className:ea,children:(0,n.jsx)(D.o,{variant:"caption-s-semibold",children:x("wheel.prize_description_promo")})})]}):(0,n.jsx)("div",{className:(0,S.cn)(ea,"mb-spacing-40"),children:(0,n.jsx)(D.o,{variant:"caption-s-semibold",children:x("freespins"===s.balanceType?"wheel.bonus-section.freespins":"wheel.bonus-section.full-real")})})),g]})},es=e=>
1{let{isSpinned:t,isNewTurbine:a,nextSpinDate:s,onCompleteTech:l}=e,i=(0,d.c)();return(0,n.jsxs)("div",{className:(0,S.cn)("flex flex-col items-center text-center repeat-1 animate-[wheelPrizeIn_1s_ease] relative"),style:{marginTop:t?"300px":"160px"},children:[(0,n.jsx)(D.o,{variant:"display-m",className:"my-spacing-12 px-spacing-20 text-center",children:i("wheel.tech_time.title")}),(0,n.jsx)(G.E,{prefixIcon:"glyphs-loading",prefixIconClassName:"animate-spin",className:"pr-spacing-8",children:i("wheel.tech_time.count")}),(0,n.jsx)("div",{className:"bg-white/20 rounded-full inset-10 absolute -top-10 max-w-44 mx-auto",style:{filter:"blur(24px)",WebkitFilter:"blur(24px)",transform:"translateZ(0)"}}),!a&&(0,n.jsx)($,{isNewTurbine:a,nextSpinDate:s,onComplete:l})]})},el=()=>{var e,t,a,i;let c=(0,d.c)(),B=(0,o.useQueryClient)(),K=(0,u.useSetAtom)(R.C),M=(0,u.useSetAtom)(_.ww),{isSpinned:J,nextSpinDate:G,oldPrize:L,isNewTurbine:Q,isTechWorkTime:U,spin:q,prizes:$,invalidateTurbineData:Z,spinnedPayoutSplit:H,isVaultSplitSegment:V}=(0,r.P)(),X=(0,h.I)(),{mutateAsync:ee,isPending:et}=(()=>{let e=(0,o.useQueryClient)();return(0,f.useMutation)({mutationFn:g.v,mutationKey:["activate-bonus"],onSuccess:()=>{[y.$Y,y.EM,y.h$,y.J,y.Oq].forEach(t=>e.invalidateQueries({queryKey:[t]}))}})})(),{push:ea}=(0,m.useRouter)(),el=(0,m.usePathname)(),{data:ei}=(0,l.M)(),{setActiveView:er,activeView:ec}=(0,z.mx)(),[eo,eu]=(0,x.useState)(null),[ed,ep]=(0,x.useState)(!J),[em,ex]=(0,x.useState)(null),[eh,ef]=(0,x.useState)(null),eg=L||em,ey=(0,N.K)(eg),{status:eb,isLoading:ew}=(e=>{var t,a,n;let s=!!(0,v.useSession)().getToken(),{data:l,isLoading:i}=(0,b.useQuery)((0,w.r)({is_pagination:!1},{enabled:s&&!!e}));return{status:null!=(n=null==l||null==(a=l.items)||null==(t=a.find(t=>t.id===e))?void 0:t.status)?n:null,isLoading:i}})(ey?eg.bonusUserId:null),ev=eb===j.kh.inactive,ej=V?eh:null,[e_,eN]=(0,x.useState)(!1),ek=(0,x.useRef)(!1),ez=(0,x.useMemo)(()=>$&&0!==$.length?[...$.slice(1),$[0]]:[],[$]),eC=null==ei?void 0:ei.total.currency.code,eF="true"===C._.NEXT_PUBLIC_FREESPINS_ENDPOINT_V3,eS=async()=>{if(ek.current=!0,ep(!1),!Q&&0===ez.length)return{prizeIndex:0,cb:()=>eu(0)};let e=0,t=null!=L?L:null,a=L?H:null;if(!L){var n;let s=await q();e=s.amount,t=s,a=null!=(n=s.payoutSplit)?n:null,(0,N.K)(s)&&B.invalidateQueries({queryKey:[y.J]}),ex(s)}L&&ex(L);let s=L?L.amount:e,l=((e,t)=>{if(!t)return -1;let a=e.findIndex(e=>(null==e?void 0:e.amount)===t.amount&&(null==e?void 0:e.balanceType)===t.balanceType);return a>=0?a:e.findIndex(e=>(null==e?void 0:e.amount)===t.amount)})(ez,t);return{prizeIndex:l<0?0:l,cb:()=>{var e;eu(s),a&&(ef(a),L||X(a)),L||(e=>{var t;if((null==e?void 0:e.balanceType)!=="freespins")return;let a=null==e||null==(t=e.freespins)?void 0:t.id;a&&(B.invalidateQueries({queryKey:[eF?y.EM:y.h$],exact:!1}),setTimeout(async()=>{await B.invalidateQueries({queryKey:[k.MJ],exact:!1}),M(a),K(!1)},2e3))})(t),L||(e=t,(0,N.K)(e)&&(0,T.m)({type:"success",title:c("wheel.bonus_credited_title"),message:c("wheel.bonus_credited_message")}))}}},eT=async()=>{if((0,N.K)(eg)){if(ev)try{await ee(eg.bonusUserId)}catch(e){(0,A.B)(e instanceof Error?e:Error(String(e)),{tags:{source:"wheel-modal-activate-bonus"}}),(0,T.m)({type:"error",title:c("Shared.something_went_wrong"),message:""});return}K(!1),await Z(),ea(j.dN)}},eA=async()=>{K(!1),await Z(),(null==el?void 0:el.endsWith(F.P.Bonuses))||ea(F.P.Bonuses)},eI=async()=>{K(!1),await Z(),ea("/categories/video_slot/games")},eE=async()=>{K(!1),await Z()};(0,x.useEffect)(()=>{J||er(null),L&&!ek.current&&eN(!0)},[ec,er,J,L]);let eD=()=>{K(!1),Z()};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.HM,{onClick:eE,className:"absolute right-spacing-16 top-spacing-16 z-100 cursor-pointer text-content-secondary","data-mixpanel":W.cf,children:(0,n.jsx)(E.In,{icon:"glyphs-close"})}),(0,n.jsxs)("div",{className:(0,S.cn)("relative z-50 flex w-full flex-col items-center justify-center",(!J||null!==eo)&&"justify-start"),style:{height:"195px"},children:[(0,n.jsx)(p.default,{className:(0,S.cn)("absolute left-0 top-[140px] -z-10 max-tablet:-left-spacing-20 max-tablet:top-[120px] opacity-100",null!==eo&&"opacity-0 transition-300"),src:"/images/wheel-of-luck/money-left.png",alt:"",width:90,height:119}),(0,n.jsx)(p.default,{className:(0,S.cn)("absolute right-spacing-20 top-[30px] -z-10 max-tablet:-right-spacing-32 max-tablet:top-spacing-64 opacity-100",null!==eo&&"opacity-0 transition-300"),src:"/images/wheel-of-luck/money-right.png",alt:"",width:80,height:70}),!J&&!U&&(0,n.jsx)(D.o,{variant:"h1",className:(0,S.cn)("text-center px-spacing-12 pt-spacing-24",null!==eo&&"repeat-1 animate-[wheelTitleOut_1s_ease] fill-mode-forwards"),children:c.rich("wheel.prize_heading",{br:()=>(0,n.jsx)("br",{}),currency:null!=eC?eC:""})}),U&&(0,n.jsx)(es,{isSpinned:J,isNewTurbine:Q,nextSpinDate:G,onCompleteTech:eD}),!U&&(0,n.jsx)(en,{spinPrize:eo,prize:eg,currencyCode:eC,currencyPrecision:null==ei||null==(t=ei.total)||null==(e=t.currency)?void 0:e.precision,currencyDisplayFormat:null==ei||null==(i=ei.total)||null==(a=i.currency)?void 0:a.displayFormat,isSpinned:J,isNewTurbine:Q,nextSpinDate:G,onCompleteTech:eD,payoutSplit:ej})]}),(0,n.jsx)("div",{className:(0,S.cn)("relative mb-[-263px] max-tablet:size-[630px] size-[705px] max-tablet:mb-[-240px]",(null!==eo||U)&&"repeat-1 animate-[wheelOut_1s_ease] fill-mode-forwards translate-y-[200px]"),children:(0,n.jsx)(P.A,{prizes:(ez||[]).slice(0,15).map(e=>{var t;return(0,O.x8)(null!=(t=null==e?void 0:e.amount)?t:0,(null==e?void 0:e.balanceType)==="freespins"?"FS":eC||"")}),isEnabled:(e_||ed)&&!U,onSpin:eS,skipAnimation:e_,isAuth:null!==eo||U,isUpgraded:Q,children:(0,n.jsx)("div",{className:"absolute left-1/2 top-1/2 z-30 size-1/2 -translate-x-1/2 -translate-y-1/2 roun
1ded-full bg-[#003A58] mix-blend-overlay"})})}),(0,n.jsx)("div",{className:"absolute bottom-0 z-20 w-full ",style:{height:"100px",background:"linear-gradient(180deg, rgba(9,36,79,0) 0%, #0E0F37 86.61%)"}}),ej&&(0,n.jsxs)("div",{className:"absolute bottom-spacing-24 z-100 flex w-full animate-[wheelPrizeIn_1s_ease] flex-col items-center gap-spacing-16 px-spacing-24 repeat-1",children:[(0,n.jsx)(I.$,{size:"lg",onClick:eI,dataMixpanel:W.ve,variant:"staticPrimary",className:"w-full",children:c("wheel.play")}),(0,n.jsx)(Y,{nextSpinDate:G,onComplete:eD})]}),!ej&&(!!eo||0===eo||U)&&(0,n.jsx)("div",{className:(0,S.cn)("absolute bottom-11  px-spacing-24 w-full animate-[wheelPrizeIn_1s_ease] repeat-1 z-100",U&&"max-laptop:hidden"),children:(0,n.jsx)(I.$,{size:"lg",onClick:ey?eT:eA,loading:et||ew,dataMixpanel:W.ve,variant:"staticPrimary",className:"w-full",children:c(ev?"wheel.activate_and_play":"wheel.play")})})]})},ei=()=>{let{isWheelNotAvailable:e,isNewTurbine:t,prizes:a}=(0,r.P)(),{data:o}=(0,l.M)();return o&&!e&&(t||0!==a.length)?(0,n.jsx)(s.bL,{open:!0,children:(0,n.jsxs)(s.ZL,{children:[(0,n.jsx)(s.hJ,{className:"fixed inset-0 z-100 bg-bg-scrim"}),(0,n.jsxs)(s.UC,{className:"fixed z-200 flex w-full flex-col items-center rounded-container-xl outline-0 tablet:left-1/2 tablet:top-1/2 tablet:w-width-modal-desktop-m tablet:-translate-x-1/2 tablet:-translate-y-1/2 max-tablet:bottom-0 overflow-hidden",style:{background:"radial-gradient(ellipse 70% 60% at 50% 40%, #180047 0%, #2A0070 60%, #40009A 100%)"},children:[(0,n.jsx)(i.h,{className:"rotate-180 pointer-events-none opacity-50 h-full scale-150 -top-20",style:{maxWidth:"600px"}}),(0,n.jsx)("div",{className:"absolute left-0 bottom-0 -z-10 size-full bg-contain bg-center bg-no-repeat mix-blend-overlay",style:{background:"url(/images/wheel-of-luck/bg.webp) no-repeat center / contain"}}),(0,n.jsx)(s.L3,{className:"py-spacing-16",children:(0,n.jsx)(c.g,{fullLogo:!0})}),(0,n.jsx)(el,{})]})]})}):null}},22022:(e,t,a)=>{a.d(t,{v:()=>s});var n=a(80245);async function s(e){return await n.Ay.post("/api/v1/user_bonuses/".concat(e,"/active"))}},33561:(e,t,a)=>{a.d(t,{G:()=>s});var n=a(12115);let s=e=>{let t=(0,n.useRef)("undefined"!=typeof Audio?new Audio(e):void 0);return t.current&&(t.current.volume=.5,t.current.preload="auto"),t.current}},34761:(e,t,a)=>{a.d(t,{I:()=>r});var n=a(18955),s=a(12115),l=a(14336),i=a(9057);let r=()=>{let e=(0,n.c)("bonus_vault");return(0,s.useCallback)(t=>{(0,l.m)({type:"success",title:e("bonus_credited"),message:t?e("claim_success_message",{balanceAmount:(0,i.Ov)(t.balanceAmount,t.displayFormat),vaultAmount:(0,i.Ov)(t.vaultAmount,t.displayFormat)}):""})},[e])}},41211:(e,t,a)=>{a.d(t,{F4:()=>r,FG:()=>i,KW:()=>l,Nz:()=>s,kE:()=>n});let n="https://games-evo.cloudfire.app/audio/wheel/button_001.wav",s="https://games-evo.cloudfire.app/audio/wheel/welcome_003.wav",l="https://games-evo.cloudfire.app/audio/wheel/wheel_002.wav",i="https://games-evo.cloudfire.app/audio/wheel/wheel_stop_004.wav",r="https://games-evo.cloudfire.app/audio/wheel/win_003.wav"},42933:(e,t,a)=>{a.d(t,{K:()=>n});let n=e=>(null==e?void 0:e.balanceType)==="bonus"&&!!e.bonusUserId},43850:(e,t,a)=>{a.d(t,{f:()=>r});var n=a(95155),s=a(18955),l=a(96923),i=a(4005);let r=e=>{let{className:t}=e,a=(0,s.c)("bonus_vault");return(0,n.jsx)(i.o,{variant:"caption-s-regular",className:(0,l.cn)("text-content-static-white-primary",t),children:a.rich("payout_split_caption",{b:e=>(0,n.jsx)("span",{className:"font-semibold",children:e})})})}},49821:(e,t,a)=>{a.d(t,{B:()=>l});var n=a(2257),s=a(27122);let l=(e,t)=>{n.v4(a=>{if(a.setLevel((null==t?void 0:t.level)||"error"),null==t?void 0:t.tags)for(let e in t.tags)Object.prototype.hasOwnProperty.call(t.tags,e)&&a.setTag(e,t.tags[e]);(null==t?void 0:t.context)&&a.setContext("context",t.context),(null==t?void 0:t.user)&&a.setUser(t.user),s.Cp(e)})}},59845:(e,t,a)=>{a.d(t,{k:()=>i});var n=a(53455),s=a(93751),l=a(10991);let i=e=>{let t=(0,s.z)(),{data:a}=(0,n.useQuery)((0,l.n)(t));return(null==a?void 0:a.is_enabled)?a.vault_settings.sources[e]:void 0}},78767:(e,t,a)=>{a.d(t,{A:()=>x});var n=a(95155),s=a(97277),l=a(15239),i=a(12115),r=a(46927),c=a.n(r),o=a(41211),u=a(33561),d=a(96923),p=a(98270);let m=[4,29,53,76,99,123,147,171,195,219,243,267,291,315,340],x=e=>{let{className:t,prizes:a,onSpin:r,isEnabled:x,children:h,skipAnimation:f,isAuth:g,isUpgraded:y}=e,b=(0,s.Ym)(),w=(0,i.useRef)(-72),v=(0,i.useRef)(null),j=(0,i.useRef)(null),_=(0,i.useRef)(0),N=(0,i.useRef)(!1),k=(0,u.G)(o.kE),z=(0,u.G)(o.Nz),C=(0,u.G)(o.KW),F=(0,u.G)(o.FG),S=(0,u.G)(o.F4),[T,A]=(0,i.useState)(!1),[I,E]=(0,i.useState)(!1),[D,P]=(0,i.useState)(!1),W=e=>{v.current&&(v.current.style.transform="rotate(".concat(w.current+e,"deg)"),w.current=w.current+e)};function O(){if(!x||!v.current||N.current)return;N.current=!0,P(!0),f||(C.play().catch(()=>{}),E(!0),setTimeout(()=>{E(!1)},1e3)),j.current&&clearInterval(j.current),v.current.style.transitionDuration="4s",v.current.style.transitionTimingFunction="linear",W(7200-(_.current?(-1*_.current-4)*360/15:0));let e=Date.now();null==r||r().then(t=>{let{prizeIndex:a,cb:n}=t,s=Date.now();if(v.current){let t=-72+(-1*a-1)*24;if(f){v.current.style.transitionDuration="0ms",v.current.style.transform="rotate(".concat(t,"deg)"),w.current=t,_.current=a,n(),N.current=!1,P(!1);return}let l=5e3-(s-e);v.current.style.transitionDuration="".concat(l,"ms"),v.current.style.transitionTimingFunction="cubic-bezier(0.01, 0.77, 0.02, 1)",W(3600+(-1*a-1)*360/15),_.current=a,f||setTimeout(()=>{A(!0),F.play().catch(()=>{}),setTimeout(()=>{S.play().catch(()=>{}),A(!1),n(),N.current=!1,P(!1)},500)},l)}}).catch(()=>{N.current=!1,P(!1),v.current&&(v.current.style.transitionDuration="0ms",v.current.style.transform="rotate(".concat(w.current,"deg)")),E(!1)})}return(0,i.useEffect)(()=>{f||(setTimeout(()=>{W(360),null==z||z.play().catch(()=>{})},500),j.current=window.setInterval(()=>W(360),4e4))},[]),(0,i.useEffect)(()=>{f&&O()},[f]),(0,n.jsxs)("div",{className:(0,d.cn)("size-full relative p-[5.39%] font-extrabold",c().className,t),children:[h,(0,n.jsx)(l.default,{className:(0,d.cn)("absolute left-[42%] top-[-5%] z-30 w-[15.57%] -translate-y-1/5 duration-500",T&&"animate-bounce repeat-1",g&&"-translate-y-[340px]"),src:"/images/wheel-of-luck/arrow.webp",alt:"arrow",width:126,height:160,priority:!0}),(0,n.jsx)(l.default,{className:"absolute left-[49%] top-[7.3%] z-20 h-[36%] w-[21%] -translate-x-1/2",src:"/images/wheel-of-luck/win-section.png",width:150,height:150,alt:"Spin Wheel",priority:!0}),(0,n.jsx)(l.default,{className:(0,d.cn)("cursor-pointer absolute left-1/2 top-1/2 z-30 -translate-x-1/2 -translate-y-1/2 transition-transform size-[28%]",x&&"active:scale-90",(!x||D)&&"pointer-events-none"),src:"/images/wheel-of-luck/button_".concat("ru"===b?"ru":"en",".png"),width:242,height:242,alt:"Spin Wheel",onMouseDown:()=>!f&&x&&k.play().catch(()=>{}),onClick:O,priority:!0,"data-mixpanel":p.Bt}),(0,n.jsx)("div",{className:(0,d.cn)("absolute left-0 top-0 rounded-full bg-white-alpha-16 size-full opacity-0",I&&"animate-wheelWave")}),(0,n.jsxs)("div",{className:"relative z-10 size-full",style:{transitionDuration:"40s",transitionTimingFunction:"linear",transform:"rotate(-72deg)"},ref:v,children:[(0,n.jsx)(l.default,{src:y?"/images/wheel-of-luck/bonuses/wheel_gift3.webp":"/images/wheel-of-luck/wheel_1.webp",alt:"Wheel of Luck",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 80vw, 700px",priority:!0,className:"pointer-events-none select-none object-contain object-center",style:{transform:y?"rotate(-3deg)":"rotate(0deg)"}}),!y&&a.map((e,t)=>(0,n.jsx)("div",{className:"absolute right-0 top-1/2 flex w-1/2 origin-left justify-end bg-[linear-gradient(180deg,#F4F3F7_0%,#FFF_49.5%,#B4BDC6_98%)] bg-clip-text pl-spacing-64 pr-[7.5%] text-right text-[38px] font-extrabold tracking-[-3.56px] text-white",style:{transform:"translateY(-50%) rotate(".concat(m[t],"deg)")},children:(0,n.jsx)("span",{className:"z-10",style:{textShadow:"0px 4px 10.1px #08034B"},children:e})},t)),(0,n.jsx)(l.default,{alt:"Jackpot",src:"/images/wheel-of-luck/jackpot.png",className:"absolute right-0 top-[30.9%] -z-10 w-[33%] origin-top-right rotate-[22deg] mix-blend-color",width:218,he
1ight:204,priority:!0})]})]})}},98270:(e,t,a)=>{a.d(t,{Bt:()=>s,YW:()=>i,aF:()=>r,cf:()=>c,ve:()=>l});var n=a(62609);let s=JSON.stringify({button_name:n.o9.ButtonWheel,page_name:n.cf.WheelPopup,popup_window:!0}),l=JSON.stringify({button_name:n.o9.ButtonBonuses,page_name:n.cf.WheelResult,component_name:n.bO.Popup,popup_window:!0}),i=JSON.stringify({button_name:n.o9.ButtonRegistration,page_name:n.cf.WheelResult,popup_window:!0}),r=JSON.stringify({button_name:n.o9.CopyPromoCode,page_name:n.cf.WheelResult,popup_window:!0}),c=JSON.stringify({button_name:n.o9.CloseModal,page_name:n.cf.WheelResult,popup_window:!0})},98809:(e,t,a)=>{a.d(t,{FH:()=>u,sl:()=>o,x8:()=>c});var n=a(95155),s=a(53447);let l={default:{containerClass:"flex rotate-90 flex-col items-center pt-spacing-20 text-[22.4px] tracking-[-1.79px] max-tablet:text-[20px] max-tablet:tracking-[-1.6px]",amountClass:"whitespace-nowrap",suffixClass:"text-[12.8px] text-[#CAFE5A] max-tablet:text-[11.2px]",currencyClass:"text-[18.4px] tracking-[-1.47px] max-tablet:text-[16.4px]"},small:{containerClass:"flex rotate-90 flex-col items-center pt-spacing-20 text-[11.2px] tracking-[-0.88px]",amountClass:"whitespace-nowrap leading-none",suffixClass:"text-[6.4px] text-[#CAFE5A] leading-none",currencyClass:"text-[8.8px] tracking-[-0.72px] leading-none"},192:{containerClass:"flex rotate-90 flex-col items-center leading-none",amountClass:"whitespace-nowrap text-[6.4px] tracking-[-0.48px] leading-none",suffixClass:"text-[3.2px] text-[#CAFE5A]",currencyClass:"text-[4.8px] tracking-[-0.4px] leading-none"}};function i(e,t,a){let n=e.div(t).toDecimalPlaces(1,s.A.ROUND_DOWN);return{number:0===n.decimalPlaces()?n.toFixed(0):n.toString(),suffix:" ".concat(a," ")}}function r(e,t,a){let{number:r,suffix:c}=function(e){let t=new s.A(e).abs();return t.lessThan(1e3)?{number:t.toString(),suffix:""}:t.lessThan(1e5)||t.lessThan(1e6)?i(t,new s.A(1e3),"k"):i(t,new s.A(1e6),"m")}(e),o=l[a];return(0,n.jsxs)("div",{className:o.containerClass,children:[(0,n.jsxs)("span",{className:o.amountClass,children:[r,c&&(0,n.jsx)("span",{className:o.suffixClass,children:c})]}),(0,n.jsx)("span",{className:o.currencyClass,children:t})]})}function c(e,t){return r(e,t,"default")}function o(e,t){return r(e,t,"small")}function u(e,t){return r(e,t,"192")}}}]);

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.