!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return We},get start(){return De},get stop(){return ze},get track(){return je}}),e=Object.freeze({__proto__:null,get clone(){return cn},get compute(){return ln},get data(){return tn},get keys(){return en},get reset(){return dn},get start(){return un},get stop(){return hn},get trigger(){return sn},get update(){return pn}}),n=Object.freeze({__proto__:null,get check(){return yn},get compute(){return kn},get data(){return $e},get start(){return wn},get stop(){return Tn},get trigger(){return bn}}),r=Object.freeze({__proto__:null,get compute(){return Nn},get data(){return _n},get log(){return Sn},get reset(){return Xn},get start(){return En},get stop(){return Mn},get updates(){return On}}),a=Object.freeze({__proto__:null,get callback(){return zn},get callbacks(){return Yn},get clear(){return Wn},get consent(){return Dn},get data(){return Pn},get electron(){return jn},get id(){return qn},get metadata(){return Hn},get save(){return Rn},get start(){return Cn},get stop(){return An}}),i=Object.freeze({__proto__:null,get data(){return $n},get envelope(){return nr},get start(){return tr},get stop(){return er}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function c(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-s),0)}var l="0.8.1";function d(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var p=/\S/gi,h=255,f=!0,v=null,g=null,m=null;function w(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,i=!1,o=null;O();for(var u=0;u<t.length;u++){var s=t.charCodeAt(u);if(r=r||s>=48&&s<=57,a=a||64===s,i=9===s||10===s||13===s||32===s,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var c=t.substring(e+1,i?u:u+1);c=f&&null!==m?c.match(m)?c:T(c,"▪","▫"):k(c),o.splice(e+1-n,c.length,c),n+=c.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return _(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?b(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return _(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":case"data-":return r?b(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function y(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],s=i[1];r=u+"?"+s.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,h)),r}function b(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(p,"•")}function T(t,e,n){return O(),t?t.replace(g,e).replace(v,n):t}function _(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function O(){if(f&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){f=!1}}var x=null,E=null,M=!1;function S(){M&&(x={time:c(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function N(t,e,n,r){switch(t){case 8:E.docWidth=e,E.docHeight=n;break;case 11:E.screenWidth=e,E.screenHeight=n;break;case 10:E.scrollX=e,E.scrollY=n,E.scrollTime=r;break;case 12:E.moveX=e,E.moveY=n,E.moveTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 13:E.downX=e,E.downY=n,E.downTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 14:E.upX=e,E.upY=n,E.upTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r}M=!0}function X(t){E.activityTime=t}function I(t,e){E.visible="visible"===e?1:0,E.visible||X(t),M=!0}function P(){M&&mn(4)}var Y=Object.freeze({__proto__:null,activity:X,compute:P,reset:S,start:function(){M=!1,S()},get state(){return x},stop:function(){S()},track:N,visibility:I}),j=null;function C(t,e){br()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},mn(24))}var A,H=null,q=null;function D(t){t in H||(H[t]=0),t in q||(q[t]=0),H[t]++,q[t]++}function W(t,e){null!==e&&(t in H||(H[t]=0),t in q||(q[t]=0),H[t]+=e,q[t]+=e)}function z(t,e){null!==e&&!1===isNaN(e)&&(t in H||(H[t]=0),(e>H[t]||0===H[t])&&(q[t]=e,H[t]=e))}function R(t,e,n){return window.setTimeout(ir(t),e,n)}function L(t){return window.clearTimeout(t)}var F=0,U=0,J=null;function V(){J&&L(J),J=R(B,U),F=c()}function B(){var t=c();A={gap:t-F},mn(25),A.gap<3e5?J=R(B,U):mr&&(C("webinsights","suspend"),xr(),["mousemove","touchstart"].forEach((function(t){return ur(document,t,kr)})),["resize","scroll","pageshow"].forEach((function(t){return ur(window,t,kr)})))}var G=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){U=6e4,F=0},stop:function(){L(J),F=0,U=0}}),Z=null;function K(){mn(36)}function Q(){Z={}}var $=Object.freeze({__proto__:null,compute:K,get data(){return Z},reset:Q,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){var n=Z[t],r=n[n.length-1];e-r[0]>100?Z[t].push([e,0]):r[1]=e-r[0]}else Z[t]=[[e,0]]}}),tt=null;function et(t){br()&&o.lean&&(o.lean=!1,tt={key:t},zn(),Rn(),o.upgrade&&o.upgrade(t),mn(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}s((r=r.apply(t,e||[])).next())}))}function at(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var it=null;function ot(t,e){st(t,"string"==typeof e?[e]:e)}function ut(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,i;return at(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(T(u.substring(2),"*","*")):T(u,"*","*")),st("userId",[(a=i).userId]),st("userHint",[a.userHint]),st("userType",[pt(t)]),e&&(st("sessionId",[e]),a.sessionId=e),n&&(st("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function st(t,e){if(br()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);it[t]=n}}function ct(){mn(34)}function lt(){it={}}function dt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function pt(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function ft(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,i;return at(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var gt=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var wt,yt=[Y,r,Object.freeze({__proto__:null,compute:ct,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,a,i,t,G,nt,e];function bt(){H={},q={},D(5),yt.forEach((function(t){return ir(t.start)()}))}function kt(){yt.slice().reverse().forEach((function(t){return ir(t.stop)()})),H={},q={}}function Tt(){ct(),P(),Nn(),mn(0),K(),kn(),ln()}function _t(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,s,l,d,p,h,f;return at(this,(function(v){switch(e=c(),n=[e,t],t){case 8:r=wt,n.push(r.width),n.push(r.height),N(t,r.width,r.height),We(n);break;case 43:if((a=he).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],s=u.metadata.privacy,l=u.data,d=0,p=["tag","attributes","value"];d<p.length;d++)if(l[h=p[d]])switch(h){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(l[h]);break;case"attributes":for(f in l[h])void 0!==l[h][f]&&n.push(Ot(f,l[h][f],s));break;case"value":n.push(w(l[h],l.tag,s))}We(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function Ot(t,e,n){return"".concat(t,"=").concat(w(e,0===t.indexOf("data-")?"data-":t,n))}function xt(){wt=null}function Et(){xt(),Mt()}function Mt(){Mt.dn=19;var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,s=Math.max(n,r,a,i,o,u),c=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,h=e?e.scrollHeight:null,f=e?e.offsetHeight:null,v=Math.max(c,l,d,p,h,f);null!==wt&&s===wt.width&&v===wt.height||null===s||null===v||(wt={width:s,height:v},_t(8))}var St=[],Nt=null;var Xt=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Nt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:St,stop:function(){}}),It=[],Pt=null,Yt=null,jt=null;function Ct(){It=[],Pt=null,Yt=null}function At(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(i){for(n=0,r=It;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){It[1===e?"unshift":"push"]({task:t,resolve:n,id:qn()})})),null===Pt&&null===Yt&&Ht(),[2,a]}))}))}function Ht(){var t=It.shift();t&&(Pt=t,t.task().then((function(){t.id===qn()&&(t.resolve(),Pt=null,Ht())})).catch((function(e){t.id===qn()&&(e&&Qe(0,1,e.name,e.message,e.stack),Pt=null,Ht())})))}var qt,Dt=["input","textarea","radio","button","canvas"],Wt=[];function zt(t){ur(t,"click",Rt.bind(this,9,t),!0)}function Rt(t,e,n){Rt.dn=6;var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,o=we(n),u=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(o),s=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(o);0===n.detail&&s&&(a=Math.round(s.x+s.w/2),i=Math.round(s.y+s.h/2));var l=s?Math.max(Math.floor((a-s.x)/s.w*32767),0):0,d=s?Math.max(Math.floor((i-s.y)/s.h*32767),0):0;if(null!==a&&null!==i){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(o);Wt.push({time:c(n),event:t,data:{target:o,x:a,y:i,eX:l,eY:d,button:n.button,reaction:Lt(o),context:Ft(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),At(xe.bind(this,t))}}function Lt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Dt.indexOf(e)>=0)return 0}return 1}function Ft(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ut(){Wt=[]}var Jt=null,Vt=!1;function Bt(){Bt.dn=12;var t=document.documentElement;qt={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},Vt?(L(Jt),Jt=R(Gt,500,11)):(xe(11),Vt=!0)}function Gt(t){At(xe.bind(this,t))}function Zt(){qt=null,L(Jt)}var Kt=[],Qt=null;function $t(t){void 0===t&&(t=null),$t.dn=13;var e=window,n=document.documentElement,r=t?we(t):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),i=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),o=window.innerWidth,u=window.innerHeight,s=o/3,l=o>u?.15*u:.2*u,d=u-l,p=te(s,l),h=te(s,d),f={time:c(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:h}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=Kt.length,g=v>1?Kt[v-2]:null;g&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<25}(g,f)&&Kt.pop(),Kt.push(f),L(Qt),Qt=R(ee,500,10)}}function te(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function ee(t){At(xe.bind(this,t))}var ne,re,ae=[];function ie(t){ie.dn=16,ae.push({time:c(t),event:39,data:{target:we(t)}}),At(xe.bind(this,39))}function oe(){ae=[]}function ue(t){ue.dn=17,ne={name:t.type,persisted:t.persisted?1:0},xe(26,c(t)),xr()}function se(){ne=null}function ce(t){void 0===t&&(t=null),ce.dn=18,re={visible:"visibilityState"in document?document.visibilityState:"default"},xe(28,c(t))}function le(){re=null}function de(t){!function(t){ur(t===document?window:t,"scroll",$t,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(zt(t),function(t){ur(t,"submit",ie,!0)}(t))}var pe=Object.freeze({__proto__:null,observe:de,start:function t(){t.dn=8,Ee=[],Se(),Ut(),Vt=!1,ur(window,"resize",Bt),Bt(),ur(document,"visibilitychange",ce),ce(),Kt=[],$t(),oe(),ur(window,"pagehide",ue)},stop:function(){Ee=[],Se(),Ut(),Zt(),le(),L(Qt),Kt=[],oe(),se()}}),he=[],fe=1,ve=null;function ge(){return!1}function me(){}function we(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ye(t){var e={id:0,hash:null,privacy:o.conversions?1:5};return t&&(e.id=ve.has(t)?ve.get(t):Te(t)),e}function be(){ve=new WeakMap}function ke(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function Te(t){return null===t?null:ve.has(t)?ve.get(t):(ve.set(t,fe),fe++)}function _e(t,e,n){if(t&&n&&n.tag){var r=Te(t),a=e?ve.get(e):null,i=t.previousSibling?ve.get(t.previousSibling):null;he.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Oe=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:me,iframe:ge,metadata:ye,offset:function(){return{x:0,y:0}},snapshot:function(){he=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var s=i;r="*D",n={name:s.name,publicId:s.publicId,systemId:s.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=ve.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var c=i;n=ke(c),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(c.tagName)<0?c.tagName:r}_e(i,u,{tag:r,attributes:n,value:a})}}(document),_t(43)},start:function(){be(),Et(),Te(document.documentElement),de(document)},stop:function(){be(),xt()},target:we,get values(){return he}});function xe(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,i,o,u,s,l,d,p,h,f,v,g,m,b,k,T,_,O,x,E,M,S,X,P,Y,j,C,A,H,q,D,W,z;return at(this,(function(R){switch(n=e||c(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=St;a<i.length;a++)W=i[a],(o=ye(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(o.id),r.push(W.data.x),r.push(W.data.y),void 0!==W.data.id&&(r.push(W.data.id),void 0!==W.data.isPrimary&&r.push(W.data.isPrimary.toString())),We(r),N(W.event,W.data.x,W.data.y,W.time));break;case 9:for(u=0,s=Wt;u<s.length;u++)W=s[u],l=ye(W.data.target,W.event,W.data.text),r=[W.time,W.event],d=l.hash?l.hash.join("."):"",r.push(l.id),r.push(W.data.x),r.push(W.data.y),r.push(W.data.eX),r.push(W.data.eY),r.push(W.data.button),r.push(W.data.reaction),r.push(W.data.context),r.push(w(W.data.text,"click",l.privacy)),r.push(y(W.data.link)),r.push(d),r.push(W.data.trust),r.push(W.data.isFullText),We(r),Ne(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Ut();break;case 38:for(p=0,h=St;p<h.length;p++)W=h[p],r=[W.time,W.event],(H=ye(W.data.target,W.event)).id>0&&(r.push(H.id),r.push(W.data.action),We(r));break;case 11:f=qt,r.push(f.width),r.push(f.height),N(t,f.width,f.height),Zt(),We(r);break;case 26:v=ne,r.push(v.name),r.push(v.persisted),se(),We(r);break;case 27:for(g=0,m=St;g<m.length;g++)W=m[g],b=ye(W.data.target,W.event,W.data.value),(r=[W.time,W.event]).push(b.id),r.push(w(W.data.value,"input",b.privacy,!1,W.data.type)),We(r);break;case 21:(k=Nt)&&(T=ye(k.start),_=ye(k.end),r.push(T.id),r.push(k.startOffset),r.push(_.id),r.push(k.endOffset),We(r));break;case 10:for(O=0,x=Kt;O<x.length;O++)W=x[O],E=ye(W.data.target,W.event),M=ye(W.data.top,W.event),S=ye(W.data.bottom,W.event),X=(null==M?void 0:M.hash)?M.hash.join("."):"",P=(null==S?void 0:S.hash)?S.hash.join("."):"",E.id>0&&((r=[W.time,W.event]).push(E.id),r.push(W.data.x),r.push(W.data.y),r.push(X),r.push(P),We(r),N(W.event,W.data.x,W.data.y,W.time));Kt=[];break;case 42:for(Y=0,j=St;Y<j.length;Y++)W=j[Y],r=[W.time,W.event],(H=ye(W.data.target,W.event)).id>0&&((r=[W.time,W.event]).push(H.id),r.push(W.data.type),r.push(w(W.data.value,"change",H.privacy)),r.push(w(W.data.checksum,"checksum",H.privacy)),We(r));break;case 39:for(C=0,A=ae;C<A.length;C++)W=A[C],r=[W.time,W.event],(H=ye(W.data.target,W.event)).id>0&&(r.push(H.id),We(r));oe();break;case 22:for(q=0,D=Me;q<D.length;q++)W=D[q],(r=[W.time,W.event]).push(W.data.type),r.push(W.data.hash),r.push(W.data.x),r.push(W.data.y),r.push(W.data.reaction),r.push(W.data.context),We(r,!1);Se();break;case 28:z=re,r.push(z.visible),We(r),I(n,z.visible),le()}return[2]}))}))}var Ee=[],Me=[];function Se(){Me=[]}function Ne(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Ee.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),N(e,r,a,t)}var Xe,Ie,Pe,Ye,je,Ce=0,Ae=0,He=null,qe=0;function De(){Ye=!0,Ce=0,Ae=0,qe=0,Xe=[],Ie=[],Pe={},je=null}function We(t,e){if(void 0===e&&(e=!0),Ye){var n=c(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Ce+=a.length;case 37:case 6:case 43:case 45:case 46:Ae+=a.length,Xe.push(a);break;default:Ie.push(a)}D(25);var i=function(){var t=!1===o.lean&&Ce>0?100:$n.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-qe>2*i&&(L(He),He=null),e&&null===He&&(25!==r&&V(),He=R(Re,i),qe=n,yn(Ae))}}function ze(){L(He),Re(!0),Ce=0,Ae=0,qe=0,Xe=[],Ie=[],Pe={},je=null,Ye=!1}function Re(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,i,u,s,c;return at(this,(function(l){switch(l.label){case 0:return He=null,(e=!1===o.lean&&Ae>0&&(Ae<1048576||$n.sequence>0))&&z(1,1),function(){var t=[];Me=[];for(var e=$n.start+$n.duration,n=Math.max(e-2e3,0),r=0,a=Ee;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&Me.push(i),t.push(i))}Ee=t,xe(22)}(),Tt(),n=!0===t,r=JSON.stringify(nr(n)),a="[".concat(Ie.join(),"]"),i=e?"[".concat(Xe.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:i}),n?(c=null,[3,3]):[3,1];case 1:return[4,ft(u)];case 2:c=l.sent(),l.label=3;case 3:return W(2,(s=c)?s.length:u.length),Le(u,s,$n.sequence,n),Ie=[],e&&(Xe=[],Ae=0,Ce=0),[2]}}))}))}function Le(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&Ue(n)}catch(t){}if(!1===i){n in Pe?Pe[n].attempts++:Pe[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){ar(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){ir(Fe)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-webinsights-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),Ue(n)}}function Fe(t,e){var n=Pe[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?bn(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Le(n.data,null,e)):(je={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&mn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":bn(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&sn(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(Le(n.data,null,e,!0),bn(3)),t.status>=200&&t.status<=208&&Ue(e),delete Pe[e]))}function Ue(t){1===t&&(Rn(),zn())}var Je,Ve={};function Be(t){Be.dn=4;var e=t.error||t;return e.message in Ve||(Ve[e.message]=0),Ve[e.message]++>=5||e&&e.message&&(Je={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Ge(31)),!0}function Ge(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[c(),t],t){case 31:e.push(Je.message),e.push(Je.line),e.push(Je.column),e.push(Je.stack),e.push(y(Je.source)),We(e);break;case 33:Ze&&(e.push(Ze.code),e.push(Ze.name),e.push(Ze.message),e.push(Ze.stack),e.push(Ze.severity),We(e,!1))}return[2]}))}))}var Ze,Ke={};function Qe(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Ke&&Ke[t].indexOf(i)>=0||(Ze={code:t,name:n,message:r,stack:a,severity:e},t in Ke?Ke[t].push(i):Ke[t]=[i],Ge(33))}var $e,tn={},en=new Set,nn={},rn={},an={},on={};function un(){dn()}function sn(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in nn[r]={},rn[r]={},an[r]={},on[r]=a,i){var u=parseInt(o),s=i[o],c=2;switch(s.startsWith("~")?c=0:s.startsWith("!")&&(c=4),c){case 0:var l=s.slice(1);nn[r][u]=fn(l);break;case 2:rn[r][u]=s;break;case 4:var d=s.slice(1);an[r][u]=d}}}catch(t){Qe(8,1,t?t.name:null)}}function cn(t){return JSON.parse(JSON.stringify(t))}function ln(){try{for(var t in nn){var e=parseInt(t);if(""==on[e]||document.querySelector(on[e])){var n=nn[e];for(var r in n){var a=parseInt(r),i=(m=vn(cn(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&pn(e,a,i)}var o=rn[e];for(var u in o){var s=!1,c=parseInt(u),l=o[c];l.startsWith("@")&&(s=!0,l=l.slice(1));var p=document.querySelectorAll(l);if(p){var h=Array.from(p).map((function(t){return t.textContent})).join("<SEP>");pn(e,c,(s?d(h).trim():h).slice(0,1e4))}}var f=an[e];for(var v in f){var g=parseInt(v);pn(e,g,(void f[g]).trim().slice(0,1e4))}}}en.size>0&&mn(40)}catch(t){Qe(5,1,t?t.name:null)}var m}function dn(){en.clear()}function pn(t,e,n){var r,a=!1;t in tn||(tn[t]={},a=!0),r=an[t],0==Object.keys(r).length||e in tn[t]&&tn[t][e]==n||(a=!0),tn[t][e]=n,a&&en.add(t)}function hn(){dn()}function fn(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function vn(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&gn(a,r.condition))n=vn(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var s=u[o];if(gn(s,r.condition)){var c=vn(t,s);c&&i.push(c)}}n=i}return n}return null}function gn(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function mn(t){var e=[c(),t];switch(t){case 4:var n=x;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),We(e,!1)),S();break;case 25:e.push(A.gap),We(e);break;case 35:e.push($e.check),We(e,!1);break;case 3:e.push(tt.key),We(e);break;case 2:e.push(je.sequence),e.push(je.attempts),e.push(je.status),We(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),We(e);break;case 34:var r=Object.keys(it);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(it[o])}lt(),We(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var s=0,l=u;s<l.length;s++){var d=l[s],p=parseInt(d,10);e.push(p),e.push(Math.round(q[d]))}q={},We(e,!1)}break;case 1:var h=Object.keys(On);if(h.length>0){for(var f=0,v=h;f<v.length;f++){var g=v[f];p=parseInt(g,10);e.push(p),e.push(On[g])}Xn(),We(e,!1)}break;case 36:var m=Object.keys(Z);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],Z[b]))}Q(),We(e,!1)}break;case 40:en.forEach((function(t){e.push(t);var n=[];for(var r in tn[t]){var a=parseInt(r,10);n.push(a),n.push(tn[t][r])}e.push(n)})),dn(),We(e,!1)}}function wn(){$e={check:0}}function yn(t){if(0===$e.check){var e=$e.check;e=$n.sequence>=128?1:e,e=$n.pageNum>=128?7:e,e=c()>72e5?2:e,(e=t>10485760?2:e)!==$e.check&&bn(e)}}function bn(t){$e.check=t,5!==t&&(Wn(),xr())}function kn(){0!==$e.check&&mn(35)}function Tn(){$e=null}var _n=null,On=null,xn=!1;function En(){_n={},On={},xn=!1}function Mn(){_n={},On={},xn=!1}function Sn(t,e){if(e&&(e="".concat(e),t in _n||(_n[t]=[]),_n[t].indexOf(e)<0)){if(_n[t].length>128)return void(xn||(xn=!0,bn(5)));_n[t].push(e),t in On||(On[t]=[]),On[t].push(e)}}function Nn(){mn(1)}function Xn(){On={},xn=!1}function In(t){Sn(36,t.toString())}var Pn=null,Yn=[],jn=0;function Cn(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",s=document&&document.title?document.title:"";jn=r.indexOf("Electron")>0?1:0;var c,l=function(){var t={session:Jn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Zn(1);if(e){var n=e.split("|");n.length>=5&&t.ts-Vn(n[1])<18e5&&(t.session=n[0],t.count=Vn(n[2])+1,t.upgrade=Vn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),p=Bn(),h=o.projectId||d(location.host);Pn={projectId:h,userId:p.id,sessionId:l.session,pageNum:l.count},o.lean=o.track&&null!==l.upgrade?0===l.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&l.upload&&l.upload.length>"https://".length?l.upload:o.upload,Sn(0,r),Sn(3,s),Sn(1,y(location.href,!!jn)),Sn(2,document.referrer),Sn(15,function(){var t=Jn();if(o.track&&Fn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Sn(16,document.documentElement.lang),Sn(17,document.dir),Sn(26,"".concat(window.devicePixelRatio)),Sn(28,p.dob.toString()),Sn(29,p.version.toString()),Sn(33,u),Sn(34,a),Sn(35,i),z(0,l.ts),z(1,0),z(35,jn),navigator&&(Sn(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),(c=navigator.userAgentData)&&c.getHighEntropyValues?c.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Sn(22,t.platform),Sn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Sn(24,t.name+"~"+t.version)})),Sn(25,t.model),z(27,t.mobile?1:0)})):Sn(22,navigator.platform)),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(var f=0,v=o.cookies;f<v.length;f++){var g=v[f],m=Gn(g);m&&ot(g,m)}ot("C_IS","1"),function(t){In(t?1:0)}(o.track),Un(p)}function An(){Pn=null,Yn.forEach((function(t){t.called=!1}))}function Hn(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var r=o.lean?0:1,a=!1;Pn&&(r||!1===e)&&(t(Pn,!o.lean),a=!0),!n&&a||Yn.push({callback:t,wait:e,recall:n,called:a})}function qn(){return Pn?[Pn.userId,Pn.sessionId,Pn.pageNum].join("."):""}function Dn(t){if(void 0===t&&(t=!0),!t)return o.track=!1,Wn(),xr(),void window.setTimeout(Or,250);br()&&(o.track=!0,Un(Bn(),1),Rn(),In(2))}function Wn(){Kn("",1)}function zn(){Ln(o.lean?0:1)}function Rn(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;Ln(n),Kn([Pn.sessionId,t,Pn.pageNum,n,e].join("|"),1)}function Ln(t){if(Yn.length>0)for(var e=0;e<Yn.length;e++){var n=Yn[e];!n.callback||n.called||n.wait&&!t||(n.callback(Pn,!o.lean),n.called=!0,n.recall||(Yn.splice(e,1),e--))}}function Fn(t,e){try{return!!t[e]}catch(t){return!1}}function Un(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Kn([Pn.userId,2,n.toString(36),e,r].join("|"),0)}function Jn(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Vn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Bn(){var t={id:Jn(),version:0,expiry:null,consent:0,dob:0},e=Zn(0);if(e&&e.length>0){var n=e.split("|");n.length>1&&(t.version=Vn(n[1])),n.length>2&&(t.expiry=Vn(n[2],36)),n.length>3&&1===Vn(n[3])&&(t.consent=1),n.length>4&&Vn(n[1])>1&&(t.dob=Vn(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Gn(t){if(Fn(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n<e.length;n++){var r=e[n].split("=");if(r.length>1&&r[0]&&r[0].trim()===t)return r[1]}}return null}function Zn(t){return window.insightsuetq&&window.insightsuetq.insightsGetCookie?window.insightsuetq.insightsGetCookie(t):null}function Kn(t,e){window.insightsuetq&&window.insightsuetq.insightsSetCookie&&window.insightsuetq.insightsSetCookie(t,e)}var Qn,$n=null;function tr(){var t=Pn;$n={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function er(){$n=null}function nr(t){return $n.start=$n.start+$n.duration,$n.duration=c()-$n.start,$n.sequence++,$n.upload=t&&"sendBeacon"in navigator?1:0,$n.end=t?1:0,$n.applicationPlatform=0,$n.url=y(location.href,!1,!0),[$n.version,$n.sequence,$n.start,$n.duration,$n.projectId,$n.userId,$n.sessionId,$n.pageNum,$n.upload,$n.end,$n.applicationPlatform,$n.url]}function rr(){Qn=[]}function ar(t){if(Qn&&-1===Qn.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:$n.version,p:$n.projectId,u:$n.userId,s:$n.sessionId,n:$n.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),Qn.push(t.message)}}return t}function ir(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw ar(t)}var n=performance.now()-e;W(4,n),n>30&&(D(7),z(6,n),Qe(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var or=new Map;function ur(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=ir(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return or.has(t)}(t)||or.set(t,[]),or.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function sr(){or.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),or.delete(e)}(t,e)})),or=new Map}var cr=null,lr=null,dr=null,pr=0;function hr(){return!(pr++>20)||(Qe(4,0),!1)}function fr(){fr.dn=1,pr=0,dr!==gr()&&(xr(),window.setTimeout(vr,250))}function vr(){Or(),z(29,1)}function gr(){return location.href?location.href.replace(location.hash,""):location.href}var mr=!1;function wr(){mr=!0,s=performance.now()+performance.timeOrigin,Ct(),sr(),rr(),dr=gr(),pr=0,ur(window,"popstate",fr),null===cr&&(cr=history.pushState,history.pushState=function(){cr.apply(this,arguments),br()&&hr()&&fr()}),null===lr&&(lr=history.replaceState,history.replaceState=function(){lr.apply(this,arguments),br()&&hr()&&fr()})}function yr(){dr=null,pr=0,rr(),sr(),Ct(),s=0,mr=!1}function br(){return mr}function kr(){kr.dn=2,Or(),C("webinsights","restart")}var Tr=Object.freeze({__proto__:null,start:function t(){t.dn=3,function(){z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(t){z(31,0)}}(),ur(window,"error",Be),Ve={},Ke={}},stop:function(){Ke={}}}),_r=[Tr,Oe,pe,Xt];function Or(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===mr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||mr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),wr(),bt(),_r.forEach((function(t){return ir(t.start)()})),null===t&&Nr())}function xr(){br()&&(_r.slice().reverse().forEach((function(t){return ir(t.stop)()})),kt(),yr(),void 0!==Mr&&(Mr[Sr]=function(){(Mr[Sr].q=Mr[Sr].q||[]).push(arguments),"start"===arguments[0]&&Mr[Sr].q.unshift(Mr[Sr].q.pop())&&Nr()}))}var Er=Object.freeze({__proto__:null,consent:Dn,event:C,hashText:me,identify:ut,metadata:Hn,pause:function(){br()&&(C("webinsights","pause"),null===Yt&&(Yt=new Promise((function(t){jt=t}))))},resume:function(){br()&&(Yt&&(jt(),Yt=null,null===Pt&&Ht()),C("webinsights","resume"))},set:ot,signal:function(t){gt=t},start:Or,stop:xr,upgrade:et,version:l}),Mr=window,Sr="webinsights";function Nr(){if(void 0!==Mr){if(Mr[Sr]&&Mr[Sr].v)return console.warn("Error WI001: Multiple webinsights tags detected.");var t=Mr[Sr]&&Mr[Sr].q||[];for(Mr[Sr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Er[t].apply(Er,e)},Mr[Sr].v=l;t.length>0;)Mr[Sr].apply(Mr,t.shift())}}Nr()}();
