PageSourceSearch

https://bitdeer.com/_next/static/chunks/pages/learn/[id]-7a7de08d8f193de4.js

js bitdeer.com collected 2026-09-24 09:51:56 UTC 3,761 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8540],{3792:function(e,t,n){"use strict";n.d(t,{ZP:function(){return f}});var r=n(50029),i=n(87794),o=n.n(i),c=n(67294),u=n(11163),a=n(79009),s=n(424),d=function(){var e=(0,r.Z)(o().mark((function e(){var t,n=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,(0,s.v_)("".concat("https://bd-api.bitdeer.com","/content/shareContent"),t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function f(e){(0,a.Z)();var t=(0,u.useRouter)(),n=t.locale,r=void 0===n?"en":n,i=t.query;(0,c.useEffect)((function(){var t=window.JSBridge,n=function(){document.hidden?t.hideShare():t.showShare(e)},o=function(){t.hideShare()},c=function(e){var n=e.target,r=(null===n||void 0===n?void 0:n.closest("a"))||n;r.href&&r.href.startsWith("http")&&(e.preventDefault(),t.hideShare(),location.href=r.href)};if(t.is("app"))return t.showShare(e),window.addEventListener("pagehide",o),document.addEventListener("click",c,!0),document.addEventListener("visibilitychange",n),function(){t.hideShare(),window.removeEventListener("pagehide",o),document.removeEventListener("click",c,!0),document.removeEventListener("visibilitychange",n)};i.trip===e.type&&l(e,r)}),[e.id,e.type])}var p=function(e,t){var n="en"===e?"":"/".concat(e);return"bitdeer://www.bitdeer.com".concat(n,"/?skipModel=")+t},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"bitdeer://www.bitdeer.com";console.log("Try open app:",e);var t=!1,n=function(){document.hidden&&(t=!0)},r=function(){t=!0};document.addEventListener("visibilitychange",n),window.addEventListener("blur",r);var i=document.createElement("a");return i.href=e,i.style.display="none",document.body.appendChild(i),i.click(),new Promise((function(e){setTimeout((function(){document.removeEventListener("visibilitychange",n),window.removeEventListener("blur",r),i&&i.parentNode&&document.body.removeChild(i),e(t?"success":"failure")}),1500)}))},l=function(){var e=(0,r.Z)(o().mark((function e(t,n){var r,i,c,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(t);case 3:if(r=e.sent,i=r.code,c=r.data,0!==+i){e.next=13;break}return u=p(n,c),e.next=10,v(u);case 10:return e.abrupt("return",e.sent);case 13:return console.error("Failed to get skip model"),e.abrupt("return","failure");case 15:e.next=21;break;case 17:return e.prev=17,e.t0=e.catch(0),console.error("Failed to open app:",e.t0),e.abrupt("return","failure");case 21:case"end":return e.stop()}}),e,null,[[0,17]])})));return function(t,n){return e.apply(this,arguments)}}()},72228:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return a}});var r=n(59499),i=n(90861),o=n(3792),c=n(85893);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var a=!0;t.default=function(e){return(0,o.ZP)({id:e.id,type:"3"}),(0,c.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),e.id)}},98349:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/learn/[id]",function(){return n(72228)}])}},function(e){e.O(0,[4885,5675,1834,1645,861,9774,2888,179],(function(){return t=98349,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.