PageSourceSearch

https://marketplace.apeironnft.com/_next/static/chunks/8222-d0f64f811c4797d7.js

js apeironnft.com collected 2026-09-24 21:28:12 UTC 12,027 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8222],{29954:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(88349),o=n(84405),a=n(19704);function i(t,e){(0,o.A)(1,arguments);var n,i,h,v=(0,a.A)(null!=(n=null==e?void 0:e.additionalDigits)?n:2);if(2!==v&&1!==v&&0!==v)throw RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var T=function(t){var e,n={},r=t.split(s.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?e=r[0]:(n.date=r[0],e=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=t.split(s.timeZoneDelimiter)[0],e=t.substr(n.date.length,t.length))),e){var o=s.timezone.exec(e);o?(n.time=e.replace(o[1],""),n.timezone=o[1]):n.time=e}return n}(t);if(T.date){var y=function(t,e){var n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:t.slice((r[1]||r[2]).length)}}(T.date,v);i=function(t,e){if(null===e)return new Date(NaN);var n,r,o,a,i,s,c,l,p,h,v,T,y,D=t.match(u);if(!D)return new Date(NaN);var g=!!D[4],S=f(D[1]),b=f(D[2])-1,w=f(D[3]),C=f(D[4]),N=f(D[5])-1;if(g){return(n=0,r=C,o=N,r>=1&&r<=53&&o>=0&&o<=6)?(a=e,i=C,s=N,(c=new Date(0)).setUTCFullYear(a,0,4),l=c.getUTCDay()||7,c.setUTCDate(c.getUTCDate()+((i-1)*7+s+1-l)),c):new Date(NaN)}var P=new Date(0);return(p=e,h=b,v=w,h>=0&&h<=11&&v>=1&&v<=(m[h]||(d(p)?29:28))&&(T=e,(y=S)>=1&&y<=(d(T)?366:365)))?(P.setUTCFullYear(e,b,Math.max(S,w)),P):new Date(NaN)}(y.restDateString,y.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var D=i.getTime(),g=0;if(T.time&&isNaN(g=function(t){var e,n,o,a=t.match(c);if(!a)return NaN;var i=p(a[1]),s=p(a[2]),u=p(a[3]);return(e=i,n=s,o=u,24===e?0===n&&0===o:o>=0&&o<60&&n>=0&&n<60&&e>=0&&e<25)?i*r.s0+s*r.Cg+1e3*u:NaN}(T.time)))return new Date(NaN);if(T.timezone){if(isNaN(h=function(t){if("Z"===t)return 0;var e,n,o=t.match(l);if(!o)return 0;var a="+"===o[1]?-1:1,i=parseInt(o[2]),s=o[3]&&parseInt(o[3])||0;return(e=0,(n=s)>=0&&n<=59)?a*(i*r.s0+s*r.Cg):NaN}(T.timezone)))return new Date(NaN)}else{var S=new Date(D+g),b=new Date(0);return b.setFullYear(S.getUTCFullYear(),S.getUTCMonth(),S.getUTCDate()),b.setHours(S.getUTCHours(),S.getUTCMinutes(),S.getUTCSeconds(),S.getUTCMilliseconds()),b}return new Date(D+g+h)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(t){return t?parseInt(t):1}function p(t){return t&&parseFloat(t.replace(",","."))||0}var m=[31,null,31,30,31,30,31,31,30,31,30,31];function d(t){return t%400==0||t%4==0&&t%100!=0}},44954:(t,e,n)=>{n.d(e,{A:()=>r});let r=(0,n(22587).A)(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){var r=t(e),o=t(n);return r<o?-1:+(r>o)})})},87666:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(22587),o=n(50750),a=(0,r.A)(function(t,e){var n=Number(e);if(n<0||isNaN(n))throw RangeError("n must be a non-negative number");for(var r=0,o=Array(n);r<n;)o[r]=t(r),r+=1;return o});let i=(0,r.A)(function(t,e){return a((0,o.A)(t),e)})},89789:(t,e,n)=>{n.d(e,{Ay:()=>T,e8:()=>m});var r=n(60004),o=n(47706);function a(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function u(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=c(t);n=e?Reflect.construct(r,arguments,c(this).constructor):r.apply(this,arguments);if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function m(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=String(t);if(0===n)return r;var o=r.match(/(.*?)([0-9]+)(.*)/),a=o?o[1]:"",i=o?o[3]:"",s=o?o[2]:r,u=s.length>=n?s:(((function(t){if(Array.isArray(t))return p(t)})(e=Array(n))||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return p(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(){return"0"}).join("")+s).slice(-1*n);
1return"".concat(a).concat(u).concat(i)}var d={daysInHours:!1,zeroPadTime:2},h=function(t){u(n,t);var e=f(n);function n(){var t;return a(this,n),t=e.apply(this,arguments),t.state={count:t.props.count||3},t.startCountdown=function(){t.interval=window.setInterval(function(){0==t.state.count-1?(t.stopCountdown(),t.props.onComplete&&t.props.onComplete()):t.setState(function(t){return{count:t.count-1}})},1e3)},t.stopCountdown=function(){clearInterval(t.interval)},t.addTime=function(e){t.stopCountdown(),t.setState(function(t){return{count:t.count+e}},t.startCountdown)},t}return s(n,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?(0,r.cloneElement)(this.props.children,{count:this.state.count}):null}}]),n}(r.Component);h.propTypes={count:o.number,children:o.element,onComplete:o.func};var v=function(t){u(n,t);var e=f(n);function n(t){var r;if(a(this,n),(r=e.call(this,t)).mounted=!1,r.initialTimestamp=r.calcOffsetStartTimestamp(),r.offsetStartTimestamp=r.props.autoStart?0:r.initialTimestamp,r.offsetTime=0,r.legacyMode=!1,r.legacyCountdownRef=null,r.tick=function(){var t=r.calcTimeDelta(),e=t.completed&&!r.props.overtime?void 0:r.props.onTick;r.setTimeDeltaState(t,void 0,e)},r.setLegacyCountdownRef=function(t){r.legacyCountdownRef=t},r.start=function(){if(!r.isStarted()){var t=r.offsetStartTimestamp;r.offsetStartTimestamp=0,r.offsetTime+=t?r.calcOffsetStartTimestamp()-t:0;var e=r.calcTimeDelta();r.setTimeDeltaState(e,"STARTED",r.props.onStart),r.props.controlled||e.completed&&!r.props.overtime||(r.clearTimer(),r.interval=window.setInterval(r.tick,r.props.intervalDelay))}},r.pause=function(){r.isPaused()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.setTimeDeltaState(r.state.timeDelta,"PAUSED",r.props.onPause))},r.stop=function(){r.isStopped()||(r.clearTimer(),r.offsetStartTimestamp=r.calcOffsetStartTimestamp(),r.offsetTime=r.offsetStartTimestamp-r.initialTimestamp,r.setTimeDeltaState(r.calcTimeDelta(),"STOPPED",r.props.onStop))},r.isStarted=function(){return r.isStatus("STARTED")},r.isPaused=function(){return r.isStatus("PAUSED")},r.isStopped=function(){return r.isStatus("STOPPED")},r.isCompleted=function(){return r.isStatus("COMPLETED")},t.date){var o=r.calcTimeDelta();r.state={timeDelta:o,status:o.completed?"COMPLETED":"STOPPED"}}else r.legacyMode=!0;return r}return s(n,[{key:"componentDidMount",value:function(){!this.legacyMode&&(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(t){this.legacyMode||this.props.date!==t.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var t=this.props,e=t.date,n=t.now,r=t.precision,o=t.controlled,a=t.overtime;return function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.now,o=void 0===r?Date.now:r,a=n.precision,i=n.controlled,s=n.offsetTime,u=n.overtime;e="string"==typeof t?new Date(t).getTime():t instanceof Date?t.getTime():t,i||(e+=void 0===s?0:s);var c=i?e:e-o(),l=Math.min(20,Math.max(0,void 0===a?0:a)),f=Math.round(1e3*parseFloat(((u?c:Math.max(0,c))/1e3).toFixed(l))),p=Math.abs(f)/1e3;return{total:f,days:Math.floor(p/86400),hours:Math.floor(p/3600%24),minutes:Math.floor(p/60%60),seconds:Math.floor(p%60),milliseconds:Number((p%1*1e3).toFixed()),completed:f<=0}}(e,{now:n,precision:r,controlled:o,offsetTime:this.offsetTime,overtime:a})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(t){this.legacyCountdownRef.addTime(t)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(t){return this.state.status===t}},{key:"setTimeDeltaState",value:function(t,e,n){var r=this;
1if(this.mounted){var o=t.completed&&!this.state.timeDelta.completed,a=t.completed&&"STARTED"===e;return o&&!this.props.overtime&&this.clearTimer(),this.setState(function(n){var o=e||n.status;return t.completed&&!r.props.overtime?o="COMPLETED":e||"COMPLETED"!==o||(o="STOPPED"),{timeDelta:t,status:o}},function(){n&&n(r.state.timeDelta),r.props.onComplete&&(o||a)&&r.props.onComplete(t,a)})}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var t,e,n,r,o,a,i,s,u,c,l,f,p=this.props,h=p.daysInHours,v=p.zeroPadTime,T=p.zeroPadDays,y=this.state.timeDelta;return Object.assign(Object.assign({},y),{api:this.getApi(),props:this.props,formatted:(t={daysInHours:h,zeroPadTime:v,zeroPadDays:T},e=y.days,n=y.hours,r=y.minutes,o=y.seconds,i=(a=Object.assign(Object.assign({},d),t)).daysInHours,s=a.zeroPadTime,c=void 0===(u=a.zeroPadDays)?s:u,l=Math.min(2,s),f=i?m(n+24*e,s):m(n,l),{days:i?"":m(e,c),hours:f,minutes:m(r,l),seconds:m(o,l)})})}},{key:"render",value:function(){if(this.legacyMode){var t=this.props,e=t.count,n=t.children,o=t.onComplete;return(0,r.createElement)(h,{ref:this.setLegacyCountdownRef,count:e,onComplete:o},n)}var a=this.props,i=a.className,s=a.overtime,u=a.children,c=a.renderer,l=this.getRenderProps();if(c)return c(l);if(u&&this.state.timeDelta.completed&&!s)return(0,r.cloneElement)(u,{countdown:l});var f=l.formatted,p=f.days,m=f.hours,d=f.minutes,v=f.seconds;return(0,r.createElement)("span",{className:i},l.total<0?"-":"",p,p?":":"",m,":",d,":",v)}}]),n}(r.Component);v.defaultProps=Object.assign(Object.assign({},d),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0}),v.propTypes={date:(0,o.oneOfType)([(0,o.instanceOf)(Date),o.string,o.number]),daysInHours:o.bool,zeroPadTime:o.number,zeroPadDays:o.number,controlled:o.bool,intervalDelay:o.number,precision:o.number,autoStart:o.bool,overtime:o.bool,className:o.string,children:o.element,renderer:o.func,now:o.func,onMount:o.func,onStart:o.func,onPause:o.func,onStop:o.func,onTick:o.func,onComplete:o.func};let T=v}}]);
2//# sourceMappingURL=8222-d0f64f811c4797d7.js.map

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.