PageSourceSearch

https://bitdeer.com/_next/static/chunks/6475.3a24d1eababf350f.js

js bitdeer.com collected 2026-09-24 09:52:35 UTC 7,648 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6475],{29387:function(t){t.exports=function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,r){var s,o=function(t,n,i){void 0===i&&(i={});var r=new Date(t),s=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=t+"|"+i,s=e[r];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[r]=s),s}(n,i);return s.formatToParts(r)},a=function(e,n){for(var i=o(e,n),s=[],a=0;a<i.length;a+=1){var c=i[a],u=c.type,f=c.value,l=t[u];l>=0&&(s[l]=parseInt(f,10))}var h=s[3],d=24===h?0:h,m=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",p=+e;return(r.utc(m).valueOf()-(p-=p%1e3))/6e4},c=i.prototype;c.tz=function(t,e){void 0===t&&(t=s);var n=this.utcOffset(),i=this.toDate(),o=i.toLocaleString("en-US",{timeZone:t}),a=Math.round((i-new Date(o))/1e3/60),c=r(o).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-a,!0);if(e){var u=c.utcOffset();c=c.add(n-u,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),n=o(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var u=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return u.call(this,t,e);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,n){var i=n&&e,o=n||e||s,c=a(+r(),o);if("string"!=typeof t)return r(t).tz(o);var u=function(t,e,n){var i=t-60*e*1e3,r=a(i,n);if(e===r)return[i,e];var s=a(i-=60*(r-e)*1e3,n);return r===s?[i,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}(r.utc(t,i).valueOf(),c,o),f=u[0],l=u[1],h=r(f).utcOffset(l);return h.$x.$timezone=o,h},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){s=t}}}()},70178:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,r,s){var o=r.prototype;s.utc=function(t){return new r({date:t,utc:!0,args:arguments})},o.utc=function(e){var n=s(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},o.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var c=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var u=o.utcOffset;o.utcOffset=function(i,r){var s=this.$utils().u;if(s(i))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;if("string"==typeof i&&(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var r=(""+i[0]).match(n)||["-",0,0],s=r[0],o=60*+r[1]+ +r[2];return 0===o?0:"+"===s?o:-o}(i),null===i))return this;var o=Math.abs(i)<=16?60*i:i,a=this;if(r)return a.$offset=o,a.$u=0===i,a;if(0!==i){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(o+c,t)).$offset=o,a.$x.$localOffset=c}else a=this.utc();return a};var f=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var l=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var h=o.diff;o.diff=function(t,e,n){if(t&&this.$u===t.$u)return h.call(this,t,e,n);
1var i=this.local(),r=s(t).local();return h.call(i,r,e,n)}}}()},76475:function(t,e,n){"use strict";n.r(e);n(53294);var i=n(56697),r=n(59499),s=n(50029),o=n(87794),a=n.n(o),c=n(67294),u=n(31955),f=n(57681),l=n(83023),h=n(16691),d=n(27484),m=n.n(d),p=n(70178),v=n.n(p),g=n(29387),$=n.n(g),x=n(11163),w=n(85893);function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}m().extend(v()),m().extend($());e.default=function(){var t=(0,x.useRouter)().locale,e=(0,c.useState)(!1),n=e[0],r=e[1],o=(0,c.useState)({}),d=o[0],p=o[1],v=(0,h.Z)(),g=(0,c.useRef)();(0,c.useEffect)((function(){var e=function(){var e=(0,s.Z)(a().mark((function e(){var n,i,s,o,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.yp)(t);case 2:"0"===(n=e.sent).code&&n.data&&(i=n.data.id,p(n.data),s=n.data.frequencyLimit,(o=u.Z.get("__pop_times"))?(o=null===(c=u.Z.get("__pop_times"))||void 0===c?void 0:c.split("$_$"),i===+o[0]?+o[1]<s&&(r(!0),g.current={id:i,times:+o[1]}):(u.Z.remove("__pop_times"),r(!0),g.current={id:i,times:0})):(r(!0),g.current={id:i,times:0}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var $=function(){var t=m()().tz(m().tz.guess()).endOf("day");u.Z.set("__pop_times","".concat(g.current.id,"$_$").concat(g.current.times+1),b(b({},f.F),{},{expires:t.isBefore(m()(d.expireTime))?new Date(t):new Date(m()(d.expireTime))}))},O=function(t){t.stopPropagation(),r(!1),$()},j=function(){window.gtag("event","bitdeer-popUpNews_".concat(d.id,"_").concat(d.name)),$(),window.location.href=d.newsUrl};return(0,w.jsx)(i.Z,{open:n,width:v?"calc(100vw - 110px)":700,centered:!0,transitionName:"",maskTransitionName:"",modalRender:function(){return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"PopupNewsModal ant-modal-content pointer-events-auto hidden h-[420px] w-[700px] shadow-none xl:block",children:(0,w.jsx)("div",{className:"flex h-full w-full items-center justify-center overflow-hidden",children:(0,w.jsxs)("div",{className:"relative w-full cursor-pointer",onClick:j,children:[(0,w.jsx)("img",{className:"absolute right-0 top-0 z-10 box-content h-6 w-6 cursor-pointer p-2 xl:p-4",src:"/images/nav/baner/close2.svg",width:24,height:24,alt:"close",onClick:O}),(0,w.jsx)("img",{className:"h-[420px] w-[700px] rounded-[16px] object-contain object-center",src:"https://file.bitdeer.com/".concat(d.imageUrl),alt:d.name,width:700,height:420})]})})}),(0,w.jsxs)("div",{className:"PopupNewsModal ant-modal-content pointer-events-auto shadow-none xl:hidden",children:[(0,w.jsx)("div",{className:"flex h-full w-full cursor-pointer items-center justify-center overflow-hidden rounded-[16px]",onClick:j,children:(0,w.jsx)("div",{className:"relative",children:(0,w.jsx)("img",{className:"h-[340px] w-[265px] rounded-[16px] object-contain object-center",src:"https://file.bitdeer.com/".concat(d.imageH5Url||d.imageUrl),alt:d.name,width:265,height:340})})}),(0,w.jsx)("img",{className:"relative left-1/2 z-10 mt-2 box-content h-6 w-6 -translate-x-1/2 cursor-pointer p-2",src:"/images/nav/baner/close_h5.svg",width:24,height:24,alt:"close",onClick: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.