PageSourceSearch

https://www.anicura.no/dist/blazor.mjs?v=HNEhO2hYw2Vgqxt94SESayEhPhhiZBuJs5i-V19fo7k

js anicura.no collected 2026-10-08 08:31:49 UTC 1,615 bytes, 1 lines download raw bytes

1var o={d:(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o:(o,n)=>Object.prototype.hasOwnProperty.call(o,n)},n={};o.d(n,{NZ:()=>checkTabFocused,Qh:()=>connectionUp,cb:()=>delay,nf:()=>connectionDown,tB:()=>initBlazor});const connectionDown=async o=>{console.warn("[Blazor] Blazor connection down");const n=window.Blazor;if(n)for(let e=0;e<o.maxRetries&&(console.info("[Blazor] Waiting for reconnect attempt #"+(e+1)+" ..."),await delay(o.retryIntervalMilliseconds),n);e++)try{console.info("[Blazor] Starting Reconnect attempt #"+(e+1)+" ...");if(await n.reconnect())return;console.error("[Blazor] Server Rejected")}catch(o){console.error(o)}document.location.reload()},connectionUp=o=>{console.info("[Blazor] connection is back up")},delay=o=>new Promise((n=>setTimeout(n,o))),checkTabFocused=()=>{const o=window.Blazor;"visible"===document.visibilityState&&o&&o.reconnect&&(console.info("[Blazor] reconnecting"),window.Blazor.reconnect())},initBlazor=()=>{console.info("[Blazor] Initializing");const o=window.Blazor;if(o){try{o.start({reconnectionOptions:{maxRetries:10,retryIntervalMilliseconds:500},reconnectionHandler:{onConnectionDown:o=>connectionDown(o),onConnectionUp:o=>connectionUp(o)},ssr:{disableDomPreservation:!0}}).then((()=>{console.info("[Blazor] started")}))}catch(o){console.error(o)}document.addEventListener("visibilitychange",checkTabFocused)}};document.addEventListener("DOMContentLoaded",(o=>{initBlazor()}));var e=n.NZ,t=n.nf,r=n.Qh,c=n.cb,i=n.tB;export{e as checkTabFocused,t as connectionDown,r as connectionUp,c as delay,i as initBlazor};

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.