1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5711],{79624:function(e,t,n){n.d(t,{Z:function(){return isMobile}});var i=/iPhone/i,l=/iPod/i,r=/iPad/i,a=/\biOS-universal(?:.+)Mac\b/i,s=/\bAndroid(?:.+)Mobile\b/i,o=/Android/i,c=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,d=/Silk/i,x=/Windows Phone/i,u=/\bWindows(?:.+)ARM\b/i,p=/BlackBerry/i,m=/BB10/i,h=/Opera Mini/i,b=/\b(CriOS|Chrome)(?:.+)Mobile/i,g=/Mobile(?:.+)Firefox\b/i,isAppleTabletOnIos13=function(e){return void 0!==e&&"MacIntel"===e.platform&&"number"==typeof e.maxTouchPoints&&e.maxTouchPoints>1&&"undefined"==typeof MSStream};function isMobile(e){var t,n={userAgent:"",platform:"",maxTouchPoints:0};e||"undefined"==typeof navigator?"string"==typeof e?n.userAgent=e:e&&e.userAgent&&(n={userAgent:e.userAgent,platform:e.platform,maxTouchPoints:e.maxTouchPoints||0}):n={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var f=n.userAgent,y=f.split("[FBAN");void 0!==y[1]&&(f=y[0]),void 0!==(y=f.split("Twitter"))[1]&&(f=y[0]);var _=(t=f,function(e){return e.test(t)}),v={apple:{phone:_(i)&&!_(x),ipod:_(l),tablet:!_(i)&&(_(r)||isAppleTabletOnIos13(n))&&!_(x),universal:_(a),device:(_(i)||_(l)||_(r)||_(a)||isAppleTabletOnIos13(n))&&!_(x)},amazon:{phone:_(c),tablet:!_(c)&&_(d),device:_(c)||_(d)},android:{phone:!_(x)&&_(c)||!_(x)&&_(s),tablet:!_(x)&&!_(c)&&!_(s)&&(_(d)||_(o)),device:!_(x)&&(_(c)||_(d)||_(s)||_(o))||_(/\bokhttp\b/i)},windows:{phone:_(x),tablet:_(u),device:_(x)||_(u)},other:{blackberry:_(p),blackberry10:_(m),opera:_(h),firefox:_(g),chrome:_(b),device:_(p)||_(m)||_(h)||_(g)||_(b)},any:!1,phone:!1,tablet:!1};return v.any=v.apple.device||v.android.device||v.windows.device||v.other.device,v.phone=v.apple.phone||v.android.phone||v.windows.phone,v.tablet=v.apple.tablet||v.android.tablet||v.windows.tablet,v}},95711:function(e,t,n){n.r(t),n.d(t,{default:function(){return _type_WinBallot}});var i=n(57437),l=n(31197),r=n(88788),a=n(28213),s=n(72515),o=n(2265),c=n(62031),d=n(16691),x=n.n(d),_type_WinNumberDialog=({cRef:e,type:t})=>{let n=(0,s.useTranslations)("lottery"),l=(0,s.useTranslations)("common"),[a,d]=(0,o.useState)(!1),handleClose=()=>{d(!1)};return(0,o.useImperativeHandle)(e,()=>({openModal:()=>{d(!0)}})),(0,i.jsx)(c.Vq,{open:a,children:(0,i.jsxs)(c.jJ,{onOpenAutoFocus:e=>e.preventDefault(),className:"my-0 max-w-[600px] top-1/2 gap-0 -translate-y-1/2",children:[(0,i.jsx)(c.fK,{children:(0,i.jsxs)("div",{className:"flex justify-between items-center",children:[(0,i.jsx)("h5",{className:"title-5",children:n("lottery_winBallot_result_numbers_btn")}),(0,i.jsx)("div",{className:"px-2 cursor-pointer",onClick:()=>{handleClose()},children:(0,i.jsx)(x(),{src:"/images/mobile/close_icon.png",width:14,height:14,alt:"close_icon"})})]})}),(0,i.jsxs)("div",{className:"text-1 mt-4",children:[n("lottery_main_early_bird_desc1"),"sealminer"===t?"30,000":"10,000",n("lottery_main_early_bird_desc2")]}),(0,i.jsx)(c.cN,{className:"flex mt-8 !justify-center",children:(0,i.jsx)(r.zx,{type:"button",onClick:handleClose,className:"w-full xl:!w-[235px]",children:l("Confirm")})})]})})},u=n(29679),_type_WinBallot=({info:e,type:t})=>{let n=(0,s.useTranslations)("lottery"),c=(0,o.useRef)(),d=(0,u.Z)(1200);(0,s.useLocale)();let x=(0,o.useMemo)(()=>e.totalWinningNumber.split(","),[e.totalWinningNumber]),[p,m]=(0,o.useState)(1),[h,b]=(0,o.useState)(1),getPageData=(e,t=!1)=>{let n=t?80:150,i=(e-1)*n;return Array.from({length:n},(e,t)=>x[i+t])},[g,f]=(0,o.useState)(getPageData(1)),[y,_]=(0,o.useState)(getPageData(1,!0)),handlePageChangeH5=e=>{_(getPageData(e,!0)),b(e)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"container-1200",children:[(0,i.jsxs)("div",{className:"mt-[60px] xl:mt-[80px]",children:[(0,i.jsx)("p",{className:"title-3 ",children:n("lottery_winBallot_result_panels_title")}),(0,i.jsxs)("div",{className:"mt-4 grid gap-4 xl:mt-6 xl:gap-6 xl:grid-cols-3",children:[(0,i.jsxs)("div",{className:"border rounded-lg border-[#F76B1C] shadow-lg py-6 px-4 xl:py-[30px] xl:px-8",children:[(0,i.jsx)("p",{className:"font-medium text-[18px] text-[#1b1b1b] text-opacity-50 leading-6 xl:text-[24px] xl:leading-9",children:n("lottery_winBallot_result_panel_1_title")}),(0,i.jsx)("p",{className:"text-[#F76B1C] title-1",children:(0,a.J8)(e.winnerCount)})]}),(0,i.jsxs)("div",{className:"border rounded-lg border-[#F76B1C] shadow-lg py-6 px-4 xl:py-[30px] xl:px-8",children:[(0,i.jsx)("p",{className:"font-medium text-[18px] text-[#1b1b1b] text-opacity-50 leading-6 xl:text-[24px] xl:leading-9",children:n("lottery_winBallot_result_panel_2_title")}),(0,i.jsx)("p",{className:"text-[#F76B1C] title-1",children:(0,a.J8)(e.blockHeight)})]}),(0,i.jsxs)("div",{className:"border rounded-lg border-[#F76B1C] shadow-lg py-6 px-4 xl:py-[30px] xl:px-8",children:[(0,i.jsx)("p",{className:"font-medium text-[18px] text-[#1b1b1b] text-opacity-50 leading-6 xl:text-[24px] xl:leading-9",children:n("lottery_winBallot_result_panel_3_title")}),(0,i.jsx)("p",{className:"text-[#F76B1C] title-1",children:e.seed})]})]})]}),(0,i.jsxs)("div",{className:"mt-[60px] xl:mt-[80px]",children:[(0,i.jsx)("div",{className:"flex justify-between items-center",children:(0,i.jsx)("p",{className:"title-3 ",children:n("lottery_winBallot_result_numbers_title")})}),d?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"mt-4 grid gap-1 grid-cols-[repeat(8,minmax(0,1fr))] xl:hidden",children:y.map(e=>e?(0,i.jsx)("div",{className:"rounded-lg flex bg-[#F76B1C] bg-opacity-10 h-7 w-full text-[#F76B1C] text-[10px] justify-center items-center",children:e},e):null)}),x.length>80&&(0,i.jsxs)("div",{className:"flex space-x-2 mt-4 items-center justify-center xl:hidden",children:[(0,i.jsx)(r.zx,{onClick:()=>handlePageChangeH5(h-1),variant:"outline",disabled:1===h,className:"border-[#49B881] text-[#49B881] px-[10px] text-[12px] select-none bg-[#49B881] bg-opacity-10 h-[28px] disabled:opacity-50",children:n("lottery_winBallot_result_prev_btn")}),(0,i.jsx)(r.zx,{onClick:()=>handlePageChangeH5(h+1),disabled:Math.ceil(x.length/80)===h,variant:"outline",className:"border-[#49B881] select-none text-[#49B881] px-[10px] text-[12px] bg-[#49B881] bg-opacity-10 h-[28px] disabled:opacity-50",children:n("lottery_winBallot_result_next_btn")})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"mt-6 gap-2 grid-cols-[repeat(15,minmax(0,1fr))] hidden xl:grid",children:g.map((e,t)=>e?(0,i.jsx)("div",{className:"rounded-lg flex bg-[#F76B1C] bg-opacity-10 h-10 text-[#F76B1C] text-[14px] leading-6 justify-center items-center",children:e},e):null)}),x.length>150&&(0,i.jsx)("div",{className:"my-6 hidden xl:block",children:(0,i.jsx)(l.Z,{pageSize:150,current:p,onChange:(e,t)=>
1{f(getPageData(e)),m(e)},total:x.length})})]})]})]}),(0,i.jsx)(_type_WinNumberDialog,{type:t,cRef:c})]})}},31197:function(e,t,n){n.d(t,{Z:function(){return Pagination}});var i=n(57437);n(2265);var l=n(92012);function Pagination({...e}){return(0,i.jsx)(l.Z,{...e})}},29679:function(e,t,n){var i=n(2265),l=n(79624);t.Z=(e=1024)=>{let[t,n]=(0,i.useState)(!1),checkScreenSize=()=>{let t=(0,l.Z)().phone||(0,l.Z)().tablet||document.body.clientWidth<e;n(t)};return(0,i.useEffect)(()=>(checkScreenSize(),window.addEventListener("resize",checkScreenSize),()=>{window.removeEventListener("resize",checkScreenSize)}),[]),t}},28213:function(e,t,n){n.d(t,{J8:function(){return NumberFormatFor1000},dD:function(){return formatPositive},in:function(){return MoneyFormatForUSD},kh:function(){return formatInteger},yR:function(){return formatAmountMinTwoDecimals},yx:function(){return MoneyFormatForUSDFloor}});var i=n(55194),l=n.n(i),r=n(57482);let MoneyFormatForUSD=e=>{if(isNaN(e=parseFloat(e)))return"-";let t=new r.Z(e);return l()(t).format("0,0[.][00]")},MoneyFormatForUSDFloor=e=>{if(isNaN(e=parseFloat(e)))return"-";let t=new r.Z(e),n=t.times(100).floor().dividedBy(100);return l()(n.toString()).format("0,0[.][00]")},formatInteger=e=>[".","+","-","e","E"].includes(e.key)&&e.preventDefault(),formatPositive=e=>["+","-","e","E"].includes(e.key)&&e.preventDefault(),NumberFormatFor1000=e=>
1isNaN(e=parseFloat(e))?"-":l()(e).format("0,0"),formatAmountMinTwoDecimals=e=>{let t;if(null==e||""===e)return"-";try{if("number"==typeof e){if(!Number.isFinite(e))return"-";t=new r.Z(e).toDecimalPlaces(20,r.Z.ROUND_HALF_UP)}else{let n=e.trim();if(""===n)return"-";t=new r.Z(n)}}catch{return"-"}if(!t.isFinite())return"-";let n=t.abs().toFixed(20).replace(/\.?0+$/,""),i=n.includes(".")?n.split(".")[1].length:0,a=t.toString();return i<=2?l()(a).format("0,0.00"):l()(a).format("0,0[.][00000]")}}}]);
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.