clarity-js 0.7.42 → 0.7.43
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/build/clarity.extended.js +1 -1
- package/build/clarity.insight.js +1 -1
- package/build/clarity.js +16 -4
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +16 -4
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/data/metadata.ts +6 -0
- package/src/performance/observer.ts +4 -1
- package/types/data.d.ts +7 -2
package/build/clarity.js
CHANGED
|
@@ -163,7 +163,7 @@ function stop$F() {
|
|
|
163
163
|
startTime = 0;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
var version$1 = "0.7.
|
|
166
|
+
var version$1 = "0.7.43";
|
|
167
167
|
|
|
168
168
|
// tslint:disable: no-bitwise
|
|
169
169
|
function hash (input, precision) {
|
|
@@ -4441,8 +4441,12 @@ var callbacks = [];
|
|
|
4441
4441
|
var electron = 0 /* BooleanFlag.False */;
|
|
4442
4442
|
var rootDomain = null;
|
|
4443
4443
|
function start$9() {
|
|
4444
|
+
var _a, _b, _c;
|
|
4444
4445
|
rootDomain = null;
|
|
4445
4446
|
var ua = navigator && "userAgent" in navigator ? navigator.userAgent : "" /* Constant.Empty */;
|
|
4447
|
+
var timezone = (_c = (_b = (_a = Intl === null || Intl === void 0 ? void 0 : Intl.DateTimeFormat()) === null || _a === void 0 ? void 0 : _a.resolvedOptions()) === null || _b === void 0 ? void 0 : _b.timeZone) !== null && _c !== void 0 ? _c : '';
|
|
4448
|
+
var timezoneOffset = new Date().getTimezoneOffset().toString();
|
|
4449
|
+
var ancestorOrigins = window.location.ancestorOrigins ? Array.from(window.location.ancestorOrigins).toString() : '';
|
|
4446
4450
|
var title = document && document.title ? document.title : "" /* Constant.Empty */;
|
|
4447
4451
|
electron = ua.indexOf("Electron" /* Constant.Electron */) > 0 ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
4448
4452
|
// Populate ids for this page
|
|
@@ -4464,6 +4468,9 @@ function start$9() {
|
|
|
4464
4468
|
log(26 /* Dimension.DevicePixelRatio */, "".concat(window.devicePixelRatio));
|
|
4465
4469
|
log(28 /* Dimension.Dob */, u.dob.toString());
|
|
4466
4470
|
log(29 /* Dimension.CookieVersion */, u.version.toString());
|
|
4471
|
+
log(33 /* Dimension.AncestorOrigins */, ancestorOrigins);
|
|
4472
|
+
log(34 /* Dimension.Timezone */, timezone);
|
|
4473
|
+
log(35 /* Dimension.TimezoneOffset */, timezoneOffset);
|
|
4467
4474
|
// Capture additional metadata as metrics
|
|
4468
4475
|
max(0 /* Metric.ClientTimestamp */, s.ts);
|
|
4469
4476
|
max(1 /* Metric.Playback */, 0 /* BooleanFlag.False */);
|
|
@@ -4482,8 +4489,8 @@ function start$9() {
|
|
|
4482
4489
|
max(16 /* Metric.ColorDepth */, Math.round(screen.colorDepth));
|
|
4483
4490
|
}
|
|
4484
4491
|
// Read cookies specified in configuration
|
|
4485
|
-
for (var _i = 0,
|
|
4486
|
-
var key =
|
|
4492
|
+
for (var _i = 0, _d = config$1.cookies; _i < _d.length; _i++) {
|
|
4493
|
+
var key = _d[_i];
|
|
4487
4494
|
var value = getCookie(key);
|
|
4488
4495
|
if (value) {
|
|
4489
4496
|
set(key, value);
|
|
@@ -5123,7 +5130,7 @@ function compute(entry) {
|
|
|
5123
5130
|
}
|
|
5124
5131
|
|
|
5125
5132
|
var observer;
|
|
5126
|
-
var types = ["navigation" /* Constant.Navigation */, "resource" /* Constant.Resource */, "longtask" /* Constant.LongTask */, "first-input" /* Constant.FID */, "layout-shift" /* Constant.CLS */, "largest-contentful-paint" /* Constant.LCP */];
|
|
5133
|
+
var types = ["navigation" /* Constant.Navigation */, "resource" /* Constant.Resource */, "longtask" /* Constant.LongTask */, "first-input" /* Constant.FID */, "layout-shift" /* Constant.CLS */, "largest-contentful-paint" /* Constant.LCP */, "event" /* Constant.PerformanceEventTiming */];
|
|
5127
5134
|
function start$2() {
|
|
5128
5135
|
// Capture connection properties, if available
|
|
5129
5136
|
if (navigator && "connection" in navigator) {
|
|
@@ -5199,6 +5206,11 @@ function process(entries) {
|
|
|
5199
5206
|
max(10 /* Metric.FirstInputDelay */, entry["processingStart"] - entry.startTime);
|
|
5200
5207
|
}
|
|
5201
5208
|
break;
|
|
5209
|
+
case "event" /* Constant.PerformanceEventTiming */:
|
|
5210
|
+
if (visible) {
|
|
5211
|
+
max(37 /* Metric.InteractionNextPaint */, entry.duration);
|
|
5212
|
+
}
|
|
5213
|
+
break;
|
|
5202
5214
|
case "layout-shift" /* Constant.CLS */:
|
|
5203
5215
|
// Scale the value to avoid sending back floating point number
|
|
5204
5216
|
if (visible && !entry["hadRecentInput"]) {
|
package/build/clarity.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return $a},get start(){return Qa},get stop(){return tr},get track(){return Ba}}),e=Object.freeze({__proto__:null,get clone(){return kr},get compute(){return Er},get data(){return hr},get keys(){return pr},get reset(){return Or},get start(){return yr},get stop(){return Nr},get trigger(){return wr},get update(){return Sr}}),n=Object.freeze({__proto__:null,get check(){return Cr},get compute(){return jr},get data(){return fr},get start(){return Ir},get stop(){return Ar},get trigger(){return Dr}}),a=Object.freeze({__proto__:null,get compute(){return Wr},get data(){return Rr},get log(){return Pr},get reset(){return Xr},get start(){return zr},get stop(){return Hr},get updates(){return Lr}}),r=Object.freeze({__proto__:null,get callbacks(){return qr},get clear(){return Zr},get consent(){return Kr},get data(){return Yr},get electron(){return Ur},get id(){return Gr},get metadata(){return Jr},get save(){return Qr},get shortid(){return ei},get start(){return Vr},get stop(){return Br}}),i=Object.freeze({__proto__:null,get data(){return ci},get envelope(){return di},get start(){return si},get stop(){return li}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.42";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(t,e,n,a){if(void 0===a&&(a=!1),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,a=!1,r=!1,i=!1,o=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return O(),t?t.replace(v,e).replace(p,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}function O(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var S=null,N=null,T=!1;function M(){T&&(S={time:s(),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}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function x(t,e,n,a){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=a;break;default:N.pointerX=e,N.pointerY=n}T=!0}function _(t){N.activityTime=t}function I(t,e){N.visible="visible"===e?1:0,N.visible||_(t),T=!0}function C(){T&&_r(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){T=!1,M()},get state(){return S},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){_i()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},_r(24))}var R,L=null,z=null;function H(t){t in L||(L[t]=0),t in z||(z[t]=0),L[t]++,z[t]++}function P(t,e){null!==e&&(t in L||(L[t]=0),t in z||(z[t]=0),L[t]+=e,z[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(z[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(pi(t),e,n)}function Y(t){return window.clearTimeout(t)}var q=0,U=0,F=null;function V(){F&&Y(F),F=X(B,U),q=s()}function B(){var t=s();R={gap:t-q},_r(25),R.gap<3e5?F=X(B,U):Ti&&(A("clarity","suspend"),Fi(),["mousemove","touchstart"].forEach((function(t){return gi(document,t,Ci)})),["resize","scroll","pageshow"].forEach((function(t){return gi(window,t,Ci)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,q=0},stop:function(){Y(F),q=0,U=0}}),G=null;function K(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function Z(){_r(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:K}),tt=null;function et(t){_i()&&o.lean&&(o.lean=!1,tt={key:t},Qr(),o.upgrade&&o.upgrade(t),_r(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(_i()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){_r(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var gt=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var bt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function yt(){L={},z={},H(5),bt.forEach((function(t){return pi(t.start)()}))}function wt(){bt.slice().reverse().forEach((function(t){return pi(t.stop)()})),L={},z={}}function kt(){st(),C(),Wr(),_r(0),Z(),jr(),Er()}var Et,Ot=[];function St(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(Et={id:t,target:e,checksum:d(n,24)},Ot.indexOf(Et.checksum)<0&&(Ot.push(Et.checksum),cr(41)))}var Nt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Tt={};function Mt(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=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 i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return xt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in Tt||(Tt[c]=[]),Tt[c].indexOf(t.id)<0&&Tt[c].push(t.id),i="".concat(c).concat("~").concat(Tt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&xt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function xt(t){if(!t)return!1;if(Nt.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}var _t=1,It=null,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt=[],zt=[],Ht=[],Pt=[],Wt=null,Xt=null,Yt=null,qt=null;function Ut(){Vt(),Bt(document,!0)}function Ft(){Vt()}function Vt(){_t=1,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt="address,password,contact".split(","),zt="password,secret,pass,social,ssn,code,hidden".split(","),Ht="radio,checkbox,range,button,reset,submit".split(","),Pt="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Tt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Rt.push(t):At.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return $e(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),Rt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){dr(5,1,t?t.name:null)}}function Jt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Wt.get(t);return!n&&e&&(n=_t++,Wt.set(t,n)),n||null}function Gt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Xt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Kt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Xt.has(e)?Xt.get(e):null}function Zt(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Qt(t){var e=t.parent&&t.parent in Ct?Ct[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=Ct[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[Mt(i,0),Mt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return jt[e]=t.id}))}function $t(t){var e=te(ne(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function te(t){return It.has(t)?It.get(t):null}function ee(t){var e=Jt(t);return e in Ct?Ct[e]:null}function ne(t){return t in jt?jt[t]:null}function ae(t){return It.has(Jt(t))}function re(){for(var t=[],e=0,n=Dt;e<n.length;e++){var a=n[e];a in Ct&&t.push(Ct[a])}return Dt=[],t}function ie(t){if(It.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){It.delete(t);var e=t in Ct?Ct[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ie(a[n])}}}function oe(t){for(var e=null;null===e&&t.previousSibling;)e=Jt(t.previousSibling),t=t.previousSibling;return e}function ue(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=Dt.indexOf(t);r>=0&&1===e&&a?(Dt.splice(r,1),Dt.push(t)):-1===r&&n&&Dt.push(t)}var ce=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Jt(t,!0),u=e?Jt(e):null,c=oe(t),s=null,l=tn(t)?i:null,d=qt.has(t)?qt.get(t):null,f=o.content?1:3;u>=0&&Ct[u]&&((s=Ct[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&($e(t,n.attributes["data-clarity-region"]),l=i),It.set(i,t),Ct[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Pt.indexOf(u)>=0:var c=o.type,s="",l=["class","style"];Object.keys(o).filter((function(t){return!l.includes(t)})).forEach((function(t){return s+=o[t].toLowerCase()}));var d=zt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Ht.indexOf(c)>=0?i:d?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Yt.has(t):r.privacy=Yt.get(t);break;case qt.has(t):r.privacy=2;break;case"*T"===u:var f=n&&n.data?n.data.tag:"",h=n&&n.selector?n.selector[1]:"",p=["STYLE","TITLE","svg:style"];r.privacy=p.includes(f)||At.some((function(t){return h.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,Lt,r)}}(t,Ct[i],s),Qt(Ct[i]),"IMG"===(r=Ct[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),ue(i,a)},get:ee,getId:Jt,getNode:te,getValue:function(t){return t in Ct?Ct[t]:null},has:ae,hashText:$t,iframe:Kt,lookup:ne,parse:Bt,sameorigin:Gt,start:Ut,stop:Ft,update:function(t,e,n,a){var r=Jt(t),i=e?Jt(e):null,o=oe(t),u=!1,c=!1;if(r in Ct){var s=Ct[r];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:Ct[i].children.indexOf(o)+1;Ct[i].children.splice(d,0,r),s.region=tn(t)?r:Ct[i].region}else!function(t,e){if(t in Ct){var n=Ct[t];n.metadata.active=!1,n.parent=null,ue(t,e),ie(t)}}(r,a);if(null!==l&&l>=0){var f=Ct[l].children.indexOf(r);f>=0&&Ct[l].children.splice(f,1)}c=!0}for(var h in n)Zt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Qt(s),ue(r,a,u,c)}},updates:re}),se=5e3,le={},de=[],fe=null,he=null,pe=null;function ve(){le={},de=[],fe=null,he=null}function ge(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=de;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){de[1===e?"unshift":"push"]({task:t,resolve:n,id:Gr()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===Gr()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===Gr()&&(e&&dr(0,1,e.name,e.message,e.stack),fe=null,me())})))}function be(t){var e=Ee(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function ye(t){le[Ee(t)]={start:performance.now(),calls:0,yield:30}}function we(t){var e=performance.now(),n=Ee(t),a=e-le[n].start;P(t.cost,a),H(5),le[n].calls>0&&P(4,a)}function ke(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=Ee(t))in le?(we(t),n=le[e],[4,Oe()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Ee(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;ye(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Ee(t){return"".concat(t.id,".").concat(t.cost)}function Oe(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return he?[4,he]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ne(t,{timeout:se})}))]}}))}))}var Se,Ne=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));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 Te(){Se=null}function Me(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Se&&c===Se.width&&v===Se.height||null===c||null===v||(Se={width:c,height:v},qe(8))}var xe=[],_e=[],Ie=[],Ce=null,De=null,je=null,Ae=null,Re=null,Le="clarityAnimationId",ze="clarityOperationCount",He=20;function Pe(){Ie=[]}function We(t,e,n,a,r,i,o){Ie.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),qe(44)}function Xe(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Ye(this,e),t.apply(this,arguments)})}function Ye(t,e){if(_i()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Le]){t[Le]=ei(),t[ze]=0;var r=n.getKeyframes(),i=n.getTiming();We(s(),t[Le],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[ze]++<He){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4}o&&We(s(),t[Le],o)}}}}function qe(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,O,S,N,T,M,I,C,D,j,A,R,L;return rt(this,(function(z){switch(z.label){case 0:switch(a=n||s(),r=[a,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]}return[3,12];case 1:return i=Se,r.push(i.width),r.push(i.height),x(t,i.width,i.height),$a(r),[3,12];case 2:for(u=0,c=Be;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),$a(r);return on(),[3,12];case 3:for(d=0,f=xe;d<f.length;d++)b=f[d],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.newIds),$a(r);for(h=0,p=_e;h<p.length;h++)b=p[h],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.cssRules),$a(r);return[3,12];case 4:for(v=0,g=Ie;v<g.length;v++)b=g[v],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.keyFrames),r.push(b.data.timing),r.push(b.data.timeline),r.push(b.data.targetId),$a(r);return Pe(),[3,12];case 5:if(2===be(e))return[3,12];if(!((y=re()).length>0))return[3,11];w=0,k=y,z.label=6;case 6:return w<k.length?(E=k[w],0!==(O=be(e))?[3,8]:[4,ke(e)]):[3,10];case 7:O=z.sent(),z.label=8;case 8:if(2===O)return[3,10];for(S=E.data,N=E.metadata.active,T=E.metadata.suspend,M=E.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(E),C=0,D=N?["tag","attributes","value"]:["tag"];C<D.length;C++)if(S[j=D[C]])switch(j){case"tag":A=Ue(E),R=I?-1:1,r.push(E.id*R),E.parent&&N&&(r.push(E.parent),E.previous&&r.push(E.previous)),r.push(T?"*M":S[j]),A&&2===A.length&&r.push("".concat("#").concat(Fe(A[0]),".").concat(Fe(A[1])));break;case"attributes":for(L in S[j])void 0!==S[j][L]&&r.push(Ve(L,S[j][L],M));break;case"value":St(E.metadata.fraud,E.id,S[j]),r.push(m(S[j],S.tag,M,I))}z.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),$a(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),z.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ue(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=te(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Fe(t){return t.toString(36)}function Ve(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var Be=[],Je=null,Ge={},Ke=[],Ze=!1,Qe=null;function $e(t,e){!1===Je.has(t)&&(Je.set(t,e),(Qe=null===Qe&&Ze?new IntersectionObserver(nn,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Qe)&&t&&t.nodeType===Node.ELEMENT_NODE&&Qe.observe(t))}function tn(t){return Je&&Je.has(t)}function en(){for(var t=[],e=0,n=Ke;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Ge[r]=a.state.data,Be.push(a.state)):t.push(a)}Ke=t,Be.length>0&&qe(7)}function nn(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(Je.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Ge?Ge[c]:{id:c,name:Je.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;an(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Qe&&Qe.unobserve(r)}}Be.length>0&&qe(7)}function an(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in Ge&&r||!(e.id in Ge))&&(Ge[e.id]=e,Be.push(rn(e))):Ke.push({node:t,state:rn(e)})}function rn(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function on(){Be=[]}var un=[];function cn(t){var e=La(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,24):"";un.push({time:s(t),event:42,data:{target:La(t),type:e.type,value:n,checksum:a}}),ge(Ha.bind(this,42))}}function sn(){un=[]}function ln(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Kt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var dn=["input","textarea","radio","button","canvas"],fn=[];function hn(t){gi(t,"click",pn.bind(this,9,t),!0)}function pn(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="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;if(a){var u=ln(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=La(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=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(fn.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:gn(c),context:mn(l),text:vn(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(Ha.bind(this,t)))}function vn(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function gn(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(dn.indexOf(e)>=0)return 0}return 1}function mn(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 bn(){fn=[]}var yn=[];function wn(t,e){yn.push({time:s(e),event:38,data:{target:La(e),action:t}}),ge(Ha.bind(this,38))}function kn(){yn=[]}var En=null,On=[];function Sn(t){var e=La(t),n=ee(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};On.length>0&&On[On.length-1].data.target===r.target&&On.pop(),On.push({time:s(t),event:27,data:r}),Y(En),En=X(Nn,1e3,27)}}function Nn(t){ge(Ha.bind(this,t))}function Tn(){On=[]}var Mn,xn=[],_n=null;function In(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="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;if(a){var u=ln(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&Dn({time:s(n),event:t,data:{target:La(n),x:i,y:o}})}function Cn(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&Dn({time:o,event:t,data:{target:La(n),x:l,y:d}})}}function Dn(t){switch(t.event){case 12:case 15:case 19:var e=xn.length,n=e>1?xn[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&xn.pop(),xn.push(t),Y(_n),_n=X(jn,500,t.event);break;default:xn.push(t),jn(t.event)}}function jn(t){ge(Ha.bind(this,t))}function An(){xn=[]}function Rn(){var t=document.documentElement;Mn={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},Ha(11)}function Ln(){Mn=null}var zn=[],Hn=null,Pn=null,Wn=null;function Xn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?La(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Kt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u=window.innerWidth,c=window.innerHeight,l=u/3,d=u>c?.15*c:.2*c,f=c-d,h=Yn(l,d),p=Yn(l,f),v={time:s(t),event:10,data:{target:a,x:i,y:o,top:h,bottom:p}};if(null===t&&0===i&&0===o||null===i||null===o)return Hn=h,void(Pn=p);var g=zn.length,m=g>1?zn[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(m,v)&&zn.pop(),zn.push(v),Y(Wn),Wn=X(qn,500,10)}function Yn(t,e){var n,a,r;return"caretPositionFromPoint"in document?r=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(r=null===(a=document.caretRangeFromPoint(t,e))||void 0===a?void 0:a.startContainer),r||(r=document.elementFromPoint(t,e)),r&&r.nodeType===Node.TEXT_NODE&&(r=r.parentNode),r}function qn(t){ge(Ha.bind(this,t))}function Un(){var t,e;if(Hn){var n=za(Hn,null);Pr(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(Pn){var a=za(Pn,null);Pr(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}var Fn=null,Vn=null,Bn=null;function Jn(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=Fn.start?Fn.start:null;null!==Vn&&null!==Fn.start&&n!==e.anchorNode&&(Y(Bn),Gn(21)),Fn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},Vn=e,Y(Bn),Bn=X(Gn,500,21)}}function Gn(t){ge(Ha.bind(this,t))}function Kn(){Vn=null,Fn={start:0,startOffset:0,end:0,endOffset:0}}var Zn,Qn,$n=[];function ta(t){$n.push({time:s(t),event:39,data:{target:La(t)}}),ge(Ha.bind(this,39))}function ea(){$n=[]}function na(t){Zn={name:t.type},Ha(26,s(t)),Fi()}function aa(){Zn=null}function ra(t){void 0===t&&(t=null),Qn={visible:"visibilityState"in document?document.visibilityState:"default"},Ha(28,s(t))}function ia(){Qn=null}function oa(t){!function(t){var e=Kt(t);gi(e?e.contentWindow:t===document?window:t,"scroll",Xn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(hn(t),function(t){gi(t,"cut",wn.bind(this,0),!0),gi(t,"copy",wn.bind(this,1),!0),gi(t,"paste",wn.bind(this,2),!0)}(t),function(t){gi(t,"mousedown",In.bind(this,13,t),!0),gi(t,"mouseup",In.bind(this,14,t),!0),gi(t,"mousemove",In.bind(this,12,t),!0),gi(t,"wheel",In.bind(this,15,t),!0),gi(t,"dblclick",In.bind(this,16,t),!0),gi(t,"touchstart",Cn.bind(this,17,t),!0),gi(t,"touchend",Cn.bind(this,18,t),!0),gi(t,"touchmove",Cn.bind(this,19,t),!0),gi(t,"touchcancel",Cn.bind(this,20,t),!0)}(t),function(t){gi(t,"input",Sn,!0)}(t),function(t){gi(t,"selectstart",Jn.bind(this,t),!0),gi(t,"selectionchange",Jn.bind(this,t),!0)}(t),function(t){gi(t,"change",cn,!0)}(t),function(t){gi(t,"submit",ta,!0)}(t))}var ua=Object.freeze({__proto__:null,observe:oa,start:function(){Pa=[],Xa(),bn(),kn(),An(),Tn(),gi(window,"resize",Rn),Rn(),gi(document,"visibilitychange",ra),ra(),zn=[],Xn(),Kn(),sn(),ea(),gi(window,"pagehide",na)},stop:function(){Pa=[],Xa(),bn(),kn(),Y(_n),xn.length>0&&jn(xn[xn.length-1].event),Y(En),Tn(),Ln(),ia(),Y(Wn),zn=[],Hn=null,Pn=null,Kn(),Y(Bn),sn(),ea(),aa()}}),ca=/[^0-9\.]/g;function sa(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Pr(5,t[a]),Pr(8,t.creator),Pr(18,t.headline);break;case"product":Pr(5,t[a]),Pr(10,t.name),Pr(12,t.sku),t.brand&&Pr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,la(t.ratingValue,100)),W(18,la(t.bestRating)),W(19,la(t.worstRating))),W(12,la(t.ratingCount)),W(17,la(t.reviewCount));break;case"person":Pr(8,t.name);break;case"offer":Pr(7,t.availability),Pr(14,t.itemCondition),Pr(13,t.priceCurrency),Pr(12,t.sku),W(13,la(t.price));break;case"brand":Pr(6,t.name)}null!==r&&"object"==typeof r&&sa(r)}}function la(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(ca,""))*e)}return null}var da=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],fa=/[\r\n]+/g;function ha(t,e,n){var a,r=null;if(2===e&&!1===ae(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ae(t)?"add":"update",o=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&t.parentNode?Kt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),pa(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host)if(Bt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){pa(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ae(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};ce[i](t,o,f,e)}break;case Node.ELEMENT_NODE:var h=t,p=h.tagName,v=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;da.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(o=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(p="svg:"+p),p){case"HTML":o=u&&o?Kt(o):null;var g={tag:(u?"iframe:":"")+p,attributes:v};ce[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{sa(JSON.parse(h.text.replace(fa,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[i](t,o,m,e);break;case"META":var b="property"in v?"property":"name"in v?"name":null;if(b&&"content"in v){var y=v.content;switch(v[b]){case"og:title":Pr(20,y);break;case"og:type":Pr(19,y);break;case"generator":Pr(21,y)}}break;case"HEAD":var w={tag:p,attributes:v},k=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;w.attributes["*B"]=k.protocol+"//"+k.host+k.pathname,ce[i](t,o,w,e);break;case"BASE":var E=ee(t.parentElement);if(E){var O=document.createElement("a");O.href=v.href,E.data.attributes["*B"]=O.protocol+"//"+O.host+O.pathname}break;case"STYLE":var S={tag:p,attributes:v,value:va(h)};ce[i](t,o,S,e);break;case"IFRAME":var N=t,T={tag:p,attributes:v};Gt(N)&&(!function(t){!1===ae(t)&&gi(t,"load",Ra.bind(this,t,"childList"),!0)}(N),T.attributes["*O"]="true",N.contentDocument&&N.contentWindow&&"loading"!==N.contentDocument.readyState&&(r=N.contentDocument)),ce[i](t,o,T,e);break;case"LINK":if(Ur&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var x=document.styleSheets[M];if(x.ownerNode==h){var _={tag:"STYLE",attributes:v,value:ga(x)};ce[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};ce[i](t,o,I,e);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var C={tag:p,attributes:v};ce[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),ce[i](t,o,D,e)}}return r}function pa(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](pi(Ia)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),ba.push(n))}catch(t){dr(2,0,t?t.name:null)}}(t),oa(t))}function va(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=ga(t.sheet)),e}function ga(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(dr(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function ma(t,e,n,a){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=be(e))?[3,3]:[4,ke(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=ha(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var ba=[],ya=[],wa=null,ka=null,Ea=null,Oa=null,Sa=null,Na=[],Ta=null,Ma=null,xa={};function _a(){if(ba=[],Na=[],Ta=null,Ma=0,xa={},null===wa&&(wa=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return _i()&&Aa(this.ownerNode),wa.apply(this,arguments)}),null===Oa&&(Oa=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return _i()&&Aa(this.parentStyleSheet.ownerNode),Oa.apply(this,arguments)}),null===ka&&(ka=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return _i()&&Aa(this.ownerNode),ka.apply(this,arguments)}),null===Sa&&(Sa=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return _i()&&Aa(this.parentStyleSheet.ownerNode),Sa.apply(this,arguments)}),null===Ea){Ea=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return _i()?Aa(Ea.apply(this,arguments)):Ea.apply(this,arguments)}}catch(t){Ea=null}}}function Ia(t){var e=s();K(6,e),ya.push({time:e,mutations:t}),ge(Ca,1).then((function(){X(Me),pi(en)()}))}function Ca(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:ye(t={id:Gr(),cost:3}),f.label=1;case 1:if(!(ya.length>0))return[3,8];e=ya.shift(),n=s(),a=0,r=e.mutations,f.label=2;case 2:return a<r.length?(i=r[a],0!==(u=be(t))?[3,4]:[4,ke(t)]):[3,6];case 3:u=f.sent(),f.label=4;case 4:if(2===u)return[3,6];switch(c=i.target,l=o.throttleDom?function(t,e,n,a){var r=t.target?ee(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Ma,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,Da(t.addedNodes),Da(t.removedNodes)].join();xa[c]=c in xa?xa[c]:[0,n];var s=xa[c];if(!1===i&&s[0]>=10&&ja(s[2],2,e),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,10===s[0])return s[2]=t.removedNodes,"suspend";if(s[0]>10)return""}return t.type}(i,t,n,e.time):i.type,l&&c&&c.ownerDocument&&Bt(c.ownerDocument),l&&c&&c.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&c.host&&Bt(c),l){case"attributes":ha(c,3,e.time);break;case"characterData":ha(c,4,e.time);break;case"childList":ja(i.addedNodes,1,t,e.time),ja(i.removedNodes,2,t,e.time);break;case"suspend":(d=ee(c))&&(d.metadata.suspend=!0)}f.label=5;case 5:return a++,[3,2];case 6:return[4,qe(6,t,e.time)];case 7:return f.sent(),[3,1];case 8:return we(t),[2]}}))}))}function Da(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ja(t,e,n,a){return at(this,void 0,void 0,(function(){var a,r,i;return rt(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(ma(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=be(n))?[3,4]:[4,ke(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];ha(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Aa(t){return Na.indexOf(t)<0&&Na.push(t),Ta&&Y(Ta),Ta=X((function(){!function(){for(var t=0,e=Na;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;Ra(n,a?"childList":"characterData")}}Na=[]}()}),33),t}function Ra(t,e){pi(Ia)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function La(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Ma=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function za(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ee(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=te(t),a=t in Ge?Ge[t]:{id:t,visibility:0,interaction:16,name:Je.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}an(n,a,r,a.visibility)}(r.region,e),i.fraud&&St(i.fraud,r.id,n||r.data.value)}}return a}function Ha(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,O,S,N,T,M,_,C,D,j,A,R,L,z,H,P,W,X;return rt(this,(function(Y){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=xn;r<i.length;r++)W=i[r],(o=za(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(o.id),a.push(W.data.x),a.push(W.data.y),$a(a),x(W.event,W.data.x,W.data.y));An();break;case 9:for(u=0,c=fn;u<c.length;u++)W=c[u],l=za(W.data.target,W.event,W.data.text),a=[W.time,W.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(W.data.x),a.push(W.data.y),a.push(W.data.eX),a.push(W.data.eY),a.push(W.data.button),a.push(W.data.reaction),a.push(W.data.context),a.push(m(W.data.text,"click",l.privacy)),a.push(b(W.data.link)),a.push(d),a.push(W.data.trust),$a(a),Ya(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);bn();break;case 38:for(f=0,h=yn;f<h.length;f++)W=h[f],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&(a.push(z.id),a.push(W.data.action),$a(a));kn();break;case 11:p=Mn,a.push(p.width),a.push(p.height),x(t,p.width,p.height),Ln(),$a(a);break;case 26:v=Zn,a.push(v.name),aa(),$a(a);break;case 27:for(g=0,y=On;g<y.length;g++)W=y[g],w=za(W.data.target,W.event,W.data.value),(a=[W.time,W.event]).push(w.id),a.push(m(W.data.value,"input",w.privacy)),$a(a);Tn();break;case 21:(k=Fn)&&(E=za(k.start,t),O=za(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Kn(),$a(a));break;case 10:for(S=0,N=zn;S<N.length;S++)W=N[S],T=za(W.data.target,W.event),M=za(W.data.top,W.event),_=za(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.hash.join("."):"",T.id>0&&((a=[W.time,W.event]).push(T.id),a.push(W.data.x),a.push(W.data.y),a.push(C),a.push(D),$a(a),x(W.event,W.data.x,W.data.y,W.time));zn=[],Hn=null,Pn=null;break;case 42:for(j=0,A=un;j<A.length;j++)W=A[j],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(z.id),a.push(W.data.type),a.push(m(W.data.value,"change",z.privacy)),a.push(m(W.data.checksum,"checksum",z.privacy)),$a(a));sn();break;case 39:for(R=0,L=$n;R<L.length;R++)W=L[R],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&(a.push(z.id),$a(a));ea();break;case 22:for(H=0,P=Wa;H<P.length;H++)W=P[H],(a=[W.time,W.event]).push(W.data.type),a.push(W.data.hash),a.push(W.data.x),a.push(W.data.y),a.push(W.data.reaction),a.push(W.data.context),$a(a,!1);Xa();break;case 28:X=Qn,a.push(X.visible),$a(a),I(n,X.visible),ia()}return[2]}))}))}var Pa=[],Wa=[];function Xa(){Wa=[]}function Ya(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Pa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var qa,Ua,Fa,Va,Ba,Ja=0,Ga=0,Ka=null,Za=0;function Qa(){Va=!0,Ja=0,Ga=0,Za=0,qa=[],Ua=[],Fa={},Ba=null}function $a(t,e){if(void 0===e&&(e=!0),Va){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Ja+=r.length;case 37:case 6:case 43:case 45:case 46:Ga+=r.length,qa.push(r);break;default:Ua.push(r)}H(25);var i=function(){var t=!1===o.lean&&Ja>0?100:ci.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Za>2*i&&(Y(Ka),Ka=null),e&&null===Ka&&(25!==a&&V(),Ka=X(er,i),Za=n,Cr(Ga))}}function tr(){Y(Ka),er(!0),Ja=0,Ga=0,Za=0,qa=[],Ua=[],Fa={},Ba=null,Va=!1}function er(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Ka=null,(e=!1===o.lean&&Ga>0&&(Ga<1048576||ci.sequence>0))&&W(1,1),en(),function(){var t=[];Wa=[];for(var e=ci.start+ci.duration,n=Math.max(e-2e3,0),a=0,r=Pa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&Wa.push(i),t.push(i))}Pa=t,Ha(22)}(),kt(),n=!0===t,a=JSON.stringify(di(n)),r="[".concat(Ua.join(),"]"),i=e?"[".concat(qa.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return P(2,(c=s)?c.length:u.length),nr(u,c,ci.sequence,n),Ua=[],e&&(qa=[],Ga=0,Ja=0),[2]}}))}))}function nr(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&rr(n)}catch(t){}if(!1===i){n in Fa?Fa[n].attempts++:Fa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){hi(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){pi(ar)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),rr(n)}}function ar(t,e){var n=Fa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Dr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),nr(n.data,null,e)):(Ba={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&_r(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":Dr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&wr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(nr(n.data,null,e,!0),Dr(3)),t.status>=200&&t.status<=208&&rr(e),delete Fa[e]))}function rr(t){1===t&&Qr()}var ir,or={};function ur(t){var e=t.error||t;return e.message in or||(or[e.message]=0),or[e.message]++>=5||e&&e.message&&(ir={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},cr(31)),!0}function cr(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ir.message),e.push(ir.line),e.push(ir.column),e.push(ir.stack),e.push(b(ir.source)),$a(e);break;case 33:sr&&(e.push(sr.code),e.push(sr.name),e.push(sr.message),e.push(sr.stack),e.push(sr.severity),$a(e,!1));break;case 41:Et&&(e.push(Et.id),e.push(Et.target),e.push(Et.checksum),$a(e,!1))}return[2]}))}))}var sr,lr={};function dr(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in lr&&lr[t].indexOf(i)>=0||(sr={code:t,name:n,message:a,stack:r,severity:e},t in lr?lr[t].push(i):lr[t]=[i],cr(33))}var fr,hr={},pr=new Set,vr={},gr={},mr={},br={};function yr(){Or()}function wr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in vr[a]={},gr[a]={},mr[a]={},br[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);vr[a][u]=Tr(l);break;case 2:gr[a][u]=c;break;case 4:var d=c.substring(1,c.length);mr[a][u]=d}}}catch(t){dr(8,1,t?t.name:null)}}function kr(t){return JSON.parse(JSON.stringify(t))}function Er(){try{for(var t in vr){var e=parseInt(t);if(""==br[e]||document.querySelector(br[e])){var n=vr[e];for(var a in n){var r=parseInt(a),i=(h=Mr(kr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Sr(e,r,i)}var o=gr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Sr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=mr[e];for(var d in l){var f=parseInt(d);Sr(e,f,$t(l[f]).trim().substring(0,1e4))}}}pr.size>0&&_r(40)}catch(t){dr(5,1,t?t.name:null)}var h}function Or(){pr.clear()}function Sr(t,e,n){var a,r=!1;t in hr||(hr[t]={},r=!0),a=mr[t],0==Object.keys(a).length||e in hr[t]&&hr[t][e]==n||(r=!0),hr[t][e]=n,r&&pr.add(t)}function Nr(){Or()}function Tr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function Mr(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&xr(r,a.condition))n=Mr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(xr(c,a.condition)){var s=Mr(t,c);s&&i.push(s)}}n=i}return n}return null}function xr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function _r(t){var e=[s(),t];switch(t){case 4:var n=S;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),$a(e,!1)),M();break;case 25:e.push(R.gap),$a(e);break;case 35:e.push(fr.check),$a(e,!1);break;case 3:e.push(tt.key),$a(e);break;case 2:e.push(Ba.sequence),e.push(Ba.attempts),e.push(Ba.status),$a(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),$a(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),$a(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},$a(e,!1)}break;case 1:var h=Object.keys(Lr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(Lr[g])}Xr(),$a(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),$a(e,!1)}break;case 40:pr.forEach((function(t){e.push(t);var n=[];for(var a in hr[t]){var r=parseInt(a,10);n.push(r),n.push(hr[t][a])}e.push(n)})),Or(),$a(e,!1)}}function Ir(){fr={check:0}}function Cr(t){if(0===fr.check){var e=fr.check;e=ci.sequence>=128?1:e,e=ci.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==fr.check&&Dr(e)}}function Dr(t){fr.check=t,Zr(),Fi()}function jr(){0!==fr.check&&_r(35)}function Ar(){fr=null}var Rr=null,Lr=null;function zr(){Rr={},Lr={}}function Hr(){Rr={},Lr={}}function Pr(t,e){e&&(e="".concat(e),t in Rr||(Rr[t]=[]),Rr[t].indexOf(e)<0&&(Rr[t].push(e),t in Lr||(Lr[t]=[]),Lr[t].push(e),Rr[t].length>128&&Dr(5)))}function Wr(){_r(1)}function Xr(){Lr={}}var Yr=null,qr=[],Ur=0,Fr=null;function Vr(){Fr=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",e=document&&document.title?document.title:"";Ur=t.indexOf("Electron")>0?1:0;var n,a=function(){var t={session:ei(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=ri("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-ni(n[1])<18e5&&(t.session=n[0],t.count=ni(n[2])+1,t.upgrade=ni(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=ai(),i=o.projectId||d(location.host);Yr={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},o.lean=o.track&&null!==a.upgrade?0===a.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&a.upload&&a.upload.length>"https://".length?a.upload:o.upload,Pr(0,t),Pr(3,e),Pr(1,b(location.href,!!Ur)),Pr(2,document.referrer),Pr(15,function(){var t=ei();if(o.track&&$r(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Pr(16,document.documentElement.lang),Pr(17,document.dir),Pr(26,"".concat(window.devicePixelRatio)),Pr(28,r.dob.toString()),Pr(29,r.version.toString()),W(0,a.ts),W(1,0),W(35,Ur),navigator&&(Pr(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(n=navigator.userAgentData)&&n.getHighEntropyValues?n.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Pr(22,t.platform),Pr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Pr(24,t.name+"~"+t.version)})),Pr(25,t.model),W(27,t.mobile?1:0)})):Pr(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var u=0,c=o.cookies;u<c.length;u++){var s=c[u],l=ri(s);l&&ot(s,l)}ti(r)}function Br(){Fr=null,Yr=null}function Jr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;Yr&&(n||!1===e)?t(Yr,!o.lean):qr.push({callback:t,wait:e})}function Gr(){return Yr?[Yr.userId,Yr.sessionId,Yr.pageNum].join("."):""}function Kr(t){if(void 0===t&&(t=!0),!t)return o.track=!1,oi("_clsk","",-Number.MAX_VALUE),oi("_clck","",-Number.MAX_VALUE),Fi(),void window.setTimeout(Ui,250);_i()&&(o.track=!0,ti(ai(),1))}function Zr(){oi("_clsk","",0)}function Qr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){qr.length>0&&qr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(Yr,!o.lean)}))}(n),oi("_clsk",[Yr.sessionId,t,Yr.pageNum,n,e].join("|"),1)}function $r(t,e){try{return!!t[e]}catch(t){return!1}}function ti(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&oi("_clck",[Yr.userId,2,n.toString(36),e,a].join("|"),365)}function ei(){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 ni(t,e){return void 0===e&&(e=10),parseInt(t,e)}function ai(){var t={id:ei(),version:0,expiry:null,consent:0,dob:0},e=ri("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=ni(n[1])),n.length>2&&(t.expiry=ni(n[2],36)),n.length>3&&1===ni(n[3])&&(t.consent=1),n.length>4&&ni(n[1])>1&&(t.dob=ni(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function ri(t){var e;if($r(document,"cookie")){var n=document.cookie.split(";");if(n)for(var a=0;a<n.length;a++){var r=n[a].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){for(var i=ii(r[1]),o=i[0],u=i[1];o;)o=(e=ii(u))[0],u=e[1];return u}}}return null}function ii(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function oi(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||$r(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===Fr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Fr=".".concat(c[s]).concat(Fr||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Fr),ri(t)===e))return;Fr=""}}catch(t){Fr=""}document.cookie=Fr?"".concat(u).concat(";").concat("domain=").concat(Fr):u}}var ui,ci=null;function si(){var t=Yr;ci={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function li(){ci=null}function di(t){return ci.start=ci.start+ci.duration,ci.duration=s()-ci.start,ci.sequence++,ci.upload=t&&"sendBeacon"in navigator?1:0,ci.end=t?1:0,[ci.version,ci.sequence,ci.start,ci.duration,ci.projectId,ci.userId,ci.sessionId,ci.pageNum,ci.upload,ci.end]}function fi(){ui=[]}function hi(t){if(ui&&-1===ui.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:ci.version,p:ci.projectId,u:ci.userId,s:ci.sessionId,n:ci.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),ui.push(t.message)}}return t}function pi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw hi(t)}var n=performance.now()-e;P(4,n),n>30&&(H(7),W(6,n))}}var vi=[];function gi(t,e,n,a){void 0===a&&(a=!1),n=pi(n);try{t[u("addEventListener")](e,n,a),vi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function mi(){for(var t=0,e=vi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}vi=[]}var bi=null,yi=null,wi=null,ki=0;function Ei(){return!(ki++>20)||(dr(4,0),!1)}function Oi(){ki=0,wi!==Ni()&&(Fi(),window.setTimeout(Si,250))}function Si(){Ui(),W(29,1)}function Ni(){return location.href?location.href.replace(location.hash,""):location.href}var Ti=!1;function Mi(){Ti=!0,c=performance.now()+performance.timeOrigin,ve(),mi(),fi(),wi=Ni(),ki=0,gi(window,"popstate",Oi),null===bi&&(bi=history.pushState,history.pushState=function(){bi.apply(this,arguments),_i()&&Ei()&&Oi()}),null===yi&&(yi=history.replaceState,history.replaceState=function(){yi.apply(this,arguments),_i()&&Ei()&&Oi()})}function xi(){wi=null,ki=0,fi(),mi(),ve(),c=0,Ti=!1}function _i(){return Ti}function Ii(t){if(null===t||Ti)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function Ci(){Ui(),A("clarity","restart")}var Di=Object.freeze({__proto__:null,start:function(){!function(){Ot=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self?1:2)}catch(t){W(31,0)}}(),gi(window,"error",ur),or={},lr={}},stop:function(){lr={}}});function ji(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),ye(e={id:Gr(),cost:3}),[4,ma(document,e,0)];case 1:return n.sent(),[4,qe(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}var Ai=Object.freeze({__proto__:null,hashText:$t,start:function(){Te(),Me(),on(),Qe=null,Je=new WeakMap,Ge={},Ke=[],Ze=!!window.IntersectionObserver,Ut(),o.delayDom?gi(window,"load",(function(){_a()})):_a(),ge(ji,1).then((function(){pi(Me)(),pi(en)(),pi(Un)()})),window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Pe(),Xe(De,"play"),Xe(je,"pause"),Xe(Ae,"cancel"),Xe(Re,"finish"),null===Ce&&(Ce=Element.prototype.animate,Element.prototype.animate=function(){var t=Ce.apply(this,arguments);return Ye(t,"play"),t}))},stop:function(){on(),Je=null,Ge={},Ke=[],Qe&&(Qe.disconnect(),Qe=null),Ze=!1,Ft(),function(){for(var t=0,e=ba;t<e.length;t++){var n=e[t];n&&n.disconnect()}ba=[],xa={},ya=[],Na=[],Ma=0,Ta=null}(),Te(),Pe()}});var Ri,Li=null;function zi(){Li=null}function Hi(t){Li={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){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(Li.fetchStart),n.push(Li.connectStart),n.push(Li.connectEnd),n.push(Li.requestStart),n.push(Li.responseStart),n.push(Li.responseEnd),n.push(Li.domInteractive),n.push(Li.domComplete),n.push(Li.loadEventStart),n.push(Li.loadEventEnd),n.push(Li.redirectCount),n.push(Li.size),n.push(Li.type),n.push(Li.protocol),n.push(Li.encodedSize),n.push(Li.decodedSize),zi(),$a(n)),[2]}))}))}(29)}var Pi=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Wi(){try{Ri&&Ri.disconnect(),Ri=new PerformanceObserver(pi(Xi));for(var t=0,e=Pi;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&P(9,0),Ri.observe({type:n,buffered:!0}))}}catch(t){dr(3,1)}}function Xi(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":Hi(a);break;case"resource":var r=a.name;Pr(4,Yi(r)),r!==o.upload&&r!==o.fallback||W(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&P(9,1e3*a.value);break;case"largest-contentful-paint":e&&W(8,a.startTime)}}}(t.getEntries())}function Yi(t){var e=document.createElement("a");return e.href=t,e.host}var qi=[Di,Ai,ua,Object.freeze({__proto__:null,start:function(){zi(),function(){navigator&&"connection"in navigator&&Pr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?gi(window,"load",X.bind(this,Wi,0)):Wi():dr(3,0)}()},stop:function(){Ri&&Ri.disconnect(),Ri=null,zi()}})];function Ui(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Ti&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(Ii(t),Mi(),yt(),qi.forEach((function(t){return pi(t.start)()})),null===t&&Gi())}function Fi(){_i()&&(qi.slice().reverse().forEach((function(t){return pi(t.stop)()})),wt(),xi(),void 0!==Bi&&(Bi[Ji]=function(){(Bi[Ji].q=Bi[Ji].q||[]).push(arguments),"start"===arguments[0]&&Bi[Ji].q.unshift(Bi[Ji].q.pop())&&Gi()}))}var Vi=Object.freeze({__proto__:null,consent:Kr,event:A,hashText:$t,identify:ut,metadata:Jr,pause:function(){_i()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){_i()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:Ui,stop:Fi,upgrade:et,version:l}),Bi=window,Ji="clarity";function Gi(){if(void 0!==Bi){if(Bi[Ji]&&Bi[Ji].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Bi[Ji]&&Bi[Ji].q||[];for(Bi[Ji]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Vi[t].apply(Vi,e)},Bi[Ji].v=l;t.length>0;)Bi[Ji].apply(Bi,t.shift())}}Gi()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return $a},get start(){return Qa},get stop(){return tr},get track(){return Ba}}),e=Object.freeze({__proto__:null,get clone(){return kr},get compute(){return Er},get data(){return hr},get keys(){return pr},get reset(){return Or},get start(){return yr},get stop(){return Nr},get trigger(){return wr},get update(){return Sr}}),n=Object.freeze({__proto__:null,get check(){return Cr},get compute(){return jr},get data(){return fr},get start(){return Ir},get stop(){return Ar},get trigger(){return Dr}}),a=Object.freeze({__proto__:null,get compute(){return Wr},get data(){return Rr},get log(){return Pr},get reset(){return Xr},get start(){return zr},get stop(){return Hr},get updates(){return Lr}}),r=Object.freeze({__proto__:null,get callbacks(){return qr},get clear(){return Zr},get consent(){return Kr},get data(){return Yr},get electron(){return Ur},get id(){return Gr},get metadata(){return Jr},get save(){return Qr},get shortid(){return ei},get start(){return Vr},get stop(){return Br}}),i=Object.freeze({__proto__:null,get data(){return ci},get envelope(){return di},get start(){return si},get stop(){return li}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.43";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=!0,p=null,v=null,g=null;function m(t,e,n,a){if(void 0===a&&(a=!1),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,a=!1,r=!1,i=!1,o=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?y(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?y(t):w(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}return t}function b(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function y(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function w(t){return t.replace(f,"•")}function k(t,e,n){return O(),t?t.replace(v,e).replace(p,n):t}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}function O(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var S=null,N=null,T=!1;function M(){T&&(S={time:s(),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}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function x(t,e,n,a){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=a;break;default:N.pointerX=e,N.pointerY=n}T=!0}function _(t){N.activityTime=t}function I(t,e){N.visible="visible"===e?1:0,N.visible||_(t),T=!0}function C(){T&&_r(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){T=!1,M()},get state(){return S},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){_i()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},_r(24))}var R,L=null,z=null;function H(t){t in L||(L[t]=0),t in z||(z[t]=0),L[t]++,z[t]++}function P(t,e){null!==e&&(t in L||(L[t]=0),t in z||(z[t]=0),L[t]+=e,z[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(z[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(pi(t),e,n)}function Y(t){return window.clearTimeout(t)}var q=0,U=0,F=null;function V(){F&&Y(F),F=X(B,U),q=s()}function B(){var t=s();R={gap:t-q},_r(25),R.gap<3e5?F=X(B,U):Ti&&(A("clarity","suspend"),Fi(),["mousemove","touchstart"].forEach((function(t){return gi(document,t,Ci)})),["resize","scroll","pageshow"].forEach((function(t){return gi(window,t,Ci)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,q=0},stop:function(){Y(F),q=0,U=0}}),G=null;function K(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function Z(){_r(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:K}),tt=null;function et(t){_i()&&o.lean&&(o.lean=!1,tt={key:t},Qr(),o.upgrade&&o.upgrade(t),_r(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function rt(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(_i()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){_r(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var gt=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var bt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function yt(){L={},z={},H(5),bt.forEach((function(t){return pi(t.start)()}))}function wt(){bt.slice().reverse().forEach((function(t){return pi(t.stop)()})),L={},z={}}function kt(){st(),C(),Wr(),_r(0),Z(),jr(),Er()}var Et,Ot=[];function St(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(Et={id:t,target:e,checksum:d(n,24)},Ot.indexOf(Et.checksum)<0&&(Ot.push(Et.checksum),cr(41)))}var Nt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Tt={};function Mt(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=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 i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return xt(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in Tt||(Tt[c]=[]),Tt[c].indexOf(t.id)<0&&Tt[c].push(t.id),i="".concat(c).concat("~").concat(Tt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&xt(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function xt(t){if(!t)return!1;if(Nt.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}var _t=1,It=null,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt=[],zt=[],Ht=[],Pt=[],Wt=null,Xt=null,Yt=null,qt=null;function Ut(){Vt(),Bt(document,!0)}function Ft(){Vt()}function Vt(){_t=1,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt="address,password,contact".split(","),zt="password,secret,pass,social,ssn,code,hidden".split(","),Ht="radio,checkbox,range,button,reset,submit".split(","),Pt="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Tt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Rt.push(t):At.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return $e(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),Rt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){dr(5,1,t?t.name:null)}}function Jt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Wt.get(t);return!n&&e&&(n=_t++,Wt.set(t,n)),n||null}function Gt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Xt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Kt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Xt.has(e)?Xt.get(e):null}function Zt(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Qt(t){var e=t.parent&&t.parent in Ct?Ct[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=Ct[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[Mt(i,0),Mt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return jt[e]=t.id}))}function $t(t){var e=te(ne(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function te(t){return It.has(t)?It.get(t):null}function ee(t){var e=Jt(t);return e in Ct?Ct[e]:null}function ne(t){return t in jt?jt[t]:null}function ae(t){return It.has(Jt(t))}function re(){for(var t=[],e=0,n=Dt;e<n.length;e++){var a=n[e];a in Ct&&t.push(Ct[a])}return Dt=[],t}function ie(t){if(It.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){It.delete(t);var e=t in Ct?Ct[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ie(a[n])}}}function oe(t){for(var e=null;null===e&&t.previousSibling;)e=Jt(t.previousSibling),t=t.previousSibling;return e}function ue(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=Dt.indexOf(t);r>=0&&1===e&&a?(Dt.splice(r,1),Dt.push(t)):-1===r&&n&&Dt.push(t)}var ce=Object.freeze({__proto__:null,add:function(t,e,n,a){var r,i=Jt(t,!0),u=e?Jt(e):null,c=oe(t),s=null,l=tn(t)?i:null,d=qt.has(t)?qt.get(t):null,f=o.content?1:3;u>=0&&Ct[u]&&((s=Ct[u]).children.push(i),l=null===l?s.region:l,d=null===d?s.metadata.fraud:d,f=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&($e(t,n.attributes["data-clarity-region"]),l=i),It.set(i,t),Ct[i]={id:i,parent:u,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:f,position:null,fraud:d,size:null}},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Pt.indexOf(u)>=0:var c=o.type,s="",l=["class","style"];Object.keys(o).filter((function(t){return!l.includes(t)})).forEach((function(t){return s+=o[t].toLowerCase()}));var d=zt.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Ht.indexOf(c)>=0?i:d?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Yt.has(t):r.privacy=Yt.get(t);break;case qt.has(t):r.privacy=2;break;case"*T"===u:var f=n&&n.data?n.data.tag:"",h=n&&n.selector?n.selector[1]:"",p=["STYLE","TITLE","svg:style"];r.privacy=p.includes(f)||At.some((function(t){return h.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,Lt,r)}}(t,Ct[i],s),Qt(Ct[i]),"IMG"===(r=Ct[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),ue(i,a)},get:ee,getId:Jt,getNode:te,getValue:function(t){return t in Ct?Ct[t]:null},has:ae,hashText:$t,iframe:Kt,lookup:ne,parse:Bt,sameorigin:Gt,start:Ut,stop:Ft,update:function(t,e,n,a){var r=Jt(t),i=e?Jt(e):null,o=oe(t),u=!1,c=!1;if(r in Ct){var s=Ct[r];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:Ct[i].children.indexOf(o)+1;Ct[i].children.splice(d,0,r),s.region=tn(t)?r:Ct[i].region}else!function(t,e){if(t in Ct){var n=Ct[t];n.metadata.active=!1,n.parent=null,ue(t,e),ie(t)}}(r,a);if(null!==l&&l>=0){var f=Ct[l].children.indexOf(r);f>=0&&Ct[l].children.splice(f,1)}c=!0}for(var h in n)Zt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Qt(s),ue(r,a,u,c)}},updates:re}),se=5e3,le={},de=[],fe=null,he=null,pe=null;function ve(){le={},de=[],fe=null,he=null}function ge(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=de;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){de[1===e?"unshift":"push"]({task:t,resolve:n,id:Gr()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===Gr()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===Gr()&&(e&&dr(0,1,e.name,e.message,e.stack),fe=null,me())})))}function be(t){var e=Ee(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function ye(t){le[Ee(t)]={start:performance.now(),calls:0,yield:30}}function we(t){var e=performance.now(),n=Ee(t),a=e-le[n].start;P(t.cost,a),H(5),le[n].calls>0&&P(4,a)}function ke(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=Ee(t))in le?(we(t),n=le[e],[4,Oe()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Ee(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;ye(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Ee(t){return"".concat(t.id,".").concat(t.cost)}function Oe(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return he?[4,he]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ne(t,{timeout:se})}))]}}))}))}var Se,Ne=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));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 Te(){Se=null}function Me(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Se&&c===Se.width&&v===Se.height||null===c||null===v||(Se={width:c,height:v},qe(8))}var xe=[],_e=[],Ie=[],Ce=null,De=null,je=null,Ae=null,Re=null,Le="clarityAnimationId",ze="clarityOperationCount",He=20;function Pe(){Ie=[]}function We(t,e,n,a,r,i,o){Ie.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),qe(44)}function Xe(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Ye(this,e),t.apply(this,arguments)})}function Ye(t,e){if(_i()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Le]){t[Le]=ei(),t[ze]=0;var r=n.getKeyframes(),i=n.getTiming();We(s(),t[Le],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[ze]++<He){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4}o&&We(s(),t[Le],o)}}}}function qe(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,b,y,w,k,E,O,S,N,T,M,I,C,D,j,A,R,L;return rt(this,(function(z){switch(z.label){case 0:switch(a=n||s(),r=[a,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]}return[3,12];case 1:return i=Se,r.push(i.width),r.push(i.height),x(t,i.width,i.height),$a(r),[3,12];case 2:for(u=0,c=Be;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),$a(r);return on(),[3,12];case 3:for(d=0,f=xe;d<f.length;d++)b=f[d],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.newIds),$a(r);for(h=0,p=_e;h<p.length;h++)b=p[h],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.cssRules),$a(r);return[3,12];case 4:for(v=0,g=Ie;v<g.length;v++)b=g[v],(r=[b.time,b.event]).push(b.data.id),r.push(b.data.operation),r.push(b.data.keyFrames),r.push(b.data.timing),r.push(b.data.timeline),r.push(b.data.targetId),$a(r);return Pe(),[3,12];case 5:if(2===be(e))return[3,12];if(!((y=re()).length>0))return[3,11];w=0,k=y,z.label=6;case 6:return w<k.length?(E=k[w],0!==(O=be(e))?[3,8]:[4,ke(e)]):[3,10];case 7:O=z.sent(),z.label=8;case 8:if(2===O)return[3,10];for(S=E.data,N=E.metadata.active,T=E.metadata.suspend,M=E.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(E),C=0,D=N?["tag","attributes","value"]:["tag"];C<D.length;C++)if(S[j=D[C]])switch(j){case"tag":A=Ue(E),R=I?-1:1,r.push(E.id*R),E.parent&&N&&(r.push(E.parent),E.previous&&r.push(E.previous)),r.push(T?"*M":S[j]),A&&2===A.length&&r.push("".concat("#").concat(Fe(A[0]),".").concat(Fe(A[1])));break;case"attributes":for(L in S[j])void 0!==S[j][L]&&r.push(Ve(L,S[j][L],M));break;case"value":St(E.metadata.fraud,E.id,S[j]),r.push(m(S[j],S.tag,M,I))}z.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),$a(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),z.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ue(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=te(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Fe(t){return t.toString(36)}function Ve(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var Be=[],Je=null,Ge={},Ke=[],Ze=!1,Qe=null;function $e(t,e){!1===Je.has(t)&&(Je.set(t,e),(Qe=null===Qe&&Ze?new IntersectionObserver(nn,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Qe)&&t&&t.nodeType===Node.ELEMENT_NODE&&Qe.observe(t))}function tn(t){return Je&&Je.has(t)}function en(){for(var t=[],e=0,n=Ke;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Ge[r]=a.state.data,Be.push(a.state)):t.push(a)}Ke=t,Be.length>0&&qe(7)}function nn(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(Je.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Ge?Ge[c]:{id:c,name:Je.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;an(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Qe&&Qe.unobserve(r)}}Be.length>0&&qe(7)}function an(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in Ge&&r||!(e.id in Ge))&&(Ge[e.id]=e,Be.push(rn(e))):Ke.push({node:t,state:rn(e)})}function rn(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function on(){Be=[]}var un=[];function cn(t){var e=La(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,24):"";un.push({time:s(t),event:42,data:{target:La(t),type:e.type,value:n,checksum:a}}),ge(Ha.bind(this,42))}}function sn(){un=[]}function ln(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Kt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var dn=["input","textarea","radio","button","canvas"],fn=[];function hn(t){gi(t,"click",pn.bind(this,9,t),!0)}function pn(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="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;if(a){var u=ln(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=La(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=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(fn.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:gn(c),context:mn(l),text:vn(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(Ha.bind(this,t)))}function vn(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function gn(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(dn.indexOf(e)>=0)return 0}return 1}function mn(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 bn(){fn=[]}var yn=[];function wn(t,e){yn.push({time:s(e),event:38,data:{target:La(e),action:t}}),ge(Ha.bind(this,38))}function kn(){yn=[]}var En=null,On=[];function Sn(t){var e=La(t),n=ee(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};On.length>0&&On[On.length-1].data.target===r.target&&On.pop(),On.push({time:s(t),event:27,data:r}),Y(En),En=X(Nn,1e3,27)}}function Nn(t){ge(Ha.bind(this,t))}function Tn(){On=[]}var Mn,xn=[],_n=null;function In(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i="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;if(a){var u=ln(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&Dn({time:s(n),event:t,data:{target:La(n),x:i,y:o}})}function Cn(t,e,n){var a=Kt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d,null!==l&&null!==d&&Dn({time:o,event:t,data:{target:La(n),x:l,y:d}})}}function Dn(t){switch(t.event){case 12:case 15:case 19:var e=xn.length,n=e>1?xn[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&xn.pop(),xn.push(t),Y(_n),_n=X(jn,500,t.event);break;default:xn.push(t),jn(t.event)}}function jn(t){ge(Ha.bind(this,t))}function An(){xn=[]}function Rn(){var t=document.documentElement;Mn={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},Ha(11)}function Ln(){Mn=null}var zn=[],Hn=null,Pn=null,Wn=null;function Xn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?La(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Kt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u=window.innerWidth,c=window.innerHeight,l=u/3,d=u>c?.15*c:.2*c,f=c-d,h=Yn(l,d),p=Yn(l,f),v={time:s(t),event:10,data:{target:a,x:i,y:o,top:h,bottom:p}};if(null===t&&0===i&&0===o||null===i||null===o)return Hn=h,void(Pn=p);var g=zn.length,m=g>1?zn[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(m,v)&&zn.pop(),zn.push(v),Y(Wn),Wn=X(qn,500,10)}function Yn(t,e){var n,a,r;return"caretPositionFromPoint"in document?r=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(r=null===(a=document.caretRangeFromPoint(t,e))||void 0===a?void 0:a.startContainer),r||(r=document.elementFromPoint(t,e)),r&&r.nodeType===Node.TEXT_NODE&&(r=r.parentNode),r}function qn(t){ge(Ha.bind(this,t))}function Un(){var t,e;if(Hn){var n=za(Hn,null);Pr(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(Pn){var a=za(Pn,null);Pr(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}var Fn=null,Vn=null,Bn=null;function Jn(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=Fn.start?Fn.start:null;null!==Vn&&null!==Fn.start&&n!==e.anchorNode&&(Y(Bn),Gn(21)),Fn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},Vn=e,Y(Bn),Bn=X(Gn,500,21)}}function Gn(t){ge(Ha.bind(this,t))}function Kn(){Vn=null,Fn={start:0,startOffset:0,end:0,endOffset:0}}var Zn,Qn,$n=[];function ta(t){$n.push({time:s(t),event:39,data:{target:La(t)}}),ge(Ha.bind(this,39))}function ea(){$n=[]}function na(t){Zn={name:t.type},Ha(26,s(t)),Fi()}function aa(){Zn=null}function ra(t){void 0===t&&(t=null),Qn={visible:"visibilityState"in document?document.visibilityState:"default"},Ha(28,s(t))}function ia(){Qn=null}function oa(t){!function(t){var e=Kt(t);gi(e?e.contentWindow:t===document?window:t,"scroll",Xn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(hn(t),function(t){gi(t,"cut",wn.bind(this,0),!0),gi(t,"copy",wn.bind(this,1),!0),gi(t,"paste",wn.bind(this,2),!0)}(t),function(t){gi(t,"mousedown",In.bind(this,13,t),!0),gi(t,"mouseup",In.bind(this,14,t),!0),gi(t,"mousemove",In.bind(this,12,t),!0),gi(t,"wheel",In.bind(this,15,t),!0),gi(t,"dblclick",In.bind(this,16,t),!0),gi(t,"touchstart",Cn.bind(this,17,t),!0),gi(t,"touchend",Cn.bind(this,18,t),!0),gi(t,"touchmove",Cn.bind(this,19,t),!0),gi(t,"touchcancel",Cn.bind(this,20,t),!0)}(t),function(t){gi(t,"input",Sn,!0)}(t),function(t){gi(t,"selectstart",Jn.bind(this,t),!0),gi(t,"selectionchange",Jn.bind(this,t),!0)}(t),function(t){gi(t,"change",cn,!0)}(t),function(t){gi(t,"submit",ta,!0)}(t))}var ua=Object.freeze({__proto__:null,observe:oa,start:function(){Pa=[],Xa(),bn(),kn(),An(),Tn(),gi(window,"resize",Rn),Rn(),gi(document,"visibilitychange",ra),ra(),zn=[],Xn(),Kn(),sn(),ea(),gi(window,"pagehide",na)},stop:function(){Pa=[],Xa(),bn(),kn(),Y(_n),xn.length>0&&jn(xn[xn.length-1].event),Y(En),Tn(),Ln(),ia(),Y(Wn),zn=[],Hn=null,Pn=null,Kn(),Y(Bn),sn(),ea(),aa()}}),ca=/[^0-9\.]/g;function sa(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Pr(5,t[a]),Pr(8,t.creator),Pr(18,t.headline);break;case"product":Pr(5,t[a]),Pr(10,t.name),Pr(12,t.sku),t.brand&&Pr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,la(t.ratingValue,100)),W(18,la(t.bestRating)),W(19,la(t.worstRating))),W(12,la(t.ratingCount)),W(17,la(t.reviewCount));break;case"person":Pr(8,t.name);break;case"offer":Pr(7,t.availability),Pr(14,t.itemCondition),Pr(13,t.priceCurrency),Pr(12,t.sku),W(13,la(t.price));break;case"brand":Pr(6,t.name)}null!==r&&"object"==typeof r&&sa(r)}}function la(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(ca,""))*e)}return null}var da=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],fa=/[\r\n]+/g;function ha(t,e,n){var a,r=null;if(2===e&&!1===ae(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ae(t)?"add":"update",o=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&t.parentNode?Kt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),pa(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host)if(Bt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){pa(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ae(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};ce[i](t,o,f,e)}break;case Node.ELEMENT_NODE:var h=t,p=h.tagName,v=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;da.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(o=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(p="svg:"+p),p){case"HTML":o=u&&o?Kt(o):null;var g={tag:(u?"iframe:":"")+p,attributes:v};ce[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{sa(JSON.parse(h.text.replace(fa,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[i](t,o,m,e);break;case"META":var b="property"in v?"property":"name"in v?"name":null;if(b&&"content"in v){var y=v.content;switch(v[b]){case"og:title":Pr(20,y);break;case"og:type":Pr(19,y);break;case"generator":Pr(21,y)}}break;case"HEAD":var w={tag:p,attributes:v},k=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;w.attributes["*B"]=k.protocol+"//"+k.host+k.pathname,ce[i](t,o,w,e);break;case"BASE":var E=ee(t.parentElement);if(E){var O=document.createElement("a");O.href=v.href,E.data.attributes["*B"]=O.protocol+"//"+O.host+O.pathname}break;case"STYLE":var S={tag:p,attributes:v,value:va(h)};ce[i](t,o,S,e);break;case"IFRAME":var N=t,T={tag:p,attributes:v};Gt(N)&&(!function(t){!1===ae(t)&&gi(t,"load",Ra.bind(this,t,"childList"),!0)}(N),T.attributes["*O"]="true",N.contentDocument&&N.contentWindow&&"loading"!==N.contentDocument.readyState&&(r=N.contentDocument)),ce[i](t,o,T,e);break;case"LINK":if(Ur&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var x=document.styleSheets[M];if(x.ownerNode==h){var _={tag:"STYLE",attributes:v,value:ga(x)};ce[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};ce[i](t,o,I,e);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var C={tag:p,attributes:v};ce[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),ce[i](t,o,D,e)}}return r}function pa(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](pi(Ia)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),ba.push(n))}catch(t){dr(2,0,t?t.name:null)}}(t),oa(t))}function va(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=ga(t.sheet)),e}function ga(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(dr(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function ma(t,e,n,a){return at(this,void 0,void 0,(function(){var a,r,i,o,u;return rt(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=be(e))?[3,3]:[4,ke(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=ha(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var ba=[],ya=[],wa=null,ka=null,Ea=null,Oa=null,Sa=null,Na=[],Ta=null,Ma=null,xa={};function _a(){if(ba=[],Na=[],Ta=null,Ma=0,xa={},null===wa&&(wa=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return _i()&&Aa(this.ownerNode),wa.apply(this,arguments)}),null===Oa&&(Oa=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return _i()&&Aa(this.parentStyleSheet.ownerNode),Oa.apply(this,arguments)}),null===ka&&(ka=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return _i()&&Aa(this.ownerNode),ka.apply(this,arguments)}),null===Sa&&(Sa=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return _i()&&Aa(this.parentStyleSheet.ownerNode),Sa.apply(this,arguments)}),null===Ea){Ea=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return _i()?Aa(Ea.apply(this,arguments)):Ea.apply(this,arguments)}}catch(t){Ea=null}}}function Ia(t){var e=s();K(6,e),ya.push({time:e,mutations:t}),ge(Ca,1).then((function(){X(Me),pi(en)()}))}function Ca(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:ye(t={id:Gr(),cost:3}),f.label=1;case 1:if(!(ya.length>0))return[3,8];e=ya.shift(),n=s(),a=0,r=e.mutations,f.label=2;case 2:return a<r.length?(i=r[a],0!==(u=be(t))?[3,4]:[4,ke(t)]):[3,6];case 3:u=f.sent(),f.label=4;case 4:if(2===u)return[3,6];switch(c=i.target,l=o.throttleDom?function(t,e,n,a){var r=t.target?ee(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Ma,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,Da(t.addedNodes),Da(t.removedNodes)].join();xa[c]=c in xa?xa[c]:[0,n];var s=xa[c];if(!1===i&&s[0]>=10&&ja(s[2],2,e),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,10===s[0])return s[2]=t.removedNodes,"suspend";if(s[0]>10)return""}return t.type}(i,t,n,e.time):i.type,l&&c&&c.ownerDocument&&Bt(c.ownerDocument),l&&c&&c.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&c.host&&Bt(c),l){case"attributes":ha(c,3,e.time);break;case"characterData":ha(c,4,e.time);break;case"childList":ja(i.addedNodes,1,t,e.time),ja(i.removedNodes,2,t,e.time);break;case"suspend":(d=ee(c))&&(d.metadata.suspend=!0)}f.label=5;case 5:return a++,[3,2];case 6:return[4,qe(6,t,e.time)];case 7:return f.sent(),[3,1];case 8:return we(t),[2]}}))}))}function Da(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ja(t,e,n,a){return at(this,void 0,void 0,(function(){var a,r,i;return rt(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(ma(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=be(n))?[3,4]:[4,ke(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];ha(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Aa(t){return Na.indexOf(t)<0&&Na.push(t),Ta&&Y(Ta),Ta=X((function(){!function(){for(var t=0,e=Na;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;Ra(n,a?"childList":"characterData")}}Na=[]}()}),33),t}function Ra(t,e){pi(Ia)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}function La(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Ma=s()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function za(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ee(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=te(t),a=t in Ge?Ge[t]:{id:t,visibility:0,interaction:16,name:Je.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}an(n,a,r,a.visibility)}(r.region,e),i.fraud&&St(i.fraud,r.id,n||r.data.value)}}return a}function Ha(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,y,w,k,E,O,S,N,T,M,_,C,D,j,A,R,L,z,H,P,W,X;return rt(this,(function(Y){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=xn;r<i.length;r++)W=i[r],(o=za(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(o.id),a.push(W.data.x),a.push(W.data.y),$a(a),x(W.event,W.data.x,W.data.y));An();break;case 9:for(u=0,c=fn;u<c.length;u++)W=c[u],l=za(W.data.target,W.event,W.data.text),a=[W.time,W.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(W.data.x),a.push(W.data.y),a.push(W.data.eX),a.push(W.data.eY),a.push(W.data.button),a.push(W.data.reaction),a.push(W.data.context),a.push(m(W.data.text,"click",l.privacy)),a.push(b(W.data.link)),a.push(d),a.push(W.data.trust),$a(a),Ya(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);bn();break;case 38:for(f=0,h=yn;f<h.length;f++)W=h[f],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&(a.push(z.id),a.push(W.data.action),$a(a));kn();break;case 11:p=Mn,a.push(p.width),a.push(p.height),x(t,p.width,p.height),Ln(),$a(a);break;case 26:v=Zn,a.push(v.name),aa(),$a(a);break;case 27:for(g=0,y=On;g<y.length;g++)W=y[g],w=za(W.data.target,W.event,W.data.value),(a=[W.time,W.event]).push(w.id),a.push(m(W.data.value,"input",w.privacy)),$a(a);Tn();break;case 21:(k=Fn)&&(E=za(k.start,t),O=za(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Kn(),$a(a));break;case 10:for(S=0,N=zn;S<N.length;S++)W=N[S],T=za(W.data.target,W.event),M=za(W.data.top,W.event),_=za(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.hash.join("."):"",T.id>0&&((a=[W.time,W.event]).push(T.id),a.push(W.data.x),a.push(W.data.y),a.push(C),a.push(D),$a(a),x(W.event,W.data.x,W.data.y,W.time));zn=[],Hn=null,Pn=null;break;case 42:for(j=0,A=un;j<A.length;j++)W=A[j],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(z.id),a.push(W.data.type),a.push(m(W.data.value,"change",z.privacy)),a.push(m(W.data.checksum,"checksum",z.privacy)),$a(a));sn();break;case 39:for(R=0,L=$n;R<L.length;R++)W=L[R],a=[W.time,W.event],(z=za(W.data.target,W.event)).id>0&&(a.push(z.id),$a(a));ea();break;case 22:for(H=0,P=Wa;H<P.length;H++)W=P[H],(a=[W.time,W.event]).push(W.data.type),a.push(W.data.hash),a.push(W.data.x),a.push(W.data.y),a.push(W.data.reaction),a.push(W.data.context),$a(a,!1);Xa();break;case 28:X=Qn,a.push(X.visible),$a(a),I(n,X.visible),ia()}return[2]}))}))}var Pa=[],Wa=[];function Xa(){Wa=[]}function Ya(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Pa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var qa,Ua,Fa,Va,Ba,Ja=0,Ga=0,Ka=null,Za=0;function Qa(){Va=!0,Ja=0,Ga=0,Za=0,qa=[],Ua=[],Fa={},Ba=null}function $a(t,e){if(void 0===e&&(e=!0),Va){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Ja+=r.length;case 37:case 6:case 43:case 45:case 46:Ga+=r.length,qa.push(r);break;default:Ua.push(r)}H(25);var i=function(){var t=!1===o.lean&&Ja>0?100:ci.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-Za>2*i&&(Y(Ka),Ka=null),e&&null===Ka&&(25!==a&&V(),Ka=X(er,i),Za=n,Cr(Ga))}}function tr(){Y(Ka),er(!0),Ja=0,Ga=0,Za=0,qa=[],Ua=[],Fa={},Ba=null,Va=!1}function er(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return Ka=null,(e=!1===o.lean&&Ga>0&&(Ga<1048576||ci.sequence>0))&&W(1,1),en(),function(){var t=[];Wa=[];for(var e=ci.start+ci.duration,n=Math.max(e-2e3,0),a=0,r=Pa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&Wa.push(i),t.push(i))}Pa=t,Ha(22)}(),kt(),n=!0===t,a=JSON.stringify(di(n)),r="[".concat(Ua.join(),"]"),i=e?"[".concat(qa.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return P(2,(c=s)?c.length:u.length),nr(u,c,ci.sequence,n),Ua=[],e&&(qa=[],Ga=0,Ja=0),[2]}}))}))}function nr(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&rr(n)}catch(t){}if(!1===i){n in Fa?Fa[n].attempts++:Fa[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){hi(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){pi(ar)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),rr(n)}}function ar(t,e){var n=Fa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Dr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),nr(n.data,null,e)):(Ba={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&_r(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":Dr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&wr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(nr(n.data,null,e,!0),Dr(3)),t.status>=200&&t.status<=208&&rr(e),delete Fa[e]))}function rr(t){1===t&&Qr()}var ir,or={};function ur(t){var e=t.error||t;return e.message in or||(or[e.message]=0),or[e.message]++>=5||e&&e.message&&(ir={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},cr(31)),!0}function cr(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(ir.message),e.push(ir.line),e.push(ir.column),e.push(ir.stack),e.push(b(ir.source)),$a(e);break;case 33:sr&&(e.push(sr.code),e.push(sr.name),e.push(sr.message),e.push(sr.stack),e.push(sr.severity),$a(e,!1));break;case 41:Et&&(e.push(Et.id),e.push(Et.target),e.push(Et.checksum),$a(e,!1))}return[2]}))}))}var sr,lr={};function dr(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in lr&&lr[t].indexOf(i)>=0||(sr={code:t,name:n,message:a,stack:r,severity:e},t in lr?lr[t].push(i):lr[t]=[i],cr(33))}var fr,hr={},pr=new Set,vr={},gr={},mr={},br={};function yr(){Or()}function wr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in vr[a]={},gr[a]={},mr[a]={},br[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);vr[a][u]=Tr(l);break;case 2:gr[a][u]=c;break;case 4:var d=c.substring(1,c.length);mr[a][u]=d}}}catch(t){dr(8,1,t?t.name:null)}}function kr(t){return JSON.parse(JSON.stringify(t))}function Er(){try{for(var t in vr){var e=parseInt(t);if(""==br[e]||document.querySelector(br[e])){var n=vr[e];for(var a in n){var r=parseInt(a),i=(h=Mr(kr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Sr(e,r,i)}var o=gr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Sr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=mr[e];for(var d in l){var f=parseInt(d);Sr(e,f,$t(l[f]).trim().substring(0,1e4))}}}pr.size>0&&_r(40)}catch(t){dr(5,1,t?t.name:null)}var h}function Or(){pr.clear()}function Sr(t,e,n){var a,r=!1;t in hr||(hr[t]={},r=!0),a=mr[t],0==Object.keys(a).length||e in hr[t]&&hr[t][e]==n||(r=!0),hr[t][e]=n,r&&pr.add(t)}function Nr(){Or()}function Tr(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function Mr(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&xr(r,a.condition))n=Mr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(xr(c,a.condition)){var s=Mr(t,c);s&&i.push(s)}}n=i}return n}return null}function xr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function _r(t){var e=[s(),t];switch(t){case 4:var n=S;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),$a(e,!1)),M();break;case 25:e.push(R.gap),$a(e);break;case 35:e.push(fr.check),$a(e,!1);break;case 3:e.push(tt.key),$a(e);break;case 2:e.push(Ba.sequence),e.push(Ba.attempts),e.push(Ba.status),$a(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),$a(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),$a(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},$a(e,!1)}break;case 1:var h=Object.keys(Lr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(Lr[g])}Xr(),$a(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),$a(e,!1)}break;case 40:pr.forEach((function(t){e.push(t);var n=[];for(var a in hr[t]){var r=parseInt(a,10);n.push(r),n.push(hr[t][a])}e.push(n)})),Or(),$a(e,!1)}}function Ir(){fr={check:0}}function Cr(t){if(0===fr.check){var e=fr.check;e=ci.sequence>=128?1:e,e=ci.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==fr.check&&Dr(e)}}function Dr(t){fr.check=t,Zr(),Fi()}function jr(){0!==fr.check&&_r(35)}function Ar(){fr=null}var Rr=null,Lr=null;function zr(){Rr={},Lr={}}function Hr(){Rr={},Lr={}}function Pr(t,e){e&&(e="".concat(e),t in Rr||(Rr[t]=[]),Rr[t].indexOf(e)<0&&(Rr[t].push(e),t in Lr||(Lr[t]=[]),Lr[t].push(e),Rr[t].length>128&&Dr(5)))}function Wr(){_r(1)}function Xr(){Lr={}}var Yr=null,qr=[],Ur=0,Fr=null;function Vr(){var t,e,n;Fr=null;var a=navigator&&"userAgent"in navigator?navigator.userAgent:"",r=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";Ur=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:ei(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=ri("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-ni(n[1])<18e5&&(t.session=n[0],t.count=ni(n[2])+1,t.upgrade=ni(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=ai(),h=o.projectId||d(location.host);Yr={projectId:h,userId:f.id,sessionId:l.session,pageNum:l.count},o.lean=o.track&&null!==l.upgrade?0===l.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&l.upload&&l.upload.length>"https://".length?l.upload:o.upload,Pr(0,a),Pr(3,c),Pr(1,b(location.href,!!Ur)),Pr(2,document.referrer),Pr(15,function(){var t=ei();if(o.track&&$r(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Pr(16,document.documentElement.lang),Pr(17,document.dir),Pr(26,"".concat(window.devicePixelRatio)),Pr(28,f.dob.toString()),Pr(29,f.version.toString()),Pr(33,u),Pr(34,r),Pr(35,i),W(0,l.ts),W(1,0),W(35,Ur),navigator&&(Pr(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Pr(22,t.platform),Pr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Pr(24,t.name+"~"+t.version)})),Pr(25,t.model),W(27,t.mobile?1:0)})):Pr(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var p=0,v=o.cookies;p<v.length;p++){var g=v[p],m=ri(g);m&&ot(g,m)}ti(f)}function Br(){Fr=null,Yr=null}function Jr(t,e){void 0===e&&(e=!0);var n=o.lean?0:1;Yr&&(n||!1===e)?t(Yr,!o.lean):qr.push({callback:t,wait:e})}function Gr(){return Yr?[Yr.userId,Yr.sessionId,Yr.pageNum].join("."):""}function Kr(t){if(void 0===t&&(t=!0),!t)return o.track=!1,oi("_clsk","",-Number.MAX_VALUE),oi("_clck","",-Number.MAX_VALUE),Fi(),void window.setTimeout(Ui,250);_i()&&(o.track=!0,ti(ai(),1))}function Zr(){oi("_clsk","",0)}function Qr(){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;!function(t){qr.length>0&&qr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(Yr,!o.lean)}))}(n),oi("_clsk",[Yr.sessionId,t,Yr.pageNum,n,e].join("|"),1)}function $r(t,e){try{return!!t[e]}catch(t){return!1}}function ti(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&oi("_clck",[Yr.userId,2,n.toString(36),e,a].join("|"),365)}function ei(){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 ni(t,e){return void 0===e&&(e=10),parseInt(t,e)}function ai(){var t={id:ei(),version:0,expiry:null,consent:0,dob:0},e=ri("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=ni(n[1])),n.length>2&&(t.expiry=ni(n[2],36)),n.length>3&&1===ni(n[3])&&(t.consent=1),n.length>4&&ni(n[1])>1&&(t.dob=ni(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function ri(t){var e;if($r(document,"cookie")){var n=document.cookie.split(";");if(n)for(var a=0;a<n.length;a++){var r=n[a].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){for(var i=ii(r[1]),o=i[0],u=i[1];o;)o=(e=ii(u))[0],u=e[1];return u}}}return null}function ii(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function oi(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||$r(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===Fr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(Fr=".".concat(c[s]).concat(Fr||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(Fr),ri(t)===e))return;Fr=""}}catch(t){Fr=""}document.cookie=Fr?"".concat(u).concat(";").concat("domain=").concat(Fr):u}}var ui,ci=null;function si(){var t=Yr;ci={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function li(){ci=null}function di(t){return ci.start=ci.start+ci.duration,ci.duration=s()-ci.start,ci.sequence++,ci.upload=t&&"sendBeacon"in navigator?1:0,ci.end=t?1:0,[ci.version,ci.sequence,ci.start,ci.duration,ci.projectId,ci.userId,ci.sessionId,ci.pageNum,ci.upload,ci.end]}function fi(){ui=[]}function hi(t){if(ui&&-1===ui.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:ci.version,p:ci.projectId,u:ci.userId,s:ci.sessionId,n:ci.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),ui.push(t.message)}}return t}function pi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw hi(t)}var n=performance.now()-e;P(4,n),n>30&&(H(7),W(6,n))}}var vi=[];function gi(t,e,n,a){void 0===a&&(a=!1),n=pi(n);try{t[u("addEventListener")](e,n,a),vi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function mi(){for(var t=0,e=vi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}vi=[]}var bi=null,yi=null,wi=null,ki=0;function Ei(){return!(ki++>20)||(dr(4,0),!1)}function Oi(){ki=0,wi!==Ni()&&(Fi(),window.setTimeout(Si,250))}function Si(){Ui(),W(29,1)}function Ni(){return location.href?location.href.replace(location.hash,""):location.href}var Ti=!1;function Mi(){Ti=!0,c=performance.now()+performance.timeOrigin,ve(),mi(),fi(),wi=Ni(),ki=0,gi(window,"popstate",Oi),null===bi&&(bi=history.pushState,history.pushState=function(){bi.apply(this,arguments),_i()&&Ei()&&Oi()}),null===yi&&(yi=history.replaceState,history.replaceState=function(){yi.apply(this,arguments),_i()&&Ei()&&Oi()})}function xi(){wi=null,ki=0,fi(),mi(),ve(),c=0,Ti=!1}function _i(){return Ti}function Ii(t){if(null===t||Ti)return!1;for(var e in t)e in o&&(o[e]=t[e]);return!0}function Ci(){Ui(),A("clarity","restart")}var Di=Object.freeze({__proto__:null,start:function(){!function(){Ot=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self?1:2)}catch(t){W(31,0)}}(),gi(window,"error",ur),or={},lr={}},stop:function(){lr={}}});function ji(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),ye(e={id:Gr(),cost:3}),[4,ma(document,e,0)];case 1:return n.sent(),[4,qe(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}var Ai=Object.freeze({__proto__:null,hashText:$t,start:function(){Te(),Me(),on(),Qe=null,Je=new WeakMap,Ge={},Ke=[],Ze=!!window.IntersectionObserver,Ut(),o.delayDom?gi(window,"load",(function(){_a()})):_a(),ge(ji,1).then((function(){pi(Me)(),pi(en)(),pi(Un)()})),window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Pe(),Xe(De,"play"),Xe(je,"pause"),Xe(Ae,"cancel"),Xe(Re,"finish"),null===Ce&&(Ce=Element.prototype.animate,Element.prototype.animate=function(){var t=Ce.apply(this,arguments);return Ye(t,"play"),t}))},stop:function(){on(),Je=null,Ge={},Ke=[],Qe&&(Qe.disconnect(),Qe=null),Ze=!1,Ft(),function(){for(var t=0,e=ba;t<e.length;t++){var n=e[t];n&&n.disconnect()}ba=[],xa={},ya=[],Na=[],Ma=0,Ta=null}(),Te(),Pe()}});var Ri,Li=null;function zi(){Li=null}function Hi(t){Li={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){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(Li.fetchStart),n.push(Li.connectStart),n.push(Li.connectEnd),n.push(Li.requestStart),n.push(Li.responseStart),n.push(Li.responseEnd),n.push(Li.domInteractive),n.push(Li.domComplete),n.push(Li.loadEventStart),n.push(Li.loadEventEnd),n.push(Li.redirectCount),n.push(Li.size),n.push(Li.type),n.push(Li.protocol),n.push(Li.encodedSize),n.push(Li.decodedSize),zi(),$a(n)),[2]}))}))}(29)}var Pi=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Wi(){try{Ri&&Ri.disconnect(),Ri=new PerformanceObserver(pi(Xi));for(var t=0,e=Pi;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&P(9,0),Ri.observe({type:n,buffered:!0}))}}catch(t){dr(3,1)}}function Xi(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":Hi(a);break;case"resource":var r=a.name;Pr(4,Yi(r)),r!==o.upload&&r!==o.fallback||W(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"event":e&&W(37,a.duration);break;case"layout-shift":e&&!a.hadRecentInput&&P(9,1e3*a.value);break;case"largest-contentful-paint":e&&W(8,a.startTime)}}}(t.getEntries())}function Yi(t){var e=document.createElement("a");return e.href=t,e.host}var qi=[Di,Ai,ua,Object.freeze({__proto__:null,start:function(){zi(),function(){navigator&&"connection"in navigator&&Pr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?gi(window,"load",X.bind(this,Wi,0)):Wi():dr(3,0)}()},stop:function(){Ri&&Ri.disconnect(),Ri=null,zi()}})];function Ui(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Ti&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(Ii(t),Mi(),yt(),qi.forEach((function(t){return pi(t.start)()})),null===t&&Gi())}function Fi(){_i()&&(qi.slice().reverse().forEach((function(t){return pi(t.stop)()})),wt(),xi(),void 0!==Bi&&(Bi[Ji]=function(){(Bi[Ji].q=Bi[Ji].q||[]).push(arguments),"start"===arguments[0]&&Bi[Ji].q.unshift(Bi[Ji].q.pop())&&Gi()}))}var Vi=Object.freeze({__proto__:null,consent:Kr,event:A,hashText:$t,identify:ut,metadata:Jr,pause:function(){_i()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){_i()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:Ui,stop:Fi,upgrade:et,version:l}),Bi=window,Ji="clarity";function Gi(){if(void 0!==Bi){if(Bi[Ji]&&Bi[Ji].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Bi[Ji]&&Bi[Ji].q||[];for(Bi[Ji]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Vi[t].apply(Vi,e)},Bi[Ji].v=l;t.length>0;)Bi[Ji].apply(Bi,t.shift())}}Gi()}();
|
package/build/clarity.module.js
CHANGED
|
@@ -161,7 +161,7 @@ function stop$F() {
|
|
|
161
161
|
startTime = 0;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
var version$1 = "0.7.
|
|
164
|
+
var version$1 = "0.7.43";
|
|
165
165
|
|
|
166
166
|
// tslint:disable: no-bitwise
|
|
167
167
|
function hash (input, precision) {
|
|
@@ -4439,8 +4439,12 @@ var callbacks = [];
|
|
|
4439
4439
|
var electron = 0 /* BooleanFlag.False */;
|
|
4440
4440
|
var rootDomain = null;
|
|
4441
4441
|
function start$9() {
|
|
4442
|
+
var _a, _b, _c;
|
|
4442
4443
|
rootDomain = null;
|
|
4443
4444
|
var ua = navigator && "userAgent" in navigator ? navigator.userAgent : "" /* Constant.Empty */;
|
|
4445
|
+
var timezone = (_c = (_b = (_a = Intl === null || Intl === void 0 ? void 0 : Intl.DateTimeFormat()) === null || _a === void 0 ? void 0 : _a.resolvedOptions()) === null || _b === void 0 ? void 0 : _b.timeZone) !== null && _c !== void 0 ? _c : '';
|
|
4446
|
+
var timezoneOffset = new Date().getTimezoneOffset().toString();
|
|
4447
|
+
var ancestorOrigins = window.location.ancestorOrigins ? Array.from(window.location.ancestorOrigins).toString() : '';
|
|
4444
4448
|
var title = document && document.title ? document.title : "" /* Constant.Empty */;
|
|
4445
4449
|
electron = ua.indexOf("Electron" /* Constant.Electron */) > 0 ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
4446
4450
|
// Populate ids for this page
|
|
@@ -4462,6 +4466,9 @@ function start$9() {
|
|
|
4462
4466
|
log(26 /* Dimension.DevicePixelRatio */, "".concat(window.devicePixelRatio));
|
|
4463
4467
|
log(28 /* Dimension.Dob */, u.dob.toString());
|
|
4464
4468
|
log(29 /* Dimension.CookieVersion */, u.version.toString());
|
|
4469
|
+
log(33 /* Dimension.AncestorOrigins */, ancestorOrigins);
|
|
4470
|
+
log(34 /* Dimension.Timezone */, timezone);
|
|
4471
|
+
log(35 /* Dimension.TimezoneOffset */, timezoneOffset);
|
|
4465
4472
|
// Capture additional metadata as metrics
|
|
4466
4473
|
max(0 /* Metric.ClientTimestamp */, s.ts);
|
|
4467
4474
|
max(1 /* Metric.Playback */, 0 /* BooleanFlag.False */);
|
|
@@ -4480,8 +4487,8 @@ function start$9() {
|
|
|
4480
4487
|
max(16 /* Metric.ColorDepth */, Math.round(screen.colorDepth));
|
|
4481
4488
|
}
|
|
4482
4489
|
// Read cookies specified in configuration
|
|
4483
|
-
for (var _i = 0,
|
|
4484
|
-
var key =
|
|
4490
|
+
for (var _i = 0, _d = config$1.cookies; _i < _d.length; _i++) {
|
|
4491
|
+
var key = _d[_i];
|
|
4485
4492
|
var value = getCookie(key);
|
|
4486
4493
|
if (value) {
|
|
4487
4494
|
set(key, value);
|
|
@@ -5121,7 +5128,7 @@ function compute(entry) {
|
|
|
5121
5128
|
}
|
|
5122
5129
|
|
|
5123
5130
|
var observer;
|
|
5124
|
-
var types = ["navigation" /* Constant.Navigation */, "resource" /* Constant.Resource */, "longtask" /* Constant.LongTask */, "first-input" /* Constant.FID */, "layout-shift" /* Constant.CLS */, "largest-contentful-paint" /* Constant.LCP */];
|
|
5131
|
+
var types = ["navigation" /* Constant.Navigation */, "resource" /* Constant.Resource */, "longtask" /* Constant.LongTask */, "first-input" /* Constant.FID */, "layout-shift" /* Constant.CLS */, "largest-contentful-paint" /* Constant.LCP */, "event" /* Constant.PerformanceEventTiming */];
|
|
5125
5132
|
function start$2() {
|
|
5126
5133
|
// Capture connection properties, if available
|
|
5127
5134
|
if (navigator && "connection" in navigator) {
|
|
@@ -5197,6 +5204,11 @@ function process(entries) {
|
|
|
5197
5204
|
max(10 /* Metric.FirstInputDelay */, entry["processingStart"] - entry.startTime);
|
|
5198
5205
|
}
|
|
5199
5206
|
break;
|
|
5207
|
+
case "event" /* Constant.PerformanceEventTiming */:
|
|
5208
|
+
if (visible) {
|
|
5209
|
+
max(37 /* Metric.InteractionNextPaint */, entry.duration);
|
|
5210
|
+
}
|
|
5211
|
+
break;
|
|
5200
5212
|
case "layout-shift" /* Constant.CLS */:
|
|
5201
5213
|
// Scale the value to avoid sending back floating point number
|
|
5202
5214
|
if (visible && !entry["hadRecentInput"]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return gt},get start(){return vt},get stop(){return mt},get track(){return st}}),n=Object.freeze({__proto__:null,get check(){return Et},get compute(){return Mt},get data(){return lt},get start(){return St},get stop(){return Ot},get trigger(){return It}}),e=Object.freeze({__proto__:null,get compute(){return Ct},get data(){return xt},get log(){return At},get reset(){return qt},get start(){return jt},get stop(){return zt},get updates(){return Tt}}),r=Object.freeze({__proto__:null,get callbacks(){return Rt},get clear(){return Xt},get consent(){return Bt},get data(){return Nt},get electron(){return Dt},get id(){return Vt},get metadata(){return Lt},get save(){return Jt},get shortid(){return Zt},get start(){return Ut},get stop(){return Ht}}),o=Object.freeze({__proto__:null,get data(){return nn},get envelope(){return on},get start(){return en},get stop(){return rn}}),a={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function i(t){void 0===t&&(t=null);var n=t&&t.timeStamp>0?t.timeStamp:performance.now(),e=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+e-c),0)}var s="0.7.42";var l=!0,p=null,d=null;function f(t,n,e){return function(){if(l&&null===p)try{p=new RegExp("\\p{N}","gu"),d=new RegExp("\\p{L}","gu"),new RegExp("\\p{Sc}","gu")}catch(t){l=!1}}(),t?t.replace(d,n).replace(p,e):t}var h=[],v=null;function g(){}var m=[];function y(){}function b(){}var w=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:v,hashText:y,keys:m,log:g,observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:h,stop:function(){},trigger:b}),k=null;function _(t,n){jn()&&t&&"string"==typeof t&&t.length<255&&(k=n&&"string"==typeof n&&n.length<255?{key:t,value:n}:{value:t},_t(24))}var S,E=null,I=null;function M(t){t in E||(E[t]=0),t in I||(I[t]=0),E[t]++,I[t]++}function O(t,n){null!==n&&(t in E||(E[t]=0),t in I||(I[t]=0),E[t]+=n,I[t]+=n)}function x(t,n){null!==n&&!1===isNaN(n)&&(t in E||(E[t]=0),(n>E[t]||0===E[t])&&(I[t]=n,E[t]=n))}function T(t,n,e){return window.setTimeout(cn(t),n,e)}function j(t){return window.clearTimeout(t)}var z=0,A=0,C=null;function q(){C&&j(C),C=T(N,A),z=i()}function N(){var t=i();S={gap:t-z},_t(25),S.gap<3e5?C=T(N,A):On&&(_("clarity","suspend"),Bn(),["mousemove","touchstart"].forEach((function(t){return ln(document,t,An)})),["resize","scroll","pageshow"].forEach((function(t){return ln(window,t,An)})))}var R=Object.freeze({__proto__:null,get data(){return S},reset:q,start:function(){A=6e4,z=0},stop:function(){j(C),z=0,A=0}}),D=null;function P(t){jn()&&a.lean&&(a.lean=!1,D={key:t},Jt(),a.upgrade&&a.upgrade(t),_t(3))}var U=Object.freeze({__proto__:null,get data(){return D},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),D=null},stop:function(){D=null},upgrade:P});function H(t,n,e,r){return new(e||(e=Promise))((function(o,a){function u(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}i((r=r.apply(t,n||[])).next())}))}function L(t,n){var e,r,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(i){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(u=0)),u;)try{if(e=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=n.call(t,u)}catch(t){c=[6,t],r=0}finally{e=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}var V=null;function B(t,n){J(t,"string"==typeof n?[n]:n)}function X(t,n,e,r){return void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null),H(this,void 0,void 0,(function(){var o,a;return L(this,(function(u){switch(u.label){case 0:return a={},[4,Z(t)];case 1:return a.userId=u.sent(),a.userHint=r||((c=t)&&c.length>=5?"".concat(c.substring(0,2)).concat(f(c.substring(2),"*","*")):f(c,"*","*")),J("userId",[(o=a).userId]),J("userHint",[o.userHint]),J("userType",[Y(t)]),n&&(J("sessionId",[n]),o.sessionId=n),e&&(J("pageId",[e]),o.pageId=e),[2,o]}var c}))}))}function J(t,n){if(jn()&&t&&n&&"string"==typeof t&&t.length<255){for(var e=(t in V?V[t]:[]),r=0;r<n.length;r++)"string"==typeof n[r]&&n[r].length<255&&e.push(n[r]);V[t]=e}}function W(){_t(34)}function G(){V={}}function Z(t){return H(this,void 0,void 0,(function(){var n;return L(this,(function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return n=e.sent(),[2,Array.prototype.map.call(new Uint8Array(n),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return e.sent(),[2,""];case 5:return[2]}}))}))}function Y(t){return t&&t.indexOf("@")>0?"email":"string"}var F="CompressionStream"in window;function K(t){return H(this,void 0,void 0,(function(){var n,e;return L(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),F?(n=new ReadableStream({start:function(n){return H(this,void 0,void 0,(function(){return L(this,(function(e){return n.enqueue(t),n.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),e=Uint8Array.bind,[4,Q(n)]):[3,2];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function Q(t){return H(this,void 0,void 0,(function(){var n,e,r,o,a;return L(this,(function(u){switch(u.label){case 0:n=t.getReader(),e=[],r=!1,o=[],u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return a=u.sent(),r=a.done,o=a.value,r?[2,e]:(e.push.apply(e,o),[3,1]);case 3:return[2,e]}}))}))}var $=null;function tt(t){try{if(!$)return;var n=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);n.forEach((function(t){$(t)}))}catch(t){}}var nt=[w,e,Object.freeze({__proto__:null,compute:W,get data(){return V},identify:X,reset:G,set:B,start:function(){G()},stop:function(){G()}}),n,w,r,o,t,R,U,w];function et(){E={},I={},M(5),nt.forEach((function(t){return cn(t.start)()}))}function rt(){nt.slice().reverse().forEach((function(t){return cn(t.stop)()})),E={},I={}}function ot(){W(),Ct(),_t(0),Mt()}var at,ut,ct,it,st,lt,pt=0,dt=0,ft=null,ht=0;function vt(){it=!0,pt=0,dt=0,ht=0,at=[],ut=[],ct={},st=null}function gt(t,n){if(void 0===n&&(n=!0),it){var e=i(),r=t.length>1?t[1]:null,o=JSON.stringify(t);switch(r){case 5:pt+=o.length;case 37:case 6:case 43:case 45:case 46:dt+=o.length,at.push(o);break;default:ut.push(o)}M(25);var u=function(){var t=!1===a.lean&&pt>0?100:nn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();e-ht>2*u&&(j(ft),ft=null),n&&null===ft&&(25!==r&&q(),ft=T(yt,u),ht=e,Et(dt))}}function mt(){j(ft),yt(!0),pt=0,dt=0,ht=0,at=[],ut=[],ct={},st=null,it=!1}function yt(t){return void 0===t&&(t=!1),H(this,void 0,void 0,(function(){var n,e,r,o,u,c,i,s;return L(this,(function(l){switch(l.label){case 0:return ft=null,(n=!1===a.lean&&dt>0&&(dt<1048576||nn.sequence>0))&&x(1,1),ot(),e=!0===t,r=JSON.stringify(on(e)),o="[".concat(ut.join(),"]"),u=n?"[".concat(at.join(),"]"):"",c=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:o,p:u}),e?(s=null,[3,3]):[3,1];case 1:return[4,K(c)];case 2:s=l.sent(),l.label=3;case 3:return O(2,(i=s)?i.length:c.length),bt(c,i,nn.sequence,e),ut=[],n&&(at=[],dt=0,pt=0),[2]}}))}))}function bt(t,n,e,r){if(void 0===r&&(r=!1),"string"==typeof a.upload){var o=a.upload,u=!1;if(r&&"sendBeacon"in navigator)try{(u=navigator.sendBeacon.bind(navigator)(o,t))&&kt(e)}catch(t){}if(!1===u){e in ct?ct[e].attempts++:ct[e]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){un(new Error("".concat("Timeout"," : ").concat(o)))},null!==e&&(c.onreadystatechange=function(){cn(wt)(c,e)}),c.withCredentials=!0,n?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(n)):c.send(t)}}else if(a.upload){(0,a.upload)(t),kt(e)}}function wt(t,n){var e=ct[n];t&&4===t.readyState&&e&&((t.status<200||t.status>208)&&e.attempts<=1?t.status>=400&&t.status<500?It(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),bt(e.data,null,n)):(st={sequence:n,attempts:e.attempts,status:t.status},e.attempts>1&&_t(2),200===t.status&&t.responseText&&function(t){for(var n=t&&t.length>0?t.split("\n"):[],e=0,r=n;e<r.length;e++){var o=r[e],u=o&&o.length>0?o.split(/ (.*)/):[""];switch(u[0]){case"END":It(6);break;case"UPGRADE":P("Auto");break;case"ACTION":a.action&&u.length>1&&a.action(u[1]);break;case"EXTRACT":u.length>1&&u[1];break;case"SIGNAL":u.length>1&&tt(u[1])}}}(t.responseText),0===t.status&&(bt(e.data,null,n,!0),It(3)),t.status>=200&&t.status<=208&&kt(n),delete ct[n]))}function kt(t){1===t&&Jt()}function _t(t){var n=[i(),t];switch(t){case 4:var e=h;e&&((n=[e.time,e.event]).push(e.data.visible),n.push(e.data.docWidth),n.push(e.data.docHeight),n.push(e.data.screenWidth),n.push(e.data.screenHeight),n.push(e.data.scrollX),n.push(e.data.scrollY),n.push(e.data.pointerX),n.push(e.data.pointerY),n.push(e.data.activityTime),n.push(e.data.scrollTime),gt(n,!1));break;case 25:n.push(S.gap),gt(n);break;case 35:n.push(lt.check),gt(n,!1);break;case 3:n.push(D.key),gt(n);break;case 2:n.push(st.sequence),n.push(st.attempts),n.push(st.status),gt(n,!1);break;case 24:k.key&&n.push(k.key),n.push(k.value),gt(n);break;case 34:var r=Object.keys(V);if(r.length>0){for(var o=0,a=r;o<a.length;o++){var u=a[o];n.push(u),n.push(V[u])}G(),gt(n,!1)}break;case 0:var c=Object.keys(I);if(c.length>0){for(var s=0,l=c;s<l.length;s++){var p=l[s],d=parseInt(p,10);n.push(d),n.push(Math.round(I[p]))}I={},gt(n,!1)}break;case 1:var f=Object.keys(Tt);if(f.length>0){for(var g=0,y=f;g<y.length;g++){var b=y[g];d=parseInt(b,10);n.push(d),n.push(Tt[b])}qt(),gt(n,!1)}break;case 36:var w=Object.keys(v);if(w.length>0){for(var _=0,E=w;_<E.length;_++){var M=E[_];d=parseInt(M,10);n.push(d),n.push([].concat.apply([],v[M]))}gt(n,!1)}break;case 40:m.forEach((function(t){n.push(t);var e=[];for(var r in v[t]){var o=parseInt(r,10);e.push(o),e.push(v[t][r])}n.push(e)})),gt(n,!1)}}function St(){lt={check:0}}function Et(t){if(0===lt.check){var n=lt.check;n=nn.sequence>=128?1:n,n=nn.pageNum>=128?7:n,n=i()>72e5?2:n,(n=t>10485760?2:n)!==lt.check&&It(n)}}function It(t){lt.check=t,Xt(),Bn()}function Mt(){0!==lt.check&&_t(35)}function Ot(){lt=null}var xt=null,Tt=null;function jt(){xt={},Tt={}}function zt(){xt={},Tt={}}function At(t,n){n&&(n="".concat(n),t in xt||(xt[t]=[]),xt[t].indexOf(n)<0&&(xt[t].push(n),t in Tt||(Tt[t]=[]),Tt[t].push(n),xt[t].length>128&&It(5)))}function Ct(){_t(1)}function qt(){Tt={}}var Nt=null,Rt=[],Dt=0,Pt=null;function Ut(){Pt=null;var t=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"";Dt=t.indexOf("Electron")>0?1:0;var e,r=function(){var t={session:Zt(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},n=Kt("_clsk");if(n){var e=n.split("|");e.length>=5&&t.ts-Yt(e[1])<18e5&&(t.session=e[0],t.count=Yt(e[2])+1,t.upgrade=Yt(e[3]),t.upload=e.length>=6?"".concat("https://").concat(e[5],"/").concat(e[4]):"".concat("https://").concat(e[4]))}return t}(),o=Ft(),u=a.projectId||function(t,n){void 0===n&&(n=null);for(var e,r=5381,o=r,a=0;a<t.length;a+=2)r=(r<<5)+r^t.charCodeAt(a),a+1<t.length&&(o=(o<<5)+o^t.charCodeAt(a+1));return e=Math.abs(r+11579*o),(n?e%Math.pow(2,n):e).toString(36)}(location.host);Nt={projectId:u,userId:o.id,sessionId:r.session,pageNum:r.count},a.lean=a.track&&null!==r.upgrade?0===r.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&r.upload&&r.upload.length>"https://".length?r.upload:a.upload,At(0,t),At(3,n),At(1,function(t,n){if(void 0===n&&(n=!1),n)return"".concat("https://").concat("Electron");var e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var r=t.split("?");return r[0]+"?"+r[1].split("&").map((function(t){return e.some((function(n){return 0===t.indexOf("".concat(n,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}(location.href,!!Dt)),At(2,document.referrer),At(15,function(){var t=Zt();if(a.track&&Wt(window,"sessionStorage")){var n=sessionStorage.getItem("_cltk");t=n||t,sessionStorage.setItem("_cltk",t)}return t}()),At(16,document.documentElement.lang),At(17,document.dir),At(26,"".concat(window.devicePixelRatio)),At(28,o.dob.toString()),At(29,o.version.toString()),x(0,r.ts),x(1,0),x(35,Dt),navigator&&(At(9,navigator.language),x(33,navigator.hardwareConcurrency),x(32,navigator.maxTouchPoints),x(34,Math.round(navigator.deviceMemory)),(e=navigator.userAgentData)&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var n;At(22,t.platform),At(23,t.platformVersion),null===(n=t.brands)||void 0===n||n.forEach((function(t){At(24,t.name+"~"+t.version)})),At(25,t.model),x(27,t.mobile?1:0)})):At(22,navigator.platform)),screen&&(x(14,Math.round(screen.width)),x(15,Math.round(screen.height)),x(16,Math.round(screen.colorDepth)));for(var c=0,i=a.cookies;c<i.length;c++){var s=i[c],l=Kt(s);l&&B(s,l)}Gt(o)}function Ht(){Pt=null,Nt=null}function Lt(t,n){void 0===n&&(n=!0);var e=a.lean?0:1;Nt&&(e||!1===n)?t(Nt,!a.lean):Rt.push({callback:t,wait:n})}function Vt(){return Nt?[Nt.userId,Nt.sessionId,Nt.pageNum].join("."):""}function Bt(t){if(void 0===t&&(t=!0),!t)return a.track=!1,$t("_clsk","",-Number.MAX_VALUE),$t("_clck","",-Number.MAX_VALUE),Bn(),void window.setTimeout(Vn,250);jn()&&(a.track=!0,Gt(Ft(),1))}function Xt(){$t("_clsk","",0)}function Jt(){var t=Math.round(Date.now()),n=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",e=a.lean?0:1;!function(t){Rt.length>0&&Rt.forEach((function(n){!n.callback||n.wait&&!t||n.callback(Nt,!a.lean)}))}(e),$t("_clsk",[Nt.sessionId,t,Nt.pageNum,e,n].join("|"),1)}function Wt(t,n){try{return!!t[n]}catch(t){return!1}}function Gt(t,n){void 0===n&&(n=null),n=null===n?t.consent:n;var e=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===a.dob?0:a.dob:t.dob;(null===t.expiry||Math.abs(e-t.expiry)>=1||t.consent!==n||t.dob!==r)&&$t("_clck",[Nt.userId,2,e.toString(36),n,r].join("|"),365)}function Zt(){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 Yt(t,n){return void 0===n&&(n=10),parseInt(t,n)}function Ft(){var t={id:Zt(),version:0,expiry:null,consent:0,dob:0},n=Kt("_clck");if(n&&n.length>0){for(var e=n.split("|"),r=0,o=0,u=document.cookie.split(";");o<u.length;o++){r+="_clck"===u[o].split("=")[0].trim()?1:0}if(1===e.length||r>1){var c="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(c),document.cookie="".concat("_clsk","=").concat(c)}e.length>1&&(t.version=Yt(e[1])),e.length>2&&(t.expiry=Yt(e[2],36)),e.length>3&&1===Yt(e[3])&&(t.consent=1),e.length>4&&Yt(e[1])>1&&(t.dob=Yt(e[4])),a.track=a.track||1===t.consent,t.id=a.track?e[0]:t.id}return t}function Kt(t){var n;if(Wt(document,"cookie")){var e=document.cookie.split(";");if(e)for(var r=0;r<e.length;r++){var o=e[r].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var a=Qt(o[1]),u=a[0],c=a[1];u;)u=(n=Qt(c))[0],c=n[1];return c}}}return null}function Qt(t){try{var n=decodeURIComponent(t);return[n!=t,n]}catch(t){}return[!1,t]}function $t(t,n,e){if((a.track||""==n)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(n),o=new Date;o.setDate(o.getDate()+e);var u=o?"expires="+o.toUTCString():"",c="".concat(t,"=").concat(r).concat(";").concat(u).concat(";path=/");try{if(null===Pt){for(var i=location.hostname?location.hostname.split("."):[],s=i.length-1;s>=0;s--)if(Pt=".".concat(i[s]).concat(Pt||""),s<i.length-1&&(document.cookie="".concat(c).concat(";").concat("domain=").concat(Pt),Kt(t)===n))return;Pt=""}}catch(t){Pt=""}document.cookie=Pt?"".concat(c).concat(";").concat("domain=").concat(Pt):c}}var tn,nn=null;function en(){var t=Nt;nn={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function rn(){nn=null}function on(t){return nn.start=nn.start+nn.duration,nn.duration=i()-nn.start,nn.sequence++,nn.upload=t&&"sendBeacon"in navigator?1:0,nn.end=t?1:0,[nn.version,nn.sequence,nn.start,nn.duration,nn.projectId,nn.userId,nn.sessionId,nn.pageNum,nn.upload,nn.end]}function an(){tn=[]}function un(t){if(tn&&-1===tn.indexOf(t.message)){var n=a.report;if(n&&n.length>0){var e={v:nn.version,p:nn.projectId,u:nn.userId,s:nn.sessionId,n:nn.pageNum};t.message&&(e.m=t.message),t.stack&&(e.e=t.stack);var r=new XMLHttpRequest;r.open("POST",n,!0),r.send(JSON.stringify(e)),tn.push(t.message)}}return t}function cn(t){return function(){var n=performance.now();try{t.apply(this,arguments)}catch(t){throw un(t)}var e=performance.now()-n;O(4,e),e>30&&(M(7),x(6,e))}}var sn=[];function ln(t,n,e,r){void 0===r&&(r=!1),e=cn(e);try{t[u("addEventListener")](n,e,r),sn.push({event:n,target:t,listener:e,capture:r})}catch(t){}}function pn(){for(var t=0,n=sn;t<n.length;t++){var e=n[t];try{e.target[u("removeEventListener")](e.event,e.listener,e.capture)}catch(t){}}sn=[]}var dn=null,fn=null,hn=null,vn=0;function gn(){return!(vn++>20)}function mn(){vn=0,hn!==bn()&&(Bn(),window.setTimeout(yn,250))}function yn(){Vn(),x(29,1)}function bn(){return location.href?location.href.replace(location.hash,""):location.href}var wn=[],kn=null,_n=null,Sn=null;function En(){_n&&(Sn(),_n=null,null===kn&&Mn())}function In(){wn=[],kn=null,_n=null}function Mn(){var t=wn.shift();t&&(kn=t,t.task().then((function(){t.id===Vt()&&(t.resolve(),kn=null,Mn())})).catch((function(n){t.id===Vt()&&(n&&(n.name,n.message,n.stack),kn=null,Mn())})))}var On=!1;function xn(){On=!0,c=performance.now()+performance.timeOrigin,In(),pn(),an(),hn=bn(),vn=0,ln(window,"popstate",mn),null===dn&&(dn=history.pushState,history.pushState=function(){dn.apply(this,arguments),jn()&&gn()&&mn()}),null===fn&&(fn=history.replaceState,history.replaceState=function(){fn.apply(this,arguments),jn()&&gn()&&mn()})}function Tn(){hn=null,vn=0,an(),pn(),In(),c=0,On=!1}function jn(){return On}function zn(t){if(null===t||On)return!1;for(var n in t)n in a&&(a[n]=t[n]);return!0}function An(){Vn(),_("clarity","restart")}var Cn,qn=null;function Nn(){qn=null}function Rn(t){qn={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){H(this,void 0,void 0,(function(){var n,e;return L(this,(function(r){return n=i(),e=[n,t],29===t&&(e.push(qn.fetchStart),e.push(qn.connectStart),e.push(qn.connectEnd),e.push(qn.requestStart),e.push(qn.responseStart),e.push(qn.responseEnd),e.push(qn.domInteractive),e.push(qn.domComplete),e.push(qn.loadEventStart),e.push(qn.loadEventEnd),e.push(qn.redirectCount),e.push(qn.size),e.push(qn.type),e.push(qn.protocol),e.push(qn.encodedSize),e.push(qn.decodedSize),Nn(),gt(e)),[2]}))}))}(29)}var Dn=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Pn(){try{Cn&&Cn.disconnect(),Cn=new PerformanceObserver(cn(Un));for(var t=0,n=Dn;t<n.length;t++){var e=n[t];PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&O(9,0),Cn.observe({type:e,buffered:!0}))}}catch(t){}}function Un(t){!function(t){for(var n=(!("visibilityState"in document)||"visible"===document.visibilityState),e=0;e<t.length;e++){var r=t[e];switch(r.entryType){case"navigation":Rn(r);break;case"resource":var o=r.name;At(4,Hn(o)),o!==a.upload&&o!==a.fallback||x(28,r.duration);break;case"longtask":M(7);break;case"first-input":n&&x(10,r.processingStart-r.startTime);break;case"layout-shift":n&&!r.hadRecentInput&&O(9,1e3*r.value);break;case"largest-contentful-paint":n&&x(8,r.startTime)}}}(t.getEntries())}function Hn(t){var n=document.createElement("a");return n.href=t,n.host}var Ln=[w,w,w,Object.freeze({__proto__:null,start:function(){Nn(),function(){navigator&&"connection"in navigator&&At(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?ln(window,"load",T.bind(this,Pn,0)):Pn())}()},stop:function(){Cn&&Cn.disconnect(),Cn=null,Nn()}})];function Vn(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===On&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(zn(t),xn(),et(),Ln.forEach((function(t){return cn(t.start)()})),null===t&&Gn())}function Bn(){jn()&&(Ln.slice().reverse().forEach((function(t){return cn(t.stop)()})),rt(),Tn(),void 0!==Jn&&(Jn[Wn]=function(){(Jn[Wn].q=Jn[Wn].q||[]).push(arguments),"start"===arguments[0]&&Jn[Wn].q.unshift(Jn[Wn].q.pop())&&Gn()}))}var Xn=Object.freeze({__proto__:null,consent:Bt,event:_,hashText:y,identify:X,metadata:Lt,pause:function(){jn()&&(_("clarity","pause"),null===_n&&(_n=new Promise((function(t){Sn=t}))))},resume:function(){jn()&&(En(),_("clarity","resume"))},set:B,signal:function(t){$=t},start:Vn,stop:Bn,upgrade:P,version:s}),Jn=window,Wn="clarity";function Gn(){if(void 0!==Jn){if(Jn[Wn]&&Jn[Wn].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Jn[Wn]&&Jn[Wn].q||[];for(Jn[Wn]=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return Xn[t].apply(Xn,n)},Jn[Wn].v=s;t.length>0;)Jn[Wn].apply(Jn,t.shift())}}Gn()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return gt},get start(){return vt},get stop(){return mt},get track(){return st}}),n=Object.freeze({__proto__:null,get check(){return Et},get compute(){return Ot},get data(){return lt},get start(){return _t},get stop(){return Mt},get trigger(){return It}}),e=Object.freeze({__proto__:null,get compute(){return Ct},get data(){return Tt},get log(){return At},get reset(){return qt},get start(){return jt},get stop(){return zt},get updates(){return xt}}),r=Object.freeze({__proto__:null,get callbacks(){return Dt},get clear(){return Xt},get consent(){return Bt},get data(){return Nt},get electron(){return Rt},get id(){return Vt},get metadata(){return Lt},get save(){return Jt},get shortid(){return Gt},get start(){return Ut},get stop(){return Ht}}),o=Object.freeze({__proto__:null,get data(){return nn},get envelope(){return on},get start(){return en},get stop(){return rn}}),a={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function i(t){void 0===t&&(t=null);var n=t&&t.timeStamp>0?t.timeStamp:performance.now(),e=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+e-c),0)}var s="0.7.43";var l=!0,d=null,p=null;function f(t,n,e){return function(){if(l&&null===d)try{d=new RegExp("\\p{N}","gu"),p=new RegExp("\\p{L}","gu"),new RegExp("\\p{Sc}","gu")}catch(t){l=!1}}(),t?t.replace(p,n).replace(d,e):t}var h=[],v=null;function g(){}var m=[];function y(){}function b(){}var w=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:v,hashText:y,keys:m,log:g,observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:h,stop:function(){},trigger:b}),k=null;function S(t,n){jn()&&t&&"string"==typeof t&&t.length<255&&(k=n&&"string"==typeof n&&n.length<255?{key:t,value:n}:{value:t},St(24))}var _,E=null,I=null;function O(t){t in E||(E[t]=0),t in I||(I[t]=0),E[t]++,I[t]++}function M(t,n){null!==n&&(t in E||(E[t]=0),t in I||(I[t]=0),E[t]+=n,I[t]+=n)}function T(t,n){null!==n&&!1===isNaN(n)&&(t in E||(E[t]=0),(n>E[t]||0===E[t])&&(I[t]=n,E[t]=n))}function x(t,n,e){return window.setTimeout(cn(t),n,e)}function j(t){return window.clearTimeout(t)}var z=0,A=0,C=null;function q(){C&&j(C),C=x(N,A),z=i()}function N(){var t=i();_={gap:t-z},St(25),_.gap<3e5?C=x(N,A):Mn&&(S("clarity","suspend"),Bn(),["mousemove","touchstart"].forEach((function(t){return ln(document,t,An)})),["resize","scroll","pageshow"].forEach((function(t){return ln(window,t,An)})))}var D=Object.freeze({__proto__:null,get data(){return _},reset:q,start:function(){A=6e4,z=0},stop:function(){j(C),z=0,A=0}}),R=null;function P(t){jn()&&a.lean&&(a.lean=!1,R={key:t},Jt(),a.upgrade&&a.upgrade(t),St(3))}var U=Object.freeze({__proto__:null,get data(){return R},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),R=null},stop:function(){R=null},upgrade:P});function H(t,n,e,r){return new(e||(e=Promise))((function(o,a){function u(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,c)}i((r=r.apply(t,n||[])).next())}))}function L(t,n){var e,r,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(i){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(u=0)),u;)try{if(e=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=n.call(t,u)}catch(t){c=[6,t],r=0}finally{e=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}var V=null;function B(t,n){J(t,"string"==typeof n?[n]:n)}function X(t,n,e,r){return void 0===n&&(n=null),void 0===e&&(e=null),void 0===r&&(r=null),H(this,void 0,void 0,(function(){var o,a;return L(this,(function(u){switch(u.label){case 0:return a={},[4,G(t)];case 1:return a.userId=u.sent(),a.userHint=r||((c=t)&&c.length>=5?"".concat(c.substring(0,2)).concat(f(c.substring(2),"*","*")):f(c,"*","*")),J("userId",[(o=a).userId]),J("userHint",[o.userHint]),J("userType",[F(t)]),n&&(J("sessionId",[n]),o.sessionId=n),e&&(J("pageId",[e]),o.pageId=e),[2,o]}var c}))}))}function J(t,n){if(jn()&&t&&n&&"string"==typeof t&&t.length<255){for(var e=(t in V?V[t]:[]),r=0;r<n.length;r++)"string"==typeof n[r]&&n[r].length<255&&e.push(n[r]);V[t]=e}}function W(){St(34)}function Z(){V={}}function G(t){return H(this,void 0,void 0,(function(){var n;return L(this,(function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return n=e.sent(),[2,Array.prototype.map.call(new Uint8Array(n),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return e.sent(),[2,""];case 5:return[2]}}))}))}function F(t){return t&&t.indexOf("@")>0?"email":"string"}var Y="CompressionStream"in window;function K(t){return H(this,void 0,void 0,(function(){var n,e;return L(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),Y?(n=new ReadableStream({start:function(n){return H(this,void 0,void 0,(function(){return L(this,(function(e){return n.enqueue(t),n.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),e=Uint8Array.bind,[4,Q(n)]):[3,2];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function Q(t){return H(this,void 0,void 0,(function(){var n,e,r,o,a;return L(this,(function(u){switch(u.label){case 0:n=t.getReader(),e=[],r=!1,o=[],u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return a=u.sent(),r=a.done,o=a.value,r?[2,e]:(e.push.apply(e,o),[3,1]);case 3:return[2,e]}}))}))}var $=null;function tt(t){try{if(!$)return;var n=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);n.forEach((function(t){$(t)}))}catch(t){}}var nt=[w,e,Object.freeze({__proto__:null,compute:W,get data(){return V},identify:X,reset:Z,set:B,start:function(){Z()},stop:function(){Z()}}),n,w,r,o,t,D,U,w];function et(){E={},I={},O(5),nt.forEach((function(t){return cn(t.start)()}))}function rt(){nt.slice().reverse().forEach((function(t){return cn(t.stop)()})),E={},I={}}function ot(){W(),Ct(),St(0),Ot()}var at,ut,ct,it,st,lt,dt=0,pt=0,ft=null,ht=0;function vt(){it=!0,dt=0,pt=0,ht=0,at=[],ut=[],ct={},st=null}function gt(t,n){if(void 0===n&&(n=!0),it){var e=i(),r=t.length>1?t[1]:null,o=JSON.stringify(t);switch(r){case 5:dt+=o.length;case 37:case 6:case 43:case 45:case 46:pt+=o.length,at.push(o);break;default:ut.push(o)}O(25);var u=function(){var t=!1===a.lean&&dt>0?100:nn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();e-ht>2*u&&(j(ft),ft=null),n&&null===ft&&(25!==r&&q(),ft=x(yt,u),ht=e,Et(pt))}}function mt(){j(ft),yt(!0),dt=0,pt=0,ht=0,at=[],ut=[],ct={},st=null,it=!1}function yt(t){return void 0===t&&(t=!1),H(this,void 0,void 0,(function(){var n,e,r,o,u,c,i,s;return L(this,(function(l){switch(l.label){case 0:return ft=null,(n=!1===a.lean&&pt>0&&(pt<1048576||nn.sequence>0))&&T(1,1),ot(),e=!0===t,r=JSON.stringify(on(e)),o="[".concat(ut.join(),"]"),u=n?"[".concat(at.join(),"]"):"",c=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:o,p:u}),e?(s=null,[3,3]):[3,1];case 1:return[4,K(c)];case 2:s=l.sent(),l.label=3;case 3:return M(2,(i=s)?i.length:c.length),bt(c,i,nn.sequence,e),ut=[],n&&(at=[],pt=0,dt=0),[2]}}))}))}function bt(t,n,e,r){if(void 0===r&&(r=!1),"string"==typeof a.upload){var o=a.upload,u=!1;if(r&&"sendBeacon"in navigator)try{(u=navigator.sendBeacon.bind(navigator)(o,t))&&kt(e)}catch(t){}if(!1===u){e in ct?ct[e].attempts++:ct[e]={data:t,attempts:1};var c=new XMLHttpRequest;c.open("POST",o,!0),c.timeout=15e3,c.ontimeout=function(){un(new Error("".concat("Timeout"," : ").concat(o)))},null!==e&&(c.onreadystatechange=function(){cn(wt)(c,e)}),c.withCredentials=!0,n?(c.setRequestHeader("Accept","application/x-clarity-gzip"),c.send(n)):c.send(t)}}else if(a.upload){(0,a.upload)(t),kt(e)}}function wt(t,n){var e=ct[n];t&&4===t.readyState&&e&&((t.status<200||t.status>208)&&e.attempts<=1?t.status>=400&&t.status<500?It(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),bt(e.data,null,n)):(st={sequence:n,attempts:e.attempts,status:t.status},e.attempts>1&&St(2),200===t.status&&t.responseText&&function(t){for(var n=t&&t.length>0?t.split("\n"):[],e=0,r=n;e<r.length;e++){var o=r[e],u=o&&o.length>0?o.split(/ (.*)/):[""];switch(u[0]){case"END":It(6);break;case"UPGRADE":P("Auto");break;case"ACTION":a.action&&u.length>1&&a.action(u[1]);break;case"EXTRACT":u.length>1&&u[1];break;case"SIGNAL":u.length>1&&tt(u[1])}}}(t.responseText),0===t.status&&(bt(e.data,null,n,!0),It(3)),t.status>=200&&t.status<=208&&kt(n),delete ct[n]))}function kt(t){1===t&&Jt()}function St(t){var n=[i(),t];switch(t){case 4:var e=h;e&&((n=[e.time,e.event]).push(e.data.visible),n.push(e.data.docWidth),n.push(e.data.docHeight),n.push(e.data.screenWidth),n.push(e.data.screenHeight),n.push(e.data.scrollX),n.push(e.data.scrollY),n.push(e.data.pointerX),n.push(e.data.pointerY),n.push(e.data.activityTime),n.push(e.data.scrollTime),gt(n,!1));break;case 25:n.push(_.gap),gt(n);break;case 35:n.push(lt.check),gt(n,!1);break;case 3:n.push(R.key),gt(n);break;case 2:n.push(st.sequence),n.push(st.attempts),n.push(st.status),gt(n,!1);break;case 24:k.key&&n.push(k.key),n.push(k.value),gt(n);break;case 34:var r=Object.keys(V);if(r.length>0){for(var o=0,a=r;o<a.length;o++){var u=a[o];n.push(u),n.push(V[u])}Z(),gt(n,!1)}break;case 0:var c=Object.keys(I);if(c.length>0){for(var s=0,l=c;s<l.length;s++){var d=l[s],p=parseInt(d,10);n.push(p),n.push(Math.round(I[d]))}I={},gt(n,!1)}break;case 1:var f=Object.keys(xt);if(f.length>0){for(var g=0,y=f;g<y.length;g++){var b=y[g];p=parseInt(b,10);n.push(p),n.push(xt[b])}qt(),gt(n,!1)}break;case 36:var w=Object.keys(v);if(w.length>0){for(var S=0,E=w;S<E.length;S++){var O=E[S];p=parseInt(O,10);n.push(p),n.push([].concat.apply([],v[O]))}gt(n,!1)}break;case 40:m.forEach((function(t){n.push(t);var e=[];for(var r in v[t]){var o=parseInt(r,10);e.push(o),e.push(v[t][r])}n.push(e)})),gt(n,!1)}}function _t(){lt={check:0}}function Et(t){if(0===lt.check){var n=lt.check;n=nn.sequence>=128?1:n,n=nn.pageNum>=128?7:n,n=i()>72e5?2:n,(n=t>10485760?2:n)!==lt.check&&It(n)}}function It(t){lt.check=t,Xt(),Bn()}function Ot(){0!==lt.check&&St(35)}function Mt(){lt=null}var Tt=null,xt=null;function jt(){Tt={},xt={}}function zt(){Tt={},xt={}}function At(t,n){n&&(n="".concat(n),t in Tt||(Tt[t]=[]),Tt[t].indexOf(n)<0&&(Tt[t].push(n),t in xt||(xt[t]=[]),xt[t].push(n),Tt[t].length>128&&It(5)))}function Ct(){St(1)}function qt(){xt={}}var Nt=null,Dt=[],Rt=0,Pt=null;function Ut(){var t,n,e;Pt=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",o=null!==(e=null===(n=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===n?void 0:n.timeZone)&&void 0!==e?e:"",u=(new Date).getTimezoneOffset().toString(),c=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",i=document&&document.title?document.title:"";Rt=r.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Gt(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},n=Kt("_clsk");if(n){var e=n.split("|");e.length>=5&&t.ts-Ft(e[1])<18e5&&(t.session=e[0],t.count=Ft(e[2])+1,t.upgrade=Ft(e[3]),t.upload=e.length>=6?"".concat("https://").concat(e[5],"/").concat(e[4]):"".concat("https://").concat(e[4]))}return t}(),d=Yt(),p=a.projectId||function(t,n){void 0===n&&(n=null);for(var e,r=5381,o=r,a=0;a<t.length;a+=2)r=(r<<5)+r^t.charCodeAt(a),a+1<t.length&&(o=(o<<5)+o^t.charCodeAt(a+1));return e=Math.abs(r+11579*o),(n?e%Math.pow(2,n):e).toString(36)}(location.host);Nt={projectId:p,userId:d.id,sessionId:l.session,pageNum:l.count},a.lean=a.track&&null!==l.upgrade?0===l.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&l.upload&&l.upload.length>"https://".length?l.upload:a.upload,At(0,r),At(3,i),At(1,function(t,n){if(void 0===n&&(n=!1),n)return"".concat("https://").concat("Electron");var e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var r=t.split("?");return r[0]+"?"+r[1].split("&").map((function(t){return e.some((function(n){return 0===t.indexOf("".concat(n,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}(location.href,!!Rt)),At(2,document.referrer),At(15,function(){var t=Gt();if(a.track&&Wt(window,"sessionStorage")){var n=sessionStorage.getItem("_cltk");t=n||t,sessionStorage.setItem("_cltk",t)}return t}()),At(16,document.documentElement.lang),At(17,document.dir),At(26,"".concat(window.devicePixelRatio)),At(28,d.dob.toString()),At(29,d.version.toString()),At(33,c),At(34,o),At(35,u),T(0,l.ts),T(1,0),T(35,Rt),navigator&&(At(9,navigator.language),T(33,navigator.hardwareConcurrency),T(32,navigator.maxTouchPoints),T(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var n;At(22,t.platform),At(23,t.platformVersion),null===(n=t.brands)||void 0===n||n.forEach((function(t){At(24,t.name+"~"+t.version)})),At(25,t.model),T(27,t.mobile?1:0)})):At(22,navigator.platform)),screen&&(T(14,Math.round(screen.width)),T(15,Math.round(screen.height)),T(16,Math.round(screen.colorDepth)));for(var f=0,h=a.cookies;f<h.length;f++){var v=h[f],g=Kt(v);g&&B(v,g)}Zt(d)}function Ht(){Pt=null,Nt=null}function Lt(t,n){void 0===n&&(n=!0);var e=a.lean?0:1;Nt&&(e||!1===n)?t(Nt,!a.lean):Dt.push({callback:t,wait:n})}function Vt(){return Nt?[Nt.userId,Nt.sessionId,Nt.pageNum].join("."):""}function Bt(t){if(void 0===t&&(t=!0),!t)return a.track=!1,$t("_clsk","",-Number.MAX_VALUE),$t("_clck","",-Number.MAX_VALUE),Bn(),void window.setTimeout(Vn,250);jn()&&(a.track=!0,Zt(Yt(),1))}function Xt(){$t("_clsk","",0)}function Jt(){var t=Math.round(Date.now()),n=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",e=a.lean?0:1;!function(t){Dt.length>0&&Dt.forEach((function(n){!n.callback||n.wait&&!t||n.callback(Nt,!a.lean)}))}(e),$t("_clsk",[Nt.sessionId,t,Nt.pageNum,e,n].join("|"),1)}function Wt(t,n){try{return!!t[n]}catch(t){return!1}}function Zt(t,n){void 0===n&&(n=null),n=null===n?t.consent:n;var e=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===a.dob?0:a.dob:t.dob;(null===t.expiry||Math.abs(e-t.expiry)>=1||t.consent!==n||t.dob!==r)&&$t("_clck",[Nt.userId,2,e.toString(36),n,r].join("|"),365)}function Gt(){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 Ft(t,n){return void 0===n&&(n=10),parseInt(t,n)}function Yt(){var t={id:Gt(),version:0,expiry:null,consent:0,dob:0},n=Kt("_clck");if(n&&n.length>0){for(var e=n.split("|"),r=0,o=0,u=document.cookie.split(";");o<u.length;o++){r+="_clck"===u[o].split("=")[0].trim()?1:0}if(1===e.length||r>1){var c="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(c),document.cookie="".concat("_clsk","=").concat(c)}e.length>1&&(t.version=Ft(e[1])),e.length>2&&(t.expiry=Ft(e[2],36)),e.length>3&&1===Ft(e[3])&&(t.consent=1),e.length>4&&Ft(e[1])>1&&(t.dob=Ft(e[4])),a.track=a.track||1===t.consent,t.id=a.track?e[0]:t.id}return t}function Kt(t){var n;if(Wt(document,"cookie")){var e=document.cookie.split(";");if(e)for(var r=0;r<e.length;r++){var o=e[r].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var a=Qt(o[1]),u=a[0],c=a[1];u;)u=(n=Qt(c))[0],c=n[1];return c}}}return null}function Qt(t){try{var n=decodeURIComponent(t);return[n!=t,n]}catch(t){}return[!1,t]}function $t(t,n,e){if((a.track||""==n)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(n),o=new Date;o.setDate(o.getDate()+e);var u=o?"expires="+o.toUTCString():"",c="".concat(t,"=").concat(r).concat(";").concat(u).concat(";path=/");try{if(null===Pt){for(var i=location.hostname?location.hostname.split("."):[],s=i.length-1;s>=0;s--)if(Pt=".".concat(i[s]).concat(Pt||""),s<i.length-1&&(document.cookie="".concat(c).concat(";").concat("domain=").concat(Pt),Kt(t)===n))return;Pt=""}}catch(t){Pt=""}document.cookie=Pt?"".concat(c).concat(";").concat("domain=").concat(Pt):c}}var tn,nn=null;function en(){var t=Nt;nn={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function rn(){nn=null}function on(t){return nn.start=nn.start+nn.duration,nn.duration=i()-nn.start,nn.sequence++,nn.upload=t&&"sendBeacon"in navigator?1:0,nn.end=t?1:0,[nn.version,nn.sequence,nn.start,nn.duration,nn.projectId,nn.userId,nn.sessionId,nn.pageNum,nn.upload,nn.end]}function an(){tn=[]}function un(t){if(tn&&-1===tn.indexOf(t.message)){var n=a.report;if(n&&n.length>0){var e={v:nn.version,p:nn.projectId,u:nn.userId,s:nn.sessionId,n:nn.pageNum};t.message&&(e.m=t.message),t.stack&&(e.e=t.stack);var r=new XMLHttpRequest;r.open("POST",n,!0),r.send(JSON.stringify(e)),tn.push(t.message)}}return t}function cn(t){return function(){var n=performance.now();try{t.apply(this,arguments)}catch(t){throw un(t)}var e=performance.now()-n;M(4,e),e>30&&(O(7),T(6,e))}}var sn=[];function ln(t,n,e,r){void 0===r&&(r=!1),e=cn(e);try{t[u("addEventListener")](n,e,r),sn.push({event:n,target:t,listener:e,capture:r})}catch(t){}}function dn(){for(var t=0,n=sn;t<n.length;t++){var e=n[t];try{e.target[u("removeEventListener")](e.event,e.listener,e.capture)}catch(t){}}sn=[]}var pn=null,fn=null,hn=null,vn=0;function gn(){return!(vn++>20)}function mn(){vn=0,hn!==bn()&&(Bn(),window.setTimeout(yn,250))}function yn(){Vn(),T(29,1)}function bn(){return location.href?location.href.replace(location.hash,""):location.href}var wn=[],kn=null,Sn=null,_n=null;function En(){Sn&&(_n(),Sn=null,null===kn&&On())}function In(){wn=[],kn=null,Sn=null}function On(){var t=wn.shift();t&&(kn=t,t.task().then((function(){t.id===Vt()&&(t.resolve(),kn=null,On())})).catch((function(n){t.id===Vt()&&(n&&(n.name,n.message,n.stack),kn=null,On())})))}var Mn=!1;function Tn(){Mn=!0,c=performance.now()+performance.timeOrigin,In(),dn(),an(),hn=bn(),vn=0,ln(window,"popstate",mn),null===pn&&(pn=history.pushState,history.pushState=function(){pn.apply(this,arguments),jn()&&gn()&&mn()}),null===fn&&(fn=history.replaceState,history.replaceState=function(){fn.apply(this,arguments),jn()&&gn()&&mn()})}function xn(){hn=null,vn=0,an(),dn(),In(),c=0,Mn=!1}function jn(){return Mn}function zn(t){if(null===t||Mn)return!1;for(var n in t)n in a&&(a[n]=t[n]);return!0}function An(){Vn(),S("clarity","restart")}var Cn,qn=null;function Nn(){qn=null}function Dn(t){qn={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){H(this,void 0,void 0,(function(){var n,e;return L(this,(function(r){return n=i(),e=[n,t],29===t&&(e.push(qn.fetchStart),e.push(qn.connectStart),e.push(qn.connectEnd),e.push(qn.requestStart),e.push(qn.responseStart),e.push(qn.responseEnd),e.push(qn.domInteractive),e.push(qn.domComplete),e.push(qn.loadEventStart),e.push(qn.loadEventEnd),e.push(qn.redirectCount),e.push(qn.size),e.push(qn.type),e.push(qn.protocol),e.push(qn.encodedSize),e.push(qn.decodedSize),Nn(),gt(e)),[2]}))}))}(29)}var Rn=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Pn(){try{Cn&&Cn.disconnect(),Cn=new PerformanceObserver(cn(Un));for(var t=0,n=Rn;t<n.length;t++){var e=n[t];PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&M(9,0),Cn.observe({type:e,buffered:!0}))}}catch(t){}}function Un(t){!function(t){for(var n=(!("visibilityState"in document)||"visible"===document.visibilityState),e=0;e<t.length;e++){var r=t[e];switch(r.entryType){case"navigation":Dn(r);break;case"resource":var o=r.name;At(4,Hn(o)),o!==a.upload&&o!==a.fallback||T(28,r.duration);break;case"longtask":O(7);break;case"first-input":n&&T(10,r.processingStart-r.startTime);break;case"event":n&&T(37,r.duration);break;case"layout-shift":n&&!r.hadRecentInput&&M(9,1e3*r.value);break;case"largest-contentful-paint":n&&T(8,r.startTime)}}}(t.getEntries())}function Hn(t){var n=document.createElement("a");return n.href=t,n.host}var Ln=[w,w,w,Object.freeze({__proto__:null,start:function(){Nn(),function(){navigator&&"connection"in navigator&&At(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?ln(window,"load",x.bind(this,Pn,0)):Pn())}()},stop:function(){Cn&&Cn.disconnect(),Cn=null,Nn()}})];function Vn(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Mn&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(zn(t),Tn(),et(),Ln.forEach((function(t){return cn(t.start)()})),null===t&&Zn())}function Bn(){jn()&&(Ln.slice().reverse().forEach((function(t){return cn(t.stop)()})),rt(),xn(),void 0!==Jn&&(Jn[Wn]=function(){(Jn[Wn].q=Jn[Wn].q||[]).push(arguments),"start"===arguments[0]&&Jn[Wn].q.unshift(Jn[Wn].q.pop())&&Zn()}))}var Xn=Object.freeze({__proto__:null,consent:Bt,event:S,hashText:y,identify:X,metadata:Lt,pause:function(){jn()&&(S("clarity","pause"),null===Sn&&(Sn=new Promise((function(t){_n=t}))))},resume:function(){jn()&&(En(),S("clarity","resume"))},set:B,signal:function(t){$=t},start:Vn,stop:Bn,upgrade:P,version:s}),Jn=window,Wn="clarity";function Zn(){if(void 0!==Jn){if(Jn[Wn]&&Jn[Wn].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Jn[Wn]&&Jn[Wn].q||[];for(Jn[Wn]=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return Xn[t].apply(Xn,n)},Jn[Wn].v=s;t.length>0;)Jn[Wn].apply(Jn,t.shift())}}Zn()}();
|