(function(){const config={"snippetKey":"xEZFUVh1b61H","sendTo":"https://data.debugbear.com","version":21,"sampling":100,"domains":["hexnode.com","mitsogo.com"],"includeSubdomains":true,"privacy":{"text":true,"selectors":true,"queryParams":true,"engagement":true},"hasProxy":false,"mappings":[],"pageGroups":[{"id":4861,"paths":[],"sampling":0,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":12828,"paths":["/forums/"],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":12829,"paths":["/help/"],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":12830,"paths":["/blogs/"],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":12831,"paths":["/events/"],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]},{"id":12832,"paths":[],"sampling":null,"type":"url","cssSelector":null,"urlRegExps":[]}]};"use strict";(()=>{function ye(t){if(typeof requestIdleCallback=="function")return requestIdleCallback(t);setTimeout(t,10)}var On=typeof config<"u"?config:typeof _dbbRumConfig<"u"?_dbbRumConfig:{},S=On;function At(){return S.privacy?.queryParams!==!1}function _(){return S?.privacy?.sessions===!0}var _n=140;function It(t){return Math.round(t*1e3)/1e3}function ct(){return Math.round(document.documentElement?.scrollTop??0)}function B(t){window.__dbbRumDebug&&console.log(t)}function E(t,e){return t.slice().sort((n,r)=>e(n)-e(r))}function lt(t){return t.reduce((e,n)=>e+n,0)}function ut(t){return A(t,200)}function A(t,e){if(!t)return;let n=t.split("?");return At()?n[1]&&(t=n[0]+"?"+Z(n[1])):t=n[0],t.startsWith("data:")?t.slice(0,20):t.length{let o=r.toLowerCase();["password","token","code","fbclid","twclid","gclid","state"].includes(o)||o.includes("token")||Fn(n)||e.push(r+(n?"="+n:""))}),w(e.join("&"),_n)}function Fn(t){return/.*@.*\..*/.test(t)}function ft(t){return`${t.toString(36)}${(Math.random()*Number.MAX_SAFE_INTEGER).toString(36)}`}var Un=/[A-Za-z0-9.+]+@[A-Za-z0-9.]+\.[a-zA-Z]+/g;function F(t){return t.includes("@")?t.replace(Un,"[email]"):t}function R(t){return typeof performance.getEntriesByType!="function"?[]:performance.getEntriesByType(t)||[]}function mt(){return[...R("resource"),...R("navigation")]}var pt="setTimeout";function Se(t){return t&&t.trim?t.trim():t}function Ee(t){try{return JSON.parse(t)}catch{return}}var be="\\u200d",Bt="\\ud800-\\udfff",Gn="\\u0300-\\u036f",Hn="\\ufe20-\\ufe2f",Vn="\\u20d0-\\u20ff",ve=Gn+Hn+Vn,we="\\ufe0e\\ufe0f",Wn="["+Bt+"]",Ce="["+ve+"]",Dt="\\ud83c[\\udffb-\\udfff]",jn="(?:"+Ce+"|"+Dt+")",$n="[^"+Bt+"]",Re="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Xn=RegExp("["+be+Bt+ve+we+"]"),Me=jn+"?",xe="["+we+"]?",Jn="(?:"+be+"(?:"+[$n,Re,Le].join("|")+")"+xe+Me+")*",zn=xe+Me+Jn,Kn="(?:"+[Ce,Re,Le,Wn].join("|")+")",Qn=RegExp(Dt+"(?="+Dt+")|"+Kn+zn);function Yn(t){return Xn.test(t)}function U(t,e=0,n){if(typeof t!="string"||t.length===0)return"";let r=n==null?t.length:n<0?t.length+n:n,o=e<0?Math.max(0,t.length+e):e,i=10,s=Math.max(0,o-i),a=Math.min(t.length,r+i),c=t.slice(s,a),g=r-o;if(!Yn(s===0?c:t))return t.slice(o,r);let u=[],d,T=t,f=g;for(;f--&&u.length0&&u.push(...T.slice(0,d.index).split("")),u.length0?Oe(t):null}function rr(t){return Ut(t,0).text}var or=/\s+/g;function Ut(t,e,n=!1){let r=t?.tagName,o="",i=null;try{i=t?.labels?.[0]}catch{}let s="";if(!n&&i){let a=Ut(i,e,!0);e+=a.iterations,s=a.text+" "}return r==="SCRIPT"||r==="STYLE"?o="":!n&&r==="TEXTAREA"?o=s+"[textarea]":!n&&r==="INPUT"?o=s+"[input:"+t.type.toLowerCase()+"]":t instanceof SVGElement?o="(svg)":t.childNodes.forEach(a=>{if(e++,e>q||o.trim().length>=Be)return;let c=a.nodeType;if(c===De)o+=a.nodeValue||"";else if(c===qe){let g=Ut(a,e,n);e=g.iterations,o+=g.text}}),o=F(o.trim().replace(or," ")||""),{text:o,iterations:e}}function Oe(t){let e=0;for(let n of t.children){if(e++,e>q)return"";let r=Ie(n);if(r){let o="";for(let i of n.children){if(e++,e>q)return"";let s=Ie(i);if(s){o=s;break}}return"HTML: "+[r,o].filter(i=>!!i).join(", ")}else{let o=Oe(n);if(o)return o}}}function H(t,e){let n=e?.privacy?.selectors!==!1;return!t||!n?null:ir(t).join(">")}function ir(t){let e=[],n=0,r=0,o=0;for(;t&&(n++,!(n>q));){if(t instanceof SVGElement&&t.tagName!=="svg"){t=t.parentNode;continue}if(t.tagName==="BODY"){e.length===0&&e.push("body");break}if(e.length>30)break;if(t.nodeType===qe){let i=t.tagName.toLowerCase(),c=!(e.length>0&&i.length>10)&&e.length<6?i:"*",g=tt(t);t.id&&t.id.length<40?(c+=`#${t.id}`,r++):g&&g.length<25&&(o<3||e.length%4===0)&&(c+=`.${g}`,o++);let u=t.parentNode?.children||[];if(u.length>1&&(c+=`:${Array.from(u).indexOf(t)+1}`),e.push(c),r>=2||r>=1&&o>=3)break}t=t.parentNode}for(e=e.reverse();e[0]==="*"&&(n++,!(n>q));)e.shift();return e}function Ie(t){if(t.id)return"#"+t.id;let e=tt(t);return e?"."+e:null}function tt(t){let e=t.className;if(typeof e!="string")return null;let n=e.split(" ")[0];return U(Se(n),0,35)}function sr(t){let e=0,n=t;for(;t instanceof SVGElement&&t.tagName!=="svg"&&(e++,!(e>q));)t=t.parentNode;return t||(t=n),t}function V(t,e){let n=0,r=e?.privacy?.selectors!==!1;if(!t||!r)return null;t.nodeType===De&&(t=t.parentNode),t=sr(t);let o=!1,i=!1,s=t.tagName.toLowerCase();t.id?(s+="#"+t.id,i=!0):tt(t)&&(s+="."+tt(t),o=!0);let a=t.parentNode,c=[];for(;a&&(n++,!(n>q));){let g=tt(a);if(a.id&&(!i||a.id.length<30&&!(i&&o))){c.push("#"+a.id),i=!0;break}else if(["HEADER","FOOTER","NAV"].includes(a.tagName)){c.push(a.tagName.toLowerCase());break}else g&&!o&&(c.push("."+g),o=!0);a=a.parentNode}return(c.reverse().join(" ")+" "+s).trim()}function N(t){return function(...e){try{t(...e)}catch(n){ar(n)}}}function ar(t){Gt({error:{message:t.message,stack:t.stack,experience:p}},"fetch")}var _e=S.sendTo||"https://data.debugbear.com/",Gt=N(function t(e,n){let r=JSON.stringify(e);if(navigator.sendBeacon&&n==="beacon")try{navigator.sendBeacon(_e,r)}catch{t(e,"fetch")}else fetch(_e,{method:"POST",headers:{"Content-Type":"application/json"},mode:"no-cors",body:r})});var Fe="dbb_rum",cr=60*60*1e3;function Ue(){let t=document.cookie.split(/; */);for(let e of t){let[n,...r]=e.split("=");if(n!==Fe||r.length===0)continue;let o=r.join("=").trim();return Ee(decodeURIComponent(o))}}function et(t){_()&&(p.session=t,document.cookie=`${Fe}=${encodeURIComponent(JSON.stringify(t))}; Expires=${new Date(Date.now()+cr).toUTCString()}; Path=/; SameSite=Lax;`)}var W;function Ge(t){let e=dt()??{date:L,id:ft(L),hnc:0,nc:0,conv:[],sample:t};return e.hnc+=1,e.nc=(e.nc||0)+1,et(e),p.s=e.id,p.session=e,W=e,e}function He(){W&&(W.nc=(W.nc||0)+1,et(W),p.session=W)}function dt(){return Ue()}var $t=S?.privacy?.engagement!==!1,jt=[],nt=[],O=[],Ht=location.pathname,Vt=location.search.slice(1);function Ve(){return{navigations:O,clickEvents:je(nt),nonClickEvents:jt}}function Xt(t){if(t){if(O.length>0&&O[0].ms>t)return p.path;let e=O.find(n=>n.ms<=t);if(e&&e.path)return e.path}return location.pathname}function We(){$t&&(ur(),fr(),lr())}function lr(){window.navigation?.addEventListener("navigate",t=>{let e=t.destination.url;try{let n=new URL(e),r=n.pathname,o=Z(n.search);if(r===Ht&&o===Vt)return;let i=Date.now()-L;O=O.filter(a=>i-a.ms>100);let s=r!==Ht?w(r,I):void 0;O.push({ms:i,path:s,query:o!==Vt?o:void 0,timeStampMs:Math.round(t.timeStamp),navigationType:t.navigationType}),Ht=r,Vt=o,He()}catch{}})}function ur(){let t=null,e=250;if($t){let n=()=>{t&&clearTimeout(t),t=setTimeout(r,e)},r=()=>{let o=document.documentElement.scrollHeight;if(o<500)return;let i=ct()/o;i>.5&&(jt.push({type:"scroll50",ms:Date.now()-L-e}),window.removeEventListener("scroll",n)),i>.9&&(jt.push({type:"scroll90",ms:Date.now()-L-e}),window.removeEventListener("scroll",n))};window.addEventListener("scroll",n)}}function fr(){if($t){let t=N(function(n){let r=n.target,o=Math.round(n.timeStamp);if(!r.closest)return;let i=r.closest("a,button"),s=i||r,a=i?"click":"oc",c=!nt.find(d=>d.type===a),g=p.inp?.value;if(!c&&g){let T=(Date.now()-L-o)*4;if(g>T)return}let u={type:a,ms:o,...pr(s)};nt.push(u),mr()});window.addEventListener("click",t)}}function je(t){let e=t.find(s=>s.type==="click"),n=t.find(s=>s.type==="oc"),r=null,o=p.inp?.startTime,i=p.inp?.value;if(o&&i){let s=o+i;r=t.filter(c=>oc.ms)[0]}return t.filter(s=>s===e||s===n||s===r)}var Wt=null;function mr(){Wt&&clearTimeout(Wt),Wt=setTimeout(()=>{nt=je(nt)},2e3)}function pr(t){let e=Date.now(),n=[],r=V(t,S);n.push(Date.now()-e),e=Date.now();let o=G(t,S);n.push(Date.now()-e),e=Date.now();let i=H(t,S);return n.push(Date.now()-e),{selector:r,text:o,path:i,_dur:n}}var ht=class{t;o=0;i=[];u(e){if(e.hadRecentInput)return;let n=this.i[0],r=this.i.at(-1);this.o&&n&&r&&e.startTime-r.startTime<1e3&&e.startTime-n.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}},J=()=>{let t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart{if(document.readyState==="loading")return"loading";let e=J();if(e){if(t{let e=t.nodeName;return t.nodeType===1?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},te=t=>{let e="";try{for(;t?.nodeType!==9;){let n=t,r=n.id?"#"+n.id:[dr(n),...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},Jt=new WeakMap;function $(t,e){return Jt.get(t)||Jt.set(t,new e),Jt.get(t)}var en=-1,nn=()=>en,z=t=>{addEventListener("pageshow",e=>{e.persisted&&(en=e.timeStamp,t(e))},!0)},M=(t,e,n,r)=>{let o,i;return s=>{e.value>=0&&(s||r)&&(i=e.value-(o??0),(i||o===void 0)&&(o=e.value,e.delta=i,e.rating=((a,c)=>a>c[1]?"poor":a>c[0]?"needs-improvement":"good")(e.value,n),t(e)))}},ee=t=>{requestAnimationFrame(()=>requestAnimationFrame(t))},rt=()=>J()?.activationStart??0,x=(t,e=-1)=>{let n=J(),r="navigate";return nn()>=0?r="back-forward-cache":n&&(document.prerendering||rt()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:t,value:e,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},X=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){let r=new PerformanceObserver(o=>{queueMicrotask(()=>{e(o.getEntries())})});return r.observe({type:t,buffered:!0,...n}),r}}catch{}},ne=t=>{let e=!1;return()=>{e||(t(),e=!0)}},j=-1,rn=new Set,$e=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,Kt=t=>{if(document.visibilityState==="hidden"){if(t.type==="visibilitychange")for(let e of rn)e();isFinite(j)||(j=t.type==="visibilitychange"?t.timeStamp:0,removeEventListener("prerenderingchange",Kt,!0))}},Et=()=>{if(j<0){let t=rt();j=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(n=>n.name==="hidden"&&n.startTime>=t)?.startTime)??$e(),addEventListener("visibilitychange",Kt,!0),addEventListener("prerenderingchange",Kt,!0),z(()=>{setTimeout(()=>{j=$e()})})}return{get firstHiddenTime(){return j},onHidden(t){rn.add(t)}}},bt=t=>{document.prerendering?addEventListener("prerenderingchange",t,!0):t()},Xe=[1800,3e3],on=(t,e={})=>{bt(()=>{let n=Et(),r,o=x("FCP"),i=X("paint",s=>{for(let a of s)a.name==="first-contentful-paint"&&(i.disconnect(),a.startTime{o=x("FCP"),r=M(t,o,Xe,e.reportAllChanges),ee(()=>{o.value=performance.now()-s.timeStamp,r(!0)})}))})},Je=[.1,.25],ze=t=>t.find(e=>e.node?.nodeType===1)||t[0],sn=(t,e={})=>{let n=$(e=Object.assign({},e),ht),r=new WeakMap;n.t=o=>{if(o?.sources?.length){let i=ze(o.sources),s=i?.node;if(s){let a=e.generateTarget?.(s)??te(s);r.set(i,a)}}},((o,i={})=>{let s=Et();on(ne(()=>{let a,c=x("CLS",0),g=$(i,ht),u=T=>{for(let f of T)g.u(f);g.o>c.value&&(c.value=g.o,c.entries=g.i,a())},d=X("layout-shift",u);d&&(a=M(o,c,Je,i.reportAllChanges),s.onHidden(()=>{u(d.takeRecords()),a(!0)}),z(()=>{g.o=0,c=x("CLS",0),a=M(o,c,Je,i.reportAllChanges),ee(a)}),setTimeout(a))}))})(o=>{t((i=>{let s={};if(i.entries.length){let a=i.entries.reduce((c,g)=>c.value>g.value?c:g);if(a?.sources?.length){let c=ze(a.sources);c&&(s={largestShiftTarget:r.get(c),largestShiftTime:a.startTime,largestShiftValue:a.value,largestShiftSource:c,largestShiftEntry:a,loadState:Tt(a.startTime)})}}return Object.assign(i,{attribution:s})})(o))},e)},an=(t,e={})=>{on(n=>{t((r=>{let o={timeToFirstByte:0,firstByteToFCP:r.value,loadState:Tt(nn())};if(r.entries.length){let i=J(),s=r.entries.at(-1);if(i){let a=i.activationStart||0,c=Math.max(0,i.responseStart-a);o={timeToFirstByte:c,firstByteToFCP:r.value-c,loadState:Tt(r.entries[0].startTime),navigationEntry:i,fcpEntry:s}}}return Object.assign(r,{attribution:o})})(n))},e)},cn=0,zt=1/0,gt=0,gr=t=>{for(let e of t)e.interactionId&&(zt=Math.min(zt,e.interactionId),gt=Math.max(gt,e.interactionId),cn=gt?(gt-zt)/7+1:0)},Qt,Ke=()=>Qt?cn:performance.interactionCount??0,hr=()=>{"interactionCount"in performance||Qt||(Qt=X("event",gr,{durationThreshold:0}))},Qe=0,yt=class{l=[];h=new Map;m;p;v(){Qe=Ke(),this.l.length=0,this.h.clear()}M(){let e=Math.min(this.l.length-1,Math.floor((Ke()-Qe)/50));return this.l[e]}u(e){if(this.m?.(e),!e.interactionId&&e.entryType!=="first-input")return;let n=this.l.at(-1),r=this.h.get(e.interactionId);if(r||this.l.length<10||e.duration>n.T){if(r?e.duration>r.T?(r.entries=[e],r.T=e.duration):e.duration===r.T&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],T:e.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort((o,i)=>i.T-o.T),this.l.length>10){let o=this.l.splice(10);for(let i of o)this.h.delete(i.id)}this.p?.(r)}}},Yt=t=>{let e=globalThis.requestIdleCallback||setTimeout,n=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState==="hidden")t();else{let r=ne(t),o=-1,i=()=>{n(o),r()};addEventListener("visibilitychange",i,{once:!0,capture:!0}),o=e(()=>{removeEventListener("visibilitychange",i,{capture:!0}),r()})}},Ye=[200,500],ln=(t,e={})=>{let n=$(e=Object.assign({},e),yt),r=[],o=[],i=0,s=new WeakMap,a=new WeakMap,c=!1,g=()=>{c||(Yt(u),c=!0)},u=()=>{let f=new Set(n.l.map(h=>s.get(h.entries[0]))),m=o.length-10;o=o.filter((h,y)=>y>=m||f.has(h));let l=new Set;for(let h of o){let y=d(h.startTime,h.processingEnd);for(let v of y)l.add(v)}r=r.filter(h=>h.startTime>i||l.has(h)),c=!1};n.m=f=>{let m=f.startTime+f.duration,l;i=Math.max(i,f.processingEnd);for(let h=o.length-1;h>=0;h--){let y=o[h];if(Math.abs(m-y.renderTime)<=8){l=y,l.startTime=Math.min(f.startTime,l.startTime),l.processingStart=Math.min(f.processingStart,l.processingStart),l.processingEnd=Math.max(f.processingEnd,l.processingEnd),e.includeProcessedEventEntries!==!1&&l.entries.push(f);break}}l||(l={startTime:f.startTime,processingStart:f.processingStart,processingEnd:f.processingEnd,renderTime:m,entries:e.includeProcessedEventEntries!==!1?[f]:[]},o.push(l)),(f.interactionId||f.entryType==="first-input")&&s.set(f,l),g()},n.p=f=>{if(!a.get(f)){let m=f.entries[0].target;if(m){let l=e.generateTarget?.(m)??te(m);a.set(f,l)}}};let d=(f,m)=>{let l=[];for(let h of r)if(!(h.startTime+h.durationm)break;l.push(h)}return l},T=f=>{let m=f.entries[0],l=s.get(m),h=m.processingStart,y=Math.max(m.startTime+m.duration,h),v=Math.min(l.processingEnd,y),it=l.entries.sort((b,P)=>b.processingStart-P.processingStart),Q=d(m.startTime,v),Ct=n.h.get(m.interactionId),D={interactionTarget:a.get(Ct),interactionType:m.name.startsWith("key")?"keyboard":"pointer",interactionTime:m.startTime,nextPaintTime:y,processedEventEntries:it,longAnimationFrameEntries:Q,inputDelay:h-m.startTime,processingDuration:v-h,presentationDelay:y-v,loadState:Tt(m.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(b=>{if(!b.longAnimationFrameEntries?.length)return;let P=b.interactionTime,Rt=b.inputDelay,de=b.processingDuration,Lt,Mt,xt=0,Y=0,kt=0,Nt=0;for(let st of b.longAnimationFrameEntries){Y=Y+st.startTime+st.duration-st.styleAndLayoutStart;for(let k of st.scripts){let he=k.startTime+k.duration;if(heNt&&(Mt=k.startTime=P+Rt+de?"presentation-delay":"processing-duration",Lt=k,Nt=at)}}let Pt=b.longAnimationFrameEntries.at(-1),ge=Pt?Pt.startTime+Pt.duration:0;ge>=P+Rt+de&&(kt=b.nextPaintTime-ge),Lt&&Mt&&(b.longestScript={entry:Lt,subpart:Mt,intersectingDuration:Nt}),b.totalScriptDuration=xt,b.totalStyleAndLayoutDuration=Y,b.totalPaintDuration=kt,b.totalUnattributedDuration=b.nextPaintTime-P-xt-Y-kt})(D),Object.assign(f,{attribution:D})};X("long-animation-frame",f=>{r=r.concat(f),g()}),((f,m={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;let l=Et();bt(()=>{hr();let h,y=x("INP"),v=$(m,yt),it=Ct=>{Yt(()=>{for(let b of Ct)v.u(b);let D=v.M();D&&D.T!==y.value&&(y.value=D.T,y.entries=D.entries,h())})},Q=X("event",it,{durationThreshold:m.durationThreshold??40});h=M(f,y,Ye,m.reportAllChanges),Q&&(Q.observe({type:"first-input",buffered:!0}),l.onHidden(()=>{it(Q.takeRecords()),h(!0)}),z(()=>{v.v(),y=x("INP"),h=M(f,y,Ye,m.reportAllChanges)}))})})(f=>{t(T(f))},e)},St=class{m;u(e){this.m?.(e)}},Ze=[2500,4e3],un=(t,e={})=>{let n=$(e=Object.assign({},e),St),r=new WeakMap;n.m=o=>{let i=o.element;if(i){let s=e.generateTarget?.(i)??te(i);r.set(o,s)}else o.id&&r.set(o,`#${o.id}`)},((o,i={})=>{bt(()=>{let s=Et(),a,c=x("LCP"),g=$(i,St),u=T=>{i.reportAllChanges||(T=T.slice(-1));for(let f of T)g.u(f),f.startTime{u(d.takeRecords()),d.disconnect(),a(!0)}),f=m=>{m.isTrusted&&(Yt(T),removeEventListener(m.type,f,{capture:!0}))};for(let m of["keydown","click","visibilitychange"])addEventListener(m,f,{capture:!0});z(m=>{c=x("LCP"),a=M(o,c,Ze,i.reportAllChanges),ee(()=>{c.value=performance.now()-m.timeStamp,a(!0)})})}})})(o=>{t((i=>{let s={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:i.value};if(i.entries.length){let a=i.entries.at(-1),c=a.url&&performance.getEntriesByType("resource").find(u=>u.name===a.url);s.target=r.get(a),s.lcpEntry=a,a.url&&(s.url=a.url),c&&(s.lcpResourceEntry=c);let g=J();if(g){let u=g.activationStart||0,d=Math.max(0,g.responseStart-u),T=Math.max(d,c?(c.requestStart||c.startTime)-u:0),f=Math.min(i.value,Math.max(T,c?c.responseEnd-u:0));s={...s,timeToFirstByte:d,resourceLoadDelay:T-d,resourceLoadDuration:f-T,elementRenderDelay:i.value-f,navigationEntry:g}}}return Object.assign(i,{attribution:s})})(o))},e)},tn=[800,1800],Zt=t=>{document.prerendering?bt(()=>Zt(t)):document.readyState!=="complete"?addEventListener("load",()=>Zt(t),!0):setTimeout(t)},fn=(t,e={})=>{((n,r={})=>{let o=x("TTFB"),i=M(n,o,tn,r.reportAllChanges);Zt(()=>{let s=J();s&&(o.value=Math.max(s.responseStart-rt(),0),o.entries=[s],i(!0),z(()=>{o=x("TTFB",0),i=M(n,o,tn,r.reportAllChanges),i(!0)}))})})(n=>{t((r=>{let o={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(r.entries.length){let i=r.entries[0],s=i.activationStart||0,a=Math.max((i.workerStart||i.fetchStart)-s,0),c=Math.max(i.domainLookupStart-s,0),g=Math.max(i.connectStart-s,0),u=Math.max(i.connectEnd-s,0);o={waitingDuration:a,cacheDuration:c-a,dnsDuration:g-c,connectionDuration:u-g,requestDuration:r.value-u,navigationEntry:i}}return Object.assign(r,{attribution:o})})(n))},e)};function re(t,e){e&&(t=t.filter(s=>s.startTime>e-1e4));let n=E(t,s=>-s.duration).slice(0,6);if(n.length===0)return;let r=n.reduce((s,a)=>s+a.scripts.length,0),o=r<12?6:3,i=r<12?2:10;return E(n,s=>s.startTime).map(s=>oe(s,o,i))}function oe(t,e,n){let r=t.scripts.filter(a=>a.duration>=n),o=E(r,a=>r.indexOf(a)===r.length-1?-1e6:-a.duration),i=E(o.slice(0,e),a=>a.startTime),s=i.length===0?void 0:i.map(a=>{let c=a.sourceFunctionName,g=mn(typeof a.sourceURL=="string"?A(a.sourceURL,175):a.sourceURL),u=[typeof c=="string"?c.slice(0,80):c,g,a.sourceCharPosition],d=A(mn(a.invoker),175);return g===d&&(d=void 0),{sT:Math.round(a.startTime),d:a.duration,p:Math.round(a.pauseDuration),sl:Math.round(a.forcedStyleAndLayoutDuration),n:d,l:u,t:a.invokerType||a.type}});return{sT:Math.round(t.startTime),d:Math.round(t.duration),ui:Math.round(t.firstUIEventTimestamp),sc:r.length,rs:Math.round(t.renderStart),sls:Math.round(t.styleAndLayoutStart),scr:s}}function mn(t){return t&&t.replace("https://","")}function pn(t,e){let n=e.startTime;if(!n)return;let r=t.filter(o=>{let i=o.startTime+o.duration,s=n+e.value;return i>=n&&i<=s});return r=E(r,o=>-o.duration),re(r)}var dn=null;function gn(t){dn=t}function ie(t){return t.renderBlockingStatus==="blocking"}var Tr={img:1,link:2,script:3,css:4,xmlhttprequest:5,fetch:6,other:7};function yr(t){let e=se(t),n=t.name,r=t.initiatorType,o=Tr[r]||0,i=ie(t),s=0;i&&(s|=1);let a=n.startsWith(location.origin);function c(m,l=!1){if(l)try{m=decodeURIComponent(m)}catch{}return CSS.escape(m)}function g(m=!1){let l=`="${c(n,m)}"`;if(a)try{let h=new URL(n),y=h.pathname+(n.includes("?")?h.search:"");l=`$="${c(y,m)}"`}catch(h){B(h)}return l}function u(m){let l=m==="link"?"href":"src";function h(y=!1){return`${m}[${l}${g(y)}]`}return document.querySelector(`${h()},${h(!0)}`)}if(r==="link"){let m=u("link");m&&(m.rel==="preload"&&(s|=2),m.fetchPriority==="high"&&(s|=8))}if(r==="img"){let m=u("img");m&&m.fetchPriority==="high"&&(s|=8)}r==="css"&&(s|=4);let d=hn(t);d&&(s|=16),t.deliveryType==="cache"&&(s|=32);let T=d,f=n.slice(0,20);try{if(T)f=ut(n);else{let m=new URL(n),l=m.hostname.slice(0,25),h;if(m.pathname.length<30)h=m.pathname;else{let y=m.pathname.split("/").slice(-2),v=y[1]?y[1]:y[0];h="\u2026/"+(v.length<30?v:v.slice(0,10)+"\u2026"+v.slice(-18))}f=l+(h.startsWith("/")?h:"/"+h)}}catch(m){return B(m),null}return{array:[f,e.start,e.sw+e.redirect,e.dns,e.tcp,e.tls,e.req,e.download,s,t.transferSize,o],isBlocking:i,isLcp:d,entry:t}}function se(t){let e=Math.round(t.domainLookupEnd-t.domainLookupStart),n=t.secureConnectionStart?t.secureConnectionStart:t.connectEnd,r=Math.round(n-t.connectStart),o=t.secureConnectionStart?Math.round(t.connectEnd-t.secureConnectionStart):0,i=Math.round(t.responseStart-(t.connectEnd?t.connectEnd:t.requestStart)),s=Math.max(0,Math.round(t.responseEnd-(t.responseStart||t.startTime))),a=Math.round(t.redirectEnd),c=t.redirectEnd?Math.round((t.domainLookupStart||t.fetchStart)-t.redirectEnd-t.startTime):Math.round((t.domainLookupStart||t.fetchStart)-t.startTime);return{start:Math.round(t.startTime),sw:c,redirect:a,dns:e,tcp:r,tls:o,req:i,download:s}}function hn(t){return t.name===dn}function Tn(t){let e=R("resource").filter(l=>l.name!==""),n=e.filter(l=>{if(l.startTime>8e3)return!1;let h=t.lcp?.value;if(h){let y=l.startTime+l.duration,v=h+1e3;return yhn(l)),i=E(n.filter(l=>ie(l)),l=>l.responseEnd).reverse().slice(0,3),s=E(n.filter(l=>ie(l)),l=>l.duration).reverse().slice(0,2),a=E(n,l=>l.duration).reverse().slice(0,2),c=E(n,l=>l.transferSize).reverse().slice(0,2),g=n.find(l=>l.initiatorType==="img"),u=n.find(l=>l.initiatorType==="script"),d=t.inp?.startTime,T=t.inp?.value,f=d?e.filter(l=>l.startTime>d&&l.startTimem.has(l)).map(l=>yr(l)?.array).filter(Boolean)}var ae=18e4,le={ttfb:(t,e,n)=>{let r=Math.round(t.value),o=n.fcp?.value;if(o&&r>o||r>ae)return;e.value=r;let i=t.entries[0];if(n.navigationType=t.navigationType,i){let{sw:s,redirect:a,dns:c,tcp:g,tls:u,req:d,download:T}=se(i);e.sw=s,e.redirect=a,e.dns=c,e.tcp=g,e.tls=u,e.req=d,e.download=T,e.transferSize=Math.round(i.transferSize)}return e},cls:(t,e)=>{e.value=It(t.value);let{attribution:n}=t,{largestShiftSource:r}=n;if(!r)return;let o=n.largestShiftTime?Math.round(n.largestShiftTime):void 0;if(e.startTime=o,n.largestShiftTarget){let i=ce(n.largestShiftTarget);e.text=i.text,e.selector=i.selector,e.path=i.path}return e.shift=yn(r.previousRect).join(",")+"-"+yn(r.currentRect).join(","),e.mainValue=It(n.largestShiftValue),e.scrollTop=ct(),e.p=w(Xt(o),I),e},lcp:(t,e)=>{let n=t.value;if(n>ae)return;e.value=Math.round(n);let r=t.entries[0];if(r){gn(r.url),e.url=ut(r.url);let o=t.attribution.target;if(o){let i=ce(o);e.selector=i.selector,e.text=i.text,e.path=i.path}}return e},inp:(t,e)=>{let n=t.value;if(n>12e4||(e.value=Math.round(n),t.entries.length===0))return;let{attribution:r}=t,o=Math.round(r.interactionTime);if(o<0)return;if(e.breakdown=[r.inputDelay,r.processingDuration,r.presentationDelay].map(s=>Math.round(s)),r.interactionTarget){let s=ce(r.interactionTarget);e.selector=s.selector,e.text=s.text,e.path=s.path}else e.selector=null,e.text=null,e.path=null;e.name=r.interactionType,e.startTime=o;let i=r.longAnimationFrameEntries;return e.loafs=re(i,o),e.p=w(Xt(o),I),e},fcp:(t,e,n)=>{let r=Math.round(t.value),o=n.lcp?.value;if(!(o&&oae))return e.value=r,e}};function yn(t){return[t.left,t.top,t.right,t.bottom].map(e=>Math.round(e))}function ce(t){try{let e=JSON.parse(t);if(typeof e=="object"&&e!==null)return e}catch{}return{selector:t,path:null,text:null}}var Sr=N(function(e){B(e);let n=e.name.toLowerCase();if(!(n==="inp"&&e.entries.length===0)){if(typeof le[n]!="function")throw new Error(`No handler for ${n}`);p[n]=le[n](e,p[n]??{},p)}});function Sn(){[fn,an,un,sn,ln].map(t=>t(Sr,{reportAllChanges:!0,generateTarget:e=>{let n={selector:null,path:null,text:null};return e&&(n.text=G(e,S),n.selector=V(e,S),n.path=H(e,S)),JSON.stringify(n)}}))}var Er=location.href,br=3;function vr(t){return typeof t=="object"&&t!==null&&"message"in t}function wr(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"}function En(t){let e=ue(t)?t.error:t.reason;return e==null?"message"in t?t.message:"Message unknown":wr(e)?String(e):vr(e)?String(e.message):JSON.stringify(e)}function Cr(t){let e=null;ue(t)?e=t.error?.stack??null:e=t.reason?.stack??null;function n(r){let o=r.split(` `);return o[0].includes(En(t))&&o.shift(),o.join(` `).replace(/^ +/g,"").replace(/\n +/g,` `)}return e&&n(e)}function Rr(t){if("lineno"in t&&t.lineno&&"colno"in t&&t.colno)return{lineNo:t.lineno,colNo:t.colno};let e=(ue(t)?t.error:t.reason)?.stack;if(e){let n=e.split(` `).slice(1,2).join(` `).match(/:(\d+):(\d+)/);if(n)return{lineNo:parseInt(n[1],10),colNo:parseInt(n[2],10)}}return{lineNo:null,colNo:null}}function Lr(t,e){let n=null;if("filename"in t&&t.filename&&t.filename!=="undefined")n=t.filename.replace(/ line \d+.*?$/,"");else if(e){let r=e.split(` `)[0].match(/(at )?(.*):\d+:\d+/);if(r){let o="([^\\s\\t]*@)",i=".*?\\(";n=r[2].replace(new RegExp(`^${o}|${i}`),"")}}return n===Er&&(n="Inline Script"),n}function Mr(t){if(!t)return null;let e=t.split(` `)[0],n=e.match(/(at )(([^(]+) \()?/);return n?n[3]||null:e.includes("@")&&e.split("@")[0]||null}function xr(t){let e=Cr(t),n=Mr(e),r=Lr(t,e),o=Rr(t);return[Math.round(t.timeStamp),w(F(En(t)),120),r?A(r,100)??null:null,n?w(n,80):null,o.lineNo,o.colNo]}function ue(t){return t instanceof ErrorEvent}function bn(t,e,n=0){let r=xr(t);return{errors:(e?.length??0)>=br?e:[...e||[],r],errorCount:n+1}}function vn(t,e,n,r,o=null){return r.find(i=>{let{type:s,paths:a,cssSelector:c,urlRegExps:g}=i;if(s==="url")return a.length===0?!1:a.some(u=>kr(u).test(e));if(s==="urlRegExp"){let u=t+e+(n&&"?"+n);return g.some(d=>Nr(d,u))}else if(s==="selector"&&c&&o)return!!o(c)})}function kr(t){let e="^"+t.replace(/(\*\*?)/g,function(n){return n==="**"?".*":"[^/]*"})+"/?$";return new RegExp(e)}function Nr(t,e){try{return new RegExp(t).test(e)}catch{return!1}}var Pr=S.pageGroups||[],vt=()=>vn(location.hostname,location.pathname,location.search.slice(1),Pr,document.querySelector.bind(document));var wn=vt(),wt,Cn=100;if(typeof wn?.sampling=="number")wt=wn.sampling;else{let t=S.sampling;wt=typeof t=="number"?t:100}var fe=[],C={push:function(...t){return t.forEach(([e,n])=>{if(B([e,n]),e==="sampling"&&(wt=n),e==="presampling"&&(Cn=n),["tag1","tag2","tag3","tag4","tag5"].includes(e)&&(p[e]=(n+"").slice(0,1e3)),["metric1","metric2","metric3","metric4","metric5"].includes(e)&&(p[e]=Math.round(n*100)/100),e==="error"||e==="unhandledrejection"){let{errors:r,errorCount:o}=bn(n,p.err,p.ec);p.err=r,p.ec=o}if(e==="beforeSend"&&fe.push(n),e==="conversion"){let r=dt();r&&(r.conv=Array.from(new Set([...r.conv||[],n])),et(r))}}),0}},K;function Ar(){let t=wt/Cn*100;if(t===0){K=!1;return}if(_()){let e=dt();if(typeof e?.sample=="boolean"){K=e.sample;return}}K=Math.random()*100>100-t}function Rn(){let t=window.dbbRum;return t?.forEach&&t.forEach(e=>{C.push(e)}),Ar(),C._getNodeText=G,C._getNodePath=H,C._getNodeSelector=V,C._experience=p,K&&(C._send=ot),C._prep=me,C._sample=K,window.dbbRum=C,K}var Ln=N(function(){if(!S.mappings)return;let e=function(r,o){let i=o.replace(/\*+/g,"*").replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*?"),s=new RegExp(i);return performance.getEntriesByType(r).slice(0,1e3).find(a=>s.test(a.name))},n={urlQueryParam:r=>new URLSearchParams(_t).get(r),requestStartTime:r=>e("resource",r)?.startTime,requestEndTime:r=>{let o=e("resource",r);return o?o.startTime+o.duration:null},requestDuration:r=>e("resource",r)?.duration,performanceMark:r=>e("mark",r)?.startTime,performanceMeasure:r=>e("measure",r)?.duration};S.mappings.forEach(r=>{if(p[r.mapping])return;let o=r.autoCollectionType,i=r.autoCollectionParam;if(i==null)return;let s=n[o]?n[o](i):void 0;(typeof s=="string"||typeof s=="number")&&C.push([r.mapping,s])})});function Mn(){let t=mt().filter(o=>o.renderBlockingStatus==="blocking"),e=0;t.forEach(o=>{o.responseEnd>e&&(e=o.responseEnd)});let n=t.find(o=>o.responseEnd===e),r;return n&&(r={start:Math.round(n.startTime),end:Math.round(n.responseEnd),size:n.decodedBodySize,url:A(n.name,Ot+I),type:n.initiatorType}),{last:r,count:t.length}}function xn(t){let e=t.filter(r=>r.duration>=20);return e.length===0?void 0:E(e,r=>-r.duration).slice(0,3)}function kn(t,e){return t.filter(n=>n.startTime+n.duration/2<=e)}function Nn(){let t={};return[...performance?.getEntriesByType?.("navigation")??[],...performance?.getEntriesByType?.("resource")??[]].forEach(e=>{if(!e.name?.includes(location.origin))return;let r=e.transferSize,o=Ir(e);t[o]=t[o]||null,t[o]=(t[o]??0)+r}),["html","css","script","image","media","font","fetch","other"].map(e=>t[e]||0)}function Ir(t){let{initiatorType:e,contentType:n,name:r}=t;return e==="navigation"||n&&n.includes("html")?"html":n&&n.includes("css")||e==="link"&&r?.includes("css")?"css":n&&n.includes("font")?"font":e==="script"?"script":e==="img"?"image":e==="fetch"||e==="xmlhttprequest"?"fetch":e==="audio"||e==="video"?"media":"other"}var Pn=35;function An(t,e,n,r){let o=[],i=[];if(n){let d=n+r,T=e.filter(f=>f.startTime+f.duration>=n&&f.startTime<=d);o=E(T,f=>-f.duration).slice(0,4),i=t.filter(f=>f.startTime>=n&&f.startTime<=d).slice(0,3)}let s=E(e,d=>-d.duration).slice(0,3),a=t.slice(0,4),g=t.filter(d=>a.includes(d)||i.includes(d)).map(d=>[w(d.name,Pn),Math.round(d.startTime)]),u=e.filter(d=>o.includes(d)||s.includes(d)).map(d=>[w(d.name,Pn),Math.round(d.startTime),Math.round(d.duration)]);if(!(g.length===0&&u.length===0))return[g,u]}function In(t,e){let n=t?.domains;return!Array.isArray(n)||!n.length||!e?!0:n.some(o=>{let i=o.toLowerCase(),s=e.toLowerCase();return!!(s===i||s.endsWith("."+i)&&t.includeSubdomains)})}var Dr=In(S,location.hostname),pe=null,Dn,ot=N(function(e){if(!["https:","http:"].includes(location.protocol)||p.sendIndex>10)return;let n=pe&&new Date().valueOf()-pe.valueOf();if(n&&n<80||!Dr)return;Ln(),me(),fe.forEach(o=>{try{o()}catch(i){console.error(i)}});let r=JSON.stringify({...p,sendIndex:void 0,sendTrigger:void 0,sentAt:void 0,requests:p.requests?{...p.requests,count:void 0,ct:void 0}:p.requests});r!==Dn&&(Dn=r,pe=new Date,p.sendTrigger=e,Gt(p,e===pt?"fetch":"beacon"),p.sendIndex++)}),Bn=!1;function me(){if(p.sentAt=Date.now(),!Bn){let u=vt();u&&u.type==="selector"&&(p.pgId=u.id)}let t=Ve();p.navigationCount=t.navigations.length,p.navigations=t.navigations.slice(0,6);let e=R("navigation")[0];p.dcl=Math.round(e?.domContentLoadedEventStart),p.load=Math.round(e?.loadEventStart);let n=mt(),r=n?.[0]&&"deliveryType"in n[0],o=["beacon","fetch","iframe","xmlhttprequest","ping"],i=n.filter(u=>u.startTime<3e4&&!o.includes(u.initiatorType)),s=r?i.filter(u=>u.deliveryType==="cache").length:null;p.requests={blocking:Mn(),count:n.length,ct:i.length,cache:s},p.reqs||(p.reqs=Tn(p)),p.pageTitle||(p.pageTitle=Ft());let a=R("mark"),c=R("measure");p.ut=An(a,c,p.inp?.startTime,p.inp?.value);let g=performance.getEntriesByName("long-animation-frame")||[];if(typeof p.lcp?.value=="number"){let u=kn(g,p.lcp.value),d=xn(u);if(d?.length){let m=lt(d.map(l=>l.scripts?.length||0))>6;p.lcp.loafs=d.map(l=>oe(l,m?3:4,m?10:5))}let T=lt(u.map(f=>Br(f)));p.lcp.cpu=Math.round(T)}if(p.inp?.value){let u=pn(g,p.inp);u&&u.length>(p.inp.loafs?.length||0)&&(p.inp.loafs=u)}p.fppw=Nn(),p.events=E([...t.nonClickEvents,...t.clickEvents],u=>u.ms),Bn=!0}function Br(t){return lt(t.scripts.map(n=>n.duration))}var qn=Rn();_()&&Ge(qn);qn&&qr();function qr(){We(),ye(Sn),setTimeout(()=>{ot(pt)},8e3),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ot("visibilitychange")})}})(); })();