(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{7707:function(e){"use strict";/**
 * @copyright 2015 Apple Inc. All rights reserved.
 */function TextZoom(){this._createElements(),this._bindEvents()}var t=TextZoom.prototype;t._bindEvents=function(){this._onResize=this._resize.bind(this)},t._createElements=function(){if("undefined"!=typeof document&&!this.span){this.span=document.createElement("span");var e=this.span.style;if(e.visibility="hidden",e.position="absolute",e.top="0",e.zIndex="-1",this.span.innerHTML="&nbsp;",!window.ResizeObserver){this.iframe=document.createElement("iframe");var t=this.iframe.style;t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",this.span.appendChild(this.iframe)}document.body.appendChild(this.span)}},t.detect=function(e){this._createElements(),this.originalSize=e||17,this.currentSize=parseFloat(window.getComputedStyle(this.span)["font-size"]),this.currentSize>this.originalSize&&this._onResize(),this.isDetecting||(window.ResizeObserver?(this.resizeObserver=new ResizeObserver(this._onResize),this.resizeObserver.observe(this.span)):this.iframe.contentWindow.addEventListener("resize",this._onResize),this.isDetecting=!0)},t._resize=function(){this.currentSize=parseFloat(window.getComputedStyle(this.span)["font-size"]),this.originalSize<this.currentSize?document.documentElement.classList.add("text-zoom"):document.documentElement.classList.remove("text-zoom"),window.dispatchEvent(new Event("resize")),window.dispatchEvent(new CustomEvent("resize:text-zoom",{detail:this}))},t.getScale=function(){return this.currentSize/this.originalSize},t.remove=function(){this.isDetecting&&(this.resizeObserver&&this.resizeObserver.unobserve(this.span),this.iframe&&this.iframe.contentWindow.removeEventListener("resize",this._onResize),this.isDetecting=!1)},t.destroy=function(){this.remove(),this.span&&this.span.parentElement&&this.span.parentElement.removeChild(this.span),this.span=null,this.iframe=null,this.resizeObserver=null},e.exports=new TextZoom},8249:function(e,t,n){var i;e.exports=i||function(e,t){if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==n.g&&n.g.crypto&&(i=n.g.crypto),!i)try{i=n(2480)}catch(e){}var i,cryptoSecureRandomInt=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},r=Object.create||function(){function F(){}return function(e){var t;return F.prototype=e,t=new F,F.prototype=null,t}}(),o={},s=o.lib={},a=s.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=a.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++){var s=n[o>>>2]>>>24-o%4*8&255;t[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var a=0;a<r;a+=4)t[i+a>>>2]=n[a>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(cryptoSecureRandomInt());return new u.init(t,e)}}),c=o.enc={},d=c.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new u.init(n,t/2)}},p=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new u.init(n,t)}},f=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,i=this._data,r=i.words,o=i.sigBytes,s=this.blockSize,a=o/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,d=e.min(4*c,o);if(c){for(var p=0;p<c;p+=s)this._doProcessBlock(r,p);n=r.splice(0,c),i.sigBytes-=d}return new u.init(n,d)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=h.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new l.HMAC.init(e,n).finalize(t)}}});var l=o.algo={};return o}(Math)},2153:function(e,t,n){var i,r,o,s,a,u,c,d,p,f;e.exports=(i=n(8249),r=Math,s=(o=i.lib).WordArray,a=o.Hasher,u=i.algo,c=[],d=[],function(){function getFractionalBits(e){return(e-(0|e))*4294967296|0}for(var e=2,t=0;t<64;)(function(e){for(var t=r.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0})(e)&&(t<8&&(c[t]=getFractionalBits(r.pow(e,.5))),d[t]=getFractionalBits(r.pow(e,1/3)),t++),e++}(),p=[],f=u.SHA256=a.extend({_doReset:function(){this._hash=new s.init(c.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],c=n[6],f=n[7],h=0;h<64;h++){if(h<16)p[h]=0|e[t+h];else{var l=p[h-15],w=(l<<25|l>>>7)^(l<<14|l>>>18)^l>>>3,m=p[h-2],_=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;p[h]=w+p[h-7]+_+p[h-16]}var v=a&u^~a&c,y=i&r^i&o^r&o,g=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),b=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+v+d[h]+p[h],E=g+y;f=c,c=u,u=a,a=s+b|0,s=o,o=r,r=i,i=b+E|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+c|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[(i+64>>>9<<4)+14]=r.floor(n/4294967296),t[(i+64>>>9<<4)+15]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA256=a._createHelper(f),i.HmacSHA256=a._createHmacHelper(f),i.SHA256)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(8397)}])},8397:function(e,t,n){"use strict";n.r(t);var i=n(5893);n(6474),n(2050);var r=n(7294),o=n(1163),s=(n(2153),n(7707)),a=n.n(s);n(498),t.default=function(e){let{Component:t,pageProps:n}=e,s=(0,o.useRouter)();return(0,r.useEffect)(()=>{"/"===s.pathname?document.body.classList.add("theme-dark"):document.body.classList.remove("theme-dark")},[s.pathname]),(0,r.useEffect)(()=>{a().detect()},[]),(0,i.jsx)(t,{...n})}},498:function(e,t,n){"use strict";n.d(t,{LU:function(){return d},QR:function(){return h},Ql:function(){return u},U_:function(){return i},Ud:function(){return s},Ye:function(){return p},nY:function(){return f},ny:function(){return r},qy:function(){return c},uK:function(){return a},wH:function(){return o}});let i="/",r="/bounty",o="/bounty/guidelines",s="/bounty/categories",a="/research-device",u="/blog",c="/terms-and-conditions",d="asr:last_login",p="asr:login_hash",f="product",h="services"},2050:function(){},1163:function(e,t,n){e.exports=n(9974)},6474:function(e){/**
 * what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
 * @version v5.2.12
 * @link https://github.com/ten1seven/what-input
 * @license MIT
 */e.exports=function(e){var t={};function __nested_webpack_require_738__(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,__nested_webpack_require_738__),i.loaded=!0,i.exports}return __nested_webpack_require_738__.m=e,__nested_webpack_require_738__.c=t,__nested_webpack_require_738__.p="",__nested_webpack_require_738__(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e,t=document.documentElement,n=null,i="initial",r=i,o=Date.now(),s=!1,a=["button","input","select","textarea"],u=[],c=[16,17,18,91,93],d=[],p={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,h={x:null,y:null},l={2:"touch",3:"touch",4:"mouse"},w=!1;try{var m=Object.defineProperty({},"passive",{get:function(){w=!0}});window.addEventListener("test",null,m)}catch(e){}var setInput=function(e){var t=e.which,n=p[e.type];"pointer"===n&&(n=pointerType(e));var o=!d.length&&-1===c.indexOf(t),s=d.length&&-1!==d.indexOf(t),u="keyboard"===n&&t&&(o||s)||"mouse"===n||"touch"===n;if(validateTouch(n)&&(u=!1),u&&i!==n&&(persistInput("input",i=n),doUpdate("input")),u&&r!==n){var f=document.activeElement;f&&f.nodeName&&(-1===a.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!checkClosest(f,"form"))&&(persistInput("intent",r=n),doUpdate("intent"))}},doUpdate=function(e){t.setAttribute("data-what"+e,"input"===e?i:r),fireFunctions(e)},setIntent=function(e){var t=p[e.type];"pointer"===t&&(t=pointerType(e)),detectScrolling(e),(f||validateTouch(t))&&(!f||"wheel"!==e.type)&&"mousewheel"!==e.type&&"DOMMouseScroll"!==e.type||r===t||(persistInput("intent",r=t),doUpdate("intent"))},clearElement=function(){n=null,t.removeAttribute("data-whatelement"),t.removeAttribute("data-whatclasses")},persistInput=function(e,t){if(s)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},pointerType=function(e){return"number"==typeof e.pointerType?l[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},validateTouch=function(e){var t=Date.now(),n="mouse"===e&&"touch"===i&&t-o<200;return o=t,n},detectWheel=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},fireFunctions=function(e){for(var t=0,n=u.length;t<n;t++)u[t].type===e&&u[t].fn.call(void 0,"input"===e?i:r)},objPos=function(e){for(var t=0,n=u.length;t<n;t++)if(u[t].fn===e)return t},detectScrolling=function(e){h.x!==e.screenX||h.y!==e.screenY?(f=!1,h.x=e.screenX,h.y=e.screenY):f=!0},checkClosest=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(p[detectWheel()]="mouse",e=!w||{passive:!0,capture:!0},document.addEventListener("DOMContentLoaded",function(){if(s=!("false"===t.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(i=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}doUpdate("input"),doUpdate("intent")},!0),window.PointerEvent?(window.addEventListener("pointerdown",setInput,!0),window.addEventListener("pointermove",setIntent,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",setInput,!0),window.addEventListener("MSPointerMove",setIntent,!0)):(window.addEventListener("mousedown",setInput,!0),window.addEventListener("mousemove",setIntent,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",setInput,e),window.addEventListener("touchend",setInput,!0))),window.addEventListener(detectWheel(),setIntent,e),window.addEventListener("keydown",setInput,!0),window.addEventListener("keyup",setInput,!0),window.addEventListener("focusin",function(e){if(!e.target.nodeName){clearElement();return}n=e.target.nodeName.toLowerCase(),t.setAttribute("data-whatelement",n),e.target.classList&&e.target.classList.length&&t.setAttribute("data-whatclasses",e.target.classList.toString().replace(" ",","))},!0),window.addEventListener("focusout",clearElement,!0)),{ask:function(e){return"intent"===e?r:i},element:function(){return n},ignoreKeys:function(e){c=e},specificKeys:function(e){d=e},registerOnChange:function(e,t){u.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=objPos(e);(t||0===t)&&u.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},2480:function(){}},function(e){var __webpack_exec__=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return __webpack_exec__(1118),__webpack_exec__(9974)}),_N_E=e.O()}]);