@gem-sdk/clarity-js 0.8.94 → 1.0.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @gem-sdk/clarity-js
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6cf40bf: Release version 22/07/2026
8
+
3
9
  ## 0.8.94
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/clarity-js",
3
- "version": "0.8.94",
3
+ "version": "1.0.0",
4
4
  "description": "Clarity js",
5
5
  "author": "Microsoft Corp.",
6
6
  "license": "MIT",
package/src/clarity.ts CHANGED
@@ -12,7 +12,18 @@ import * as layout from "@src/layout";
12
12
  import * as performance from "@src/performance";
13
13
  import * as dynamic from "@src/core/dynamic";
14
14
  export { version };
15
- export { consent, consentv2, event, identify, set, upgrade, metadata, signal, maxMetric, dlog } from "@src/data";
15
+ export {
16
+ consent,
17
+ consentv2,
18
+ event,
19
+ identify,
20
+ set,
21
+ upgrade,
22
+ metadata,
23
+ signal,
24
+ maxMetric,
25
+ dlog,
26
+ } from "@src/data";
16
27
  export { queue } from "@src/data/upload";
17
28
  export { register } from "@src/core/dynamic";
18
29
  export { schedule } from "@src/core/task";
@@ -27,17 +38,18 @@ let modules: Module[] = ALL;
27
38
 
28
39
  export function start(config: Config = null): void {
29
40
  modules = config?.mode === "gemx" ? GEMX : ALL;
30
- console.log("[clarity] version:", version);
31
41
  // Check that browser supports required APIs and we do not attempt to start Clarity multiple times
32
42
  if (core.check()) {
33
43
  core.config(config);
34
44
  core.start();
35
45
  data.start();
36
- modules.forEach(x => measure(x.start)());
46
+ modules.forEach((x) => measure(x.start)());
37
47
 
38
48
  // If it's an internal call to start, without explicit configuration,
39
49
  // re-process any newly accumulated items in the queue
40
- if (config === null) { queue.process(); }
50
+ if (config === null) {
51
+ queue.process();
52
+ }
41
53
  }
42
54
  }
43
55
 
@@ -64,9 +76,12 @@ export function resume(): void {
64
76
  export function stop(): void {
65
77
  if (core.active()) {
66
78
  // Stop modules in the reverse order of their initialization and start queuing up items again
67
- modules.slice().reverse().forEach(x => measure(x.stop)());
79
+ modules
80
+ .slice()
81
+ .reverse()
82
+ .forEach((x) => measure(x.stop)());
68
83
  data.stop();
69
84
  core.stop();
70
85
  queue.setup();
71
86
  }
72
- }
87
+ }
@@ -1 +0,0 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get add(){return Ka},get get(){return ui},get getHashes(){return si},get getId(){return Ja},get getNode(){return ii},get getValue(){return oi},get has(){return li},get hashText(){return ai},get iframe(){return $a},get iframeContent(){return ti},get lookup(){return ci},get parse(){return Ba},get removeIFrame(){return ei},get sameorigin(){return Qa},get start(){return Ga},get stop(){return Fa},get update(){return Za},get updates(){return di}}),e=Object.freeze({__proto__:null,get compute(){return Xi},get reset(){return Pi},get start(){return ji},get stop(){return Yi},get track(){return Ri},get updates(){return Di}}),n=Object.freeze({__proto__:null,get flush(){return so},get inject(){return lo},get queue(){return co},get start(){return uo},get stop(){return fo},get track(){return to}}),r=Object.freeze({__proto__:null,get data(){return qo},get start(){return Uo},get stop(){return Fo},get upgrade(){return Go}}),a=Object.freeze({__proto__:null,get check(){return Jo},get compute(){return Zo},get data(){return Wo},get start(){return Bo},get stop(){return Qo},get trigger(){return Ko}}),i=Object.freeze({__proto__:null,get compute(){return iu},get data(){return $o},get log(){return au},get reset(){return ou},get start(){return nu},get stop(){return ru},get updates(){return tu}}),o=Object.freeze({__proto__:null,get compute(){return gu},get config(){return fu},get consent(){return pu},get data(){return uu},get start(){return su},get stop(){return lu},get trackConsentv2(){return vu}}),u=Object.freeze({__proto__:null,get callback(){return ju},get callbacks(){return yu},get clear(){return Du},get consent(){return Nu},get consentv2(){return xu},get data(){return mu},get electron(){return bu},get id(){return Mu},get metadata(){return Tu},get save(){return Pu},get shortid(){return Xu},get start(){return ku},get stop(){return Eu}}),c=Object.freeze({__proto__:null,get data(){return Lu},get envelope(){return qu},get start(){return Hu},get stop(){return Wu}}),s={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 l(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var d=0;function f(){return performance.now()+performance.timeOrigin}function p(t){void 0===t&&(t=null);var e=0===d?f():d,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 h="0.8.94";function v(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var g=/\S/gi,m=255,y=!0,b=null,w=null,S=null;function _(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,i=!1,o=null;N();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=y&&null!==S?s.match(S)?s:T(s,"▪","▫"):E(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return M(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?O(t):E(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 M(t);case"placeholder":return E(t)}break;case 4:switch(e){case"*T":case"data-":return r?O(t):E(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function k(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=s.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),o=i[0],u=i[1];r=o+"?"+u.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,m)),r}function O(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function E(t){return t.replace(g,"•")}function T(t,e,n){return N(),t?t.replace(w,e).replace(b,n):t}function M(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 N(){if(y&&null===b)try{b=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),S=new RegExp("\\p{Sc}","gu")}catch(t){y=!1}}var x=null,I=null,C=!1;function D(){C&&(x={time:p(),event:4,data:{visible:I.visible,docWidth:I.docWidth,docHeight:I.docHeight,screenWidth:I.screenWidth,screenHeight:I.screenHeight,scrollX:I.scrollX,scrollY:I.scrollY,pointerX:I.pointerX,pointerY:I.pointerY,activityTime:I.activityTime,scrollTime:I.scrollTime,pointerTime:I.pointerTime,moveX:I.moveX,moveY:I.moveY,moveTime:I.moveTime,downX:I.downX,downY:I.downY,downTime:I.downTime,upX:I.upX,upY:I.upY,upTime:I.upTime,pointerPrevX:I.pointerPrevX,pointerPrevY:I.pointerPrevY,pointerPrevTime:I.pointerPrevTime,modules:I.modules}}),I=I||{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 j(t,e,n,r){switch(t){case 8:I.docWidth=e,I.docHeight=n;break;case 11:I.screenWidth=e,I.screenHeight=n;break;case 10:I.scrollX=e,I.scrollY=n,I.scrollTime=r;break;case 12:I.moveX=e,I.moveY=n,I.moveTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 13:I.downX=e,I.downY=n,I.downTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 14:I.upX=e,I.upY=n,I.upTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;default:I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r}C=!0}function P(t){I.activityTime=t}function R(t,e){I.visible=e,I.visible||P(t),C=!0}function X(t){I.modules=Array.from(t),C=!0}function Y(){C&&Vo(4)}var A=Object.freeze({__proto__:null,activity:P,compute:Y,dynamic:X,reset:D,start:function(){C=!1,D()},get state(){return x},stop:function(){D()},track:j,visibility:R}),z=null;function L(t,e){lc()&&t&&"string"==typeof t&&t.length<255&&(z=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Vo(24))}var H,W=null,q=null;function U(t){t in W||(W[t]=0),t in q||(q[t]=0),W[t]++,q[t]++}function G(t,e){null!==e&&(t in W||(W[t]=0),t in q||(q[t]=0),W[t]+=e,q[t]+=e)}function F(t,e){null!==e&&!1===isNaN(e)&&(t in W||(W[t]=0),(e>W[t]||0===W[t])&&(q[t]=e,W[t]=e))}function V(t,e,n){return window.setTimeout(Fu(t),e,n)}function B(t){return window.clearTimeout(t)}var J=0,K=0,Z=null;function Q(){Z&&B(Z),Z=V($,K),J=p()}function $(){var t=p();H={gap:t-J},Vo(25),H.gap<3e5?Z=V($,K):uc&&(L("clarityGemX","suspend"),Lc(),["mousemove","touchstart"].forEach((function(t){return Bu(document,t,dc)})),["resize","scroll","pageshow"].forEach((function(t){return Bu(window,t,dc)})))}var tt=Object.freeze({__proto__:null,get data(){return H},reset:Q,start:function(){K=6e4,J=0},stop:function(){B(Z),J=0,K=0}}),et=null;function nt(t,e){if(t in et){var n=et[t],r=n[n.length-1];e-r[0]>100?et[t].push([e,0]):r[1]=e-r[0]}else et[t]=[[e,0]]}function rt(){Vo(36)}function at(){et={}}var it=Object.freeze({__proto__:null,compute:rt,get data(){return et},reset:at,start:function(){et={}},stop:function(){et={}},track:nt}),ot=function(){return ot=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},ot.apply(this,arguments)};function ut(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function ct(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}function st(t,e,n){if(n||2===arguments.length)for(var r,a=0,i=e.length;a<i;a++)!r&&a in e||(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))}var lt="CompressionStream"in window;function dt(t){return ut(this,void 0,void 0,(function(){var e,n;return ct(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),lt?(e=new ReadableStream({start:function(e){return ut(this,void 0,void 0,(function(){return ct(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return ut(this,void 0,void 0,(function(){var e,n,r,a,i;return ct(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var pt=null;function ht(t,e){gt(t,"string"==typeof e?[e]:e)}function vt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),ut(this,void 0,void 0,(function(){var a,i;return ct(this,(function(o){switch(o.label){case 0:return i={},[4,bt(t)];case 1:return i.userId=o.sent(),i.userHint=r||function(t){return t&&t.length>=5?"".concat(t.substring(0,2)).concat(T(t.substring(2),"*","*")):T(t,"*","*")}(t),gt("userId",[(a=i).userId]),gt("userHint",[a.userHint]),gt("userType",[wt(t)]),e&&(gt("sessionId",[e]),a.sessionId=e),n&&(gt("pageId",[n]),a.pageId=n),[2,a]}}))}))}function gt(t,e){if(lc()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in pt?pt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);pt[t]=n}}function mt(){Vo(34)}function yt(){pt={}}function bt(t){return ut(this,void 0,void 0,(function(){var e;return ct(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 wt(t){return t&&t.indexOf("@")>0?"email":"string"}var St=Object.freeze({__proto__:null,compute:mt,get data(){return pt},identify:vt,reset:yt,set:ht,start:function(){yt()},stop:function(){yt()}}),_t={},kt=new Set,Ot={},Et={},Tt={},Mt={};function Nt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Ot[r]={},Et[r]={},Tt[r]={},Mt[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Ot[r][u]=jt(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);Tt[r][u]=d}}}catch(t){ko(8,1,t?t.name:null)}}function xt(t){return JSON.parse(JSON.stringify(t))}function It(){try{for(var t in Ot){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Ot[e];for(var r in n){var a=parseInt(r),i=Rt(Pt(xt(n[a])));i&&Dt(e,a,i)}var o=Et[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){if("IMG"===t.tagName){var e=t;return e.src||e.currentSrc||""}return t.textContent})).join("<SEP>");Dt(e,s,(c?v(f).trim():f).slice(0,1e4))}}var p=Tt[e];for(var h in p){var g=parseInt(h);Dt(e,g,ai(p[g]).trim().slice(0,1e4))}}}kt.size>0&&Vo(40)}catch(t){ko(5,1,t?t.name:null)}}function Ct(){kt.clear()}function Dt(t,e,n){var r,a=!1;t in _t||(_t[t]={},a=!0),r=Tt[t],0==Object.keys(r).length||e in _t[t]&&_t[t][e]==n||(a=!0),_t[t][e]=n,a&&kt.add(t)}function jt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function Pt(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&&Xt(a,r.condition))n=Pt(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var c=u[o];if(Xt(c,r.condition)){var s=Pt(t,c);s&&i.push(s)}}n=i}return n}return null}function Rt(t){return t?JSON.stringify(t).slice(0,1e4):t}function Xt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Yt=Object.freeze({__proto__:null,clone:xt,compute:It,data:_t,keys:kt,reset:Ct,start:function(){Ct()},stop:function(){Ct()},trigger:Nt,update:Dt});function At(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var Lt=null,Ht="^";function Wt(t,e){var n;if(void 0===e&&(e=!1),At(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var i=r[a].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=zt(i[1]),u=o[0],c=o[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function qt(t,e,n){if((s.track||""==e)&&(navigator&&navigator.cookieEnabled||At(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",o="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===Lt){for(var u=location.hostname?location.hostname.split("."):[],c=u.length-1;c>=0;c--)if(Lt=".".concat(u[c]).concat(Lt||""),c<u.length-1&&(document.cookie="".concat(o).concat(";").concat("domain=").concat(Lt),Wt(t)===e))return;Lt=""}}catch(t){Lt=""}document.cookie=Lt?"".concat(o).concat(";").concat("domain=").concat(Lt):o}}var Ut=Object.freeze({__proto__:null,COOKIE_SEP:Ht,getCookie:Wt,setCookie:qt,start:function(){Lt=null},stop:function(){Lt=null}}),Gt={debug:!1,excludeClassNames:[],ignoreMutationClassNames:[],discoverTrigger:null},Ft=ot({},Gt);function Vt(){return Ft}function Bt(){return Ft.debug}var Jt=Object.freeze({__proto__:null,get:Vt,isDebug:Bt,set:function(t){Ft=ot(ot({},Ft),t)},start:function(){var t,e,n,r,a,i,o,u;Ft={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!==(i=null===(a=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===a?void 0:a.ignoreMutationClassNames)&&void 0!==i?i:[],discoverTrigger:null!==(u=null===(o=null===window||void 0===window?void 0:window.GemXHeatmap)||void 0===o?void 0:o.discoverTrigger)&&void 0!==u?u:null}},stop:function(){Ft=ot({},Gt)}}),Kt=[],Zt=0,Qt=!1,$t=0,te=null;function ee(t,e){return $t=null!=t?t:0,te=null!=e?e:null,!0}function ne(){Kt=[],Zt=0,Qt=!1,$t=0,te=null}function re(){return Qt}function ae(t,e){Kt.push(t),Zt+=e,$t>0&&Zt>=$t&&te&&te()}function ie(){Qt=!1;var t=Kt;return Kt=[],Zt=0,t}var oe=null;function ue(t){try{if(!oe)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){oe(t)}))}catch(t){}}var ce=[Jt,Object.freeze({__proto__:null,config:ee,drain:ie,getBytes:function(){return Zt},hold:ae,isActive:re,start:function(){Kt=[],Zt=0,Qt=!0},stop:ne}),A,i,St,a,it,Ut,o,u,c,n,tt,r,Yt];function se(){W={},q={},U(5),ce.forEach((function(t){return Fu(t.start)()}))}function le(){ce.slice().reverse().forEach((function(t){return Fu(t.stop)()})),W={},q={}}function de(){Y(),Zo(),gu(),"gemx"!==s.mode&&(mt(),iu(),Vo(0),rt(),It())}var fe,pe=[];function he(t,e,n){s.fraud&&null!==t&&n&&n.length>=5&&(fe={id:t,target:e,checksum:v(n,28)},pe.indexOf(fe.checksum)<0&&(pe.push(fe.checksum),wo(41)))}var ve=["address","password","contact"],ge=["radio","checkbox","range","button","reset","submit"],me=["password","secret","pass","social","ssn","code","hidden"],ye=["INPUT","SELECT","TEXTAREA"],be=[];function we(t){var e=Ni(t);if(e){var n=e.value,r=n&&n.length>=5&&s.fraud&&-1===me.indexOf(e.type)?v(n,28):"";be.push({time:p(t),event:42,data:{target:Ni(t),type:e.type,value:n,checksum:r}}),Co(Ii.bind(this,42))}}function Se(){be=[]}var _e=Object.freeze({__proto__:null,observe:function(t){Bu(t,"change",we,!0)},reset:Se,start:function(){Se()},get state(){return be},stop:function(){Se()}});function ke(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,r=null===n?$a(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=r||n}while(t);return e}var Oe=["input","textarea","radio","button","canvas","select"],Ee=/VM\d/,Te=[],Me=null;function Ne(t){Me=t}function xe(t,e,n){var r=$a(e),a=r&&r.contentDocument?r.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(r){var u=ke(r);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=Ni(n),l=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}(c),d=je(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=function(t,e,n,r){if(!r)return{eX:0,eY:0};var a=r,i=t,o=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(;(o>32767||u>32767)&&i.parentElement&&c<10;)c++,(a=je(i=i.parentElement))&&(o=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:o,eY:u}}(c,i,o,d),h=f.eX,v=f.eY;if(null!==i&&null!==o){var g=function(t){var e=null,n=!1;if(t){var r=Ie(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}}(c);Te.push({time:p(n),event:t,data:{target:c,x:i,y:o,eX:h,eY:v,button:n.button,reaction:Ce(c),context:Pe(l),text:g.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:g.isFullText,w:d?d.w:0,h:d?d.h:0,tag:De(c,"tagName").substring(0,10),class:De(c,"className").substring(0,50),id:De(c,"id").substring(0,25),source:s.diagnostics&&!n.isTrusted?Re():0}}),n.isTrusted&&Me&&Me(),Co(Ii.bind(this,t))}}function Ie(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+=Ie(e.childNodes[a]);return r}function Ce(t){var e=De(t,"tagName");return Oe.indexOf(e)>=0?0:1}function De(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 je(t){var e=null,n=t.ownerDocument||document,r=n.documentElement,a=n.defaultView||window;if("function"==typeof t.getBoundingClientRect){var i=t.getBoundingClientRect();if(i&&i.width>0&&i.height>0){var o="pageXOffset"in a?a.pageXOffset:r.scrollLeft,u="pageYOffset"in a?a.pageYOffset:r.scrollTop;e={x:Math.floor(i.left+o),y:Math.floor(i.top+u),w:Math.floor(i.width),h:Math.floor(i.height)};var c=$a(n);if(c){var s=ke(c);e.x+=Math.round(s.x),e.y+=Math.round(s.y)}}}return e}function Pe(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 Re(){Re.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 i=a[r];i.indexOf("://")>=0?n=i.indexOf("extension")<0&&i.indexOf(e)>=0?1:2:(i.indexOf("eval")>=0||i.indexOf("Function")>=0||i.indexOf("<a")>=0||Ee.test(i))&&(n=3)}return n}catch(t){return 4}}function Xe(){Te=[]}var Ye=Object.freeze({__proto__:null,observe:function(t){Bu(t,"click",xe.bind(this,9,t),!0),Bu(t,"contextmenu",xe.bind(this,48,t),!0)},onTrustedClick:Ne,reset:Xe,start:function(){Xe()},get state(){return Te},stop:function(){Xe()}}),Ae=[];function ze(t,e){Ae.push({time:p(e),event:38,data:{target:Ni(e),action:t}}),Co(Ii.bind(this,38))}function Le(){Ae=[]}var He=Object.freeze({__proto__:null,observe:function(t){Bu(t,"cut",ze.bind(this,0),!0),Bu(t,"copy",ze.bind(this,1),!0),Bu(t,"paste",ze.bind(this,2),!0)},reset:Le,start:function(){Le()},get state(){return Ae},stop:function(){Le()}}),We=null,qe=[];function Ue(t){var e=Ni(t),n=ui(e);if(e&&e.type&&n){var r=e.value,a=e.type;switch(e.type){case"radio":case"checkbox":r=e.checked?"true":"false"}var i={target:e,value:r,type:a,trust:t.isTrusted?1:0};qe.length>0&&qe[qe.length-1].data.target===i.target&&qe.pop(),qe.push({time:p(t),event:27,data:i}),B(We),We=V(Fe,750,27)}}function Ge(t){"Enter"===t.key&&!t.repeat&&qe.length>0&&(B(We),Fe(27))}function Fe(t){Co(Ii.bind(this,t))}function Ve(){qe=[]}var Be=Object.freeze({__proto__:null,observe:function(t){Bu(t,"input",Ue,!0),Bu(t,"keydown",Ge,!0)},reset:Ve,start:function(){Ve()},get state(){return qe},stop:function(){B(We),Ve()}}),Je=[],Ke=null,Ze=!1,Qe=0,$e=new Set;function tn(t,e,n){var r=$a(e),a=r&&r.contentDocument?r.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(r){var u=ke(r);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&nn({time:p(n),event:t,data:{target:Ni(n),x:i,y:o}})}function en(t,e,n){var r=$a(e),a=r&&r.contentDocument?r.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=p(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],s="clientX"in c?Math.round(c.clientX+a.scrollLeft):null,l="clientY"in c?Math.round(c.clientY+a.scrollTop):null;s=s&&r?s+Math.round(r.offsetLeft):s,l=l&&r?l+Math.round(r.offsetTop):l;var d="identifier"in c?c.identifier:void 0;switch(t){case 17:0===$e.size&&(Ze=!0,Qe=d),$e.add(d);break;case 18:case 20:$e.delete(d)}var f=Ze&&Qe===d;null!==s&&null!==l&&nn({time:o,event:t,data:{target:Ni(n),x:s,y:l,id:d,isPrimary:f}}),20!==t&&18!==t||Qe===d&&(Ze=!1)}}function nn(t){switch(t.event){case 12:case 15:case 19:var e=Je.length,n=e>1?Je[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y,a=Math.sqrt(n*n+r*r),i=e.time-t.time,o=e.data.target===t.data.target,u=void 0===e.data.id||e.data.id===t.data.id;return e.event===t.event&&o&&a<20&&i<25&&u}(n,t)&&Je.pop(),Je.push(t),B(Ke),Ke=V(rn,500,t.event);break;default:Je.push(t),rn(t.event)}}function rn(t){Co(Ii.bind(this,t))}function an(){Je=[]}var on,un=Object.freeze({__proto__:null,observe:function(t){Bu(t,"mousedown",tn.bind(this,13,t),!0),Bu(t,"mouseup",tn.bind(this,14,t),!0),Bu(t,"mousemove",tn.bind(this,12,t),!0),Bu(t,"wheel",tn.bind(this,15,t),!0),Bu(t,"dblclick",tn.bind(this,16,t),!0),Bu(t,"touchstart",en.bind(this,17,t),!0),Bu(t,"touchend",en.bind(this,18,t),!0),Bu(t,"touchmove",en.bind(this,19,t),!0),Bu(t,"touchcancel",en.bind(this,20,t),!0)},reset:an,start:function(){an()},get state(){return Je},stop:function(){B(Ke),Je.length>0&&rn(Je[Je.length-1].event)}});function cn(t,e){var n=0,r=null,a=null;function i(){for(var i=this,o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=o,r)return;r=setTimeout((function(){n=performance.now(),t.apply(i,a),a=null,r=null}),e-s)}else n=c,t.apply(this,o)}return i.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},i}var sn=null,ln=!1,dn=cn(fn,500);function fn(){var t=document.documentElement;on={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},ln?(B(sn),sn=V(pn,500,11)):(Ii(11),ln=!0)}function pn(t){Co(Ii.bind(this,t))}function hn(){on=null,B(sn),dn.cleanup()}var vn=Object.freeze({__proto__:null,get data(){return on},reset:hn,start:function(){ln=!1,Bu(window,"resize",dn),fn()},stop:function(){hn()}}),gn=[],mn=null;function yn(t){mn=t}var bn=null,wn=null,Sn=null;function _n(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Ni(t):n;if(r){if(r&&r.nodeType===Node.DOCUMENT_NODE){var a=$a(r);e=a?a.contentWindow:e,r=n=r.documentElement}var i=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),u=window.innerWidth,c=window.innerHeight,s=u/3,l=u>c?.15*c:.2*c,d=c-l,f=On(s,l),h=On(s,d),v=t&&t.isTrusted?1:0;t&&t.isTrusted&&mn&&mn();var g={time:p(t),event:10,data:{target:r,x:i,y:o,top:f,bottom:h,trust:v}};if(null===t&&0===i&&0===o||null===i||null===o)return bn=f,void(wn=h);var m=gn.length,y=m>1?gn[m-2]:null;y&&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}(y,g)&&gn.pop(),gn.push(g),B(Sn),Sn=V(Tn,500,10)}}var kn=cn(_n,25);function On(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 En(){gn=[],bn=null,wn=null}function Tn(t){Co(Ii.bind(this,t))}function Mn(){var t,e;if(bn){var n=xi(bn,null);au(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(wn){var r=xi(wn,null);au(32,null===(e=null==r?void 0:r.hash)||void 0===e?void 0:e.join("."))}}var Nn=Object.freeze({__proto__:null,compute:Mn,observe:function(t){var e=$a(t);Bu(e?e.contentWindow:t===document?window:t,"scroll",kn,!0)},onTrustedScroll:yn,reset:En,start:function(){gn=[],_n()},get state(){return gn},stop:function(){B(Sn),kn.cleanup(),gn=[],bn=null,wn=null}}),xn=null,In=null,Cn=null;function Dn(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=xn.start?xn.start:null;null!==In&&null!==xn.start&&n!==e.anchorNode&&(B(Cn),jn(21)),xn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},In=e,B(Cn),Cn=V(jn,500,21)}}function jn(t){Co(Ii.bind(this,t))}function Pn(){In=null,xn={start:0,startOffset:0,end:0,endOffset:0}}var Rn=Object.freeze({__proto__:null,get data(){return xn},observe:function(t){Bu(t,"selectstart",Dn.bind(this,t),!0),Bu(t,"selectionchange",Dn.bind(this,t),!0)},reset:Pn,start:function(){Pn()},stop:function(){Pn(),B(Cn)}}),Xn=[];function Yn(t){Xn.push({time:p(t),event:39,data:{target:Ni(t)}}),Co(Ii.bind(this,39))}function An(){Xn=[]}var zn,Ln=Object.freeze({__proto__:null,observe:function(t){Bu(t,"submit",Yn,!0)},reset:An,start:function(){An()},get state(){return Xn},stop:function(){An()}});function Hn(){so("gemx-unload")}function Wn(t){zn={name:t.type,persisted:t.persisted?1:0},Ii(26,p(t)),Lc()}function qn(){zn=null}var Un,Gn=Object.freeze({__proto__:null,get data(){return zn},reset:qn,start:function(){Bu(window,"pagehide",Wn),Bu(window,"beforeunload",Hn)},stop:function(){qn()}});function Fn(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Un={visible:e},Ii(28,p(t))}}function Vn(){Un=null}var Bn,Jn=Object.freeze({__proto__:null,get data(){return Un},reset:Vn,start:function(){Bu(document,"visibilitychange",Fn),Fn()},stop:function(){Vn()}});function Kn(){Bn=null}function Zn(t){Bn={focused:t},Ii(50)}var Qn=Object.freeze({__proto__:null,get data(){return Bn},reset:Kn,start:function(){Bu(window,"focus",(function(){return Zn(1)})),Bu(window,"blur",(function(){return Zn(0)}))},stop:function(){Kn()}}),$n=!1;function tr(t){t&&t.persisted&&(zc(),ko(11,0))}var er=Object.freeze({__proto__:null,start:function(){if(!$n)try{window[l("addEventListener")]("pageshow",Fu(tr),{capture:!1,passive:!0}),$n=!0}catch(t){}},stop:function(){}}),nr=[e,Ye,vn,Jn,Nn,er,Gn],rr=[e,Ye,He,un,Be,vn,Jn,Qn,er,Nn,Rn,_e,Ln,Gn],ar={allRoots:[Nn],documentOnly:[Ye]},ir={allRoots:[Nn],documentOnly:[Ye,He,un,Be,Rn,_e,Ln]},or=rr;function ur(t){var e="gemx"===(null==s?void 0:s.mode)?ar: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 cr=Object.freeze({__proto__:null,observe:ur,start:function(){(or="gemx"===(null==s?void 0:s.mode)?nr:rr).forEach((function(t){return t.start()}))},stop:function(){or.forEach((function(t){return t.stop()}))}});function sr(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}var lr=[],dr=[],fr="claritySheetId",pr={},hr={},vr=[],gr=[];function mr(t){s.lean&&s.lite||null==t||(t.clarityOverrides=t.clarityOverrides||{},t.CSSStyleSheet&&t.CSSStyleSheet.prototype&&(void 0===t.clarityOverrides.replace&&(t.clarityOverrides.replace=t.CSSStyleSheet.prototype.replace,t.CSSStyleSheet.prototype.replace=function(){return lc()&&gr.indexOf(this[fr])>-1&&Sr(p(),this[fr],1,arguments[0]),t.clarityOverrides.replace.apply(this,arguments)}),void 0===t.clarityOverrides.replaceSync&&(t.clarityOverrides.replaceSync=t.CSSStyleSheet.prototype.replaceSync,t.CSSStyleSheet.prototype.replaceSync=function(){return lc()&&gr.indexOf(this[fr])>-1&&Sr(p(),this[fr],2,arguments[0]),t.clarityOverrides.replaceSync.apply(this,arguments)})))}function yr(){mr(window)}function br(t,e){if((!s.lean||!s.lite)&&(-1===vr.indexOf(t)&&(vr.push(t),t.defaultView&&mr(t.defaultView)),e=e||p(),null==t?void 0:t.adoptedStyleSheets)){for(var n=[],r=0,a=t.adoptedStyleSheets;r<a.length;r++){var i=a[r];i[fr]&&-1!==gr.indexOf(i[fr])||(i[fr]=Xu(),gr.push(i[fr]),Sr(e,i[fr],0),Sr(e,i[fr],2,_a(i))),n.push(i[fr])}var o=Ja(t,!0);pr[o]||(pr[o]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,pr[o])||(!function(t,e,n,r){dr.push({time:t,event:45,data:{id:e,operation:n,newIds:r}}),Hr(45)}(e,t==document?-1:Ja(t),3,n),pr[o]=n,hr[o]=e)}}function wr(){dr=[],lr=[]}function Sr(t,e,n,r){lr.push({time:t,event:46,data:{id:e,operation:n,cssRules:r}}),Hr(46)}var _r=[],kr=null,Or=null,Er=null,Tr=null,Mr=null,Nr=null,xr="clarityAnimationId",Ir="clarityOperationCount",Cr=20;function Dr(){_r=[]}function jr(t,e,n,r,a,i,o){_r.push({time:t,event:44,data:{id:e,operation:n,keyFrames:r,timing:a,targetId:i,timeline:o}}),Hr(44)}function Pr(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Rr(this,e),t.apply(this,arguments)})}function Rr(t,e){if(lc()){var n=t.effect,r=(null==n?void 0:n.target)?Ja(n.target):null;if(null!==r&&n.getKeyframes&&n.getTiming){if(!t[xr]){t[xr]=Xu(),t[Ir]=0;var a=n.getKeyframes(),i=n.getTiming();jr(p(),t[xr],0,JSON.stringify(a),JSON.stringify(i),r)}if(t[Ir]++<Cr){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4;break;case"commitStyles":o=5}o&&jr(p(),t[xr],o)}}}}var Xr,Yr=[],Ar=new Set;function zr(t){Ar.has(t)||(Ar.add(t),Yr.push(t),Co(Hr.bind(this,51)))}function Lr(){Yr.length=0}function Hr(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),ut(this,void 0,void 0,(function(){var r,a,i,o,u,c,l,d,f,h,v,g,m,y,b,w,S,k,O,E,T,M,N,x,I,C,D,R,X,Y,A,z;return ct(this,(function(L){switch(L.label){case 0:switch(r=n||p(),a=[r,t],t){case 8:return[3,1];case 7:return[3,2];case 45:case 46:return[3,3];case 44:return[3,4];case 5:case 6:return[3,5];case 51:return[3,12]}return[3,13];case 1:return i=Xr,a.push(i.width),a.push(i.height),j(t,i.width,i.height),co(a),[3,13];case 2:for(o=0,u=vi;o<u.length;o++)c=u[o],(a=[c.time,7]).push(c.data.id),a.push(c.data.interaction),a.push(c.data.visibility),a.push(c.data.name),co(a,!1);return Mi(),[3,13];case 3:for(l=0,d=dr;l<d.length;l++)m=d[l],(a=[m.time,m.event]).push(m.data.id),a.push(m.data.operation),a.push(m.data.newIds),co(a);for(f=0,h=lr;f<h.length;f++)m=h[f],(a=[m.time,m.event]).push(m.data.id),a.push(m.data.operation),a.push(m.data.cssRules),co(a,!1);return wr(),[3,13];case 4:for(v=0,g=_r;v<g.length;v++)m=g[v],(a=[m.time,m.event]).push(m.data.id),a.push(m.data.operation),a.push(m.data.keyFrames),a.push(m.data.timing),a.push(m.data.timeline),a.push(m.data.targetId),co(a);return Dr(),[3,13];case 5:if(2===jo(e))return[3,13];if(!((y=di()).length>0))return[3,11];b=0,w=y,L.label=6;case 6:return b<w.length?(S=w[b],0!==(k=jo(e))?[3,8]:[4,Xo(e)]):[3,10];case 7:k=L.sent(),L.label=8;case 8:if(2===k)return[3,10];for(O=S.data,E=S.metadata.active,T=S.metadata.suspend,M=S.metadata.privacy,N=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),x=0,I=E?["tag","attributes","value"]:["tag"];x<I.length;x++)if(O[C=I[x]]||""===O[C])switch(C){case"tag":D=Wr(S),R=N?-1:1,a.push(S.id*R),S.parent&&E&&(a.push(S.parent),S.previous&&a.push(S.previous)),a.push(T?"*M":O[C]),D&&2===D.length&&a.push("".concat("#").concat(qr(D[0]),".").concat(qr(D[1])));break;case"attributes":for(X in O[C])void 0!==O[C][X]&&a.push(Ur(X,O[C][X],M,O.tag));break;case"value":he(S.metadata.fraud,S.id,O[C]),a.push(_(O[C],O.tag,M,N))}L.label=9;case 9:return b++,[3,6];case 10:6===t&&P(r),co(sr(a),!s.lean),L.label=11;case 11:return[3,13];case 12:for(Y=0,A=Yr;Y<A.length;Y++)z=A[Y],co([r,51,z]);return Lr(),[3,13];case 13:return[2]}}))}))}function Wr(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=ii(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function qr(t){return t.toString(36)}function Ur(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(_(e,0===t.indexOf("data-")?"data-":t,n))}function Gr(){Xr=null}function Fr(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,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!==Xr&&c===Xr.width&&v===Xr.height||null===c||null===v||(Xr={width:c,height:v},Hr(8))}function Vr(t,e,n,r){return ut(this,void 0,void 0,(function(){var a,i,o,u,c;return ct(this,(function(s){switch(s.label){case 0:a=[t],s.label=1;case 1:if(!(a.length>0))return[3,4];for(i=a.shift(),o=i.firstChild;o;)a.push(o),o=o.nextSibling;return 0!==(u=jo(e))?[3,3]:[4,Xo(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=ya(i,n,r))&&a.push(c),[3,1]);case 4:return[2]}}))}))}var Br=new Set,Jr=[],Kr={},Zr=[],Qr=null,$r=null,ta=null,ea={},na=new WeakMap,ra=["data-google-query-id","data-load-complete","data-google-container-id"];function aa(){Br=new Set,Zr=[],Qr=null,ta=0,ea={},na=new WeakMap,fa(window)}function ia(t){var e=p();nt(6,e),Jr.push({time:e,mutations:t}),Co(ua,1).then((function(){V(Fr),Fu(ki)()}))}function oa(t,e,n,r){return ut(this,void 0,void 0,(function(){var a,i,o,u,c;return ct(this,(function(l){switch(l.label){case 0:return 0!==(a=jo(t))?[3,2]:[4,Xo(t)];case 1:a=l.sent(),l.label=2;case 2:if(2===a)return[2];if(i=e.target,o=Vt().ignoreMutationClassNames,!re()&&o.length>0&&i instanceof Element&&(u=i,o.some((function(t){return u.classList.contains(t)}))))return[2];switch(c=s.throttleDom?function(t,e,n,r){var a=t.target?ui(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var i=r>ta,o=ui(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[a.selector?a.selector.join():"",u,t.attributeName,ca(t.addedNodes),ca(t.removedNodes)].join();ea[c]=c in ea?ea[c]:[0,n];var s=ea[c];if(!1===i&&s[0]>=10&&sa(s[2],2,e,r),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>r+3e3?t.type:(Kr[c]={mutation:t,timestamp:r},"throttle")}return t.type}(e,t,n,r):e.type,c&&i&&i.ownerDocument&&Ba(i.ownerDocument),c&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Ba(i),c){case"attributes":ra.indexOf(e.attributeName)<0&&ya(i,3,r);break;case"characterData":ya(i,4,r);break;case"childList":sa(e.addedNodes,1,t,r),sa(e.removedNodes,2,t,r)}return[2]}}))}))}function ua(){return ut(this,void 0,void 0,(function(){var t,e,n,r,a,i,o,u,c,s,l;return ct(this,(function(d){switch(d.label){case 0:Po(t={id:Mu(),cost:3}),d.label=1;case 1:if(!(Jr.length>0))return[3,7];e=Jr.shift(),n=p(),r=0,a=e.mutations,d.label=2;case 2:return r<a.length?(i=a[r],[4,oa(t,i,n,e.time)]):[3,5];case 3:d.sent(),d.label=4;case 4:return r++,[3,2];case 5:return[4,Hr(6,t,e.time)];case 6:return d.sent(),[3,1];case 7:o=!1,u=0,c=Object.keys(Kr),d.label=8;case 8:return u<c.length?(s=c[u],l=Kr[s],delete Kr[s],[4,oa(t,l.mutation,p(),l.timestamp)]):[3,11];case 9:d.sent(),o=!0,d.label=10;case 10:return u++,[3,8];case 11:return Object.keys(Kr).length>0&&function(){$r&&B($r);$r=V((function(){Co(ua,1)}),33)}(),0===Object.keys(Kr).length&&o?[4,Hr(6,t,p())]:[3,13];case 12:d.sent(),d.label=13;case 13:return function(){var t=p();Object.keys(ea).length>1e4&&(ea={},U(38));for(var e=0,n=Object.keys(ea);e<n.length;e++){var r=n[e];t>ea[r][1]+3e4&&delete ea[r]}}(),Ro(t),[2]}}))}))}function ca(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function sa(t,e,n,r){return ut(this,void 0,void 0,(function(){var a,i,o,u;return ct(this,(function(c){switch(c.label){case 0:a=t?t.length:0,i=0,c.label=1;case 1:return i<a?(o=t[i],1!==e?[3,2]:(Vr(o,n,e,r),[3,5])):[3,6];case 2:return 0!==(u=jo(n))?[3,4]:[4,Xo(n)];case 3:u=c.sent(),c.label=4;case 4:if(2===u)return[3,6];ya(o,e,r),c.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function la(t){return Zr.indexOf(t)<0&&Zr.push(t),Qr&&B(Qr),Qr=V((function(){!function(){for(var t=0,e=Zr;t<e.length;t++){var n=e[t];if(n){var r=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(r&&li(n))continue;da(n,r?"childList":"characterData")}}Zr=[]}()}),33),t}function da(t,e){Fu(ia)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function fa(t){if(null!=t&&(t.clarityOverrides=t.clarityOverrides||{},"CSSStyleSheet"in t&&t.CSSStyleSheet&&t.CSSStyleSheet.prototype&&void 0===t.clarityOverrides.InsertRule&&(t.clarityOverrides.InsertRule=t.CSSStyleSheet.prototype.insertRule,t.CSSStyleSheet.prototype.insertRule=function(){return lc()&&la(this.ownerNode),t.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in t&&t.CSSMediaRule&&t.CSSMediaRule.prototype&&void 0===t.clarityOverrides.MediaInsertRule&&(t.clarityOverrides.MediaInsertRule=t.CSSMediaRule.prototype.insertRule,t.CSSMediaRule.prototype.insertRule=function(){return lc()&&la(this.parentStyleSheet.ownerNode),t.clarityOverrides.MediaInsertRule.apply(this,arguments)}),"CSSStyleSheet"in t&&t.CSSStyleSheet&&t.CSSStyleSheet.prototype&&void 0===t.clarityOverrides.DeleteRule&&(t.clarityOverrides.DeleteRule=t.CSSStyleSheet.prototype.deleteRule,t.CSSStyleSheet.prototype.deleteRule=function(){return lc()&&la(this.ownerNode),t.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in t&&t.CSSMediaRule&&t.CSSMediaRule.prototype&&void 0===t.clarityOverrides.MediaDeleteRule&&(t.clarityOverrides.MediaDeleteRule=t.CSSMediaRule.prototype.deleteRule,t.CSSMediaRule.prototype.deleteRule=function(){return lc()&&la(this.parentStyleSheet.ownerNode),t.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),"Element"in t&&t.Element&&t.Element.prototype&&void 0===t.clarityOverrides.AttachShadow)){t.clarityOverrides.AttachShadow=t.Element.prototype.attachShadow;try{t.Element.prototype.attachShadow=function(){return lc()?la(t.clarityOverrides.AttachShadow.apply(this,arguments)):t.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(e){t.clarityOverrides.AttachShadow=null}}}var pa=/[^0-9\.]/g;function ha(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e],a=t[r];if("@type"===r&&"string"==typeof a)switch(a=(a=a.toLowerCase()).indexOf("article")>=0||a.indexOf("posting")>=0?"article":a){case"article":case"recipe":au(5,t[r]),au(8,t.creator),au(18,t.headline);break;case"product":au(5,t[r]),au(10,t.name),au(12,t.sku),t.brand&&au(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(F(11,va(t.ratingValue,100)),F(18,va(t.bestRating)),F(19,va(t.worstRating))),F(12,va(t.ratingCount)),F(17,va(t.reviewCount));break;case"offer":au(7,t.availability),au(14,t.itemCondition),au(13,t.priceCurrency),au(12,t.sku),F(13,va(t.price));break;case"brand":au(6,t.name)}null!==a&&"object"==typeof a&&ha(a)}}function va(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(pa,""))*e)}return null}var ga=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ma=/[\r\n]+/g;function ya(e,n,r){var a,i=null;if(2===n&&!1===li(e))return i;0!==n&&e.nodeType===Node.TEXT_NODE&&e.parentElement&&"STYLE"===e.parentElement.tagName&&(e=e.parentNode);var o=!1===li(e)?"add":"update",u=e.parentElement?e.parentElement:null,c=e.ownerDocument!==document;switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:u=c&&e.parentNode?$a(e.parentNode):u;var s=e,l={tag:(c?"iframe:":"")+"*D",attributes:{name:s.name?s.name:"HTML",publicId:s.publicId,systemId:s.systemId}};t[o](e,u,l,n);break;case Node.DOCUMENT_NODE:e===document&&Ba(document),br(e,r),ba(e);break;case Node.DOCUMENT_FRAGMENT_NODE:var d=e;if(d.host){if(Ba(d),"function"===typeof d.constructor&&d.constructor.toString().indexOf("[native code]")>=0){ba(d);var f={tag:"*S",attributes:{style:""}};t[o](e,d.host,f,n)}else t[o](e,d.host,{tag:"*P",attributes:{}},n);br(e,r)}break;case Node.TEXT_NODE:if(u=u||e.parentNode,"update"===o||u&&li(u)&&"STYLE"!==u.tagName&&"NOSCRIPT"!==u.tagName){var p={tag:"*T",value:e.nodeValue};t[o](e,u,p,n)}break;case Node.ELEMENT_NODE:var h=e,v=h.tagName,g=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++){var a=n[r].name;ga.indexOf(a)<0&&(e[a]=n[r].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(u=e.parentElement?e.parentElement:e.parentNode?e.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(v="svg:"+v),v){case"HTML":u=c&&u?$a(u):u;var m={tag:(c?"iframe:":"")+v,attributes:g};t[o](e,u,m,n);break;case"SCRIPT":if("type"in g&&"application/ld+json"===g.type)try{ha(JSON.parse(h.text.replace(ma,"")))}catch(t){}break;case"NOSCRIPT":var y={tag:v,attributes:{},value:""};t[o](e,u,y,n);break;case"META":var b="property"in g?"property":"name"in g?"name":null;if(b&&"content"in g){var w=g.content;switch(g[b]){case"og:title":au(20,w);break;case"og:type":au(19,w);break;case"generator":au(21,w)}}break;case"HEAD":var S={tag:v,attributes:g},_=c&&(null===(a=e.ownerDocument)||void 0===a?void 0:a.location)?e.ownerDocument.location:location;S.attributes["*B"]=_.protocol+"//"+_.host+_.pathname,t[o](e,u,S,n);break;case"BASE":var k=ui(e.parentElement);if(k){var O=document.createElement("a");O.href=g.href,k.data.attributes["*B"]=O.protocol+"//"+O.host+O.pathname}break;case"STYLE":var E={tag:v,attributes:g,value:Sa(h)};t[o](e,u,E,n);break;case"IFRAME":var T=e,M={tag:v,attributes:g};Qa(T)&&(!function(t){!1===li(t)&&Bu(t,"load",da.bind(this,t,"childList"),!0)}(T),M.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(i=T.contentDocument)),2===n&&wa(T),t[o](e,u,M,n);break;case"LINK":if(bu&&"stylesheet"===g.rel){for(var N in Object.keys(document.styleSheets)){var x=document.styleSheets[N];if(x.ownerNode==h){var I={tag:"STYLE",attributes:g,value:_a(x)};t[o](e,u,I,n);break}}break}var C={tag:v,attributes:g};t[o](e,u,C,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in g&&g.src.startsWith("data:")&&(g.src="");var D={tag:v,attributes:g};t[o](e,u,D,n);break;case"DIALOG":var j=function(t,e){var n={attributes:ot({},e),isModal:!1};if(t.open&&(n.attributes.open=""),t.open)try{var r=window.getComputedStyle(t,"::backdrop").getPropertyValue("display");r&&"none"!==r&&(n.isModal=!0,n.attributes["gx-dialog-modal"]="true")}catch(t){console.warn("Error detecting modal dialog:",t)}return n}(e,g),P=function(t,e){return{tag:t,attributes:e}}(v,j.attributes);t[o](e,u,P,n);break;default:!function(t){var e;(null===(e=window.customElements)||void 0===e?void 0:e.get)&&window.customElements.get(t)&&zr(t)}(h.localName);var R={tag:v,attributes:g};h.shadowRoot&&(i=h.shadowRoot),t[o](e,u,R,n)}}return i}function ba(t){li(t)||Zu(t)||(!function(t){try{var e=l("MutationObserver"),n=e in window?new window[e](Fu(ia)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),na.set(t,n),Br.add(n)),t.defaultView&&fa(t.defaultView)}catch(t){ko(2,0,t?t.name:null)}}(t),ur(t))}function wa(t){Ku(t);var e,n,r=ti(t)||{},a=r.doc,i=void 0===a?null:a,o=r.win,u=void 0===o?null:o;u&&Ku(u),i&&(Ku(i),e=i,(n=na.get(e))&&(n.disconnect(),Br.delete(n),na.delete(e)),ei(t,i))}function Sa(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0||t.id.length>0)&&(e=_a(t.sheet)),e}function _a(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(ko(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var r=0;r<n.length;r++)e+=n[r].cssText;return e}var ka=["load","active","fixed","visible","focus","show","collaps","animat"],Oa={},Ea=new Map;function Ta(t,e){var n,r=t.attributes,a=t.prefix?t.prefix[e]:null,i=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var o="".concat(a).concat(t.tag).concat(i),u="id"in r&&r.id.length>0?r.id:null,c=("class"in r?r.class.trim().split(/\s+/):[]).filter((function(t){return Ma(t)})),s="BODY"!==t.tag&&c.length>0?c.join("."):null;if(s&&s.length>0)if(0===e){var l="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var r=e[n].indexOf("~"),a=e[n].indexOf(".");e[n]=e[n].substring(0,a>0?a:r>0?r:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(s);l in Oa||(Oa[l]=[]),Oa[l].indexOf(t.id)<0&&Oa[l].push(t.id),o="".concat(l).concat("~").concat(Oa[l].indexOf(t.id))}else o="".concat(a).concat(t.tag,".").concat(s).concat(i);if(u&&Ma(u)){var d=(null!==(n=Ea.get(u))&&void 0!==n?n:0)+1;Ea.set(u,d),1===d&&(o="".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),r=Math.max(e,n);if(r<0)return"";return t.substring(0,t.indexOf(">",r)+1)}(a)).concat("#").concat(u))}return o}}function Ma(t){if(!t)return!1;if(Na().some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}function Na(){var t=ka,e=Vt().excludeClassNames;return st(st([],t,!0),e,!0)}var xa=1,Ia=null,Ca=[],Da=[],ja={},Pa=[],Ra=[],Xa=[],Ya=[],Aa=[],za=[],La=null,Ha=null,Wa=null,qa=null,Ua=null;function Ga(){Va(),Ba(document,!0)}function Fa(){Va()}function Va(){xa=1,Ca=[],Da=[],ja={},Pa=[],Ra=[],Xa=ve,Ya=me,Aa=ge,za=ye,Ia=new Map,La=new WeakMap,Ha=new WeakMap,Wa=new WeakMap,qa=new WeakMap,Ua=new WeakMap,Oa={},Ea=new Map}function Ba(t,e){void 0===e&&(e=!1);try{e&&s.unmask.forEach((function(t){return t.indexOf("!")<0?Ra.push(t):Pa.push(t.substr(1))})),"querySelectorAll"in t&&(s.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Si(t,"".concat(e[0]))}))})),s.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qa.set(t,3)}))})),s.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ua.set(t,e[0])}))})),Ra.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qa.set(t,0)}))})))}catch(t){ko(5,1,t?t.name:null)}}function Ja(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=La.get(t);return!n&&e&&(n=xa++,La.set(t,n)),n||null}function Ka(t,e,n,r){var a=e?Ja(e):null;if(e&&a||null!=t.host||t.nodeType===Node.DOCUMENT_TYPE_NODE){var i=Ja(t,!0),o=pi(t),u=null,c=_i(t)?i:null,l=Ua.has(t)?Ua.get(t):null,d=s.content?1:3;a>=0&&Ca[a]&&((u=Ca[a]).children.push(i),c=null===c?u.region:c,l=null===l?u.metadata.fraud:l,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Si(t,n.attributes["data-clarity-region"]),c=i),Ia.set(i,t),Ca[i]={id:i,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:c,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:l,size:null}},function(t,e,n){var r,a=e.data,i=e.metadata,o=i.privacy,u=a.attributes||{},c=a.tag.toUpperCase();switch(!0){case za.indexOf(c)>=0:var s=u.type,l="",d=["class","style"];Object.keys(u).filter((function(t){return!d.includes(t)})).forEach((function(t){return l+=u[t].toLowerCase()}));var f=Ya.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&Aa.indexOf(s)>=0?o:f?4:2;break;case"data-clarity-mask"in u:i.privacy=3;break;case"data-clarity-unmask"in u:i.privacy=0;break;case qa.has(t):i.privacy=qa.get(t);break;case Ua.has(t):i.privacy=2;break;case"*T"===c:var p=n&&n.data?n.data.tag:"",h=n&&n.selector?n.selector[1]:"",v=["STYLE","TITLE","svg:style"];i.privacy=v.includes(p)||Pa.some((function(t){return h.indexOf(t)>=0}))?0:o;break;case 1===o:i.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(u.class,Xa,i);break;case"IMG"===c:(null===(r=u.src)||void 0===r?void 0:r.startsWith("blob:"))&&(i.privacy=3)}}(t,Ca[i],u),ri(Ca[i]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=ii(t.id);!e||e.complete&&0!==e.naturalWidth||Bu(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Xu()))})),t.metadata.size=[]}}(Ca[i]),hi(i,r)}}function Za(t,e,n,r){var a=Ja(t),i=e?Ja(e):null,o=pi(t),u=!1,c=!1;if(a in Ca){var s=Ca[a];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:Ca[i].children.indexOf(o)+1;Ca[i].children.splice(d,0,a),s.region=_i(t)?a:Ca[i].region}else!function(t,e){if(t in Ca){var n=Ca[t];n.metadata.active=!1,n.parent=null,hi(t,e),fi(t)}}(a,r);if(null!==l&&l>=0){var f=Ca[l].children.indexOf(a);f>=0&&Ca[l].children.splice(f,1)}c=!0}for(var p in n)ni(s.data,n,p)&&(u=!0,s.data[p]=n[p]);ri(s),hi(a,r,u,c)}}function Qa(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Ha.set(n.contentDocument,n),Wa.set(n,{doc:n.contentDocument,win:n.contentWindow}),e=!0)}catch(t){}}return e}function $a(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Ha.has(e)?Ha.get(e):null}function ti(t){return Wa.has(t)?Wa.get(t):null}function ei(t,e){Wa.delete(t),Ha.delete(e)}function ni(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var r in t[n])if(t[n][r]!==e[n][r])return!0;for(var r in e[n])if(e[n][r]!==t[n][r])return!0;return!1}return t[n]!==e[n]}function ri(t){var e=t.parent&&t.parent in Ca?Ca[t.parent]:null,n=e?e.selector:null,r=t.data,a=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var r=Ca[t.children[n]];if(e.data.tag===r.data.tag){e.metadata.position=r.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:r.tag,prefix:n,position:a,attributes:r.attributes};t.selector=[Ta(i,0),Ta(i,1)],t.hash=t.selector.map((function(t){return t?v(t):null})),t.hash.forEach((function(e){return ja[e]=t.id}))}function ai(t){var e=ii(ci(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function ii(t){return Ia.has(t)?Ia.get(t):null}function oi(t){return t in Ca?Ca[t]:null}function ui(t){var e=Ja(t);return e in Ca?Ca[e]:null}function ci(t){return t in ja?ja[t]:null}function si(){return Object.keys(ja)}function li(t){return Ia.has(Ja(t))}function di(){for(var t=[],e=0,n=Da;e<n.length;e++){var r=n[e];r in Ca&&t.push(Ca[r])}return Da=[],t}function fi(t){var e=Ia.get(t);if((null==e?void 0:e.nodeType)!==Node.DOCUMENT_FRAGMENT_NODE){if(e&&(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===e.tagName)wa(e);Ia.delete(t);var n=t in Ca?Ca[t]:null;if(n&&n.children)for(var r=0,a=n.children;r<a.length;r++){fi(a[r])}}}function pi(t){for(var e=null;null===e&&t.previousSibling;)e=Ja(t.previousSibling),t=t.previousSibling;return e}function hi(t,e,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!1),!s.lean||!s.lite){var a=Da.indexOf(t);a>=0&&1===e&&r?(Da.splice(a,1),Da.push(t)):-1===a&&n&&Da.push(t)}}var vi=[],gi=null,mi={},yi=[],bi=!1,wi=null;function Si(t,e){!1===gi.has(t)&&(gi.set(t,e),(wi=null===wi&&bi?new IntersectionObserver(Oi,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):wi)&&t&&t.nodeType===Node.ELEMENT_NODE&&wi.observe(t))}function _i(t){return gi&&gi.has(t)}function ki(){for(var t=[],e=0,n=yi;e<n.length;e++){var r=n[e],a=Ja(r.node);a?(r.state.data.id=a,mi[a]=r.state.data,vi.push(r.state)):t.push(r)}yi=t,vi.length>0&&Hr(7)}function Oi(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=r.target,i=r.boundingClientRect,o=r.intersectionRect,u=r.rootBounds;if(gi.has(a)&&i.width+i.height>0&&u&&u.width>0&&u.height>0){var c=a?Ja(a):null,s=c in mi?mi[c]:{id:c,name:gi.get(a),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||r.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;Ei(a,s,s.interaction,d?13:l?10:0),s.visibility>=13&&wi&&wi.unobserve(a)}}vi.length>0&&Hr(7)}function Ei(t,e,n,r){var a=n>e.interaction||r>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=r>e.visibility?r:e.visibility,e.id?(e.id in mi&&a||!(e.id in mi))&&(mi[e.id]=e,vi.push(Ti(e))):yi.push({node:t,state:Ti(e)})}function Ti(t){return{time:p(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function Mi(){vi=[]}function Ni(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return ta=p()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function xi(t,e,n){void 0===n&&(n=null);var r={id:0,hash:null,privacy:2};if(t){var a=ui(t);if(window.GemXHeatmap.__debug||(window.GemXHeatmap.__debug=[]),window.GemXHeatmap.__debug.push({event:e,selector:a.selector,hash:a.hash}),null!==a){var i=a.metadata;r.id=a.id,r.hash=a.hash,r.privacy=i.privacy,a.region&&function(t,e){var n=ii(t),r=t in mi?mi[t]:{id:t,visibility:0,interaction:16,name:gi.get(n)},a=16;switch(e){case 9:a=20;break;case 27:a=30}Ei(n,r,a,r.visibility)}(a.region,e),i.fraud&&he(i.fraud,a.id,n||a.data.value)}}return r}function Ii(t,e){return void 0===e&&(e=null),ut(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,s,l,d,f,h,v,g,m,y,b,w,S,O,E,T,M,N,x,I,C,D,P,X,Y,A,z,L,H,W,q;return ct(this,(function(U){switch(n=e||p(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=Je;a<i.length;a++)H=i[a],(o=xi(H.data.target,H.event)).id>0&&((r=[H.time,H.event]).push(o.id),r.push(H.data.x),r.push(H.data.y),void 0!==H.data.id&&(r.push(H.data.id),void 0!==H.data.isPrimary&&r.push(H.data.isPrimary.toString())),co(r),(void 0===H.data.isPrimary||H.data.isPrimary)&&j(H.event,H.data.x,H.data.y,H.time));an();break;case 9:case 48:for(u=0,c=Te;u<c.length;u++)H=c[u],s=xi(H.data.target,H.event,H.data.text),r=[H.time,H.event],l=s.hash?s.hash.join("."):"",d=ui(H.data.target),console.log("[GemX - Interaction - Encode]",d),r.push(s.id),r.push(H.data.x),r.push(H.data.y),r.push(H.data.eX),r.push(H.data.eY),r.push(H.data.button),r.push(H.data.reaction),r.push(H.data.context),r.push(_(H.data.text,"click",s.privacy)),r.push(k(H.data.link)),r.push(l),r.push(H.data.trust),r.push(H.data.isFullText),r.push(H.data.w),r.push(H.data.h),r.push(H.data.tag),r.push(H.data.class),r.push(H.data.id),r.push(H.data.source),co(r),Ri(H.time,H.event,l,H.data.x,H.data.y,H.data.reaction,H.data.context);Xe();break;case 38:for(f=0,h=Ae;f<h.length;f++)H=h[f],r=[H.time,H.event],(A=xi(H.data.target,H.event)).id>0&&(r.push(A.id),r.push(H.data.action),co(r));Le();break;case 11:v=on,r.push(v.width),r.push(v.height),j(t,v.width,v.height),hn(),co(r);break;case 26:g=zn,r.push(g.name),r.push(g.persisted),qn(),co(r);break;case 27:for(m=0,y=qe;m<y.length;m++)H=y[m],b=xi(H.data.target,H.event,H.data.value),(r=[H.time,H.event]).push(b.id),r.push(_(H.data.value,"input",b.privacy,!1,H.data.type)),r.push(H.data.trust),co(r);Ve();break;case 21:(w=xn)&&(S=xi(w.start,t),O=xi(w.end,t),r.push(S.id),r.push(w.startOffset),r.push(O.id),r.push(w.endOffset),Pn(),co(r));break;case 10:for(E=0,T=gn;E<T.length;E++)H=T[E],M=xi(H.data.target,H.event),N=xi(H.data.top,H.event),x=xi(H.data.bottom,H.event),I=(null==N?void 0:N.hash)?N.hash.join("."):"",C=(null==x?void 0:x.hash)?x.hash.join("."):"",M.id>0&&((r=[H.time,H.event]).push(M.id),r.push(H.data.x),r.push(H.data.y),r.push(I),r.push(C),r.push(H.data.trust),co(r),j(H.event,H.data.x,H.data.y,H.time));En();break;case 42:for(D=0,P=be;D<P.length;D++)H=P[D],r=[H.time,H.event],(A=xi(H.data.target,H.event)).id>0&&((r=[H.time,H.event]).push(A.id),r.push(H.data.type),r.push(_(H.data.value,"change",A.privacy)),r.push(_(H.data.checksum,"checksum",A.privacy)),co(r));Se();break;case 39:for(X=0,Y=Xn;X<Y.length;X++)H=Y[X],r=[H.time,H.event],(A=xi(H.data.target,H.event)).id>0&&(r.push(A.id),co(r));An();break;case 22:for(z=0,L=Di;z<L.length;z++)H=L[z],(r=[H.time,H.event]).push(H.data.type),r.push(H.data.hash),r.push(H.data.x),r.push(H.data.y),r.push(H.data.reaction),r.push(H.data.context),co(r,!1);Pi();break;case 28:W=Un,r.push(W.visible),co(r),R(n,W.visible),Vn();break;case 50:q=Bn,r.push(q.focused),co(r,!1),Kn()}return[2]}))}))}var Ci=[],Di=[];function ji(){Ci=[],Pi()}function Pi(){Di=[]}function Ri(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Ci.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),j(e,r,a,t)}function Xi(){if(Lu){var t=[];Di=[];for(var e=(Lu.start||0)+(Lu.duration||0),n=Math.max(e-2e3,0),r=0,a=Ci;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&Di.push(i),t.push(i))}Ci=t,Ii(22)}}function Yi(){Ci=[],Pi()}function Ai(t,e,n,r){return"href"===t&&"LINK"===r?"".concat(t,"=").concat(e):"".concat(t,"=").concat(_(e,0===t.indexOf("data-")?"data-":t,n))}var zi=[],Li=1,Hi=null;function Wi(){zi=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=Hi.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=qi(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Ui(i,u,{tag:r,attributes:n,value:a})}}(document),function(t){ut(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,s,l,d,f,h;return ct(this,(function(v){switch(e=p(),n=[e,t],t){case 8:r=Xr,n.push(r.width),n.push(r.height),j(t,r.width,r.height),co(n);break;case 43:if((a=zi).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],c=u.metadata.privacy,s=u.data,l=0,d=["tag","attributes","value"];l<d.length;l++)if(s[f=d[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(Ai(h,s[f][h],c,s.tag));break;case"value":n.push(_(s[f],s.tag,c))}co(sr(n),!0)}}return[2]}))}))}(43)}function qi(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 Ui(t,e,n){if(t&&n&&n.tag){var r=function(t){return null===t?null:Hi.has(t)?Hi.get(t):(Hi.set(t,Li),Li++)}(t),a=e?Hi.get(e):null,i=t.previousSibling?Hi.get(t.previousSibling):null;zi.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Gi=[],Fi=!1,Vi=null;function Bi(t){Fi&&"function"==typeof t&&Gi.push(t)}function Ji(t){if(Fi){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Vi.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Vi.add(e),X(Vi))},n.onerror=function(){Gu(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ki,Zi,Qi,$i,to,eo=Object.freeze({__proto__:null,event:Ji,register:Bi,start:function(){Fi=!0,Vi=new Set,s.modules&&s.modules.length>0&&s.modules.forEach((function(t){Ji(t)}))},stop:function(){Gi.reverse().forEach((function(t){try{t()}catch(t){}})),Gi=[],Fi=!1}}),no=0,ro=0,ao=null,io=0,oo=!1;function uo(){$i=!0,no=0,ro=0,oo=!1,io=0,Ki=[],Zi=[],Qi={},to=null}function co(t,e){if(void 0===e&&(e=!0),$i){var n=p(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(s.lean?!oo&&ro+a.length>10485760&&(ko(10,0),oo=!0):oo=!1,r){case 5:if(oo)break;if(re()){ae(t,a.length);break}no+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(oo)break;re()&&ae(t,a.length),ro+=a.length,Ki.push(a);break;default:Zi.push(a)}U(25);var i=function(){var t=!1===s.lean&&no>0?100:Lu.sequence*s.delay;return"string"==typeof s.upload?Math.max(Math.min(t,3e4),100):s.delay}();n-io>2*i&&(B(ao),ao=null),e&&null===ao&&(25!==r&&Q(),ao=V(po,i),io=n,Jo(ro))}}function so(t){$i&&(B(ao),ao=null,po(!1,t))}function lo(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],a=JSON.stringify(r);no+=a.length,ro+=a.length,Ki.push(a)}}function fo(){B(ao),po(!0),no=0,ro=0,oo=!1,io=0,Ki=[],Zi=[],Qi={},to=null,$i=!1}function po(t,e){return void 0===t&&(t=!1),ut(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,l,d,f,p,h,v,g,m,y,b;return ct(this,(function(w){switch(w.label){case 0:if(!$i)return[2];if(ao=null,(n=("gemx-snapshot"===e||!1===s.lean)&&ro>0&&(ro<1048576||Lu.sequence>0))&&F(1,1),ki(),Xi(),de(),function(){for(var t=0,e=vr;t<e.length;t++){var n=e[t],r=n==document?-1:Ja(n);br(n,r in hr?hr[r]:null)}}(),r=!0===t,!Lu)return[2];if(a=Bt(),!e&&a){for(i=[[9,"click"],[10,"scroll"]],o=new Set(Zi.map((function(t){return JSON.parse(t)[1]}))),u=[],c=0,l=i;c<l.length;c++)f=(d=l[c])[0],p=d[1],o.has(f)&&u.push(p);e=u.length>0?u.join("-"):void 0}return h=JSON.stringify(qu(r)),v="[".concat(Zi.join(),"]"),g=n?"[".concat(Ki.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?(b=null,[3,3]):[3,1];case 1:return[4,dt(m)];case 2:b=w.sent(),w.label=3;case 3:return G(2,(y=b)?y.length:m.length),ho(m,y,Lu.sequence,r,e),Zi=[],n&&(Ki=[],ro=0,no=0,oo=!1),[2]}}))}))}function ho(t,e,n,r,a){if(void 0===r&&(r=!1),"string"==typeof s.upload){var i=s.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(i,t))&&go(n)}catch(t){}if(!1===o){n in Qi?Qi[n].attempts++:Qi[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",i,!0),u.timeout=15e3,u.ontimeout=function(){Gu(new Error("".concat("Timeout"," : ").concat(i)))},null!==n&&(u.onreadystatechange=function(){Fu(vo)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(s.upload){(0,s.upload)(t,a),go(n)}}function vo(t,e){var n=Qi[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Ko(6):(0===t.status&&(s.upload=s.fallback?s.fallback:s.upload),to={sequence:e,attempts:n.attempts,status:t.status},Vo(2),ho(n.data,null,e)):(to={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Vo(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":Ko(6);break;case"UPGRADE":Go("Auto");break;case"ACTION":s.action&&i.length>1&&s.action(i[1]);break;case"EXTRACT":i.length>1&&Nt(i[1]);break;case"SIGNAL":i.length>1&&ue(i[1]);break;case"MODULE":i.length>1&&Ji(i[1]);break;case"SNAPSHOT":s.lean=!1,Wi()}}}(t.responseText),0===t.status&&(ho(n.data,null,e,!0),Ko(3)),t.status>=200&&t.status<=208&&go(e),delete Qi[e]))}function go(t){1===t&&(Pu(),ju())}var mo,yo={};function bo(t){var e=t.error||t;return e.message in yo||(yo[e.message]=0),yo[e.message]++>=5||e&&e.message&&(mo={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},wo(31)),!0}function wo(t){return ut(this,void 0,void 0,(function(){var e;return ct(this,(function(n){switch(e=[p(),t],t){case 31:e.push(mo.message),e.push(mo.line),e.push(mo.column),e.push(mo.stack),e.push(k(mo.source)),co(e);break;case 33:So&&(e.push(So.code),e.push(So.name),e.push(So.message),e.push(So.stack),e.push(So.severity),co(e,!1));break;case 41:fe&&(e.push(fe.id),e.push(fe.target),e.push(fe.checksum),co(e,!1))}return[2]}))}))}var So,_o={};function ko(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in _o&&_o[t].indexOf(i)>=0||(So={code:t,name:n,message:r,stack:a,severity:e},t in _o?_o[t].push(i):_o[t]=[i],wo(33))}var Oo=5e3,Eo={},To=[],Mo=null,No=null,xo=null;function Io(){Eo={},To=[],Mo=null,No=null}function Co(t,e){return void 0===e&&(e=0),ut(this,void 0,void 0,(function(){var n,r,a;return ct(this,(function(i){for(n=0,r=To;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){To[1===e?"unshift":"push"]({task:t,resolve:n,id:Mu()})})),null===Mo&&null===No&&Do(),[2,a]}))}))}function Do(){var t=To.shift();t&&(Mo=t,t.task().then((function(){t.id===Mu()&&(t.resolve(),Mo=null,Do())})).catch((function(e){t.id===Mu()&&(e&&ko(0,1,e.name,e.message,e.stack),Mo=null,Do())})))}function jo(t){var e=Yo(t);return e in Eo?performance.now()-Eo[e].start>Eo[e].yield?0:1:2}function Po(t){Eo[Yo(t)]={start:performance.now(),calls:0,yield:30}}function Ro(t){var e=performance.now(),n=Yo(t),r=e-Eo[n].start;G(t.cost,r),U(5),Eo[n].calls>0&&G(4,r)}function Xo(t){var e;return ut(this,void 0,void 0,(function(){var n,r;return ct(this,(function(a){switch(a.label){case 0:return(n=Yo(t))in Eo?(Ro(t),r=Eo[n],[4,Ao()]):[3,2];case 1:r.yield=(null===(e=a.sent())||void 0===e?void 0:e.timeRemaining())||30,function(t){var e=Yo(t);if(Eo&&Eo[e]){var n=Eo[e].calls,r=Eo[e].yield;Po(t),Eo[e].calls=n+1,Eo[e].yield=r}}(t),a.label=2;case 2:return[2,n in Eo?1:2]}}))}))}function Yo(t){return"".concat(t.id,".").concat(t.cost)}function Ao(){return ut(this,void 0,void 0,(function(){return ct(this,(function(t){switch(t.label){case 0:return No?[4,No]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){zo(t,{timeout:Oo})}))]}}))}))}var zo=window.requestIdleCallback||function(t,e){var n=performance.now(),r=new MessageChannel,a=r.port1,i=r.port2;a.onmessage=function(r){var a=performance.now(),o=a-n,u=a-r.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(a)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Lo(){Co(Ho,1).then((function(){Fu(Fr)(),Fu(ki)(),Fu(Mn)()}))}function Ho(){return ut(this,void 0,void 0,(function(){var t,e;return ct(this,(function(n){switch(n.label){case 0:return t=p(),Po(e={id:Mu(),cost:3}),[4,Vr(document,e,0,t)];case 1:return n.sent(),br(document,t),[4,Hr(5,e,t)];case 2:return n.sent(),Ro(e),[2]}}))}))}var Wo,qo=null;function Uo(){!s.lean&&s.upgrade&&s.upgrade("Config"),qo=null}function Go(t){lc()&&s.lean&&(s.lean=!1,qo={key:t},ju(),Pu(),s.upgrade&&s.upgrade(t),Vo(3),s.lite&&(Lo(),yr()))}function Fo(){qo=null}function Vo(t){var e=[p(),t];switch(t){case 4:var n=x;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),co(e,!1)),D();break;case 25:e.push(H.gap),co(e);break;case 35:e.push(Wo.check),co(e,!1);break;case 3:e.push(qo.key),co(e);break;case 2:e.push(to.sequence),e.push(to.attempts),e.push(to.status),co(e,!1);break;case 24:z.key&&e.push(z.key),e.push(z.value),co(e);break;case 34:var r=Object.keys(pt);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(pt[o])}yt(),co(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],d=parseInt(l,10);e.push(d),e.push(Math.round(q[l]))}q={},co(e,!1)}break;case 1:var f=Object.keys(tu);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];d=parseInt(g,10);e.push(d),e.push(tu[g])}ou(),co(e,!1)}break;case 36:var m=Object.keys(et);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];d=parseInt(w,10);e.push(d),e.push([].concat.apply([],et[w]))}at(),co(e,!1)}break;case 40:kt.forEach((function(t){e.push(t);var n=[];for(var r in _t[t]){var a=parseInt(r,10);n.push(a),n.push(_t[t][r])}e.push(n)})),Ct(),co(e,!1);break;case 47:e.push(uu.source),e.push(uu.ad_Storage),e.push(uu.analytics_Storage),co(e,!1)}}function Bo(){Wo={check:0}}function Jo(t){if(0===Wo.check){var e=Wo.check;e=Lu.sequence>=128?1:e,e=Lu.pageNum>=128?7:e,e=p()>72e5?2:e,(e=t>10485760?2:e)!==Wo.check&&Ko(e)}}function Ko(t){Wo.check=t,5!==t&&(Du(),Lc())}function Zo(){0!==Wo.check&&Vo(35)}function Qo(){Wo=null}var $o=null,tu=null,eu=!1;function nu(){$o={},tu={},eu=!1}function ru(){$o={},tu={},eu=!1}function au(t,e){if(e&&(e="".concat(e),t in $o||($o[t]=[]),$o[t].indexOf(e)<0)){if($o[t].length>128)return void(eu||(eu=!0,Ko(5)));$o[t].push(e),t in tu||(tu[t]=[]),tu[t].push(e)}}function iu(){Vo(1)}function ou(){tu={},eu=!1}var uu=null,cu=!0;function su(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;cu=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],du)}function lu(){cu=!0}function du(){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");xu(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 fu(t){hu(t.analytics_Storage?1:0),uu=t}function pu(){hu(2)}function hu(t){au(36,t.toString())}function vu(t){uu=t,Vo(47)}function gu(){var t;if(cu&&(Vo(47),cu=!1,!s.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&du()}}var mu=null,yu=[],bu=0,wu=null,Su=!1,_u={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function ku(){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:"",i=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";bu=r.indexOf("Electron")>0?1:0;var c=function(){var t={session:Xu(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Wt("_clsk",!s.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Yu(n[1])<18e5&&(t.session=n[0],t.count=Yu(n[2])+1,t.upgrade=Yu(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Au(),d=s.projectId||v(location.host),f=s.externalSession&&s.userId?s.userId:l.id,p=s.externalSession&&s.sessionId?s.sessionId:c.session;mu={projectId:d,userId:f,sessionId:p,pageNum:c.count},s.lean=s.track&&null!==c.upgrade?0===c.upgrade:s.lean,s.upload=s.track&&"string"==typeof s.upload&&c.upload&&c.upload.length>"https://".length?c.upload:s.upload,au(0,r),au(3,u),au(1,k(location.href,!!bu)),au(2,document.referrer),au(15,function(){var t=Xu();if(s.track&&At(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),au(16,document.documentElement.lang),au(17,document.dir),au(26,"".concat(window.devicePixelRatio)),au(28,l.dob.toString()),au(29,l.version.toString()),au(33,o),au(34,a),au(35,i),F(0,c.ts),F(1,0),F(35,bu);var h,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&F(39,1),navigator&&(au(9,navigator.language),F(33,navigator.hardwareConcurrency),F(32,navigator.maxTouchPoints),F(34,Math.round(navigator.deviceMemory)),(h=navigator.userAgentData)&&h.getHighEntropyValues?h.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;au(22,t.platform),au(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){au(24,t.name+"~"+t.version)})),au(25,t.model),F(27,t.mobile?1:0)})):au(22,navigator.platform)),screen&&(F(14,Math.round(screen.width)),F(15,Math.round(screen.height)),F(16,Math.round(screen.colorDepth))),null===wu&&(wu={source:l.consent?6:0,ad_Storage:s.track?"granted":"denied",analytics_Storage:s.track?"granted":"denied"}),Ou(),fu(Iu(wu)),s.externalSession||Ru(l)}function Ou(){if(!Su&&"granted"===(null==wu?void 0:wu.analytics_Storage)&&"granted"===(null==wu?void 0:wu.ad_Storage)){for(var t=0,e=s.cookies;t<e.length;t++){var n=e[t],r=Wt(n);r&&ht(n,r)}Su=!0}}function Eu(){mu=null,Su=!1,yu.forEach((function(t){t.called=!1}))}function Tu(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=s.lean?0:1,i=!1;mu&&(a||!1===e)&&(t(mu,!s.lean,r?wu:void 0),i=!0),!n&&i||yu.push({callback:t,wait:e,recall:n,called:i,consentInfo:r})}function Mu(){return mu?[mu.userId,mu.sessionId,mu.pageNum].join("."):""}function Nu(t){void 0===t&&(t=!0),xu(t?{source:4,ad_Storage:"granted",analytics_Storage:"granted"}:{source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function xu(t,e){var n;if(void 0===t&&(t=_u),void 0===e&&(e=5),lc()){var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Cu(t.ad_Storage,null==wu?void 0:wu.ad_Storage),analytics_Storage:Cu(t.analytics_Storage,null==wu?void 0:wu.analytics_Storage)};if(wu&&r.ad_Storage===wu.ad_Storage&&r.analytics_Storage===wu.analytics_Storage)return wu.source=r.source,vu(Iu(wu)),void pu();wu=r,ju(!0);var a=Iu(wu);if(!a.analytics_Storage&&s.track)return s.track=!1,Du(!0),Lc(),void window.setTimeout(zc,250);lc()&&a.analytics_Storage&&(s.track=!0,Ru(Au(),1),Pu()),Ou(),vu(a),pu()}}function Iu(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 Cu(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Du(t){void 0===t&&(t=!1),qt("_clsk","",0),t&&qt("_clck","",0)}function ju(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(yu.length>0)for(var n=0;n<yu.length;n++){var r=yu[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(mu,!s.lean,r.consentInfo?wu:void 0),r.called=!0,r.recall||(yu.splice(n,1),n--))}}(s.lean?0:1,t)}function Pu(){if(mu&&s.track&&!s.externalSession){var t=Math.round(Date.now()),e=s.upload&&"string"==typeof s.upload?s.upload.replace("https://",""):"",n=s.lean?0:1;qt("_clsk",[mu.sessionId,t,mu.pageNum,n,e].join(Ht),1)}}function Ru(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===s.dob?0:s.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&qt("_clck",[mu.userId,2,n.toString(36),e,r].join(Ht),365)}function Xu(){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 Yu(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Au(){var t={id:Xu(),version:0,expiry:null,consent:0,dob:0},e=Wt("_clck",!s.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Yu(n[1])),n.length>2&&(t.expiry=Yu(n[2],36)),n.length>3&&1===Yu(n[3])&&(t.consent=1),n.length>4&&Yu(n[1])>1&&(t.dob=Yu(n[4])),s.track=s.track||1===t.consent,t.id=s.track?n[0]:t.id}return t}var zu,Lu=null;function Hu(){var t=mu;Lu={version:h,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 Wu(){Lu=null}function qu(t){return Lu.start=Lu.start+Lu.duration,Lu.duration=p()-Lu.start,Lu.sequence++,Lu.upload=t&&"sendBeacon"in navigator?1:0,Lu.end=t?1:0,Lu.applicationPlatform=0,Lu.url=k(location.href,!1,!0),[Lu.version,Lu.sequence,Lu.start,Lu.duration,Lu.projectId,Lu.userId,Lu.sessionId,Lu.pageNum,Lu.upload,Lu.end,Lu.applicationPlatform,Lu.url]}function Uu(){zu=[]}function Gu(t){if(zu&&-1===zu.indexOf(t.message)){var e=s.report;if(e&&e.length>0&&Lu){var n={v:Lu.version,p:Lu.projectId,u:Lu.userId,s:Lu.sessionId,n:Lu.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)),zu.push(t.message)}}return t}function Fu(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Gu(t)}var n=performance.now()-e;G(4,n),n>30&&(U(7),F(6,n),t.dn&&ko(9,0,"".concat(t.dn,"-").concat(n)))}}var Vu=new Map;function Bu(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Fu(n);try{t[l("addEventListener")](e,n,{capture:r,passive:a}),Zu(t)||Vu.set(t,[]),Vu.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Ju(){Vu.forEach((function(t,e){Qu(t,e)})),Vu=new Map}function Ku(t){Zu(t)&&Qu(Vu.get(t),t)}function Zu(t){return Vu.has(t)}function Qu(t,e){t.forEach((function(t){try{e[l("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Vu.delete(e)}var $u=null,tc=null,ec=null,nc=0;function rc(){return!(nc++>20)||(ko(4,0),!1)}function ac(){nc=0,ec!==oc()&&(Lc(),window.setTimeout(ic,250))}function ic(){zc(),F(29,1)}function oc(){return location.href?location.href.replace(location.hash,""):location.href}var uc=!1;function cc(){uc=!0,d=f(),Io(),Ju(),Uu(),function(){if(ec=oc(),nc=0,Bu(window,"popstate",ac),null===$u)try{$u=history.pushState,history.pushState=function(){$u.apply(this,arguments),lc()&&rc()&&ac()}}catch(t){$u=null}if(null===tc)try{tc=history.replaceState,history.replaceState=function(){tc.apply(this,arguments),lc()&&rc()&&ac()}}catch(t){tc=null}}()}function sc(){ec=null,nc=0,Uu(),Ju(),Io(),d=0,uc=!1}function lc(){return uc}function dc(){zc(),L("clarityGemX","restart")}var fc=Object.freeze({__proto__:null,start:function(){!function(){pe=[],F(26,navigator.webdriver?1:0);try{F(31,window.top==window.self||window.top==window?1:2)}catch(t){F(31,0)}}(),Bu(window,"error",bo),yo={},_o={}},stop:function(){_o={}}});function pc(){var t=Vt().discoverTrigger;t&&(ee(t.maxPlaybackBytes,vc),function(t){hc=!1;var e=!1,n=!1,r=function(r){var a;n||e||(n=!0,console.log("[GemX Snapshot] ".concat(r," triggered:")),setTimeout(vc,null!==(a=t.delayMs)&&void 0!==a?a:0))};t.activeTimeMs&&setTimeout((function(){e=!0,yn(null),Ne(null)}),t.activeTimeMs);t.scrollDepthPercent&&yn((function(){var e=document.documentElement.scrollHeight-window.innerHeight;if(!(e<=0)){var n="pageYOffset"in window?Math.round(window.pageYOffset):Math.round(document.documentElement.scrollTop);Math.min(100,Math.round(n/e*100))>=t.scrollDepthPercent&&r("scroll")}}));if(t.clickCount){var a=0;Ne((function(){++a>=t.clickCount&&r("click")}))}}(t))}var hc=!1;function vc(){if(!hc){if(hc=!0,window.GemXHeatmap){var t=si();window.GemXHeatmap.__domSnapshot=t}Ne(null),yn(null),lo(ie()),so("gemx-snapshot")}}var gc=Object.freeze({__proto__:null,hashText:ai,start:function(){Gr(),Fr(),Mi(),wi=null,gi=new WeakMap,mi={},yi=[],bi=!!window.IntersectionObserver,Ga(),s.delayDom?Bu(window,"load",(function(){aa()})):aa(),function(){var t;try{window.clarityOverrides=window.clarityOverrides||{},(null===(t=window.customElements)||void 0===t?void 0:t.define)&&!window.clarityOverrides.define&&(window.clarityOverrides.define=window.customElements.define,window.customElements.define=function(){return lc()&&zr(arguments[0]),window.clarityOverrides.define.apply(this,arguments)})}catch(t){}}(),pc(),Lo(),yr(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Dr(),Pr(Or,"play"),Pr(Er,"pause"),Pr(Tr,"commitStyles"),Pr(Mr,"cancel"),Pr(Nr,"finish"),null===kr&&(kr=Element.prototype.animate,Element.prototype.animate=function(){var t=kr.apply(this,arguments);return Rr(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?Rr(n,"finish"):"paused"===n.playState||"idle"===n.playState?Rr(n,"pause"):"running"===n.playState&&Rr(n,"play")}}()},stop:function(){Mi(),gi=null,mi={},yi=[],wi&&(wi.disconnect(),wi=null),bi=!1,Fa(),function(){for(var t=0,e=Array.from(Br);t<e.length;t++){var n=e[t];n&&n.disconnect()}Br=new Set,ea={},Jr=[],Kr={},Zr=[],ta=0,Qr=null,na=new WeakMap}(),Gr(),pr={},hr={},vr=[],gr=[],wr(),Dr(),Lr(),Ar.clear(),ne()}});var mc=null;function yc(){mc=null}function bc(t){mc={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){ut(this,void 0,void 0,(function(){var e,n;return ct(this,(function(r){return e=p(),n=[e,t],29===t&&(n.push(mc.fetchStart),n.push(mc.connectStart),n.push(mc.connectEnd),n.push(mc.requestStart),n.push(mc.responseStart),n.push(mc.responseEnd),n.push(mc.domInteractive),n.push(mc.domComplete),n.push(mc.loadEventStart),n.push(mc.loadEventEnd),n.push(mc.redirectCount),n.push(mc.size),n.push(mc.type),n.push(mc.protocol),n.push(mc.encodedSize),n.push(mc.decodedSize),yc(),co(n)),[2]}))}))}(29)}var wc,Sc=0,_c=1/0,kc=0,Oc=0,Ec=[],Tc=new Map,Mc=function(){return Sc||0},Nc=function(){if(!Ec.length)return-1;var t=Math.min(Ec.length-1,Math.floor((Mc()-Oc)/50));return Ec[t].latency},xc=function(){Oc=Mc(),Ec.length=0,Tc.clear()},Ic=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?Sc=performance.interactionCount:t.interactionId&&(_c=Math.min(_c,t.interactionId),kc=Math.max(kc,t.interactionId),Sc=kc?(kc-_c)/7+1:0)}(t);var e=Ec[Ec.length-1],n=Tc.get(t.interactionId);if(n||Ec.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{var r={id:t.interactionId,latency:t.duration};Tc.set(r.id,r),Ec.push(r)}Ec.sort((function(t,e){return e.latency-t.latency})),Ec.length>10&&Ec.splice(10).forEach((function(t){return Tc.delete(t.id)}))}}},Cc=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Dc(){try{wc&&wc.disconnect(),wc=new PerformanceObserver(Fu(jc));for(var t=0,e=Cc;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&G(9,0),wc.observe({type:n,buffered:!0}))}}catch(t){ko(3,1)}}function jc(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var r=t[n];switch(r.entryType){case"navigation":bc(r);break;case"resource":var a=r.name;au(4,Rc(a)),a!==s.upload&&a!==s.fallback||F(28,r.duration);break;case"longtask":U(7);break;case"first-input":e&&F(10,r.processingStart-r.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(Ic(r),au(37,Nc().toString()));break;case"layout-shift":e&&!r.hadRecentInput&&G(9,1e3*r.value);break;case"largest-contentful-paint":e&&F(8,r.startTime)}}}(t.getEntries())}var Pc=null;function Rc(t){return Pc||(Pc=document.createElement("a")),Pc.href=t,Pc.host}var Xc=[fc,gc,cr],Yc=[fc,gc,cr,Object.freeze({__proto__:null,start:function(){yc(),function(){navigator&&navigator.connection&&au(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Bu(window,"load",V.bind(this,Dc,0)):Dc():ko(3,0)}()},stop:function(){wc&&wc.disconnect(),wc=null,xc(),Pc=null,yc()}}),eo],Ac=Yc;function zc(t){void 0===t&&(t=null),Ac="gemx"===(null==t?void 0:t.mode)?Xc:Yc,console.log("[clarity] version:",h),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===uc&&"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||uc)return!1;for(var e in t)e in s&&(s[e]=t[e])}(t),cc(),se(),Ac.forEach((function(t){return Fu(t.start)()})),null===t&&Uc())}function Lc(){lc()&&(Ac.slice().reverse().forEach((function(t){return Fu(t.stop)()})),le(),sc(),void 0!==Wc&&(Wc[qc]=function(){(Wc[qc].q=Wc[qc].q||[]).push(arguments),"start"===arguments[0]&&Wc[qc].q.unshift(Wc[qc].q.pop())&&Uc()}))}var Hc=Object.freeze({__proto__:null,consent:Nu,consentv2:xu,dlog:au,event:L,hashText:ai,identify:vt,maxMetric:F,measure:Fu,metadata:Tu,pause:function(){lc()&&(L("clarityGemX","pause"),null===No&&(No=new Promise((function(t){xo=t}))))},queue:co,register:Bi,resume:function(){lc()&&(No&&(xo(),No=null,null===Mo&&Do()),L("clarityGemX","resume"))},schedule:Co,set:ht,signal:function(t){oe=t},start:zc,stop:Lc,time:p,upgrade:Go,version:h}),Wc=window,qc="clarityGemX";function Uc(){if(void 0!==Wc){if(Wc[qc]&&Wc[qc].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Wc[qc]&&Wc[qc].q||[];for(Wc[qc]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Hc[t].apply(Hc,e)},Wc[qc].v=h;t.length>0;)Wc[qc].apply(Wc,t.shift())}}Uc()}();
@@ -1 +0,0 @@
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.94";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){if("IMG"===t.tagName){var e=t;return e.src||e.currentSrc||""}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,console.log("[clarity] version:",f),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()}();