1(()=>{(function(){"use strict";function i(){return sessionStorage.getItem("user_timezone")||localStorage.getItem("user_timezone")||Intl.DateTimeFormat().resolvedOptions().timeZone}function a(){try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e){sessionStorage.setItem("user_timezone",e),localStorage.setItem("user_timezone",e);let t=new Date(Date.now()+365*24*60*60*1e3).toUTCString();document.cookie=`user_timezone=${encodeURIComponent(e)}; path=/; expires=${t}; SameSite=Lax`;let n=document.querySelector('meta[name="user-timezone"]');n||(n=document.createElement("meta"),n.name="user-timezone",document.head.appendChild(n)),n.content=e,document.querySelectorAll("form").forEach(function(r){if(!r.querySelector('input[name="timezone"]')){let o=document.createElement("input");o.type="hidden",o.name="timezone",o.value=e,r.appendChild(o)}})}}catch(e){console.error("[TimezoneDetector] Error detecting timezone:",e)}}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",a):a();var m=!1;function c(){if(!m){var e=document.body||document.documentElement;if(e){m=!0;var t=new MutationObserver(function(n){for(var r=0;r<n.length;r++)for(var o=n[r].addedNodes,d=0;d<o.length;d++){var u=o[d];if(u.nodeName==="FORM"||u.querySelectorAll&&u.querySelectorAll("form").length){a();return}}});t.observe(e,{childList:!0,subtree:!0})}}}document.body?c():document.addEventListener("DOMContentLoaded",c),document.addEventListener("livewire:init",function(){typeof Livewire<"u"&&(Livewire.interceptRequest?Livewire.interceptRequest(function(e){var t=e.request,n=i();n&&t&&t.options&&(t.options.headers=t.options.headers||{},t.options.headers["X-Timezone"]=n)}):Livewire.hook&&Livewire.hook("request",function(e){var t=e.options,n=i();n&&t.headers&&(t.headers["X-Timezone"]=n)}))});var h=window.fetch;window.fetch=function(e,t){t=t||{};var n=i();return n&&(t.headers=t.headers||{},t.headers instanceof Headers?t.headers.has("X-Timezone")||t.headers.set("X-Timezone",n):t.headers["X-Timezone"]||(t.headers["X-Timezone"]=n)),h.call(this,e,t)};var p=XMLHttpRequest.prototype.open,z=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(e,t){return this._timezoneHeaderSet=!1,p.apply(this,arguments)},XMLHttpRequest.prototype.send=function(e){if(!this._timezoneHeaderSet){var t=i();if(t)try{this.setRequestHeader("X-Timezone",t)}catch{}this._timezoneHeaderSet=!0}return z.apply(this,arguments)},typeof axios<"u"&&axios.interceptors.request.use(function(e){var t=i();return t&&(e.headers=e.headers||{},e.headers["X-Timezone"]=t),e});var s=typeof jQuery<"u"?jQuery:typeof $<"u"?$:null;s&&s.ajaxPrefilter&&s.ajaxPrefilter(function(e,t,n){var r=i();r&&n.setRequestHeader("X-Timezone",r)}),document.addEventListener("livewire:navigated",function(){a()}),document.addEventListener("livewire:navigate",function(){a()});var f=navigator.sendBeacon;f&&(navigator.sendBeacon=function(e,t){var n=i();if(n){var r=e.includes("?")?"&":"?";e=e+r+"timezone="+encodeURIComponent(n)}return f.call(this,e,t)}),document.addEventListener("click",function(e){var t=e.target.closest("a[wire\\:navigate], a[x-navigate]");if(t){var n=i();if(n){var r=new URL(t.href,window.location.origin);r.searchParams.has("timezone")||(r.searchParams.set("timezone",n),t.href=r.toString())}}},!0);try{var l=new BroadcastChannel("timezone_sync");l.onmessage=function(e){e.data.timezone&&(sessionStorage.setItem("user_timezone",e.data.timezone),localStorage.setItem("user_timezone",e.data.timezone))};var v=i();v&&l.postMessage({timezone:v})}catch{}setInterval(function(){sessionStorage.getItem("user_timezone")||a()},5e3)})();})();
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.