PageSourceSearch

https://www.bittime.com/_next/static/chunks/pages/mining-points/[id]-142171fa2e9a8ce1.js

js bittime.com collected 2026-10-01 12:21:37 UTC 42,092 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1772],{78646:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mining-points/[id]",function(){return i(23299)}])},23299:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return eM},default:function(){return eT}});var n=i(36734),l=i(51776),o=i(15241),a=i(6425),s=i.n(a),r=i(86880),d=i(20150),c=i.n(d),p=i(33906),u=i(69844),h=i(64156),x=i(78507),m=i(54872),_=i(36049),v=i(54008),j=i(86465),g=i(38698),f=i(37674),C=i.n(f),y=i(92928),b=i(67832),w=i.n(b),N=i(63015),D=i(507),B=i(8134),A={src:"/_next/static/media/point-share-img.c9c6c111.png",height:1968,width:2362,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAIAAAC6O5sJAAAAuElEQVR42mNgYGLlYGBgYBBkYNBgENdhYJBgYGBgYGZnkJSRE7cNi0nPa6rOTgnzS02MtQ9NllPWZtDTkHeKzF64dMrdg9mb0hhWbpyR2N1hKinDIM3HxcDAMCUp7NrSqIXFRq7OtvyyTLwMDAwibBwMDGzJcrITymrT4wvt7Py5GRj4eIQYBAT5jIykNB30mlOVa4IlfH19LC30ePiYGNh52GV1xI1tjGzNNE21uXV0NVV1NZm5GQCqRSQ4GPzg1AAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:7},k=i(67430),L=i(23850),P=i(62069),z=i(80690),E=i(15092),M=i(30355),T=i.n(M),Z=i(42179),I=i(56101);let F=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_8214_9006)",children:[(0,n.jsx)("path",{d:"M6 2.74971C6.27614 2.74971 6.5 2.97357 6.5 3.24971V6.74971C6.5 7.02585 6.27614 7.24971 6 7.24971C5.72386 7.24971 5.5 7.02585 5.5 6.74971V3.24971C5.5 2.97357 5.72386 2.74971 6 2.74971Z",fill:"#BBC3CC",fillOpacity:"0.6"}),(0,n.jsx)("path",{d:"M6 8.99971C6.16576 8.99971 6.32473 8.93386 6.44194 8.81665C6.55915 8.69944 6.625 8.54047 6.625 8.37471C6.625 8.20895 6.55915 8.04998 6.44194 7.93277C6.32473 7.81556 6.16576 7.74971 6 7.74971C5.83424 7.74971 5.67527 7.81556 5.55806 7.93277C5.44085 8.04998 5.375 8.20895 5.375 8.37471C5.375 8.54047 5.44085 8.69944 5.55806 8.81665C5.67527 8.93386 5.83424 8.99971 6 8.99971Z",fill:"#BBC3CC",fillOpacity:"0.6"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6ZM6 1.5C3.51472 1.5 1.5 3.51472 1.5 6C1.5 8.48528 3.51472 10.5 6 10.5C8.48528 10.5 10.5 8.48528 10.5 6C10.5 3.51472 8.48528 1.5 6 1.5Z",fill:"#BBC3CC",fillOpacity:"0.6"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_8214_9006",children:(0,n.jsx)("rect",{width:"12",height:"12",fill:"white"})})})]}),R=e=>{let{t,ranking:i,showExtraBonus:l}=e,{isMobile:o}=(0,L.Z)(),a=l&&(null==i?void 0:i.some(e=>null==e?void 0:e.extraBonusAmount)),s=[{key:"ranking",dataIndex:"sort",title:t("ranking"),width:o?24:120,render:e=>e},...a?[{key:"extraBonusAmount",dataIndex:"extraBonusAmount",title:()=>(0,n.jsxs)("span",{className:T().extraBonusHeader,children:[t("extraBonus"),(0,n.jsx)(Z.Z,{tooltipText:t("extra_bonus_tooltip"),position:"top",children:F})]}),render(e,t){var i;return e?(0,n.jsx)("span",{className:T().extraBonusValue,children:(0,k.uf)(e)+" "+(null===(i=(null==t?void 0:t.extraBonusCoinAlias)||(null==t?void 0:t.extraBonusCoin))||void 0===i?void 0:i.toUpperCase())}):(0,n.jsx)("span",{className:T().extraBonusEmpty,children:"--"})}}]:[],{key:"email",dataIndex:"maskedEmail",title:t("user"),render:e=>e},{key:"point",dataIndex:"point",title:t("points"),render:e=>(0,k.uf)(e),align:"right"}];return(0,n.jsx)("div",{className:T().ranking,children:(0,n.jsx)(I.Z,{data:i,columns:s},"sort")})};var U={src:"/_next/static/media/avatar.defc9885.png",height:264,width:264,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAw0lEQVR42i2LMYoCQRBF6yQbrswdlk029gAbbLRnESNvoIOYCRqJYqCIgYEYGBooKJiKYDJVv8eeb9dgwYfHe5T4Afg0w7KqoFWEOruroxkaabeyBE9n4+VqfD5BdwAaUqit0ie3e4N8KaWpPBwNMYKamqgikMbJIsUPUDJws1O68yZmFsoyECFyMH5wNH0wxsgQAr1JgnVRKHt5juGwT1+3l8OdNyGZzWbzu4iw1e7Uc3bnTd6X/f79r79/msHnnFwdX+fnu+lbn5V4AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};let V=e=>{let{t,top:i,showExtraBonus:l}=e;return(0,n.jsx)("div",{className:T().top,children:i.map((e,i)=>{var o;return(0,n.jsxs)("div",{className:T().topItem,children:[(0,n.jsx)("i",{className:"".concat(T().icon," ").concat(T()["rank".concat(i)]),children:(0,n.jsx)(w(),{src:U,width:80,height:80,alt:"avatar"})}),(0,n.jsx)("p",{className:T().email,children:null==e?void 0:e.maskedEmail}),(0,n.jsxs)("p",{className:T().point,children:[t("points"),(0,n.jsx)("span",{children:(0,k.uf)(null==e?void 0:e.point)})]}),l&&(0,n.jsxs)("p",{className:T().topExtraBonus,children:[t("extraBonus"),(0,n.jsx)("span",{children:(null==e?void 0:e.extraBonusAmount)?(0,k.uf)(null==e?void 0:e.extraBonusAmount)+" "+(null===(o=(null==e?void 0:e.extraBonusCoinAlias)||(null==e?void 0:e.extraBonusCoin))||void 0===o?void 0:o.toUpperCase()):"--"})]})]},null==e?void 0:e.sort)})})},H=e=>{let{t,activityId:i,pointDetail:a}=e,{getRequestHeaders:s,isApp:r,isAppToken:d,isAppDfp:c,initial:p}=(0,m.b)(),[u,_]=(0,l.useState)([]),[v,j]=(0,l.useState)(null),[g,f]=(0,l.useState)({pageNo:1,pageSize:10,activityId:i});(0,o.QT)(x.E4,{defaultParams:[{...g,...r?{token:d,dfp:c}:{}},{header:s()}
1],onSuccess(e,t){let{code:i,data:n}=e;i===h.G&&(j(n),1===t[0].pageNo&&_(n.list.slice(0,3)))},refreshDeps:[g],ready:p});let C=()=>f(e=>({...e,pageNo:e.pageNo+1})),y=()=>f(e=>({...e,pageNo:Math.max(e.pageNo-1,0)}));return(null==v?void 0:v.total)>0&&(0,n.jsxs)("section",{className:T().leaderboard,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:T().leaderboardTitle,children:t("leaderboard")}),(0,n.jsx)("p",{className:T().leaderboardDesc,children:t("leaderboardDesc")})]}),(0,n.jsx)(V,{top:u,t:t,showExtraBonus:(null==v?void 0:v.hasRankPool)||!1}),(0,n.jsx)(R,{ranking:null==v?void 0:v.list,t:t,showExtraBonus:(null==v?void 0:v.hasRankPool)||!1}),(0,n.jsxs)("div",{className:T().paginationBtns,children:[(0,n.jsx)("div",{onClick:y,className:"".concat(T().prevBtn," ").concat((null==g?void 0:g.pageNo)===1?T().disabled:""),children:(0,n.jsx)(E.g,{})}),(0,n.jsx)("div",{onClick:C,className:"".concat(T().nextBtn," ").concat((null==g?void 0:g.pageNo)*10>=(null==v?void 0:v.total)?T().disabled:""),children:(0,n.jsx)(E.N,{})})]})]})};var S=i(9608),O=i(24903),G=i(58990),W=i(26805),Y=i.n(W),Q=i(60574),X=i(90636),q=i(91966),J=i(69727),K=i(74952),$=i(28701);function ee(e,t){let i=[...t].reverse();i.forEach(i=>{let n=e.getVariant(i);n&&(0,K.C)(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{ee(e,t)})})}function et(){let e=!1,t=new Set,i={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(i,n){(0,J.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let l=[];return t.forEach(e=>{l.push((0,$.d)(e,i,{transitionOverride:n}))}),Promise.all(l)},set:i=>((0,J.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{Array.isArray(i)?ee(e,i):"string"==typeof i?ee(e,[i]):(0,K.C)(e,i)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,i.stop()})};return i}let ei=function(){let e=(0,X.h)(et);return(0,q.L)(e.mount,[]),e};var en=i(67254),el=i(59404),eo=i(10873),ea=i(97214);function es(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class er extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let i=t.offsetParent,n=(0,eo.R)(i)&&i.offsetWidth||0,l=this.props.sizeRef.current;l.height=t.offsetHeight||0,l.width=t.offsetWidth||0,l.top=t.offsetTop,l.left=t.offsetLeft,l.right=n-l.width-l.left}return null}componentDidUpdate(){}render(){return this.props.children}}function ed({children:e,isPresent:t,anchorX:i,root:o}){let a=(0,l.useId)(),s=(0,l.useRef)(null),r=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,l.useContext)(ea._),c=function(...e){return l.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=es(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():es(e[t],null)}}}}(...e),e)}(s,e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:n,top:l,left:c,right:p}=r.current;if(t||!s.current||!e||!n)return;let u="left"===i?`left: ${c}`:`right: ${p}`;s.current.dataset.motionPopId=a;let h=document.createElement("style");d&&(h.nonce=d);let x=o??document.head;return x.appendChild(h),h.sheet&&h.sheet.insertRule(`
2          [data-motion-pop-id="${a}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${n}px !important;
6            ${u}px !important;
7            top: ${l}px !important;
8          }
9        `),()=>{x.contains(h)&&x.removeChild(h)}},[t]),(0,n.jsx)(er,{isPresent:t,childRef:s,sizeRef:r,children:l.cloneElement(e,{ref:c})})}let ec=({children:e,initial:t,isPresent:i,onExitComplete:o,custom:a,presenceAffectsLayout:s,mode:r,anchorX:d,root:c})=>{let p=(0,X.h)(ep),u=(0,l.useId)(),h=!0,x=(0,l.useMemo)(()=>(h=!1,{id:u,initial:t,isPresent:i,custom:a,onExitComplete(e){for(let t of(p.set(e,!0),p.values()))if(!t)return;o&&o()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[i,p,o]);return s&&h&&(x={...x}),(0,l.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[i]),l.useEffect(()=>{i||p.size||!o||o()},[i]),"popLayout"===r&&(e=(0,n.jsx)(ed,{isPresent:i,anchorX:d,root:c,children:e})),(0,n.jsx)(el.O.Provider,{value:x,children:e})};function ep(){return new Map}var eu=i(72164);let eh=e=>e.key||"";function ex(e){let t=[];
9return l.Children.forEach(e,e=>{(0,l.isValidElement)(e)&&t.push(e)}),t}let em=({children:e,custom:t,initial:i=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:s="sync",propagate:r=!1,anchorX:d="left",root:c})=>{let[p,u]=(0,eu.oO)(r),h=(0,l.useMemo)(()=>ex(e),[e]),x=r&&!p?[]:h.map(eh),m=(0,l.useRef)(!0),_=(0,l.useRef)(h),v=(0,X.h)(()=>new Map),[j,g]=(0,l.useState)(h),[f,C]=(0,l.useState)(h);(0,q.L)(()=>{m.current=!1,_.current=h;for(let e=0;e<f.length;e++){let t=eh(f[e]);x.includes(t)?v.delete(t):!0!==v.get(t)&&v.set(t,!1)}},[f,x.length,x.join("-")]);let y=[];if(h!==j){let b=[...h];for(let w=0;w<f.length;w++){let N=f[w],D=eh(N);x.includes(D)||(b.splice(w,0,N),y.push(N))}return"wait"===s&&y.length&&(b=y),C(ex(b)),g(h),null}let{forceRender:B}=(0,l.useContext)(en.p);return(0,n.jsx)(n.Fragment,{children:f.map(e=>{let l=eh(e),j=(!r||!!p)&&(h===f||x.includes(l)),g=()=>{if(!v.has(l))return;v.set(l,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(B?.(),C(_.current),r&&u?.(),o&&o())};return(0,n.jsx)(ec,{isPresent:j,initial:(!m.current||!!i)&&void 0,custom:t,presenceAffectsLayout:a,mode:s,root:c,onExitComplete:j?void 0:g,anchorX:d,children:e},l)})})},e_=e=>{let{id:t,onComplete:i}=e,l=.6*Math.PI,o=-(.75*Math.PI)+(Math.random()*l-l/2),a=60+50*Math.random();return(0,n.jsx)(Q.E.div,{initial:{scaleX:0,scaleY:0,x:0,y:0,opacity:1,rotate:o*(180/Math.PI)},animate:{scaleX:[0,1.5,0],scaleY:[0,1,0],x:Math.cos(o)*a,y:Math.sin(o)*a+10,opacity:[1,1,0]},transition:{duration:.3+.2*Math.random(),ease:"easeOut"},onAnimationComplete:()=>i(t),style:{position:"absolute",zIndex:30,left:"45%",top:"45%",width:"14px",height:"3px",background:Math.random()>.3?"#FBBF24":"#FFFFFF",borderRadius:"2px",boxShadow:"0 0 12px 2px rgba(251, 191, 36, 0.6)",transformOrigin:"left center"}},t)};var ev=function(){let[e,t]=(0,l.useState)([]),i=ei(),o=ei(),a=ei(),s=()=>{let e=Array.from({length:12}).map((e,t)=>({id:Date.now()+t+Math.random()}));t(t=>[...t.slice(-20),...e])},r=e=>{t(t=>t.filter(t=>t.id!==e))};return(0,l.useEffect)(()=>{let e=!0,t=async()=>{for(;e&&(await i.start({rotate:65,transition:{duration:.35,ease:"backInOut"}}),e)&&(i.start({rotate:-20,transition:{duration:.12,ease:"easeIn"}}),await new Promise(e=>setTimeout(e,110)),e);)s(),o.start({scale:[1,.94,1.02,1],y:[0,4,-1,0],x:[0,-4,2,0],transition:{duration:.4,times:[0,.2,.5,1],ease:"easeOut"}}),a.start({opacity:[0,1,0],scale:[.5,1.5,2],transition:{duration:.3,ease:"easeOut"}}),await i.start({rotate:-5,transition:{duration:.2,ease:"easeOut"}}),await new Promise(e=>setTimeout(e,300))};return t(),()=>{e=!1}},[i,o,a]),(0,n.jsxs)("div",{style:{position:"relative",width:"180px",height:"180px",display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,n.jsx)("div",{style:{position:"absolute",inset:0,background:"rgba(234, 179, 8, 0.1)",filter:"blur(40px)",borderRadius:"9999px",zIndex:0,pointerEvents:"none",transform:"scale(0.75)"}}),(0,n.jsx)(Q.E.div,{style:{position:"absolute",bottom:"4px",zIndex:10,transformOrigin:"bottom"},animate:o,initial:{scale:1,y:0,x:0},children:(0,n.jsxs)("svg",{width:"180",height:"150",viewBox:"0 0 180 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M 40 50 L 15 110 L 80 90 Z",fill:"#1E293B"}),(0,n.jsx)("path",{d:"M 40 50 L 80 90 L 60 120 Z",fill:"#334155"}),(0,n.jsx)("path",{d:"M 140 40 L 95 100 L 170 95 Z",fill:"#0F172A"}),(0,n.jsx)("path",{d:"M 140 40 L 105 110 L 125 125 Z",fill:"#1E293B"}),(0,n.jsx)("path",{d:"M 140 40 L 170 95 L 150 115 Z",fill:"#334155"}),(0,n.jsxs)("g",{transform:"translate(45, 75) scale(0.65)",children:[(0,n.jsx)("ellipse",{cx:"0",cy:"6",rx:"20",ry:"10",fill:"#B45309"}),(0,n.jsx)("rect",{x:"-20",y:"0",width:"40",height:"6",fill:"#B45309"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"20",ry:"10",fill:"#FBBF24"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"14",ry:"7",fill:"#FDE68A"}),(0,n.jsx)("path",{d:"M -4 0 L 0 4 L 4 0 L 0 -4 Z",fill:"#B45309"})]}),(0,n.jsxs)("g",{transform:"translate(135, 65) scale(0.75)",children:[(0,n.jsx)("ellipse",{cx:"0",cy:"6",rx:"20",ry:"10",fill:"#B45309"}),(0,n.jsx)("rect",{x:"-20",y:"0",width:"40",height:"6",fill:"#B45309"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"20",ry:"10",fill:"#FBBF24"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"14",ry:"7",fill:"#FDE68A"}),(0,n.jsx)("path",{d:"M -4 0 L 0 4 L 4 0 L 0 -4 Z",fill:"#B45309"})]}),(0,n.jsx)("path",{d:"M 90 25 L 25 110 L 155 110 Z",fill:"#1E293B"}),(0,n.jsx)("path",{d:"M 90 25 L 25 110 L 65 130 L 90 120 Z",fill:"#334155"}),(0,n.jsx)("path",{d:"M 90 25 L 90 120 L 125 125 L 155 110 Z",fill:"#475569"}),(0,n.jsx)("path",{d:"M 90 25 L 65 95 L 90 120 L 115 100 Z",fill:"#64748B"}),(0,n.jsx)("path",{d:"M 90 25 L 75 55 L 90 65 L 100 45 Z",fill:"#94A3B8"}),(0,n.jsx)("path",{d:"M 90 25 L 90 120",stroke:"#CBD5E1",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",opacity:"0.4"}),(0,n.jsxs)("g",{transform:"translate(115, 105) scale(0.9)",children:[(0,n.jsx)("ellipse",{cx:"0",cy:"6",rx:"20",ry:"10",fill:"#B45309"}),(0,n.jsx)("rect",{x:"-20",y:"0",width:"40",height:"6",fill:"#B45309"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"20",ry:"10",fill:"#FBBF24"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"14",ry:"7",fill:"#FDE68A"}),(0,n.jsx)("path",{d:"M -5 0 L 0 5 L 5 0 L 0 -5 Z",fill:"#B45309"})]}),(0,n.jsxs)("g",{transform:"translate(55, 115) scale(0.85)",children:[(0,n.jsx)("ellipse",{cx:"0",cy:"6",rx:"20",ry:"10",fill:"#B45309"}),(0,n.jsx)("rect",{x:"-20",y:"0",width:"40",height:"6",fill:"#B45309"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"20",ry:"10",fill:"#FBBF24"}),(0,n.jsx)("ellipse",{cx:"0",cy:"0",rx:"14",ry:"7",fill:"#FDE68A"}),(0,n.jsx)("path",{d:"M -4 0 L 0 4 L 4 0 L 0 -4 Z",fill:"#B45309"})]}),(0,n.jsx)("path",{d:"M 15 125 L 50 110 L 90 145 L 145 120 L 165 150 L 5 150 Z",fill:"#0F172A"}),(0,n.jsx)("path",{d:"M 50 110 L 90 145 L 60 150 L 15 125 Z",fill:"#1E293B"}),(0,n.jsx)("path",{d:"M 90 145 L 145 120 L 125 150 L 60 150 Z",fill:"#334155"}),(0,n.jsx)("path",{d:"M 35 120 L 50 110 L 65 130 Z",fill:"#475569"}),(0,n.jsx)("path",{d:"M 120 125 L 145 120 L 130 140 Z",fill:"#64748B"})]})}),(0,n.jsx)(Q.E.div,{style:{position:"absolute",top:"8px",right:"5
9px",zIndex:20,transformOrigin:"85% 85%"},animate:i,initial:{rotate:0},children:(0,n.jsx)("svg",{width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("g",{transform:"rotate(-45, 60, 60)",children:[(0,n.jsx)("rect",{x:"52",y:"30",width:"12",height:"75",rx:"3",fill:"#334155"}),(0,n.jsx)("rect",{x:"52",y:"30",width:"6",height:"75",rx:"3",fill:"#475569"}),(0,n.jsx)("rect",{x:"50",y:"75",width:"16",height:"25",rx:"2",fill:"#0F172A"}),(0,n.jsx)("rect",{x:"50",y:"75",width:"4",height:"25",rx:"1",fill:"#1E293B"}),(0,n.jsx)("rect",{x:"48",y:"28",width:"20",height:"16",rx:"2",fill:"#1E293B"}),(0,n.jsx)("rect",{x:"48",y:"28",width:"20",height:"4",fill:"#334155"}),(0,n.jsx)("path",{d:"M 52 32 C 20 32 10 55 10 65 C 25 50 52 44 52 44 Z",fill:"#CBD5E1"}),(0,n.jsx)("path",{d:"M 52 32 C 30 32 18 45 10 65 C 25 50 52 38 52 38 Z",fill:"#F1F5F9"}),(0,n.jsx)("path",{d:"M 64 32 L 95 32 L 90 44 L 64 44 Z",fill:"#94A3B8"}),(0,n.jsx)("path",{d:"M 64 32 L 95 32 L 92 38 L 64 38 Z",fill:"#CBD5E1"})]})})}),(0,n.jsx)("div",{style:{position:"absolute",inset:0,pointerEvents:"none",overflow:"visible"},children:(0,n.jsx)(em,{children:e.map(e=>(0,n.jsx)(e_,{id:e.id,onComplete:r},e.id))})})]})};let ej=(0,l.memo)(e=>{let{t,pointDetail:i,onTrade:l,inviteCode:o}=e,{locale:a}=(0,p.useRouter)();return(0,n.jsxs)("div",{className:Y().coming,children:[(0,n.jsx)("div",{className:Y().animationBox,children:(0,n.jsx)(ev,{})}),(0,n.jsxs)("div",{className:Y().mypoints,children:[(0,n.jsx)("span",{className:Y().label,children:t("my_points")}),(0,n.jsx)("span",{className:Y().value,children:(0,k.uf)(null==i?void 0:i.point)})]}),(0,n.jsxs)("div",{className:Y().buttonBox,children:[(0,n.jsx)(O.Z,{t:t,shareText:null==i?void 0:i.detail,shareUrl:"".concat(u.D.websiteDomain).concat(j.Z.genLangPath("/mining-points/".concat(i.id),a)).concat(o?"?inviteCode=".concat(o):""),shareImage:null==i?void 0:i.dynamicPoster,pointDetail:i,children:(0,n.jsx)("button",{className:Y().inviteBtn,children:t("invite_friends")})}),(0,n.jsx)("button",{onClick:l,children:t("go_trade")})]})]})});var eg=i(84574),ef=i(37266),eC=i(47277);let ey=(0,l.memo)(e=>{var t,i;let{t:a,id:s,pointDetail:r,configs:d,onPoint:c}=e,p=(0,ef.UD)(),[u,m]=(0,l.useState)(null==r?void 0:r.point),_=(0,l.useMemo)(()=>(null==r?void 0:r.isThreshold)?Math.min((null==r?void 0:r.pointMax)-(null==r?void 0:r.usedPoint),null==r?void 0:r.point):null==r?void 0:r.point,[r]),j={100701:a("exchange.error_100701"),100702:a("exchange.error_100702"),100703:a("exchange.error_100703"),100704:a("exchange.error_default"),100705:a("exchange.error_100705"),100706:a("exchange.error_default"),100709:a("exchange.error_default")},{loading:g,run:f}=(0,o.QT)((e,t)=>(0,x.Dd)(e,t),{manual:!0,onSuccess(e){e.code===h.G?(p({type:"success",title:a("exchange.success"),duration:1e3}),setTimeout(()=>{window.location.reload()},100)):p({type:"error",title:j[e.code]||a("exchange.error_default")})}}),C=e=>{let t=e.target.value;m(t)},y=()=>{u&&(u<1&&m(1),u>_&&m(_))},b=()=>{m(_)},N=()=>{g||f({point:u,activityId:s},d)};(0,l.useEffect)(()=>{u>_&&m(_)},[_,u]);let B=(0,l.useMemo)(()=>{let e=new eg.Z(u).times(null==r?void 0:r.perThousandRate).div(1e3).toNumber();return(0,k.uf)((0,eC.CH)(e))},[u,null==r?void 0:r.perThousandRate]);return(0,n.jsxs)("div",{className:Y().exchange,children:[(0,n.jsxs)("div",{className:Y().inputBox,children:[(0,n.jsxs)("div",{className:Y().inputLabel,children:[(0,n.jsx)("span",{className:Y().label,children:a("rewards_redemption")}),(0,n.jsxs)("p",{className:Y().appendix,children:[a("total")," ",(0,n.jsx)("em",{children:(0,k.uf)(null==r?void 0:r.point)}),(0,n.jsx)("span",{className:Y().max,onClick:b,children:a("max")})]})]}),(0,n.jsxs)("div",{className:Y().input,children:[(0,n.jsx)("input",{value:u,onInput:C,onBlur:y,inputMode:"decimal",type:"text",placeholder:a("input_amount")}),(0,n.jsx)("span",{children:a("points")})]})]}),(0,n.jsxs)("p",{className:Y().convertInfo,children:[a("rewards_received"),(0,n.jsxs)("span",{children:[B," ",null===(t=(null==r?void 0:r.coinAlias)||(null==r?void 0:r.coin))||void 0===t?void 0:t.toUpperCase()]}),(0,n.jsx)(w(),{src:(0,v.tb)(null==r?void 0:r.coin),width:18,height:18})]}),(0,n.jsx)("button",{onClick:N,children:a("redeem_now")}),(null==r?void 0:r.totalRewards)>0&&(0,n.jsxs)("p",{className:Y().more,children:[(0,n.jsxs)("span",{children:[a("my_redemption"),(0,n.jsxs)("em",{children:[(0,k.uf)((0,eC.CH)(null==r?void 0:r.totalRewards)),null===(i=(null==r?void 0:r.coinAlias)||(null==r?void 0:r.coin))||void 0===i?void 0:i.toUpperCase()]})]}),(0,n.jsxs)("span",{onClick:c,children:[a("details"),(0,n.jsx)("i",{className:"iconfont icon-arrow-right"})]})]}),g&&(0,n.jsx)("div",{className:Y().mask,children:(0,n.jsx)(D.Z,{className:Y().loading})})]})}),eb=(0,l.memo)(e=>{var t;let{t:i,pointDetail:l,onTrade:o,onPoint:a}=e;return(0,n.jsxs)("div",{className:Y().rewards,children:[(0,n.jsxs)("div",{className:Y().myrewards,children:[(0,n.jsx)("span",{className:Y().label,children:i("my_redemption")}),(0,n.jsxs)("span",{className:Y().value,children:["+ ",(0,k.uf)((0,eC.CH)(null==l?void 0:l.totalRewards))," ",null===(t=(null==l?void 0:l.coinAlias)||(null==l?void 0:l.coin))||void 0===t?void 0:t.toUpperCase()]})]}),(0,n.jsx)("button",{onClick:o,children:i("trade_for_more_points")}),(0,n.jsx)("p",{className:Y().more,children:(0,n.jsxs)("span",{onClick:a,children:[i("details"),(0,n.jsx)("i",{className:"iconfont icon-arrow-right"})]})})]})});var ew={src:"/_next/static/media/default.5f660bbe.png",height:390,width:390,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA6klEQVR42mOAgQMnbkq/evUy+uPHT/4PHj6zX7piLQcD
9DOw7/0V577mPHy/eevf/568//z9/ersbJP7//39GEMHGEDSH68b9Dz1vPnz7/+bdz//b9z5bDlXAxPD89RdWEOfX98/l//9//3/41M//qVX3rz283i/y//9/fgYwUF/Pffnm0xuv33/5f+ve+/+L112cdfvjHw6wCSBQMu1exJQVV6dMXP/6/4zNL/8v2XKlrHvhFVcGGNiz/4LVhfPnq1ev3z1t1brdEy5fvlx+5cpVMwZkcPvuI6vnz18kP3v+IunG7QcWMF8AAFJaj8ra0meoAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};let eN=(0,l.memo)(e=>{let{t,onLogin:i}=e;return(0,n.jsxs)("div",{className:Y().LoginWrapper,children:[(0,n.jsx)(w(),{src:ew,width:130,height:130,alt:"to-login"}),(0,n.jsx)("span",{children:t("log_in_to_check_rewards")}),(0,n.jsx)("button",{onClick:()=>i(),children:t("login")})]})}),eD=(0,l.memo)(e=>{var t;let{t:i,limited:l,pointDetail:o,onTrade:a,onPoint:r}=e;return(0,n.jsxs)("div",{className:Y().unexchange,children:[(0,n.jsxs)("div",{className:Y().mypoints,children:[(0,n.jsx)("span",{className:Y().label,children:i("my_points")}),(0,n.jsx)("span",{className:Y().value,children:(0,k.uf)(null==o?void 0:o.point)})]}),(0,n.jsxs)("p",{className:Y().tip,children:[(0,n.jsx)("i",{className:s()({[Y().info]:l,[Y().close]:!l})}),l?(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:i("redemption_limit_reached",{deductedPoints:(0,k.uf)(null==o?void 0:o.usedPoint),rewardsAmount:(0,k.uf)((0,eC.CH)(null==o?void 0:o.totalRewards))})}}):i("unavailable_points_balance",{userPoints:null==o?void 0:o.point})]}),l?(0,n.jsx)("button",{onClick:r,children:i("details")}):(0,n.jsx)("button",{onClick:a,children:i("trade_for_more_points")}),(null==o?void 0:o.totalRewards)>0&&!l&&(0,n.jsxs)("p",{className:Y().more,children:[(0,n.jsxs)("span",{children:[i("my_redemption"),(0,n.jsxs)("em",{children:[(0,k.uf)((0,eC.CH)(null==o?void 0:o.totalRewards))," ",null===(t=(null==o?void 0:o.coinAlias)||(null==o?void 0:o.coin))||void 0===t?void 0:t.toUpperCase()]})]}),(0,n.jsxs)("span",{onClick:r,children:[i("details"),(0,n.jsx)("i",{className:"iconfont icon-arrow-right"})]})]})]})}),eB=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,n.jsx)("path",{d:"M14.25 8.25H3.75C2.92157 8.25 2.25 8.92157 2.25 9.75V15C2.25 15.8284 2.92157 16.5 3.75 16.5H14.25C15.0784 16.5 15.75 15.8284 15.75 15V9.75C15.75 8.92157 15.0784 8.25 14.25 8.25Z",stroke:"white",strokeWidth:"1.875",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M5.25 8.24999V5.24999C5.24907 4.32003 5.59371 3.42289 6.21703 2.73274C6.84035 2.04259 7.69787 1.60867 8.62313 1.51521C9.54839 1.42175 10.4754 1.67542 11.2241 2.22698C11.9729 2.77854 12.4899 3.58863 12.675 4.49999",stroke:"white",strokeWidth:"1.875",strokeLinecap:"round",strokeLinejoin:"round"})]}),eA=(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,n.jsx)("path",{d:"M9 0.5625C10.2432 0.5625 11.4354 1.05647 12.3145 1.93555C13.1935 2.81462 13.6875 4.0068 13.6875 5.25V7.3125H14.25C15.5962 7.3125 16.6875 8.40381 16.6875 9.75V15C16.6875 16.3462 15.5962 17.4375 14.25 17.4375H3.75C2.40381 17.4375 1.3125 16.3462 1.3125 15V9.75C1.3125 8.40381 2.40381 7.3125 3.75 7.3125H4.3125V5.25C4.3125 4.0068 4.80647 2.81462 5.68555 1.93555C6.56462 1.05647 7.7568 0.5625 9 0.5625ZM3.75 9.1875C3.43934 9.1875 3.1875 9.43934 3.1875 9.75V15C3.1875 15.3107 3.43934 15.5625 3.75 15.5625H14.25C14.5607 15.5625 14.8125 15.3107 14.8125 15V9.75C14.8125 9.43934 14.5607 9.1875 14.25 9.1875H3.75ZM9 2.4375C8.25408 2.4375 7.53916 2.73427 7.01172 3.26172C6.48427 3.78916 6.1875 4.50408 6.1875 5.25V7.3125H11.8125V5.25C11.8125 4.50408 11.5157 3.78916 10.9883 3.26172C10.4608 2.73427 9.74592 2.4375 9 2.4375Z",fill:"white",fillOpacity:"0.4"})}),ek={INVALID:0,BEFORE:1,INPERIOD:2,AFTER:3},eL=e=>{let{status:t,usedPoint:i,pointMax:n,exchangeable:l,isThreshold:o,isBlacklist:a,isInExchangePeriod:s}=e,r=t;return 1===t&&(r=s===ek.BEFORE?6:s===ek.AFTER?7:!l||a?4:o&&i>=n?5:3),r},eP=e=>{var t,i,o;let{t:a,id:r,pointDetail:d,inviteCode:c,loading:h,onUpdate:x}=e,{isLogin:_,isApp:g,isAppToken:f,isAppDfp:C,getRequestHeaders:b,jsBridge:E,toLogin:M}=(0,m.b)(),{isMobile:T}=(0,L.Z)(),{locale:Z}=(0,p.useRouter)(),[I,F]=(0,l.useState)(eL(d)),R=(0,l.useMemo)(()=>_&&g?{headers:b(),params:{token:f,dfp:C}}:{},[_&&g,f]),U=(0,l.useMemo)(()=>{var e;let t=null==d?void 0:null===(e=d.ladderPrizePoolInfo)||void 0===e?void 0:e.levels;return!!t&&(null==t?void 0:t.length)!==0&&(null==d?void 0:d.prizePoolType)==1},[d]),V=(0,l.useMemo)(()=>{var e,t,i,n,l,o,a,s;let r=null!==(n=null==d?void 0:null===(e=d.ladderPrizePoolInfo)||void 0===e?void 0:e.levels)&&void 0!==n?n:[],c=Number(null!==(l=null==d?void 0:null===(t=d.ladderPrizePoolInfo)||void 0===t?void 0:t.currentDisplayTradeUsdt)&&void 0!==l?l:0),p=r.filter(e=>e.unlocked).length,u=null!==(o=r.find(e=>!e.unlocked))&&void 0!==o?o:null,h=null!==(s=null!==(a=null==u?void 0:u.unlockThreshold)&&void 0!==a?a:null===(i=r[r.length-1])||void 0===i?void 0:i.unlockThreshold)&&void 0!==s?s:0;return{tiers:r,userVol:c,unlockedCount:p,nextTier:u,progressMax:h,progressPercent:h>0?Math.min(100,c/h*100):100}},[d]),W=(0,n.jsxs)("div",{className:Y().right,children:[(0,n.jsx)("p",{children:0===d.status?a("upcoming"):1===d.status?a("status_ongoing"):a("date")}),(0,n.jsxs)("div",{className:Y().timeDetail,children:[0===d.status?(0,n.jsx)(P.Z,{leftTime:d.startTime-new Date,onCountDown:x}):1===d.status?(0,n.jsx)(P.Z,{leftTime:d.endTime-new Date,onCountDown(){F(2)}}):null,(0,n.jsxs)("div",{className:Y().time,children:[(0,v.p6)(null==d?void 0:d.startTime,"dd/MM/yyyy hh:mm"),"-",(0,v.p6)(null==d?void 0:d.endTime,"dd/MM/yyyy hh:mm")]})]})]}),Q=()=>M("/mining-points"),X=e=>{let t=j.Z.genLangPath("/mining-points",Z);e&&(t="".concat(t,"?activeKey=").concat(e)),window.location.href=t},q=()=>{g&&E?E.invoke("openHomeTabInfo",{tabIndex:2,params:{key:"btcusdt",name:"BTC/USDT"}}):window.location.href=j.Z.genLangPath("/trade/BTC-USDT",Z)},J=(0,l.useMemo)(()=>{let e={0:(0,n.jsx)(ej,{t:a,pointDetail:d,onTrade:q,inviteCode:c}),6:(0,n.jsx)(ej,{t:a,pointDetail:d,onTrade:q,inviteCode:c}),4:(0,n.jsx)(eD,{t:a,pointDetail:d,onTrade:q,onPoint:()=>X("mypoint")}),3:(0,n.jsx)(ey,{t:a,id:r,pointDetail:d,configs:R,onPoint:()=>X("mypoint")}),5:(0,n.jsx)(eD,{t:a,pointDetail:d,onTrade:q,onPoint:()=>X("mypoint"),limited:!0}),7:(0,n.jsx)(eb,{t:a,pointDetail:d,onTrade:q,onPoint:()=>X("mypoint")}),2:(0,n.jsx)(eb,{t:a,pointDetail:d,onTrade:q,onPoint:()=>X("mypoint")})};return e[I]},[I,d]);(0,l.useEffect)(()=>{F(eL(d))},[d]);let K=()=>{var e,t;return(0,n.jsxs)("div",{className:Y().prizePoolEquiv,children:[(0,n.jsx)("span",{children:null===(e=(null==d?void 0:d.coinAlias)||(null==d?void 0:d.coin))||void 0===e?void 0:e.toUpperCase()}),(0,n.jsx)("span",{children:a("ladder_prize_pool_equivalent",{amount:(0,k.uf)((null==d?void 0:null===(t=d.ladderPrizePoolInfo)||void 0===t?void 0:t.totalUnlockedPrizeUsdt)||0)})})]})};return(0,n.jsx)(N.Z,{children:(0,n.jsxs)("div",{className:Y().detailWrapper,children:[(0,n.jsx)("div",{className:Y().banner,children:(0,n.jsxs)(B.Z,{className:Y().bannerSection,children:[(0,n.jsxs)("div",{className:Y().bannerHeader,children:[(0,n.jsxs)("p",{className:Y().breadcrumbs,children:[(0,n.jsx)("span",{onClick:()=>X(),children:a("points_title")}),"/",(0,n.jsx)("span",{children:r})]}),(0,n.jsx)(O.Z,{full:!0,t:a,shareText:null==d?void 0:d.detail,shareUrl:"".concat(u.D.websiteDomain).concat(j.Z.genLangPath("/mining-points/".concat(r),Z)).concat(c?"?inviteCode=".concat(c):""),shareImage:(null==d?void 0:d.dynamicPoster)||A.src,pointDetail:d})]}),(0,n.jsxs)("div",{className:Y().bannerInfo,children:[(0,n.jsxs)("div",{className:Y().left,children:[(0,n.jsx)("span",{className:Y().icon,children:(0,n.jsx)(w(),{src:(0,v.tb)(null==d?void 0:d.coin),width:72,height:72,alt:"coin"})}),(0,n.jsxs)("span",{className:Y().name,children:[null===(t=(null==d?void 0:d.coinAlias)||(null==d?void 0:d.coin))||void 0===t?void 0:t.toUpperCase(),(0,n.jsx)("i",{className:s()(Y().label,{[Y().coming]:0===d.status,[Y().going]:1===d.status}),children:0===d.status?a("upcoming"):1===d.status?a("status_ongoing"):a("status_ended")})]})]}),!T&&W]})]})}),(0,n.jsx)(B.Z,{className:Y().section,children:(0,n.jsx)("div",{className:Y().detailContent,children:(0,n.jsxs)("div",{className:Y().body,children:[T&&W,U&&(0,n.jsxs)("div",{className:Y().prizePool,children:[(0,n.jsxs)("div",{className:Y().prizePoolHeader,children:[(0,n.jsxs)("div",{className:Y().prizePoolTitleGroup,children:[(0,n.jsxs)("h3",{className:Y().prizePoolTitle,children:[(0,n.jsxs)("svg",{className:Y().prizePoolIcon,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,n.jsx)("path",{d:"M18.3333 7.33334H3.66667C3.16041 7.33334 2.75 7.74375 2.75 8.25001V10.0833C2.75 10.5896 3.16041 11 3.66667 11H18.3333C18.8396 11 19.25 10.5896 19.25 10.0833V8.25001C19.25 7.74375 18.8396 7.33334 18.3333 7.33334Z",stroke:"white",strokeWidth:"1.83333",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M11 7.33334V19.25",stroke:"white",strokeWidth:"1.83333",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M17.4167 11V17.4167C17.4167 17.9029 17.2236 18.3692 16.8797 18.713C16.5359 19.0568 16.0696 19.25 15.5834 19.25H6.41671C5.93048 19.25 5.46416 19.0568 5.12034 18.713C4.77653 18.3692 4.58337 17.9029 4.58337 17.4167V11",stroke:"white",strokeWidth:"1.83333",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.87504 7.33334C6.26725 7.33334 5.68436 7.09189 5.25459 6.66212C4.82482 6.23235 4.58337 5.64946 4.58337 5.04167C4.58337 4.43388 4.82482 3.85099 5.25459 3.42122C5.68436 2.99145 6.26725 2.75 6.87504 2.75C7.75934 2.7346 8.6259 3.16366 9.36172 3.98123C10.0975 4.79881 10.6685 5.96696 11 7.33334C11.3316 5.96696 11.9025 4.79881 12.6384 3.98123C13.3742 3.16366 14.2407 2.7346 15.125 2.75C15.7328 2.75 16.3157 2.99145 16.7455 3.42122C17.1753 3.85099 17.4167 4.43388 17.4167 5.04167C17.4167 5.64946 17.1753 6.23235 16.7455 6.66212C16.3157 7.09189 15.7328 7.33334 15.125 7.33334",stroke:"white",strokeWidth:"1.83333",strokeLinecap:"round",strokeLinejoin:"round"})]}),a("total_prize_pool")]}),T&&K(),(0,n.jsx)("p",{className:Y().prizePoolSubtitle,children:a("ladder_prize_pool_subtitle")})]}),!T&&K()]}),(0,n.jsxs)("div",{className:Y().prizePoolBody,children:[(0,n.jsx)("div",{className:Y().prize
9Cards,children:null==V?void 0:V.tiers.map(e=>{var t;let i=e.unlocked;return(0,n.jsxs)("div",{className:s()(Y().prizeCard,{[Y().prizeCardUnlocked]:i}),children:[i&&(0,n.jsx)("span",{className:Y().prizeCardBadge,children:a("unlocked")}),(0,n.jsxs)("p",{className:Y().prizeCardTitle,children:[i?eB:eA,a("prize_pool_".concat(null==e?void 0:e.level))||(null==e?void 0:e.name)||""]}),(0,n.jsxs)("p",{className:Y().prizeCardValue,children:[(null===(t=(null==e?void 0:e.coinAlias)||(null==e?void 0:e.coin))||void 0===t?void 0:t.toUpperCase())||""," ="," ",(0,k.uf)((null==e?void 0:e.prizeUsdt)||0)," USDT"]}),(0,n.jsx)("p",{className:Y().prizeCardCond,children:(null==e?void 0:e.level)===1?a("ladder_prize_pool_initial"):a("total_platform_trading_vol")+">= ".concat((0,k.SO)((null==e?void 0:e.unlockThreshold)||0,"ceil")," USDT")})]},null==e?void 0:e.level)})}),(0,n.jsx)("div",{className:Y().prizeProgress,children:(null==V?void 0:V.nextTier)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:Y().prizeProgressLabels,children:[(0,n.jsx)("span",{children:a("to_next_prize_pool")}),(0,n.jsxs)("span",{className:Y().prizeProgressValue,children:[(0,n.jsx)("span",{children:(0,k.SO)((null==V?void 0:V.userVol)||0,"floor")})," /"," ",(0,k.SO)((null==V?void 0:V.progressMax)||0,"ceil")," USDT"]})]}),(0,n.jsx)("div",{className:Y().prizeProgressBar,children:(0,n.jsx)("div",{className:Y().prizeProgressFill,style:{width:"".concat((null==V?void 0:V.progressPercent)||0,"%")}})})]}):(0,n.jsxs)("p",{className:Y().prizeAllUnlocked,children:[(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#0ABE82"}),(0,n.jsx)("path",{d:"M5.5 10.5L8.5 13.5L14.5 7.5",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),a("ladder_prize_pool_all_unlocked")]})})]})]}),(0,n.jsxs)("div",{className:Y().detail,children:[(0,n.jsxs)("div",{className:Y().left,children:[(0,n.jsx)("p",{children:a("campaign_details")}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Y().label,children:a("total_prize_pool")}),(0,n.jsx)("span",{className:Y().value,children:(0,n.jsx)(y.Z,{i18nKey:"points:total_prize_pool_detail",components:[(0,n.jsx)("span",{},"span")],values:{coin:null===(i=(null==d?void 0:d.coinAlias)||(null==d?void 0:d.coin))||void 0===i?void 0:i.toUpperCase(),prizePoolUsdt:(0,k.uf)((null==d?void 0:d.prizePoolUsdt)||0)}})})]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Y().label,children:a("user_max_redemption")}),(0,n.jsx)("span",{className:Y().value,children:(null==d?void 0:d.isThreshold)?(0,k.uf)(null==d?void 0:d.pointMax):a("no_max_limitation")})]})]}),!T&&(0,n.jsx)("div",{className:Y().right,children:h?(0,n.jsx)(D.Z,{className:Y().loading}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:a("my_redemption")}),_?J:(0,n.jsx)(eN,{t:a,onLogin:Q})]})})]}),!!(null==d?void 0:null===(o=d.timeline)||void 0===o?void 0:o.length)&&(0,n.jsx)(G.Z,{title:(null==d?void 0:d.mainTitle)||a("event_timeline"),timeline:null==d?void 0:d.timeline}),(null==d?void 0:d.rankingListOn)&&(0,n.jsx)(H,{t:a,activityId:null==d?void 0:d.id,pointDetail:d}),!!(null==d?void 0:d.pointStatus)&&(0,n.jsx)(S.Z,{t:a})]})})}),(0,n.jsx)(z.Z,{t:a}),T&&(0,n.jsx)("div",{className:Y().fixFooter,children:h?(0,n.jsx)(D.Z,{className:Y().loading}):_?J:(0,n.jsx)(eN,{t:a,onLogin:Q})})]})})};var ez=(0,l.memo)(eP);let eE=e=>{var t;let{id:i,pointDetail:a}=e,{t:d}=(0,r.Z)("points"),f=(0,p.useRouter)(),{locale:y}=f,{initial:b,isLogin:w,isApp:N,isAppToken:D,isAppDfp:B,getRequestHeaders:A}=(0,m.b)(),{dispatch:k}=(0,l.useContext)(g.I),[L,P]=(0,l.useState)(a),{loading:z,run:E}=(0,o.QT)(x.I9,{defaultParams:[{id:i,lang:j.Z.mapLangToLocaleId(y),...N?{token:D,dfp:B}:{}},{header:A()}],onSuccess(e){let{code:t,data:i}=e;t===h.G&&P(i)},refreshDeps:[i,y],ready:b}),{data:M}=(0,o.QT)(_.getUserKyc,{defaultParams:[null,{header:A(),params:N?{token:D,dfp:B}:{}}],ready:b&&w});return(0,l.useEffect)(()=>(k({type:"layout",payload:N?{layoutFooter:!1,layoutHeader:!1}:{layoutFooter:!1}}),()=>{k({type:"layout",payload:N?{layoutFooter:!1,layoutHeader:!1}:{layoutFooter:!1}})}),[N]),(0,l.useEffect)(()=>
9{if(b){if(w){if(M){var e;(0,v.yx)("mining_points_page_detail_view",{uid:(null==M?void 0:null===(e=M.data)||void 0===e?void 0:e.inviteCode)||"",campaign_id:i})}}else(0,v.yx)("mining_points_page_detail_view",{campaign_id:i})}},[b,w,M]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c(),{children:[(0,n.jsx)("title",{children:d("seo.title")}),(0,n.jsx)("meta",{name:"keywords",content:d("seo.keywords")}),(0,n.jsx)("meta",{name:"description",content:d("seo.description")}),(0,n.jsx)("meta",{property:"og:type",name:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:"".concat(u.D.websiteDomain).concat("id"===y?"/mining-points/".concat(i):"/".concat(y,"/mining-points/").concat(i))}),(0,n.jsx)("meta",{property:"og:title",name:"og:title",content:d("seo.title")}),(0,n.jsx)("meta",{property:"og:description",name:"og:description",content:d("seo.description")}),(0,n.jsx)("meta",{property:"og:site_name",content:"Bittime"}),(0,n.jsx)("meta",{property:"og:image",content:(null==L?void 0:L.webPoster)||"https://static.bittime.com/static/image/points.png"}),(0,n.jsx)("meta",{property:"og:image:alt",content:d("seo.title")}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"630"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:title",content:d("seo.title")}),(0,n.jsx)("meta",{name:"twitter:description",content:d("seo.description")}),(0,n.jsx)("meta",{name:"twitter:image",content:(null==L?void 0:L.webPoster)||"https://static.bittime.com/static/image/points.png"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@bittimexchange"})]}),(0,n.jsx)("div",{className:s()(C().pointWrapper,{[C().isApp]:N}),children:(0,n.jsx)(ez,{t:d,id:i,pointDetail:L,inviteCode:null==M?void 0:null===(t=M.data)||void 0===t?void 0:t.inviteCode,loading:!!b&&!!w&&z,onUpdate:E})})]})};var eM=!0,eT=e=>(0,n.jsx)(m.w,{children:(0,n.jsx)(eE,{...e})})},42179:function(e,t,i){"use strict";var n=i(36734);i(51776);var l=i(58799),o=i.n(l);let a=e=>{let{children:t,tooltipText:i,position:l,_style:a}=e;return(0,n.jsx)("div",{className:o().component,children:(0,n.jsxs)("div",{className:o()["tooltip-wrapper"],children:[t,(0,n.jsx)("div",{style:a,className:"".concat(o()["tooltip-content"]," ").concat(o()[l]),role:"tooltip",children:(0,n.jsx)("em",{dangerouslySetInnerHTML:{__html:i}})})]})})};t.Z=a},58799:function(e){e.exports={component:"toolTip_component__gPTI5","tooltip-wrapper":"toolTip_tooltip-wrapper__3NyEu","tooltip-content":"toolTip_tooltip-content__9yqCP",tipTop:"toolTip_tipTop__i2bXY",left:"toolTip_left__x6vY2",top:"toolTip_top__TL4av",bottom:"toolTip_bottom__xO6uN"}},30355:function(e){e.exports={leaderboard:"leaderboard_leaderboard__X7g9Q",leaderboardTitle:"leaderboard_leaderboardTitle__ICA7G",leaderboardDesc:"leaderboard_leaderboardDesc__5udms",top:"leaderboard_top___cuRs",topItem:"leaderboard_topItem__cLiH5",icon:"leaderboard_icon__fo0T0",rank0:"leaderboard_rank0__f5DFX",rank1:"leaderboard_rank1__VW4xe",rank2:"leaderboard_rank2__TBBH_",email:"leaderboard_email__buEY2",point:"leaderboard_point__F67OS",topExtraBonus:"leaderboard_topExtraBonus__Ou7LV",extraBonusHeader:"leaderboard_extraBonusHeader__aq2xA",extraBonusValue:"leaderboard_extraBonusValue__NGS9c",extraBonusEmpty:"leaderboard_extraBonusEmpty__XfZAx",ranking:"leaderboard_ranking__okAef",paginationBtns:"leaderboard_paginationBtns__9FZh3",prevBtn:"leaderboard_prevBtn__dum9Z",nextBtn:"leaderboard_nextBtn__v4RAT",disabled:"leaderboard_disabled__bKUlB"}},26805:function(e){e.exports={detailWrapper:"pointDetail_detailWrapper__RHE8G",banner:"pointDetail_banner__GX32R",bannerSection:"pointDetail_bannerSection__plucV",bannerHeader:"pointDetail_bannerHeader__IjORD",breadcrumbs:"pointDetail_breadcrumbs___zZmK",bannerInfo:"pointDetail_bannerInfo__ZG9gk",left:"pointDetail_left__yM5hv",icon:"pointDetail_icon__gSZzR",name:"pointDetail_name__bg8ny",label:"pointDetail_label__Zi2k6",coming:"pointDetail_coming__ADzsg",going:"pointDetail_going__7ejOD",right:"pointDetail_right__jwIKv",timeDetail:"pointDetail_timeDetail__Ufp6l",time:"pointDetail_time__3TdPS",section:"pointDetail_section__HQbx2",detailContent:"pointDetail_detailContent__rVE7V",body:"pointDetail_body__bv6Hu",prizePool:"pointDetail_prizePool__vNecY",prizePoolHeader:"pointDetail_prizePoolHeader__r5fgU",prizePoolIcon:"pointDetail_prizePoolIcon__NJO5t",prizePoolTitleGroup:"pointDetail_prizePoolTitleGroup__Uc0mB",prizePoolTitle:"pointDetail_prizePoolTitle__51Bjh",prizePoolSubtitle:"pointDetail_prizePoolSubtitle___EjoZ",prizePoolEquiv:"pointDetail_prizePoolEquiv__fjhc6",prizePoolBody:"pointDetail_prizePoolBody___Qe1c",prizeCards:"pointDetail_prizeCards__zamPS",prizeCard:"pointDetail_prizeCard__Jrug_",prizeCardUnlocked:"pointDetail_prizeCardUnlocked__I9mT6",prizeCardBadge:"pointDetail_prizeCardBadge__gFfKZ",prizeCardTitle:"pointDetail_prizeCardTitle__voKiO",prizeCardValue:"pointDetail_prizeCardValue__9ODUz",prizeCardCond:"pointDetail_prizeCardCond__iXcd0",prizeProgress:"pointDetail_prizeProgress__1CYRt",prizeProgressLabels:"pointDetail_prizeProgressLabels__pa5F8",prizeProgressValue:"pointDetail_prizeProgressValue__gJOQf",prizeAllUnlocked:"pointDetail_prizeAllUnlocked__FGBvk",prizeProgressBar:"pointDetail_prizeProgressBar___UtFb",prizeProgressFill:"pointDetail_prizeProgressFill__LyGiE",detail
9:"pointDetail_detail__b1QM7",value:"pointDetail_value__NBTWT",loading:"pointDetail_loading__4LZp7",LoginWrapper:"pointDetail_LoginWrapper__yxJd7",animationBox:"pointDetail_animationBox__W05Lg",mypoints:"pointDetail_mypoints__y7JP6",buttonBox:"pointDetail_buttonBox__Ckx_d",inviteBtn:"pointDetail_inviteBtn__69fED",unexchange:"pointDetail_unexchange__rhyKr",tip:"pointDetail_tip__YspIQ",info:"pointDetail_info__kWmJ5",close:"pointDetail_close__7FLYP",exchange:"pointDetail_exchange__r9eQe",inputBox:"pointDetail_inputBox__Wdn2q",inputLabel:"pointDetail_inputLabel__fs9bS",appendix:"pointDetail_appendix__6DZqm",max:"pointDetail_max__ql78b",input:"pointDetail_input__x7mUn",convertInfo:"pointDetail_convertInfo__74HXB",mask:"pointDetail_mask__nUd54",rewards:"pointDetail_rewards__3l06R",myrewards:"pointDetail_myrewards__r3bZh",more:"pointDetail_more__G3C89",fixFooter:"pointDetail_fixFooter__bWP5H"}}},function(e){e.O(0,[5443,7832,217,8171,4971,7931,3631,4872,2926,9774,2888,179],function(){return e(e.s=78646)}),_N_E=e.O()}]);

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.