1"use strict";(self.webpackChunkhost=self.webpackChunkhost||[]).push([[4147],{27429:(e,t,r)=>{r.r(t),r.d(t,{DEFAULT_EVENTS:()=>R,IdleTimerComponent:()=>v,IdleTimerConsumer:()=>j,IdleTimerContext:()=>x,IdleTimerProvider:()=>D,createMocks:()=>I,useIdleTimer:()=>N,useIdleTimerContext:()=>U,withIdleTimer:()=>p,workerTimers:()=>y});var n,s,i=r(77285),o=r(52322),a=Object.create,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,h=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,m=(n=(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=536870912,s=2*n,i=new WeakMap,o=function(e,t){return function(i){var o=t.get(i),a=void 0===o?i.size:o<s?o+1:0;if(!i.has(a))return e(i,a);if(i.size<n){for(;i.has(a);)a=Math.floor(Math.random()*s);return e(i,a)}if(i.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;i.has(a);)a=Math.floor(Math.random()*r);return e(i,a)}}((t=i,function(e,r){return t.set(e,r),r}),i),a=function(e){return function(t){var r=e(t);return t.add(r),r}}(o);e.addUniqueNumber=a,e.generateUniqueNumber=o},"object"==typeof e&&typeof t<"u"?s(e):"function"==typeof define&&r.amdO?define(["exports"],s):s((n=typeof globalThis<"u"?globalThis:n||self).fastUniqueNumbers={})},()=>(s||n((s={exports:{}}).exports,s),s.exports));function p(e){return(0,i.forwardRef)((function(t,r){let n=N({...t});return"function"==typeof r?r(n):r&&(r.current=n),(0,o.jsx)(e,{...t,...n})}))}var f=class extends i.Component{},v=class extends f{constructor(e){super(e),this.onPresenceChange&&e.setOnPresenceChange(this.onPresenceChange.bind(this)),this.onPrompt&&e.setOnPrompt(this.onPrompt.bind(this)),this.onIdle&&e.setOnIdle(this.onIdle.bind(this)),this.onActive&&e.setOnActive(this.onActive.bind(this)),this.onAction&&e.setOnAction(this.onAction.bind(this)),this.onMessage&&e.setOnMessage(this.onMessage.bind(this))}},g=((e,t,r)=>(r=null!=e?a(h(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))!d.call(e,s)&&s!==r&&u(e,s,{get:()=>t[s],enumerable:!(n=c(t,s))||n.enumerable});return e})(!t&&e&&e.__esModule?r:u(r,"default",{value:e,enumerable:!0}),e)))(m()),w=((e,t)=>{let r=null;return()=>{if(null!==r)return r;let n=new Blob([t],{type:"application/javascript; charset=utf-8"}),s=URL.createObjectURL(n);return r=e(s),setTimeout((()=>URL.revokeObjectURL(s))),r}})((e=>{let t=new Map([[0,()=>{}]]),r=new Map([[0,()=>{}]]),n=new Map,s=new Worker(e);return s.addEventListener("message",(({data:e})=>{if((e=>void 0!==e.method&&"call"===e.method)(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 new Error("The timer is in an undefined state.")}else{if(!(typeof e<"u"))throw new Error("The timer is in an undefined state.");e()}}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 new Error("The timer is in an undefined state.")}else{if(!(typeof e<"u"))throw new Error("The timer is in an undefined state.");e(),r.delete(s)}}}else{if(!(e=>null===e.error&&"number"==typeof e.id)(e)){let{error:{message:t}}=e;throw new Error(t)}{let{id:s}=e,i=n.get(s);if(void 0===i)throw new Error("The timer is in an undefined state.");let{timerId:o,timerType:a}=i;n.delete(s),"interval"===a?t.delete(o):r.delete(o)}}})),{clearInterval:e=>{let r=(0,g.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,g.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,g.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,g.generateUniqueNumber)(r);return r.set(n,e),s.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}}),'(()=>{"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;
1if("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})}}))})();'),T="object"==(typeof window>"u"?"undefined":typeof window),b={setTimeout:T?setTimeout.bind(window):setTimeout,clearTimeout:T?clearTimeout.bind(window):clearTimeout,setInterval:T?setInterval.bind(window):setInterval,clearInterval:T?clearInterval.bind(window):clearInterval},y={setTimeout:(e,t)=>w().setTimeout(e,t),clearTimeout:e=>w().clearTimeout(e),setInterval:(e,t)=>w().setInterval(e,t),clearInterval:e=>w().clearInterval(e)};function I(){b.setTimeout=setTimeout,b.clearTimeout=clearTimeout,b.setInterval=setInterval,b.clearInterval=clearInterval,y.setTimeout=setTimeout,y.clearTimeout=clearTimeout,y.setInterval=setInterval,y.clearInterval=clearInterval}var E={},k=typeof window>"u"?void 0:"function"==typeof window.BroadcastChannel?window.BroadcastChannel:class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,E[e]=E[e]||[],E[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 new 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)}),500),E[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=E[this.name].indexOf(this);E[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)}};function M(){return Math.random().toString(36).substring(2)}var L=class{options;channel;token=M();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=()=>
1{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{}}}},A=class{channel;options;elector;token=M();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:t}=e;if(this.options=e,this.channel=new k(t),this.registry.set(this.token,1),e.leaderElection){let e={fallbackInterval:2e3,responseTime:100};this.elector=new L(this.channel,e),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 new Error('\u274c 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{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},C=T?document:null,R=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function O(e,t){let r=0;return function(...n){let s=(new Date).getTime();if(!(s-r<t))return r=s,e(...n)}}var P=()=>Date.now(),S=2147483647;function N({timeout:e=12e5,promptTimeout:t=0,promptBeforeIdle:r=0,element:n=C,events:s=R,timers:o,immediateEvents:a=[],onPresenceChange:u=()=>{},onPrompt:c=()=>{},onIdle:l=()=>{},onActive:h=()=>{},onAction:d=()=>{},onMessage:m=()=>{},debounce:p=0,throttle:f=0,eventsThrottle:v=200,startOnMount:g=!0,startManually:w=!1,stopOnIdle:y=!1,crossTab:I=!1,name:E="idle-timer",syncTimers:k=0,leaderElection:M=!1,disabled:L=!1}={}){let N=(0,i.useRef)(P()),x=(0,i.useRef)(P()),D=(0,i.useRef)(null),j=(0,i.useRef)(null),U=(0,i.useRef)(0),B=(0,i.useRef)(0),q=(0,i.useRef)(0),$=(0,i.useRef)(0),_=(0,i.useRef)(!1),F=(0,i.useRef)(!1),J=(0,i.useRef)(!1),z=(0,i.useRef)(!0),V=(0,i.useRef)(!1),G=(0,i.useRef)(null),W=(0,i.useRef)(null),X=(0,i.useRef)(e),H=(0,i.useRef)(0);(0,i.useEffect)((()=>
1{if(t&&console.warn("\u26a0\ufe0f IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&t)throw new Error("\u274c Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(e>=S)throw new Error(`\u274c The value for the timeout property must fit in a 32 bit signed integer, ${S}.`);if(t>=S)throw new Error(`\u274c The value for the promptTimeout property must fit in a 32 bit signed integer, ${S}.`);if(r>=S)throw new Error(`\u274c The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${S}.`);if(r>=e)throw new Error(`\u274c The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);if(r?(X.current=e-r,H.current=r):(X.current=e,H.current=t),!z.current){if(w||L)return;_.current&&(se.current(null,qe),W.current&&W.current.active()),Te()}}),[e,t,r,w,L]);let K=(0,i.useRef)(y);(0,i.useEffect)((()=>{K.current=y}),[y]);let Q=(0,i.useRef)(a),Y=(0,i.useRef)(n),Z=(0,i.useRef)([...new Set([...s,...a]).values()]),ee=(0,i.useRef)(L);(0,i.useEffect)((()=>{ee.current=L,!z.current&&(L?Ie():w||Te())}),[L]);let te=(0,i.useRef)(u);(0,i.useEffect)((()=>{te.current=u}),[u]);let re=(0,i.useRef)(c);(0,i.useEffect)((()=>{re.current=c}),[c]);let ne=(0,i.useRef)(l);(0,i.useEffect)((()=>{ne.current=l}),[l]);let se=(0,i.useRef)(h);(0,i.useEffect)((()=>{se.current=h}),[h]);let ie=(0,i.useRef)(d);(0,i.useEffect)((()=>{ie.current=d}),[d]);let oe=(0,i.useRef)(m);(0,i.useEffect)((()=>{oe.current=m}),[m]);let ae=(0,i.useMemo)((()=>{let e=(e,t)=>ie.current(e,t);return p>0?function(e,t){let r;function n(...n){r&&clearTimeout(r),r=setTimeout((()=>{e(...n),r=null}),t)}return n.cancel=function(){clearTimeout(r)},n}(e,p):f>0?O(e,f):e}),[f,p]),ue=(0,i.useRef)();(0,i.useEffect)((()=>{I&&k&&(ue.current=O((()=>{W.current.active()}),k))}),[I,k]);let ce=()=>{null!==G.current&&(b.clearTimeout(G.current),G.current=null)},le=(e,t=!0)=>{ce(),G.current=b.setTimeout(pe,e||X.current),t&&(j.current=P())},he=e=>{!F.current&&!_.current&&(re.current(e,qe),te.current({type:"active",prompted:!0},qe)),$.current=0,q.current=P(),F.current=!0,le(H.current,!1)},de=()=>{ce(),_.current||(ne.current(null,qe),te.current({type:"idle"},qe)),_.current=!0,D.current=P(),K.current?we():F.current&&(q.current=0,F.current=!1)},me=e=>{ce(),(_.current||F.current)&&(se.current(e,qe),te.current({type:"active",prompted:!1},qe)),F.current=!1,q.current=0,_.current=!1,U.current+=P()-D.current,B.current+=P()-D.current,ge(),le()},pe=e=>{if(!_.current){ae.cancel&&ae.cancel();let t=P()-j.current;return X.current+H.current<t||!(H.current>0)||F.current?void(W.current?W.current.idle():de()):void(W.current?W.current.prompt():he(e))}W.current?W.current.active():me(e)},fe=e=>{if(!g&&!j.current&&(j.current=P(),se.current(null,qe)),ae(e,qe),F.current)return;if(ce(),!_.current&&Q.current.includes(e.type))return void pe(e);let t=P()-j.current;_.current&&!y||!_.current&&t>=X.current?pe(e):(J.current=!1,$.current=0,q.current=0,le(),I&&k&&ue.current())},ve=(0,i.useRef)(fe);(0,i.useEffect)((()=>{let e=V.current;e&&we(),ve.current=v>0?O(fe,v):fe,e&&ge()}),[v,f,p,ie,I,k]);let ge=()=>{T&&Y.current&&(V.current||(Z.current.forEach((e=>{Y.current.addEventListener(e,ve.current,{capture:!0,passive:!0})})),V.current=!0))},we=(e=!1)=>{T&&Y.current&&(V.current||e)&&(Z.current.forEach((e=>{Y.current.removeEventListener(e,ve.current,{capture:!0})})),V.current=!1)},Te=(0,i.useCallback)((e=>!ee.current&&(ce(),ge(),_.current=!1,F.current=!1,J.current=!1,$.current=0,q.current=0,W.current&&!e&&W.current.start(),le(),!0)),[G,_,ee,X,W]),be=(0,i.useCallback)((e=>!ee.current&&(ce(),ge(),x.current=P(),U.current+=P()-D.current,B.current+=P()-D.current,U.current=0,_.current=!1,F.current=!1,J.current=!1,$.current=0,q.current=0,W.current&&!e&&W.current.reset(),w||le(),!0)),[G,_,X,w,ee,W]),ye=(0,i.useCallback)((e=>!ee.current&&(ce(),ge(),(_.current||F.current)&&me(),_.current=!1,F.current=!1,J.current=!1,$.current=0,q.current=0,x.current=P(),W.current&&!e&&W.current.activate(),le(),!0)),[G,_,F,ee,X,W]),Ie=(0,i.useCallback)(((e=!1)=>!ee.current&&!J.current&&($.current=Oe(),J.current=!0,we(),ce(),W.current&&!e&&W.current.pause(),!0)),[G,ee,W]),Ee=(0,i.useCallback)(((e=!1)=>!(ee.current||!J.current)&&(J.current=!1,F.current||ge(),_.current||le($.current),q.current&&(q.current=P()),W.current&&!e&&W.current.resume(),!0)),[G,X,ee,$,W]),ke=(0,i.useCallback)(((e,t)=>(W.current?(t&&oe.current(e,qe),W.current.message(e)):t&&oe.current(e,qe),!0)),[m]),Me=(0,i.useCallback)((()=>_.current),[_]),Le=(0,i.useCallback)((()=>F.current),[F]),Ae=(0,i.useCallback)((()=>W.current?W.current.isLeader:null),[W]),Ce=(0,i.useCallback)((()=>W.current?W.current.isLastActive:null),[W]),Re=(0,i.useCallback)((()=>W.current?W.current.token:null),[W]),Oe=(0,i.useCallback)((()=>
1{if(J.current)return $.current;let e=$.current?$.current:H.current+X.current,t=j.current?P()-j.current:0,r=Math.floor(e-t);return r<0?0:Math.abs(r)}),[X,H,F,$,j]),Pe=(0,i.useCallback)((()=>Math.round(P()-x.current)),[x]),Se=(0,i.useCallback)((()=>Math.round(P()-N.current)),[N]),Ne=(0,i.useCallback)((()=>D.current?new Date(D.current):null),[D]),xe=(0,i.useCallback)((()=>j.current?new Date(j.current):null),[j]),De=(0,i.useCallback)((()=>_.current?Math.round(P()-D.current+U.current):Math.round(U.current)),[D,U]),je=(0,i.useCallback)((()=>_.current?Math.round(P()-D.current+B.current):Math.round(B.current)),[D,B]),Ue=(0,i.useCallback)((()=>{let e=Math.round(Pe()-De());return e>=0?e:0}),[D,U]),Be=(0,i.useCallback)((()=>{let e=Math.round(Se()-je());return e>=0?e:0}),[D,U]);(0,i.useEffect)((()=>{if(p>0&&f>0)throw new Error("\u274c onAction can either be throttled or debounced, not both.");o&&function(e){b.setTimeout=e.setTimeout,b.clearTimeout=e.clearTimeout,b.setInterval=e.setInterval,b.clearInterval=e.clearInterval}(o);let e=()=>{W.current&&W.current.close(),ae.cancel&&ae.cancel(),ce(),we(!0)};return T&&window.addEventListener("beforeunload",e),()=>{T&&window.removeEventListener("beforeunload",e),W.current&&W.current.close(),ae.cancel&&ae.cancel(),ce(),we(!0)}}),[]),(0,i.useEffect)((()=>{W.current&&W.current.close(),W.current=I?new A({channelName:E,leaderElection:M,onPrompt:()=>{he()},onIdle:()=>{de()},onActive:()=>{me()},onMessage:e=>{oe.current(e,qe)},start:Te,reset:be,activate:ye,pause:Ie,resume:Ee}):null}),[I,E,M,re,ne,se,oe,Te,be,Ie,Ee]),(0,i.useEffect)((()=>{z.current||(ce(),we(!0)),!w&&!L&&(g?Te():ge())}),[w,g,L,z]),(0,i.useEffect)((()=>{if(!z.current){let e=[...new Set([...s,...a]).values()];if(we(),Z.current=e,Y.current=n,Q.current=a,w||L)return;g?Te():ge()}}),[n,JSON.stringify(s),JSON.stringify(a),z,L,w,g]),(0,i.useEffect)((()=>{z.current&&(z.current=!1)}),[z]);let qe={message:ke,start:Te,reset:be,activate:ye,pause:Ie,resume:Ee,isIdle:Me,isPrompted:Le,isLeader:Ae,isLastActiveTab:Ce,getTabId:Re,getRemainingTime:Oe,getElapsedTime:Pe,getTotalElapsedTime:Se,getLastIdleTime:Ne,getLastActiveTime:xe,getIdleTime:De,getTotalIdleTime:je,getActiveTime:Ue,getTotalActiveTime:Be,setOnPresenceChange:e=>{u=e,te.current=e},setOnPrompt:e=>{c=e,re.current=e},setOnIdle:e=>{l=e,ne.current=e},setOnActive:e=>{h=e,se.current=e},setOnAction:e=>{d=e,ie.current=e},setOnMessage:e=>{m=e,oe.current=e}};return qe}var x=(0,i.createContext)(null);function D(e){let t=N(e);return(0,o.jsx)(x.Provider,{value:t,children:e.children})}var j=x.Consumer;function U(){return(0,i.useContext)(x)}}}]);
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.