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