1import{t as e}from"./page-B8YwBOEr.js";import"./main-5Sl8yySz.js";var t=class{htmlUpdatedVisibilityChanged_(e){}};t.prototype.htmlUpToDateCheckInterval_,t.prototype.loginController_;function n(t){class n extends t{constructor(){super();let t=this,n=this;t.htmlUpToDateCheckInterval_=void 0,t.loginController_,t.htmlUpdatedVisibilityChanged_=async t=>{if(n.isConnected&&document.visibilityState===`visible`){let t=this;await t.loginController_.updateTimeOffset(),t.loginController_.isIndexPageUpToDate()||e.ensureIndexPageUpdated()}}}connectedCallback(){super.connectedCallback();let t=this,n=this;if(!t.loginController_)throw Error(`loginController_ must be defined`);t.loginController_.updateTimeOffset().then(()=>{if(n.isConnected){if(t.loginController_.isIndexPageUpToDate()){let t=this;t.htmlUpToDateCheckInterval_=setInterval(async()=>{let t=this;await t.loginController_.updateTimeOffset(),t.loginController_.isIndexPageUpToDate()||e.ensureIndexPageUpdated()},3600*1e3)}else return;document.addEventListener(`visibilitychange`,t.htmlUpdatedVisibilityChanged_,!1)}})}disconnectedCallback(){super.disconnectedCallback();let e=this;e.htmlUpToDateCheckInterval_!==void 0&&(clearInterval(e.htmlUpToDateCheckInterval_),e.htmlUpToDateCheckInterval_=void 0);try{window.sessionStorage.removeItem(`html-reload-delay`)}catch{}document.removeEventListener(`visibilitychange`,e.htmlUpdatedVisibilityChanged_,!1)}}return n}n.Type=t;export{n as 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.