PageSourceSearch

https://crypto-games.io/_next/static/chunks/3932.6f55b2d1e8714fd8.js

js crypto-games.io collected 2026-10-07 20:51:39 UTC 2,992 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3932,4477],{22436:(e,n,t)=>{var r=t(12115),i="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},c=r.useState,a=r.useEffect,l=r.useLayoutEffect,o=r.useDebugValue;function s(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!i(e,t)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),r=c({inst:{value:t,getSnapshot:n}}),i=r[0].inst,u=r[1];return l(function(){i.value=t,i.getSnapshot=n,s(i)&&u({inst:i})},[e,t,n]),a(function(){return s(i)&&u({inst:i}),e(function(){s(i)&&u({inst:i})})},[e]),o(t),t};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},34477:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),!function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{callServer:function(){return r.callServer},createServerReference:function(){return c},findSourceMapURL:function(){return i.findSourceMapURL}});let r=t(53806),i=t(31818),c=t(34979).createServerReference},44644:(e,n,t)=>{t.r(n),t.d(n,{default:()=>b});var r=t(95155),i=t(12115),c=t(16722),a=t(57863),l=t(52877),o=t(82528),s=t(49670),u=t(68586),d=t(76857),f=t(109),h=t(2391),v=t(34477);let x=(0,v.createServerReference)("7fc50d5d66a6b12b6420aac2c8603c2bc8b79d9311",v.callServer,void 0,v.findSourceMapURL,"forfeitBonus");var p=t(36034),y=t(6820),S=t(10810),m=t(17801);let b=e=>{let[n,t]=(0,i.useState)(!1),v=(0,p.c)(),{close:b}=(0,y.s)(),g=async()=>{e.bonusId&&(t(!0),(await x(e.bonusId)).ok?(0,m.$U)({color:"success",title:"Bonus forfeited successfully"}):(0,m.$U)({color:"danger",title:"Error occurred during forfeit, please try again."}),t(!1),b(e.id))};return(0,r.jsx)(c.A,{id:e.id,isOpen:e.isOpen,children:(0,r.jsxs)("div",{className:"flex flex-col items-center text-center w-full p-2",children:[(0,r.jsxs)("div",{className:"flex items-center flex-col max-w-[415px]",children:[(0,r.jsx)("div",{className:"flex justify-center items-center w-14 h-14 rounded-full bg-icon-warning/10",children:(0,r.jsx)(S.A,{width:"32",height:"32"})}),(0,r.jsxs)("div",{className:"flex flex-col gap-3 py-4",children:[(0,r.jsx)(l.A,{type:o.e.HeadlineThreeBold,tag:"h2",children:v("Are you sure you want to forfeit your bonus?")}),(0,r.jsx)(a.A,{color:"text-text-secondary",type:s.H.BodyThreeRegular,htmlTag:u.Y.Span,children:v("This action is final and cannot be undone.If you continue, the bonus and all winnings earned from it will be permanently lost.")})]})]}),(0,r.jsxs)(a.A,{className:"flex gap-[9px] w-full",type:s.H.ButtonPrimarySecondSemiBold,htmlTag:u.Y.Div,children:[(0,r.jsx)(d.default,{onClick:()=>{b(e.id)},fullWidth:!0,size:h.N.Md,variant:f.J.Secondary,children:"Cancel"}),(0,r.jsx)(d.default,{onClick:g,isLoading:n,fullWidth:!0,size:h.N.Md,variant:f.J.Primary,children:v("Confirm")})]})]})})}},49033:(e,n,t)=>{e.exports=t(22436)}}]);

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.