1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88460],{88460:function(e,t,r){let n;r.d(t,{Yp:function(){return S}});var s,i,a,o,u,c=r(67294);r(85893);var l=Object.create,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,v=(o=null!=(a=(s=(e,t)=>{var n,s;n=e,s=function(e){var t,r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,n=2*536870912,s=new WeakMap,i=(t=function(e,t){return s.set(e,t),t},function(e){var i=s.get(e),a=void 0===i?e.size:i<n?i+1:0;if(!e.has(a))return t(e,a);if(e.size<536870912){for(;e.has(a);)a=Math.floor(Math.random()*n);return t(e,a)}if(e.size>r)throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;e.has(a);)a=Math.floor(Math.random()*r);return t(e,a)});e.addUniqueNumber=function(e){var t=i(e);return e.add(t),t},e.generateUniqueNumber=i},"object"==typeof e&&"u">typeof t?s(e):"function"==typeof define&&r.amdO?define(["exports"],s):s((n="u">typeof globalThis?globalThis:n||self).fastUniqueNumbers={})},()=>(i||s((i={exports:{}}).exports,i),i.exports))())?l(p(a)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of m(t))f.call(e,r)||void 0===r||h(e,r,{get:()=>t[r],enumerable:!(n=d(t,r))||n.enumerable});return e})(a&&a.__esModule?o:h(o,"default",{value:a,enumerable:!0}),a)),g=e=>void 0!==e.method&&"call"===e.method,w=e=>null===e.error&&"number"==typeof e.id;u=e=>{let t=new Map([[0,()=>{}]]),r=new Map([[0,()=>{}]]),n=new Map,s=new Worker(e);return s.addEventListener("message",({data:e})=>{if(g(e)){let{params:{timerId:s,timerType:i}}=e;if("interval"===i){let e=t.get(s);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==s||t.timerType!==i)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e();else throw Error("The timer is in an undefined state.")}else if("timeout"===i){let e=r.get(s);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==s||t.timerType!==i)throw Error("The timer is in an undefined state.")}else if("u">typeof e)e(),r.delete(s);else throw Error("The timer is in an undefined state.")}}else if(w(e)){let{id:s}=e,i=n.get(s);if(void 0===i)throw Error("The timer is in an undefined state.");let{timerId:a,timerType:o}=i;n.delete(s),"interval"===o?t.delete(a):r.delete(a)}else{let{error:{message:t}}=e;throw Error(t)}}),{clearInterval:e=>{let r=(0,v.generateUniqueNumber)(n);n.set(r,{timerId:e,timerType:"interval"}),t.set(e,r),s.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:e=>{let t=(0,v.generateUniqueNumber)(n);n.set(t,{timerId:e,timerType:"timeout"}),r.set(e,t),s.postMessage({id:t,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:(e,r)=>{let n=(0,v.generateUniqueNumber)(t);return t.set(n,()=>{e(),"function"==typeof t.get(n)&&s.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}})}),s.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:(e,t)=>{let n=(0,v.generateUniqueNumber)(r);return r.set(n,e),s.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}},n=null,()=>{if(null!==n)return n;let e=new Blob(['(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(i=>{let{data:s}=i;try{if("clear"===s.method){const{id:r,params:{timerId:o,timerType:i}}=s;if("interval"===i)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==i)throw new Error(\'The given type "\'.concat(i,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==s.method)throw new Error(\'The given method "\'.concat(s.method,\'" is not supported\'));{const{params:{delay:i,now:n,timerId:a,timerType:d}}=s;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(i,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(i,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:s.id,result:null})}}))})();'],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return n=u(t),setTimeout(()=>URL.revokeObjectURL(t)),n};var y=(typeof window>"u"?"undefined":typeof window)=="object",b={setTimeout:y?setTimeout.bind(window):setTimeout,clearTimeout:y?clearTimeout.bind(window):clearTimeout,setInterval:y?setInterval.bind(window):setInterval,clearInterval:y?clearInterval.bind(window):clearInterval},T={},E=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,T[e]=T[e]||[],T[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||null===e.newValue)return;let t=JSON.parse(e.newValue);this.mc.port2.postMessage(t)}postMessage(e){if(this.closed)throw Error("InvalidStateError");let t=JSON.stringify(e),r=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(r,t),b.setTimeout(()=>{window.localStorage.removeItem(r)}
1,500),T[this.name].forEach(e=>{e!==this&&e.mc.port2.postMessage(JSON.parse(t))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=T[this.name].indexOf(this);T[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,t){return this.mc.port1.addEventListener(e,t)}removeEventListener(e,t){return this.mc.port1.removeEventListener(e,t)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},k=typeof window>"u"?void 0:"function"==typeof window.BroadcastChannel?window.BroadcastChannel:E;function I(){return Math.random().toString(36).substring(2)}var M=class{options;channel;token=I();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,t){this.channel=e,this.options=t,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,t=t=>{let{token:r,action:n}=t.data;r!==this.token&&(0===n&&r>this.token&&(e=!0),1===n&&(e=!0))};this.channel.addEventListener("message",t);try{return this.sendAction(0),await function(e=0){return new Promise(t=>b.setTimeout(t,e))}(this.options.responseTime),this.channel.removeEventListener("message",t),this.isApplying=!1,e?!!this.reApply&&this.apply():(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,t=null;return new Promise(r=>{let n=()=>{if(e)return;e=!0;try{b.clearInterval(t)}catch{}let n=this.intervals.indexOf(t);n>=0&&this.intervals.splice(n,1),this.channel.removeEventListener("message",s),r()};t=b.setInterval(()=>{this.apply().then(()=>{this.isLeader&&n()})},this.options.fallbackInterval),this.intervals.push(t);let s=e=>{let{action:t}=e.data;2===t&&this.apply().then(()=>{this.isLeader&&n()})};this.channel.addEventListener("message",s)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=e=>{let{action:t}=e.data;0===t&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred||(this.deferred=this.awaitLeadership()),this.deferred}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>b.clearInterval(e))}catch{}}}},L=class{channel;options;elector;token=I();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:t}=e;this.options=e,this.channel=new k(t),this.registry.set(this.token,1),e.leaderElection&&(this.elector=new M(this.channel,{fallbackInterval:2e3,responseTime:100}),this.elector.waitForLeadership()),this.channel.addEventListener("message",e=>{let{action:t,token:r,data:n}=e.data;switch(t){case 3:this.registry.set(r,2);break;case 4:this.registry.delete(r);break;case 5:this.idle(r);break;case 6:this.active(r);break;case 7:this.prompt(r);break;case 8:this.start(r);break;case 9:this.reset(r);break;case 10:this.activate(r);break;case 11:this.pause(r);break;case 12:this.resume(r);break;case 13:this.options.onMessage(n)}}),this.send(3)}get isLeader(){if(!this.elector)throw Error('â Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let t=[...this.registry.values()].every(e=>0===e);e===this.token&&this.send(7),t&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let t=[...this.registry.values()].every(e=>2===e);e===this.token&&this.send(5),!this.allIdle&&t&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let t=[...this.registry.values()].some(e=>1===e);e===this.token&&this.send(6),t&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}
1send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},R=y?document:null,A=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function C(e,t){let r=0;return function(...n){let s=new Date().getTime();if(!(s-r<t))return r=s,e(...n)}}var O=()=>Date.now();function S({timeout:e=12e5,promptTimeout:t=0,promptBeforeIdle:r=0,element:n=R,events:s=A,timers:i,immediateEvents:a=[],onPresenceChange:o=()=>{},onPrompt:u=()=>{},onIdle:l=()=>{},onActive:h=()=>{},onAction:d=()=>{},onMessage:m=()=>{},debounce:p=0,throttle:f=0,eventsThrottle:v=200,startOnMount:g=!0,startManually:w=!1,stopOnIdle:T=!1,crossTab:E=!1,name:k="idle-timer",syncTimers:I=0,leaderElection:M=!1,disabled:S=!1}={}){let N=(0,c.useRef)(O()),P=(0,c.useRef)(O()),D=(0,c.useRef)(null),j=(0,c.useRef)(null),x=(0,c.useRef)(0),U=(0,c.useRef)(0),_=(0,c.useRef)(0),B=(0,c.useRef)(0),q=(0,c.useRef)(!1),J=(0,c.useRef)(!1),F=(0,c.useRef)(!1),$=(0,c.useRef)(!0),z=(0,c.useRef)(!1),G=(0,c.useRef)(null),V=(0,c.useRef)(null),W=(0,c.useRef)(e),X=(0,c.useRef)(0);(0,c.useEffect)(()=>{if(t&&console.warn("â ï¸ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&t)throw Error("â Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated
1in a future version.");if(e>=2147483647)throw Error(`\u274C The value for the timeout property must fit in a 32 bit signed integer, 2147483647.`);if(t>=2147483647)throw Error(`\u274C The value for the promptTimeout property must fit in a 32 bit signed integer, 2147483647.`);if(r>=2147483647)throw Error(`\u274C The value for the promptBeforeIdle property must fit in a 32 bit signed integer, 2147483647.`);if(r>=e)throw Error(`\u274C The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);if(r?(W.current=e-r,X.current=r):(W.current=e,X.current=t),!$.current){if(w||S)return;q.current&&(en.current(null,e_),V.current&&V.current.active()),ew()}},[e,t,r,w,S]);let Y=(0,c.useRef)(T);(0,c.useEffect)(()=>{Y.current=T},[T]);let H=(0,c.useRef)(a),K=(0,c.useRef)(n),Q=(0,c.useRef)([...new Set([...s,...a]).values()]),Z=(0,c.useRef)(S);(0,c.useEffect)(()=>{Z.current=S,!$.current&&(S?eT():w||ew())},[S]);let ee=(0,c.useRef)(o);(0,c.useEffect)(()=>{ee.current=o},[o]);let et=(0,c.useRef)(u);(0,c.useEffect)(()=>{et.current=u},[u]);let er=(0,c.useRef)(l);(0,c.useEffect)(()=>{er.current=l},[l]);let en=(0,c.useRef)(h);(0,c.useEffect)(()=>{en.current=h},[h]);let es=(0,c.useRef)(d);(0,c.useEffect)(()=>{es.current=d},[d]);let ei=(0,c.useRef)(m);(0,c.useEffect)(()=>{ei.current=m},[m]);let ea=(0,c.useMemo)(()=>{let e=(e,t)=>es.current(e,t);return p>0?function(e,t){let r;function n(...s){r&&clearTimeout(r),r=setTimeout(()=>{e(...s),r=null},t)}return n.cancel=function(){clearTimeout(r)},n}(e,p):f>0?C(e,f):e},[f,p]),eo=(0,c.useRef)();(0,c.useEffect)(()=>{E&&I&&(eo.current=C(()=>{V.current.active()},I))},[E,I]);let eu=()=>{null!==G.current&&(b.clearTimeout(G.current),G.current=null)},ec=(e,t=!0)=>{eu(),G.current=b.setTimeout(em,e||W.current),t&&(j.current=O())},el=e=>{J.current||q.current||(et.current(e,e_),ee.current({type:"active",prompted:!0},e_)),B.current=0,_.current=O(),J.current=!0,ec(X.current,!1)},eh=()=>{eu(),q.current||(er.current(null,e_),ee.current({type:"idle"},e_)),q.current=!0,D.current=O(),Y.current?eg():J.current&&(_.current=0,J.current=!1)},ed=e=>{eu(),(q.current||J.current)&&(en.current(e,e_),ee.current({type:"active",prompted:!1},e_)),J.current=!1,_.current=0,q.current=!1,x.current+=O()-D.current,U.current+=O()-D.current,ev(),ec()},em=e=>{if(!q.current){ea.cancel&&ea.cancel();let t=O()-j.current;if(!(W.current+X.current<t)&&X.current>0&&!J.current){V.current?V.current.prompt():el(e);return}V.current?V.current.idle():eh();return}V.current?V.current.active():ed(e)},ep=e=>{if(g||j.current||(j.current=O(),en.current(null,e_)),ea(e,e_),J.current)return;if(eu(),!q.current&&H.current.includes(e.type)){em(e);return}let t=O()-j.current;if(q.current&&!T||!q.current&&t>=W.current){em(e);return}F.current=!1,B.current=0,_.current=0,ec(),E&&I&&eo.current()},ef=(0,c.useRef)(ep);(0,c.useEffect)(()=>{let e=z.current;e&&eg(),v>0?ef.current=C(ep,v):ef.current=ep,e&&ev()},[v,f,p,es,E,I]);let ev=()=>{y&&K.current&&(z.current||(Q.current.forEach(e=>{K.current.addEventListener(e,ef.current,{capture:!0,passive:!0})}),z.current=!0))},eg=(e=!1)=>{y&&K.current&&(z.current||e)&&(Q.current.forEach(e=>{K.current.removeEventListener(e,ef.current,{capture:!0})}),z.current=!1)},ew=(0,c.useCallback)(e=>!Z.current&&(eu(),ev(),q.current=!1,J.current=!1,F.current=!1,B.current=0,_.current=0,V.current&&!e&&V.current.start(),ec(),!0),[G,q,Z,W,V]),ey=(0,c.useCallback)(e=>!Z.current&&(eu(),ev(),P.current=O(),x.current+=O()-D.current,U.current+=O()-D.current,x.current=0,q.current=!1,J.current=!1,F.current=!1,B.current=0,_.current=0,V.current&&!e&&V.current.reset(),w||ec(),!0),[G,q,W,w,Z,V]),eb=(0,c.useCallback)(e=>!Z.current&&(eu(),ev(),(q.current||J.current)&&ed(),q.current=!1,J.current=!1,F.current=!1,B.current=0,_.current=0,P.current=O(),V.current&&!e&&V.current.activate(),ec(),!0),[G,q,J,Z,W,V]),eT=(0,c.useCallback)((e=!1)=>!Z.current&&!F.current&&(B.current=eC(),F.current=!0,eg(),eu(),V.current&&!e&&V.current.pause(),!0),[G,Z,V]),eE=(0,c.useCallback)((e=!1)=>!Z.current&&!!F.current&&(F.current=!1,J.current||ev(),q.current||ec(B.current),_.current&&(_.current=O()),V.current&&!e&&V.current.resume(),!0),[G,W,Z,B,V]),ek=(0,c.useCallback)((e,t)=>(V.current?(t&&ei.current(e,e_),V.current.message(e)):t&&ei.current(e,e_),!0),[m]),eI=(0,c.useCallback)(()=>q.current,[q]),eM=(0,c.useCallback)(()=>J.current,[J]),eL=(0,c.useCallback)(()=>V.current?V.current.isLeader:null,[V]),eR=(0,c.useCallback)(()=>V.current?V.current.isLastActive:null,[V]),eA=(0,c.useCallback)(()=>V.current?V.current.token:null,[V]),eC=(0,c.useCallback)(()=>
1{if(F.current)return B.current;let e=Math.floor((B.current?B.current:X.current+W.current)-(j.current?O()-j.current:0));return e<0?0:Math.abs(e)},[W,X,J,B,j]),eO=(0,c.useCallback)(()=>Math.round(O()-P.current),[P]),eS=(0,c.useCallback)(()=>Math.round(O()-N.current),[N]),eN=(0,c.useCallback)(()=>D.current?new Date(D.current):null,[D]),eP=(0,c.useCallback)(()=>j.current?new Date(j.current):null,[j]),eD=(0,c.useCallback)(()=>q.current?Math.round(O()-D.current+x.current):Math.round(x.current),[D,x]),ej=(0,c.useCallback)(()=>q.current?Math.round(O()-D.current+U.current):Math.round(U.current),[D,U]),ex=(0,c.useCallback)(()=>{let e=Math.round(eO()-eD());return e>=0?e:0},[D,x]),eU=(0,c.useCallback)(()=>{let e=Math.round(eS()-ej());return e>=0?e:0},[D,x]);(0,c.useEffect)(()=>{if(p>0&&f>0)throw Error("â onAction can either be throttled or debounced, not both.");i&&(b.setTimeout=i.setTimeout,b.clearTimeout=i.clearTimeout,b.setInterval=i.setInterval,b.clearInterval=i.clearInterval);let e=()=>{V.current&&V.current.close(),ea.cancel&&ea.cancel(),eu(),eg(!0)};return y&&window.addEventListener("beforeunload",e),()=>{y&&window.removeEventListener("beforeunload",e),V.current&&V.current.close(),ea.cancel&&ea.cancel(),eu(),eg(!0)}},[]),(0,c.useEffect)(()=>{V.current&&V.current.close(),E?V.current=new L({channelName:k,leaderElection:M,onPrompt:()=>{el()},onIdle:()=>{eh()},onActive:()=>{ed()},onMessage:e=>{ei.current(e,e_)},start:ew,reset:ey,activate:eb,pause:eT,resume:eE}):V.current=null},[E,k,M,et,er,en,ei,ew,ey,eT,eE]),(0,c.useEffect)(()=>{$.current||(eu(),eg(!0)),w||S||(g?ew():ev())},[w,g,S,$]),(0,c.useEffect)(()=>{if(!$.current){let e=[...new Set([...s,...a]).values()];eg(),Q.current=e,K.current=n,H.current=a,w||S||(g?ew():ev())}},[n,JSON.stringify(s),JSON.stringify(a),$,S,w,g]),(0,c.useEffect)(()=>{$.current&&($.current=!1)},[$]);let e_={message:ek,start:ew,reset:ey,activate:eb,pause:eT,resume:eE,isIdle:eI,isPrompted:eM,isLeader:eL,isLastActiveTab:eR,getTabId:eA,getRemainingTime:eC,getElapsedTime:eO,getTotalElapsedTime:eS,getLastIdleTime:eN,getLastActiveTime:eP,getIdleTime:eD,getTotalIdleTime:ej,getActiveTime:ex,getTotalActiveTime:eU,setOnPresenceChange:e=>{o=e,ee.current=e},setOnPrompt:e=>{u=e,et.current=e},setOnIdle:e=>{l=e,er.current=e},setOnActive:e=>{h=e,en.current=e},setOnAction:e=>{d=e,es.current=e},setOnMessage:e=>{m=e,ei.current=e}};return e_}(0,c.createContext)(null).Consumer}}]);
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.