!function(){"use strict";const t=(t,e,n,r)=>{let i,o;return a=>{e.value>=0&&(a||r)&&(o=e.value-(i??0),(o||void 0===i)&&(i=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}};let e=-1;const n=t=>{addEventListener("pageshow",n=>{n.persisted&&(e=n.timeStamp,t(n))},!0)},r=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart{const t=r();return t?.activationStart??0},o=(t,n=-1)=>{const o=r();let a="navigate";e>=0?a="back-forward-cache":o&&(document.prerendering||i()>0?a="prerender":document.wasDiscarded?a="restore":o.type&&(a=o.type.replace(/_/g,"-")));return{name:t,value:n,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:a}},a=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},c=[800,1800],s=t=>{document.prerendering?a(()=>s(t)):"complete"!==document.readyState?addEventListener("load",()=>s(t),!0):setTimeout(t)};function u(t,e){for(var n=t||{},r=0;r{let u=o("TTFB"),d=t(e,u,c,a.reportAllChanges);s(()=>{const s=r();s&&(u.value=Math.max(s.responseStart-i(),0),u.entries=[s],d(!0),n(()=>{u=o("TTFB",0),d=t(e,u,c,a.reportAllChanges),d(!0)}))})})(function(t){S&&(y.ttfb=Math.round(t.value),y.nav_type=t.navigationType,M())})}const P=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))};let _=-1;const O=new Set,I=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,k=t=>{"hidden"===document.visibilityState&&("visibilitychange"===t.type&&O.forEach(t=>{t()}),isFinite(_)||(_="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("prerenderingchange",k,!0)))},A=()=>{if(_<0){const t=i(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0]?.startTime;_=e??I(),addEventListener("visibilitychange",k,!0),addEventListener("prerenderingchange",k,!0),n(()=>{setTimeout(()=>{_=I()})})}return{get firstHiddenTime(){return _},onHidden(t){O.add(t)}}},F=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(t=>{Promise.resolve().then(()=>{e(t.getEntries())})});return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch{}},N=[1800,3e3],B=(e,r={})=>{a(()=>{const a=A();let c,s=o("FCP");const u=F("paint",t=>{t.forEach(t=>{"first-contentful-paint"===t.name&&(u.disconnect(),t.startTime{s=o("FCP"),c=t(e,s,N,r.reportAllChanges),P(()=>{s.value=performance.now()-n.timeStamp,c(!0)})}))})};var x=!0;function j(){B(function(t){if(x){y.fcp=Math.round(t.value);var e=t.entries[t.entries.length-1],n=e&&e.startTime;void 0!==n&&(y.fcp_raw=Math.round(n)),(performance.getEntriesByType("paint")||[]).forEach(function(t){"first-paint"===t.name&&(y.fp_raw=Math.round(t.startTime))}),M()}})}const D=new WeakMap;function J(t,e){return D.get(t)||D.set(t,new e),D.get(t)}class R{i;o=0;u=[];v(t){if(t.hadRecentInput)return;const e=this.u[0],n=this.u.at(-1);this.o&&e&&n&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(this.o+=t.value,this.u.push(t)):(this.o=t.value,this.u=[t]),this.i?.(t)}}const q=t=>{let e=!1;return()=>{e||(t(),e=!0)}},H=[.1,.25];var U=!0;function V(){((e,r={})=>{const i=A();B(q(()=>{let a,c=o("CLS",0);const s=J(r,R),u=t=>{t.forEach(t=>{s.v(t)}),s.o>c.value&&(c.value=s.o,c.entries=s.u,a())},d=F("layout-shift",u);d&&(a=t(e,c,H,r.reportAllChanges),i.onHidden(()=>{u(d.takeRecords()),a(!0)}),n(()=>{s.o=0,c=o("CLS",0),a=t(e,c,H,r.reportAllChanges),P(()=>a())}),setTimeout(a))}))})(function(t){U&&(y.cls=Math.round(1e3*t.value)/1e3,M())},{reportAllChanges:!0})}let W=0,$=1/0,z=0;const G=t=>{t.forEach(t=>{t.interactionId&&($=Math.min($,t.interactionId),z=Math.max(z,t.interactionId),W=z?(z-$)/7+1:0)})};let K;const Q=()=>K?W:performance.interactionCount??0,X=()=>{"interactionCount"in performance||K||(K=F("event",G,{type:"event",buffered:!0,durationThreshold:0}))};let Y=0;class Z{m=[];h=new Map;l;p;L(){Y=Q(),this.m.length=0,this.h.clear()}M(){const t=Math.min(this.m.length-1,Math.floor((Q()-Y)/50));return this.m[t]}v(t){if(this.l?.(t),!t.interactionId&&"first-input"!==t.entryType)return;const e=this.m.at(-1);let n=this.h.get(t.interactionId);if(n||this.m.length<10||t.duration>e.C){if(n?t.duration>n.C?(n.entries=[t],n.C=t.duration):t.duration===n.C&&t.startTime===n.entries[0].startTime&&n.entries.push(t):(n={id:t.interactionId,entries:[t],C:t.duration},this.h.set(n.id,n),this.m.push(n)),this.m.sort((t,e)=>e.C-t.C),this.m.length>10){this.m.splice(10).forEach(t=>{this.h.delete(t.id)})}this.p?.(n)}}}const tt=t=>{const e=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=q(t),addEventListener("visibilitychange",t,{once:!0,capture:!0}),e(()=>{t(),removeEventListener("visibilitychange",t,{capture:!0})}))},et=[200,500];var nt=!0;function rt(){((e,r={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const i=A();a(()=>{X();let a,c=o("INP");const s=J(r,Z),u=t=>{tt(()=>{t.forEach(t=>{s.v(t)});const e=s.M();e&&e.C!==c.value&&(c.value=e.C,c.entries=e.entries,a())})},d=F("event",u,{durationThreshold:r.durationThreshold??40});a=t(e,c,et,r.reportAllChanges),d&&(d.observe({type:"first-input",buffered:!0}),i.onHidden(()=>{u(d.takeRecords()),a(!0)}),n(()=>{s.L(),c=o("INP"),a=t(e,c,et,r.reportAllChanges)}))})})(function(t){nt&&(y.inp=Math.round(t.value),M())},{reportAllChanges:!0})}class it{l;v(t){this.l?.(t)}}const ot=[2500,4e3],at=t=>{const e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")};var ct=!0;function st(){((e,r={})=>{a(()=>{const a=A();let c,s=o("LCP");const u=J(r,it),d=t=>{r.reportAllChanges||(t=t.slice(-1)),t.forEach(t=>{u.v(t),t.startTime{d(f.takeRecords()),f.disconnect(),c(!0)}),a=t=>{t.isTrusted&&(tt(i),removeEventListener(t.type,a,{capture:!0}))};["keydown","click","visibilitychange"].forEach(t=>{addEventListener(t,a,{capture:!0})}),n(n=>{s=o("LCP"),c=t(e,s,ot,r.reportAllChanges),P(()=>{s.value=performance.now()-n.timeStamp,c(!0)})})}})})(function(t){if(ct){y.lcp=Math.round(t.value),y.lcp_load=void 0,y.lcp_prio=void 0;var e=t.entries[t.entries.length-1],n=e&&e.startTime;if(void 0!==n&&(y.lcp_raw=Math.round(n)),e.element){y.lcp_sel=(t=>{let e="";try{for(;9!==t?.nodeType;){const n=t,r=n.id?"#"+n.id:[at(n)].concat(Array.from(n.classList).sort()).join(".");if(e.length+r.length>99)return e||r;if(e=e?r+">"+e:r,n.id)break;t=n.parentNode}}catch{}return e})(e.element);var r=e.element.nodeName.toLowerCase();if("img"===r?(y.lcp_type="img",y.lcp_load=e.element.getAttribute("loading")||void 0,y.lcp_prio=e.element.getAttribute("fetchpriority")||void 0):e.url&&"video"===r?y.lcp_type="video-poster":e.url&&getComputedStyle(e.element).backgroundImage?y.lcp_type="bg-img":e.url?y.lcp_type="other-img":y.lcp_type="text",e.url){y.lcp_res=e.url;var i=performance.getEntriesByType("resource").filter(function(t){return t.name===e.url})[0];i&&(y.lcp_pre="link"===i.initiatorType?1:0)}}M()}},{reportAllChanges:!0})}var ut,dt,ft,vt,mt,ht=["unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],lt=["activationStart","redirectCount","firstInterimResponseStart","finalResponseHeadersStart"],pt="--";function gt(){ft=u(performance,["timing"]),vt=ft&&performance.getEntriesByType("navigation"),mt=vt&&vt[0]?vt[0]:{}}function yt(){gt();var t={};if(!(vt&&mt.responseStart<0||mt.responseStart>performance.now())){var e=0===mt.startTime?2:1,n=y.nt;y.nt=e+pt,ht.forEach(function(e){t[e]=function(t){if("number"==typeof ft[t]&&"number"==typeof ft.navigationStart&&!(ft[t]<=0||ft.navigationStart<=0)){var e=ft[t]-ft.navigationStart;return e>=0?e:void 0}}(e)}),e>1&&"number"==typeof mt.secureConnectionStart&&mt.secureConnectionStart>0&&(t.secureConnectionStart=Math.floor(mt.secureConnectionStart)),y.nt+=r(ht),y.nt+=pt,e>1&&(lt.forEach(function(e){var n=mt[e];t[e]=n?Math.floor(n):n}),y.nt+=r(lt)),y.nt+=pt,e>1&&(y.nt+=void 0===mt.nextHopProtocol?"":mt.nextHopProtocol),y.nt!==n&&M()}function r(e){var n="";return e.forEach(function(e,r){r>0&&(n+="_");var i=t[e];n+=void 0===i?"":i.toString(36)}),n}}function bt(){gt(),ft&&ft.navigationStart&&(!function(){var t=mt.serverTiming;if(t){var e=t.findIndex(function(t){return"a8c-cdn"===t.name});if(!(e<0||t.length=0&&(y.edge_dur=n)}}}(),yt(),ut=document.addEventListener("DOMContentLoaded",function(){return setTimeout(yt)}),dt=addEventListener("load",function(){return setTimeout(yt)}))}function Et(t,e){var n=new PerformanceObserver(function(t){for(var n=t.getEntries(),r=0;r0||0===t}function Ft(){var t;!function(){try{var t=0;document.createNodeIterator(document,128,function(t){return(t.nodeValue||"").indexOf("served from batcache in")>-1?1:2}).nextNode()&&(t=1),y.batcache_hit=t}catch(t){}}(),y.provider=f("provider"),y.service=f("service"),y.site_tz=f("siteTz"),y.site_v=f("siteV"),y.custom_props=m(),At((t=u(navigator,["connection"])||{}).rtt)&&(y.rtt=t.rtt),At(t.downlink)&&(y.downlink=Math.round(1e3*t.downlink)),function(){y.site_host=u(location,["hostname"]),y.site_path=u(location,["pathname"]);var t=u(location,["pathname"])+u(location,["search"])+u(location,["hash"]);y.full_path=t>200?void 0:t}(),y.version="4.5.0",M()}function Nt(){return"true"===f("allowIframe")}function Bt(){Ft(),It(),L(kt)}function xt(){d.t=document.getElementById("bilmur")||{};var t=Nt();try{if(window.self!==window.top&&!t)return}catch(e){if(!t)return}document.prerendering?document.addEventListener("prerenderingchange",Bt,{once:!0}):Bt()}window.performance&&window.performance.getEntriesByType&&("hidden"!==document.visibilityState||document.prerendering)&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",xt):xt())}();