!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return We},get start(){return Pe},get stop(){return Xe},get track(){return Ce}}),e=Object.freeze({__proto__:null,get clone(){return un},get compute(){return cn},get data(){return Qe},get keys(){return $e},get reset(){return sn},get start(){return an},get stop(){return dn},get trigger(){return on},get update(){return ln}}),n=Object.freeze({__proto__:null,get check(){return mn},get compute(){return yn},get data(){return Ke},get start(){return gn},get stop(){return bn},get trigger(){return wn}}),r=Object.freeze({__proto__:null,get compute(){return Sn},get data(){return kn},get log(){return En},get reset(){return Nn},get start(){return xn},get stop(){return Tn},get updates(){return _n}}),a=Object.freeze({__proto__:null,get callback(){return Xn},get callbacks(){return jn},get clear(){return Wn},get consent(){return Pn},get data(){return In},get electron(){return Cn},get id(){return Dn},get metadata(){return qn},get save(){return zn},get start(){return An},get stop(){return Hn}}),i=Object.freeze({__proto__:null,get data(){return Kn},get envelope(){return tr},get start(){return Qn},get stop(){return $n}}),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,longTask:30,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(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-c),0)}var l="0.7.58";var d=/\S/gi,h=!0,f=null,p=null,v=null;function g(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;_();for(var u=0;u=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==v?s.match(v)?s:b(s,"▪","▫"):y(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return k(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?w(t):y(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return k(t);case"placeholder":return y(t)}break;case 4:switch(e){case"*T":case"data-":return r?w(t):y(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 b(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 m(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var r=t.split("?"),a=r[0],i=r[1];return a+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function w(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 y(t){return t.replace(d,"•")}function b(t,e,n){return _(),t?t.replace(p,e).replace(f,n):t}function k(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r0&&r%5==0?" ":"•";return n}function _(){if(h&&null===f)try{f=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var O=null,x=null,T=!1;function E(){T&&(O={time:s(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime,scrollTime:x.scrollTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function S(t,e,n,r){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n,x.scrollTime=r;break;default:x.pointerX=e,x.pointerY=n}T=!0}function N(t){x.activityTime=t}function M(t,e){x.visible="visible"===e?1:0,x.visible||N(t),T=!0}function I(){T&&vn(4)}var j=Object.freeze({__proto__:null,activity:N,compute:I,reset:E,start:function(){T=!1,E()},get state(){return O},stop:function(){E()},track:S,visibility:M}),C=null;function A(t,e){wr()&&t&&"string"==typeof t&&t.length<255&&(C=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},vn(24))}var H,q=null,D=null;function P(t){t in q||(q[t]=0),t in D||(D[t]=0),q[t]++,D[t]++}function W(t,e){null!==e&&(t in q||(q[t]=0),t in D||(D[t]=0),q[t]+=e,D[t]+=e)}function X(t,e){null!==e&&!1===isNaN(e)&&(t in q||(q[t]=0),(e>q[t]||0===q[t])&&(D[t]=e,q[t]=e))}function z(t,e,n){return window.setTimeout(rr(t),e,n)}function Y(t){return window.clearTimeout(t)}var R=0,L=0,U=null;function J(){U&&Y(U),U=z(V,L),R=s()}function V(){var t=s();H={gap:t-R},vn(25),H.gap<3e5?U=z(V,L):vr&&(A("webinsights","suspend"),_r(),["mousemove","touchstart"].forEach((function(t){return ir(document,t,yr)})),["resize","scroll","pageshow"].forEach((function(t){return ir(window,t,yr)})))}var F=Object.freeze({__proto__:null,get data(){return H},reset:J,start:function(){L=6e4,R=0},stop:function(){Y(U),R=0,L=0}}),B=null;function G(){vn(36)}function Z(){B={}}var K=Object.freeze({__proto__:null,compute:G,get data(){return B},reset:Z,start:function(){B={}},stop:function(){B={}},track:function(t,e){if(t in B){var n=B[t],r=n[n.length-1];e-r[0]>100?B[t].push([e,0]):r[1]=e-r[0]}else B[t]=[[e,0]]}}),Q=null;function $(t){wr()&&o.lean&&(o.lean=!1,Q={key:t},Xn(),zn(),o.upgrade&&o.upgrade(t),vn(3))}var tt=Object.freeze({__proto__:null,get data(){return Q},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),Q=null},stop:function(){Q=null},upgrade:$});function et(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function nt(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(c){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]=5?"".concat(u.substring(0,2)).concat(b(u.substring(2),"*","*")):b(u,"*","*")),ot("userId",[(a=i).userId]),ot("userHint",[a.userHint]),ot("userType",[lt(t)]),e&&(ot("sessionId",[e]),a.sessionId=e),n&&(ot("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function ot(t,e){if(wr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in rt?rt[t]:[]),r=0;r0?"email":"string"}var dt="CompressionStream"in window;function ht(t){return et(this,void 0,void 0,(function(){var e,n;return nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return et(this,void 0,void 0,(function(){return nt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(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 ft(t){return et(this,void 0,void 0,(function(){var e,n,r,a,i;return nt(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 pt=null;function vt(t){try{if(!pt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){pt(t)}))}catch(t){}}var gt,mt=[j,r,Object.freeze({__proto__:null,compute:ut,get data(){return rt},identify:it,reset:ct,set:at,start:function(){ct()},stop:function(){ct()}}),n,K,a,i,t,F,tt,e];function wt(){q={},D={},P(5),mt.forEach((function(t){return rr(t.start)()}))}function yt(){mt.slice().reverse().forEach((function(t){return rr(t.stop)()})),q={},D={}}function bt(){ut(),I(),Sn(),vn(0),G(),yn(),cn()}function kt(t){return et(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,l,d,h,f,p;return nt(this,(function(v){switch(e=s(),n=[e,t],t){case 8:r=gt,n.push(r.width),n.push(r.height),S(t,r.width,r.height),We(n);break;case 43:if((a=de).length>0){for(i=0,o=a;i=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 _t(t,e,n){return"".concat(t,"=").concat(g(e,0===t.indexOf("data-")?"data-":t,n))}function Ot(){gt=null}function xt(){var t,e,n,r,a,i,o,u,c,s,l,d,h,f,p,v;Ot(),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,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,h=e?e.clientHeight:null,f=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,h,f,p),null!==gt&&c===gt.width&&v===gt.height||null===c||null===v||(gt={width:c,height:v},kt(8))}var Tt=[],Et=null;var St=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Et,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Tt,stop:function(){}}),Nt=[],Mt=null,It=null,jt=null;function Ct(){Nt=[],Mt=null,It=null}function At(t,e){return void 0===e&&(e=0),et(this,void 0,void 0,(function(){var n,r,a;return nt(this,(function(i){for(n=0,r=Nt;n0&&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&&c&&(a=Math.round(c.x+c.w/2),i=Math.round(c.y+c.h/2));var l=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((i-c.y)/c.h*32767),0):0;null!==a&&null!==i&&(Pt.push({time:s(n),event:t,data:{target:o,x:a,y:i,eX:l,eY:d,button:n.button,reaction:Yt(o),context:Rt(u),text:zt(o),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),At(Oe.bind(this,t)))}function zt(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Yt(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Dt.indexOf(e)>=0)return 0}return 1}function Rt(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 Lt(){Pt=[]}var Ut=null,Jt=!1;function Vt(){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},Jt?(Y(Ut),Ut=z(Ft,500,11)):(Oe(11),Jt=!0)}function Ft(t){At(Oe.bind(this,t))}function Bt(){qt=null,Y(Ut)}var Gt=[],Zt=null;function Kt(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?ge(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,c=o/3,l=o>u?.15*u:.2*u,d=u-l,h=Qt(c,l),f=Qt(c,d),p={time:s(t),event:10,data:{target:r,x:a,y:i,top:h,bottom:f}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=Gt.length,g=v>1?Gt[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,p)&&Gt.pop(),Gt.push(p),Y(Zt),Zt=z($t,500,10)}}function Qt(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 $t(t){At(Oe.bind(this,t))}var te,ee,ne=[];function re(t){ne.push({time:s(t),event:39,data:{target:ge(t)}}),At(Oe.bind(this,39))}function ae(){ne=[]}function ie(t){te={name:t.type},Oe(26,s(t)),_r()}function oe(){te=null}function ue(t){void 0===t&&(t=null),ee={visible:"visibilityState"in document?document.visibilityState:"default"},Oe(28,s(t))}function ce(){ee=null}function se(t){!function(t){ir(t===document?window:t,"scroll",Kt,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Wt(t),function(t){ir(t,"submit",re,!0)}(t))}var le=Object.freeze({__proto__:null,observe:se,start:function(){xe=[],Ee(),Lt(),Jt=!1,ir(window,"resize",Vt),Vt(),ir(document,"visibilitychange",ue),ue(),Gt=[],Kt(),ae(),ir(window,"pagehide",ie)},stop:function(){xe=[],Ee(),Lt(),Bt(),ce(),Y(Zt),Gt=[],ae(),oe()}}),de=[],he=1,fe=null;function pe(){return!1}function ve(){}function ge(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 me(t){var e={id:0,hash:null,privacy:o.conversions?1:5,node:t};return t&&(e.id=fe.has(t)?fe.get(t):be(t)),e}function we(){fe=new WeakMap}function ye(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r0;){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 c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=fe.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=ye(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}ke(i,u,{tag:r,attributes:n,value:a})}}(document),kt(43)},start:function(){we(),xt(),be(document.documentElement),se(document)},stop:function(){we(),Ot()},target:ge,get values(){return de}});function Oe(t,e){return void 0===e&&(e=null),et(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,l,d,h,f,p,v,w,y,b,k,_,O,x,T,E,N,I,j,C,A,H,q,D,P,W,X,z,Y;return nt(this,(function(R){switch(n=e||s(),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=Tt;a0&&((r=[z.time,z.event]).push(o.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),We(r),S(z.event,z.data.x,z.data.y));break;case 9:for(u=0,c=Pt;u0&&(r.push(P.id),r.push(z.data.action),We(r));break;case 11:p=qt,r.push(p.width),r.push(p.height),S(t,p.width,p.height),Bt(),We(r);break;case 26:v=te,r.push(v.name),oe(),We(r);break;case 27:for(w=0,y=Tt;w0&&((r=[z.time,z.event]).push(E.id),r.push(z.data.x),r.push(z.data.y),r.push(j),r.push(C),We(r),S(z.event,z.data.x,z.data.y,z.time));Gt=[];break;case 42:for(A=0,H=Tt;A0&&((r=[z.time,z.event]).push(P.id),r.push(z.data.type),r.push(g(z.data.value,"change",P.privacy)),r.push(g(z.data.checksum,"checksum",P.privacy)),We(r));break;case 39:for(q=0,D=ne;q0&&(r.push(P.id),We(r));ae();break;case 22:for(W=0,X=Te;W1?t[1]:null,a=JSON.stringify(t);switch(r){case 5:Ae+=a.length;case 37:case 6:case 43:case 45:case 46:He+=a.length,Ne.push(a);break;default:Me.push(a)}P(25);var i=function(){var t=!1===o.lean&&Ae>0?100:Kn.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-De>2*i&&(Y(qe),qe=null),e&&null===qe&&(25!==r&&J(),qe=z(ze,i),De=n,mn(He))}}function Xe(){Y(qe),ze(!0),Ae=0,He=0,De=0,Ne=[],Me=[],Ie={},Ce=null,je=!1}function ze(t){return void 0===t&&(t=!1),et(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return nt(this,(function(l){switch(l.label){case 0:return qe=null,(e=!1===o.lean&&He>0&&(He<1048576||Kn.sequence>0))&&X(1,1),function(){var t=[];Te=[];for(var e=Kn.start+Kn.duration,n=Math.max(e-2e3,0),r=0,a=xe;r=n&&(i.time<=e&&Te.push(i),t.push(i))}xe=t,Oe(22)}(),bt(),n=!0===t,r=JSON.stringify(tr(n)),a="[".concat(Me.join(),"]"),i=e?"[".concat(Ne.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?(s=null,[3,3]):[3,1];case 1:return[4,ht(u)];case 2:s=l.sent(),l.label=3;case 3:return W(2,(c=s)?c.length:u.length),Ye(u,c,Kn.sequence,n),Me=[],e&&(Ne=[],He=0,Ae=0),[2]}}))}))}function Ye(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))&&Le(n)}catch(t){}if(!1===i){n in Ie?Ie[n].attempts++:Ie[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){nr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){rr(Re)(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),Le(n)}}function Re(t,e){var n=Ie[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?wn(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Ye(n.data,null,e)):(Ce={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&vn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n0?a.split(/ (.*)/):[""];switch(i[0]){case"END":wn(6);break;case"UPGRADE":$("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&on(i[1]);break;case"SIGNAL":i.length>1&&vt(i[1])}}}(t.responseText),0===t.status&&(Ye(n.data,null,e,!0),wn(3)),t.status>=200&&t.status<=208&&Le(e),delete Ie[e]))}function Le(t){1===t&&(zn(),Xn())}var Ue,Je={};function Ve(t){var e=t.error||t;return e.message in Je||(Je[e.message]=0),Je[e.message]++>=5||e&&e.message&&(Ue={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Fe(31)),!0}function Fe(t){return et(this,void 0,void 0,(function(){var e;return nt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Ue.message),e.push(Ue.line),e.push(Ue.column),e.push(Ue.stack),e.push(m(Ue.source)),We(e);break;case 33:Be&&(e.push(Be.code),e.push(Be.name),e.push(Be.message),e.push(Be.stack),e.push(Be.severity),We(e,!1))}return[2]}))}))}var Be,Ge={};function Ze(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 Ge&&Ge[t].indexOf(i)>=0||(Be={code:t,name:n,message:r,stack:a,severity:e},t in Ge?Ge[t].push(i):Ge[t]=[i],Fe(33))}var Ke,Qe={},$e=new Set,tn={},en={},nn={},rn={};function an(){sn()}function on(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 tn[r]={},en[r]={},nn[r]={},rn[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);tn[r][u]=hn(l);break;case 2:en[r][u]=c;break;case 4:var d=c.substring(1,c.length);nn[r][u]=d}}}catch(t){Ze(8,1,t?t.name:null)}}function un(t){return JSON.parse(JSON.stringify(t))}function cn(){try{for(var t in tn){var e=parseInt(t);if(""==rn[e]||document.querySelector(rn[e])){var n=tn[e];for(var r in n){var a=parseInt(r),i=(f=fn(un(n[a])))?JSON.stringify(f).substring(0,1e4):f;i&&ln(e,a,i)}var o=en[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)ln(e,c,Array.from(s).map((function(t){return t.textContent})).join("").substring(0,1e4))}var l=nn[e];for(var d in l){var h=parseInt(d);ln(e,h,(void l[h]).trim().substring(0,1e4))}}}$e.size>0&&vn(40)}catch(t){Ze(5,1,t?t.name:null)}var f}function sn(){$e.clear()}function ln(t,e,n){var r,a=!1;t in Qe||(Qe[t]={},a=!0),r=nn[t],0==Object.keys(r).length||e in Qe[t]&&Qe[t][e]==n||(a=!0),Qe[t][e]=n,a&&$e.add(t)}function dn(){sn()}function hn(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.substring(0,a):i>0?r.substring(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.substring(i+1,o):null})}return e}function fn(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&&pn(a,r.condition))n=fn(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o1?t[n[0]]==n[1]:t[n[0]]}return!0}function vn(t){var e=[s(),t];switch(t){case 4:var n=O;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),We(e,!1)),E();break;case 25:e.push(H.gap),We(e);break;case 35:e.push(Ke.check),We(e,!1);break;case 3:e.push(Q.key),We(e);break;case 2:e.push(Ce.sequence),e.push(Ce.attempts),e.push(Ce.status),We(e,!1);break;case 24:C.key&&e.push(C.key),e.push(C.value),We(e);break;case 34:var r=Object.keys(rt);if(r.length>0){for(var a=0,i=r;a0){for(var c=0,l=u;c0){for(var p=0,v=f;p0){for(var w=0,y=m;w=128?1:e,e=Kn.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Ke.check&&wn(e)}}function wn(t){Ke.check=t,5!==t&&(Wn(),_r())}function yn(){0!==Ke.check&&vn(35)}function bn(){Ke=null}var kn=null,_n=null,On=!1;function xn(){kn={},_n={},On=!1}function Tn(){kn={},_n={},On=!1}function En(t,e){if(e&&(e="".concat(e),t in kn||(kn[t]=[]),kn[t].indexOf(e)<0)){if(kn[t].length>128)return void(On||(On=!0,wn(5)));kn[t].push(e),t in _n||(_n[t]=[]),_n[t].push(e)}}function Sn(){vn(1)}function Nn(){_n={},On=!1}function Mn(t){En(36,t.toString())}var In=null,jn=[],Cn=0;function An(){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():"",c=document&&document.title?document.title:"";Cn=r.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Un(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Bn(1);if(e){var n=e.split("|");n.length>=5&&t.ts-Jn(n[1])<18e5&&(t.session=n[0],t.count=Jn(n[2])+1,t.upgrade=Jn(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),d=Vn(),h=o.projectId||function(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i"https://".length?l.upload:o.upload,En(0,r),En(3,c),En(1,m(location.href,!!Cn)),En(2,document.referrer),En(15,function(){var t=Un();if(o.track&&Rn(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),En(16,document.documentElement.lang),En(17,document.dir),En(26,"".concat(window.devicePixelRatio)),En(28,d.dob.toString()),En(29,d.version.toString()),En(33,u),En(34,a),En(35,i),X(0,l.ts),X(1,0),X(35,Cn),navigator&&(En(9,navigator.language),X(33,navigator.hardwareConcurrency),X(32,navigator.maxTouchPoints),X(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;En(22,t.platform),En(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){En(24,t.name+"~"+t.version)})),En(25,t.model),X(27,t.mobile?1:0)})):En(22,navigator.platform)),screen&&(X(14,Math.round(screen.width)),X(15,Math.round(screen.height)),X(16,Math.round(screen.colorDepth)));for(var f=0,p=o.cookies;f0)for(var e=0;e=1||t.consent!==e||t.dob!==r)&&Gn([In.userId,2,n.toString(36),e,r].join("|"),0)}function Un(){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 Jn(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Vn(){var t={id:Un(),version:0,expiry:null,consent:0,dob:0},e=Bn(0);if(e&&e.length>0){var n=e.split("|");n.length>1&&(t.version=Jn(n[1])),n.length>2&&(t.expiry=Jn(n[2],36)),n.length>3&&1===Jn(n[3])&&(t.consent=1),n.length>4&&Jn(n[1])>1&&(t.dob=Jn(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Fn(t){if(Rn(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n1&&r[0]&&r[0].trim()===t)return r[1]}}return null}function Bn(t){return window.insightsuetq&&window.insightsuetq.insightsGetCookie?window.insightsuetq.insightsGetCookie(t):null}function Gn(t,e){window.insightsuetq&&window.insightsuetq.insightsSetCookie&&window.insightsuetq.insightsSetCookie(t,e)}var Zn,Kn=null;function Qn(){var t=In;Kn={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function $n(){Kn=null}function tr(t){return Kn.start=Kn.start+Kn.duration,Kn.duration=s()-Kn.start,Kn.sequence++,Kn.upload=t&&"sendBeacon"in navigator?1:0,Kn.end=t?1:0,[Kn.version,Kn.sequence,Kn.start,Kn.duration,Kn.projectId,Kn.userId,Kn.sessionId,Kn.pageNum,Kn.upload,Kn.end]}function er(){Zn=[]}function nr(t){if(Zn&&-1===Zn.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Kn.version,p:Kn.projectId,u:Kn.userId,s:Kn.sessionId,n:Kn.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)),Zn.push(t.message)}}return t}function rr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw nr(t)}var n=performance.now()-e;W(4,n),n>o.longTask&&(P(7),X(6,n))}}var ar=[];function ir(t,e,n,r){void 0===r&&(r=!1),n=rr(n);try{t[u("addEventListener")](e,n,r),ar.push({event:e,target:t,listener:n,capture:r})}catch(t){}}function or(){for(var t=0,e=ar;t20)||(Ze(4,0),!1)}function hr(){lr=0,sr!==pr()&&(_r(),window.setTimeout(fr,250))}function fr(){kr(),X(29,1)}function pr(){return location.href?location.href.replace(location.hash,""):location.href}var vr=!1;function gr(){vr=!0,c=performance.now()+performance.timeOrigin,Ct(),or(),er(),sr=pr(),lr=0,ir(window,"popstate",hr),null===ur&&(ur=history.pushState,history.pushState=function(){ur.apply(this,arguments),wr()&&dr()&&hr()}),null===cr&&(cr=history.replaceState,history.replaceState=function(){cr.apply(this,arguments),wr()&&dr()&&hr()})}function mr(){sr=null,lr=0,er(),or(),Ct(),c=0,vr=!1}function wr(){return vr}function yr(){kr(),A("webinsights","restart")}var br=[Object.freeze({__proto__:null,start:function(){!function(){X(26,navigator.webdriver?1:0);try{X(31,window.top==window.self||window.top==window?1:2)}catch(t){X(31,0)}}(),ir(window,"error",Ve),Je={},Ge={}},stop:function(){Ge={}}}),_e,le,St];function kr(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===vr&&"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||vr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),gr(),wt(),br.forEach((function(t){return rr(t.start)()})),null===t&&Er())}function _r(){wr()&&(br.slice().reverse().forEach((function(t){return rr(t.stop)()})),yt(),mr(),void 0!==xr&&(xr[Tr]=function(){(xr[Tr].q=xr[Tr].q||[]).push(arguments),"start"===arguments[0]&&xr[Tr].q.unshift(xr[Tr].q.pop())&&Er()}))}var Or=Object.freeze({__proto__:null,consent:Pn,event:A,hashText:ve,identify:it,metadata:qn,pause:function(){wr()&&(A("webinsights","pause"),null===It&&(It=new Promise((function(t){jt=t}))))},resume:function(){wr()&&(It&&(jt(),It=null,null===Mt&&Ht()),A("webinsights","resume"))},set:at,signal:function(t){pt=t},start:kr,stop:_r,upgrade:$,version:l}),xr=window,Tr="webinsights";function Er(){if(void 0!==xr){if(xr[Tr]&&xr[Tr].v)return console.warn("Error WI001: Multiple webinsights tags detected.");var t=xr[Tr]&&xr[Tr].q||[];for(xr[Tr]=function(t){for(var e=[],n=1;n0;)xr[Tr].apply(xr,t.shift())}}Er()}();