clarity-js 0.7.57 → 0.7.58

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.js CHANGED
@@ -166,7 +166,7 @@ function stop$F() {
166
166
  startTime = 0;
167
167
  }
168
168
 
169
- var version$1 = "0.7.57";
169
+ var version$1 = "0.7.58";
170
170
 
171
171
  // tslint:disable: no-bitwise
172
172
  function hash (input, precision) {
@@ -1957,6 +1957,8 @@ function stop$r() {
1957
1957
 
1958
1958
  var state$5 = [];
1959
1959
  var timeout$5 = null;
1960
+ var activeTouchPointId = 0;
1961
+ var activeTouchPointIds = new Set();
1960
1962
  function start$s() {
1961
1963
  reset$f();
1962
1964
  }
@@ -1999,13 +2001,25 @@ function touch(event, root, evt) {
1999
2001
  var y = "clientY" in entry ? Math.round(entry["clientY"] + d.scrollTop) : null;
2000
2002
  x = x && frame ? x + Math.round(frame.offsetLeft) : x;
2001
2003
  y = y && frame ? y + Math.round(frame.offsetTop) : y;
2002
- // identifier is 0-based, unique for each touch point and resets when all fingers are lifted
2003
- // that is not a part of the spec, but it is how it is implemented in browsers
2004
- // tested in Chromium-based browsers as well as Firefox
2004
+ // We cannot rely on identifier to determine primary touch as its value doesn't always start with 0.
2005
+ // Safari/Webkit uses the address of the UITouch object as the identifier value for each touch point.
2005
2006
  var id = "identifier" in entry ? entry["identifier"] : undefined;
2007
+ switch (event) {
2008
+ case 17 /* Event.TouchStart */:
2009
+ if (activeTouchPointIds.size === 0) {
2010
+ activeTouchPointId = id;
2011
+ }
2012
+ activeTouchPointIds.add(id);
2013
+ break;
2014
+ case 18 /* Event.TouchEnd */:
2015
+ case 20 /* Event.TouchCancel */:
2016
+ activeTouchPointIds.delete(id);
2017
+ break;
2018
+ }
2019
+ var isPrimary = activeTouchPointId === id;
2006
2020
  // Check for null values before processing this event
2007
2021
  if (x !== null && y !== null) {
2008
- handler$2({ time: t, event: event, data: { target: target(evt), x: x, y: y, id: id } });
2022
+ handler$2({ time: t, event: event, data: { target: target(evt), x: x, y: y, id: id, isPrimary: isPrimary } });
2009
2023
  }
2010
2024
  }
2011
2025
  }
@@ -2054,7 +2068,9 @@ function stop$q() {
2054
2068
 
2055
2069
  var data$b;
2056
2070
  var timeout$4 = null;
2071
+ var initialStateLogged = false;
2057
2072
  function start$r() {
2073
+ initialStateLogged = false;
2058
2074
  bind(window, "resize", recompute$5);
2059
2075
  recompute$5();
2060
2076
  }
@@ -2066,8 +2082,14 @@ function recompute$5() {
2066
2082
  width: de && "clientWidth" in de ? Math.min(de.clientWidth, window.innerWidth) : window.innerWidth,
2067
2083
  height: de && "clientHeight" in de ? Math.min(de.clientHeight, window.innerHeight) : window.innerHeight,
2068
2084
  };
2069
- clearTimeout(timeout$4);
2070
- timeout$4 = setTimeout(process$5, 500 /* Setting.LookAhead */, 11 /* Event.Resize */);
2085
+ if (initialStateLogged) {
2086
+ clearTimeout(timeout$4);
2087
+ timeout$4 = setTimeout(process$5, 500 /* Setting.LookAhead */, 11 /* Event.Resize */);
2088
+ }
2089
+ else {
2090
+ encode$3(11 /* Event.Resize */);
2091
+ initialStateLogged = true;
2092
+ }
2071
2093
  }
2072
2094
  function process$5(event) {
2073
2095
  schedule$1(encode$3.bind(this, event));
@@ -3650,6 +3672,9 @@ function encode$3 (type, ts) {
3650
3672
  tokens.push(entry.data.y);
3651
3673
  if (entry.data.id !== undefined) {
3652
3674
  tokens.push(entry.data.id);
3675
+ if (entry.data.isPrimary !== undefined) {
3676
+ tokens.push(entry.data.isPrimary.toString());
3677
+ }
3653
3678
  }
3654
3679
  queue(tokens);
3655
3680
  track$8(entry.event, entry.data.x, entry.data.y);
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return vr},get start(){return pr},get stop(){return gr},get track(){return sr}}),e=Object.freeze({__proto__:null,get clone(){return zr},get compute(){return Hr},get data(){return _r},get keys(){return Ir},get reset(){return Pr},get start(){return Rr},get stop(){return Xr},get trigger(){return Lr},get update(){return Wr}}),n=Object.freeze({__proto__:null,get check(){return Br},get compute(){return Gr},get data(){return xr},get start(){return Vr},get stop(){return Kr},get trigger(){return Jr}}),a=Object.freeze({__proto__:null,get compute(){return ai},get data(){return Zr},get log(){return ni},get reset(){return ri},get start(){return ti},get stop(){return ei},get updates(){return Qr}}),r=Object.freeze({__proto__:null,get callback(){return gi},get callbacks(){return ui},get clear(){return vi},get consent(){return pi},get data(){return oi},get electron(){return ci},get id(){return hi},get metadata(){return fi},get save(){return mi},get shortid(){return wi},get start(){return li},get stop(){return di}}),i=Object.freeze({__proto__:null,get data(){return Mi},get envelope(){return Ii},get start(){return xi},get stop(){return _i}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,longTask:30,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.57";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,r){if(void 0===a&&(a=!1),t){if("input"==e&&("checkbox"===r||"radio"===r))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;E();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 S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?b(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?b(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 y(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 b(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 E(),t?t.replace(v,e).replace(p,n):t}function S(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 E(){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 O=null,T=null,N=!1;function M(){N&&(O={time:s(),event:4,data:{visible:T.visible,docWidth:T.docWidth,docHeight:T.docHeight,screenWidth:T.screenWidth,screenHeight:T.screenHeight,scrollX:T.scrollX,scrollY:T.scrollY,pointerX:T.pointerX,pointerY:T.pointerY,activityTime:T.activityTime,scrollTime:T.scrollTime}}),T=T||{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:T.docWidth=e,T.docHeight=n;break;case 11:T.screenWidth=e,T.screenHeight=n;break;case 10:T.scrollX=e,T.scrollY=n,T.scrollTime=a;break;default:T.pointerX=e,T.pointerY=n}N=!0}function _(t){T.activityTime=t}function I(t,e){T.visible="visible"===e?1:0,T.visible||_(t),N=!0}function C(){N&&Fr(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){N=!1,M()},get state(){return O},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){Ji()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Fr(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(ji(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},Fr(25),R.gap<3e5?F=X(B,U):Fi&&(A("clarity","suspend"),wo(),["mousemove","touchstart"].forEach((function(t){return Ri(document,t,Gi)})),["resize","scroll","pageshow"].forEach((function(t){return Ri(window,t,Gi)})))}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(){Fr(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){Ji()&&o.lean&&(o.lean=!1,tt={key:t},gi(),mi(),o.upgrade&&o.upgrade(t),Fr(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(Ji()&&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(){Fr(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 yt=[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 bt(){L={},z={},H(5),yt.forEach((function(t){return ji(t.start)()}))}function wt(){yt.slice().reverse().forEach((function(t){return ji(t.stop)()})),L={},z={}}function kt(){st(),C(),ai(),Fr(0),Z(),Gr(),Hr()}var St,Et=[];function Ot(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(St={id:t,target:e,checksum:d(n,28)},Et.indexOf(St.checksum)<0&&(Et.push(St.checksum),Or(41)))}var Tt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Nt={};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 Nt||(Nt[c]=[]),Nt[c].indexOf(t.id)<0&&Nt[c].push(t.id),i="".concat(c).concat("~").concat(Nt[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(Tt.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,Nt={}}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 Fa(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){Mr(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=Jt(t,!0),i=e?Jt(e):null,u=oe(t),c=null,s=Va(t)?r:null,l=qt.has(t)?qt.get(t):null,d=o.content?1:3;i>=0&&Ct[i]&&((c=Ct[i]).children.push(r),s=null===s?c.region:s,l=null===l?c.metadata.fraud:l,d=c.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Fa(t,n.attributes["data-clarity-region"]),s=r),It.set(r,t),Ct[r]={id:r,parent:i,previous:u,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:l,size:null}},function(t,e,n){var a,r=e.data,i=e.metadata,o=i.privacy,u=r.attributes||{},c=r.tag.toUpperCase();switch(!0){case Pt.indexOf(c)>=0:var s=u.type,l="",d=["class","style"];Object.keys(u).filter((function(t){return!d.includes(t)})).forEach((function(t){return l+=u[t].toLowerCase()}));var f=zt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&Ht.indexOf(s)>=0?o:f?4:2;break;case"data-clarity-mask"in u:i.privacy=3;break;case"data-clarity-unmask"in u:i.privacy=0;break;case Yt.has(t):i.privacy=Yt.get(t);break;case qt.has(t):i.privacy=2;break;case"*T"===c:var h=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",v=["STYLE","TITLE","svg:style"];i.privacy=v.includes(h)||At.some((function(t){return p.indexOf(t)>=0}))?0:o;break;case 1===o:i.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(u.class,Lt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Ct[r],c),Qt(Ct[r]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=te(t.id);!e||e.complete&&0!==e.naturalWidth||Ri(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(wi()))})),t.metadata.size=[]}}(Ct[r]),ue(r,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=Va(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:hi()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===hi()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===hi()&&(e&&Mr(0,1,e.name,e.message,e.stack),fe=null,me())})))}function ye(t){var e=Se(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function be(t){le[Se(t)]={start:performance.now(),calls:0,yield:o.longTask}}function we(t){var e=performance.now(),n=Se(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=Se(t))in le?(we(t),n=le[e],[4,Ee()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Se(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;be(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Se(t){return"".concat(t.id,".").concat(t.cost)}function Ee(){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){Te(t,{timeout:se})}))]}}))}))}var Oe,Te=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(),u=r-n,c=r-a.data;if(c>o.longTask&&u<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var s=u>e.timeout;t({didTimeout:s,timeRemaining:function(){return s?o.longTask:Math.max(0,o.longTask-c)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Ne(){Oe=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!==Oe&&c===Oe.width&&v===Oe.height||null===c||null===v||(Oe={width:c,height:v},Ra(8))}var xe=[];function _e(t){var e=Qa(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,28):"";xe.push({time:s(t),event:42,data:{target:Qa(t),type:e.type,value:n,checksum:a}}),ge(tr.bind(this,42))}}function Ie(){xe=[]}function Ce(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 De=["input","textarea","radio","button","canvas"],je=[];function Ae(t){Ri(t,"click",Re.bind(this,9,t),!0)}function Re(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=Qa(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&&(je.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:ze(c),context:He(l),text:Le(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(tr.bind(this,t)))}function Le(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 ze(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(De.indexOf(e)>=0)return 0}return 1}function He(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 Pe(){je=[]}var We=[];function Xe(t,e){We.push({time:s(e),event:38,data:{target:Qa(e),action:t}}),ge(tr.bind(this,38))}function Ye(){We=[]}var qe=null,Ue=[];function Fe(t){var e=Qa(t),n=ee(e);if(e&&e.type&&n){var a=e.value,r=e.type;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var i={target:e,value:a,type:r};Ue.length>0&&Ue[Ue.length-1].data.target===i.target&&Ue.pop(),Ue.push({time:s(t),event:27,data:i}),Y(qe),qe=X(Ve,1e3,27)}}function Ve(t){ge(tr.bind(this,t))}function Be(){Ue=[]}var Je,Ge=[],Ke=null;function Ze(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&$e({time:s(n),event:t,data:{target:Qa(n),x:i,y:o}})}function Qe(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;var f="identifier"in c?c.identifier:void 0;null!==l&&null!==d&&$e({time:o,event:t,data:{target:Qa(n),x:l,y:d,id:f}})}}function $e(t){switch(t.event){case 12:case 15:case 19:var e=Ge.length,n=e>1?Ge[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)&&Ge.pop(),Ge.push(t),Y(Ke),Ke=X(tn,500,t.event);break;default:Ge.push(t),tn(t.event)}}function tn(t){ge(tr.bind(this,t))}function en(){Ge=[]}var nn=null;function an(){var t=document.documentElement;Je={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},Y(nn),nn=X(rn,500,11)}function rn(t){ge(tr.bind(this,t))}function on(){Je=null,Y(nn)}var un=[],cn=null,sn=null,ln=null;function dn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?Qa(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=fn(l,d),p=fn(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 cn=h,void(sn=p);var g=un.length,m=g>1?un[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)&&un.pop(),un.push(v),Y(ln),ln=X(hn,500,10)}function fn(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 hn(t){ge(tr.bind(this,t))}function pn(){var t,e;if(cn){var n=$a(cn,null);ni(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(sn){var a=$a(sn,null);ni(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}var vn=null,gn=null,mn=null;function yn(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=vn.start?vn.start:null;null!==gn&&null!==vn.start&&n!==e.anchorNode&&(Y(mn),bn(21)),vn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},gn=e,Y(mn),mn=X(bn,500,21)}}function bn(t){ge(tr.bind(this,t))}function wn(){gn=null,vn={start:0,startOffset:0,end:0,endOffset:0}}var kn,Sn,En=[];function On(t){En.push({time:s(t),event:39,data:{target:Qa(t)}}),ge(tr.bind(this,39))}function Tn(){En=[]}function Nn(t){kn={name:t.type},tr(26,s(t)),wo()}function Mn(){kn=null}function xn(t){void 0===t&&(t=null),Sn={visible:"visibilityState"in document?document.visibilityState:"default"},tr(28,s(t))}function _n(){Sn=null}function In(t){!function(t){var e=Kt(t);Ri(e?e.contentWindow:t===document?window:t,"scroll",dn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Ae(t),function(t){Ri(t,"cut",Xe.bind(this,0),!0),Ri(t,"copy",Xe.bind(this,1),!0),Ri(t,"paste",Xe.bind(this,2),!0)}(t),function(t){Ri(t,"mousedown",Ze.bind(this,13,t),!0),Ri(t,"mouseup",Ze.bind(this,14,t),!0),Ri(t,"mousemove",Ze.bind(this,12,t),!0),Ri(t,"wheel",Ze.bind(this,15,t),!0),Ri(t,"dblclick",Ze.bind(this,16,t),!0),Ri(t,"touchstart",Qe.bind(this,17,t),!0),Ri(t,"touchend",Qe.bind(this,18,t),!0),Ri(t,"touchmove",Qe.bind(this,19,t),!0),Ri(t,"touchcancel",Qe.bind(this,20,t),!0)}(t),function(t){Ri(t,"input",Fe,!0)}(t),function(t){Ri(t,"selectstart",yn.bind(this,t),!0),Ri(t,"selectionchange",yn.bind(this,t),!0)}(t),function(t){Ri(t,"change",_e,!0)}(t),function(t){Ri(t,"submit",On,!0)}(t))}var Cn=Object.freeze({__proto__:null,observe:In,start:function(){er=[],ar(),Pe(),Ye(),en(),Be(),Ri(window,"resize",an),an(),Ri(document,"visibilitychange",xn),xn(),un=[],dn(),wn(),Ie(),Tn(),Ri(window,"pagehide",Nn)},stop:function(){er=[],ar(),Pe(),Ye(),Y(Ke),Ge.length>0&&tn(Ge[Ge.length-1].event),Y(qe),Be(),on(),_n(),Y(ln),un=[],cn=null,sn=null,wn(),Y(mn),Ie(),Tn(),Mn()}});function Dn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o,u,c;return rt(this,(function(s){switch(s.label){case 0:r=[t],s.label=1;case 1:if(!(r.length>0))return[3,4];for(i=r.shift(),o=i.firstChild;o;)r.push(o),o=o.nextSibling;return 0!==(u=ye(e))?[3,3]:[4,ke(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=ia(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var jn=[],An=[],Rn={},Ln=null,zn=null,Hn=null,Pn=null,Wn=null,Xn=[],Yn=null,qn=null,Un=null,Fn={};function Vn(){if(jn=[],Xn=[],Yn=null,Un=0,Fn={},null===Ln&&(Ln=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Ji()&&Qn(this.ownerNode),Ln.apply(this,arguments)}),"CSSMediaRule"in window&&null===Pn&&(Pn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return Ji()&&Qn(this.parentStyleSheet.ownerNode),Pn.apply(this,arguments)}),null===zn&&(zn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Ji()&&Qn(this.ownerNode),zn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Wn&&(Wn=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return Ji()&&Qn(this.parentStyleSheet.ownerNode),Wn.apply(this,arguments)}),null===Hn){Hn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Ji()?Qn(Hn.apply(this,arguments)):Hn.apply(this,arguments)}}catch(t){Hn=null}}}function Bn(t){var e=s();K(6,e),An.push({time:e,mutations:t}),ge(Gn,1).then((function(){X(Me),ji(Ba)()}))}function Jn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,u;return rt(this,(function(c){switch(c.label){case 0:return 0!==(r=ye(t))?[3,2]:[4,ke(t)];case 1:r=c.sent(),c.label=2;case 2:if(2===r)return[2];switch(i=e.target,u=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>Un,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,Kn(t.addedNodes),Kn(t.removedNodes)].join();Fn[c]=c in Fn?Fn[c]:[0,n];var s=Fn[c];if(!1===i&&s[0]>=10&&Zn(s[2],2,e,a),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>a+3e3?t.type:(Rn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Bt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Bt(i),u){case"attributes":ia(i,3,a);break;case"characterData":ia(i,4,a);break;case"childList":Zn(e.addedNodes,1,t,a),Zn(e.removedNodes,2,t,a)}return[2]}}))}))}function Gn(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:be(t={id:hi(),cost:3}),f.label=1;case 1:if(!(An.length>0))return[3,3];for(e=An.shift(),n=s(),a=0,r=e.mutations;a<r.length;a++)i=r[a],Jn(t,i,n,e.time);return[4,Ra(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(Rn);u<c.length;u++)l=c[u],d=Rn[l],delete Rn[l],Jn(t,d.mutation,s(),d.timestamp),o=!0;return Object.keys(Rn).length>0&&function(){qn&&Y(qn);qn=X((function(){ge(Gn,1)}),33)}(),0===Object.keys(Rn).length&&o?[4,Ra(6,t,s())]:[3,5];case 4:f.sent(),f.label=5;case 5:return we(t),[2]}}))}))}function Kn(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function Zn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o;return rt(this,(function(u){switch(u.label){case 0:r=t?t.length:0,i=0,u.label=1;case 1:return i<r?1!==e?[3,2]:(Dn(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=ye(n))?[3,4]:[4,ke(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];ia(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function Qn(t){return Xn.indexOf(t)<0&&Xn.push(t),Yn&&Y(Yn),Yn=X((function(){!function(){for(var t=0,e=Xn;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;$n(n,a?"childList":"characterData")}}Xn=[]}()}),33),t}function $n(t,e){ji(Bn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var ta=/[^0-9\.]/g;function ea(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":ni(5,t[a]),ni(8,t.creator),ni(18,t.headline);break;case"product":ni(5,t[a]),ni(10,t.name),ni(12,t.sku),t.brand&&ni(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,na(t.ratingValue,100)),W(18,na(t.bestRating)),W(19,na(t.worstRating))),W(12,na(t.ratingCount)),W(17,na(t.reviewCount));break;case"offer":ni(7,t.availability),ni(14,t.itemCondition),ni(13,t.priceCurrency),ni(12,t.sku),W(13,na(t.price));break;case"brand":ni(6,t.name)}null!==r&&"object"==typeof r&&ea(r)}}function na(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(ta,""))*e)}return null}var aa=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ra=/[\r\n]+/g;function ia(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?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),ya(t,n),oa(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){oa(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);ya(t,n)}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;aa.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):o;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{ea(JSON.parse(h.text.replace(ra,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[i](t,o,m,e);break;case"META":var y="property"in v?"property":"name"in v?"name":null;if(y&&"content"in v){var b=v.content;switch(v[y]){case"og:title":ni(20,b);break;case"og:type":ni(19,b);break;case"generator":ni(21,b)}}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 S=ee(t.parentElement);if(S){var E=document.createElement("a");E.href=v.href,S.data.attributes["*B"]=E.protocol+"//"+E.host+E.pathname}break;case"STYLE":var O={tag:p,attributes:v,value:ua(h)};ce[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Gt(T)&&(!function(t){!1===ae(t)&&Ri(t,"load",$n.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),ce[i](t,o,N,e);break;case"LINK":if(ci&&"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:ca(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 oa(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](ji(Bn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),jn.push(n))}catch(t){Mr(2,0,t?t.name:null)}}(t),In(t))}function ua(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=ca(t.sheet)),e}function ca(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Mr(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}var sa=[],la=[],da=null,fa=null,ha="claritySheetId",pa="claritySheetNum",va={},ga={},ma=[];function ya(t,e){if(-1===ma.indexOf(t)&&ma.push(t),e=e||s(),null==t?void 0:t.adoptedStyleSheets){W(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=oi.pageNum;i[pa]!==o&&(i[pa]=o,i[ha]=wi(),wa(e,i[ha],0),wa(e,i[ha],2,ca(i))),n.push(i[ha])}var u=Jt(t,!0);va[u]||(va[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,va[u])||(!function(t,e,n,a){la.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),Ra(45)}(e,t==document?-1:Jt(t),3,n),va[u]=n,ga[u]=e)}}function ba(){la=[],sa=[]}function wa(t,e,n,a){sa.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),Ra(46)}var ka=[],Sa=null,Ea=null,Oa=null,Ta=null,Na=null,Ma=null,xa="clarityAnimationId",_a="clarityOperationCount",Ia=20;function Ca(){ka=[]}function Da(t,e,n,a,r,i,o){ka.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),Ra(44)}function ja(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Aa(this,e),t.apply(this,arguments)})}function Aa(t,e){if(Ji()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[xa]){t[xa]=wi(),t[_a]=0;var r=n.getKeyframes(),i=n.getTiming();Da(s(),t[xa],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[_a]++<Ia){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4;break;case"commitStyles":o=5}o&&Da(s(),t[xa],o)}}}}function Ra(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,y,b,w,k,S,E,O,T,N,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=Oe,r.push(i.width),r.push(i.height),x(t,i.width,i.height),vr(r),[3,12];case 2:for(u=0,c=Pa;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),vr(r);return Za(),[3,12];case 3:for(d=0,f=la;d<f.length;d++)y=f[d],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.newIds),vr(r);for(h=0,p=sa;h<p.length;h++)y=p[h],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.cssRules),vr(r);return ba(),[3,12];case 4:for(v=0,g=ka;v<g.length;v++)y=g[v],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.keyFrames),r.push(y.data.timing),r.push(y.data.timeline),r.push(y.data.targetId),vr(r);return Ca(),[3,12];case 5:if(2===ye(e))return[3,12];if(!((b=re()).length>0))return[3,11];w=0,k=b,z.label=6;case 6:return w<k.length?(S=k[w],0!==(E=ye(e))?[3,8]:[4,ke(e)]):[3,10];case 7:E=z.sent(),z.label=8;case 8:if(2===E)return[3,10];for(O=S.data,T=S.metadata.active,N=S.metadata.suspend,M=S.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),C=0,D=T?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=La(S),R=I?-1:1,r.push(S.id*R),S.parent&&T&&(r.push(S.parent),S.previous&&r.push(S.previous)),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(za(A[0]),".").concat(za(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(Ha(L,O[j][L],M));break;case"value":Ot(S.metadata.fraud,S.id,O[j]),r.push(m(O[j],O.tag,M,I))}z.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),vr(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 La(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 za(t){return t.toString(36)}function Ha(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var Pa=[],Wa=null,Xa={},Ya=[],qa=!1,Ua=null;function Fa(t,e){!1===Wa.has(t)&&(Wa.set(t,e),(Ua=null===Ua&&qa?new IntersectionObserver(Ja,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ua)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ua.observe(t))}function Va(t){return Wa&&Wa.has(t)}function Ba(){for(var t=[],e=0,n=Ya;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Xa[r]=a.state.data,Pa.push(a.state)):t.push(a)}Ya=t,Pa.length>0&&Ra(7)}function Ja(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(Wa.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Xa?Xa[c]:{id:c,name:Wa.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;Ga(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ua&&Ua.unobserve(r)}}Pa.length>0&&Ra(7)}function Ga(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 Xa&&r||!(e.id in Xa))&&(Xa[e.id]=e,Pa.push(Ka(e))):Ya.push({node:t,state:Ka(e)})}function Ka(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function Za(){Pa=[]}function Qa(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Un=s()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function $a(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 Xa?Xa[t]:{id:t,visibility:0,interaction:16,name:Wa.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}Ga(n,a,r,a.visibility)}(r.region,e),i.fraud&&Ot(i.fraud,r.id,n||r.data.value)}}return a}function tr(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,b,w,k,S,E,O,T,N,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=Ge;r<i.length;r++)W=i[r],(o=$a(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),void 0!==W.data.id&&a.push(W.data.id),vr(a),x(W.event,W.data.x,W.data.y));en();break;case 9:for(u=0,c=je;u<c.length;u++)W=c[u],l=$a(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(y(W.data.link)),a.push(d),a.push(W.data.trust),vr(a),rr(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);Pe();break;case 38:for(f=0,h=We;f<h.length;f++)W=h[f],a=[W.time,W.event],(z=$a(W.data.target,W.event)).id>0&&(a.push(z.id),a.push(W.data.action),vr(a));Ye();break;case 11:p=Je,a.push(p.width),a.push(p.height),x(t,p.width,p.height),on(),vr(a);break;case 26:v=kn,a.push(v.name),Mn(),vr(a);break;case 27:for(g=0,b=Ue;g<b.length;g++)W=b[g],w=$a(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,!1,W.data.type)),vr(a);Be();break;case 21:(k=vn)&&(S=$a(k.start,t),E=$a(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),wn(),vr(a));break;case 10:for(O=0,T=un;O<T.length;O++)W=T[O],N=$a(W.data.target,W.event),M=$a(W.data.top,W.event),_=$a(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.hash.join("."):"",N.id>0&&((a=[W.time,W.event]).push(N.id),a.push(W.data.x),a.push(W.data.y),a.push(C),a.push(D),vr(a),x(W.event,W.data.x,W.data.y,W.time));un=[],cn=null,sn=null;break;case 42:for(j=0,A=xe;j<A.length;j++)W=A[j],a=[W.time,W.event],(z=$a(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)),vr(a));Ie();break;case 39:for(R=0,L=En;R<L.length;R++)W=L[R],a=[W.time,W.event],(z=$a(W.data.target,W.event)).id>0&&(a.push(z.id),vr(a));Tn();break;case 22:for(H=0,P=nr;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),vr(a,!1);ar();break;case 28:X=Sn,a.push(X.visible),vr(a),I(n,X.visible),_n()}return[2]}))}))}var er=[],nr=[];function ar(){nr=[]}function rr(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),er.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var ir,or,ur,cr,sr,lr=0,dr=0,fr=null,hr=0;function pr(){cr=!0,lr=0,dr=0,hr=0,ir=[],or=[],ur={},sr=null}function vr(t,e){if(void 0===e&&(e=!0),cr){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:lr+=r.length;case 37:case 6:case 43:case 45:case 46:dr+=r.length,ir.push(r);break;default:or.push(r)}H(25);var i=function(){var t=!1===o.lean&&lr>0?100:Mi.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-hr>2*i&&(Y(fr),fr=null),e&&null===fr&&(25!==a&&V(),fr=X(mr,i),hr=n,Br(dr))}}function gr(){Y(fr),mr(!0),lr=0,dr=0,hr=0,ir=[],or=[],ur={},sr=null,cr=!1}function mr(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 fr=null,(e=!1===o.lean&&dr>0&&(dr<1048576||Mi.sequence>0))&&W(1,1),Ba(),function(){var t=[];nr=[];for(var e=Mi.start+Mi.duration,n=Math.max(e-2e3,0),a=0,r=er;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&nr.push(i),t.push(i))}er=t,tr(22)}(),kt(),function(){for(var t=0,e=ma;t<e.length;t++){var n=e[t],a=n==document?-1:Jt(n),r=a in ga?ga[a]:null;ya(document,r)}}(),n=!0===t,a=JSON.stringify(Ii(n)),r="[".concat(or.join(),"]"),i=e?"[".concat(ir.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),yr(u,c,Mi.sequence,n),or=[],e&&(ir=[],dr=0,lr=0),[2]}}))}))}function yr(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))&&wr(n)}catch(t){}if(!1===i){n in ur?ur[n].attempts++:ur[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Di(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){ji(br)(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),wr(n)}}function br(t,e){var n=ur[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Jr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),yr(n.data,null,e)):(sr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Fr(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":Jr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Lr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(yr(n.data,null,e,!0),Jr(3)),t.status>=200&&t.status<=208&&wr(e),delete ur[e]))}function wr(t){1===t&&(mi(),gi())}var kr,Sr={};function Er(t){var e=t.error||t;return e.message in Sr||(Sr[e.message]=0),Sr[e.message]++>=5||e&&e.message&&(kr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Or(31)),!0}function Or(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(kr.message),e.push(kr.line),e.push(kr.column),e.push(kr.stack),e.push(y(kr.source)),vr(e);break;case 33:Tr&&(e.push(Tr.code),e.push(Tr.name),e.push(Tr.message),e.push(Tr.stack),e.push(Tr.severity),vr(e,!1));break;case 41:St&&(e.push(St.id),e.push(St.target),e.push(St.checksum),vr(e,!1))}return[2]}))}))}var Tr,Nr={};function Mr(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 Nr&&Nr[t].indexOf(i)>=0||(Tr={code:t,name:n,message:a,stack:r,severity:e},t in Nr?Nr[t].push(i):Nr[t]=[i],Or(33))}var xr,_r={},Ir=new Set,Cr={},Dr={},jr={},Ar={};function Rr(){Pr()}function Lr(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 Cr[a]={},Dr[a]={},jr[a]={},Ar[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);Cr[a][u]=Yr(l);break;case 2:Dr[a][u]=c;break;case 4:var d=c.substring(1,c.length);jr[a][u]=d}}}catch(t){Mr(8,1,t?t.name:null)}}function zr(t){return JSON.parse(JSON.stringify(t))}function Hr(){try{for(var t in Cr){var e=parseInt(t);if(""==Ar[e]||document.querySelector(Ar[e])){var n=Cr[e];for(var a in n){var r=parseInt(a),i=(h=qr(zr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Wr(e,r,i)}var o=Dr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Wr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=jr[e];for(var d in l){var f=parseInt(d);Wr(e,f,$t(l[f]).trim().substring(0,1e4))}}}Ir.size>0&&Fr(40)}catch(t){Mr(5,1,t?t.name:null)}var h}function Pr(){Ir.clear()}function Wr(t,e,n){var a,r=!1;t in _r||(_r[t]={},r=!0),a=jr[t],0==Object.keys(a).length||e in _r[t]&&_r[t][e]==n||(r=!0),_r[t][e]=n,r&&Ir.add(t)}function Xr(){Pr()}function Yr(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 qr(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&&Ur(r,a.condition))n=qr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Ur(c,a.condition)){var s=qr(t,c);s&&i.push(s)}}n=i}return n}return null}function Ur(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Fr(t){var e=[s(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),vr(e,!1)),M();break;case 25:e.push(R.gap),vr(e);break;case 35:e.push(xr.check),vr(e,!1);break;case 3:e.push(tt.key),vr(e);break;case 2:e.push(sr.sequence),e.push(sr.attempts),e.push(sr.status),vr(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),vr(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(),vr(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={},vr(e,!1)}break;case 1:var h=Object.keys(Qr);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(Qr[g])}ri(),vr(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),vr(e,!1)}break;case 40:Ir.forEach((function(t){e.push(t);var n=[];for(var a in _r[t]){var r=parseInt(a,10);n.push(r),n.push(_r[t][a])}e.push(n)})),Pr(),vr(e,!1)}}function Vr(){xr={check:0}}function Br(t){if(0===xr.check){var e=xr.check;e=Mi.sequence>=128?1:e,e=Mi.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==xr.check&&Jr(e)}}function Jr(t){xr.check=t,5!==t&&(vi(),wo())}function Gr(){0!==xr.check&&Fr(35)}function Kr(){xr=null}var Zr=null,Qr=null,$r=!1;function ti(){Zr={},Qr={},$r=!1}function ei(){Zr={},Qr={},$r=!1}function ni(t,e){if(e&&(e="".concat(e),t in Zr||(Zr[t]=[]),Zr[t].indexOf(e)<0)){if(Zr[t].length>128)return void($r||($r=!0,Jr(5)));Zr[t].push(e),t in Qr||(Qr[t]=[]),Qr[t].push(e)}}function ai(){Fr(1)}function ri(){Qr={},$r=!1}function ii(t){ni(36,t.toString())}var oi=null,ui=[],ci=0,si=null;function li(){var t,e,n;si=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:"";ci=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:wi(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Ei("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-ki(n[1])<18e5&&(t.session=n[0],t.count=ki(n[2])+1,t.upgrade=ki(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=Si(),h=o.projectId||d(location.host);oi={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,ni(0,a),ni(3,c),ni(1,y(location.href,!!ci)),ni(2,document.referrer),ni(15,function(){var t=wi();if(o.track&&yi(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ni(16,document.documentElement.lang),ni(17,document.dir),ni(26,"".concat(window.devicePixelRatio)),ni(28,f.dob.toString()),ni(29,f.version.toString()),ni(33,u),ni(34,r),ni(35,i),W(0,l.ts),W(1,0),W(35,ci),navigator&&(ni(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;ni(22,t.platform),ni(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ni(24,t.name+"~"+t.version)})),ni(25,t.model),W(27,t.mobile?1:0)})):ni(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=Ei(g);m&&ot(g,m)}!function(t){ii(t?1:0)}(o.track),bi(f)}function di(){si=null,oi=null,ui.forEach((function(t){t.called=!1}))}function fi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=o.lean?0:1,r=!1;oi&&(a||!1===e)&&(t(oi,!o.lean),r=!0),!n&&r||ui.push({callback:t,wait:e,recall:n,called:r})}function hi(){return oi?[oi.userId,oi.sessionId,oi.pageNum].join("."):""}function pi(t){if(void 0===t&&(t=!0),!t)return o.track=!1,Ti("_clsk","",-Number.MAX_VALUE),Ti("_clck","",-Number.MAX_VALUE),wo(),void window.setTimeout(bo,250);Ji()&&(o.track=!0,bi(Si(),1),mi(),ii(2))}function vi(){Ti("_clsk","",0)}function gi(){!function(t){if(ui.length>0)for(var e=0;e<ui.length;e++){var n=ui[e];!n.callback||n.called||n.wait&&!t||(n.callback(oi,!o.lean),n.called=!0,n.recall||(ui.splice(e,1),e--))}}(o.lean?0:1)}function mi(){if(oi){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;Ti("_clsk",[oi.sessionId,t,oi.pageNum,n,e].join("|"),1)}}function yi(t,e){try{return!!t[e]}catch(t){return!1}}function bi(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)&&Ti("_clck",[oi.userId,2,n.toString(36),e,a].join("|"),365)}function wi(){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 ki(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Si(){var t={id:wi(),version:0,expiry:null,consent:0,dob:0},e=Ei("_clck",!o.includeSubdomains);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=ki(n[1])),n.length>2&&(t.expiry=ki(n[2],36)),n.length>3&&1===ki(n[3])&&(t.consent=1),n.length>4&&ki(n[1])>1&&(t.dob=ki(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Ei(t,e){var n;if(void 0===e&&(e=!1),yi(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r<a.length;r++){var i=a[r].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=Oi(i[1]),u=o[0],c=o[1];u;)u=(n=Oi(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Oi(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Ti(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||yi(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===si){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(si=".".concat(c[s]).concat(si||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(si),Ei(t)===e))return;si=""}}catch(t){si=""}document.cookie=si?"".concat(u).concat(";").concat("domain=").concat(si):u}}var Ni,Mi=null;function xi(){var t=oi;Mi={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 _i(){Mi=null}function Ii(t){return Mi.start=Mi.start+Mi.duration,Mi.duration=s()-Mi.start,Mi.sequence++,Mi.upload=t&&"sendBeacon"in navigator?1:0,Mi.end=t?1:0,[Mi.version,Mi.sequence,Mi.start,Mi.duration,Mi.projectId,Mi.userId,Mi.sessionId,Mi.pageNum,Mi.upload,Mi.end]}function Ci(){Ni=[]}function Di(t){if(Ni&&-1===Ni.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Mi.version,p:Mi.projectId,u:Mi.userId,s:Mi.sessionId,n:Mi.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)),Ni.push(t.message)}}return t}function ji(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Di(t)}var n=performance.now()-e;P(4,n),n>o.longTask&&(H(7),W(6,n))}}var Ai=[];function Ri(t,e,n,a){void 0===a&&(a=!1),n=ji(n);try{t[u("addEventListener")](e,n,a),Ai.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Li(){for(var t=0,e=Ai;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Ai=[]}var zi=null,Hi=null,Pi=null,Wi=0;function Xi(){return!(Wi++>20)||(Mr(4,0),!1)}function Yi(){Wi=0,Pi!==Ui()&&(wo(),window.setTimeout(qi,250))}function qi(){bo(),W(29,1)}function Ui(){return location.href?location.href.replace(location.hash,""):location.href}var Fi=!1;function Vi(){Fi=!0,c=performance.now()+performance.timeOrigin,ve(),Li(),Ci(),Pi=Ui(),Wi=0,Ri(window,"popstate",Yi),null===zi&&(zi=history.pushState,history.pushState=function(){zi.apply(this,arguments),Ji()&&Xi()&&Yi()}),null===Hi&&(Hi=history.replaceState,history.replaceState=function(){Hi.apply(this,arguments),Ji()&&Xi()&&Yi()})}function Bi(){Pi=null,Wi=0,Ci(),Li(),ve(),c=0,Fi=!1}function Ji(){return Fi}function Gi(){bo(),A("clarity","restart")}var Ki=Object.freeze({__proto__:null,start:function(){!function(){Et=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self||window.top==window?1:2)}catch(t){W(31,0)}}(),Ri(window,"error",Er),Sr={},Nr={}},stop:function(){Nr={}}});function Zi(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),be(e={id:hi(),cost:3}),[4,Dn(document,e,0,t)];case 1:return n.sent(),ya(document,t),[4,Ra(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}var Qi=Object.freeze({__proto__:null,hashText:$t,start:function(){Ne(),Me(),Za(),Ua=null,Wa=new WeakMap,Xa={},Ya=[],qa=!!window.IntersectionObserver,Ut(),o.delayDom?Ri(window,"load",(function(){Vn()})):Vn(),ge(Zi,1).then((function(){ji(Me)(),ji(Ba)(),ji(pn)()})),null===da&&(da=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Ji()&&(W(36,1),this[pa]===oi.pageNum&&wa(s(),this[ha],1,arguments[0])),da.apply(this,arguments)}),null===fa&&(fa=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Ji()&&(W(36,1),this[pa]===oi.pageNum&&wa(s(),this[ha],2,arguments[0])),fa.apply(this,arguments)}),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Ca(),ja(Ea,"play"),ja(Oa,"pause"),ja(Ta,"commitStyles"),ja(Na,"cancel"),ja(Ma,"finish"),null===Sa&&(Sa=Element.prototype.animate,Element.prototype.animate=function(){var t=Sa.apply(this,arguments);return Aa(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?Aa(n,"finish"):"paused"===n.playState||"idle"===n.playState?Aa(n,"pause"):"running"===n.playState&&Aa(n,"play")}}()},stop:function(){Za(),Wa=null,Xa={},Ya=[],Ua&&(Ua.disconnect(),Ua=null),qa=!1,Ft(),function(){for(var t=0,e=jn;t<e.length;t++){var n=e[t];n&&n.disconnect()}jn=[],Fn={},An=[],Rn=[],Xn=[],Un=0,Yn=null}(),Ne(),va={},ga={},ma=[],ba(),Ca()}});var $i=null;function to(){$i=null}function eo(t){$i={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($i.fetchStart),n.push($i.connectStart),n.push($i.connectEnd),n.push($i.requestStart),n.push($i.responseStart),n.push($i.responseEnd),n.push($i.domInteractive),n.push($i.domComplete),n.push($i.loadEventStart),n.push($i.loadEventEnd),n.push($i.redirectCount),n.push($i.size),n.push($i.type),n.push($i.protocol),n.push($i.encodedSize),n.push($i.decodedSize),to(),vr(n)),[2]}))}))}(29)}var no,ao=0,ro=1/0,io=0,oo=0,uo=[],co=new Map,so=function(){return ao||0},lo=function(){if(!uo.length)return-1;var t=Math.min(uo.length-1,Math.floor((so()-oo)/50));return uo[t].latency},fo=function(){oo=so(),uo.length=0,co.clear()},ho=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?ao=performance.interactionCount:t.interactionId&&(ro=Math.min(ro,t.interactionId),io=Math.max(io,t.interactionId),ao=io?(io-ro)/7+1:0)}(t);var e=uo[uo.length-1],n=co.get(t.interactionId);if(n||uo.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{var a={id:t.interactionId,latency:t.duration};co.set(a.id,a),uo.push(a)}uo.sort((function(t,e){return e.latency-t.latency})),uo.length>10&&uo.splice(10).forEach((function(t){return co.delete(t.id)}))}}},po=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function vo(){try{no&&no.disconnect(),no=new PerformanceObserver(ji(go));for(var t=0,e=po;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&P(9,0),no.observe({type:n,buffered:!0}))}}catch(t){Mr(3,1)}}function go(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":eo(a);break;case"resource":var r=a.name;ni(4,mo(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&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ho(a),ni(37,lo().toString()));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 mo(t){var e=document.createElement("a");return e.href=t,e.host}var yo=[Ki,Qi,Cn,Object.freeze({__proto__:null,start:function(){to(),function(){navigator&&"connection"in navigator&&ni(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Ri(window,"load",X.bind(this,vo,0)):vo():Mr(3,0)}()},stop:function(){no&&no.disconnect(),no=null,fo(),to()}})];function bo(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Fi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Fi)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Vi(),bt(),yo.forEach((function(t){return ji(t.start)()})),null===t&&Oo())}function wo(){Ji()&&(yo.slice().reverse().forEach((function(t){return ji(t.stop)()})),wt(),Bi(),void 0!==So&&(So[Eo]=function(){(So[Eo].q=So[Eo].q||[]).push(arguments),"start"===arguments[0]&&So[Eo].q.unshift(So[Eo].q.pop())&&Oo()}))}var ko=Object.freeze({__proto__:null,consent:pi,event:A,hashText:$t,identify:ut,metadata:fi,pause:function(){Ji()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){Ji()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:bo,stop:wo,upgrade:et,version:l}),So=window,Eo="clarity";function Oo(){if(void 0!==So){if(So[Eo]&&So[Eo].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=So[Eo]&&So[Eo].q||[];for(So[Eo]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ko[t].apply(ko,e)},So[Eo].v=l;t.length>0;)So[Eo].apply(So,t.shift())}}Oo()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return yr},get start(){return mr},get stop(){return br},get track(){return fr}}),e=Object.freeze({__proto__:null,get clone(){return Wr},get compute(){return Xr},get data(){return Dr},get keys(){return jr},get reset(){return Yr},get start(){return zr},get stop(){return Ur},get trigger(){return Hr},get update(){return qr}}),n=Object.freeze({__proto__:null,get check(){return Kr},get compute(){return Qr},get data(){return Cr},get start(){return Gr},get stop(){return $r},get trigger(){return Zr}}),a=Object.freeze({__proto__:null,get compute(){return oi},get data(){return ti},get log(){return ii},get reset(){return ui},get start(){return ai},get stop(){return ri},get updates(){return ei}}),r=Object.freeze({__proto__:null,get callback(){return bi},get callbacks(){return li},get clear(){return yi},get consent(){return mi},get data(){return si},get electron(){return di},get id(){return gi},get metadata(){return vi},get save(){return wi},get shortid(){return Ei},get start(){return hi},get stop(){return pi}}),i=Object.freeze({__proto__:null,get data(){return Ii},get envelope(){return ji},get start(){return Ci},get stop(){return Di}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,longTask:30,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.58";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,r){if(void 0===a&&(a=!1),t){if("input"==e&&("checkbox"===r||"radio"===r))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;E();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 S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?b(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?b(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 y(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 b(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 E(),t?t.replace(v,e).replace(p,n):t}function S(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 E(){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 O=null,T=null,N=!1;function M(){N&&(O={time:s(),event:4,data:{visible:T.visible,docWidth:T.docWidth,docHeight:T.docHeight,screenWidth:T.screenWidth,screenHeight:T.screenHeight,scrollX:T.scrollX,scrollY:T.scrollY,pointerX:T.pointerX,pointerY:T.pointerY,activityTime:T.activityTime,scrollTime:T.scrollTime}}),T=T||{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:T.docWidth=e,T.docHeight=n;break;case 11:T.screenWidth=e,T.screenHeight=n;break;case 10:T.scrollX=e,T.scrollY=n,T.scrollTime=a;break;default:T.pointerX=e,T.pointerY=n}N=!0}function _(t){T.activityTime=t}function I(t,e){T.visible="visible"===e?1:0,T.visible||_(t),N=!0}function C(){N&&Jr(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){N=!1,M()},get state(){return O},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){Zi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Jr(24))}var R,L=null,P=null;function z(t){t in L||(L[t]=0),t in P||(P[t]=0),L[t]++,P[t]++}function H(t,e){null!==e&&(t in L||(L[t]=0),t in P||(P[t]=0),L[t]+=e,P[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(P[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(Li(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},Jr(25),R.gap<3e5?F=X(B,U):Ji&&(A("clarity","suspend"),Eo(),["mousemove","touchstart"].forEach((function(t){return zi(document,t,Qi)})),["resize","scroll","pageshow"].forEach((function(t){return zi(window,t,Qi)})))}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(){Jr(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){Zi()&&o.lean&&(o.lean=!1,tt={key:t},bi(),wi(),o.upgrade&&o.upgrade(t),Jr(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(Zi()&&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(){Jr(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 yt=[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 bt(){L={},P={},z(5),yt.forEach((function(t){return Li(t.start)()}))}function wt(){yt.slice().reverse().forEach((function(t){return Li(t.stop)()})),L={},P={}}function kt(){st(),C(),oi(),Jr(0),Z(),Qr(),Xr()}var St,Et=[];function Ot(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(St={id:t,target:e,checksum:d(n,28)},Et.indexOf(St.checksum)<0&&(Et.push(St.checksum),Mr(41)))}var Tt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Nt={};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 Nt||(Nt[c]=[]),Nt[c].indexOf(t.id)<0&&Nt[c].push(t.id),i="".concat(c).concat("~").concat(Nt[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(Tt.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=[],Pt=[],zt=[],Ht=[],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(","),Pt="password,secret,pass,social,ssn,code,hidden".split(","),zt="radio,checkbox,range,button,reset,submit".split(","),Ht="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Nt={}}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 Ja(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){Ir(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=Jt(t,!0),i=e?Jt(e):null,u=oe(t),c=null,s=Ga(t)?r:null,l=qt.has(t)?qt.get(t):null,d=o.content?1:3;i>=0&&Ct[i]&&((c=Ct[i]).children.push(r),s=null===s?c.region:s,l=null===l?c.metadata.fraud:l,d=c.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Ja(t,n.attributes["data-clarity-region"]),s=r),It.set(r,t),Ct[r]={id:r,parent:i,previous:u,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:l,size:null}},function(t,e,n){var a,r=e.data,i=e.metadata,o=i.privacy,u=r.attributes||{},c=r.tag.toUpperCase();switch(!0){case Ht.indexOf(c)>=0:var s=u.type,l="",d=["class","style"];Object.keys(u).filter((function(t){return!d.includes(t)})).forEach((function(t){return l+=u[t].toLowerCase()}));var f=Pt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&zt.indexOf(s)>=0?o:f?4:2;break;case"data-clarity-mask"in u:i.privacy=3;break;case"data-clarity-unmask"in u:i.privacy=0;break;case Yt.has(t):i.privacy=Yt.get(t);break;case qt.has(t):i.privacy=2;break;case"*T"===c:var h=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",v=["STYLE","TITLE","svg:style"];i.privacy=v.includes(h)||At.some((function(t){return p.indexOf(t)>=0}))?0:o;break;case 1===o:i.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(u.class,Lt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Ct[r],c),Qt(Ct[r]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=te(t.id);!e||e.complete&&0!==e.naturalWidth||zi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Ei()))})),t.metadata.size=[]}}(Ct[r]),ue(r,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=Ga(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:gi()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===gi()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===gi()&&(e&&Ir(0,1,e.name,e.message,e.stack),fe=null,me())})))}function ye(t){var e=Se(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function be(t){le[Se(t)]={start:performance.now(),calls:0,yield:o.longTask}}function we(t){var e=performance.now(),n=Se(t),a=e-le[n].start;H(t.cost,a),z(5),le[n].calls>0&&H(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=Se(t))in le?(we(t),n=le[e],[4,Ee()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Se(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;be(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Se(t){return"".concat(t.id,".").concat(t.cost)}function Ee(){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){Te(t,{timeout:se})}))]}}))}))}var Oe,Te=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(),u=r-n,c=r-a.data;if(c>o.longTask&&u<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var s=u>e.timeout;t({didTimeout:s,timeRemaining:function(){return s?o.longTask:Math.max(0,o.longTask-c)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Ne(){Oe=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!==Oe&&c===Oe.width&&v===Oe.height||null===c||null===v||(Oe={width:c,height:v},za(8))}var xe=[];function _e(t){var e=er(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,28):"";xe.push({time:s(t),event:42,data:{target:er(t),type:e.type,value:n,checksum:a}}),ge(ar.bind(this,42))}}function Ie(){xe=[]}function Ce(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 De=["input","textarea","radio","button","canvas"],je=[];function Ae(t){zi(t,"click",Re.bind(this,9,t),!0)}function Re(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=er(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&&(je.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Pe(c),context:ze(l),text:Le(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(ar.bind(this,t)))}function Le(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 Pe(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(De.indexOf(e)>=0)return 0}return 1}function ze(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 He(){je=[]}var We=[];function Xe(t,e){We.push({time:s(e),event:38,data:{target:er(e),action:t}}),ge(ar.bind(this,38))}function Ye(){We=[]}var qe=null,Ue=[];function Fe(t){var e=er(t),n=ee(e);if(e&&e.type&&n){var a=e.value,r=e.type;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var i={target:e,value:a,type:r};Ue.length>0&&Ue[Ue.length-1].data.target===i.target&&Ue.pop(),Ue.push({time:s(t),event:27,data:i}),Y(qe),qe=X(Ve,1e3,27)}}function Ve(t){ge(ar.bind(this,t))}function Be(){Ue=[]}var Je,Ge=[],Ke=null,Ze=0,Qe=new Set;function $e(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&en({time:s(n),event:t,data:{target:er(n),x:i,y:o}})}function tn(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;var f="identifier"in c?c.identifier:void 0;switch(t){case 17:0===Qe.size&&(Ze=f),Qe.add(f);break;case 18:case 20:Qe.delete(f)}var h=Ze===f;null!==l&&null!==d&&en({time:o,event:t,data:{target:er(n),x:l,y:d,id:f,isPrimary:h}})}}function en(t){switch(t.event){case 12:case 15:case 19:var e=Ge.length,n=e>1?Ge[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)&&Ge.pop(),Ge.push(t),Y(Ke),Ke=X(nn,500,t.event);break;default:Ge.push(t),nn(t.event)}}function nn(t){ge(ar.bind(this,t))}function an(){Ge=[]}var rn=null,on=!1;function un(){var t=document.documentElement;Je={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},on?(Y(rn),rn=X(cn,500,11)):(ar(11),on=!0)}function cn(t){ge(ar.bind(this,t))}function sn(){Je=null,Y(rn)}var ln=[],dn=null,fn=null,hn=null;function pn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?er(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=vn(l,d),p=vn(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 dn=h,void(fn=p);var g=ln.length,m=g>1?ln[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)&&ln.pop(),ln.push(v),Y(hn),hn=X(gn,500,10)}function vn(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 gn(t){ge(ar.bind(this,t))}function mn(){var t,e;if(dn){var n=nr(dn,null);ii(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(fn){var a=nr(fn,null);ii(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}var yn=null,bn=null,wn=null;function kn(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=yn.start?yn.start:null;null!==bn&&null!==yn.start&&n!==e.anchorNode&&(Y(wn),Sn(21)),yn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},bn=e,Y(wn),wn=X(Sn,500,21)}}function Sn(t){ge(ar.bind(this,t))}function En(){bn=null,yn={start:0,startOffset:0,end:0,endOffset:0}}var On,Tn,Nn=[];function Mn(t){Nn.push({time:s(t),event:39,data:{target:er(t)}}),ge(ar.bind(this,39))}function xn(){Nn=[]}function _n(t){On={name:t.type},ar(26,s(t)),Eo()}function In(){On=null}function Cn(t){void 0===t&&(t=null),Tn={visible:"visibilityState"in document?document.visibilityState:"default"},ar(28,s(t))}function Dn(){Tn=null}function jn(t){!function(t){var e=Kt(t);zi(e?e.contentWindow:t===document?window:t,"scroll",pn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Ae(t),function(t){zi(t,"cut",Xe.bind(this,0),!0),zi(t,"copy",Xe.bind(this,1),!0),zi(t,"paste",Xe.bind(this,2),!0)}(t),function(t){zi(t,"mousedown",$e.bind(this,13,t),!0),zi(t,"mouseup",$e.bind(this,14,t),!0),zi(t,"mousemove",$e.bind(this,12,t),!0),zi(t,"wheel",$e.bind(this,15,t),!0),zi(t,"dblclick",$e.bind(this,16,t),!0),zi(t,"touchstart",tn.bind(this,17,t),!0),zi(t,"touchend",tn.bind(this,18,t),!0),zi(t,"touchmove",tn.bind(this,19,t),!0),zi(t,"touchcancel",tn.bind(this,20,t),!0)}(t),function(t){zi(t,"input",Fe,!0)}(t),function(t){zi(t,"selectstart",kn.bind(this,t),!0),zi(t,"selectionchange",kn.bind(this,t),!0)}(t),function(t){zi(t,"change",_e,!0)}(t),function(t){zi(t,"submit",Mn,!0)}(t))}var An=Object.freeze({__proto__:null,observe:jn,start:function(){rr=[],or(),He(),Ye(),an(),Be(),on=!1,zi(window,"resize",un),un(),zi(document,"visibilitychange",Cn),Cn(),ln=[],pn(),En(),Ie(),xn(),zi(window,"pagehide",_n)},stop:function(){rr=[],or(),He(),Ye(),Y(Ke),Ge.length>0&&nn(Ge[Ge.length-1].event),Y(qe),Be(),sn(),Dn(),Y(hn),ln=[],dn=null,fn=null,En(),Y(wn),Ie(),xn(),In()}});function Rn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o,u,c;return rt(this,(function(s){switch(s.label){case 0:r=[t],s.label=1;case 1:if(!(r.length>0))return[3,4];for(i=r.shift(),o=i.firstChild;o;)r.push(o),o=o.nextSibling;return 0!==(u=ye(e))?[3,3]:[4,ke(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=ca(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var Ln=[],Pn=[],zn={},Hn=null,Wn=null,Xn=null,Yn=null,qn=null,Un=[],Fn=null,Vn=null,Bn=null,Jn={};function Gn(){if(Ln=[],Un=[],Fn=null,Bn=0,Jn={},null===Hn&&(Hn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Zi()&&ea(this.ownerNode),Hn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Yn&&(Yn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return Zi()&&ea(this.parentStyleSheet.ownerNode),Yn.apply(this,arguments)}),null===Wn&&(Wn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Zi()&&ea(this.ownerNode),Wn.apply(this,arguments)}),"CSSMediaRule"in window&&null===qn&&(qn=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return Zi()&&ea(this.parentStyleSheet.ownerNode),qn.apply(this,arguments)}),null===Xn){Xn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Zi()?ea(Xn.apply(this,arguments)):Xn.apply(this,arguments)}}catch(t){Xn=null}}}function Kn(t){var e=s();K(6,e),Pn.push({time:e,mutations:t}),ge(Qn,1).then((function(){X(Me),Li(Ka)()}))}function Zn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,u;return rt(this,(function(c){switch(c.label){case 0:return 0!==(r=ye(t))?[3,2]:[4,ke(t)];case 1:r=c.sent(),c.label=2;case 2:if(2===r)return[2];switch(i=e.target,u=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>Bn,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,$n(t.addedNodes),$n(t.removedNodes)].join();Jn[c]=c in Jn?Jn[c]:[0,n];var s=Jn[c];if(!1===i&&s[0]>=10&&ta(s[2],2,e,a),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>a+3e3?t.type:(zn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Bt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Bt(i),u){case"attributes":ca(i,3,a);break;case"characterData":ca(i,4,a);break;case"childList":ta(e.addedNodes,1,t,a),ta(e.removedNodes,2,t,a)}return[2]}}))}))}function Qn(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:be(t={id:gi(),cost:3}),f.label=1;case 1:if(!(Pn.length>0))return[3,3];for(e=Pn.shift(),n=s(),a=0,r=e.mutations;a<r.length;a++)i=r[a],Zn(t,i,n,e.time);return[4,za(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(zn);u<c.length;u++)l=c[u],d=zn[l],delete zn[l],Zn(t,d.mutation,s(),d.timestamp),o=!0;return Object.keys(zn).length>0&&function(){Vn&&Y(Vn);Vn=X((function(){ge(Qn,1)}),33)}(),0===Object.keys(zn).length&&o?[4,za(6,t,s())]:[3,5];case 4:f.sent(),f.label=5;case 5:return we(t),[2]}}))}))}function $n(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ta(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o;return rt(this,(function(u){switch(u.label){case 0:r=t?t.length:0,i=0,u.label=1;case 1:return i<r?1!==e?[3,2]:(Rn(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=ye(n))?[3,4]:[4,ke(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];ca(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function ea(t){return Un.indexOf(t)<0&&Un.push(t),Fn&&Y(Fn),Fn=X((function(){!function(){for(var t=0,e=Un;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;na(n,a?"childList":"characterData")}}Un=[]}()}),33),t}function na(t,e){Li(Kn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var aa=/[^0-9\.]/g;function ra(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":ii(5,t[a]),ii(8,t.creator),ii(18,t.headline);break;case"product":ii(5,t[a]),ii(10,t.name),ii(12,t.sku),t.brand&&ii(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,ia(t.ratingValue,100)),W(18,ia(t.bestRating)),W(19,ia(t.worstRating))),W(12,ia(t.ratingCount)),W(17,ia(t.reviewCount));break;case"offer":ii(7,t.availability),ii(14,t.itemCondition),ii(13,t.priceCurrency),ii(12,t.sku),W(13,ia(t.price));break;case"brand":ii(6,t.name)}null!==r&&"object"==typeof r&&ra(r)}}function ia(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(aa,""))*e)}return null}var oa=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ua=/[\r\n]+/g;function ca(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?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),ka(t,n),sa(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){sa(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);ka(t,n)}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;oa.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):o;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{ra(JSON.parse(h.text.replace(ua,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[i](t,o,m,e);break;case"META":var y="property"in v?"property":"name"in v?"name":null;if(y&&"content"in v){var b=v.content;switch(v[y]){case"og:title":ii(20,b);break;case"og:type":ii(19,b);break;case"generator":ii(21,b)}}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 S=ee(t.parentElement);if(S){var E=document.createElement("a");E.href=v.href,S.data.attributes["*B"]=E.protocol+"//"+E.host+E.pathname}break;case"STYLE":var O={tag:p,attributes:v,value:la(h)};ce[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Gt(T)&&(!function(t){!1===ae(t)&&zi(t,"load",na.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),ce[i](t,o,N,e);break;case"LINK":if(di&&"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:da(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 sa(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](Li(Kn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Ln.push(n))}catch(t){Ir(2,0,t?t.name:null)}}(t),jn(t))}function la(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=da(t.sheet)),e}function da(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Ir(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}var fa=[],ha=[],pa=null,va=null,ga="claritySheetId",ma="claritySheetNum",ya={},ba={},wa=[];function ka(t,e){if(-1===wa.indexOf(t)&&wa.push(t),e=e||s(),null==t?void 0:t.adoptedStyleSheets){W(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=si.pageNum;i[ma]!==o&&(i[ma]=o,i[ga]=Ei(),Ea(e,i[ga],0),Ea(e,i[ga],2,da(i))),n.push(i[ga])}var u=Jt(t,!0);ya[u]||(ya[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,ya[u])||(!function(t,e,n,a){ha.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),za(45)}(e,t==document?-1:Jt(t),3,n),ya[u]=n,ba[u]=e)}}function Sa(){ha=[],fa=[]}function Ea(t,e,n,a){fa.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),za(46)}var Oa=[],Ta=null,Na=null,Ma=null,xa=null,_a=null,Ia=null,Ca="clarityAnimationId",Da="clarityOperationCount",ja=20;function Aa(){Oa=[]}function Ra(t,e,n,a,r,i,o){Oa.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),za(44)}function La(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Pa(this,e),t.apply(this,arguments)})}function Pa(t,e){if(Zi()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Ca]){t[Ca]=Ei(),t[Da]=0;var r=n.getKeyframes(),i=n.getTiming();Ra(s(),t[Ca],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[Da]++<ja){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4;break;case"commitStyles":o=5}o&&Ra(s(),t[Ca],o)}}}}function za(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,y,b,w,k,S,E,O,T,N,M,I,C,D,j,A,R,L;return rt(this,(function(P){switch(P.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=Oe,r.push(i.width),r.push(i.height),x(t,i.width,i.height),yr(r),[3,12];case 2:for(u=0,c=Ya;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),yr(r);return tr(),[3,12];case 3:for(d=0,f=ha;d<f.length;d++)y=f[d],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.newIds),yr(r);for(h=0,p=fa;h<p.length;h++)y=p[h],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.cssRules),yr(r);return Sa(),[3,12];case 4:for(v=0,g=Oa;v<g.length;v++)y=g[v],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.keyFrames),r.push(y.data.timing),r.push(y.data.timeline),r.push(y.data.targetId),yr(r);return Aa(),[3,12];case 5:if(2===ye(e))return[3,12];if(!((b=re()).length>0))return[3,11];w=0,k=b,P.label=6;case 6:return w<k.length?(S=k[w],0!==(E=ye(e))?[3,8]:[4,ke(e)]):[3,10];case 7:E=P.sent(),P.label=8;case 8:if(2===E)return[3,10];for(O=S.data,T=S.metadata.active,N=S.metadata.suspend,M=S.metadata.privacy,I=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),C=0,D=T?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=Ha(S),R=I?-1:1,r.push(S.id*R),S.parent&&T&&(r.push(S.parent),S.previous&&r.push(S.previous)),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(Wa(A[0]),".").concat(Wa(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(Xa(L,O[j][L],M));break;case"value":Ot(S.metadata.fraud,S.id,O[j]),r.push(m(O[j],O.tag,M,I))}P.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),yr(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),P.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ha(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 Wa(t){return t.toString(36)}function Xa(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var Ya=[],qa=null,Ua={},Fa=[],Va=!1,Ba=null;function Ja(t,e){!1===qa.has(t)&&(qa.set(t,e),(Ba=null===Ba&&Va?new IntersectionObserver(Za,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ba)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ba.observe(t))}function Ga(t){return qa&&qa.has(t)}function Ka(){for(var t=[],e=0,n=Fa;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Ua[r]=a.state.data,Ya.push(a.state)):t.push(a)}Fa=t,Ya.length>0&&za(7)}function Za(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(qa.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Ua?Ua[c]:{id:c,name:qa.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;Qa(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ba&&Ba.unobserve(r)}}Ya.length>0&&za(7)}function Qa(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 Ua&&r||!(e.id in Ua))&&(Ua[e.id]=e,Ya.push($a(e))):Fa.push({node:t,state:$a(e)})}function $a(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function tr(){Ya=[]}function er(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Bn=s()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function nr(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 Ua?Ua[t]:{id:t,visibility:0,interaction:16,name:qa.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}Qa(n,a,r,a.visibility)}(r.region,e),i.fraud&&Ot(i.fraud,r.id,n||r.data.value)}}return a}function ar(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,b,w,k,S,E,O,T,N,M,_,C,D,j,A,R,L,P,z,H,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=Ge;r<i.length;r++)W=i[r],(o=nr(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),void 0!==W.data.id&&(a.push(W.data.id),void 0!==W.data.isPrimary&&a.push(W.data.isPrimary.toString())),yr(a),x(W.event,W.data.x,W.data.y));an();break;case 9:for(u=0,c=je;u<c.length;u++)W=c[u],l=nr(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(y(W.data.link)),a.push(d),a.push(W.data.trust),yr(a),ur(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);He();break;case 38:for(f=0,h=We;f<h.length;f++)W=h[f],a=[W.time,W.event],(P=nr(W.data.target,W.event)).id>0&&(a.push(P.id),a.push(W.data.action),yr(a));Ye();break;case 11:p=Je,a.push(p.width),a.push(p.height),x(t,p.width,p.height),sn(),yr(a);break;case 26:v=On,a.push(v.name),In(),yr(a);break;case 27:for(g=0,b=Ue;g<b.length;g++)W=b[g],w=nr(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,!1,W.data.type)),yr(a);Be();break;case 21:(k=yn)&&(S=nr(k.start,t),E=nr(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),En(),yr(a));break;case 10:for(O=0,T=ln;O<T.length;O++)W=T[O],N=nr(W.data.target,W.event),M=nr(W.data.top,W.event),_=nr(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.hash.join("."):"",N.id>0&&((a=[W.time,W.event]).push(N.id),a.push(W.data.x),a.push(W.data.y),a.push(C),a.push(D),yr(a),x(W.event,W.data.x,W.data.y,W.time));ln=[],dn=null,fn=null;break;case 42:for(j=0,A=xe;j<A.length;j++)W=A[j],a=[W.time,W.event],(P=nr(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(P.id),a.push(W.data.type),a.push(m(W.data.value,"change",P.privacy)),a.push(m(W.data.checksum,"checksum",P.privacy)),yr(a));Ie();break;case 39:for(R=0,L=Nn;R<L.length;R++)W=L[R],a=[W.time,W.event],(P=nr(W.data.target,W.event)).id>0&&(a.push(P.id),yr(a));xn();break;case 22:for(z=0,H=ir;z<H.length;z++)W=H[z],(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),yr(a,!1);or();break;case 28:X=Tn,a.push(X.visible),yr(a),I(n,X.visible),Dn()}return[2]}))}))}var rr=[],ir=[];function or(){ir=[]}function ur(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),rr.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var cr,sr,lr,dr,fr,hr=0,pr=0,vr=null,gr=0;function mr(){dr=!0,hr=0,pr=0,gr=0,cr=[],sr=[],lr={},fr=null}function yr(t,e){if(void 0===e&&(e=!0),dr){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:hr+=r.length;case 37:case 6:case 43:case 45:case 46:pr+=r.length,cr.push(r);break;default:sr.push(r)}z(25);var i=function(){var t=!1===o.lean&&hr>0?100:Ii.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-gr>2*i&&(Y(vr),vr=null),e&&null===vr&&(25!==a&&V(),vr=X(wr,i),gr=n,Kr(pr))}}function br(){Y(vr),wr(!0),hr=0,pr=0,gr=0,cr=[],sr=[],lr={},fr=null,dr=!1}function wr(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 vr=null,(e=!1===o.lean&&pr>0&&(pr<1048576||Ii.sequence>0))&&W(1,1),Ka(),function(){var t=[];ir=[];for(var e=Ii.start+Ii.duration,n=Math.max(e-2e3,0),a=0,r=rr;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&ir.push(i),t.push(i))}rr=t,ar(22)}(),kt(),function(){for(var t=0,e=wa;t<e.length;t++){var n=e[t],a=n==document?-1:Jt(n),r=a in ba?ba[a]:null;ka(document,r)}}(),n=!0===t,a=JSON.stringify(ji(n)),r="[".concat(sr.join(),"]"),i=e?"[".concat(cr.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 H(2,(c=s)?c.length:u.length),kr(u,c,Ii.sequence,n),sr=[],e&&(cr=[],pr=0,hr=0),[2]}}))}))}function kr(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))&&Er(n)}catch(t){}if(!1===i){n in lr?lr[n].attempts++:lr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Ri(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Li(Sr)(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),Er(n)}}function Sr(t,e){var n=lr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Zr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),kr(n.data,null,e)):(fr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Jr(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":Zr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Hr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(kr(n.data,null,e,!0),Zr(3)),t.status>=200&&t.status<=208&&Er(e),delete lr[e]))}function Er(t){1===t&&(wi(),bi())}var Or,Tr={};function Nr(t){var e=t.error||t;return e.message in Tr||(Tr[e.message]=0),Tr[e.message]++>=5||e&&e.message&&(Or={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Mr(31)),!0}function Mr(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(Or.message),e.push(Or.line),e.push(Or.column),e.push(Or.stack),e.push(y(Or.source)),yr(e);break;case 33:xr&&(e.push(xr.code),e.push(xr.name),e.push(xr.message),e.push(xr.stack),e.push(xr.severity),yr(e,!1));break;case 41:St&&(e.push(St.id),e.push(St.target),e.push(St.checksum),yr(e,!1))}return[2]}))}))}var xr,_r={};function Ir(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 _r&&_r[t].indexOf(i)>=0||(xr={code:t,name:n,message:a,stack:r,severity:e},t in _r?_r[t].push(i):_r[t]=[i],Mr(33))}var Cr,Dr={},jr=new Set,Ar={},Rr={},Lr={},Pr={};function zr(){Yr()}function Hr(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 Ar[a]={},Rr[a]={},Lr[a]={},Pr[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);Ar[a][u]=Fr(l);break;case 2:Rr[a][u]=c;break;case 4:var d=c.substring(1,c.length);Lr[a][u]=d}}}catch(t){Ir(8,1,t?t.name:null)}}function Wr(t){return JSON.parse(JSON.stringify(t))}function Xr(){try{for(var t in Ar){var e=parseInt(t);if(""==Pr[e]||document.querySelector(Pr[e])){var n=Ar[e];for(var a in n){var r=parseInt(a),i=(h=Vr(Wr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&qr(e,r,i)}var o=Rr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)qr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Lr[e];for(var d in l){var f=parseInt(d);qr(e,f,$t(l[f]).trim().substring(0,1e4))}}}jr.size>0&&Jr(40)}catch(t){Ir(5,1,t?t.name:null)}var h}function Yr(){jr.clear()}function qr(t,e,n){var a,r=!1;t in Dr||(Dr[t]={},r=!0),a=Lr[t],0==Object.keys(a).length||e in Dr[t]&&Dr[t][e]==n||(r=!0),Dr[t][e]=n,r&&jr.add(t)}function Ur(){Yr()}function Fr(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 Vr(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&&Br(r,a.condition))n=Vr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Br(c,a.condition)){var s=Vr(t,c);s&&i.push(s)}}n=i}return n}return null}function Br(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Jr(t){var e=[s(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),yr(e,!1)),M();break;case 25:e.push(R.gap),yr(e);break;case 35:e.push(Cr.check),yr(e,!1);break;case 3:e.push(tt.key),yr(e);break;case 2:e.push(fr.sequence),e.push(fr.attempts),e.push(fr.status),yr(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),yr(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(),yr(e,!1)}break;case 0:var u=Object.keys(P);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(P[d]))}P={},yr(e,!1)}break;case 1:var h=Object.keys(ei);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(ei[g])}ui(),yr(e,!1)}break;case 36:var m=Object.keys(G);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],G[w]))}Q(),yr(e,!1)}break;case 40:jr.forEach((function(t){e.push(t);var n=[];for(var a in Dr[t]){var r=parseInt(a,10);n.push(r),n.push(Dr[t][a])}e.push(n)})),Yr(),yr(e,!1)}}function Gr(){Cr={check:0}}function Kr(t){if(0===Cr.check){var e=Cr.check;e=Ii.sequence>=128?1:e,e=Ii.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Cr.check&&Zr(e)}}function Zr(t){Cr.check=t,5!==t&&(yi(),Eo())}function Qr(){0!==Cr.check&&Jr(35)}function $r(){Cr=null}var ti=null,ei=null,ni=!1;function ai(){ti={},ei={},ni=!1}function ri(){ti={},ei={},ni=!1}function ii(t,e){if(e&&(e="".concat(e),t in ti||(ti[t]=[]),ti[t].indexOf(e)<0)){if(ti[t].length>128)return void(ni||(ni=!0,Zr(5)));ti[t].push(e),t in ei||(ei[t]=[]),ei[t].push(e)}}function oi(){Jr(1)}function ui(){ei={},ni=!1}function ci(t){ii(36,t.toString())}var si=null,li=[],di=0,fi=null;function hi(){var t,e,n;fi=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:"";di=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=Ni("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-Oi(n[1])<18e5&&(t.session=n[0],t.count=Oi(n[2])+1,t.upgrade=Oi(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=Ti(),h=o.projectId||d(location.host);si={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,ii(0,a),ii(3,c),ii(1,y(location.href,!!di)),ii(2,document.referrer),ii(15,function(){var t=Ei();if(o.track&&ki(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ii(16,document.documentElement.lang),ii(17,document.dir),ii(26,"".concat(window.devicePixelRatio)),ii(28,f.dob.toString()),ii(29,f.version.toString()),ii(33,u),ii(34,r),ii(35,i),W(0,l.ts),W(1,0),W(35,di),navigator&&(ii(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;ii(22,t.platform),ii(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ii(24,t.name+"~"+t.version)})),ii(25,t.model),W(27,t.mobile?1:0)})):ii(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=Ni(g);m&&ot(g,m)}!function(t){ci(t?1:0)}(o.track),Si(f)}function pi(){fi=null,si=null,li.forEach((function(t){t.called=!1}))}function vi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=o.lean?0:1,r=!1;si&&(a||!1===e)&&(t(si,!o.lean),r=!0),!n&&r||li.push({callback:t,wait:e,recall:n,called:r})}function gi(){return si?[si.userId,si.sessionId,si.pageNum].join("."):""}function mi(t){if(void 0===t&&(t=!0),!t)return o.track=!1,xi("_clsk","",-Number.MAX_VALUE),xi("_clck","",-Number.MAX_VALUE),Eo(),void window.setTimeout(So,250);Zi()&&(o.track=!0,Si(Ti(),1),wi(),ci(2))}function yi(){xi("_clsk","",0)}function bi(){!function(t){if(li.length>0)for(var e=0;e<li.length;e++){var n=li[e];!n.callback||n.called||n.wait&&!t||(n.callback(si,!o.lean),n.called=!0,n.recall||(li.splice(e,1),e--))}}(o.lean?0:1)}function wi(){if(si){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;xi("_clsk",[si.sessionId,t,si.pageNum,n,e].join("|"),1)}}function ki(t,e){try{return!!t[e]}catch(t){return!1}}function Si(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)&&xi("_clck",[si.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 Oi(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ti(){var t={id:Ei(),version:0,expiry:null,consent:0,dob:0},e=Ni("_clck",!o.includeSubdomains);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=Oi(n[1])),n.length>2&&(t.expiry=Oi(n[2],36)),n.length>3&&1===Oi(n[3])&&(t.consent=1),n.length>4&&Oi(n[1])>1&&(t.dob=Oi(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Ni(t,e){var n;if(void 0===e&&(e=!1),ki(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r<a.length;r++){var i=a[r].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=Mi(i[1]),u=o[0],c=o[1];u;)u=(n=Mi(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Mi(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function xi(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||ki(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===fi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(fi=".".concat(c[s]).concat(fi||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(fi),Ni(t)===e))return;fi=""}}catch(t){fi=""}document.cookie=fi?"".concat(u).concat(";").concat("domain=").concat(fi):u}}var _i,Ii=null;function Ci(){var t=si;Ii={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 Di(){Ii=null}function ji(t){return Ii.start=Ii.start+Ii.duration,Ii.duration=s()-Ii.start,Ii.sequence++,Ii.upload=t&&"sendBeacon"in navigator?1:0,Ii.end=t?1:0,[Ii.version,Ii.sequence,Ii.start,Ii.duration,Ii.projectId,Ii.userId,Ii.sessionId,Ii.pageNum,Ii.upload,Ii.end]}function Ai(){_i=[]}function Ri(t){if(_i&&-1===_i.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Ii.version,p:Ii.projectId,u:Ii.userId,s:Ii.sessionId,n:Ii.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)),_i.push(t.message)}}return t}function Li(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Ri(t)}var n=performance.now()-e;H(4,n),n>o.longTask&&(z(7),W(6,n))}}var Pi=[];function zi(t,e,n,a){void 0===a&&(a=!1),n=Li(n);try{t[u("addEventListener")](e,n,a),Pi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Hi(){for(var t=0,e=Pi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Pi=[]}var Wi=null,Xi=null,Yi=null,qi=0;function Ui(){return!(qi++>20)||(Ir(4,0),!1)}function Fi(){qi=0,Yi!==Bi()&&(Eo(),window.setTimeout(Vi,250))}function Vi(){So(),W(29,1)}function Bi(){return location.href?location.href.replace(location.hash,""):location.href}var Ji=!1;function Gi(){Ji=!0,c=performance.now()+performance.timeOrigin,ve(),Hi(),Ai(),Yi=Bi(),qi=0,zi(window,"popstate",Fi),null===Wi&&(Wi=history.pushState,history.pushState=function(){Wi.apply(this,arguments),Zi()&&Ui()&&Fi()}),null===Xi&&(Xi=history.replaceState,history.replaceState=function(){Xi.apply(this,arguments),Zi()&&Ui()&&Fi()})}function Ki(){Yi=null,qi=0,Ai(),Hi(),ve(),c=0,Ji=!1}function Zi(){return Ji}function Qi(){So(),A("clarity","restart")}var $i=Object.freeze({__proto__:null,start:function(){!function(){Et=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self||window.top==window?1:2)}catch(t){W(31,0)}}(),zi(window,"error",Nr),Tr={},_r={}},stop:function(){_r={}}});function to(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),be(e={id:gi(),cost:3}),[4,Rn(document,e,0,t)];case 1:return n.sent(),ka(document,t),[4,za(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}var eo=Object.freeze({__proto__:null,hashText:$t,start:function(){Ne(),Me(),tr(),Ba=null,qa=new WeakMap,Ua={},Fa=[],Va=!!window.IntersectionObserver,Ut(),o.delayDom?zi(window,"load",(function(){Gn()})):Gn(),ge(to,1).then((function(){Li(Me)(),Li(Ka)(),Li(mn)()})),null===pa&&(pa=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Zi()&&(W(36,1),this[ma]===si.pageNum&&Ea(s(),this[ga],1,arguments[0])),pa.apply(this,arguments)}),null===va&&(va=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Zi()&&(W(36,1),this[ma]===si.pageNum&&Ea(s(),this[ga],2,arguments[0])),va.apply(this,arguments)}),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Aa(),La(Na,"play"),La(Ma,"pause"),La(xa,"commitStyles"),La(_a,"cancel"),La(Ia,"finish"),null===Ta&&(Ta=Element.prototype.animate,Element.prototype.animate=function(){var t=Ta.apply(this,arguments);return Pa(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?Pa(n,"finish"):"paused"===n.playState||"idle"===n.playState?Pa(n,"pause"):"running"===n.playState&&Pa(n,"play")}}()},stop:function(){tr(),qa=null,Ua={},Fa=[],Ba&&(Ba.disconnect(),Ba=null),Va=!1,Ft(),function(){for(var t=0,e=Ln;t<e.length;t++){var n=e[t];n&&n.disconnect()}Ln=[],Jn={},Pn=[],zn=[],Un=[],Bn=0,Fn=null}(),Ne(),ya={},ba={},wa=[],Sa(),Aa()}});var no=null;function ao(){no=null}function ro(t){no={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(no.fetchStart),n.push(no.connectStart),n.push(no.connectEnd),n.push(no.requestStart),n.push(no.responseStart),n.push(no.responseEnd),n.push(no.domInteractive),n.push(no.domComplete),n.push(no.loadEventStart),n.push(no.loadEventEnd),n.push(no.redirectCount),n.push(no.size),n.push(no.type),n.push(no.protocol),n.push(no.encodedSize),n.push(no.decodedSize),ao(),yr(n)),[2]}))}))}(29)}var io,oo=0,uo=1/0,co=0,so=0,lo=[],fo=new Map,ho=function(){return oo||0},po=function(){if(!lo.length)return-1;var t=Math.min(lo.length-1,Math.floor((ho()-so)/50));return lo[t].latency},vo=function(){so=ho(),lo.length=0,fo.clear()},go=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?oo=performance.interactionCount:t.interactionId&&(uo=Math.min(uo,t.interactionId),co=Math.max(co,t.interactionId),oo=co?(co-uo)/7+1:0)}(t);var e=lo[lo.length-1],n=fo.get(t.interactionId);if(n||lo.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{var a={id:t.interactionId,latency:t.duration};fo.set(a.id,a),lo.push(a)}lo.sort((function(t,e){return e.latency-t.latency})),lo.length>10&&lo.splice(10).forEach((function(t){return fo.delete(t.id)}))}}},mo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function yo(){try{io&&io.disconnect(),io=new PerformanceObserver(Li(bo));for(var t=0,e=mo;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),io.observe({type:n,buffered:!0}))}}catch(t){Ir(3,1)}}function bo(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":ro(a);break;case"resource":var r=a.name;ii(4,wo(r)),r!==o.upload&&r!==o.fallback||W(28,a.duration);break;case"longtask":z(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(go(a),ii(37,po().toString()));break;case"layout-shift":e&&!a.hadRecentInput&&H(9,1e3*a.value);break;case"largest-contentful-paint":e&&W(8,a.startTime)}}}(t.getEntries())}function wo(t){var e=document.createElement("a");return e.href=t,e.host}var ko=[$i,eo,An,Object.freeze({__proto__:null,start:function(){ao(),function(){navigator&&"connection"in navigator&&ii(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zi(window,"load",X.bind(this,yo,0)):yo():Ir(3,0)}()},stop:function(){io&&io.disconnect(),io=null,vo(),ao()}})];function So(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Ji&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Ji)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Gi(),bt(),ko.forEach((function(t){return Li(t.start)()})),null===t&&Mo())}function Eo(){Zi()&&(ko.slice().reverse().forEach((function(t){return Li(t.stop)()})),wt(),Ki(),void 0!==To&&(To[No]=function(){(To[No].q=To[No].q||[]).push(arguments),"start"===arguments[0]&&To[No].q.unshift(To[No].q.pop())&&Mo()}))}var Oo=Object.freeze({__proto__:null,consent:mi,event:A,hashText:$t,identify:ut,metadata:vi,pause:function(){Zi()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){Zi()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:So,stop:Eo,upgrade:et,version:l}),To=window,No="clarity";function Mo(){if(void 0!==To){if(To[No]&&To[No].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=To[No]&&To[No].q||[];for(To[No]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Oo[t].apply(Oo,e)},To[No].v=l;t.length>0;)To[No].apply(To,t.shift())}}Mo()}();
@@ -164,7 +164,7 @@ function stop$F() {
164
164
  startTime = 0;
165
165
  }
166
166
 
167
- var version$1 = "0.7.57";
167
+ var version$1 = "0.7.58";
168
168
 
169
169
  // tslint:disable: no-bitwise
170
170
  function hash (input, precision) {
@@ -1955,6 +1955,8 @@ function stop$r() {
1955
1955
 
1956
1956
  var state$5 = [];
1957
1957
  var timeout$5 = null;
1958
+ var activeTouchPointId = 0;
1959
+ var activeTouchPointIds = new Set();
1958
1960
  function start$s() {
1959
1961
  reset$f();
1960
1962
  }
@@ -1997,13 +1999,25 @@ function touch(event, root, evt) {
1997
1999
  var y = "clientY" in entry ? Math.round(entry["clientY"] + d.scrollTop) : null;
1998
2000
  x = x && frame ? x + Math.round(frame.offsetLeft) : x;
1999
2001
  y = y && frame ? y + Math.round(frame.offsetTop) : y;
2000
- // identifier is 0-based, unique for each touch point and resets when all fingers are lifted
2001
- // that is not a part of the spec, but it is how it is implemented in browsers
2002
- // tested in Chromium-based browsers as well as Firefox
2002
+ // We cannot rely on identifier to determine primary touch as its value doesn't always start with 0.
2003
+ // Safari/Webkit uses the address of the UITouch object as the identifier value for each touch point.
2003
2004
  var id = "identifier" in entry ? entry["identifier"] : undefined;
2005
+ switch (event) {
2006
+ case 17 /* Event.TouchStart */:
2007
+ if (activeTouchPointIds.size === 0) {
2008
+ activeTouchPointId = id;
2009
+ }
2010
+ activeTouchPointIds.add(id);
2011
+ break;
2012
+ case 18 /* Event.TouchEnd */:
2013
+ case 20 /* Event.TouchCancel */:
2014
+ activeTouchPointIds.delete(id);
2015
+ break;
2016
+ }
2017
+ var isPrimary = activeTouchPointId === id;
2004
2018
  // Check for null values before processing this event
2005
2019
  if (x !== null && y !== null) {
2006
- handler$2({ time: t, event: event, data: { target: target(evt), x: x, y: y, id: id } });
2020
+ handler$2({ time: t, event: event, data: { target: target(evt), x: x, y: y, id: id, isPrimary: isPrimary } });
2007
2021
  }
2008
2022
  }
2009
2023
  }
@@ -2052,7 +2066,9 @@ function stop$q() {
2052
2066
 
2053
2067
  var data$b;
2054
2068
  var timeout$4 = null;
2069
+ var initialStateLogged = false;
2055
2070
  function start$r() {
2071
+ initialStateLogged = false;
2056
2072
  bind(window, "resize", recompute$5);
2057
2073
  recompute$5();
2058
2074
  }
@@ -2064,8 +2080,14 @@ function recompute$5() {
2064
2080
  width: de && "clientWidth" in de ? Math.min(de.clientWidth, window.innerWidth) : window.innerWidth,
2065
2081
  height: de && "clientHeight" in de ? Math.min(de.clientHeight, window.innerHeight) : window.innerHeight,
2066
2082
  };
2067
- clearTimeout(timeout$4);
2068
- timeout$4 = setTimeout(process$5, 500 /* Setting.LookAhead */, 11 /* Event.Resize */);
2083
+ if (initialStateLogged) {
2084
+ clearTimeout(timeout$4);
2085
+ timeout$4 = setTimeout(process$5, 500 /* Setting.LookAhead */, 11 /* Event.Resize */);
2086
+ }
2087
+ else {
2088
+ encode$3(11 /* Event.Resize */);
2089
+ initialStateLogged = true;
2090
+ }
2069
2091
  }
2070
2092
  function process$5(event) {
2071
2093
  schedule$1(encode$3.bind(this, event));
@@ -3648,6 +3670,9 @@ function encode$3 (type, ts) {
3648
3670
  tokens.push(entry.data.y);
3649
3671
  if (entry.data.id !== undefined) {
3650
3672
  tokens.push(entry.data.id);
3673
+ if (entry.data.isPrimary !== undefined) {
3674
+ tokens.push(entry.data.isPrimary.toString());
3675
+ }
3651
3676
  }
3652
3677
  queue(tokens);
3653
3678
  track$8(entry.event, entry.data.x, entry.data.y);