1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{1175:function(e,t,n){Promise.resolve().then(n.bind(n,9441)),Promise.resolve().then(n.t.bind(n,8003,23)),Promise.resolve().then(n.t.bind(n,7217,23)),Promise.resolve().then(n.t.bind(n,4630,23)),Promise.resolve().then(n.t.bind(n,5794,23)),Promise.resolve().then(n.bind(n,2162)),Promise.resolve().then(n.bind(n,1368)),Promise.resolve().then(n.bind(n,3345))},3345:function(e,t,n){"use strict";n.d(t,{default:function(){return u}});var o=n(2265);let r="_star_vid",i=!1,a=null,c=null;var l=n(5752),d=n(9346);function u(){return(0,o.useEffect)(()=>{let{siteId:e,authBaseUrl:t}=(0,d.x)();!function(e){a={excludePathPrefixes:["/auth/callback"],dedupeMs:3e4,...e};let t=()=>(function(e){var t,n,o,i;let l=a;if(!(null==l?void 0:l.siteId))return;let d="".concat(window.location.pathname).concat(window.location.search);if(function(e,t){for(let n of t)if(e===n||e.startsWith("".concat(n,"/"))||e.startsWith(n))return!0;return!1}(d,null!==(t=l.excludePathPrefixes)&&void 0!==t?t:["/auth/callback"]))return;let u=null!==(n=l.dedupeMs)&&void 0!==n?n:3e4,s=Date.now();if(c&&c.path===d&&s-c.at<u)return;c={path:d,at:s};let f=JSON.stringify({site_id:l.siteId,event:"pageview",path:d,visitor_id:function(){let e=function(e){if("undefined"==typeof document)return null;let t=document.cookie.match(new RegExp("(?:^|; )".concat(e,"=([^;]*)")));return t?decodeURIComponent(t[1]):null}(r);if(e&&e.length>=8)return e;let t="undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});return function(e,t,n){if("undefined"==typeof document)return;let o="undefined"!=typeof location&&"https:"===location.protocol?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(t),"; Path=/; Max-Age=").concat(31536e3,"; SameSite=Lax").concat(o)}(r,t,0),t}(),referrer:document.referrer||""}),h=(i=null!==(o=l.authBaseUrl)&&void 0!==o?o:"https://auth.starhk.uk","".concat(i.replace(/\/$/,""),"/analytics/collect"));if(navigator.sendBeacon){let e=new Blob([f],{type:"application/json"});if(navigator.sendBeacon(h,e))return}fetch(h,{method:"POST",headers:{"Content-Type":"application/json"},body:f,keepalive:!0,credentials:"omit"}).catch(()=>{})})();i?t():(i=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t,{once:!0}):t(),function(e){if(window.__starAnalyticsPatched)return;window.__starAnalyticsPatched=!0;let t=history.pushState.bind(history),n=history.replaceState.bind(history);history.pushState=function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];t(...o),e()},history.replaceState=function(){for(var t=arguments.length,o=Array(t),r=0;r<t;r++)o[r]=arguments[r];n(...o),e()},window.addEventListener("popstate",e)}(t))}({siteId:e||l.w4,authBaseUrl:t})},[]),null}}},function(e){e.O(0,[6196,256,9455,2972,8265,5878,382,3774,3250,9685,8682,4742,2971,2117,1744],function(){return e(e.s=1175)}),_N_E=e.O()}]);
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.