@gemx-dev/clarity-js 0.8.91 → 0.8.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get flush(){return qn},get inject(){return Un},get queue(){return Ln},get start(){return Rn},get stop(){return Gn},get track(){return Pn}}),e=Object.freeze({__proto__:null,get data(){return Er},get start(){return Nr},get stop(){return Mr},get upgrade(){return Ir}}),n=Object.freeze({__proto__:null,get check(){return Pr},get compute(){return Cr},get data(){return Or},get start(){return jr},get stop(){return zr},get trigger(){return Yr}}),r=Object.freeze({__proto__:null,get compute(){return qr},get data(){return Dr},get log(){return Lr},get reset(){return Ur},get start(){return Wr},get stop(){return Rr},get updates(){return Hr}}),a=Object.freeze({__proto__:null,get compute(){return ta},get config(){return Zr},get consent(){return Kr},get data(){return Gr},get start(){return Jr},get stop(){return Vr},get trackConsentv2(){return $r}}),o=Object.freeze({__proto__:null,get callback(){return ma},get callbacks(){return na},get clear(){return ga},get consent(){return fa},get consentv2(){return pa},get data(){return ea},get electron(){return ra},get id(){return da},get metadata(){return la},get save(){return wa},get shortid(){return ba},get start(){return ua},get stop(){return sa}}),i=Object.freeze({__proto__:null,get data(){return Sa},get envelope(){return Ea},get start(){return Oa},get stop(){return xa}}),u={projectId:null,delay:1e3,lean:!1,lite:!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,modules:[],diagnostics:!1,externalSession:!1,userId:null,sessionId:null,mode:"gemx"};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var f="0.8.91";function p(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(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,o=!1,i=null;x();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(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 S(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 _(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=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+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,v)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(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 x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,N=null,I=!1;function M(){I&&(E={time:d(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime,modules:N.modules}}),N=N||{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,modules:null}}function X(t,e,n,r){switch(t){case 8:N.docWidth=e,N.docHeight=n;break;case 11:N.screenWidth=e,N.screenHeight=n;break;case 10:N.scrollX=e,N.scrollY=n,N.scrollTime=r;break;case 12:N.moveX=e,N.moveY=n,N.moveTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 13:N.downX=e,N.downY=n,N.downTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 14:N.upX=e,N.upY=n,N.upTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r}I=!0}function j(t){N.activityTime=t}function P(t,e){N.visible=e,N.visible||j(t),I=!0}function Y(t){N.modules=Array.from(t),I=!0}function C(){I&&Xr(4)}var z=Object.freeze({__proto__:null,activity:j,compute:C,dynamic:Y,reset:M,start:function(){I=!1,M()},get state(){return E},stop:function(){M()},track:X,visibility:P}),D=null;function H(t,e){Ga()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Xr(24))}var A,W=null,R=null;function L(t){t in W||(W[t]=0),t in R||(R[t]=0),W[t]++,R[t]++}function q(t,e){null!==e&&(t in W||(W[t]=0),t in R||(R[t]=0),W[t]+=e,R[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in W||(W[t]=0),(e>W[t]||0===W[t])&&(R[t]=e,W[t]=e))}function G(t,e,n){return window.setTimeout(Ma(t),e,n)}function F(t){return window.clearTimeout(t)}var J=0,V=0,B=null;function Z(){B&&F(B),B=G(K,V),J=d()}function K(){var t=d();A={gap:t-J},Xr(25),A.gap<3e5?B=G(K,V):La&&(H("clarityGemX","suspend"),Qa(),["mousemove","touchstart"].forEach((function(t){return ja(document,t,Fa)})),["resize","scroll","pageshow"].forEach((function(t){return ja(window,t,Fa)})))}var Q=Object.freeze({__proto__:null,get data(){return A},reset:Z,start:function(){V=6e4,J=0},stop:function(){F(B),J=0,V=0}}),$=null;function tt(){Xr(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}}),rt=function(){return rt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},rt.apply(this,arguments)};function at(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(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(i,u)}c((r=r.apply(t,e||[])).next())}))}function ot(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)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 i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}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 it="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return ot(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),it?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return ot(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(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 ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o;return ot(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){ft(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,o;return ot(this,(function(i){switch(i.label){case 0:return o={},[4,vt(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),ft("userId",[(a=o).userId]),ft("userHint",[a.userHint]),ft("userType",[gt(t)]),e&&(ft("sessionId",[e]),a.sessionId=e),n&&(ft("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function ft(t,e){if(Ga()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function pt(){Xr(34)}function ht(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return ot(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 gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:pt,get data(){return st},identify:dt,reset:ht,set:lt,start:function(){ht()},stop:function(){ht()}});var wt,yt={};function bt(t){var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(wt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_t(31)),!0}function _t(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(e=[d(),t],t){case 31:e.push(wt.message),e.push(wt.line),e.push(wt.column),e.push(wt.stack),e.push(_(wt.source)),Ln(e);break;case 33:kt&&(e.push(kt.code),e.push(kt.name),e.push(kt.message),e.push(kt.stack),e.push(kt.severity),Ln(e,!1))}return[2]}))}))}var kt,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(o)>=0||(kt={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(o):Tt[t]=[o],_t(33))}var Ot={},xt=new Set,Et={},Nt={},It={},Mt={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in Et[r]={},Nt[r]={},It[r]={},Mt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=zt(l);break;case 2:Nt[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function jt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in Et){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Et[e];for(var r in n){var a=parseInt(r),o=(m=Dt(jt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&Ct(e,a,o)}var i=Nt[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");Ct(e,s,(c?p(f).trim():f).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);Ct(e,g,(void h[g]).trim().slice(0,1e4))}}}xt.size>0&&Xr(40)}catch(t){St(5,1,t?t.name:null)}var m}function Yt(){xt.clear()}function Ct(t,e,n){var r,a=!1;t in Ot||(Ot[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in Ot[t]&&Ot[t][e]==n||(a=!0),Ot[t][e]=n,a&&xt.add(t)}function zt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function Dt(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&&Ht(a,r.condition))n=Dt(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Ht(c,r.condition)){var s=Dt(t,c);s&&o.push(s)}}n=o}return n}return null}function Ht(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var At=Object.freeze({__proto__:null,clone:jt,compute:Pt,data:Ot,keys:xt,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Xt,update:Ct});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function Rt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var Lt=null,qt="^";function Ut(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=Rt(o[1]),u=i[0],c=i[1];u;)u=(n=Rt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Gt(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===Lt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Lt=".".concat(c[s]).concat(Lt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(Lt),Ut(t)===e))return;Lt=""}}catch(t){Lt=""}document.cookie=Lt?"".concat(i).concat(";").concat("domain=").concat(Lt):i}}var Ft=Object.freeze({__proto__:null,COOKIE_SEP:qt,getCookie:Ut,setCookie:Gt,start:function(){Lt=null},stop:function(){Lt=null}}),Jt={debug:!1,excludeClassNames:[],ignoreMutationClassNames:[],discoverTrigger:null},Vt=rt({},Jt);function Bt(){return Vt.debug}var Zt=Object.freeze({__proto__:null,get:function(){return Vt},isDebug:Bt,set:function(t){Vt=rt(rt({},Vt),t)},start:function(){var t,e,n,r,a,o,i,u;Vt={debug:new URLSearchParams(window.location.search).has("gemx_debug")||null!==(e=null===(t=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===t?void 0:t.debug)&&void 0!==e&&e,excludeClassNames:null!==(r=null===(n=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===n?void 0:n.excludeClassNames)&&void 0!==r?r:[],ignoreMutationClassNames:null!==(o=null===(a=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===a?void 0:a.ignoreMutationClassNames)&&void 0!==o?o:[],discoverTrigger:null!==(u=null===(i=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===i?void 0:i.discoverTrigger)&&void 0!==u?u:null}},stop:function(){Vt=rt({},Jt)}}),Kt=[],Qt=0,$t=!1,te=0,ee=null;function ne(){return $t}function re(t,e){Kt.push(t),Qt+=e,te>0&&Qt>=te&&ee&&ee()}var ae=null;function oe(t){try{if(!ae)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){ae(t)}))}catch(t){}}var ie=[Zt,Object.freeze({__proto__:null,config:function(t,e){return te=null!=t?t:0,ee=null!=e?e:null,!0},drain:function(){$t=!1;var t=Kt;return Kt=[],Qt=0,t},getBytes:function(){return Qt},hold:re,isActive:ne,start:function(){Kt=[],Qt=0,$t=!0},stop:function(){Kt=[],Qt=0,$t=!1,te=0,ee=null}}),z,r,mt,n,nt,Ft,a,o,i,t,Q,e,At];function ue(){W={},R={},L(5),ie.forEach((function(t){return Ma(t.start)()}))}function ce(){ie.slice().reverse().forEach((function(t){return Ma(t.stop)()})),W={},R={}}function se(){C(),Cr(),ta(),"gemx"!==u.mode&&(pt(),qr(),Xr(0),tt(),Pt())}var le=[],de=null;var fe=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:de,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:le,stop:function(){}}),pe=[],he=null,ve=null,ge=null;function me(){pe=[],he=null,ve=null}function we(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return ot(this,(function(o){for(n=0,r=pe;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){pe[1===e?"unshift":"push"]({task:t,resolve:n,id:da()})})),null===he&&null===ve&&ye(),[2,a]}))}))}function ye(){var t=pe.shift();t&&(he=t,t.task().then((function(){t.id===da()&&(t.resolve(),he=null,ye())})).catch((function(e){t.id===da()&&(e&&St(0,1,e.name,e.message,e.stack),he=null,ye())})))}var be=["input","textarea","radio","button","canvas","select"],_e=/VM\d/,ke=[],Te=null;function Se(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,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=mr(n),c=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}(i),s=Ne(i);0===n.detail&&s&&(a=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));var l=function(t,e,n,r){if(!r)return{eX:0,eY:0};var a=r,o=t,i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0),c=0;for(;(i>32767||u>32767)&&o.parentElement&&c<10;)c++,(a=Ne(o=o.parentElement))&&(i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0));return{eX:i,eY:u}}(i,a,o,s),f=l.eX,p=l.eY;if(null!==a&&null!==o){var h=function(t){var e=null,n=!1;if(t){var r=Oe(t)||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}}(i);ke.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:f,eY:p,button:n.button,reaction:xe(i),context:Ie(c),text:h.text,link:c?c.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:h.isFullText,w:s?s.w:0,h:s?s.h:0,tag:Ee(i,"tagName").substring(0,10),class:Ee(i,"className").substring(0,50),id:Ee(i,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?Me():0}}),n.isTrusted&&Te&&Te(),we(mn.bind(this,t))}}function Oe(t){if(t.nodeType!==Node.ELEMENT_NODE)return t.textContent||"";var e=t,n=e.tagName;if("SCRIPT"===n||"STYLE"===n||"NOSCRIPT"===n)return"";for(var r="",a=0;a<e.childNodes.length;a++)r+=Oe(e.childNodes[a]);return r}function xe(t){var e=Ee(t,"tagName");return be.indexOf(e)>=0?0:1}function Ee(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function Ne(t){var e=null,n=t.ownerDocument||document,r=n.documentElement,a=n.defaultView||window;if("function"==typeof t.getBoundingClientRect){var o=t.getBoundingClientRect();if(o&&o.width>0&&o.height>0){var i="pageXOffset"in a?a.pageXOffset:r.scrollLeft,u="pageYOffset"in a?a.pageYOffset:r.scrollTop;e={x:Math.floor(o.left+i),y:Math.floor(o.top+u),w:Math.floor(o.width),h:Math.floor(o.height)}}}return e}function Ie(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 Me(){Me.dn=1;try{for(var t=(new Error).stack||"",e=location.origin,n=4,r=0,a=t.split("\n");r<a.length;r++){var o=a[r];o.indexOf("://")>=0?n=o.indexOf("extension")<0&&o.indexOf(e)>=0?1:2:(o.indexOf("eval")>=0||o.indexOf("Function")>=0||o.indexOf("<a")>=0||_e.test(o))&&(n=3)}return n}catch(t){return 4}}function Xe(){ke=[]}var je,Pe=Object.freeze({__proto__:null,observe:function(t){ja(t,"click",Se.bind(this,9,t),!0),ja(t,"contextmenu",Se.bind(this,48,t),!0)},onTrustedClick:function(t){Te=t},reset:Xe,start:function(){Xe()},get state(){return ke},stop:function(){Xe()}});function Ye(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var Ce=null,ze=!1,De=Ye(He,500);function He(){var t=document.documentElement;je={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},ze?(F(Ce),Ce=G(Ae,500,11)):(mn(11),ze=!0)}function Ae(t){we(mn.bind(this,t))}function We(){je=null,F(Ce),De.cleanup()}var Re=Object.freeze({__proto__:null,get data(){return je},reset:We,start:function(){ze=!1,ja(window,"resize",De),He()},stop:function(){We()}}),Le=[],qe=null;var Ue=null,Ge=null,Fe=null;function Je(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?mr(t):n;if(r){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),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,f=Be(c,s),p=Be(c,l),h=t&&t.isTrusted?1:0;t&&t.isTrusted&&qe&&qe();var v={time:d(t),event:10,data:{target:r,x:a,y:o,top:f,bottom:p,trust:h}};if(null===t&&0===a&&0===o||null===a||null===o)return Ue=f,void(Ge=p);var g=Le.length,m=g>1?Le[g-2]:null;m&&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<50}(m,v)&&Le.pop(),Le.push(v),F(Fe),Fe=G(Ke,500,10)}}var Ve=Ye(Je,25);function Be(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 Ze(){Le=[],Ue=null,Ge=null}function Ke(t){we(mn.bind(this,t))}var Qe=Object.freeze({__proto__:null,compute:function(){var t,e;if(Ue){var n=wr(Ue);Lr(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(Ge){var r=wr(Ge);Lr(32,null===(e=null==r?void 0:r.hash)||void 0===e?void 0:e.join("."))}},observe:function(t){ja(t===document?window:t,"scroll",Ve,!0)},onTrustedScroll:function(t){qe=t},reset:Ze,start:function(){Le=[],Je()},get state(){return Le},stop:function(){F(Fe),Ve.cleanup(),Le=[],Ue=null,Ge=null}}),$e=[];function tn(t){$e.push({time:d(t),event:39,data:{target:mr(t)}}),we(mn.bind(this,39))}function en(){$e=[]}var nn,rn=Object.freeze({__proto__:null,observe:function(t){ja(t,"submit",tn,!0)},reset:en,start:function(){en()},get state(){return $e},stop:function(){en()}});function an(){qn("gemx-unload")}function on(t){nn={name:t.type,persisted:t.persisted?1:0},mn(26,d(t)),Qa()}function un(){nn=null}var cn,sn=Object.freeze({__proto__:null,get data(){return nn},reset:un,start:function(){ja(window,"pagehide",on),ja(window,"beforeunload",an)},stop:function(){un()}});function ln(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;cn={visible:e},mn(28,d(t))}}function dn(){cn=null}var fn,pn=Object.freeze({__proto__:null,get data(){return cn},reset:dn,start:function(){ja(document,"visibilitychange",ln),ln()},stop:function(){dn()}});function hn(){fn=null}function vn(t){fn={focused:t},mn(50)}var gn=Object.freeze({__proto__:null,get data(){return fn},reset:hn,start:function(){ja(window,"focus",(function(){return vn(1)})),ja(window,"blur",(function(){return vn(0)}))},stop:function(){hn()}});function mn(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,f,p,h,v,g,m,w,y,k,T,S,O,x,E,N,I,M,j,Y,C,z,D,H,A,W,R,L,q;return ot(this,(function(U){switch(n=e||d(),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,o=le;a<o.length;a++)R=o[a],(i=wr(R.data.target,R.event)).id>0&&((r=[R.time,R.event]).push(i.id),r.push(R.data.x),r.push(R.data.y),void 0!==R.data.id&&(r.push(R.data.id),void 0!==R.data.isPrimary&&r.push(R.data.isPrimary.toString())),Ln(r),(void 0===R.data.isPrimary||R.data.isPrimary)&&X(R.event,R.data.x,R.data.y,R.time));break;case 9:case 48:for(u=0,c=ke;u<c.length;u++)R=c[u],s=wr(R.data.target,R.event,R.data.text),r=[R.time,R.event],l=s.hash?s.hash.join("."):"",R.data.target,f=null,console.log("[GemX - Interaction - Encode]",f),r.push(s.id),r.push(R.data.x),r.push(R.data.y),r.push(R.data.eX),r.push(R.data.eY),r.push(R.data.button),r.push(R.data.reaction),r.push(R.data.context),r.push(b(R.data.text,"click",s.privacy)),r.push(_(R.data.link)),r.push(l),r.push(R.data.trust),r.push(R.data.isFullText),r.push(R.data.w),r.push(R.data.h),r.push(R.data.tag),r.push(R.data.class),r.push(R.data.id),r.push(R.data.source),Ln(r),_n(R.time,R.event,l,R.data.x,R.data.y,R.data.reaction,R.data.context);Xe();break;case 38:for(p=0,h=le;p<h.length;p++)R=h[p],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&(r.push(H.id),r.push(R.data.action),Ln(r));break;case 11:v=je,r.push(v.width),r.push(v.height),X(t,v.width,v.height),We(),Ln(r);break;case 26:g=nn,r.push(g.name),r.push(g.persisted),un(),Ln(r);break;case 27:for(m=0,w=le;m<w.length;m++)R=w[m],y=wr(R.data.target,R.event,R.data.value),(r=[R.time,R.event]).push(y.id),r.push(b(R.data.value,"input",y.privacy,!1,R.data.type)),r.push(R.data.trust),Ln(r);break;case 21:(k=de)&&(T=wr(k.start),S=wr(k.end),r.push(T.id),r.push(k.startOffset),r.push(S.id),r.push(k.endOffset),Ln(r));break;case 10:for(O=0,x=Le;O<x.length;O++)R=x[O],E=wr(R.data.target,R.event),N=wr(R.data.top,R.event),I=wr(R.data.bottom,R.event),M=(null==N?void 0:N.hash)?N.hash.join("."):"",j=(null==I?void 0:I.hash)?I.hash.join("."):"",E.id>0&&((r=[R.time,R.event]).push(E.id),r.push(R.data.x),r.push(R.data.y),r.push(M),r.push(j),r.push(R.data.trust),Ln(r),X(R.event,R.data.x,R.data.y,R.time));Ze();break;case 42:for(Y=0,C=le;Y<C.length;Y++)R=C[Y],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&((r=[R.time,R.event]).push(H.id),r.push(R.data.type),r.push(b(R.data.value,"change",H.privacy)),r.push(b(R.data.checksum,"checksum",H.privacy)),Ln(r));break;case 39:for(z=0,D=$e;z<D.length;z++)R=D[z],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&(r.push(H.id),Ln(r));en();break;case 22:for(A=0,W=yn;A<W.length;A++)R=W[A],(r=[R.time,R.event]).push(R.data.type),r.push(R.data.hash),r.push(R.data.x),r.push(R.data.y),r.push(R.data.reaction),r.push(R.data.context),Ln(r,!1);bn();break;case 28:L=cn,r.push(L.visible),Ln(r),P(n,L.visible),dn();break;case 50:q=fn,r.push(q.focused),Ln(r,!1),hn()}return[2]}))}))}var wn=[],yn=[];function bn(){yn=[]}function _n(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),wn.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}function kn(){if(Sa){var t=[];yn=[];for(var e=(Sa.start||0)+(Sa.duration||0),n=Math.max(e-2e3,0),r=0,a=wn;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&yn.push(o),t.push(o))}wn=t,mn(22)}}var Tn=Object.freeze({__proto__:null,compute:kn,reset:bn,start:function(){wn=[],bn()},stop:function(){wn=[],bn()},track:_n,get updates(){return yn}}),Sn=[],On=!1,xn=null;function En(t){On&&"function"==typeof t&&Sn.push(t)}function Nn(t){if(On){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&xn.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(xn.add(e),Y(xn))},n.onerror=function(){Ia(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var In,Mn,Xn,jn,Pn,Yn,Cn=Object.freeze({__proto__:null,event:Nn,register:En,start:function(){On=!0,xn=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Nn(t)}))},stop:function(){Sn.reverse().forEach((function(t){try{t()}catch(t){}})),Sn=[],On=!1}}),zn=0,Dn=0,Hn=null,An=0,Wn=!1;function Rn(){jn=!0,zn=0,Dn=0,Wn=!1,An=0,In=[],Mn=[],Xn={},Pn=null}function Ln(t,e){if(void 0===e&&(e=!0),jn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!Wn&&Dn+a.length>10485760&&(St(10,0),Wn=!0):Wn=!1,r){case 5:if(Wn)break;if(ne()){re(t,a.length);break}zn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(Wn)break;ne()&&re(t,a.length),Dn+=a.length,In.push(a);break;default:Mn.push(a)}L(25);var o=function(){var t=!1===u.lean&&zn>0?100:Sa.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-An>2*o&&(F(Hn),Hn=null),e&&null===Hn&&(25!==r&&Z(),Hn=G(Fn,o),An=n,Pr(Dn))}}function qn(t){jn&&(F(Hn),Hn=null,Fn(!1,t))}function Un(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=JSON.stringify(r);zn+=a.length,Dn+=a.length,In.push(a)}}function Gn(){F(Hn),Fn(!0),zn=0,Dn=0,Wn=!1,An=0,In=[],Mn=[],Xn={},Pn=null,jn=!1}function Fn(t,e){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var n,r,a,o,i,c,s,l,d,f,p,h,v,g,m,w,y;return ot(this,(function(b){switch(b.label){case 0:if(!jn)return[2];if(Hn=null,(n=("gemx-snapshot"===e||!1===u.lean)&&Dn>0&&(Dn<1048576||Sa.sequence>0))&&U(1,1),kn(),se(),r=!0===t,!Sa)return[2];if(a=Bt(),!e&&a){for(o=[[9,"click"],[10,"scroll"]],i=new Set(Mn.map((function(t){return JSON.parse(t)[1]}))),c=[],s=0,l=o;s<l.length;s++)f=(d=l[s])[0],p=d[1],i.has(f)&&c.push(p);e=c.length>0?c.join("-"):void 0}return h=JSON.stringify(Ea(r)),v="[".concat(Mn.join(),"]"),g=n?"[".concat(In.join(),"]"):"",r&&g.length>0&&h.length+v.length+g.length>65536&&(g=""),m=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:h,a:v,p:g}),r?(y=null,[3,3]):[3,1];case 1:return[4,ut(m)];case 2:y=b.sent(),b.label=3;case 3:return q(2,(w=y)?w.length:m.length),Jn(m,w,Sa.sequence,r,e),Mn=[],n&&(In=[],Dn=0,zn=0,Wn=!1),[2]}}))}))}function Jn(t,e,n,r,a){if(void 0===r&&(r=!1),"string"==typeof u.upload){var o=u.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(o,t))&&Bn(n)}catch(t){}if(!1===i){n in Xn?Xn[n].attempts++:Xn[n]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){Ia(new Error("".concat("Timeout"," : ").concat(o)))},null!==n&&(c.onreadystatechange=function(){Ma(Vn)(c,n)}),c.withCredentials=!0,e?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(e)):c.send(t)}}else if(u.upload){(0,u.upload)(t,a),Bn(n)}}function Vn(t,e){var n=Xn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Yr(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),Pn={sequence:e,attempts:n.attempts,status:t.status},Xr(2),Jn(n.data,null,e)):(Pn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Xr(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],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":Yr(6);break;case"UPGRADE":Ir("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Xt(o[1]);break;case"SIGNAL":o.length>1&&oe(o[1]);break;case"MODULE":o.length>1&&Nn(o[1]);break;case"SNAPSHOT":u.lean=!1,yr()}}}(t.responseText),0===t.status&&(Jn(n.data,null,e,!0),Yr(3)),t.status>=200&&t.status<=208&&Bn(e),delete Xn[e]))}function Bn(t){1===t&&(wa(),ma())}function Zn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,f,p,h;return ot(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=Yn,n.push(r.width),n.push(r.height),X(t,r.width,r.height),Ln(n);break;case 43:if((a=lr).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,f=["tag","attributes","value"];l<f.length;l++)if(s[p=f[l]])switch(p){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[p]);break;case"attributes":for(h in s[p])void 0!==s[p][h]&&n.push(Kn(h,s[p][h],c,s.tag));break;case"value":n.push(b(s[p],s.tag,c))}Ln(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function Kn(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function Qn(){Yn=null}function $n(){var t,e,n,r,a,o,i,u,c,s,l,d,f,p,h,v;Qn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,p=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,f,p,h),null!==Yn&&c===Yn.width&&v===Yn.height||null===c||null===v||(Yn={width:c,height:v},Zn(8))}var tr=!1;function er(t){t&&t.persisted&&(Ka(),St(11,0))}var nr=Object.freeze({__proto__:null,start:function(){if(!tr)try{window[c("addEventListener")]("pageshow",Ma(er),{capture:!1,passive:!0}),tr=!0}catch(t){}},stop:function(){}}),rr=[Tn,Pe,Re,pn,Qe,nr,sn],ar=[Tn,Pe,fe,fe,fe,Re,pn,gn,nr,Qe,fe,fe,rn,sn],or={allRoots:[Qe],documentOnly:[Pe]},ir={allRoots:[Qe],documentOnly:[Pe,fe,fe,fe,fe,fe,rn]},ur=ar;function cr(t){var e="gemx"===(null==u?void 0:u.mode)?or:ir;e.allRoots.forEach((function(e){return e.observe(t)})),t.nodeType===Node.DOCUMENT_NODE&&e.documentOnly.forEach((function(e){return e.observe(t)}))}var sr=Object.freeze({__proto__:null,observe:cr,start:function(){(ur="gemx"===(null==u?void 0:u.mode)?rr:ar).forEach((function(t){return t.start()}))},stop:function(){ur.forEach((function(t){return t.stop()}))}}),lr=[],dr=1,fr=null;function pr(){br(),$n(),kr(document.documentElement),cr(document)}function hr(){return!1}function vr(){return{x:0,y:0}}function gr(){}function mr(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 wr(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=fr.has(t)?fr.get(t):kr(t)),e}function yr(){lr=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=fr.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=_r(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Tr(o,u,{tag:r,attributes:n,value:a})}}(document),Zn(43)}function br(){fr=new WeakMap}function _r(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 kr(t){return null===t?null:fr.has(t)?fr.get(t):(fr.set(t,dr),dr++)}function Tr(t,e,n){if(t&&n&&n.tag){var r=kr(t),a=e?fr.get(e):null,o=t.previousSibling?fr.get(t.previousSibling):null;lr.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}function Sr(t){return null}var Or,xr=Object.freeze({__proto__:null,compute:function(){},get:Sr,hashText:gr,iframe:hr,metadata:wr,offset:vr,snapshot:yr,start:pr,stop:function(){br(),Qn()},target:mr,get values(){return lr}}),Er=null;function Nr(){!u.lean&&u.upgrade&&u.upgrade("Config"),Er=null}function Ir(t){Ga()&&u.lean&&(u.lean=!1,Er={key:t},ma(),wa(),u.upgrade&&u.upgrade(t),Xr(3),u.lite&&pr())}function Mr(){Er=null}function Xr(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((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),e.push(n.data.modules),Ln(e,!1)),M();break;case 25:e.push(A.gap),Ln(e);break;case 35:e.push(Or.check),Ln(e,!1);break;case 3:e.push(Er.key),Ln(e);break;case 2:e.push(Pn.sequence),e.push(Pn.attempts),e.push(Pn.status),Ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),Ln(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(st[i])}ht(),Ln(e,!1)}break;case 0:var u=Object.keys(R);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],f=parseInt(l,10);e.push(f),e.push(Math.round(R[l]))}R={},Ln(e,!1)}break;case 1:var p=Object.keys(Hr);if(p.length>0){for(var h=0,v=p;h<v.length;h++){var g=v[h];f=parseInt(g,10);e.push(f),e.push(Hr[g])}Ur(),Ln(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];f=parseInt(b,10);e.push(f),e.push([].concat.apply([],$[b]))}et(),Ln(e,!1)}break;case 40:xt.forEach((function(t){e.push(t);var n=[];for(var r in Ot[t]){var a=parseInt(r,10);n.push(a),n.push(Ot[t][r])}e.push(n)})),Yt(),Ln(e,!1);break;case 47:e.push(Gr.source),e.push(Gr.ad_Storage),e.push(Gr.analytics_Storage),Ln(e,!1)}}function jr(){Or={check:0}}function Pr(t){if(0===Or.check){var e=Or.check;e=Sa.sequence>=128?1:e,e=Sa.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Or.check&&Yr(e)}}function Yr(t){Or.check=t,5!==t&&(ga(),Qa())}function Cr(){0!==Or.check&&Xr(35)}function zr(){Or=null}var Dr=null,Hr=null,Ar=!1;function Wr(){Dr={},Hr={},Ar=!1}function Rr(){Dr={},Hr={},Ar=!1}function Lr(t,e){if(e&&(e="".concat(e),t in Dr||(Dr[t]=[]),Dr[t].indexOf(e)<0)){if(Dr[t].length>128)return void(Ar||(Ar=!0,Yr(5)));Dr[t].push(e),t in Hr||(Hr[t]=[]),Hr[t].push(e)}}function qr(){Xr(1)}function Ur(){Hr={},Ar=!1}var Gr=null,Fr=!0;function Jr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;Fr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],Br)}function Vr(){Fr=!0}function Br(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState)try{var n=e.getConsentState("analytics_storage");pa(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}catch(t){return}}function Zr(t){Qr(t.analytics_Storage?1:0),Gr=t}function Kr(){Qr(2)}function Qr(t){Lr(36,t.toString())}function $r(t){Gr=t,Xr(47)}function ta(){var t;if(Fr&&(Xr(47),Fr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&Br()}}var ea=null,na=[],ra=0,aa=null,oa=!1,ia={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function ua(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";ra=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:ba(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Ut("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-_a(n[1])<18e5&&(t.session=n[0],t.count=_a(n[2])+1,t.upgrade=_a(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=ka(),d=u.projectId||p(location.host),f=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;ea={projectId:d,userId:f,sessionId:h,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,Lr(0,r),Lr(3,c),Lr(1,_(location.href,!!ra)),Lr(2,document.referrer),Lr(15,function(){var t=ba();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Lr(16,document.documentElement.lang),Lr(17,document.dir),Lr(26,"".concat(window.devicePixelRatio)),Lr(28,l.dob.toString()),Lr(29,l.version.toString()),Lr(33,i),Lr(34,a),Lr(35,o),U(0,s.ts),U(1,0),U(35,ra);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(Lr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(v=navigator.userAgentData)&&v.getHighEntropyValues?v.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Lr(22,t.platform),Lr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Lr(24,t.name+"~"+t.version)})),Lr(25,t.model),U(27,t.mobile?1:0)})):Lr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===aa&&(aa={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),ca(),Zr(ha(aa)),u.externalSession||ya(l)}function ca(){if(!oa&&"granted"===(null==aa?void 0:aa.analytics_Storage)&&"granted"===(null==aa?void 0:aa.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Ut(n);r&&lt(n,r)}oa=!0}}function sa(){ea=null,oa=!1,na.forEach((function(t){t.called=!1}))}function la(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;ea&&(a||!1===e)&&(t(ea,!u.lean,r?aa:void 0),o=!0),!n&&o||na.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function da(){return ea?[ea.userId,ea.sessionId,ea.pageNum].join("."):""}function fa(t){void 0===t&&(t=!0),pa(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function pa(t,e){var n;if(void 0===t&&(t=ia),void 0===e&&(e=5),Ga()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:va(t.ad_Storage,null==aa?void 0:aa.ad_Storage),analytics_Storage:va(t.analytics_Storage,null==aa?void 0:aa.analytics_Storage)};if(aa&&r.ad_Storage===aa.ad_Storage&&r.analytics_Storage===aa.analytics_Storage)return aa.source=r.source,$r(ha(aa)),void Kr();aa=r,ma(!0);var a=ha(aa);if(!a.analytics_Storage&&u.track)return u.track=!1,ga(!0),Qa(),void window.setTimeout(Ka,250);Ga()&&a.analytics_Storage&&(u.track=!0,ya(ka(),1),wa()),ca(),$r(a),Kr()}}function ha(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function va(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function ga(t){void 0===t&&(t=!1),Gt("_clsk","",0),t&&Gt("_clck","",0)}function ma(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(na.length>0)for(var n=0;n<na.length;n++){var r=na[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(ea,!u.lean,r.consentInfo?aa:void 0),r.called=!0,r.recall||(na.splice(n,1),n--))}}(u.lean?0:1,t)}function wa(){if(ea&&u.track&&!u.externalSession){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Gt("_clsk",[ea.sessionId,t,ea.pageNum,n,e].join(qt),1)}}function ya(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===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Gt("_clck",[ea.userId,2,n.toString(36),e,r].join(qt),365)}function ba(){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 _a(t,e){return void 0===e&&(e=10),parseInt(t,e)}function ka(){var t={id:ba(),version:0,expiry:null,consent:0,dob:0},e=Ut("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=_a(n[1])),n.length>2&&(t.expiry=_a(n[2],36)),n.length>3&&1===_a(n[3])&&(t.consent=1),n.length>4&&_a(n[1])>1&&(t.dob=_a(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Ta,Sa=null;function Oa(){var t=ea;Sa={version:f,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 xa(){Sa=null}function Ea(t){return Sa.start=Sa.start+Sa.duration,Sa.duration=d()-Sa.start,Sa.sequence++,Sa.upload=t&&"sendBeacon"in navigator?1:0,Sa.end=t?1:0,Sa.applicationPlatform=0,Sa.url=_(location.href,!1,!0),[Sa.version,Sa.sequence,Sa.start,Sa.duration,Sa.projectId,Sa.userId,Sa.sessionId,Sa.pageNum,Sa.upload,Sa.end,Sa.applicationPlatform,Sa.url]}function Na(){Ta=[]}function Ia(t){if(Ta&&-1===Ta.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Sa){var n={v:Sa.version,p:Sa.projectId,u:Sa.userId,s:Sa.sessionId,n:Sa.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)),Ta.push(t.message)}}return t}function Ma(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Ia(t)}var n=performance.now()-e;q(4,n),n>30&&(L(7),U(6,n),t.dn&&St(9,0,"".concat(t.dn,"-").concat(n)))}}var Xa=new Map;function ja(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Ma(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Xa.has(t)}(t)||Xa.set(t,[]),Xa.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Pa(){Xa.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Xa.delete(e)}(t,e)})),Xa=new Map}var Ya=null,Ca=null,za=null,Da=0;function Ha(){return!(Da++>20)||(St(4,0),!1)}function Aa(){Da=0,za!==Ra()&&(Qa(),window.setTimeout(Wa,250))}function Wa(){Ka(),U(29,1)}function Ra(){return location.href?location.href.replace(location.hash,""):location.href}var La=!1;function qa(){La=!0,s=l(),me(),Pa(),Na(),function(){if(za=Ra(),Da=0,ja(window,"popstate",Aa),null===Ya)try{Ya=history.pushState,history.pushState=function(){Ya.apply(this,arguments),Ga()&&Ha()&&Aa()}}catch(t){Ya=null}if(null===Ca)try{Ca=history.replaceState,history.replaceState=function(){Ca.apply(this,arguments),Ga()&&Ha()&&Aa()}}catch(t){Ca=null}}()}function Ua(){za=null,Da=0,Na(),Pa(),me(),s=0,La=!1}function Ga(){return La}function Fa(){Ka(),H("clarityGemX","restart")}var Ja=Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),ja(window,"error",bt),yt={},Tt={}},stop:function(){Tt={}}}),Va=[Ja,xr,sr],Ba=[Ja,xr,sr,fe,Cn],Za=Ba;function Ka(t){void 0===t&&(t=null),Za="gemx"===(null==t?void 0:t.mode)?Va:Ba,function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===La&&"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||La)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),qa(),ue(),Za.forEach((function(t){return Ma(t.start)()})),null===t&&no())}function Qa(){Ga()&&(Za.slice().reverse().forEach((function(t){return Ma(t.stop)()})),ce(),Ua(),void 0!==to&&(to[eo]=function(){(to[eo].q=to[eo].q||[]).push(arguments),"start"===arguments[0]&&to[eo].q.unshift(to[eo].q.pop())&&no()}))}var $a=Object.freeze({__proto__:null,consent:fa,consentv2:pa,dlog:Lr,event:H,hashText:gr,identify:dt,maxMetric:U,measure:Ma,metadata:la,pause:function(){Ga()&&(H("clarityGemX","pause"),null===ve&&(ve=new Promise((function(t){ge=t}))))},queue:Ln,register:En,resume:function(){Ga()&&(ve&&(ge(),ve=null,null===he&&ye()),H("clarityGemX","resume"))},schedule:we,set:lt,signal:function(t){ae=t},start:Ka,stop:Qa,time:d,upgrade:Ir,version:f}),to=window,eo="clarityGemX";function no(){if(void 0!==to){if(to[eo]&&to[eo].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=to[eo]&&to[eo].q||[];for(to[eo]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return $a[t].apply($a,e)},to[eo].v=f;t.length>0;)to[eo].apply(to,t.shift())}}no()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get flush(){return qn},get inject(){return Un},get queue(){return Ln},get start(){return Rn},get stop(){return Gn},get track(){return Pn}}),e=Object.freeze({__proto__:null,get data(){return Er},get start(){return Nr},get stop(){return Mr},get upgrade(){return Ir}}),n=Object.freeze({__proto__:null,get check(){return Pr},get compute(){return Cr},get data(){return Or},get start(){return jr},get stop(){return zr},get trigger(){return Yr}}),r=Object.freeze({__proto__:null,get compute(){return qr},get data(){return Dr},get log(){return Lr},get reset(){return Ur},get start(){return Wr},get stop(){return Rr},get updates(){return Hr}}),a=Object.freeze({__proto__:null,get compute(){return ta},get config(){return Zr},get consent(){return Kr},get data(){return Gr},get start(){return Jr},get stop(){return Vr},get trackConsentv2(){return $r}}),o=Object.freeze({__proto__:null,get callback(){return ma},get callbacks(){return na},get clear(){return ga},get consent(){return fa},get consentv2(){return pa},get data(){return ea},get electron(){return ra},get id(){return da},get metadata(){return la},get save(){return wa},get shortid(){return ba},get start(){return ua},get stop(){return sa}}),i=Object.freeze({__proto__:null,get data(){return Sa},get envelope(){return Ea},get start(){return Oa},get stop(){return xa}}),u={projectId:null,delay:1e3,lean:!1,lite:!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,modules:[],diagnostics:!1,externalSession:!1,userId:null,sessionId:null,mode:"gemx"};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var f="0.8.92";function p(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(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,o=!1,i=null;x();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(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 S(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 _(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=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+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,v)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(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 x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,N=null,I=!1;function M(){I&&(E={time:d(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime,modules:N.modules}}),N=N||{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,modules:null}}function X(t,e,n,r){switch(t){case 8:N.docWidth=e,N.docHeight=n;break;case 11:N.screenWidth=e,N.screenHeight=n;break;case 10:N.scrollX=e,N.scrollY=n,N.scrollTime=r;break;case 12:N.moveX=e,N.moveY=n,N.moveTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 13:N.downX=e,N.downY=n,N.downTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;case 14:N.upX=e,N.upY=n,N.upTime=r,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=e,N.pointerY=n,N.pointerTime=r}I=!0}function j(t){N.activityTime=t}function P(t,e){N.visible=e,N.visible||j(t),I=!0}function Y(t){N.modules=Array.from(t),I=!0}function C(){I&&Xr(4)}var z=Object.freeze({__proto__:null,activity:j,compute:C,dynamic:Y,reset:M,start:function(){I=!1,M()},get state(){return E},stop:function(){M()},track:X,visibility:P}),D=null;function H(t,e){Ga()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Xr(24))}var A,W=null,R=null;function L(t){t in W||(W[t]=0),t in R||(R[t]=0),W[t]++,R[t]++}function q(t,e){null!==e&&(t in W||(W[t]=0),t in R||(R[t]=0),W[t]+=e,R[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in W||(W[t]=0),(e>W[t]||0===W[t])&&(R[t]=e,W[t]=e))}function G(t,e,n){return window.setTimeout(Ma(t),e,n)}function F(t){return window.clearTimeout(t)}var J=0,V=0,B=null;function Z(){B&&F(B),B=G(K,V),J=d()}function K(){var t=d();A={gap:t-J},Xr(25),A.gap<3e5?B=G(K,V):La&&(H("clarityGemX","suspend"),Qa(),["mousemove","touchstart"].forEach((function(t){return ja(document,t,Fa)})),["resize","scroll","pageshow"].forEach((function(t){return ja(window,t,Fa)})))}var Q=Object.freeze({__proto__:null,get data(){return A},reset:Z,start:function(){V=6e4,J=0},stop:function(){F(B),J=0,V=0}}),$=null;function tt(){Xr(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}}),rt=function(){return rt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},rt.apply(this,arguments)};function at(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(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(i,u)}c((r=r.apply(t,e||[])).next())}))}function ot(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)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 i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}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 it="CompressionStream"in window;function ut(t){return at(this,void 0,void 0,(function(){var e,n;return ot(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),it?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return ot(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ct(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 ct(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o;return ot(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var st=null;function lt(t,e){ft(t,"string"==typeof e?[e]:e)}function dt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),at(this,void 0,void 0,(function(){var a,o;return ot(this,(function(i){switch(i.label){case 0:return o={},[4,vt(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),ft("userId",[(a=o).userId]),ft("userHint",[a.userHint]),ft("userType",[gt(t)]),e&&(ft("sessionId",[e]),a.sessionId=e),n&&(ft("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function ft(t,e){if(Ga()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in st?st[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);st[t]=n}}function pt(){Xr(34)}function ht(){st={}}function vt(t){return at(this,void 0,void 0,(function(){var e;return ot(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 gt(t){return t&&t.indexOf("@")>0?"email":"string"}var mt=Object.freeze({__proto__:null,compute:pt,get data(){return st},identify:dt,reset:ht,set:lt,start:function(){ht()},stop:function(){ht()}});var wt,yt={};function bt(t){var e=t.error||t;return e.message in yt||(yt[e.message]=0),yt[e.message]++>=5||e&&e.message&&(wt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_t(31)),!0}function _t(t){return at(this,void 0,void 0,(function(){var e;return ot(this,(function(n){switch(e=[d(),t],t){case 31:e.push(wt.message),e.push(wt.line),e.push(wt.column),e.push(wt.stack),e.push(_(wt.source)),Ln(e);break;case 33:kt&&(e.push(kt.code),e.push(kt.name),e.push(kt.message),e.push(kt.stack),e.push(kt.severity),Ln(e,!1))}return[2]}))}))}var kt,Tt={};function St(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in Tt&&Tt[t].indexOf(o)>=0||(kt={code:t,name:n,message:r,stack:a,severity:e},t in Tt?Tt[t].push(o):Tt[t]=[o],_t(33))}var Ot={},xt=new Set,Et={},Nt={},It={},Mt={};function Xt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in Et[r]={},Nt[r]={},It[r]={},Mt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Et[r][u]=zt(l);break;case 2:Nt[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){St(8,1,t?t.name:null)}}function jt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in Et){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Et[e];for(var r in n){var a=parseInt(r),o=(m=Dt(jt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&Ct(e,a,o)}var i=Nt[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");Ct(e,s,(c?p(f).trim():f).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);Ct(e,g,(void h[g]).trim().slice(0,1e4))}}}xt.size>0&&Xr(40)}catch(t){St(5,1,t?t.name:null)}var m}function Yt(){xt.clear()}function Ct(t,e,n){var r,a=!1;t in Ot||(Ot[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in Ot[t]&&Ot[t][e]==n||(a=!0),Ot[t][e]=n,a&&xt.add(t)}function zt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function Dt(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&&Ht(a,r.condition))n=Dt(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Ht(c,r.condition)){var s=Dt(t,c);s&&o.push(s)}}n=o}return n}return null}function Ht(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var At=Object.freeze({__proto__:null,clone:jt,compute:Pt,data:Ot,keys:xt,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Xt,update:Ct});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function Rt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var Lt=null,qt="^";function Ut(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=Rt(o[1]),u=i[0],c=i[1];u;)u=(n=Rt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Gt(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===Lt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Lt=".".concat(c[s]).concat(Lt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(Lt),Ut(t)===e))return;Lt=""}}catch(t){Lt=""}document.cookie=Lt?"".concat(i).concat(";").concat("domain=").concat(Lt):i}}var Ft=Object.freeze({__proto__:null,COOKIE_SEP:qt,getCookie:Ut,setCookie:Gt,start:function(){Lt=null},stop:function(){Lt=null}}),Jt={debug:!1,excludeClassNames:[],ignoreMutationClassNames:[],discoverTrigger:null},Vt=rt({},Jt);function Bt(){return Vt.debug}var Zt=Object.freeze({__proto__:null,get:function(){return Vt},isDebug:Bt,set:function(t){Vt=rt(rt({},Vt),t)},start:function(){var t,e,n,r,a,o,i,u;Vt={debug:new URLSearchParams(window.location.search).has("gemx_debug")||null!==(e=null===(t=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===t?void 0:t.debug)&&void 0!==e&&e,excludeClassNames:null!==(r=null===(n=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===n?void 0:n.excludeClassNames)&&void 0!==r?r:[],ignoreMutationClassNames:null!==(o=null===(a=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===a?void 0:a.ignoreMutationClassNames)&&void 0!==o?o:[],discoverTrigger:null!==(u=null===(i=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===i?void 0:i.discoverTrigger)&&void 0!==u?u:null}},stop:function(){Vt=rt({},Jt)}}),Kt=[],Qt=0,$t=!1,te=0,ee=null;function ne(){return $t}function re(t,e){Kt.push(t),Qt+=e,te>0&&Qt>=te&&ee&&ee()}var ae=null;function oe(t){try{if(!ae)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){ae(t)}))}catch(t){}}var ie=[Zt,Object.freeze({__proto__:null,config:function(t,e){return te=null!=t?t:0,ee=null!=e?e:null,!0},drain:function(){$t=!1;var t=Kt;return Kt=[],Qt=0,t},getBytes:function(){return Qt},hold:re,isActive:ne,start:function(){Kt=[],Qt=0,$t=!0},stop:function(){Kt=[],Qt=0,$t=!1,te=0,ee=null}}),z,r,mt,n,nt,Ft,a,o,i,t,Q,e,At];function ue(){W={},R={},L(5),ie.forEach((function(t){return Ma(t.start)()}))}function ce(){ie.slice().reverse().forEach((function(t){return Ma(t.stop)()})),W={},R={}}function se(){C(),Cr(),ta(),"gemx"!==u.mode&&(pt(),qr(),Xr(0),tt(),Pt())}var le=[],de=null;var fe=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:de,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:le,stop:function(){}}),pe=[],he=null,ve=null,ge=null;function me(){pe=[],he=null,ve=null}function we(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,r,a;return ot(this,(function(o){for(n=0,r=pe;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){pe[1===e?"unshift":"push"]({task:t,resolve:n,id:da()})})),null===he&&null===ve&&ye(),[2,a]}))}))}function ye(){var t=pe.shift();t&&(he=t,t.task().then((function(){t.id===da()&&(t.resolve(),he=null,ye())})).catch((function(e){t.id===da()&&(e&&St(0,1,e.name,e.message,e.stack),he=null,ye())})))}var be=["input","textarea","radio","button","canvas","select"],_e=/VM\d/,ke=[],Te=null;function Se(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,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=mr(n),c=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}(i),s=Ne(i);0===n.detail&&s&&(a=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));var l=function(t,e,n,r){if(!r)return{eX:0,eY:0};var a=r,o=t,i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0),c=0;for(;(i>32767||u>32767)&&o.parentElement&&c<10;)c++,(a=Ne(o=o.parentElement))&&(i=Math.max(Math.floor((e-a.x)/a.w*32767),0),u=Math.max(Math.floor((n-a.y)/a.h*32767),0));return{eX:i,eY:u}}(i,a,o,s),f=l.eX,p=l.eY;if(null!==a&&null!==o){var h=function(t){var e=null,n=!1;if(t){var r=Oe(t)||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}}(i);ke.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:f,eY:p,button:n.button,reaction:xe(i),context:Ie(c),text:h.text,link:c?c.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:h.isFullText,w:s?s.w:0,h:s?s.h:0,tag:Ee(i,"tagName").substring(0,10),class:Ee(i,"className").substring(0,50),id:Ee(i,"id").substring(0,25),source:u.diagnostics&&!n.isTrusted?Me():0}}),n.isTrusted&&Te&&Te(),we(mn.bind(this,t))}}function Oe(t){if(t.nodeType!==Node.ELEMENT_NODE)return t.textContent||"";var e=t,n=e.tagName;if("SCRIPT"===n||"STYLE"===n||"NOSCRIPT"===n)return"";for(var r="",a=0;a<e.childNodes.length;a++)r+=Oe(e.childNodes[a]);return r}function xe(t){var e=Ee(t,"tagName");return be.indexOf(e)>=0?0:1}function Ee(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function Ne(t){var e=null,n=t.ownerDocument||document,r=n.documentElement,a=n.defaultView||window;if("function"==typeof t.getBoundingClientRect){var o=t.getBoundingClientRect();if(o&&o.width>0&&o.height>0){var i="pageXOffset"in a?a.pageXOffset:r.scrollLeft,u="pageYOffset"in a?a.pageYOffset:r.scrollTop;e={x:Math.floor(o.left+i),y:Math.floor(o.top+u),w:Math.floor(o.width),h:Math.floor(o.height)}}}return e}function Ie(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 Me(){Me.dn=1;try{for(var t=(new Error).stack||"",e=location.origin,n=4,r=0,a=t.split("\n");r<a.length;r++){var o=a[r];o.indexOf("://")>=0?n=o.indexOf("extension")<0&&o.indexOf(e)>=0?1:2:(o.indexOf("eval")>=0||o.indexOf("Function")>=0||o.indexOf("<a")>=0||_e.test(o))&&(n=3)}return n}catch(t){return 4}}function Xe(){ke=[]}var je,Pe=Object.freeze({__proto__:null,observe:function(t){ja(t,"click",Se.bind(this,9,t),!0),ja(t,"contextmenu",Se.bind(this,48,t),!0)},onTrustedClick:function(t){Te=t},reset:Xe,start:function(){Xe()},get state(){return ke},stop:function(){Xe()}});function Ye(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var Ce=null,ze=!1,De=Ye(He,500);function He(){var t=document.documentElement;je={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},ze?(F(Ce),Ce=G(Ae,500,11)):(mn(11),ze=!0)}function Ae(t){we(mn.bind(this,t))}function We(){je=null,F(Ce),De.cleanup()}var Re=Object.freeze({__proto__:null,get data(){return je},reset:We,start:function(){ze=!1,ja(window,"resize",De),He()},stop:function(){We()}}),Le=[],qe=null;var Ue=null,Ge=null,Fe=null;function Je(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?mr(t):n;if(r){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),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,f=Be(c,s),p=Be(c,l),h=t&&t.isTrusted?1:0;t&&t.isTrusted&&qe&&qe();var v={time:d(t),event:10,data:{target:r,x:a,y:o,top:f,bottom:p,trust:h}};if(null===t&&0===a&&0===o||null===a||null===o)return Ue=f,void(Ge=p);var g=Le.length,m=g>1?Le[g-2]:null;m&&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<50}(m,v)&&Le.pop(),Le.push(v),F(Fe),Fe=G(Ke,500,10)}}var Ve=Ye(Je,25);function Be(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 Ze(){Le=[],Ue=null,Ge=null}function Ke(t){we(mn.bind(this,t))}var Qe=Object.freeze({__proto__:null,compute:function(){var t,e;if(Ue){var n=wr(Ue);Lr(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(Ge){var r=wr(Ge);Lr(32,null===(e=null==r?void 0:r.hash)||void 0===e?void 0:e.join("."))}},observe:function(t){ja(t===document?window:t,"scroll",Ve,!0)},onTrustedScroll:function(t){qe=t},reset:Ze,start:function(){Le=[],Je()},get state(){return Le},stop:function(){F(Fe),Ve.cleanup(),Le=[],Ue=null,Ge=null}}),$e=[];function tn(t){$e.push({time:d(t),event:39,data:{target:mr(t)}}),we(mn.bind(this,39))}function en(){$e=[]}var nn,rn=Object.freeze({__proto__:null,observe:function(t){ja(t,"submit",tn,!0)},reset:en,start:function(){en()},get state(){return $e},stop:function(){en()}});function an(){qn("gemx-unload")}function on(t){nn={name:t.type,persisted:t.persisted?1:0},mn(26,d(t)),Qa()}function un(){nn=null}var cn,sn=Object.freeze({__proto__:null,get data(){return nn},reset:un,start:function(){ja(window,"pagehide",on),ja(window,"beforeunload",an)},stop:function(){un()}});function ln(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;cn={visible:e},mn(28,d(t))}}function dn(){cn=null}var fn,pn=Object.freeze({__proto__:null,get data(){return cn},reset:dn,start:function(){ja(document,"visibilitychange",ln),ln()},stop:function(){dn()}});function hn(){fn=null}function vn(t){fn={focused:t},mn(50)}var gn=Object.freeze({__proto__:null,get data(){return fn},reset:hn,start:function(){ja(window,"focus",(function(){return vn(1)})),ja(window,"blur",(function(){return vn(0)}))},stop:function(){hn()}});function mn(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,f,p,h,v,g,m,w,y,k,T,S,O,x,E,N,I,M,j,Y,C,z,D,H,A,W,R,L,q;return ot(this,(function(U){switch(n=e||d(),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,o=le;a<o.length;a++)R=o[a],(i=wr(R.data.target,R.event)).id>0&&((r=[R.time,R.event]).push(i.id),r.push(R.data.x),r.push(R.data.y),void 0!==R.data.id&&(r.push(R.data.id),void 0!==R.data.isPrimary&&r.push(R.data.isPrimary.toString())),Ln(r),(void 0===R.data.isPrimary||R.data.isPrimary)&&X(R.event,R.data.x,R.data.y,R.time));break;case 9:case 48:for(u=0,c=ke;u<c.length;u++)R=c[u],s=wr(R.data.target,R.event,R.data.text),r=[R.time,R.event],l=s.hash?s.hash.join("."):"",R.data.target,f=null,console.log("[GemX - Interaction - Encode]",f),r.push(s.id),r.push(R.data.x),r.push(R.data.y),r.push(R.data.eX),r.push(R.data.eY),r.push(R.data.button),r.push(R.data.reaction),r.push(R.data.context),r.push(b(R.data.text,"click",s.privacy)),r.push(_(R.data.link)),r.push(l),r.push(R.data.trust),r.push(R.data.isFullText),r.push(R.data.w),r.push(R.data.h),r.push(R.data.tag),r.push(R.data.class),r.push(R.data.id),r.push(R.data.source),Ln(r),_n(R.time,R.event,l,R.data.x,R.data.y,R.data.reaction,R.data.context);Xe();break;case 38:for(p=0,h=le;p<h.length;p++)R=h[p],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&(r.push(H.id),r.push(R.data.action),Ln(r));break;case 11:v=je,r.push(v.width),r.push(v.height),X(t,v.width,v.height),We(),Ln(r);break;case 26:g=nn,r.push(g.name),r.push(g.persisted),un(),Ln(r);break;case 27:for(m=0,w=le;m<w.length;m++)R=w[m],y=wr(R.data.target,R.event,R.data.value),(r=[R.time,R.event]).push(y.id),r.push(b(R.data.value,"input",y.privacy,!1,R.data.type)),r.push(R.data.trust),Ln(r);break;case 21:(k=de)&&(T=wr(k.start),S=wr(k.end),r.push(T.id),r.push(k.startOffset),r.push(S.id),r.push(k.endOffset),Ln(r));break;case 10:for(O=0,x=Le;O<x.length;O++)R=x[O],E=wr(R.data.target,R.event),N=wr(R.data.top,R.event),I=wr(R.data.bottom,R.event),M=(null==N?void 0:N.hash)?N.hash.join("."):"",j=(null==I?void 0:I.hash)?I.hash.join("."):"",E.id>0&&((r=[R.time,R.event]).push(E.id),r.push(R.data.x),r.push(R.data.y),r.push(M),r.push(j),r.push(R.data.trust),Ln(r),X(R.event,R.data.x,R.data.y,R.time));Ze();break;case 42:for(Y=0,C=le;Y<C.length;Y++)R=C[Y],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&((r=[R.time,R.event]).push(H.id),r.push(R.data.type),r.push(b(R.data.value,"change",H.privacy)),r.push(b(R.data.checksum,"checksum",H.privacy)),Ln(r));break;case 39:for(z=0,D=$e;z<D.length;z++)R=D[z],r=[R.time,R.event],(H=wr(R.data.target,R.event)).id>0&&(r.push(H.id),Ln(r));en();break;case 22:for(A=0,W=yn;A<W.length;A++)R=W[A],(r=[R.time,R.event]).push(R.data.type),r.push(R.data.hash),r.push(R.data.x),r.push(R.data.y),r.push(R.data.reaction),r.push(R.data.context),Ln(r,!1);bn();break;case 28:L=cn,r.push(L.visible),Ln(r),P(n,L.visible),dn();break;case 50:q=fn,r.push(q.focused),Ln(r,!1),hn()}return[2]}))}))}var wn=[],yn=[];function bn(){yn=[]}function _n(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),wn.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}function kn(){if(Sa){var t=[];yn=[];for(var e=(Sa.start||0)+(Sa.duration||0),n=Math.max(e-2e3,0),r=0,a=wn;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&yn.push(o),t.push(o))}wn=t,mn(22)}}var Tn=Object.freeze({__proto__:null,compute:kn,reset:bn,start:function(){wn=[],bn()},stop:function(){wn=[],bn()},track:_n,get updates(){return yn}}),Sn=[],On=!1,xn=null;function En(t){On&&"function"==typeof t&&Sn.push(t)}function Nn(t){if(On){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&xn.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(xn.add(e),Y(xn))},n.onerror=function(){Ia(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var In,Mn,Xn,jn,Pn,Yn,Cn=Object.freeze({__proto__:null,event:Nn,register:En,start:function(){On=!0,xn=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Nn(t)}))},stop:function(){Sn.reverse().forEach((function(t){try{t()}catch(t){}})),Sn=[],On=!1}}),zn=0,Dn=0,Hn=null,An=0,Wn=!1;function Rn(){jn=!0,zn=0,Dn=0,Wn=!1,An=0,In=[],Mn=[],Xn={},Pn=null}function Ln(t,e){if(void 0===e&&(e=!0),jn){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!Wn&&Dn+a.length>10485760&&(St(10,0),Wn=!0):Wn=!1,r){case 5:if(Wn)break;if(ne()){re(t,a.length);break}zn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(Wn)break;ne()&&re(t,a.length),Dn+=a.length,In.push(a);break;default:Mn.push(a)}L(25);var o=function(){var t=!1===u.lean&&zn>0?100:Sa.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-An>2*o&&(F(Hn),Hn=null),e&&null===Hn&&(25!==r&&Z(),Hn=G(Fn,o),An=n,Pr(Dn))}}function qn(t){jn&&(F(Hn),Hn=null,Fn(!1,t))}function Un(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=JSON.stringify(r);zn+=a.length,Dn+=a.length,In.push(a)}}function Gn(){F(Hn),Fn(!0),zn=0,Dn=0,Wn=!1,An=0,In=[],Mn=[],Xn={},Pn=null,jn=!1}function Fn(t,e){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var n,r,a,o,i,c,s,l,d,f,p,h,v,g,m,w,y;return ot(this,(function(b){switch(b.label){case 0:if(!jn)return[2];if(Hn=null,(n=("gemx-snapshot"===e||!1===u.lean)&&Dn>0&&(Dn<1048576||Sa.sequence>0))&&U(1,1),kn(),se(),r=!0===t,!Sa)return[2];if(a=Bt(),!e&&a){for(o=[[9,"click"],[10,"scroll"]],i=new Set(Mn.map((function(t){return JSON.parse(t)[1]}))),c=[],s=0,l=o;s<l.length;s++)f=(d=l[s])[0],p=d[1],i.has(f)&&c.push(p);e=c.length>0?c.join("-"):void 0}return h=JSON.stringify(Ea(r)),v="[".concat(Mn.join(),"]"),g=n?"[".concat(In.join(),"]"):"",r&&g.length>0&&h.length+v.length+g.length>65536&&(g=""),m=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:h,a:v,p:g}),r?(y=null,[3,3]):[3,1];case 1:return[4,ut(m)];case 2:y=b.sent(),b.label=3;case 3:return q(2,(w=y)?w.length:m.length),Jn(m,w,Sa.sequence,r,e),Mn=[],n&&(In=[],Dn=0,zn=0,Wn=!1),[2]}}))}))}function Jn(t,e,n,r,a){if(void 0===r&&(r=!1),"string"==typeof u.upload){var o=u.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(o,t))&&Bn(n)}catch(t){}if(!1===i){n in Xn?Xn[n].attempts++:Xn[n]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){Ia(new Error("".concat("Timeout"," : ").concat(o)))},null!==n&&(c.onreadystatechange=function(){Ma(Vn)(c,n)}),c.withCredentials=!0,e?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(e)):c.send(t)}}else if(u.upload){(0,u.upload)(t,a),Bn(n)}}function Vn(t,e){var n=Xn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Yr(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),Pn={sequence:e,attempts:n.attempts,status:t.status},Xr(2),Jn(n.data,null,e)):(Pn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Xr(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],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":Yr(6);break;case"UPGRADE":Ir("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Xt(o[1]);break;case"SIGNAL":o.length>1&&oe(o[1]);break;case"MODULE":o.length>1&&Nn(o[1]);break;case"SNAPSHOT":u.lean=!1,yr()}}}(t.responseText),0===t.status&&(Jn(n.data,null,e,!0),Yr(3)),t.status>=200&&t.status<=208&&Bn(e),delete Xn[e]))}function Bn(t){1===t&&(wa(),ma())}function Zn(t){return at(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,f,p,h;return ot(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=Yn,n.push(r.width),n.push(r.height),X(t,r.width,r.height),Ln(n);break;case 43:if((a=lr).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,f=["tag","attributes","value"];l<f.length;l++)if(s[p=f[l]])switch(p){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[p]);break;case"attributes":for(h in s[p])void 0!==s[p][h]&&n.push(Kn(h,s[p][h],c,s.tag));break;case"value":n.push(b(s[p],s.tag,c))}Ln(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function Kn(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function Qn(){Yn=null}function $n(){var t,e,n,r,a,o,i,u,c,s,l,d,f,p,h,v;Qn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,p=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,f,p,h),null!==Yn&&c===Yn.width&&v===Yn.height||null===c||null===v||(Yn={width:c,height:v},Zn(8))}var tr=!1;function er(t){t&&t.persisted&&(Ka(),St(11,0))}var nr=Object.freeze({__proto__:null,start:function(){if(!tr)try{window[c("addEventListener")]("pageshow",Ma(er),{capture:!1,passive:!0}),tr=!0}catch(t){}},stop:function(){}}),rr=[Tn,Pe,Re,pn,Qe,nr,sn],ar=[Tn,Pe,fe,fe,fe,Re,pn,gn,nr,Qe,fe,fe,rn,sn],or={allRoots:[Qe],documentOnly:[Pe]},ir={allRoots:[Qe],documentOnly:[Pe,fe,fe,fe,fe,fe,rn]},ur=ar;function cr(t){var e="gemx"===(null==u?void 0:u.mode)?or:ir;e.allRoots.forEach((function(e){return e.observe(t)})),t.nodeType===Node.DOCUMENT_NODE&&e.documentOnly.forEach((function(e){return e.observe(t)}))}var sr=Object.freeze({__proto__:null,observe:cr,start:function(){(ur="gemx"===(null==u?void 0:u.mode)?rr:ar).forEach((function(t){return t.start()}))},stop:function(){ur.forEach((function(t){return t.stop()}))}}),lr=[],dr=1,fr=null;function pr(){br(),$n(),kr(document.documentElement),cr(document)}function hr(){return!1}function vr(){return{x:0,y:0}}function gr(){}function mr(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 wr(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=fr.has(t)?fr.get(t):kr(t)),e}function yr(){lr=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=fr.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=_r(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Tr(o,u,{tag:r,attributes:n,value:a})}}(document),Zn(43)}function br(){fr=new WeakMap}function _r(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 kr(t){return null===t?null:fr.has(t)?fr.get(t):(fr.set(t,dr),dr++)}function Tr(t,e,n){if(t&&n&&n.tag){var r=kr(t),a=e?fr.get(e):null,o=t.previousSibling?fr.get(t.previousSibling):null;lr.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}function Sr(t){return null}var Or,xr=Object.freeze({__proto__:null,compute:function(){},get:Sr,hashText:gr,iframe:hr,metadata:wr,offset:vr,snapshot:yr,start:pr,stop:function(){br(),Qn()},target:mr,get values(){return lr}}),Er=null;function Nr(){!u.lean&&u.upgrade&&u.upgrade("Config"),Er=null}function Ir(t){Ga()&&u.lean&&(u.lean=!1,Er={key:t},ma(),wa(),u.upgrade&&u.upgrade(t),Xr(3),u.lite&&pr())}function Mr(){Er=null}function Xr(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((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),e.push(n.data.modules),Ln(e,!1)),M();break;case 25:e.push(A.gap),Ln(e);break;case 35:e.push(Or.check),Ln(e,!1);break;case 3:e.push(Er.key),Ln(e);break;case 2:e.push(Pn.sequence),e.push(Pn.attempts),e.push(Pn.status),Ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),Ln(e);break;case 34:var r=Object.keys(st);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(st[i])}ht(),Ln(e,!1)}break;case 0:var u=Object.keys(R);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],f=parseInt(l,10);e.push(f),e.push(Math.round(R[l]))}R={},Ln(e,!1)}break;case 1:var p=Object.keys(Hr);if(p.length>0){for(var h=0,v=p;h<v.length;h++){var g=v[h];f=parseInt(g,10);e.push(f),e.push(Hr[g])}Ur(),Ln(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];f=parseInt(b,10);e.push(f),e.push([].concat.apply([],$[b]))}et(),Ln(e,!1)}break;case 40:xt.forEach((function(t){e.push(t);var n=[];for(var r in Ot[t]){var a=parseInt(r,10);n.push(a),n.push(Ot[t][r])}e.push(n)})),Yt(),Ln(e,!1);break;case 47:e.push(Gr.source),e.push(Gr.ad_Storage),e.push(Gr.analytics_Storage),Ln(e,!1)}}function jr(){Or={check:0}}function Pr(t){if(0===Or.check){var e=Or.check;e=Sa.sequence>=128?1:e,e=Sa.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Or.check&&Yr(e)}}function Yr(t){Or.check=t,5!==t&&(ga(),Qa())}function Cr(){0!==Or.check&&Xr(35)}function zr(){Or=null}var Dr=null,Hr=null,Ar=!1;function Wr(){Dr={},Hr={},Ar=!1}function Rr(){Dr={},Hr={},Ar=!1}function Lr(t,e){if(e&&(e="".concat(e),t in Dr||(Dr[t]=[]),Dr[t].indexOf(e)<0)){if(Dr[t].length>128)return void(Ar||(Ar=!0,Yr(5)));Dr[t].push(e),t in Hr||(Hr[t]=[]),Hr[t].push(e)}}function qr(){Xr(1)}function Ur(){Hr={},Ar=!1}var Gr=null,Fr=!0;function Jr(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;Fr=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],Br)}function Vr(){Fr=!0}function Br(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState)try{var n=e.getConsentState("analytics_storage");pa(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}catch(t){return}}function Zr(t){Qr(t.analytics_Storage?1:0),Gr=t}function Kr(){Qr(2)}function Qr(t){Lr(36,t.toString())}function $r(t){Gr=t,Xr(47)}function ta(){var t;if(Fr&&(Xr(47),Fr=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&Br()}}var ea=null,na=[],ra=0,aa=null,oa=!1,ia={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function ua(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(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:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";ra=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:ba(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Ut("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-_a(n[1])<18e5&&(t.session=n[0],t.count=_a(n[2])+1,t.upgrade=_a(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=ka(),d=u.projectId||p(location.host),f=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;ea={projectId:d,userId:f,sessionId:h,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,Lr(0,r),Lr(3,c),Lr(1,_(location.href,!!ra)),Lr(2,document.referrer),Lr(15,function(){var t=ba();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Lr(16,document.documentElement.lang),Lr(17,document.dir),Lr(26,"".concat(window.devicePixelRatio)),Lr(28,l.dob.toString()),Lr(29,l.version.toString()),Lr(33,i),Lr(34,a),Lr(35,o),U(0,s.ts),U(1,0),U(35,ra);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(Lr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(v=navigator.userAgentData)&&v.getHighEntropyValues?v.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Lr(22,t.platform),Lr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Lr(24,t.name+"~"+t.version)})),Lr(25,t.model),U(27,t.mobile?1:0)})):Lr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth))),null===aa&&(aa={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),ca(),Zr(ha(aa)),u.externalSession||ya(l)}function ca(){if(!oa&&"granted"===(null==aa?void 0:aa.analytics_Storage)&&"granted"===(null==aa?void 0:aa.ad_Storage)){for(var t=0,e=u.cookies;t<e.length;t++){var n=e[t],r=Ut(n);r&&lt(n,r)}oa=!0}}function sa(){ea=null,oa=!1,na.forEach((function(t){t.called=!1}))}function la(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;ea&&(a||!1===e)&&(t(ea,!u.lean,r?aa:void 0),o=!0),!n&&o||na.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function da(){return ea?[ea.userId,ea.sessionId,ea.pageNum].join("."):""}function fa(t){void 0===t&&(t=!0),pa(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function pa(t,e){var n;if(void 0===t&&(t=ia),void 0===e&&(e=5),Ga()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:va(t.ad_Storage,null==aa?void 0:aa.ad_Storage),analytics_Storage:va(t.analytics_Storage,null==aa?void 0:aa.analytics_Storage)};if(aa&&r.ad_Storage===aa.ad_Storage&&r.analytics_Storage===aa.analytics_Storage)return aa.source=r.source,$r(ha(aa)),void Kr();aa=r,ma(!0);var a=ha(aa);if(!a.analytics_Storage&&u.track)return u.track=!1,ga(!0),Qa(),void window.setTimeout(Ka,250);Ga()&&a.analytics_Storage&&(u.track=!0,ya(ka(),1),wa()),ca(),$r(a),Kr()}}function ha(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function va(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function ga(t){void 0===t&&(t=!1),Gt("_clsk","",0),t&&Gt("_clck","",0)}function ma(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(na.length>0)for(var n=0;n<na.length;n++){var r=na[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(ea,!u.lean,r.consentInfo?aa:void 0),r.called=!0,r.recall||(na.splice(n,1),n--))}}(u.lean?0:1,t)}function wa(){if(ea&&u.track&&!u.externalSession){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Gt("_clsk",[ea.sessionId,t,ea.pageNum,n,e].join(qt),1)}}function ya(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===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Gt("_clck",[ea.userId,2,n.toString(36),e,r].join(qt),365)}function ba(){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 _a(t,e){return void 0===e&&(e=10),parseInt(t,e)}function ka(){var t={id:ba(),version:0,expiry:null,consent:0,dob:0},e=Ut("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=_a(n[1])),n.length>2&&(t.expiry=_a(n[2],36)),n.length>3&&1===_a(n[3])&&(t.consent=1),n.length>4&&_a(n[1])>1&&(t.dob=_a(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Ta,Sa=null;function Oa(){var t=ea;Sa={version:f,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 xa(){Sa=null}function Ea(t){return Sa.start=Sa.start+Sa.duration,Sa.duration=d()-Sa.start,Sa.sequence++,Sa.upload=t&&"sendBeacon"in navigator?1:0,Sa.end=t?1:0,Sa.applicationPlatform=0,Sa.url=_(location.href,!1,!0),[Sa.version,Sa.sequence,Sa.start,Sa.duration,Sa.projectId,Sa.userId,Sa.sessionId,Sa.pageNum,Sa.upload,Sa.end,Sa.applicationPlatform,Sa.url]}function Na(){Ta=[]}function Ia(t){if(Ta&&-1===Ta.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&Sa){var n={v:Sa.version,p:Sa.projectId,u:Sa.userId,s:Sa.sessionId,n:Sa.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)),Ta.push(t.message)}}return t}function Ma(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Ia(t)}var n=performance.now()-e;q(4,n),n>30&&(L(7),U(6,n),t.dn&&St(9,0,"".concat(t.dn,"-").concat(n)))}}var Xa=new Map;function ja(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Ma(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Xa.has(t)}(t)||Xa.set(t,[]),Xa.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Pa(){Xa.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Xa.delete(e)}(t,e)})),Xa=new Map}var Ya=null,Ca=null,za=null,Da=0;function Ha(){return!(Da++>20)||(St(4,0),!1)}function Aa(){Da=0,za!==Ra()&&(Qa(),window.setTimeout(Wa,250))}function Wa(){Ka(),U(29,1)}function Ra(){return location.href?location.href.replace(location.hash,""):location.href}var La=!1;function qa(){La=!0,s=l(),me(),Pa(),Na(),function(){if(za=Ra(),Da=0,ja(window,"popstate",Aa),null===Ya)try{Ya=history.pushState,history.pushState=function(){Ya.apply(this,arguments),Ga()&&Ha()&&Aa()}}catch(t){Ya=null}if(null===Ca)try{Ca=history.replaceState,history.replaceState=function(){Ca.apply(this,arguments),Ga()&&Ha()&&Aa()}}catch(t){Ca=null}}()}function Ua(){za=null,Da=0,Na(),Pa(),me(),s=0,La=!1}function Ga(){return La}function Fa(){Ka(),H("clarityGemX","restart")}var Ja=Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),ja(window,"error",bt),yt={},Tt={}},stop:function(){Tt={}}}),Va=[Ja,xr,sr],Ba=[Ja,xr,sr,fe,Cn],Za=Ba;function Ka(t){void 0===t&&(t=null),Za="gemx"===(null==t?void 0:t.mode)?Va:Ba,function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===La&&"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||La)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),qa(),ue(),Za.forEach((function(t){return Ma(t.start)()})),null===t&&no())}function Qa(){Ga()&&(Za.slice().reverse().forEach((function(t){return Ma(t.stop)()})),ce(),Ua(),void 0!==to&&(to[eo]=function(){(to[eo].q=to[eo].q||[]).push(arguments),"start"===arguments[0]&&to[eo].q.unshift(to[eo].q.pop())&&no()}))}var $a=Object.freeze({__proto__:null,consent:fa,consentv2:pa,dlog:Lr,event:H,hashText:gr,identify:dt,maxMetric:U,measure:Ma,metadata:la,pause:function(){Ga()&&(H("clarityGemX","pause"),null===ve&&(ve=new Promise((function(t){ge=t}))))},queue:Ln,register:En,resume:function(){Ga()&&(ve&&(ge(),ve=null,null===he&&ye()),H("clarityGemX","resume"))},schedule:we,set:lt,signal:function(t){ae=t},start:Ka,stop:Qa,time:d,upgrade:Ir,version:f}),to=window,eo="clarityGemX";function no(){if(void 0!==to){if(to[eo]&&to[eo].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=to[eo]&&to[eo].q||[];for(to[eo]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return $a[t].apply($a,e)},to[eo].v=f;t.length>0;)to[eo].apply(to,t.shift())}}no()}();
package/build/clarity.js CHANGED
@@ -224,7 +224,7 @@ function stop$O() {
224
224
  startTime = 0;
225
225
  }
226
226
 
227
- var version$1 = "0.8.91";
227
+ var version$1 = "0.8.92";
228
228
 
229
229
  // tslint:disable: no-bitwise
230
230
  function hash (input, precision) {