clarity-js 0.8.8-beta → 0.8.9-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/clarity.extended.js +1 -1
- package/build/clarity.insight.js +1 -1
- package/build/clarity.js +5 -11
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +5 -11
- package/build/clarity.performance.js +1 -1
- package/package.json +2 -2
- package/src/core/config.ts +0 -4
- package/src/core/version.ts +1 -1
- package/src/data/metadata.ts +2 -2
- package/src/layout/mutation.ts +2 -4
- package/types/core.d.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Pi},get getId(){return Si},get getNode(){return Di},get getValue(){return Ri},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return ya},get start(){return ga},get stop(){return va},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ba},get start(){return Ja},get stop(){return Ga},get upgrade(){return Ka}}),i=Object.freeze({__proto__:null,get check(){return er},get compute(){return nr},get data(){return Va},get start(){return Qa},get stop(){return ir},get trigger(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return cr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return lr},get stop(){return ur},get updates(){return rr}}),r=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return hr},get clear(){return Sr},get consent(){return kr},get data(){return fr},get electron(){return mr},get id(){return wr},get metadata(){return br},get save(){return Tr},get shortid(){return Nr},get start(){return yr},get stop(){return vr}}),o=Object.freeze({__proto__:null,get data(){return Pr},get envelope(){return Yr},get start(){return Ar},get stop(){return Xr}});let l={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function u(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.8-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function R(){x&&Za(4)}var P=Object.freeze({__proto__:null,activity:C,compute:R,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ao()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Za(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Lr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Za(25),Y.gap<3e5?V=H(J,F):to&&(X("clarity","suspend"),Io(),["mousemove","touchstart"].forEach((e=>zr(document,e,ro))),["resize","scroll","pageshow"].forEach((e=>zr(window,e,ro))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Za(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ao()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Za(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){_a(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Za(40)}catch(e){_a(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[P,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Lr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Lr(e.stop)())),j={},$={}}function Ce(){le(),R(),cr(),Za(0),Q(),nr(),we()}let De,Re=[];function Pe(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Re.indexOf(De.checksum)<0&&(Re.push(De.checksum),Ma(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),Ya(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){zr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Ya(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),Ya(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Pi(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){Ya(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target;return t.event===e.event&&o&&a<20&&r<25}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){Ya(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){Ya(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){Ya(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);sr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);sr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){Ya(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Rt(e){Rt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),Ya(na.bind(this,39))}function Pt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Io()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);zr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){zr(e,"cut",Ve.bind(this,0),!0),zr(e,"copy",Ve.bind(this,1),!0),zr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){zr(e,"mousedown",rt.bind(this,13,e),!0),zr(e,"mouseup",rt.bind(this,14,e),!0),zr(e,"mousemove",rt.bind(this,12,e),!0),zr(e,"wheel",rt.bind(this,15,e),!0),zr(e,"dblclick",rt.bind(this,16,e),!0),zr(e,"touchstart",ot.bind(this,17,e),!0),zr(e,"touchend",ot.bind(this,18,e),!0),zr(e,"touchmove",ot.bind(this,19,e),!0),zr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){zr(e,"input",Ge,!0)}(e),function(e){zr(e,"selectstart",Nt.bind(this,e),!0),zr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){zr(e,"change",Xe,!0)}(e),function(e){zr(e,"submit",Rt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,zr(window,"resize",ft),ft(),zr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Pt(),zr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Pt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=Nr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ao()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=Nr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),ya(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),ya(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),ya(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),ya(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),ya(a);cn();break;case 5:case 6:if(2===$a(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=$a(t);if(0===n&&(n=await za(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Pe(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),ya(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=$a(t);if(0===o&&(o=await za(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Rn(){Rn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Pn(e){Pn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),Ya(Xn,1).then((()=>{H(kn),Lr(Ji)()}))}async function An(e,t,n,i){let a=$a(e);if(0===a&&(a=await za(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Pi(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Pi(e.target),u=o&&o.selector?o.selector.join():e.target.nodeName,s=[a.selector?a.selector.join():"",u,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[s]=s in In?In[s]:[0,n];let c=In[s];if(!1===r&&c[0]>=10&&jn(c[2],2,t,i),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,c[0]>=10)return c[2]=e.removedNodes,n>i+3e3?e.type:(l.dropMutations||(En[s]={mutation:e,timestamp:i}),"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:wr(),cost:3};for(La(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{Ya(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),Wa(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=$a(n);if(0===e&&(e=await za(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Lr(Pn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ao()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":sr(5,e[t]),sr(8,e.creator),sr(18,e.headline);break;case"product":sr(5,e[t]),sr(10,e.name),sr(12,e.sku),e.brand&&sr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":sr(7,e.availability),sr(14,e.itemCondition),sr(13,e.priceCurrency),sr(12,e.sku),z(13,qn(e.price));break;case"brand":sr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":sr(20,e);break;case"og:type":sr(19,e);break;case"generator":sr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Pi(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&zr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(mr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Ur(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Lr(Pn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){_a(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){qr(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&qr(n),t&&(qr(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){_a(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||zr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${Nr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Ri(e){return e in ai?ai[e]:null}function Pi(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Pi(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Pe(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),ya(i),I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),ya(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),ya(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),ya(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),ya(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),ya(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),ya(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),ya(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),ya(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),ya(i))}Pt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),ya(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),ya(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0;function ga(){ca=!0,pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null}function ya(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(i){case 5:pa+=a.length;case 37:case 6:case 43:case 45:case 46:fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Pr.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(ba,r),ma=n,er(fa))}}function va(){q(ha),ba(!0),pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function ba(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Pr.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Pr.start+Pr.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);let n=t in Ut?Ut[t]:null;Kt(document,n)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Yr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),wa(i,a,Pr.sequence,n),ua=[],t&&(la=[],fa=0,pa=0)}function wa(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Sa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{$r(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Lr(ka)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Sa(n)}}function ka(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?tr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),wa(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Za(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":tr(6);break;case"UPGRADE":Ka("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(wa(n.data,null,t,!0),tr(3)),e.status>=200&&e.status<=208&&Sa(t),delete sa[t]))}function Sa(e){1===e&&(Tr(),Or())}let Oa,Ta={};function Ea(e){Ea.dn=4;let t=e.error||e;return t.message in Ta||(Ta[t.message]=0),Ta[t.message]++>=5||t&&t.message&&(Oa={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Ma(31)),!0}async function Ma(e){let t=[c(),e];switch(e){case 31:t.push(Oa.message),t.push(Oa.line),t.push(Oa.column),t.push(Oa.stack),t.push(w(Oa.source)),ya(t);break;case 33:Na&&(t.push(Na.code),t.push(Na.name),t.push(Na.message),t.push(Na.stack),t.push(Na.severity),ya(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),ya(t,!1))}}let Na,xa={};function _a(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in xa&&xa[e].indexOf(r)>=0||(Na={code:e,name:n,message:i,stack:a,severity:t},e in xa?xa[e].push(r):xa[e]=[r],Ma(33))}const Ia=5e3;let Ca={},Da=[],Ra=null,Pa=null,Aa=null;function Xa(){Ca={},Da=[],Ra=null,Pa=null}async function Ya(e,t=0){for(let t of Da)if(t.task===e)return;let n=new Promise((n=>{Da[1===t?"unshift":"push"]({task:e,resolve:n,id:wr()})}));return null===Ra&&null===Pa&&ja(),n}function ja(){let e=Da.shift();e&&(Ra=e,e.task().then((()=>{e.id===wr()&&(e.resolve(),Ra=null,ja())})).catch((t=>{e.id===wr()&&(t&&_a(0,1,t.name,t.message,t.stack),Ra=null,ja())})))}function $a(e){let t=Ha(e);if(t in Ca){return performance.now()-Ca[t].start>Ca[t].yield?0:1}return 2}function La(e){Ca[Ha(e)]={start:performance.now(),calls:0,yield:30}}function Wa(e){let t=performance.now(),n=Ha(e),i=t-Ca[n].start;W(e.cost,i),L(5),Ca[n].calls>0&&W(4,i)}async function za(e){var t;let n=Ha(e);return n in Ca&&(Wa(e),Ca[n].yield=(null===(t=await async function(){Pa&&await Pa;return new Promise((e=>{qa(e,{timeout:Ia})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=Ha(e);if(Ca&&Ca[t]){let n=Ca[t].calls,i=Ca[t].yield;La(e),Ca[t].calls=n+1,Ca[t].yield=i}}(e)),n in Ca?1:2}function Ha(e){return`${e.id}.${e.cost}`}let qa=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Ua(){Ya(Fa,1).then((()=>{Lr(kn)(),Lr(Ji)(),Lr(Ot)()}))}async function Fa(){let e=c(),t={id:wr(),cost:3};La(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),Wa(t)}let Va,Ba=null;function Ja(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ba=null}function Ka(e){ao()&&l.lean&&(l.lean=!1,Ba={key:e},Or(),Tr(),l.upgrade&&l.upgrade(e),Za(3),l.lite&&(Ua(),Jt()))}function Ga(){Ba=null}function Za(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),ya(t,!1)),_();break;case 25:t.push(Y.gap),ya(t);break;case 35:t.push(Va.check),ya(t,!1);break;case 3:t.push(Ba.key),ya(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),ya(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),ya(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),ya(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},ya(t,!1)}break;case 1:let a=Object.keys(rr);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(rr[e])}dr(),ya(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),ya(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),ya(t,!1)}}function Qa(){Va={check:0}}function er(e){if(0===Va.check){let t=Va.check;t=Pr.sequence>=128?1:t,t=Pr.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Va.check&&tr(t)}}function tr(e){Va.check=e,5!==e&&(Sr(),Io())}function nr(){0!==Va.check&&Za(35)}function ir(){Va=null}let ar=null,rr=null,or=!1;function lr(){ar={},rr={},or=!1}function ur(){ar={},rr={},or=!1}function sr(e,t){if(t&&(t=`${t}`,e in ar||(ar[e]=[]),ar[e].indexOf(t)<0)){if(ar[e].length>128)return void(or||(or=!0,tr(5)));ar[e].push(t),e in rr||(rr[e]=[]),rr[e].push(t)}}function cr(){Za(1)}function dr(){rr={},or=!1}function pr(e){sr(36,e.toString())}let fr=null,hr=[],mr=0,gr=null;function yr(){var e,t,n;gr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";mr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ir("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-xr(n[1])<18e5&&(e.session=n[0],e.count=xr(n[2])+1,e.upgrade=xr(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=_r(),d=l.projectId||p(location.host);fr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,sr(0,i),sr(3,u),sr(1,w(location.href,!!mr)),sr(2,document.referrer),sr(15,function(){let e=Nr();if(l.track&&Er(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,`${window.devicePixelRatio}`),sr(28,c.dob.toString()),sr(29,c.version.toString()),sr(33,o),sr(34,a),sr(35,r),z(0,s.ts),z(1,0),z(35,mr),navigator&&(sr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;sr(22,e.platform),sr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{sr(24,e.name+"~"+e.version)})),sr(25,e.model),z(27,e.mobile?1:0)})):sr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Ir(e);t&&ae(e,t)}!function(e){pr(e?1:0)}(l.track),Mr(c)}function vr(){gr=null,fr=null,hr.forEach((e=>{e.called=!1}))}function br(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;fr&&(i||!1===t)&&(e(fr,!l.lean),a=!0),!n&&a||hr.push({callback:e,wait:t,recall:n,called:a})}function wr(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(e=!0){if(!e)return l.track=!1,Dr("_clsk","",-Number.MAX_VALUE),Dr("_clck","",-Number.MAX_VALUE),Io(),void window.setTimeout(_o,250);ao()&&(l.track=!0,Mr(_r(),1),Tr(),pr(2))}function Sr(){Dr("_clsk","",0)}function Or(){!function(e){if(hr.length>0)for(let t=0;t<hr.length;t++){const n=hr[t];!n.callback||n.called||n.wait&&!e||(n.callback(fr,!l.lean),n.called=!0,n.recall||(hr.splice(t,1),t--))}}(l.lean?0:1)}function Tr(){if(!fr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Dr("_clsk",[fr.sessionId,e,fr.pageNum,n,t].join("^"),1)}function Er(e,t){try{return!!e[t]}catch(e){return!1}}function Mr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Dr("_clck",[fr.userId,2,n.toString(36),t,i].join("^"),365)}}function Nr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function xr(e,t=10){return parseInt(e,t)}function _r(){let e={id:Nr(),version:0,expiry:null,consent:0,dob:0},t=Ir("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=xr(n[1])),n.length>2&&(e.expiry=xr(n[2],36)),n.length>3&&1===xr(n[3])&&(e.consent=1),n.length>4&&xr(n[1])>1&&(e.dob=xr(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Ir(e,t=!1){if(Er(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Cr(a[1]);for(;e;)[e,n]=Cr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Cr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Dr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Er(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===gr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(gr=`.${n[i]}${gr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${gr}`,Ir(e)===t))return;gr=""}}catch(e){gr=""}document.cookie=gr?`${r};domain=${gr}`:r}}let Rr,Pr=null;function Ar(){const e=fr;Pr={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Xr(){Pr=null}function Yr(e){return Pr.start=Pr.start+Pr.duration,Pr.duration=c()-Pr.start,Pr.sequence++,Pr.upload=e&&"sendBeacon"in navigator?1:0,Pr.end=e?1:0,Pr.applicationPlatform=0,Pr.url=w(location.href,!1,!0),[Pr.version,Pr.sequence,Pr.start,Pr.duration,Pr.projectId,Pr.userId,Pr.sessionId,Pr.pageNum,Pr.upload,Pr.end,Pr.applicationPlatform,Pr.url]}function jr(){Rr=[]}function $r(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Pr.version,p:Pr.projectId,u:Pr.userId,s:Pr.sessionId,n:Pr.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Lr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw $r(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),_a(9,0,`${e.dn||e.name}-${n}`))}}let Wr=new Map;function zr(e,t,n,i=!1,a=!0){n=Lr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Ur(e)||Wr.set(e,[]),Wr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function Hr(){Wr.forEach(((e,t)=>{Fr(e,t)})),Wr=new Map}function qr(e){Ur(e)&&Fr(Wr.get(e),e)}function Ur(e){return Wr.has(e)}function Fr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),Wr.delete(t)}let Vr=null,Br=null,Jr=null,Kr=0;function Gr(){return!(Kr++>20)||(_a(4,0),!1)}function Zr(){Zr.dn=1,Kr=0,Jr!==eo()&&(Io(),window.setTimeout(Qr,250))}function Qr(){_o(),z(29,1)}function eo(){return location.href?location.href.replace(location.hash,""):location.href}let to=!1;function no(){to=!0,s=performance.now()+performance.timeOrigin,Xa(),Hr(),jr(),Jr=eo(),Kr=0,zr(window,"popstate",Zr),null===Vr&&(Vr=history.pushState,history.pushState=function(){Vr.apply(this,arguments),ao()&&Gr()&&Zr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ao()&&Gr()&&Zr()})}function io(){Jr=null,Kr=0,jr(),Hr(),Xa(),s=0,to=!1}function ao(){return to}function ro(){ro.dn=2,_o(),X("clarity","restart")}var oo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Re=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),zr(window,"error",Ea),Ta={},xa={}},stop:function(){xa={}}});var lo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?zr(window,"load",(()=>{Rn()})):Rn(),Ua(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let uo=null;function so(){uo=null}function co(e){uo={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(uo.fetchStart),t.push(uo.connectStart),t.push(uo.connectEnd),t.push(uo.requestStart),t.push(uo.responseStart),t.push(uo.responseEnd),t.push(uo.domInteractive),t.push(uo.domComplete),t.push(uo.loadEventStart),t.push(uo.loadEventEnd),t.push(uo.redirectCount),t.push(uo.size),t.push(uo.type),t.push(uo.protocol),t.push(uo.encodedSize),t.push(uo.decodedSize),so(),ya(t))}(29)}let po=0,fo=1/0,ho=0,mo=0;const go=[],yo=new Map,vo=()=>po||0,bo=()=>{if(!go.length)return-1;const e=Math.min(go.length-1,Math.floor((vo()-mo)/50));return go[e].latency},wo=()=>{mo=vo(),go.length=0,yo.clear()},ko=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?po=performance.interactionCount:e.interactionId&&(fo=Math.min(fo,e.interactionId),ho=Math.max(ho,e.interactionId),po=ho?(ho-fo)/7+1:0)})(e);const t=go[go.length-1],n=yo.get(e.interactionId);if(n||go.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};yo.set(t.id,t),go.push(t)}go.sort(((e,t)=>t.latency-e.latency)),go.length>10&&go.splice(10).forEach((e=>yo.delete(e.id)))}};let So;const Oo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function To(){To.dn=26;try{So&&So.disconnect(),So=new PerformanceObserver(Lr(Eo));for(let e of Oo)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),So.observe({type:e,buffered:!0}))}catch(e){_a(3,1)}}function Eo(e){Eo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":co(i);break;case"resource":let e=i.name;sr(4,Mo(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(i),sr(37,bo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function Mo(e){let t=document.createElement("a");return t.href=e,t.host}var No=Object.freeze({__proto__:null,start:function e(){e.dn=25,so(),function(){navigator&&"connection"in navigator&&sr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zr(window,"load",H.bind(this,To,0)):To():_a(3,0)}()},stop:function(){So&&So.disconnect(),So=null,wo(),so()}});const xo=[oo,lo,Lt,No];function _o(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===to&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||to)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),no(),_e(),xo.forEach((e=>Lr(e.start)())),null===e&&Po())}function Io(){ao()&&(xo.slice().reverse().forEach((e=>Lr(e.stop)())),Ie(),io(),void 0!==Do&&(Do[Ro]=function(){(Do[Ro].q=Do[Ro].q||[]).push(arguments),"start"===arguments[0]&&Do[Ro].q.unshift(Do[Ro].q.pop())&&Po()}))}var Co=Object.freeze({__proto__:null,consent:kr,event:X,hashText:Ci,identify:re,metadata:br,pause:function(){ao()&&(X("clarity","pause"),null===Pa&&(Pa=new Promise((e=>{Aa=e}))))},resume:function(){ao()&&(Pa&&(Aa(),Pa=null,null===Ra&&ja()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:_o,stop:Io,upgrade:Ka,version:d});const Do=window,Ro="clarity";function Po(){if(void 0!==Do){if(Do[Ro]&&Do[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Do[Ro]&&Do[Ro].q||[];for(Do[Ro]=function(e,...t){return Co[e](...t)},Do[Ro].v=d;e.length>0;)Do[Ro](...e.shift())}}Po()}();
|
|
1
|
+
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Pi},get getId(){return Si},get getNode(){return Di},get getValue(){return Ri},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return ya},get start(){return ga},get stop(){return va},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ba},get start(){return Ja},get stop(){return Ga},get upgrade(){return Ka}}),i=Object.freeze({__proto__:null,get check(){return er},get compute(){return nr},get data(){return Va},get start(){return Qa},get stop(){return ir},get trigger(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return cr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return lr},get stop(){return ur},get updates(){return rr}}),r=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return hr},get clear(){return Sr},get consent(){return kr},get data(){return fr},get electron(){return mr},get id(){return wr},get metadata(){return br},get save(){return Tr},get shortid(){return Nr},get start(){return yr},get stop(){return vr}}),o=Object.freeze({__proto__:null,get data(){return Pr},get envelope(){return Yr},get start(){return Ar},get stop(){return Xr}});let l={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.9-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function R(){x&&Za(4)}var P=Object.freeze({__proto__:null,activity:C,compute:R,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ao()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Za(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Lr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Za(25),Y.gap<3e5?V=H(J,F):to&&(X("clarity","suspend"),Io(),["mousemove","touchstart"].forEach((e=>zr(document,e,ro))),["resize","scroll","pageshow"].forEach((e=>zr(window,e,ro))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Za(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ao()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Za(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){_a(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Za(40)}catch(e){_a(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[P,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Lr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Lr(e.stop)())),j={},$={}}function Ce(){le(),R(),cr(),Za(0),Q(),nr(),we()}let De,Re=[];function Pe(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Re.indexOf(De.checksum)<0&&(Re.push(De.checksum),Ma(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),Ya(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){zr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Ya(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),Ya(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Pi(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){Ya(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target;return t.event===e.event&&o&&a<20&&r<25}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){Ya(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){Ya(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){Ya(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);sr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);sr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){Ya(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Rt(e){Rt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),Ya(na.bind(this,39))}function Pt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Io()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);zr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){zr(e,"cut",Ve.bind(this,0),!0),zr(e,"copy",Ve.bind(this,1),!0),zr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){zr(e,"mousedown",rt.bind(this,13,e),!0),zr(e,"mouseup",rt.bind(this,14,e),!0),zr(e,"mousemove",rt.bind(this,12,e),!0),zr(e,"wheel",rt.bind(this,15,e),!0),zr(e,"dblclick",rt.bind(this,16,e),!0),zr(e,"touchstart",ot.bind(this,17,e),!0),zr(e,"touchend",ot.bind(this,18,e),!0),zr(e,"touchmove",ot.bind(this,19,e),!0),zr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){zr(e,"input",Ge,!0)}(e),function(e){zr(e,"selectstart",Nt.bind(this,e),!0),zr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){zr(e,"change",Xe,!0)}(e),function(e){zr(e,"submit",Rt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,zr(window,"resize",ft),ft(),zr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Pt(),zr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Pt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=Nr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ao()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=Nr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),ya(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),ya(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),ya(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),ya(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),ya(a);cn();break;case 5:case 6:if(2===$a(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=$a(t);if(0===n&&(n=await za(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Pe(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),ya(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=$a(t);if(0===o&&(o=await za(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Rn(){Rn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Pn(e){Pn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),Ya(Xn,1).then((()=>{H(kn),Lr(Ji)()}))}async function An(e,t,n,i){let a=$a(e);if(0===a&&(a=await za(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Pi(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Pi(e.target),l=o&&o.selector?o.selector.join():e.target.nodeName,u=[a.selector?a.selector.join():"",l,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[u]=u in In?In[u]:[0,n];let s=In[u];if(!1===r&&s[0]>=10&&jn(s[2],2,t,i),s[0]=r?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=e.removedNodes,n>i+3e3?e.type:(En[u]={mutation:e,timestamp:i},"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:wr(),cost:3};for(La(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{Ya(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),Wa(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=$a(n);if(0===e&&(e=await za(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Lr(Pn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ao()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":sr(5,e[t]),sr(8,e.creator),sr(18,e.headline);break;case"product":sr(5,e[t]),sr(10,e.name),sr(12,e.sku),e.brand&&sr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":sr(7,e.availability),sr(14,e.itemCondition),sr(13,e.priceCurrency),sr(12,e.sku),z(13,qn(e.price));break;case"brand":sr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":sr(20,e);break;case"og:type":sr(19,e);break;case"generator":sr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Pi(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&zr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(mr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Ur(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Lr(Pn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){_a(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){qr(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&qr(n),t&&(qr(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){_a(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||zr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${Nr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Ri(e){return e in ai?ai[e]:null}function Pi(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Pi(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Pe(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),ya(i),I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),ya(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),ya(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),ya(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),ya(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),ya(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),ya(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),ya(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),ya(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),ya(i))}Pt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),ya(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),ya(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0;function ga(){ca=!0,pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null}function ya(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(i){case 5:pa+=a.length;case 37:case 6:case 43:case 45:case 46:fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Pr.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(ba,r),ma=n,er(fa))}}function va(){q(ha),ba(!0),pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function ba(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Pr.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Pr.start+Pr.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);let n=t in Ut?Ut[t]:null;Kt(document,n)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Yr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),wa(i,a,Pr.sequence,n),ua=[],t&&(la=[],fa=0,pa=0)}function wa(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Sa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{$r(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Lr(ka)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Sa(n)}}function ka(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?tr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),wa(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Za(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":tr(6);break;case"UPGRADE":Ka("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(wa(n.data,null,t,!0),tr(3)),e.status>=200&&e.status<=208&&Sa(t),delete sa[t]))}function Sa(e){1===e&&(Tr(),Or())}let Oa,Ta={};function Ea(e){Ea.dn=4;let t=e.error||e;return t.message in Ta||(Ta[t.message]=0),Ta[t.message]++>=5||t&&t.message&&(Oa={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Ma(31)),!0}async function Ma(e){let t=[c(),e];switch(e){case 31:t.push(Oa.message),t.push(Oa.line),t.push(Oa.column),t.push(Oa.stack),t.push(w(Oa.source)),ya(t);break;case 33:Na&&(t.push(Na.code),t.push(Na.name),t.push(Na.message),t.push(Na.stack),t.push(Na.severity),ya(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),ya(t,!1))}}let Na,xa={};function _a(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in xa&&xa[e].indexOf(r)>=0||(Na={code:e,name:n,message:i,stack:a,severity:t},e in xa?xa[e].push(r):xa[e]=[r],Ma(33))}const Ia=5e3;let Ca={},Da=[],Ra=null,Pa=null,Aa=null;function Xa(){Ca={},Da=[],Ra=null,Pa=null}async function Ya(e,t=0){for(let t of Da)if(t.task===e)return;let n=new Promise((n=>{Da[1===t?"unshift":"push"]({task:e,resolve:n,id:wr()})}));return null===Ra&&null===Pa&&ja(),n}function ja(){let e=Da.shift();e&&(Ra=e,e.task().then((()=>{e.id===wr()&&(e.resolve(),Ra=null,ja())})).catch((t=>{e.id===wr()&&(t&&_a(0,1,t.name,t.message,t.stack),Ra=null,ja())})))}function $a(e){let t=Ha(e);if(t in Ca){return performance.now()-Ca[t].start>Ca[t].yield?0:1}return 2}function La(e){Ca[Ha(e)]={start:performance.now(),calls:0,yield:30}}function Wa(e){let t=performance.now(),n=Ha(e),i=t-Ca[n].start;W(e.cost,i),L(5),Ca[n].calls>0&&W(4,i)}async function za(e){var t;let n=Ha(e);return n in Ca&&(Wa(e),Ca[n].yield=(null===(t=await async function(){Pa&&await Pa;return new Promise((e=>{qa(e,{timeout:Ia})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=Ha(e);if(Ca&&Ca[t]){let n=Ca[t].calls,i=Ca[t].yield;La(e),Ca[t].calls=n+1,Ca[t].yield=i}}(e)),n in Ca?1:2}function Ha(e){return`${e.id}.${e.cost}`}let qa=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Ua(){Ya(Fa,1).then((()=>{Lr(kn)(),Lr(Ji)(),Lr(Ot)()}))}async function Fa(){let e=c(),t={id:wr(),cost:3};La(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),Wa(t)}let Va,Ba=null;function Ja(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ba=null}function Ka(e){ao()&&l.lean&&(l.lean=!1,Ba={key:e},Or(),Tr(),l.upgrade&&l.upgrade(e),Za(3),l.lite&&(Ua(),Jt()))}function Ga(){Ba=null}function Za(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),ya(t,!1)),_();break;case 25:t.push(Y.gap),ya(t);break;case 35:t.push(Va.check),ya(t,!1);break;case 3:t.push(Ba.key),ya(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),ya(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),ya(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),ya(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},ya(t,!1)}break;case 1:let a=Object.keys(rr);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(rr[e])}dr(),ya(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),ya(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),ya(t,!1)}}function Qa(){Va={check:0}}function er(e){if(0===Va.check){let t=Va.check;t=Pr.sequence>=128?1:t,t=Pr.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Va.check&&tr(t)}}function tr(e){Va.check=e,5!==e&&(Sr(),Io())}function nr(){0!==Va.check&&Za(35)}function ir(){Va=null}let ar=null,rr=null,or=!1;function lr(){ar={},rr={},or=!1}function ur(){ar={},rr={},or=!1}function sr(e,t){if(t&&(t=`${t}`,e in ar||(ar[e]=[]),ar[e].indexOf(t)<0)){if(ar[e].length>128)return void(or||(or=!0,tr(5)));ar[e].push(t),e in rr||(rr[e]=[]),rr[e].push(t)}}function cr(){Za(1)}function dr(){rr={},or=!1}function pr(e){sr(36,e.toString())}let fr=null,hr=[],mr=0,gr=null;function yr(){var e,t,n;gr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";mr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ir("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-xr(n[1])<18e5&&(e.session=n[0],e.count=xr(n[2])+1,e.upgrade=xr(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=_r(),d=l.projectId||p(location.host);fr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,sr(0,i),sr(3,u),sr(1,w(location.href,!!mr)),sr(2,document.referrer),sr(15,function(){let e=Nr();if(l.track&&Er(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,`${window.devicePixelRatio}`),sr(28,c.dob.toString()),sr(29,c.version.toString()),sr(33,o),sr(34,a),sr(35,r),z(0,s.ts),z(1,0),z(35,mr),navigator&&(sr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;sr(22,e.platform),sr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{sr(24,e.name+"~"+e.version)})),sr(25,e.model),z(27,e.mobile?1:0)})):sr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Ir(e);t&&ae(e,t)}!function(e){pr(e?1:0)}(l.track),Mr(c)}function vr(){gr=null,fr=null,hr.forEach((e=>{e.called=!1}))}function br(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;fr&&(i||!1===t)&&(e(fr,!l.lean),a=!0),!n&&a||hr.push({callback:e,wait:t,recall:n,called:a})}function wr(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(e=!0){if(!e)return l.track=!1,Dr("_clsk","",-Number.MAX_VALUE),Dr("_clck","",-Number.MAX_VALUE),Io(),void window.setTimeout(_o,250);ao()&&(l.track=!0,Mr(_r(),1),Tr(),pr(2))}function Sr(){Dr("_clsk","",0)}function Or(){!function(e){if(hr.length>0)for(let t=0;t<hr.length;t++){const n=hr[t];!n.callback||n.called||n.wait&&!e||(n.callback(fr,!l.lean),n.called=!0,n.recall||(hr.splice(t,1),t--))}}(l.lean?0:1)}function Tr(){if(!fr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Dr("_clsk",[fr.sessionId,e,fr.pageNum,n,t].join("|"),1)}function Er(e,t){try{return!!e[t]}catch(e){return!1}}function Mr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Dr("_clck",[fr.userId,2,n.toString(36),t,i].join("|"),365)}}function Nr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function xr(e,t=10){return parseInt(e,t)}function _r(){let e={id:Nr(),version:0,expiry:null,consent:0,dob:0},t=Ir("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=xr(n[1])),n.length>2&&(e.expiry=xr(n[2],36)),n.length>3&&1===xr(n[3])&&(e.consent=1),n.length>4&&xr(n[1])>1&&(e.dob=xr(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Ir(e,t=!1){if(Er(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Cr(a[1]);for(;e;)[e,n]=Cr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Cr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Dr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Er(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===gr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(gr=`.${n[i]}${gr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${gr}`,Ir(e)===t))return;gr=""}}catch(e){gr=""}document.cookie=gr?`${r};domain=${gr}`:r}}let Rr,Pr=null;function Ar(){const e=fr;Pr={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Xr(){Pr=null}function Yr(e){return Pr.start=Pr.start+Pr.duration,Pr.duration=c()-Pr.start,Pr.sequence++,Pr.upload=e&&"sendBeacon"in navigator?1:0,Pr.end=e?1:0,Pr.applicationPlatform=0,Pr.url=w(location.href,!1,!0),[Pr.version,Pr.sequence,Pr.start,Pr.duration,Pr.projectId,Pr.userId,Pr.sessionId,Pr.pageNum,Pr.upload,Pr.end,Pr.applicationPlatform,Pr.url]}function jr(){Rr=[]}function $r(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Pr.version,p:Pr.projectId,u:Pr.userId,s:Pr.sessionId,n:Pr.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Lr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw $r(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),_a(9,0,`${e.dn||e.name}-${n}`))}}let Wr=new Map;function zr(e,t,n,i=!1,a=!0){n=Lr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Ur(e)||Wr.set(e,[]),Wr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function Hr(){Wr.forEach(((e,t)=>{Fr(e,t)})),Wr=new Map}function qr(e){Ur(e)&&Fr(Wr.get(e),e)}function Ur(e){return Wr.has(e)}function Fr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),Wr.delete(t)}let Vr=null,Br=null,Jr=null,Kr=0;function Gr(){return!(Kr++>20)||(_a(4,0),!1)}function Zr(){Zr.dn=1,Kr=0,Jr!==eo()&&(Io(),window.setTimeout(Qr,250))}function Qr(){_o(),z(29,1)}function eo(){return location.href?location.href.replace(location.hash,""):location.href}let to=!1;function no(){to=!0,s=performance.now()+performance.timeOrigin,Xa(),Hr(),jr(),Jr=eo(),Kr=0,zr(window,"popstate",Zr),null===Vr&&(Vr=history.pushState,history.pushState=function(){Vr.apply(this,arguments),ao()&&Gr()&&Zr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ao()&&Gr()&&Zr()})}function io(){Jr=null,Kr=0,jr(),Hr(),Xa(),s=0,to=!1}function ao(){return to}function ro(){ro.dn=2,_o(),X("clarity","restart")}var oo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Re=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),zr(window,"error",Ea),Ta={},xa={}},stop:function(){xa={}}});var lo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?zr(window,"load",(()=>{Rn()})):Rn(),Ua(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let uo=null;function so(){uo=null}function co(e){uo={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(uo.fetchStart),t.push(uo.connectStart),t.push(uo.connectEnd),t.push(uo.requestStart),t.push(uo.responseStart),t.push(uo.responseEnd),t.push(uo.domInteractive),t.push(uo.domComplete),t.push(uo.loadEventStart),t.push(uo.loadEventEnd),t.push(uo.redirectCount),t.push(uo.size),t.push(uo.type),t.push(uo.protocol),t.push(uo.encodedSize),t.push(uo.decodedSize),so(),ya(t))}(29)}let po=0,fo=1/0,ho=0,mo=0;const go=[],yo=new Map,vo=()=>po||0,bo=()=>{if(!go.length)return-1;const e=Math.min(go.length-1,Math.floor((vo()-mo)/50));return go[e].latency},wo=()=>{mo=vo(),go.length=0,yo.clear()},ko=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?po=performance.interactionCount:e.interactionId&&(fo=Math.min(fo,e.interactionId),ho=Math.max(ho,e.interactionId),po=ho?(ho-fo)/7+1:0)})(e);const t=go[go.length-1],n=yo.get(e.interactionId);if(n||go.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};yo.set(t.id,t),go.push(t)}go.sort(((e,t)=>t.latency-e.latency)),go.length>10&&go.splice(10).forEach((e=>yo.delete(e.id)))}};let So;const Oo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function To(){To.dn=26;try{So&&So.disconnect(),So=new PerformanceObserver(Lr(Eo));for(let e of Oo)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),So.observe({type:e,buffered:!0}))}catch(e){_a(3,1)}}function Eo(e){Eo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":co(i);break;case"resource":let e=i.name;sr(4,Mo(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(i),sr(37,bo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function Mo(e){let t=document.createElement("a");return t.href=e,t.host}var No=Object.freeze({__proto__:null,start:function e(){e.dn=25,so(),function(){navigator&&"connection"in navigator&&sr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zr(window,"load",H.bind(this,To,0)):To():_a(3,0)}()},stop:function(){So&&So.disconnect(),So=null,wo(),so()}});const xo=[oo,lo,Lt,No];function _o(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===to&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||to)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),no(),_e(),xo.forEach((e=>Lr(e.start)())),null===e&&Po())}function Io(){ao()&&(xo.slice().reverse().forEach((e=>Lr(e.stop)())),Ie(),io(),void 0!==Do&&(Do[Ro]=function(){(Do[Ro].q=Do[Ro].q||[]).push(arguments),"start"===arguments[0]&&Do[Ro].q.unshift(Do[Ro].q.pop())&&Po()}))}var Co=Object.freeze({__proto__:null,consent:kr,event:X,hashText:Ci,identify:re,metadata:br,pause:function(){ao()&&(X("clarity","pause"),null===Pa&&(Pa=new Promise((e=>{Aa=e}))))},resume:function(){ao()&&(Pa&&(Aa(),Pa=null,null===Ra&&ja()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:_o,stop:Io,upgrade:Ka,version:d});const Do=window,Ro="clarity";function Po(){if(void 0!==Do){if(Do[Ro]&&Do[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Do[Ro]&&Do[Ro].q||[];for(Do[Ro]=function(e,...t){return Co[e](...t)},Do[Ro].v=d;e.length>0;)Do[Ro](...e.shift())}}Po()}();
|
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return $e},get start(){return je},get stop(){return Ae},get track(){return Ne}}),e=Object.freeze({__proto__:null,get data(){return un},get start(){return sn},get stop(){return dn},get upgrade(){return cn}}),n=Object.freeze({__proto__:null,get check(){return hn},get compute(){return mn},get data(){return ln},get start(){return fn},get stop(){return vn},get trigger(){return gn}}),i=Object.freeze({__proto__:null,get compute(){return On},get data(){return wn},get log(){return _n},get reset(){return xn},get start(){return kn},get stop(){return Tn},get updates(){return yn}}),o=Object.freeze({__proto__:null,get callback(){return Cn},get callbacks(){return Nn},get clear(){return An},get consent(){return $n},get data(){return Mn},get electron(){return Sn},get id(){return jn},get metadata(){return Yn},get save(){return Dn},get shortid(){return zn},get start(){return In},get stop(){return Pn}}),r=Object.freeze({__proto__:null,get data(){return Jn},get envelope(){return Gn},get start(){return Bn},get stop(){return Zn}});let a={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function l(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}let u=0;function s(t=null){let 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-u),0)}let c="0.8.8-beta";function d(t,e=null){let n=0,i=5381,o=i;for(let e=0;e<t.length;e+=2){if(i=(i<<5)+i^t.charCodeAt(e),e+1<t.length){o=(o<<5)+o^t.charCodeAt(e+1)}}return n=Math.abs(i+11579*o),(e?n%Math.pow(2,e):n).toString(36)}const p=/\S/gi,f=255;let h=!0,g=null,m=null,v=null;function w(t,e,n,i=!1,o){if(t){if("input"==e&&("checkbox"===o||"radio"===o))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){let e=-1,n=0,i=!1,o=!1,r=!1,a=null;O();for(let l=0;l<t.length;l++){let u=t.charCodeAt(l);if(i=i||u>=48&&u<=57,o=o||64===u,r=9===u||10===u||13===u||32===u,0===l||l===t.length-1||r){if(i||o){null===a&&(a=t.split(""));let i=t.substring(e+1,r?l:l+1);i=h&&null!==v?i.match(v)?i:T(i,"▪","▫"):k(i),a.splice(e+1-n,i.length,i),n+=i.length-1}r&&(i=!1,o=!1,e=l)}}return a?a.join(""):t}(t);case"input":case"change":return _(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return i?b(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return _(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":case"data-":return i?b(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function y(t,e=!1,n=!1){let i=t;if(e)i="https://Electron";else{let e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){let[n,o]=t.split("?"),r="*na*";i=n+"?"+o.split("&").map((t=>e.some((e=>0===t.indexOf(`${e}=`)))?`${t.split("=")[0]}=${r}`:t)).join("&")}}return n&&(i=i.substring(0,f)),i}function b(t){let e=t.trim();if(e.length>0){let n=e[0],i=t.indexOf(n),o=t.substr(0,i),r=t.substr(i+e.length);return`${o}${e.length.toString(36)}${r}`}return t}function k(t){return t.replace(p,"•")}function T(t,e,n){return O(),t?t.replace(m,e).replace(g,n):t}function _(t){let e=5*(Math.floor(t.length/5)+1),n="";for(let t=0;t<e;t++)n+=t>0&&t%5==0?" ":"•";return n}function O(){if(h&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}let x=null,E=null,M=!1;function N(){M&&(x={time:s(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function S(t,e,n,i){switch(t){case 8:E.docWidth=e,E.docHeight=n;break;case 11:E.screenWidth=e,E.screenHeight=n;break;case 10:E.scrollX=e,E.scrollY=n,E.scrollTime=i;break;case 12:E.moveX=e,E.moveY=n,E.moveTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=i;break;case 13:E.downX=e,E.downY=n,E.downTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=i;break;case 14:E.upX=e,E.upY=n,E.upTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=i;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=i}M=!0}function X(t){E.activityTime=t}function I(t,e){E.visible="visible"===e?1:0,E.visible||X(t),M=!0}function P(){M&&pn(4)}var Y=Object.freeze({__proto__:null,activity:X,compute:P,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:S,visibility:I});let j=null;function $(t,e){gi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},pn(24))}let A,C=null,D=null;function H(t){t in C||(C[t]=0),t in D||(D[t]=0),C[t]++,D[t]++}function W(t,e){null!==e&&(t in C||(C[t]=0),t in D||(D[t]=0),C[t]+=e,D[t]+=e)}function z(t,e){null!==e&&!1===isNaN(e)&&(t in C||(C[t]=0),(e>C[t]||0===C[t])&&(D[t]=e,C[t]=e))}function q(t,e,n){return window.setTimeout(ti(t),e,n)}function R(t){return window.clearTimeout(t)}let L=0,U=0,F=null;function V(){F&&R(F),F=q(J,U),L=s()}function J(){let t=s();A={gap:t-L},pn(25),A.gap<3e5?F=q(J,U):pi&&($("clarity","suspend"),bi(),["mousemove","touchstart"].forEach((t=>ni(document,t,mi))),["resize","scroll","pageshow"].forEach((t=>ni(window,t,mi))))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){U=6e4,L=0},stop:function(){R(F),L=0,U=0}});let Z=null;function G(){pn(36)}function K(){Z={}}var Q=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:K,start:function(){Z={}},stop:function(){Z={}},track:function(t,e){if(t in Z){let n=Z[t],i=n[n.length-1];e-i[0]>100?Z[t].push([e,0]):i[1]=e-i[0]}else Z[t]=[[e,0]]}});const tt="CompressionStream"in window;let et=null;function nt(t,e){ot(t,"string"==typeof e?[e]:e)}async function it(t,e=null,n=null,i=null){let o={userId:await lt(t),userHint:i||(r=t,r&&r.length>=5?`${r.substring(0,2)}${T(r.substring(2),"*","*")}`:T(r,"*","*"))};var r;return ot("userId",[o.userId]),ot("userHint",[o.userHint]),ot("userType",[ut(t)]),e&&(ot("sessionId",[e]),o.sessionId=e),n&&(ot("pageId",[n]),o.pageId=n),o}function ot(t,e){if(gi()&&t&&e&&"string"==typeof t&&t.length<255){let n=t in et?et[t]:[];for(let t=0;t<e.length;t++)"string"==typeof e[t]&&e[t].length<255&&n.push(e[t]);et[t]=n}}function rt(){pn(34)}function at(){et={}}async function lt(t){try{if(crypto&&t){const e=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t));return Array.prototype.map.call(new Uint8Array(e),(t=>("00"+t.toString(16)).slice(-2))).join("")}return""}catch(t){return""}}function ut(t){return t&&t.indexOf("@")>0?"email":"string"}var st=Object.freeze({__proto__:null,compute:rt,get data(){return et},identify:it,reset:at,set:nt,start:function(){at()},stop:function(){at()}});let ct,dt={};function pt(t){pt.dn=4;let e=t.error||t;return e.message in dt||(dt[e.message]=0),dt[e.message]++>=5||e&&e.message&&(ct={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},ft(31)),!0}async function ft(t){let e=[s(),t];switch(t){case 31:e.push(ct.message),e.push(ct.line),e.push(ct.column),e.push(ct.stack),e.push(y(ct.source)),$e(e);break;case 33:ht&&(e.push(ht.code),e.push(ht.name),e.push(ht.message),e.push(ht.stack),e.push(ht.severity),$e(e,!1))}}let ht,gt={};function mt(t,e,n=null,i=null,o=null){let r=n?`${n}|${i}`:"";t in gt&>[t].indexOf(r)>=0||(ht={code:t,name:n,message:i,stack:o,severity:e},t in gt?gt[t].push(r):gt[t]=[r],ft(33))}let vt={},wt=new Set,yt={},bt={},kt={},Tt={};function _t(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),i=parseInt(n[0]),o=n.length>1?n[1]:"",r=e.length>1?JSON.parse(e[1]):{};for(var a in yt[i]={},bt[i]={},kt[i]={},Tt[i]=o,r){let t=parseInt(a),e=r[a],n=2;switch(e.startsWith("~")?n=0:e.startsWith("!")&&(n=4),n){case 0:let n=e.slice(1);yt[i][t]=Nt(n);break;case 2:bt[i][t]=e;break;case 4:let o=e.slice(1);kt[i][t]=o}}}catch(t){mt(8,1,t?t.name:null)}}function Ot(t){return JSON.parse(JSON.stringify(t))}function xt(){try{for(let e in yt){let n=parseInt(e);if(""==Tt[n]||document.querySelector(Tt[n])){let e=yt[n];for(let i in e){let o=parseInt(i),r=(t=St(Ot(e[o])))?JSON.stringify(t).slice(0,1e4):t;r&&Mt(n,o,r)}let i=bt[n];for(let t in i){let e=!1,o=parseInt(t),r=i[o];r.startsWith("@")&&(e=!0,r=r.slice(1));let a=document.querySelectorAll(r);if(a){let t=Array.from(a).map((t=>t.textContent)).join("<SEP>");Mt(n,o,(e?d(t).trim():t).slice(0,1e4))}}let o=kt[n];for(let t in o){let e=parseInt(t);Mt(n,e,(void o[e]).trim().slice(0,1e4))}}}wt.size>0&&pn(40)}catch(t){mt(5,1,t?t.name:null)}var t}function Et(){wt.clear()}function Mt(t,e,n){var i,o=!1;t in vt||(vt[t]={},o=!0),i=kt[t],0==Object.keys(i).length||e in vt[t]&&vt[t][e]==n||(o=!0),vt[t][e]=n,o&&wt.add(t)}function Nt(t){let e=[],n=t.split(".");for(;n.length>0;){let t=n.shift(),i=t.indexOf("["),o=t.indexOf("{"),r=t.indexOf("}");e.push({name:i>0?t.slice(0,i):o>0?t.slice(0,o):t,type:i>0?1:o>0?2:3,condition:o>0?t.slice(o+1,r):null})}return e}function St(t,e=window){if(0==t.length)return e;let n,i=t.shift();if(e&&e[i.name]){let r=e[i.name];if(1!==i.type&&Xt(r,i.condition))n=St(t,r);else if(Array.isArray(r)){let e=[];for(var o of r)if(Xt(o,i.condition)){let n=St(t,o);n&&e.push(n)}n=e}return n}return null}function Xt(t,e){if(e){let n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}let It=null;function Pt(t){try{if(!It)return;const e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((t=>{It(t)}))}catch(t){}}const Yt=[Y,i,st,n,Q,o,r,t,B,e,Object.freeze({__proto__:null,clone:Ot,compute:xt,data:vt,keys:wt,reset:Et,start:function(){Et()},stop:function(){Et()},trigger:_t,update:Mt})];function jt(){C={},D={},H(5),Yt.forEach((t=>ti(t.start)()))}function $t(){Yt.slice().reverse().forEach((t=>ti(t.stop)())),C={},D={}}function At(){rt(),P(),On(),pn(0),G(),mn(),xt()}let Ct=[];var Dt=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:null,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ct,stop:function(){}});let Ht=[],Wt=null,zt=null,qt=null;function Rt(){Ht=[],Wt=null,zt=null}async function Lt(t,e=0){for(let e of Ht)if(e.task===t)return;let n=new Promise((n=>{Ht[1===e?"unshift":"push"]({task:t,resolve:n,id:jn()})}));return null===Wt&&null===zt&&Ut(),n}function Ut(){let t=Ht.shift();t&&(Wt=t,t.task().then((()=>{t.id===jn()&&(t.resolve(),Wt=null,Ut())})).catch((e=>{t.id===jn()&&(e&&mt(0,1,e.name,e.message,e.stack),Wt=null,Ut())})))}const Ft=["input","textarea","radio","button","canvas","select"];let Vt,Jt=[];function Bt(t){ni(t,"click",Zt.bind(this,9,t),!0)}function Zt(t,e,n){Zt.dn=6;let i=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,r="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null,a=Qe(n),l=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){let e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(a),u=function(t){let e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){let i=t.getBoundingClientRect();i&&i.width>0&&i.height>0&&(e={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return e}(a);0===n.detail&&u&&(o=Math.round(u.x+u.w/2),r=Math.round(u.y+u.h/2));let c=u?Math.max(Math.floor((o-u.x)/u.w*32767),0):0,d=u?Math.max(Math.floor((r-u.y)/u.h*32767),0):0;if(null!==o&&null!==r){const e=function(t){let e=null,n=!1;if(t){let i=t.textContent||String(t.value||"")||t.alt;if(i){const t=i.replace(/\s+/g," ").trim();e=t.substring(0,25),n=e.length===t.length}}return{text:e,isFullText:n?1:0}}(a);Jt.push({time:s(n),event:t,data:{target:a,x:o,y:r,eX:c,eY:d,button:n.button,reaction:Gt(a),context:Kt(l),text:e.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:e.isFullText}}),Lt(ye.bind(this,t))}}function Gt(t){if(t.nodeType===Node.ELEMENT_NODE){let e=t.tagName.toLowerCase();if(Ft.indexOf(e)>=0)return 0}return 1}function Kt(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 Qt(){Jt=[]}let te=null,ee=!1;function ne(){ne.dn=12;let t=document.documentElement;Vt={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},ee?(R(te),te=q(ie,500,11)):(ye(11),ee=!0)}function ie(t){Lt(ye.bind(this,t))}function oe(){Vt=null,R(te)}let re=[],ae=null;function le(t=null){le.dn=13;let e=window,n=document.documentElement,i=t?Qe(t):n;i&&i.nodeType===Node.DOCUMENT_NODE&&(i=n=i.documentElement);let o=i===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(i.scrollTop);const a=window.innerWidth,l=window.innerHeight,u=a/3,c=a>l?.15*l:.2*l,d=l-c,p=ue(u,c),f=ue(u,d);let h={time:s(t),event:10,data:{target:i,x:o,y:r,top:p,bottom:f}};if(null===t&&0===o&&0===r||null===o||null===r)return;let g=re.length,m=g>1?re[g-2]:null;m&&function(t,e){let n=t.data.x-e.data.x,i=t.data.y-e.data.y;return n*n+i*i<400&&e.time-t.time<25}(m,h)&&re.pop(),re.push(h),R(ae),ae=q(se,500,10)}function ue(t,e){var n,i;let o;return"caretPositionFromPoint"in document?o=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(o=null===(i=document.caretRangeFromPoint(t,e))||void 0===i?void 0:i.startContainer),o||(o=document.elementFromPoint(t,e)),o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode),o}function se(t){Lt(ye.bind(this,t))}let ce,de,pe=[];function fe(t){fe.dn=16,pe.push({time:s(t),event:39,data:{target:Qe(t)}}),Lt(ye.bind(this,39))}function he(){pe=[]}function ge(t){ge.dn=17,ce={name:t.type,persisted:t.persisted?1:0},ye(26,s(t)),bi()}function me(){ce=null}function ve(t=null){ve.dn=18,de={visible:"visibilityState"in document?document.visibilityState:"default"},ye(28,s(t))}function we(){de=null}async function ye(t,e=null){let n=e||s(),i=[n,t];switch(t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let t of Ct){let e=tn(t.data.target,t.event);e.id>0&&(i=[t.time,t.event],i.push(e.id),i.push(t.data.x),i.push(t.data.y),void 0!==t.data.id&&(i.push(t.data.id),void 0!==t.data.isPrimary&&i.push(t.data.isPrimary.toString())),$e(i),S(t.event,t.data.x,t.data.y,t.time))}break;case 9:for(let t of Jt){let e=tn(t.data.target,t.event,t.data.text);i=[t.time,t.event];let n=e.hash?e.hash.join("."):"";i.push(e.id),i.push(t.data.x),i.push(t.data.y),i.push(t.data.eX),i.push(t.data.eY),i.push(t.data.button),i.push(t.data.reaction),i.push(t.data.context),i.push(w(t.data.text,"click",e.privacy)),i.push(y(t.data.link)),i.push(n),i.push(t.data.trust),i.push(t.data.isFullText),$e(i),_e(t.time,t.event,n,t.data.x,t.data.y,t.data.reaction,t.data.context)}Qt();break;case 38:for(let t of Ct){i=[t.time,t.event];let e=tn(t.data.target,t.event);e.id>0&&(i.push(e.id),i.push(t.data.action),$e(i))}break;case 11:let e=Vt;i.push(e.width),i.push(e.height),S(t,e.width,e.height),oe(),$e(i);break;case 26:let o=ce;i.push(o.name),i.push(o.persisted),me(),$e(i);break;case 27:for(let t of Ct){let e=tn(t.data.target,t.event,t.data.value);i=[t.time,t.event],i.push(e.id),i.push(w(t.data.value,"input",e.privacy,!1,t.data.type)),$e(i)}break;case 21:break;case 10:for(let t of re){let e=tn(t.data.target,t.event);const n=tn(t.data.top,t.event),o=tn(t.data.bottom,t.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",a=(null==o?void 0:o.hash)?o.hash.join("."):"";e.id>0&&(i=[t.time,t.event],i.push(e.id),i.push(t.data.x),i.push(t.data.y),i.push(r),i.push(a),$e(i),S(t.event,t.data.x,t.data.y,t.time))}re=[];break;case 42:for(let t of Ct){i=[t.time,t.event];let e=tn(t.data.target,t.event);e.id>0&&(i=[t.time,t.event],i.push(e.id),i.push(t.data.type),i.push(w(t.data.value,"change",e.privacy)),i.push(w(t.data.checksum,"checksum",e.privacy)),$e(i))}break;case 39:for(let t of pe){i=[t.time,t.event];let e=tn(t.data.target,t.event);e.id>0&&(i.push(e.id),$e(i))}he();break;case 22:for(let t of ke)i=[t.time,t.event],i.push(t.data.type),i.push(t.data.hash),i.push(t.data.x),i.push(t.data.y),i.push(t.data.reaction),i.push(t.data.context),$e(i,!1);Te();break;case 28:let r=de;i.push(r.visible),$e(i),I(n,r.visible),we()}}let be=[],ke=[];function Te(){ke=[]}function _e(t,e,n,i,o,r=1,a=0){be.push({time:t,event:22,data:{type:e,hash:n,x:i,y:o,reaction:r,context:a}}),S(e,i,o,t)}let Oe,xe,Ee,Me,Ne,Se,Xe=0,Ie=0,Pe=null,Ye=0;function je(){Me=!0,Xe=0,Ie=0,Ye=0,Oe=[],xe=[],Ee={},Ne=null}function $e(t,e=!0){if(Me){let n=s(),i=t.length>1?t[1]:null,o=JSON.stringify(t);switch(i){case 5:Xe+=o.length;case 37:case 6:case 43:case 45:case 46:Ie+=o.length,Oe.push(o);break;default:xe.push(o)}H(25);let r=function(){let t=!1===a.lean&&Xe>0?100:Jn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();n-Ye>2*r&&(R(Pe),Pe=null),e&&null===Pe&&(25!==i&&V(),Pe=q(Ce,r),Ye=n,hn(Ie))}}function Ae(){R(Pe),Ce(!0),Xe=0,Ie=0,Ye=0,Oe=[],xe=[],Ee={},Ne=null,Me=!1}async function Ce(t=!1){Pe=null;let e=!1===a.lean&&Ie>0&&(Ie<1048576||Jn.sequence>0);e&&z(1,1),function(){const t=[];ke=[];let e=Jn.start+Jn.duration,n=Math.max(e-2e3,0);for(let i of be)i.time>=n&&(i.time<=e&&ke.push(i),t.push(i));be=t,ye(22)}(),At();let n=!0===t,i=function(t){return t.p.length>0?`{"e":${t.e},"a":${t.a},"p":${t.p}}`:`{"e":${t.e},"a":${t.a}}`}({e:JSON.stringify(Gn(n)),a:`[${xe.join()}]`,p:e?`[${Oe.join()}]`:""}),o=n?null:await async function(t){try{if(tt){const e=new ReadableStream({async start(e){e.enqueue(t),e.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(t){const e=t.getReader(),n=[];let i=!1,o=[];for(;!i;){if(({done:i,value:o}=await e.read()),i)return n;n.push(...o)}return n}(e))}}catch(t){}return null}(i);W(2,o?o.length:i.length),De(i,o,Jn.sequence,n),xe=[],e&&(Oe=[],Ie=0,Xe=0)}function De(t,e,n,i=!1){if("string"==typeof a.upload){const o=a.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(o,t),r&&We(n)}catch(t){}if(!1===r){n in Ee?Ee[n].attempts++:Ee[n]={data:t,attempts:1};let i=new XMLHttpRequest;i.open("POST",o,!0),i.timeout=15e3,i.ontimeout=()=>{Qn(new Error(`Timeout : ${o}`))},null!==n&&(i.onreadystatechange=()=>{ti(He)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(a.upload){(0,a.upload)(t),We(n)}}function He(t,e){var n=Ee[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?gn(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),De(n.data,null,e)):(Ne={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&pn(2),200===t.status&&t.responseText&&function(t){let e=t&&t.length>0?t.split("\n"):[];for(var n of e){let t=n&&n.length>0?n.split(/ (.*)/):[""];switch(t[0]){case"END":gn(6);break;case"UPGRADE":cn("Auto");break;case"ACTION":a.action&&t.length>1&&a.action(t[1]);break;case"EXTRACT":t.length>1&&_t(t[1]);break;case"SIGNAL":t.length>1&&Pt(t[1])}}}(t.responseText),0===t.status&&(De(n.data,null,e,!0),gn(3)),t.status>=200&&t.status<=208&&We(e),delete Ee[e]))}function We(t){1===t&&(Dn(),Cn())}async function ze(t){let e=[s(),t];switch(t){case 8:let n=Se;e.push(n.width),e.push(n.height),S(t,n.width,n.height),$e(e);break;case 43:let i=Je;if(i.length>0){for(let t of i){let n=t.metadata.privacy,i=t.data;for(let o of["tag","attributes","value"])if(i[o])switch(o){case"tag":e.push(t.id),t.parent&&e.push(t.parent),t.previous&&e.push(t.previous),e.push(i[o]);break;case"attributes":for(let t in i[o])void 0!==i[o][t]&&e.push(qe(t,i[o][t],n));break;case"value":e.push(w(i[o],i.tag,n))}}$e(function(t){let e=[],n={},i=0,o=null;for(let r=0;r<t.length;r++)if("string"==typeof t[r]){let a=t[r],l=n[a]||-1;l>=0?o?o.push(l):(o=[l],e.push(o),i++):(o=null,e.push(a),n[a]=i++)}else o=null,e.push(t[r]),i++;return e}(e),!0)}}}function qe(t,e,n){return`${t}=${w(e,0===t.indexOf("data-")?"data-":t,n)}`}function Re(){Se=null}function Le(){Re(),Ue()}function Ue(){Ue.dn=19;let t=document.body,e=document.documentElement,n=t?t.clientWidth:null,i=t?t.scrollWidth:null,o=t?t.offsetWidth:null,r=e?e.clientWidth:null,a=e?e.scrollWidth:null,l=e?e.offsetWidth:null,u=Math.max(n,i,o,r,a,l),s=t?t.clientHeight:null,c=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,g=Math.max(s,c,d,p,f,h);null!==Se&&u===Se.width&&g===Se.height||null===u||null===g||(Se={width:u,height:g},ze(8))}function Fe(t){!function(t){ni(t===document?window:t,"scroll",le,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Bt(t),function(t){ni(t,"submit",fe,!0)}(t))}var Ve=Object.freeze({__proto__:null,observe:Fe,start:function t(){t.dn=8,be=[],Te(),Qt(),ee=!1,ni(window,"resize",ne),ne(),ni(document,"visibilitychange",ve),ve(),re=[],le(),he(),ni(window,"pagehide",ge)},stop:function(){be=[],Te(),Qt(),oe(),we(),R(ae),re=[],he(),me()}});let Je=[],Be=1,Ze=null;function Ge(){en(),Le(),on(document.documentElement),Fe(document)}function Ke(){}function Qe(t){let e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function tn(t){let e={id:0,hash:null,privacy:a.conversions?1:5};return t&&(e.id=Ze.has(t)?Ze.get(t):on(t)),e}function en(){Ze=new WeakMap}function nn(t){let e={},n=t.attributes;if(n&&n.length>0)for(let t=0;t<n.length;t++)e[n[t].name]=n[t].value;return e}function on(t){return null===t?null:Ze.has(t)?Ze.get(t):(Ze.set(t,Be),Be++)}function rn(t,e,n){if(t&&n&&n.tag){let i=on(t),o=e?Ze.get(e):null,r=t.previousSibling?Ze.get(t.previousSibling):null,a={active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null};Je.push({id:i,parent:o,previous:r,children:[],data:n,selector:null,hash:null,region:null,metadata:a})}}var an=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Ke,iframe:function(){return!1},metadata:tn,offset:function(){return{x:0,y:0}},snapshot:function(){Je=[],function(t){let e=[t];for(;e.length>0;){let t=null,n=null,i=null,o=e.shift(),r=o.firstChild,a=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;for(;r;)e.push(r),r=r.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:let e=o;n="*D",t={name:e.name,publicId:e.publicId,systemId:e.systemId};break;case Node.TEXT_NODE:i=o.nodeValue,n=Ze.get(a)?"*T":n;break;case Node.ELEMENT_NODE:let r=o;t=nn(r),n=["NOSCRIPT","SCRIPT","STYLE"].indexOf(r.tagName)<0?r.tagName:n}rn(o,a,{tag:n,attributes:t,value:i})}}(document),ze(43)},start:Ge,stop:function(){en(),Re()},target:Qe,get values(){return Je}});let ln,un=null;function sn(){!a.lean&&a.upgrade&&a.upgrade("Config"),un=null}function cn(t){gi()&&a.lean&&(a.lean=!1,un={key:t},Cn(),Dn(),a.upgrade&&a.upgrade(t),pn(3),a.lite&&Ge())}function dn(){un=null}function pn(t){let e=[s(),t];switch(t){case 4:let t=x;t&&(e=[t.time,t.event],e.push(t.data.visible),e.push(t.data.docWidth),e.push(t.data.docHeight),e.push(t.data.screenWidth),e.push(t.data.screenHeight),e.push(t.data.scrollX),e.push(t.data.scrollY),e.push(t.data.pointerX),e.push(t.data.pointerY),e.push(t.data.activityTime),e.push(t.data.scrollTime),e.push(t.data.pointerTime),e.push(t.data.moveX),e.push(t.data.moveY),e.push(t.data.moveTime),e.push(t.data.downX),e.push(t.data.downY),e.push(t.data.downTime),e.push(t.data.upX),e.push(t.data.upY),e.push(t.data.upTime),e.push(t.data.pointerPrevX),e.push(t.data.pointerPrevY),e.push(t.data.pointerPrevTime),$e(e,!1)),N();break;case 25:e.push(A.gap),$e(e);break;case 35:e.push(ln.check),$e(e,!1);break;case 3:e.push(un.key),$e(e);break;case 2:e.push(Ne.sequence),e.push(Ne.attempts),e.push(Ne.status),$e(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),$e(e);break;case 34:let n=Object.keys(et);if(n.length>0){for(let t of n)e.push(t),e.push(et[t]);at(),$e(e,!1)}break;case 0:let i=Object.keys(D);if(i.length>0){for(let t of i){let n=parseInt(t,10);e.push(n),e.push(Math.round(D[t]))}D={},$e(e,!1)}break;case 1:let o=Object.keys(yn);if(o.length>0){for(let t of o){let n=parseInt(t,10);e.push(n),e.push(yn[t])}xn(),$e(e,!1)}break;case 36:let r=Object.keys(Z);if(r.length>0){for(let t of r){let n=parseInt(t,10);e.push(n),e.push([].concat(...Z[t]))}K(),$e(e,!1)}break;case 40:wt.forEach((t=>{e.push(t);let n=[];for(let e in vt[t]){let i=parseInt(e,10);n.push(i),n.push(vt[t][e])}e.push(n)})),Et(),$e(e,!1)}}function fn(){ln={check:0}}function hn(t){if(0===ln.check){let e=ln.check;e=Jn.sequence>=128?1:e,e=Jn.pageNum>=128?7:e,e=s()>72e5?2:e,e=t>10485760?2:e,e!==ln.check&&gn(e)}}function gn(t){ln.check=t,5!==t&&(An(),bi())}function mn(){0!==ln.check&&pn(35)}function vn(){ln=null}let wn=null,yn=null,bn=!1;function kn(){wn={},yn={},bn=!1}function Tn(){wn={},yn={},bn=!1}function _n(t,e){if(e&&(e=`${e}`,t in wn||(wn[t]=[]),wn[t].indexOf(e)<0)){if(wn[t].length>128)return void(bn||(bn=!0,gn(5)));wn[t].push(e),t in yn||(yn[t]=[]),yn[t].push(e)}}function On(){pn(1)}function xn(){yn={},bn=!1}function En(t){_n(36,t.toString())}let Mn=null,Nn=[],Sn=0,Xn=null;function In(){var t,e,n;Xn=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",o=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:"",r=(new Date).getTimezoneOffset().toString(),l=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";Sn=i.indexOf("Electron")>0?1:0;let s=function(){let t={session:zn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Ln("_clsk",!a.includeSubdomains);if(e){let n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-qn(n[1])<18e5&&(t.session=n[0],t.count=qn(n[2])+1,t.upgrade=qn(n[3]),t.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return t}(),c=Rn(),p=a.projectId||d(location.host);Mn={projectId:p,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,_n(0,i),_n(3,u),_n(1,y(location.href,!!Sn)),_n(2,document.referrer),_n(15,function(){let t=zn();if(a.track&&Hn(window,"sessionStorage")){let e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),_n(16,document.documentElement.lang),_n(17,document.dir),_n(26,`${window.devicePixelRatio}`),_n(28,c.dob.toString()),_n(29,c.version.toString()),_n(33,l),_n(34,o),_n(35,r),z(0,s.ts),z(1,0),z(35,Sn),navigator&&(_n(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let t=navigator.userAgentData;t&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((t=>{var e;_n(22,t.platform),_n(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((t=>{_n(24,t.name+"~"+t.version)})),_n(25,t.model),z(27,t.mobile?1:0)})):_n(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let t of a.cookies){let e=Ln(t);e&&nt(t,e)}!function(t){En(t?1:0)}(a.track),Wn(c)}function Pn(){Xn=null,Mn=null,Nn.forEach((t=>{t.called=!1}))}function Yn(t,e=!0,n=!1){let i=a.lean?0:1,o=!1;Mn&&(i||!1===e)&&(t(Mn,!a.lean),o=!0),!n&&o||Nn.push({callback:t,wait:e,recall:n,called:o})}function jn(){return Mn?[Mn.userId,Mn.sessionId,Mn.pageNum].join("."):""}function $n(t=!0){if(!t)return a.track=!1,Fn("_clsk","",-Number.MAX_VALUE),Fn("_clck","",-Number.MAX_VALUE),bi(),void window.setTimeout(yi,250);gi()&&(a.track=!0,Wn(Rn(),1),Dn(),En(2))}function An(){Fn("_clsk","",0)}function Cn(){!function(t){if(Nn.length>0)for(let e=0;e<Nn.length;e++){const n=Nn[e];!n.callback||n.called||n.wait&&!t||(n.callback(Mn,!a.lean),n.called=!0,n.recall||(Nn.splice(e,1),e--))}}(a.lean?0:1)}function Dn(){if(!Mn||!a.track)return;let t=Math.round(Date.now()),e=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;Fn("_clsk",[Mn.sessionId,t,Mn.pageNum,n,e].join("^"),1)}function Hn(t,e){try{return!!t[e]}catch(t){return!1}}function Wn(t,e=null){e=null===e?t.consent:e;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===t.dob?null===a.dob?0:a.dob:t.dob;if(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==i){Fn("_clck",[Mn.userId,2,n.toString(36),e,i].join("^"),365)}}function zn(){let 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 qn(t,e=10){return parseInt(t,e)}function Rn(){let t={id:zn(),version:0,expiry:null,consent:0,dob:0},e=Ln("_clck",!a.includeSubdomains);if(e&&e.length>0){let n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=qn(n[1])),n.length>2&&(t.expiry=qn(n[2],36)),n.length>3&&1===qn(n[3])&&(t.consent=1),n.length>4&&qn(n[1])>1&&(t.dob=qn(n[4])),a.track=a.track||1===t.consent,t.id=a.track?n[0]:t.id}return t}function Ln(t,e=!1){if(Hn(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let o=n[i].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){let[t,n]=Un(o[1]);for(;t;)[t,n]=Un(n);return e?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Un(t){try{let e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Fn(t,e,n){if((a.track||""==e)&&(navigator&&navigator.cookieEnabled||Hn(document,"cookie"))){let i=function(t){return encodeURIComponent(t)}(e),o=new Date;o.setDate(o.getDate()+n);let r=`${t}=${i};${o?"expires="+o.toUTCString():""};path=/`;try{if(null===Xn){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(Xn=`.${n[i]}${Xn||""}`,i<n.length-1&&(document.cookie=`${r};domain=${Xn}`,Ln(t)===e))return;Xn=""}}catch(t){Xn=""}document.cookie=Xn?`${r};domain=${Xn}`:r}}let Vn,Jn=null;function Bn(){const t=Mn;Jn={version:c,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Zn(){Jn=null}function Gn(t){return Jn.start=Jn.start+Jn.duration,Jn.duration=s()-Jn.start,Jn.sequence++,Jn.upload=t&&"sendBeacon"in navigator?1:0,Jn.end=t?1:0,Jn.applicationPlatform=0,Jn.url=y(location.href,!1,!0),[Jn.version,Jn.sequence,Jn.start,Jn.duration,Jn.projectId,Jn.userId,Jn.sessionId,Jn.pageNum,Jn.upload,Jn.end,Jn.applicationPlatform,Jn.url]}function Kn(){Vn=[]}function Qn(t){if(Vn&&-1===Vn.indexOf(t.message)){const e=a.report;if(e&&e.length>0){let n={v:Jn.version,p:Jn.projectId,u:Jn.userId,s:Jn.sessionId,n:Jn.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);let i=new XMLHttpRequest;i.open("POST",e,!0),i.send(JSON.stringify(n)),Vn.push(t.message)}}return t}function ti(t){return function(){let e=performance.now();try{t.apply(this,arguments)}catch(t){throw Qn(t)}let n=performance.now()-e;W(4,n),n>30&&(H(7),z(6,n),mt(9,0,`${t.dn||t.name}-${n}`))}}let ei=new Map;function ni(t,e,n,i=!1,o=!0){n=ti(n);try{t[l("addEventListener")](e,n,{capture:i,passive:o}),function(t){return ei.has(t)}(t)||ei.set(t,[]),ei.get(t).push({event:e,listener:n,options:{capture:i,passive:o}})}catch(t){}}function ii(){ei.forEach(((t,e)=>{!function(t,e){t.forEach((t=>{try{e[l("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),ei.delete(e)}(t,e)})),ei=new Map}let oi=null,ri=null,ai=null,li=0;function ui(){return!(li++>20)||(mt(4,0),!1)}function si(){si.dn=1,li=0,ai!==di()&&(bi(),window.setTimeout(ci,250))}function ci(){yi(),z(29,1)}function di(){return location.href?location.href.replace(location.hash,""):location.href}let pi=!1;function fi(){pi=!0,u=performance.now()+performance.timeOrigin,Rt(),ii(),Kn(),ai=di(),li=0,ni(window,"popstate",si),null===oi&&(oi=history.pushState,history.pushState=function(){oi.apply(this,arguments),gi()&&ui()&&si()}),null===ri&&(ri=history.replaceState,history.replaceState=function(){ri.apply(this,arguments),gi()&&ui()&&si()})}function hi(){ai=null,li=0,Kn(),ii(),Rt(),u=0,pi=!1}function gi(){return pi}function mi(){mi.dn=2,yi(),$("clarity","restart")}var vi=Object.freeze({__proto__:null,start:function t(){t.dn=3,function(){z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(t){z(31,0)}}(),ni(window,"error",pt),dt={},gt={}},stop:function(){gt={}}});const wi=[vi,an,Ve,Dt];function yi(t=null){(function(){try{let t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===pi&&"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||pi)return!1;for(let e in t)e in a&&(a[e]=t[e])}(t),fi(),jt(),wi.forEach((t=>ti(t.start)())),null===t&&Oi())}function bi(){gi()&&(wi.slice().reverse().forEach((t=>ti(t.stop)())),$t(),hi(),void 0!==Ti&&(Ti[_i]=function(){(Ti[_i].q=Ti[_i].q||[]).push(arguments),"start"===arguments[0]&&Ti[_i].q.unshift(Ti[_i].q.pop())&&Oi()}))}var ki=Object.freeze({__proto__:null,consent:$n,event:$,hashText:Ke,identify:it,metadata:Yn,pause:function(){gi()&&($("clarity","pause"),null===zt&&(zt=new Promise((t=>{qt=t}))))},resume:function(){gi()&&(zt&&(qt(),zt=null,null===Wt&&Ut()),$("clarity","resume"))},set:nt,signal:function(t){It=t},start:yi,stop:bi,upgrade:cn,version:c});const Ti=window,_i="clarity";function Oi(){if(void 0!==Ti){if(Ti[_i]&&Ti[_i].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let t=Ti[_i]&&Ti[_i].q||[];for(Ti[_i]=function(t,...e){return ki[t](...e)},Ti[_i].v=c;t.length>0;)Ti[_i](...t.shift())}}Oi()}();
|
|
1
|
+
!function(){"use strict";var e=Object.freeze({__proto__:null,get queue(){return $t},get start(){return jt},get stop(){return At},get track(){return Nt}}),t=Object.freeze({__proto__:null,get data(){return un},get start(){return sn},get stop(){return dn},get upgrade(){return cn}}),n=Object.freeze({__proto__:null,get check(){return hn},get compute(){return mn},get data(){return ln},get start(){return fn},get stop(){return vn},get trigger(){return gn}}),i=Object.freeze({__proto__:null,get compute(){return On},get data(){return wn},get log(){return _n},get reset(){return xn},get start(){return kn},get stop(){return Tn},get updates(){return yn}}),o=Object.freeze({__proto__:null,get callback(){return Cn},get callbacks(){return Nn},get clear(){return An},get consent(){return $n},get data(){return Mn},get electron(){return Sn},get id(){return jn},get metadata(){return Yn},get save(){return Dn},get shortid(){return zn},get start(){return In},get stop(){return Pn}}),r=Object.freeze({__proto__:null,get data(){return Jn},get envelope(){return Gn},get start(){return Bn},get stop(){return Zn}});let a={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function l(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let u=0;function s(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-u),0)}let c="0.8.9-beta";function d(e,t=null){let n=0,i=5381,o=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){o=(o<<5)+o^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*o),(t?n%Math.pow(2,t):n).toString(36)}const p=/\S/gi,f=255;let h=!0,g=null,m=null,v=null;function w(e,t,n,i=!1,o){if(e){if("input"==t&&("checkbox"===o||"radio"===o))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,o=!1,r=!1,a=null;O();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,o=o||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||o){null===a&&(a=e.split(""));let i=e.substring(t+1,r?l:l+1);i=h&&null!==v?i.match(v)?i:T(i,"▪","▫"):k(i),a.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,o=!1,t=l)}}return a?a.join(""):e}(e);case"input":case"change":return _(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?b(e):k(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return _(e);case"placeholder":return k(e)}break;case 4:switch(t){case"*T":case"data-":return i?b(e):k(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return T(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function y(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=a.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,o]=e.split("?"),r="*na*";i=n+"?"+o.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,f)),i}function b(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),o=e.substr(0,i),r=e.substr(i+t.length);return`${o}${t.length.toString(36)}${r}`}return e}function k(e){return e.replace(p,"•")}function T(e,t,n){return O(),e?e.replace(m,t).replace(g,n):e}function _(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function O(){if(h&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){h=!1}}let x=null,E=null,M=!1;function N(){M&&(x={time:s(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function S(e,t,n,i){switch(e){case 8:E.docWidth=t,E.docHeight=n;break;case 11:E.screenWidth=t,E.screenHeight=n;break;case 10:E.scrollX=t,E.scrollY=n,E.scrollTime=i;break;case 12:E.moveX=t,E.moveY=n,E.moveTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 13:E.downX=t,E.downY=n,E.downTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;case 14:E.upX=t,E.upY=n,E.upTime=i,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=t,E.pointerY=n,E.pointerTime=i}M=!0}function X(e){E.activityTime=e}function I(e,t){E.visible="visible"===t?1:0,E.visible||X(e),M=!0}function P(){M&&pn(4)}var Y=Object.freeze({__proto__:null,activity:X,compute:P,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:S,visibility:I});let j=null;function $(e,t){gi()&&e&&"string"==typeof e&&e.length<255&&(j=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},pn(24))}let A,C=null,D=null;function H(e){e in C||(C[e]=0),e in D||(D[e]=0),C[e]++,D[e]++}function W(e,t){null!==t&&(e in C||(C[e]=0),e in D||(D[e]=0),C[e]+=t,D[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in C||(C[e]=0),(t>C[e]||0===C[e])&&(D[e]=t,C[e]=t))}function q(e,t,n){return window.setTimeout(ei(e),t,n)}function R(e){return window.clearTimeout(e)}let L=0,U=0,F=null;function V(){F&&R(F),F=q(J,U),L=s()}function J(){let e=s();A={gap:e-L},pn(25),A.gap<3e5?F=q(J,U):pi&&($("clarity","suspend"),bi(),["mousemove","touchstart"].forEach((e=>ni(document,e,mi))),["resize","scroll","pageshow"].forEach((e=>ni(window,e,mi))))}var B=Object.freeze({__proto__:null,get data(){return A},reset:V,start:function(){U=6e4,L=0},stop:function(){R(F),L=0,U=0}});let Z=null;function G(){pn(36)}function K(){Z={}}var Q=Object.freeze({__proto__:null,compute:G,get data(){return Z},reset:K,start:function(){Z={}},stop:function(){Z={}},track:function(e,t){if(e in Z){let n=Z[e],i=n[n.length-1];t-i[0]>100?Z[e].push([t,0]):i[1]=t-i[0]}else Z[e]=[[t,0]]}});const ee="CompressionStream"in window;let te=null;function ne(e,t){oe(e,"string"==typeof t?[t]:t)}async function ie(e,t=null,n=null,i=null){let o={userId:await le(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${T(r.substring(2),"*","*")}`:T(r,"*","*"))};var r;return oe("userId",[o.userId]),oe("userHint",[o.userHint]),oe("userType",[ue(e)]),t&&(oe("sessionId",[t]),o.sessionId=t),n&&(oe("pageId",[n]),o.pageId=n),o}function oe(e,t){if(gi()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in te?te[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);te[e]=n}}function re(){pn(34)}function ae(){te={}}async function le(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ue(e){return e&&e.indexOf("@")>0?"email":"string"}var se=Object.freeze({__proto__:null,compute:re,get data(){return te},identify:ie,reset:ae,set:ne,start:function(){ae()},stop:function(){ae()}});let ce,de={};function pe(e){pe.dn=4;let t=e.error||e;return t.message in de||(de[t.message]=0),de[t.message]++>=5||t&&t.message&&(ce={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},fe(31)),!0}async function fe(e){let t=[s(),e];switch(e){case 31:t.push(ce.message),t.push(ce.line),t.push(ce.column),t.push(ce.stack),t.push(y(ce.source)),$t(t);break;case 33:he&&(t.push(he.code),t.push(he.name),t.push(he.message),t.push(he.stack),t.push(he.severity),$t(t,!1))}}let he,ge={};function me(e,t,n=null,i=null,o=null){let r=n?`${n}|${i}`:"";e in ge&&ge[e].indexOf(r)>=0||(he={code:e,name:n,message:i,stack:o,severity:t},e in ge?ge[e].push(r):ge[e]=[r],fe(33))}let ve={},we=new Set,ye={},be={},ke={},Te={};function _e(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),o=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var a in ye[i]={},be[i]={},ke[i]={},Te[i]=o,r){let e=parseInt(a),t=r[a],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);ye[i][e]=Ne(n);break;case 2:be[i][e]=t;break;case 4:let o=t.slice(1);ke[i][e]=o}}}catch(e){me(8,1,e?e.name:null)}}function Oe(e){return JSON.parse(JSON.stringify(e))}function xe(){try{for(let t in ye){let n=parseInt(t);if(""==Te[n]||document.querySelector(Te[n])){let t=ye[n];for(let i in t){let o=parseInt(i),r=(e=Se(Oe(t[o])))?JSON.stringify(e).slice(0,1e4):e;r&&Me(n,o,r)}let i=be[n];for(let e in i){let t=!1,o=parseInt(e),r=i[o];r.startsWith("@")&&(t=!0,r=r.slice(1));let a=document.querySelectorAll(r);if(a){let e=Array.from(a).map((e=>e.textContent)).join("<SEP>");Me(n,o,(t?d(e).trim():e).slice(0,1e4))}}let o=ke[n];for(let e in o){let t=parseInt(e);Me(n,t,(void o[t]).trim().slice(0,1e4))}}}we.size>0&&pn(40)}catch(e){me(5,1,e?e.name:null)}var e}function Ee(){we.clear()}function Me(e,t,n){var i,o=!1;e in ve||(ve[e]={},o=!0),i=ke[e],0==Object.keys(i).length||t in ve[e]&&ve[e][t]==n||(o=!0),ve[e][t]=n,o&&we.add(e)}function Ne(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),o=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):o>0?e.slice(0,o):e,type:i>0?1:o>0?2:3,condition:o>0?e.slice(o+1,r):null})}return t}function Se(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Xe(r,i.condition))n=Se(e,r);else if(Array.isArray(r)){let t=[];for(var o of r)if(Xe(o,i.condition)){let n=Se(e,o);n&&t.push(n)}n=t}return n}return null}function Xe(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Ie=null;function Pe(e){try{if(!Ie)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Ie(e)}))}catch(e){}}const Ye=[Y,i,se,n,Q,o,r,e,B,t,Object.freeze({__proto__:null,clone:Oe,compute:xe,data:ve,keys:we,reset:Ee,start:function(){Ee()},stop:function(){Ee()},trigger:_e,update:Me})];function je(){C={},D={},H(5),Ye.forEach((e=>ei(e.start)()))}function $e(){Ye.slice().reverse().forEach((e=>ei(e.stop)())),C={},D={}}function Ae(){re(),P(),On(),pn(0),G(),mn(),xe()}let Ce=[];var De=Object.freeze({__proto__:null,checkDocumentStyles:function(e){},compute:function(){},data:null,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Ce,stop:function(){}});let He=[],We=null,ze=null,qe=null;function Re(){He=[],We=null,ze=null}async function Le(e,t=0){for(let t of He)if(t.task===e)return;let n=new Promise((n=>{He[1===t?"unshift":"push"]({task:e,resolve:n,id:jn()})}));return null===We&&null===ze&&Ue(),n}function Ue(){let e=He.shift();e&&(We=e,e.task().then((()=>{e.id===jn()&&(e.resolve(),We=null,Ue())})).catch((t=>{e.id===jn()&&(t&&me(0,1,t.name,t.message,t.stack),We=null,Ue())})))}const Fe=["input","textarea","radio","button","canvas","select"];let Ve,Je=[];function Be(e){ni(e,"click",Ze.bind(this,9,e),!0)}function Ze(e,t,n){Ze.dn=6;let i=document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+i.scrollLeft):null,r="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+i.scrollTop):null,a=Qt(n),l=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(a),u=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(a);0===n.detail&&u&&(o=Math.round(u.x+u.w/2),r=Math.round(u.y+u.h/2));let c=u?Math.max(Math.floor((o-u.x)/u.w*32767),0):0,d=u?Math.max(Math.floor((r-u.y)/u.h*32767),0):0;if(null!==o&&null!==r){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(a);Je.push({time:s(n),event:e,data:{target:a,x:o,y:r,eX:c,eY:d,button:n.button,reaction:Ge(a),context:Ke(l),text:t.text,link:l?l.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Le(yt.bind(this,e))}}function Ge(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if(Fe.indexOf(t)>=0)return 0}return 1}function Ke(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Qe(){Je=[]}let et=null,tt=!1;function nt(){nt.dn=12;let e=document.documentElement;Ve={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},tt?(R(et),et=q(it,500,11)):(yt(11),tt=!0)}function it(e){Le(yt.bind(this,e))}function ot(){Ve=null,R(et)}let rt=[],at=null;function lt(e=null){lt.dn=13;let t=window,n=document.documentElement,i=e?Qt(e):n;i&&i.nodeType===Node.DOCUMENT_NODE&&(i=n=i.documentElement);let o=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const a=window.innerWidth,l=window.innerHeight,u=a/3,c=a>l?.15*l:.2*l,d=l-c,p=ut(u,c),f=ut(u,d);let h={time:s(e),event:10,data:{target:i,x:o,y:r,top:p,bottom:f}};if(null===e&&0===o&&0===r||null===o||null===r)return;let g=rt.length,m=g>1?rt[g-2]:null;m&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(m,h)&&rt.pop(),rt.push(h),R(at),at=q(st,500,10)}function ut(e,t){var n,i;let o;return"caretPositionFromPoint"in document?o=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(o=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),o||(o=document.elementFromPoint(e,t)),o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode),o}function st(e){Le(yt.bind(this,e))}let ct,dt,pt=[];function ft(e){ft.dn=16,pt.push({time:s(e),event:39,data:{target:Qt(e)}}),Le(yt.bind(this,39))}function ht(){pt=[]}function gt(e){gt.dn=17,ct={name:e.type,persisted:e.persisted?1:0},yt(26,s(e)),bi()}function mt(){ct=null}function vt(e=null){vt.dn=18,dt={visible:"visibilityState"in document?document.visibilityState:"default"},yt(28,s(e))}function wt(){dt=null}async function yt(e,t=null){let n=t||s(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of Ce){let t=en(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),$t(i),S(e.event,e.data.x,e.data.y,e.time))}break;case 9:for(let e of Je){let t=en(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(w(e.data.text,"click",t.privacy)),i.push(y(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),$t(i),_t(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Qe();break;case 38:for(let e of Ce){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),$t(i))}break;case 11:let t=Ve;i.push(t.width),i.push(t.height),S(e,t.width,t.height),ot(),$t(i);break;case 26:let o=ct;i.push(o.name),i.push(o.persisted),mt(),$t(i);break;case 27:for(let e of Ce){let t=en(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(w(e.data.value,"input",t.privacy,!1,e.data.type)),$t(i)}break;case 21:break;case 10:for(let e of rt){let t=en(e.data.target,e.event);const n=en(e.data.top,e.event),o=en(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",a=(null==o?void 0:o.hash)?o.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(a),$t(i),S(e.event,e.data.x,e.data.y,e.time))}rt=[];break;case 42:for(let e of Ce){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(w(e.data.value,"change",t.privacy)),i.push(w(e.data.checksum,"checksum",t.privacy)),$t(i))}break;case 39:for(let e of pt){i=[e.time,e.event];let t=en(e.data.target,e.event);t.id>0&&(i.push(t.id),$t(i))}ht();break;case 22:for(let e of kt)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),$t(i,!1);Tt();break;case 28:let r=dt;i.push(r.visible),$t(i),I(n,r.visible),wt()}}let bt=[],kt=[];function Tt(){kt=[]}function _t(e,t,n,i,o,r=1,a=0){bt.push({time:e,event:22,data:{type:t,hash:n,x:i,y:o,reaction:r,context:a}}),S(t,i,o,e)}let Ot,xt,Et,Mt,Nt,St,Xt=0,It=0,Pt=null,Yt=0;function jt(){Mt=!0,Xt=0,It=0,Yt=0,Ot=[],xt=[],Et={},Nt=null}function $t(e,t=!0){if(Mt){let n=s(),i=e.length>1?e[1]:null,o=JSON.stringify(e);switch(i){case 5:Xt+=o.length;case 37:case 6:case 43:case 45:case 46:It+=o.length,Ot.push(o);break;default:xt.push(o)}H(25);let r=function(){let e=!1===a.lean&&Xt>0?100:Jn.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(e,3e4),100):a.delay}();n-Yt>2*r&&(R(Pt),Pt=null),t&&null===Pt&&(25!==i&&V(),Pt=q(Ct,r),Yt=n,hn(It))}}function At(){R(Pt),Ct(!0),Xt=0,It=0,Yt=0,Ot=[],xt=[],Et={},Nt=null,Mt=!1}async function Ct(e=!1){Pt=null;let t=!1===a.lean&&It>0&&(It<1048576||Jn.sequence>0);t&&z(1,1),function(){const e=[];kt=[];let t=Jn.start+Jn.duration,n=Math.max(t-2e3,0);for(let i of bt)i.time>=n&&(i.time<=t&&kt.push(i),e.push(i));bt=e,yt(22)}(),Ae();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Gn(n)),a:`[${xt.join()}]`,p:t?`[${Ot.join()}]`:""}),o=n?null:await async function(e){try{if(ee){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,o=[];for(;!i;){if(({done:i,value:o}=await t.read()),i)return n;n.push(...o)}return n}(t))}}catch(e){}return null}(i);W(2,o?o.length:i.length),Dt(i,o,Jn.sequence,n),xt=[],t&&(Ot=[],It=0,Xt=0)}function Dt(e,t,n,i=!1){if("string"==typeof a.upload){const o=a.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(o,e),r&&Wt(n)}catch(e){}if(!1===r){n in Et?Et[n].attempts++:Et[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",o,!0),i.timeout=15e3,i.ontimeout=()=>{Qn(new Error(`Timeout : ${o}`))},null!==n&&(i.onreadystatechange=()=>{ei(Ht)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(a.upload){(0,a.upload)(e),Wt(n)}}function Ht(e,t){var n=Et[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?gn(6):(0===e.status&&(a.upload=a.fallback?a.fallback:a.upload),Dt(n.data,null,t)):(Nt={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&pn(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":gn(6);break;case"UPGRADE":cn("Auto");break;case"ACTION":a.action&&e.length>1&&a.action(e[1]);break;case"EXTRACT":e.length>1&&_e(e[1]);break;case"SIGNAL":e.length>1&&Pe(e[1])}}}(e.responseText),0===e.status&&(Dt(n.data,null,t,!0),gn(3)),e.status>=200&&e.status<=208&&Wt(t),delete Et[t]))}function Wt(e){1===e&&(Dn(),Cn())}async function zt(e){let t=[s(),e];switch(e){case 8:let n=St;t.push(n.width),t.push(n.height),S(e,n.width,n.height),$t(t);break;case 43:let i=Jt;if(i.length>0){for(let e of i){let n=e.metadata.privacy,i=e.data;for(let o of["tag","attributes","value"])if(i[o])switch(o){case"tag":t.push(e.id),e.parent&&t.push(e.parent),e.previous&&t.push(e.previous),t.push(i[o]);break;case"attributes":for(let e in i[o])void 0!==i[o][e]&&t.push(qt(e,i[o][e],n));break;case"value":t.push(w(i[o],i.tag,n))}}$t(function(e){let t=[],n={},i=0,o=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let a=e[r],l=n[a]||-1;l>=0?o?o.push(l):(o=[l],t.push(o),i++):(o=null,t.push(a),n[a]=i++)}else o=null,t.push(e[r]),i++;return t}(t),!0)}}}function qt(e,t,n){return`${e}=${w(t,0===e.indexOf("data-")?"data-":e,n)}`}function Rt(){St=null}function Lt(){Rt(),Ut()}function Ut(){Ut.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,o=e?e.offsetWidth:null,r=t?t.clientWidth:null,a=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,o,r,a,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,g=Math.max(s,c,d,p,f,h);null!==St&&u===St.width&&g===St.height||null===u||null===g||(St={width:u,height:g},zt(8))}function Ft(e){!function(e){ni(e===document?window:e,"scroll",lt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(Be(e),function(e){ni(e,"submit",ft,!0)}(e))}var Vt=Object.freeze({__proto__:null,observe:Ft,start:function e(){e.dn=8,bt=[],Tt(),Qe(),tt=!1,ni(window,"resize",nt),nt(),ni(document,"visibilitychange",vt),vt(),rt=[],lt(),ht(),ni(window,"pagehide",gt)},stop:function(){bt=[],Tt(),Qe(),ot(),wt(),R(at),rt=[],ht(),mt()}});let Jt=[],Bt=1,Zt=null;function Gt(){tn(),Lt(),on(document.documentElement),Ft(document)}function Kt(){}function Qt(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function en(e){let t={id:0,hash:null,privacy:a.conversions?1:5};return e&&(t.id=Zt.has(e)?Zt.get(e):on(e)),t}function tn(){Zt=new WeakMap}function nn(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++)t[n[e].name]=n[e].value;return t}function on(e){return null===e?null:Zt.has(e)?Zt.get(e):(Zt.set(e,Bt),Bt++)}function rn(e,t,n){if(e&&n&&n.tag){let i=on(e),o=t?Zt.get(t):null,r=e.previousSibling?Zt.get(e.previousSibling):null,a={active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null};Jt.push({id:i,parent:o,previous:r,children:[],data:n,selector:null,hash:null,region:null,metadata:a})}}var an=Object.freeze({__proto__:null,compute:function(){},get:function(e){return null},hashText:Kt,iframe:function(){return!1},metadata:en,offset:function(){return{x:0,y:0}},snapshot:function(){Jt=[],function(e){let t=[e];for(;t.length>0;){let e=null,n=null,i=null,o=t.shift(),r=o.firstChild,a=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;for(;r;)t.push(r),r=r.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:let t=o;n="*D",e={name:t.name,publicId:t.publicId,systemId:t.systemId};break;case Node.TEXT_NODE:i=o.nodeValue,n=Zt.get(a)?"*T":n;break;case Node.ELEMENT_NODE:let r=o;e=nn(r),n=["NOSCRIPT","SCRIPT","STYLE"].indexOf(r.tagName)<0?r.tagName:n}rn(o,a,{tag:n,attributes:e,value:i})}}(document),zt(43)},start:Gt,stop:function(){tn(),Rt()},target:Qt,get values(){return Jt}});let ln,un=null;function sn(){!a.lean&&a.upgrade&&a.upgrade("Config"),un=null}function cn(e){gi()&&a.lean&&(a.lean=!1,un={key:e},Cn(),Dn(),a.upgrade&&a.upgrade(e),pn(3),a.lite&&Gt())}function dn(){un=null}function pn(e){let t=[s(),e];switch(e){case 4:let e=x;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),$t(t,!1)),N();break;case 25:t.push(A.gap),$t(t);break;case 35:t.push(ln.check),$t(t,!1);break;case 3:t.push(un.key),$t(t);break;case 2:t.push(Nt.sequence),t.push(Nt.attempts),t.push(Nt.status),$t(t,!1);break;case 24:j.key&&t.push(j.key),t.push(j.value),$t(t);break;case 34:let n=Object.keys(te);if(n.length>0){for(let e of n)t.push(e),t.push(te[e]);ae(),$t(t,!1)}break;case 0:let i=Object.keys(D);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round(D[e]))}D={},$t(t,!1)}break;case 1:let o=Object.keys(yn);if(o.length>0){for(let e of o){let n=parseInt(e,10);t.push(n),t.push(yn[e])}xn(),$t(t,!1)}break;case 36:let r=Object.keys(Z);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...Z[e]))}K(),$t(t,!1)}break;case 40:we.forEach((e=>{t.push(e);let n=[];for(let t in ve[e]){let i=parseInt(t,10);n.push(i),n.push(ve[e][t])}t.push(n)})),Ee(),$t(t,!1)}}function fn(){ln={check:0}}function hn(e){if(0===ln.check){let t=ln.check;t=Jn.sequence>=128?1:t,t=Jn.pageNum>=128?7:t,t=s()>72e5?2:t,t=e>10485760?2:t,t!==ln.check&&gn(t)}}function gn(e){ln.check=e,5!==e&&(An(),bi())}function mn(){0!==ln.check&&pn(35)}function vn(){ln=null}let wn=null,yn=null,bn=!1;function kn(){wn={},yn={},bn=!1}function Tn(){wn={},yn={},bn=!1}function _n(e,t){if(t&&(t=`${t}`,e in wn||(wn[e]=[]),wn[e].indexOf(t)<0)){if(wn[e].length>128)return void(bn||(bn=!0,gn(5)));wn[e].push(t),e in yn||(yn[e]=[]),yn[e].push(t)}}function On(){pn(1)}function xn(){yn={},bn=!1}function En(e){_n(36,e.toString())}let Mn=null,Nn=[],Sn=0,Xn=null;function In(){var e,t,n;Xn=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",o=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),l=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";Sn=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:zn(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ln("_clsk",!a.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-qn(n[1])<18e5&&(e.session=n[0],e.count=qn(n[2])+1,e.upgrade=qn(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=Rn(),p=a.projectId||d(location.host);Mn={projectId:p,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,_n(0,i),_n(3,u),_n(1,y(location.href,!!Sn)),_n(2,document.referrer),_n(15,function(){let e=zn();if(a.track&&Hn(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),_n(16,document.documentElement.lang),_n(17,document.dir),_n(26,`${window.devicePixelRatio}`),_n(28,c.dob.toString()),_n(29,c.version.toString()),_n(33,l),_n(34,o),_n(35,r),z(0,s.ts),z(1,0),z(35,Sn),navigator&&(_n(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;_n(22,e.platform),_n(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{_n(24,e.name+"~"+e.version)})),_n(25,e.model),z(27,e.mobile?1:0)})):_n(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of a.cookies){let t=Ln(e);t&&ne(e,t)}!function(e){En(e?1:0)}(a.track),Wn(c)}function Pn(){Xn=null,Mn=null,Nn.forEach((e=>{e.called=!1}))}function Yn(e,t=!0,n=!1){let i=a.lean?0:1,o=!1;Mn&&(i||!1===t)&&(e(Mn,!a.lean),o=!0),!n&&o||Nn.push({callback:e,wait:t,recall:n,called:o})}function jn(){return Mn?[Mn.userId,Mn.sessionId,Mn.pageNum].join("."):""}function $n(e=!0){if(!e)return a.track=!1,Fn("_clsk","",-Number.MAX_VALUE),Fn("_clck","",-Number.MAX_VALUE),bi(),void window.setTimeout(yi,250);gi()&&(a.track=!0,Wn(Rn(),1),Dn(),En(2))}function An(){Fn("_clsk","",0)}function Cn(){!function(e){if(Nn.length>0)for(let t=0;t<Nn.length;t++){const n=Nn[t];!n.callback||n.called||n.wait&&!e||(n.callback(Mn,!a.lean),n.called=!0,n.recall||(Nn.splice(t,1),t--))}}(a.lean?0:1)}function Dn(){if(!Mn||!a.track)return;let e=Math.round(Date.now()),t=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;Fn("_clsk",[Mn.sessionId,e,Mn.pageNum,n,t].join("|"),1)}function Hn(e,t){try{return!!e[t]}catch(e){return!1}}function Wn(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===a.dob?0:a.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Fn("_clck",[Mn.userId,2,n.toString(36),t,i].join("|"),365)}}function zn(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function qn(e,t=10){return parseInt(e,t)}function Rn(){let e={id:zn(),version:0,expiry:null,consent:0,dob:0},t=Ln("_clck",!a.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=qn(n[1])),n.length>2&&(e.expiry=qn(n[2],36)),n.length>3&&1===qn(n[3])&&(e.consent=1),n.length>4&&qn(n[1])>1&&(e.dob=qn(n[4])),a.track=a.track||1===e.consent,e.id=a.track?n[0]:e.id}return e}function Ln(e,t=!1){if(Hn(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let o=n[i].split("=");if(o.length>1&&o[0]&&o[0].trim()===e){let[e,n]=Un(o[1]);for(;e;)[e,n]=Un(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Un(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Fn(e,t,n){if((a.track||""==t)&&(navigator&&navigator.cookieEnabled||Hn(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),o=new Date;o.setDate(o.getDate()+n);let r=`${e}=${i};${o?"expires="+o.toUTCString():""};path=/`;try{if(null===Xn){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(Xn=`.${n[i]}${Xn||""}`,i<n.length-1&&(document.cookie=`${r};domain=${Xn}`,Ln(e)===t))return;Xn=""}}catch(e){Xn=""}document.cookie=Xn?`${r};domain=${Xn}`:r}}let Vn,Jn=null;function Bn(){const e=Mn;Jn={version:c,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Zn(){Jn=null}function Gn(e){return Jn.start=Jn.start+Jn.duration,Jn.duration=s()-Jn.start,Jn.sequence++,Jn.upload=e&&"sendBeacon"in navigator?1:0,Jn.end=e?1:0,Jn.applicationPlatform=0,Jn.url=y(location.href,!1,!0),[Jn.version,Jn.sequence,Jn.start,Jn.duration,Jn.projectId,Jn.userId,Jn.sessionId,Jn.pageNum,Jn.upload,Jn.end,Jn.applicationPlatform,Jn.url]}function Kn(){Vn=[]}function Qn(e){if(Vn&&-1===Vn.indexOf(e.message)){const t=a.report;if(t&&t.length>0){let n={v:Jn.version,p:Jn.projectId,u:Jn.userId,s:Jn.sessionId,n:Jn.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Vn.push(e.message)}}return e}function ei(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw Qn(e)}let n=performance.now()-t;W(4,n),n>30&&(H(7),z(6,n),me(9,0,`${e.dn||e.name}-${n}`))}}let ti=new Map;function ni(e,t,n,i=!1,o=!0){n=ei(n);try{e[l("addEventListener")](t,n,{capture:i,passive:o}),function(e){return ti.has(e)}(e)||ti.set(e,[]),ti.get(e).push({event:t,listener:n,options:{capture:i,passive:o}})}catch(e){}}function ii(){ti.forEach(((e,t)=>{!function(e,t){e.forEach((e=>{try{t[l("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),ti.delete(t)}(e,t)})),ti=new Map}let oi=null,ri=null,ai=null,li=0;function ui(){return!(li++>20)||(me(4,0),!1)}function si(){si.dn=1,li=0,ai!==di()&&(bi(),window.setTimeout(ci,250))}function ci(){yi(),z(29,1)}function di(){return location.href?location.href.replace(location.hash,""):location.href}let pi=!1;function fi(){pi=!0,u=performance.now()+performance.timeOrigin,Re(),ii(),Kn(),ai=di(),li=0,ni(window,"popstate",si),null===oi&&(oi=history.pushState,history.pushState=function(){oi.apply(this,arguments),gi()&&ui()&&si()}),null===ri&&(ri=history.replaceState,history.replaceState=function(){ri.apply(this,arguments),gi()&&ui()&&si()})}function hi(){ai=null,li=0,Kn(),ii(),Re(),u=0,pi=!1}function gi(){return pi}function mi(){mi.dn=2,yi(),$("clarity","restart")}var vi=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),ni(window,"error",pe),de={},ge={}},stop:function(){ge={}}});const wi=[vi,an,Vt,De];function yi(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===pi&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||pi)return!1;for(let t in e)t in a&&(a[t]=e[t])}(e),fi(),je(),wi.forEach((e=>ei(e.start)())),null===e&&Oi())}function bi(){gi()&&(wi.slice().reverse().forEach((e=>ei(e.stop)())),$e(),hi(),void 0!==Ti&&(Ti[_i]=function(){(Ti[_i].q=Ti[_i].q||[]).push(arguments),"start"===arguments[0]&&Ti[_i].q.unshift(Ti[_i].q.pop())&&Oi()}))}var ki=Object.freeze({__proto__:null,consent:$n,event:$,hashText:Kt,identify:ie,metadata:Yn,pause:function(){gi()&&($("clarity","pause"),null===ze&&(ze=new Promise((e=>{qe=e}))))},resume:function(){gi()&&(ze&&(qe(),ze=null,null===We&&Ue()),$("clarity","resume"))},set:ne,signal:function(e){Ie=e},start:yi,stop:bi,upgrade:cn,version:c});const Ti=window,_i="clarity";function Oi(){if(void 0!==Ti){if(Ti[_i]&&Ti[_i].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Ti[_i]&&Ti[_i].q||[];for(Ti[_i]=function(e,...t){return ki[e](...t)},Ti[_i].v=c;e.length>0;)Ti[_i](...e.shift())}}Oi()}();
|
package/build/clarity.js
CHANGED
|
@@ -148,10 +148,6 @@ let config$2 = {
|
|
|
148
148
|
throttleDom: true,
|
|
149
149
|
conversions: false,
|
|
150
150
|
includeSubdomains: true,
|
|
151
|
-
throttleMutations: false,
|
|
152
|
-
dropMutations: false,
|
|
153
|
-
criticalMs: 200,
|
|
154
|
-
discard: [],
|
|
155
151
|
};
|
|
156
152
|
|
|
157
153
|
function api(method) {
|
|
@@ -178,7 +174,7 @@ function stop$F() {
|
|
|
178
174
|
startTime = 0;
|
|
179
175
|
}
|
|
180
176
|
|
|
181
|
-
let version$1 = "0.8.
|
|
177
|
+
let version$1 = "0.8.9-beta";
|
|
182
178
|
|
|
183
179
|
// tslint:disable: no-bitwise
|
|
184
180
|
function hash (input, precision = null) {
|
|
@@ -2435,10 +2431,8 @@ function track$5(m, timer, instance, timestamp) {
|
|
|
2435
2431
|
if (instance > timestamp + 3000 /* Setting.MutationActivePeriod */) {
|
|
2436
2432
|
return m.type;
|
|
2437
2433
|
}
|
|
2438
|
-
if
|
|
2439
|
-
|
|
2440
|
-
throttledMutations[key] = { mutation: m, timestamp };
|
|
2441
|
-
}
|
|
2434
|
+
// we only store the most recent mutation for a given key if it is being throttled
|
|
2435
|
+
throttledMutations[key] = { mutation: m, timestamp };
|
|
2442
2436
|
return "throttle" /* Constant.Throttle */;
|
|
2443
2437
|
}
|
|
2444
2438
|
}
|
|
@@ -4764,7 +4758,7 @@ function save() {
|
|
|
4764
4758
|
let ts = Math.round(Date.now());
|
|
4765
4759
|
let upload = config$2.upload && typeof config$2.upload === "string" /* Constant.String */ ? config$2.upload.replace("https://" /* Constant.HTTPS */, "" /* Constant.Empty */) : "" /* Constant.Empty */;
|
|
4766
4760
|
let upgrade = config$2.lean ? 0 /* BooleanFlag.False */ : 1 /* BooleanFlag.True */;
|
|
4767
|
-
setCookie("_clsk" /* Constant.SessionKey */, [data$2.sessionId, ts, data$2.pageNum, upgrade, upload].join("
|
|
4761
|
+
setCookie("_clsk" /* Constant.SessionKey */, [data$2.sessionId, ts, data$2.pageNum, upgrade, upload].join("|" /* Constant.Pipe */), 1 /* Setting.SessionExpire */);
|
|
4768
4762
|
}
|
|
4769
4763
|
function processCallback(upgrade) {
|
|
4770
4764
|
if (callbacks.length > 0) {
|
|
@@ -4800,7 +4794,7 @@ function track(u, consent = null) {
|
|
|
4800
4794
|
// To avoid cookie churn, write user id cookie only once every day
|
|
4801
4795
|
if (u.expiry === null || Math.abs(end - u.expiry) >= 1 /* Setting.CookieInterval */ || u.consent !== consent || u.dob !== dob) {
|
|
4802
4796
|
let cookieParts = [data$2.userId, 2 /* Setting.CookieVersion */, end.toString(36), consent, dob];
|
|
4803
|
-
setCookie("_clck" /* Constant.CookieKey */, cookieParts.join("
|
|
4797
|
+
setCookie("_clck" /* Constant.CookieKey */, cookieParts.join("|" /* Constant.Pipe */), 365 /* Setting.Expire */);
|
|
4804
4798
|
}
|
|
4805
4799
|
}
|
|
4806
4800
|
function shortid() {
|
package/build/clarity.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Pi},get getId(){return Si},get getNode(){return Di},get getValue(){return Ri},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return ya},get start(){return ga},get stop(){return va},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ba},get start(){return Ja},get stop(){return Ga},get upgrade(){return Ka}}),i=Object.freeze({__proto__:null,get check(){return er},get compute(){return nr},get data(){return Va},get start(){return Qa},get stop(){return ir},get trigger(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return cr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return lr},get stop(){return ur},get updates(){return rr}}),r=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return hr},get clear(){return Sr},get consent(){return kr},get data(){return fr},get electron(){return mr},get id(){return wr},get metadata(){return br},get save(){return Tr},get shortid(){return Nr},get start(){return yr},get stop(){return vr}}),o=Object.freeze({__proto__:null,get data(){return Pr},get envelope(){return Yr},get start(){return Ar},get stop(){return Xr}});let l={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function u(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.8-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function R(){x&&Za(4)}var P=Object.freeze({__proto__:null,activity:C,compute:R,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ao()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Za(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Lr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Za(25),Y.gap<3e5?V=H(J,F):to&&(X("clarity","suspend"),Io(),["mousemove","touchstart"].forEach((e=>zr(document,e,ro))),["resize","scroll","pageshow"].forEach((e=>zr(window,e,ro))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Za(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ao()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Za(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){_a(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Za(40)}catch(e){_a(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[P,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Lr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Lr(e.stop)())),j={},$={}}function Ce(){le(),R(),cr(),Za(0),Q(),nr(),we()}let De,Re=[];function Pe(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Re.indexOf(De.checksum)<0&&(Re.push(De.checksum),Ma(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),Ya(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){zr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Ya(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),Ya(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Pi(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){Ya(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target;return t.event===e.event&&o&&a<20&&r<25}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){Ya(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){Ya(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){Ya(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);sr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);sr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){Ya(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Rt(e){Rt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),Ya(na.bind(this,39))}function Pt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Io()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);zr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){zr(e,"cut",Ve.bind(this,0),!0),zr(e,"copy",Ve.bind(this,1),!0),zr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){zr(e,"mousedown",rt.bind(this,13,e),!0),zr(e,"mouseup",rt.bind(this,14,e),!0),zr(e,"mousemove",rt.bind(this,12,e),!0),zr(e,"wheel",rt.bind(this,15,e),!0),zr(e,"dblclick",rt.bind(this,16,e),!0),zr(e,"touchstart",ot.bind(this,17,e),!0),zr(e,"touchend",ot.bind(this,18,e),!0),zr(e,"touchmove",ot.bind(this,19,e),!0),zr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){zr(e,"input",Ge,!0)}(e),function(e){zr(e,"selectstart",Nt.bind(this,e),!0),zr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){zr(e,"change",Xe,!0)}(e),function(e){zr(e,"submit",Rt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,zr(window,"resize",ft),ft(),zr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Pt(),zr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Pt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=Nr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ao()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=Nr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),ya(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),ya(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),ya(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),ya(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),ya(a);cn();break;case 5:case 6:if(2===$a(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=$a(t);if(0===n&&(n=await za(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Pe(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),ya(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=$a(t);if(0===o&&(o=await za(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Rn(){Rn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Pn(e){Pn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),Ya(Xn,1).then((()=>{H(kn),Lr(Ji)()}))}async function An(e,t,n,i){let a=$a(e);if(0===a&&(a=await za(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Pi(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Pi(e.target),u=o&&o.selector?o.selector.join():e.target.nodeName,s=[a.selector?a.selector.join():"",u,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[s]=s in In?In[s]:[0,n];let c=In[s];if(!1===r&&c[0]>=10&&jn(c[2],2,t,i),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,c[0]>=10)return c[2]=e.removedNodes,n>i+3e3?e.type:(l.dropMutations||(En[s]={mutation:e,timestamp:i}),"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:wr(),cost:3};for(La(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{Ya(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),Wa(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=$a(n);if(0===e&&(e=await za(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Lr(Pn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ao()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":sr(5,e[t]),sr(8,e.creator),sr(18,e.headline);break;case"product":sr(5,e[t]),sr(10,e.name),sr(12,e.sku),e.brand&&sr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":sr(7,e.availability),sr(14,e.itemCondition),sr(13,e.priceCurrency),sr(12,e.sku),z(13,qn(e.price));break;case"brand":sr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":sr(20,e);break;case"og:type":sr(19,e);break;case"generator":sr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Pi(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&zr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(mr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Ur(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Lr(Pn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){_a(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){qr(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&qr(n),t&&(qr(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){_a(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||zr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${Nr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Ri(e){return e in ai?ai[e]:null}function Pi(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Pi(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Pe(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),ya(i),I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),ya(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),ya(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),ya(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),ya(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),ya(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),ya(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),ya(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),ya(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),ya(i))}Pt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),ya(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),ya(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0;function ga(){ca=!0,pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null}function ya(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(i){case 5:pa+=a.length;case 37:case 6:case 43:case 45:case 46:fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Pr.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(ba,r),ma=n,er(fa))}}function va(){q(ha),ba(!0),pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function ba(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Pr.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Pr.start+Pr.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);let n=t in Ut?Ut[t]:null;Kt(document,n)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Yr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),wa(i,a,Pr.sequence,n),ua=[],t&&(la=[],fa=0,pa=0)}function wa(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Sa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{$r(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Lr(ka)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Sa(n)}}function ka(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?tr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),wa(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Za(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":tr(6);break;case"UPGRADE":Ka("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(wa(n.data,null,t,!0),tr(3)),e.status>=200&&e.status<=208&&Sa(t),delete sa[t]))}function Sa(e){1===e&&(Tr(),Or())}let Oa,Ta={};function Ea(e){Ea.dn=4;let t=e.error||e;return t.message in Ta||(Ta[t.message]=0),Ta[t.message]++>=5||t&&t.message&&(Oa={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Ma(31)),!0}async function Ma(e){let t=[c(),e];switch(e){case 31:t.push(Oa.message),t.push(Oa.line),t.push(Oa.column),t.push(Oa.stack),t.push(w(Oa.source)),ya(t);break;case 33:Na&&(t.push(Na.code),t.push(Na.name),t.push(Na.message),t.push(Na.stack),t.push(Na.severity),ya(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),ya(t,!1))}}let Na,xa={};function _a(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in xa&&xa[e].indexOf(r)>=0||(Na={code:e,name:n,message:i,stack:a,severity:t},e in xa?xa[e].push(r):xa[e]=[r],Ma(33))}const Ia=5e3;let Ca={},Da=[],Ra=null,Pa=null,Aa=null;function Xa(){Ca={},Da=[],Ra=null,Pa=null}async function Ya(e,t=0){for(let t of Da)if(t.task===e)return;let n=new Promise((n=>{Da[1===t?"unshift":"push"]({task:e,resolve:n,id:wr()})}));return null===Ra&&null===Pa&&ja(),n}function ja(){let e=Da.shift();e&&(Ra=e,e.task().then((()=>{e.id===wr()&&(e.resolve(),Ra=null,ja())})).catch((t=>{e.id===wr()&&(t&&_a(0,1,t.name,t.message,t.stack),Ra=null,ja())})))}function $a(e){let t=Ha(e);if(t in Ca){return performance.now()-Ca[t].start>Ca[t].yield?0:1}return 2}function La(e){Ca[Ha(e)]={start:performance.now(),calls:0,yield:30}}function Wa(e){let t=performance.now(),n=Ha(e),i=t-Ca[n].start;W(e.cost,i),L(5),Ca[n].calls>0&&W(4,i)}async function za(e){var t;let n=Ha(e);return n in Ca&&(Wa(e),Ca[n].yield=(null===(t=await async function(){Pa&&await Pa;return new Promise((e=>{qa(e,{timeout:Ia})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=Ha(e);if(Ca&&Ca[t]){let n=Ca[t].calls,i=Ca[t].yield;La(e),Ca[t].calls=n+1,Ca[t].yield=i}}(e)),n in Ca?1:2}function Ha(e){return`${e.id}.${e.cost}`}let qa=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Ua(){Ya(Fa,1).then((()=>{Lr(kn)(),Lr(Ji)(),Lr(Ot)()}))}async function Fa(){let e=c(),t={id:wr(),cost:3};La(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),Wa(t)}let Va,Ba=null;function Ja(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ba=null}function Ka(e){ao()&&l.lean&&(l.lean=!1,Ba={key:e},Or(),Tr(),l.upgrade&&l.upgrade(e),Za(3),l.lite&&(Ua(),Jt()))}function Ga(){Ba=null}function Za(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),ya(t,!1)),_();break;case 25:t.push(Y.gap),ya(t);break;case 35:t.push(Va.check),ya(t,!1);break;case 3:t.push(Ba.key),ya(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),ya(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),ya(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),ya(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},ya(t,!1)}break;case 1:let a=Object.keys(rr);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(rr[e])}dr(),ya(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),ya(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),ya(t,!1)}}function Qa(){Va={check:0}}function er(e){if(0===Va.check){let t=Va.check;t=Pr.sequence>=128?1:t,t=Pr.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Va.check&&tr(t)}}function tr(e){Va.check=e,5!==e&&(Sr(),Io())}function nr(){0!==Va.check&&Za(35)}function ir(){Va=null}let ar=null,rr=null,or=!1;function lr(){ar={},rr={},or=!1}function ur(){ar={},rr={},or=!1}function sr(e,t){if(t&&(t=`${t}`,e in ar||(ar[e]=[]),ar[e].indexOf(t)<0)){if(ar[e].length>128)return void(or||(or=!0,tr(5)));ar[e].push(t),e in rr||(rr[e]=[]),rr[e].push(t)}}function cr(){Za(1)}function dr(){rr={},or=!1}function pr(e){sr(36,e.toString())}let fr=null,hr=[],mr=0,gr=null;function yr(){var e,t,n;gr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";mr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ir("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-xr(n[1])<18e5&&(e.session=n[0],e.count=xr(n[2])+1,e.upgrade=xr(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=_r(),d=l.projectId||p(location.host);fr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,sr(0,i),sr(3,u),sr(1,w(location.href,!!mr)),sr(2,document.referrer),sr(15,function(){let e=Nr();if(l.track&&Er(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,`${window.devicePixelRatio}`),sr(28,c.dob.toString()),sr(29,c.version.toString()),sr(33,o),sr(34,a),sr(35,r),z(0,s.ts),z(1,0),z(35,mr),navigator&&(sr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;sr(22,e.platform),sr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{sr(24,e.name+"~"+e.version)})),sr(25,e.model),z(27,e.mobile?1:0)})):sr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Ir(e);t&&ae(e,t)}!function(e){pr(e?1:0)}(l.track),Mr(c)}function vr(){gr=null,fr=null,hr.forEach((e=>{e.called=!1}))}function br(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;fr&&(i||!1===t)&&(e(fr,!l.lean),a=!0),!n&&a||hr.push({callback:e,wait:t,recall:n,called:a})}function wr(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(e=!0){if(!e)return l.track=!1,Dr("_clsk","",-Number.MAX_VALUE),Dr("_clck","",-Number.MAX_VALUE),Io(),void window.setTimeout(_o,250);ao()&&(l.track=!0,Mr(_r(),1),Tr(),pr(2))}function Sr(){Dr("_clsk","",0)}function Or(){!function(e){if(hr.length>0)for(let t=0;t<hr.length;t++){const n=hr[t];!n.callback||n.called||n.wait&&!e||(n.callback(fr,!l.lean),n.called=!0,n.recall||(hr.splice(t,1),t--))}}(l.lean?0:1)}function Tr(){if(!fr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Dr("_clsk",[fr.sessionId,e,fr.pageNum,n,t].join("^"),1)}function Er(e,t){try{return!!e[t]}catch(e){return!1}}function Mr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Dr("_clck",[fr.userId,2,n.toString(36),t,i].join("^"),365)}}function Nr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function xr(e,t=10){return parseInt(e,t)}function _r(){let e={id:Nr(),version:0,expiry:null,consent:0,dob:0},t=Ir("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=xr(n[1])),n.length>2&&(e.expiry=xr(n[2],36)),n.length>3&&1===xr(n[3])&&(e.consent=1),n.length>4&&xr(n[1])>1&&(e.dob=xr(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Ir(e,t=!1){if(Er(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Cr(a[1]);for(;e;)[e,n]=Cr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Cr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Dr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Er(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===gr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(gr=`.${n[i]}${gr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${gr}`,Ir(e)===t))return;gr=""}}catch(e){gr=""}document.cookie=gr?`${r};domain=${gr}`:r}}let Rr,Pr=null;function Ar(){const e=fr;Pr={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Xr(){Pr=null}function Yr(e){return Pr.start=Pr.start+Pr.duration,Pr.duration=c()-Pr.start,Pr.sequence++,Pr.upload=e&&"sendBeacon"in navigator?1:0,Pr.end=e?1:0,Pr.applicationPlatform=0,Pr.url=w(location.href,!1,!0),[Pr.version,Pr.sequence,Pr.start,Pr.duration,Pr.projectId,Pr.userId,Pr.sessionId,Pr.pageNum,Pr.upload,Pr.end,Pr.applicationPlatform,Pr.url]}function jr(){Rr=[]}function $r(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Pr.version,p:Pr.projectId,u:Pr.userId,s:Pr.sessionId,n:Pr.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Lr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw $r(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),_a(9,0,`${e.dn||e.name}-${n}`))}}let Wr=new Map;function zr(e,t,n,i=!1,a=!0){n=Lr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Ur(e)||Wr.set(e,[]),Wr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function Hr(){Wr.forEach(((e,t)=>{Fr(e,t)})),Wr=new Map}function qr(e){Ur(e)&&Fr(Wr.get(e),e)}function Ur(e){return Wr.has(e)}function Fr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),Wr.delete(t)}let Vr=null,Br=null,Jr=null,Kr=0;function Gr(){return!(Kr++>20)||(_a(4,0),!1)}function Zr(){Zr.dn=1,Kr=0,Jr!==eo()&&(Io(),window.setTimeout(Qr,250))}function Qr(){_o(),z(29,1)}function eo(){return location.href?location.href.replace(location.hash,""):location.href}let to=!1;function no(){to=!0,s=performance.now()+performance.timeOrigin,Xa(),Hr(),jr(),Jr=eo(),Kr=0,zr(window,"popstate",Zr),null===Vr&&(Vr=history.pushState,history.pushState=function(){Vr.apply(this,arguments),ao()&&Gr()&&Zr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ao()&&Gr()&&Zr()})}function io(){Jr=null,Kr=0,jr(),Hr(),Xa(),s=0,to=!1}function ao(){return to}function ro(){ro.dn=2,_o(),X("clarity","restart")}var oo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Re=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),zr(window,"error",Ea),Ta={},xa={}},stop:function(){xa={}}});var lo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?zr(window,"load",(()=>{Rn()})):Rn(),Ua(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let uo=null;function so(){uo=null}function co(e){uo={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(uo.fetchStart),t.push(uo.connectStart),t.push(uo.connectEnd),t.push(uo.requestStart),t.push(uo.responseStart),t.push(uo.responseEnd),t.push(uo.domInteractive),t.push(uo.domComplete),t.push(uo.loadEventStart),t.push(uo.loadEventEnd),t.push(uo.redirectCount),t.push(uo.size),t.push(uo.type),t.push(uo.protocol),t.push(uo.encodedSize),t.push(uo.decodedSize),so(),ya(t))}(29)}let po=0,fo=1/0,ho=0,mo=0;const go=[],yo=new Map,vo=()=>po||0,bo=()=>{if(!go.length)return-1;const e=Math.min(go.length-1,Math.floor((vo()-mo)/50));return go[e].latency},wo=()=>{mo=vo(),go.length=0,yo.clear()},ko=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?po=performance.interactionCount:e.interactionId&&(fo=Math.min(fo,e.interactionId),ho=Math.max(ho,e.interactionId),po=ho?(ho-fo)/7+1:0)})(e);const t=go[go.length-1],n=yo.get(e.interactionId);if(n||go.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};yo.set(t.id,t),go.push(t)}go.sort(((e,t)=>t.latency-e.latency)),go.length>10&&go.splice(10).forEach((e=>yo.delete(e.id)))}};let So;const Oo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function To(){To.dn=26;try{So&&So.disconnect(),So=new PerformanceObserver(Lr(Eo));for(let e of Oo)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),So.observe({type:e,buffered:!0}))}catch(e){_a(3,1)}}function Eo(e){Eo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":co(i);break;case"resource":let e=i.name;sr(4,Mo(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(i),sr(37,bo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function Mo(e){let t=document.createElement("a");return t.href=e,t.host}var No=Object.freeze({__proto__:null,start:function e(){e.dn=25,so(),function(){navigator&&"connection"in navigator&&sr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zr(window,"load",H.bind(this,To,0)):To():_a(3,0)}()},stop:function(){So&&So.disconnect(),So=null,wo(),so()}});const xo=[oo,lo,Lt,No];function _o(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===to&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||to)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),no(),_e(),xo.forEach((e=>Lr(e.start)())),null===e&&Po())}function Io(){ao()&&(xo.slice().reverse().forEach((e=>Lr(e.stop)())),Ie(),io(),void 0!==Do&&(Do[Ro]=function(){(Do[Ro].q=Do[Ro].q||[]).push(arguments),"start"===arguments[0]&&Do[Ro].q.unshift(Do[Ro].q.pop())&&Po()}))}var Co=Object.freeze({__proto__:null,consent:kr,event:X,hashText:Ci,identify:re,metadata:br,pause:function(){ao()&&(X("clarity","pause"),null===Pa&&(Pa=new Promise((e=>{Aa=e}))))},resume:function(){ao()&&(Pa&&(Aa(),Pa=null,null===Ra&&ja()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:_o,stop:Io,upgrade:Ka,version:d});const Do=window,Ro="clarity";function Po(){if(void 0!==Do){if(Do[Ro]&&Do[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Do[Ro]&&Do[Ro].q||[];for(Do[Ro]=function(e,...t){return Co[e](...t)},Do[Ro].v=d;e.length>0;)Do[Ro](...e.shift())}}Po()}();
|
|
1
|
+
!function(){"use strict";var e=Object.freeze({__proto__:null,get add(){return Oi},get get(){return Pi},get getId(){return Si},get getNode(){return Di},get getValue(){return Ri},get has(){return Xi},get hashText(){return Ci},get iframe(){return Mi},get iframeContent(){return Ni},get lookup(){return Ai},get parse(){return ki},get removeIFrame(){return xi},get sameorigin(){return Ei},get start(){return vi},get stop(){return bi},get update(){return Ti},get updates(){return Yi}}),t=Object.freeze({__proto__:null,get queue(){return ya},get start(){return ga},get stop(){return va},get track(){return da}}),n=Object.freeze({__proto__:null,get data(){return Ba},get start(){return Ja},get stop(){return Ga},get upgrade(){return Ka}}),i=Object.freeze({__proto__:null,get check(){return er},get compute(){return nr},get data(){return Va},get start(){return Qa},get stop(){return ir},get trigger(){return tr}}),a=Object.freeze({__proto__:null,get compute(){return cr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return lr},get stop(){return ur},get updates(){return rr}}),r=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return hr},get clear(){return Sr},get consent(){return kr},get data(){return fr},get electron(){return mr},get id(){return wr},get metadata(){return br},get save(){return Tr},get shortid(){return Nr},get start(){return yr},get stop(){return vr}}),o=Object.freeze({__proto__:null,get data(){return Pr},get envelope(){return Yr},get start(){return Ar},get stop(){return Xr}});let l={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}let s=0;function c(e=null){let t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-s),0)}let d="0.8.9-beta";function p(e,t=null){let n=0,i=5381,a=i;for(let t=0;t<e.length;t+=2){if(i=(i<<5)+i^e.charCodeAt(t),t+1<e.length){a=(a<<5)+a^e.charCodeAt(t+1)}}return n=Math.abs(i+11579*a),(t?n%Math.pow(2,t):n).toString(36)}const f=/\S/gi,h=255;let m=!0,g=null,y=null,v=null;function b(e,t,n,i=!1,a){if(e){if("input"==t&&("checkbox"===a||"radio"===a))return e;switch(n){case 0:return e;case 1:switch(t){case"*T":case"value":case"placeholder":case"click":return function(e){let t=-1,n=0,i=!1,a=!1,r=!1,o=null;E();for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);if(i=i||u>=48&&u<=57,a=a||64===u,r=9===u||10===u||13===u||32===u,0===l||l===e.length-1||r){if(i||a){null===o&&(o=e.split(""));let i=e.substring(t+1,r?l:l+1);i=m&&null!==v?i.match(v)?i:O(i,"▪","▫"):S(i),o.splice(t+1-n,i.length,i),n+=i.length-1}r&&(i=!1,a=!1,t=l)}}return o?o.join(""):e}(e);case"input":case"change":return T(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return i?k(e):S(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return T(e);case"placeholder":return S(e)}break;case 4:switch(t){case"*T":case"data-":return i?k(e):S(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return O(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function w(e,t=!1,n=!1){let i=e;if(t)i="https://Electron";else{let t=l.drop;if(t&&t.length>0&&e&&e.indexOf("?")>0){let[n,a]=e.split("?"),r="*na*";i=n+"?"+a.split("&").map((e=>t.some((t=>0===e.indexOf(`${t}=`)))?`${e.split("=")[0]}=${r}`:e)).join("&")}}return n&&(i=i.substring(0,h)),i}function k(e){let t=e.trim();if(t.length>0){let n=t[0],i=e.indexOf(n),a=e.substr(0,i),r=e.substr(i+t.length);return`${a}${t.length.toString(36)}${r}`}return e}function S(e){return e.replace(f,"•")}function O(e,t,n){return E(),e?e.replace(y,t).replace(g,n):e}function T(e){let t=5*(Math.floor(e.length/5)+1),n="";for(let e=0;e<t;e++)n+=e>0&&e%5==0?" ":"•";return n}function E(){if(m&&null===g)try{g=new RegExp("\\p{N}","gu"),y=new RegExp("\\p{L}","gu"),v=new RegExp("\\p{Sc}","gu")}catch(e){m=!1}}let M=null,N=null,x=!1;function _(){x&&(M={time:c(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime,pointerTime:N.pointerTime,moveX:N.moveX,moveY:N.moveY,moveTime:N.moveTime,downX:N.downX,downY:N.downY,downTime:N.downTime,upX:N.upX,upY:N.upY,upTime:N.upTime,pointerPrevX:N.pointerPrevX,pointerPrevY:N.pointerPrevY,pointerPrevTime:N.pointerPrevTime}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(e,t,n,i){switch(e){case 8:N.docWidth=t,N.docHeight=n;break;case 11:N.screenWidth=t,N.screenHeight=n;break;case 10:N.scrollX=t,N.scrollY=n,N.scrollTime=i;break;case 12:N.moveX=t,N.moveY=n,N.moveTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 13:N.downX=t,N.downY=n,N.downTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;case 14:N.upX=t,N.upY=n,N.upTime=i,N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i;break;default:N.pointerPrevX=N.pointerX,N.pointerPrevY=N.pointerY,N.pointerPrevTime=N.pointerTime,N.pointerX=t,N.pointerY=n,N.pointerTime=i}x=!0}function C(e){N.activityTime=e}function D(e,t){N.visible="visible"===t?1:0,N.visible||C(e),x=!0}function R(){x&&Za(4)}var P=Object.freeze({__proto__:null,activity:C,compute:R,reset:_,start:function(){x=!1,_()},get state(){return M},stop:function(){_()},track:I,visibility:D});let A=null;function X(e,t){ao()&&e&&"string"==typeof e&&e.length<255&&(A=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},Za(24))}let Y,j=null,$=null;function L(e){e in j||(j[e]=0),e in $||($[e]=0),j[e]++,$[e]++}function W(e,t){null!==t&&(e in j||(j[e]=0),e in $||($[e]=0),j[e]+=t,$[e]+=t)}function z(e,t){null!==t&&!1===isNaN(t)&&(e in j||(j[e]=0),(t>j[e]||0===j[e])&&($[e]=t,j[e]=t))}function H(e,t,n){return window.setTimeout(Lr(e),t,n)}function q(e){return window.clearTimeout(e)}let U=0,F=0,V=null;function B(){V&&q(V),V=H(J,F),U=c()}function J(){let e=c();Y={gap:e-U},Za(25),Y.gap<3e5?V=H(J,F):to&&(X("clarity","suspend"),Io(),["mousemove","touchstart"].forEach((e=>zr(document,e,ro))),["resize","scroll","pageshow"].forEach((e=>zr(window,e,ro))))}var K=Object.freeze({__proto__:null,get data(){return Y},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}});let G=null;function Z(e,t){if(e in G){let n=G[e],i=n[n.length-1];t-i[0]>100?G[e].push([t,0]):i[1]=t-i[0]}else G[e]=[[t,0]]}function Q(){Za(36)}function ee(){G={}}var te=Object.freeze({__proto__:null,compute:Q,get data(){return G},reset:ee,start:function(){G={}},stop:function(){G={}},track:Z});const ne="CompressionStream"in window;let ie=null;function ae(e,t){oe(e,"string"==typeof t?[t]:t)}async function re(e,t=null,n=null,i=null){let a={userId:await se(e),userHint:i||(r=e,r&&r.length>=5?`${r.substring(0,2)}${O(r.substring(2),"*","*")}`:O(r,"*","*"))};var r;return oe("userId",[a.userId]),oe("userHint",[a.userHint]),oe("userType",[ce(e)]),t&&(oe("sessionId",[t]),a.sessionId=t),n&&(oe("pageId",[n]),a.pageId=n),a}function oe(e,t){if(ao()&&e&&t&&"string"==typeof e&&e.length<255){let n=e in ie?ie[e]:[];for(let e=0;e<t.length;e++)"string"==typeof t[e]&&t[e].length<255&&n.push(t[e]);ie[e]=n}}function le(){Za(34)}function ue(){ie={}}async function se(e){try{if(crypto&&e){const t=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e));return Array.prototype.map.call(new Uint8Array(t),(e=>("00"+e.toString(16)).slice(-2))).join("")}return""}catch(e){return""}}function ce(e){return e&&e.indexOf("@")>0?"email":"string"}var de=Object.freeze({__proto__:null,compute:le,get data(){return ie},identify:re,reset:ue,set:ae,start:function(){ue()},stop:function(){ue()}});let pe={},fe=new Set,he={},me={},ge={},ye={};function ve(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),i=parseInt(n[0]),a=n.length>1?n[1]:"",r=t.length>1?JSON.parse(t[1]):{};for(var o in he[i]={},me[i]={},ge[i]={},ye[i]=a,r){let e=parseInt(o),t=r[o],n=2;switch(t.startsWith("~")?n=0:t.startsWith("!")&&(n=4),n){case 0:let n=t.slice(1);he[i][e]=Oe(n);break;case 2:me[i][e]=t;break;case 4:let a=t.slice(1);ge[i][e]=a}}}catch(e){_a(8,1,e?e.name:null)}}function be(e){return JSON.parse(JSON.stringify(e))}function we(){try{for(let t in he){let n=parseInt(t);if(""==ye[n]||document.querySelector(ye[n])){let t=he[n];for(let i in t){let a=parseInt(i),r=(e=Te(be(t[a])))?JSON.stringify(e).slice(0,1e4):e;r&&Se(n,a,r)}let i=me[n];for(let e in i){let t=!1,a=parseInt(e),r=i[a];r.startsWith("@")&&(t=!0,r=r.slice(1));let o=document.querySelectorAll(r);if(o){let e=Array.from(o).map((e=>e.textContent)).join("<SEP>");Se(n,a,(t?p(e).trim():e).slice(0,1e4))}}let a=ge[n];for(let e in a){let t=parseInt(e);Se(n,t,Ci(a[t]).trim().slice(0,1e4))}}}fe.size>0&&Za(40)}catch(e){_a(5,1,e?e.name:null)}var e}function ke(){fe.clear()}function Se(e,t,n){var i,a=!1;e in pe||(pe[e]={},a=!0),i=ge[e],0==Object.keys(i).length||t in pe[e]&&pe[e][t]==n||(a=!0),pe[e][t]=n,a&&fe.add(e)}function Oe(e){let t=[],n=e.split(".");for(;n.length>0;){let e=n.shift(),i=e.indexOf("["),a=e.indexOf("{"),r=e.indexOf("}");t.push({name:i>0?e.slice(0,i):a>0?e.slice(0,a):e,type:i>0?1:a>0?2:3,condition:a>0?e.slice(a+1,r):null})}return t}function Te(e,t=window){if(0==e.length)return t;let n,i=e.shift();if(t&&t[i.name]){let r=t[i.name];if(1!==i.type&&Ee(r,i.condition))n=Te(e,r);else if(Array.isArray(r)){let t=[];for(var a of r)if(Ee(a,i.condition)){let n=Te(e,a);n&&t.push(n)}n=t}return n}return null}function Ee(e,t){if(t){let n=t.split(":");return n.length>1?e[n[0]]==n[1]:e[n[0]]}return!0}let Me=null;function Ne(e){try{if(!Me)return;const t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((e=>{Me(e)}))}catch(e){}}const xe=[P,a,de,i,te,r,o,t,K,n,Object.freeze({__proto__:null,clone:be,compute:we,data:pe,keys:fe,reset:ke,start:function(){ke()},stop:function(){ke()},trigger:ve,update:Se})];function _e(){j={},$={},L(5),xe.forEach((e=>Lr(e.start)()))}function Ie(){xe.slice().reverse().forEach((e=>Lr(e.stop)())),j={},$={}}function Ce(){le(),R(),cr(),Za(0),Q(),nr(),we()}let De,Re=[];function Pe(e,t,n){l.fraud&&null!==e&&n&&n.length>=5&&(De={id:e,target:t,checksum:p(n,28)},Re.indexOf(De.checksum)<0&&(Re.push(De.checksum),Ma(41)))}let Ae=[];function Xe(e){Xe.dn=5;let t=ea(e);if(t){let n=t.value,i=n&&n.length>=5&&l.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?p(n,28):"";Ae.push({time:c(e),event:42,data:{target:ea(e),type:t.type,value:n,checksum:i}}),Ya(na.bind(this,42))}}function Ye(){Ae=[]}function je(e){let t={x:0,y:0};if(e&&e.offsetParent)do{let n=e.offsetParent,i=null===n?Mi(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=i||n}while(e);return t}const $e=["input","textarea","radio","button","canvas","select"];let Le=[];function We(e){zr(e,"click",ze.bind(this,9,e),!0)}function ze(e,t,n){ze.dn=6;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}let l=ea(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){let t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),s=function(e){let t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){let i=e.getBoundingClientRect();i&&i.width>0&&i.height>0&&(t={x:Math.floor(i.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(i.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(i.width),h:Math.floor(i.height)})}return t}(l);0===n.detail&&s&&(r=Math.round(s.x+s.w/2),o=Math.round(s.y+s.h/2));let d=s?Math.max(Math.floor((r-s.x)/s.w*32767),0):0,p=s?Math.max(Math.floor((o-s.y)/s.h*32767),0):0;if(null!==r&&null!==o){const t=function(e){let t=null,n=!1;if(e){let i=e.textContent||String(e.value||"")||e.alt;if(i){const e=i.replace(/\s+/g," ").trim();t=e.substring(0,25),n=t.length===e.length}}return{text:t,isFullText:n?1:0}}(l);Le.push({time:c(n),event:e,data:{target:l,x:r,y:o,eX:d,eY:p,button:n.button,reaction:He(l),context:qe(u),text:t.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:t.isFullText}}),Ya(na.bind(this,e))}}function He(e){if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase();if($e.indexOf(t)>=0)return 0}return 1}function qe(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Ue(){Le=[]}let Fe=[];function Ve(e,t){Ve.dn=7,Fe.push({time:c(t),event:38,data:{target:ea(t),action:e}}),Ya(na.bind(this,38))}function Be(){Fe=[]}let Je=null,Ke=[];function Ge(e){Ge.dn=9;let t=ea(e),n=Pi(t);if(t&&t.type&&n){let n=t.value,i=t.type;switch(t.type){case"radio":case"checkbox":n=t.checked?"true":"false"}let a={target:t,value:n,type:i};Ke.length>0&&Ke[Ke.length-1].data.target===a.target&&Ke.pop(),Ke.push({time:c(e),event:27,data:a}),q(Je),Je=H(Ze,1e3,27)}}function Ze(e){Ya(na.bind(this,e))}function Qe(){Ke=[]}let et=[],tt=null,nt=!1,it=0;const at=new Set;function rt(e,t,n){rt.dn=10;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(i){let e=je(i);r=r?r+Math.round(e.x):r,o=o?o+Math.round(e.y):o}null!==r&&null!==o&<({time:c(n),event:e,data:{target:ea(n),x:r,y:o}})}function ot(e,t,n){ot.dn=11;let i=Mi(t),a=i?i.contentDocument.documentElement:document.documentElement,r=n.changedTouches,o=c(n);if(r)for(let t=0;t<r.length;t++){let l=r[t],u="clientX"in l?Math.round(l.clientX+a.scrollLeft):null,s="clientY"in l?Math.round(l.clientY+a.scrollTop):null;u=u&&i?u+Math.round(i.offsetLeft):u,s=s&&i?s+Math.round(i.offsetTop):s;const c="identifier"in l?l.identifier:void 0;switch(e){case 17:0===at.size&&(nt=!0,it=c),at.add(c);break;case 18:case 20:at.delete(c)}const d=nt&&it===c;null!==u&&null!==s&<({time:o,event:e,data:{target:ea(n),x:u,y:s,id:c,isPrimary:d}}),20!==e&&18!==e||it===c&&(nt=!1)}}function lt(e){switch(e.event){case 12:case 15:case 19:let t=et.length,n=t>1?et[t-2]:null;n&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y,a=Math.sqrt(n*n+i*i),r=t.time-e.time,o=t.data.target===e.data.target;return t.event===e.event&&o&&a<20&&r<25}(n,e)&&et.pop(),et.push(e),q(tt),tt=H(ut,500,e.event);break;default:et.push(e),ut(e.event)}}function ut(e){Ya(na.bind(this,e))}function st(){et=[]}let ct,dt=null,pt=!1;function ft(){ft.dn=12;let e=document.documentElement;ct={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},pt?(q(dt),dt=H(ht,500,11)):(na(11),pt=!0)}function ht(e){Ya(na.bind(this,e))}function mt(){ct=null,q(dt)}let gt=[],yt=null,vt=null,bt=null;function wt(e=null){wt.dn=13;let t=window,n=document.documentElement,i=e?ea(e):n;if(i&&i.nodeType===Node.DOCUMENT_NODE){let e=Mi(i);t=e?e.contentWindow:t,i=n=i.documentElement}let a=i===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(i.scrollLeft),r=i===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(i.scrollTop);const o=window.innerWidth,l=window.innerHeight,u=o/3,s=o>l?.15*l:.2*l,d=l-s,p=kt(u,s),f=kt(u,d);let h={time:c(e),event:10,data:{target:i,x:a,y:r,top:p,bottom:f}};if(null===e&&0===a&&0===r||null===a||null===r)return yt=p,void(vt=f);let m=gt.length,g=m>1?gt[m-2]:null;g&&function(e,t){let n=e.data.x-t.data.x,i=e.data.y-t.data.y;return n*n+i*i<400&&t.time-e.time<25}(g,h)&>.pop(),gt.push(h),q(bt),bt=H(St,500,10)}function kt(e,t){var n,i;let a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(i=document.caretRangeFromPoint(e,t))||void 0===i?void 0:i.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function St(e){Ya(na.bind(this,e))}function Ot(){var e,t;if(Ot.dn=14,yt){const t=ta(yt,null);sr(31,null===(e=null==t?void 0:t.hash)||void 0===e?void 0:e.join("."))}if(vt){const e=ta(vt,null);sr(32,null===(t=null==e?void 0:e.hash)||void 0===t?void 0:t.join("."))}}let Tt=null,Et=null,Mt=null;function Nt(e){Nt.dn=15;let t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null===t)return;if(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)return;let n=Tt.start?Tt.start:null;null!==Et&&null!==Tt.start&&n!==t.anchorNode&&(q(Mt),xt(21)),Tt={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},Et=t,q(Mt),Mt=H(xt,500,21)}function xt(e){Ya(na.bind(this,e))}function _t(){Et=null,Tt={start:0,startOffset:0,end:0,endOffset:0}}let It,Ct,Dt=[];function Rt(e){Rt.dn=16,Dt.push({time:c(e),event:39,data:{target:ea(e)}}),Ya(na.bind(this,39))}function Pt(){Dt=[]}function At(e){At.dn=17,It={name:e.type,persisted:e.persisted?1:0},na(26,c(e)),Io()}function Xt(){It=null}function Yt(e=null){Yt.dn=18,Ct={visible:"visibilityState"in document?document.visibilityState:"default"},na(28,c(e))}function jt(){Ct=null}function $t(e){!function(e){let t=Mi(e);zr(t?t.contentWindow:e===document?window:e,"scroll",wt,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(We(e),function(e){zr(e,"cut",Ve.bind(this,0),!0),zr(e,"copy",Ve.bind(this,1),!0),zr(e,"paste",Ve.bind(this,2),!0)}(e),function(e){zr(e,"mousedown",rt.bind(this,13,e),!0),zr(e,"mouseup",rt.bind(this,14,e),!0),zr(e,"mousemove",rt.bind(this,12,e),!0),zr(e,"wheel",rt.bind(this,15,e),!0),zr(e,"dblclick",rt.bind(this,16,e),!0),zr(e,"touchstart",ot.bind(this,17,e),!0),zr(e,"touchend",ot.bind(this,18,e),!0),zr(e,"touchmove",ot.bind(this,19,e),!0),zr(e,"touchcancel",ot.bind(this,20,e),!0)}(e),function(e){zr(e,"input",Ge,!0)}(e),function(e){zr(e,"selectstart",Nt.bind(this,e),!0),zr(e,"selectionchange",Nt.bind(this,e),!0)}(e),function(e){zr(e,"change",Xe,!0)}(e),function(e){zr(e,"submit",Rt,!0)}(e))}var Lt=Object.freeze({__proto__:null,observe:$t,start:function e(){e.dn=8,ia=[],ra(),Ue(),Be(),st(),Qe(),pt=!1,zr(window,"resize",ft),ft(),zr(document,"visibilitychange",Yt),Yt(),gt=[],wt(),_t(),Ye(),Pt(),zr(window,"pagehide",At)},stop:function(){ia=[],ra(),Ue(),Be(),q(tt),et.length>0&&ut(et[et.length-1].event),q(Je),Qe(),mt(),jt(),q(bt),gt=[],yt=null,vt=null,_t(),q(Mt),Ye(),Pt(),Xt()}});let Wt=[],zt=[];const Ht="claritySheetId";let qt={},Ut={},Ft=[],Vt=[];function Bt(e){l.lean&&l.lite||null==e||(e.clarityOverrides=e.clarityOverrides||{},e.CSSStyleSheet&&e.CSSStyleSheet.prototype&&(void 0===e.clarityOverrides.replace&&(e.clarityOverrides.replace=e.CSSStyleSheet.prototype.replace,e.CSSStyleSheet.prototype.replace=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],1,arguments[0]),e.clarityOverrides.replace.apply(this,arguments)}),void 0===e.clarityOverrides.replaceSync&&(e.clarityOverrides.replaceSync=e.CSSStyleSheet.prototype.replaceSync,e.CSSStyleSheet.prototype.replaceSync=function(){return ao()&&Vt.indexOf(this[Ht])>-1&&Zt(c(),this[Ht],2,arguments[0]),e.clarityOverrides.replaceSync.apply(this,arguments)})))}function Jt(){Bt(window)}function Kt(e,t){if(l.lean&&l.lite)return;if(-1===Ft.indexOf(e)&&(Ft.push(e),e.defaultView&&Bt(e.defaultView)),t=t||c(),!(null==e?void 0:e.adoptedStyleSheets))return;let n=[];for(var i of e.adoptedStyleSheets)i[Ht]&&-1!==Vt.indexOf(i[Ht])||(i[Ht]=Nr(),Vt.push(i[Ht]),Zt(t,i[Ht],0),Zt(t,i[Ht],2,Gn(i))),n.push(i[Ht]);let a=Si(e,!0);qt[a]||(qt[a]=[]),function(e,t){if(e.length!==t.length)return!1;return e.every(((e,n)=>e===t[n]))}(n,qt[a])||(!function(e,t,n,i){zt.push({time:e,event:45,data:{id:t,operation:n,newIds:i}}),hn(45)}(t,e==document?-1:Si(e),3,n),qt[a]=n,Ut[a]=t)}function Gt(){zt=[],Wt=[]}function Zt(e,t,n,i){Wt.push({time:e,event:46,data:{id:t,operation:n,cssRules:i}}),hn(46)}let Qt=[],en=null,tn=null,nn=null,an=null,rn=null,on=null;const ln="clarityAnimationId",un="clarityOperationCount",sn=20;function cn(){Qt=[]}function dn(e,t,n,i,a,r,o){Qt.push({time:e,event:44,data:{id:t,operation:n,keyFrames:i,timing:a,targetId:r,timeline:o}}),hn(44)}function pn(e,t){null===e&&(e=Animation.prototype[t],Animation.prototype[t]=function(){return fn(this,t),e.apply(this,arguments)})}function fn(e,t){if(ao()){let n=e.effect,i=Si(n.target);if(null!==i&&n.getKeyframes&&n.getTiming){if(!e[ln]){e[ln]=Nr(),e[un]=0;let t=n.getKeyframes(),a=n.getTiming();dn(c(),e[ln],0,JSON.stringify(t),JSON.stringify(a),i)}if(e[un]++<sn){let n=null;switch(t){case"play":n=1;break;case"pause":n=2;break;case"cancel":n=3;break;case"finish":n=4;break;case"commitStyles":n=5}n&&dn(c(),e[ln],n)}}}}async function hn(e,t=null,n=null){let i=n||c(),a=[i,e];switch(e){case 8:let n=bn;a.push(n.width),a.push(n.height),I(e,n.width,n.height),ya(a);break;case 7:for(let e of Wi)a=[e.time,7],a.push(e.data.id),a.push(e.data.interaction),a.push(e.data.visibility),a.push(e.data.name),ya(a);Qi();break;case 45:case 46:for(let e of zt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.newIds),ya(a);for(let e of Wt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.cssRules),ya(a);Gt();break;case 44:for(let e of Qt)a=[e.time,e.event],a.push(e.data.id),a.push(e.data.operation),a.push(e.data.keyFrames),a.push(e.data.timing),a.push(e.data.timeline),a.push(e.data.targetId),ya(a);cn();break;case 5:case 6:if(2===$a(t))break;let r=Yi();if(r.length>0){for(let e of r){let n=$a(t);if(0===n&&(n=await za(t)),2===n)break;let i=e.data,r=e.metadata.active,o=e.metadata.suspend,l=e.metadata.privacy,u=mn(e),s=r?["tag","attributes","value"]:["tag"];for(let t of s)if(i[t]||""===i[t])switch(t){case"tag":let n=gn(e),s=u?-1:1;a.push(e.id*s),e.parent&&r&&(a.push(e.parent),e.previous&&a.push(e.previous)),a.push(o?"*M":i[t]),n&&2===n.length&&a.push(`#${yn(n[0])}.${yn(n[1])}`);break;case"attributes":for(let e in i[t])void 0!==i[t][e]&&a.push(vn(e,i[t][e],l));break;case"value":Pe(e.metadata.fraud,e.id,i[t]),a.push(b(i[t],i.tag,l,u))}}6===e&&C(i),ya(function(e){let t=[],n={},i=0,a=null;for(let r=0;r<e.length;r++)if("string"==typeof e[r]){let o=e[r],l=n[o]||-1;l>=0?a?a.push(l):(a=[l],t.push(a),i++):(a=null,t.push(o),n[o]=i++)}else a=null,t.push(e[r]),i++;return t}(a),!l.lean)}}}function mn(e){let t=e.metadata.privacy;return"*T"===e.data.tag&&!(0===t||1===t)}function gn(e){if(null!==e.metadata.size&&0===e.metadata.size.length){let t=Di(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function yn(e){return e.toString(36)}function vn(e,t,n){return`${e}=${b(t,0===e.indexOf("data-")?"data-":e,n)}`}let bn;function wn(){bn=null}function kn(){kn.dn=19;let e=document.body,t=document.documentElement,n=e?e.clientWidth:null,i=e?e.scrollWidth:null,a=e?e.offsetWidth:null,r=t?t.clientWidth:null,o=t?t.scrollWidth:null,l=t?t.offsetWidth:null,u=Math.max(n,i,a,r,o,l),s=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(s,c,d,p,f,h);null!==bn&&u===bn.width&&m===bn.height||null===u||null===m||(bn={width:u,height:m},hn(8))}async function Sn(e,t,n,i){let a=[e];for(;a.length>0;){let e=a.shift(),r=e.firstChild;for(;r;)a.push(r),r=r.nextSibling;let o=$a(t);if(0===o&&(o=await za(t)),2===o)break;let l=Vn(e,n,i);l&&a.push(l)}}let On=new Set,Tn=[],En={},Mn=[],Nn=null,xn=null,_n=null,In={},Cn=new WeakMap;const Dn=["data-google-query-id","data-load-complete","data-google-container-id"];function Rn(){Rn.dn=21,On=new Set,Mn=[],Nn=null,_n=0,In={},Cn=new WeakMap,Wn(window)}function Pn(e){Pn.dn=22;let t=c();Z(6,t),Tn.push({time:t,mutations:e}),Ya(Xn,1).then((()=>{H(kn),Lr(Ji)()}))}async function An(e,t,n,i){let a=$a(e);if(0===a&&(a=await za(e)),2===a)return;let r=t.target,o=l.throttleDom?function(e,t,n,i){let a=e.target?Pi(e.target.parentNode):null;if(a&&"HTML"!==a.data.tag){let r=i>_n,o=Pi(e.target),l=o&&o.selector?o.selector.join():e.target.nodeName,u=[a.selector?a.selector.join():"",l,e.attributeName,Yn(e.addedNodes),Yn(e.removedNodes)].join();In[u]=u in In?In[u]:[0,n];let s=In[u];if(!1===r&&s[0]>=10&&jn(s[2],2,t,i),s[0]=r?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=e.removedNodes,n>i+3e3?e.type:(En[u]={mutation:e,timestamp:i},"throttle")}return e.type}(t,e,n,i):t.type;switch(o&&r&&r.ownerDocument&&ki(r.ownerDocument),o&&r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&r.host&&ki(r),o){case"attributes":Dn.indexOf(t.attributeName)<0&&Vn(r,3,i);break;case"characterData":Vn(r,4,i);break;case"childList":jn(t.addedNodes,1,e,i),jn(t.removedNodes,2,e,i)}}async function Xn(){let e={id:wr(),cost:3};for(La(e);Tn.length>0;){let t=Tn.shift(),n=c();for(let i of t.mutations)await An(e,i,n,t.time);await hn(6,e,t.time)}let t=!1;for(var n of Object.keys(En)){let i=En[n];delete En[n],await An(e,i.mutation,c(),i.timestamp),t=!0}Object.keys(En).length>0&&function(){xn&&q(xn);xn=H((()=>{Ya(Xn,1)}),33)}(),0===Object.keys(En).length&&t&&await hn(6,e,c()),function(){let e=c();Object.keys(In).length>1e4&&(In={},L(38));for(let t of Object.keys(In)){e>In[t][1]+3e4&&delete In[t]}}(),Wa(e)}function Yn(e){let t=[];for(let n=0;e&&n<e.length;n++)t.push(e[n].nodeName);return t.join()}async function jn(e,t,n,i){let a=e?e.length:0;for(let r=0;r<a;r++){const a=e[r];if(1===t)Sn(a,n,t,i);else{let e=$a(n);if(0===e&&(e=await za(n)),2===e)break;Vn(a,t,i)}}}function $n(e){return Mn.indexOf(e)<0&&Mn.push(e),Nn&&q(Nn),Nn=H((()=>{!function(){for(let e of Mn)if(e){let t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(t&&Xi(e))continue;Ln(e,t?"childList":"characterData")}Mn=[]}()}),33),e}function Ln(e,t){Ln.dn=23,Lr(Pn)([{addedNodes:[e],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:e,type:t}])}function Wn(e){if(null!=e&&(e.clarityOverrides=e.clarityOverrides||{},void 0===e.clarityOverrides.InsertRule&&(e.clarityOverrides.InsertRule=e.CSSStyleSheet.prototype.insertRule,e.CSSStyleSheet.prototype.insertRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.InsertRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaInsertRule&&(e.clarityOverrides.MediaInsertRule=e.CSSMediaRule.prototype.insertRule,e.CSSMediaRule.prototype.insertRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaInsertRule.apply(this,arguments)}),void 0===e.clarityOverrides.DeleteRule&&(e.clarityOverrides.DeleteRule=e.CSSStyleSheet.prototype.deleteRule,e.CSSStyleSheet.prototype.deleteRule=function(){return ao()&&$n(this.ownerNode),e.clarityOverrides.DeleteRule.apply(this,arguments)}),"CSSMediaRule"in e&&void 0===e.clarityOverrides.MediaDeleteRule&&(e.clarityOverrides.MediaDeleteRule=e.CSSMediaRule.prototype.deleteRule,e.CSSMediaRule.prototype.deleteRule=function(){return ao()&&$n(this.parentStyleSheet.ownerNode),e.clarityOverrides.MediaDeleteRule.apply(this,arguments)}),void 0===e.clarityOverrides.AttachShadow)){e.clarityOverrides.AttachShadow=e.Element.prototype.attachShadow;try{e.Element.prototype.attachShadow=function(){return ao()?$n(e.clarityOverrides.AttachShadow.apply(this,arguments)):e.clarityOverrides.AttachShadow.apply(this,arguments)}}catch(t){e.clarityOverrides.AttachShadow=null}}}const zn=/[^0-9\.]/g;function Hn(e){for(let t of Object.keys(e)){let n=e[t];if("@type"===t&&"string"==typeof n)switch(n=n.toLowerCase(),n=n.indexOf("article")>=0||n.indexOf("posting")>=0?"article":n,n){case"article":case"recipe":sr(5,e[t]),sr(8,e.creator),sr(18,e.headline);break;case"product":sr(5,e[t]),sr(10,e.name),sr(12,e.sku),e.brand&&sr(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(z(11,qn(e.ratingValue,100)),z(18,qn(e.bestRating)),z(19,qn(e.worstRating))),z(12,qn(e.ratingCount)),z(17,qn(e.reviewCount));break;case"offer":sr(7,e.availability),sr(14,e.itemCondition),sr(13,e.priceCurrency),sr(12,e.sku),z(13,qn(e.price));break;case"brand":sr(6,e.name)}null!==n&&"object"==typeof n&&Hn(n)}}function qn(e,t=1){if(null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(zn,""))*t)}return null}const Un=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],Fn=/[\r\n]+/g;function Vn(t,n,i){var a;let r=null;if(2===n&&!1===Xi(t))return r;0!==n&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);let o=!1===Xi(t)?"add":"update",l=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:l=u&&t.parentNode?Mi(t.parentNode):l;let p=t,f={tag:(u?"iframe:":"")+"*D",attributes:{name:p.name?p.name:"HTML",publicId:p.publicId,systemId:p.systemId}};e[o](t,l,f,n);break;case Node.DOCUMENT_NODE:t===document&&ki(document),Kt(t,i),Bn(t);break;case Node.DOCUMENT_FRAGMENT_NODE:let h=t;if(h.host){if(ki(h),"function"===typeof h.constructor&&h.constructor.toString().indexOf("[native code]")>=0){Bn(h);let i={tag:"*S",attributes:{style:""}};e[o](t,h.host,i,n)}else e[o](t,h.host,{tag:"*P",attributes:{}},n);Kt(t,i)}break;case Node.TEXT_NODE:if(l=l||t.parentNode,"update"===o||l&&Xi(l)&&"STYLE"!==l.tagName&&"NOSCRIPT"!==l.tagName){let i={tag:"*T",value:t.nodeValue};e[o](t,l,i,n)}break;case Node.ELEMENT_NODE:let m=t,g=m.tagName,y=function(e){let t={},n=e.attributes;if(n&&n.length>0)for(let e=0;e<n.length;e++){let i=n[e].name;Un.indexOf(i)<0&&(t[i]=n[e].value)}"INPUT"===e.tagName&&!("value"in t)&&e.value&&(t.value=e.value);return t}(m);switch(l=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===m.namespaceURI&&(g="svg:"+g),g){case"HTML":l=u&&l?Mi(l):l;let i={tag:(u?"iframe:":"")+g,attributes:y};e[o](t,l,i,n);break;case"SCRIPT":if("type"in y&&"application/ld+json"===y.type)try{Hn(JSON.parse(m.text.replace(Fn,"")))}catch(e){}break;case"NOSCRIPT":let p={tag:g,attributes:{},value:""};e[o](t,l,p,n);break;case"META":var s="property"in y?"property":"name"in y?"name":null;if(s&&"content"in y){let e=y.content;switch(y[s]){case"og:title":sr(20,e);break;case"og:type":sr(19,e);break;case"generator":sr(21,e)}}break;case"HEAD":let f={tag:g,attributes:y},h=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;f.attributes["*B"]=h.protocol+"//"+h.host+h.pathname,e[o](t,l,f,n);break;case"BASE":let v=Pi(t.parentElement);if(v){let e=document.createElement("a");e.href=y.href,v.data.attributes["*B"]=e.protocol+"//"+e.host+e.pathname}break;case"STYLE":let b={tag:g,attributes:y,value:Kn(m)};e[o](t,l,b,n);break;case"IFRAME":let w=t,k={tag:g,attributes:y};Ei(w)&&(!function(e){!1===Xi(e)&&zr(e,"load",Ln.bind(this,e,"childList"),!0)}(w),k.attributes["*O"]="true",w.contentDocument&&w.contentWindow&&"loading"!==w.contentDocument.readyState&&(r=w.contentDocument)),2===n&&Jn(w),e[o](t,l,k,n);break;case"LINK":if(mr&&"stylesheet"===y.rel){for(var c in Object.keys(document.styleSheets)){var d=document.styleSheets[c];if(d.ownerNode==m){let i={tag:"STYLE",attributes:y,value:Gn(d)};e[o](t,l,i,n);break}}break}let S={tag:g,attributes:y};e[o](t,l,S,n);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in y&&y.src.startsWith("data:")&&(y.src="");let O={tag:g,attributes:y};e[o](t,l,O,n);break;default:let T={tag:g,attributes:y};m.shadowRoot&&(r=m.shadowRoot),e[o](t,l,T,n)}}return r}function Bn(e){Xi(e)||Ur(e)||(!function(e){try{let t=u("MutationObserver"),n=t in window?new window[t](Lr(Pn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Cn.set(e,n),On.add(n)),e.defaultView&&Wn(e.defaultView)}catch(e){_a(2,0,e?e.name:null)}}(e),$t(e))}function Jn(e){qr(e);const{doc:t=null,win:n=null}=Ni(e)||{};n&&qr(n),t&&(qr(t),function(e){const t=Cn.get(e);t&&(t.disconnect(),On.delete(t),Cn.delete(e))}(t),xi(e,t))}function Kn(e){let t=e.textContent?e.textContent.trim():"",n=e.dataset?Object.keys(e.dataset).length:0;return(0===t.length||n>0||e.id.length>0)&&(t=Gn(e.sheet)),t}function Gn(e){let t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(let e=0;e<n.length;e++)t+=n[e].cssText;return t}const Zn="load,active,fixed,visible,focus,show,collaps,animat".split(",");let Qn={};function ei(e,t){let n=e.attributes,i=e.prefix?e.prefix[t]:null,a=0===t?"~"+(e.position-1):`:nth-of-type(${e.position})`;switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===i)return"";i=`${i}>`,e.tag=0===e.tag.indexOf("svg:")?e.tag.substr("svg:".length):e.tag;let r=`${i}${e.tag}${a}`,o="id"in n&&n.id.length>0?n.id:null,l="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((e=>ti(e))).join("."):null;if(l&&l.length>0)if(0===t){let t=`${function(e){let t=e.split(">");for(let e=0;e<t.length;e++){let n=t[e].indexOf("~"),i=t[e].indexOf(".");t[e]=t[e].substring(0,i>0?i:n>0?n:t[e].length)}return t.join(">")}(i)}${e.tag}.${l}`;t in Qn||(Qn[t]=[]),Qn[t].indexOf(e.id)<0&&Qn[t].push(e.id),r=`${t}~${Qn[t].indexOf(e.id)}`}else r=`${i}${e.tag}.${l}${a}`;return r=o&&ti(o)?`${function(e){const t=e.lastIndexOf("*S"),n=e.lastIndexOf("iframe:HTML"),i=Math.max(t,n);if(i<0)return"";return e.substring(0,e.indexOf(">",i)+1)}(i)}#${o}`:r,r}}function ti(e){if(!e)return!1;if(Zn.some((t=>e.toLowerCase().indexOf(t)>=0)))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=48&&n<=57)return!1}return!0}let ni=1,ii=null,ai=[],ri=[],oi={},li=[],ui=[],si=[],ci=[],di=[],pi=[],fi=null,hi=null,mi=null,gi=null,yi=null;function vi(){wi(),ki(document,!0)}function bi(){wi()}function wi(){ni=1,ai=[],ri=[],oi={},li=[],ui=[],si="address,password,contact".split(","),ci="password,secret,pass,social,ssn,code,hidden".split(","),di="radio,checkbox,range,button,reset,submit".split(","),pi="INPUT,SELECT,TEXTAREA".split(","),ii=new Map,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap,gi=new WeakMap,yi=new WeakMap,Qn={}}function ki(e,t=!1){try{t&&l.unmask.forEach((e=>e.indexOf("!")<0?ui.push(e):li.push(e.substr(1)))),"querySelectorAll"in e&&(l.regions.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>Vi(e,`${t[0]}`))))),l.mask.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,3))))),l.checksum.forEach((t=>e.querySelectorAll(t[1]).forEach((e=>yi.set(e,t[0]))))),ui.forEach((t=>e.querySelectorAll(t).forEach((e=>gi.set(e,0))))))}catch(e){_a(5,1,e?e.name:null)}}function Si(e,t=!1){if(null===e)return null;let n=fi.get(e);return!n&&t&&(n=ni++,fi.set(e,n)),n||null}function Oi(e,t,n,i){let a=t?Si(t):null;if(!(t&&a||null!=e.host||e.nodeType===Node.DOCUMENT_TYPE_NODE))return;let r=Si(e,!0),o=$i(e),u=null,s=Bi(e)?r:null,c=yi.has(e)?yi.get(e):null,d=l.content?1:3;a>=0&&ai[a]&&(u=ai[a],u.children.push(r),s=null===s?u.region:s,c=null===c?u.metadata.fraud:c,d=u.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Vi(e,n.attributes["data-clarity-region"]),s=r),ii.set(r,e),ai[r]={id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var i;let a=t.data,r=t.metadata,o=r.privacy,l=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case pi.indexOf(u)>=0:let t=l.type,a="";const s=["class","style"];Object.keys(l).filter((e=>!s.includes(e))).forEach((e=>a+=l[e].toLowerCase()));let c=ci.some((e=>a.indexOf(e)>=0));r.privacy="INPUT"===u&&di.indexOf(t)>=0?o:c?4:2;break;case"data-clarity-mask"in l:r.privacy=3;break;case"data-clarity-unmask"in l:r.privacy=0;break;case gi.has(e):r.privacy=gi.get(e);break;case yi.has(e):r.privacy=2;break;case"*T"===u:let d=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",f=["STYLE","TITLE","svg:style"];r.privacy=f.includes(d)||li.some((e=>p.indexOf(e)>=0))?0:o;break;case 1===o:r.privacy=function(e,t,n){if(e&&t.some((t=>e.indexOf(t)>=0)))return 2;return n.privacy}(l.class,si,r);break;case"IMG"===u:(null===(i=l.src)||void 0===i?void 0:i.startsWith("blob:"))&&(r.privacy=3)}}(e,ai[r],u),Ii(ai[r]),function(e){if("IMG"===e.data.tag&&3===e.metadata.privacy){let t=Di(e.id);!t||t.complete&&0!==t.naturalWidth||zr(t,"load",(()=>{t.setAttribute("data-clarity-loaded",`${Nr()}`)})),e.metadata.size=[]}}(ai[r]),Li(r,i)}function Ti(e,t,n,i){let a=Si(e),r=t?Si(t):null,o=$i(e),l=!1,u=!1;if(a in ai){let t=ai[a];if(t.metadata.active=!0,t.previous!==o&&(l=!0,t.previous=o),t.parent!==r){l=!0;let n=t.parent;if(t.parent=r,null!==r&&r>=0){let n=null===o?0:ai[r].children.indexOf(o)+1;ai[r].children.splice(n,0,a),t.region=Bi(e)?a:ai[r].region}else!function(e,t){if(e in ai){let n=ai[e];n.metadata.active=!1,n.parent=null,Li(e,t),ji(e)}}(a,i);if(null!==n&&n>=0){let e=ai[n].children.indexOf(a);e>=0&&ai[n].children.splice(e,1)}u=!0}for(let e in n)_i(t.data,n,e)&&(l=!0,t.data[e]=n[e]);Ii(t),Li(a,i,l,u)}}function Ei(e){let t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){let n=e;try{n.contentDocument&&(hi.set(n.contentDocument,n),mi.set(n,{doc:n.contentDocument,win:n.contentWindow}),t=!0)}catch(e){}}return t}function Mi(e){let t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&hi.has(t)?hi.get(t):null}function Ni(e){return mi.has(e)?mi.get(e):null}function xi(e,t){mi.delete(e),hi.delete(t)}function _i(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(let i in e[n])if(e[n][i]!==t[n][i])return!0;for(let i in t[n])if(t[n][i]!==e[n][i])return!0;return!1}return e[n]!==t[n]}function Ii(e){let t=e.parent&&e.parent in ai?ai[e.parent]:null,n=t?t.selector:null,i=e.data,a=function(e,t){t.metadata.position=1;let n=e?e.children.indexOf(t.id):-1;for(;n-- >0;){let i=ai[e.children[n]];if(t.data.tag===i.data.tag){t.metadata.position=i.metadata.position+1;break}}return t.metadata.position}(t,e),r={id:e.id,tag:i.tag,prefix:n,position:a,attributes:i.attributes};e.selector=[ei(r,0),ei(r,1)],e.hash=e.selector.map((e=>e?p(e):null)),e.hash.forEach((t=>oi[t]=e.id))}function Ci(e){let t=Di(Ai(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function Di(e){return ii.has(e)?ii.get(e):null}function Ri(e){return e in ai?ai[e]:null}function Pi(e){let t=Si(e);return t in ai?ai[t]:null}function Ai(e){return e in oi?oi[e]:null}function Xi(e){return ii.has(Si(e))}function Yi(){let e=[];for(let t of ri)t in ai&&e.push(ai[t]);return ri=[],e}function ji(e){const t=ii.get(e);if((null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE)return;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){Jn(t)}ii.delete(e);let n=e in ai?ai[e]:null;if(n&&n.children)for(let e of n.children)ji(e)}function $i(e){let t=null;for(;null===t&&e.previousSibling;)t=Si(e.previousSibling),e=e.previousSibling;return t}function Li(e,t,n=!0,i=!1){if(l.lean&&l.lite)return;let a=ri.indexOf(e);a>=0&&1===t&&i?(ri.splice(a,1),ri.push(e)):-1===a&&n&&ri.push(e)}let Wi=[],zi=null,Hi={},qi=[],Ui=!1,Fi=null;function Vi(e,t){!1===zi.has(e)&&(zi.set(e,t),Fi=null===Fi&&Ui?new IntersectionObserver(Ki,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Fi,Fi&&e&&e.nodeType===Node.ELEMENT_NODE&&Fi.observe(e))}function Bi(e){return zi&&zi.has(e)}function Ji(){Ji.dn=24;let e=[];for(let t of qi){let n=Si(t.node);n?(t.state.data.id=n,Hi[n]=t.state.data,Wi.push(t.state)):e.push(t)}qi=e,Wi.length>0&&hn(7)}function Ki(e){for(let t of e){let e=t.target,n=t.boundingClientRect,i=t.intersectionRect,a=t.rootBounds;if(zi.has(e)&&n.width+n.height>0&&a.width>0&&a.height>0){let r=e?Si(e):null,o=r in Hi?Hi[r]:{id:r,name:zi.get(e),interaction:16,visibility:0},l=(i?i.width*i.height*1/(a.width*a.height):0)>.05||t.intersectionRatio>.8,u=(l||10==o.visibility)&&Math.abs(n.top)+a.height>n.height;Gi(e,o,o.interaction,u?13:l?10:0),o.visibility>=13&&Fi&&Fi.unobserve(e)}}Wi.length>0&&hn(7)}function Gi(e,t,n,i){let a=n>t.interaction||i>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=i>t.visibility?i:t.visibility,t.id?(t.id in Hi&&a||!(t.id in Hi))&&(Hi[t.id]=t,Wi.push(Zi(t))):qi.push({node:e,state:Zi(t)})}function Zi(e){return{time:c(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Qi(){Wi=[]}function ea(e){let t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return _n=c()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ta(e,t,n=null){let i={id:0,hash:null,privacy:2};if(e){let a=Pi(e);if(null!==a){let e=a.metadata;i.id=a.id,i.hash=a.hash,i.privacy=e.privacy,a.region&&function(e,t){let n=Di(e),i=e in Hi?Hi[e]:{id:e,visibility:0,interaction:16,name:zi.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Gi(n,i,a,i.visibility)}(a.region,t),e.fraud&&Pe(e.fraud,a.id,n||a.data.value)}}return i}async function na(e,t=null){let n=t||c(),i=[n,e];switch(e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(let e of et){let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),void 0!==e.data.id&&(i.push(e.data.id),void 0!==e.data.isPrimary&&i.push(e.data.isPrimary.toString())),ya(i),I(e.event,e.data.x,e.data.y,e.time))}st();break;case 9:for(let e of Le){let t=ta(e.data.target,e.event,e.data.text);i=[e.time,e.event];let n=t.hash?t.hash.join("."):"";i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(e.data.eX),i.push(e.data.eY),i.push(e.data.button),i.push(e.data.reaction),i.push(e.data.context),i.push(b(e.data.text,"click",t.privacy)),i.push(w(e.data.link)),i.push(n),i.push(e.data.trust),i.push(e.data.isFullText),ya(i),oa(e.time,e.event,n,e.data.x,e.data.y,e.data.reaction,e.data.context)}Ue();break;case 38:for(let e of Fe){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),i.push(e.data.action),ya(i))}Be();break;case 11:let t=ct;i.push(t.width),i.push(t.height),I(e,t.width,t.height),mt(),ya(i);break;case 26:let a=It;i.push(a.name),i.push(a.persisted),Xt(),ya(i);break;case 27:for(let e of Ke){let t=ta(e.data.target,e.event,e.data.value);i=[e.time,e.event],i.push(t.id),i.push(b(e.data.value,"input",t.privacy,!1,e.data.type)),ya(i)}Qe();break;case 21:let r=Tt;if(r){let t=ta(r.start,e),n=ta(r.end,e);i.push(t.id),i.push(r.startOffset),i.push(n.id),i.push(r.endOffset),_t(),ya(i)}break;case 10:for(let e of gt){let t=ta(e.data.target,e.event);const n=ta(e.data.top,e.event),a=ta(e.data.bottom,e.event),r=(null==n?void 0:n.hash)?n.hash.join("."):"",o=(null==a?void 0:a.hash)?a.hash.join("."):"";t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.x),i.push(e.data.y),i.push(r),i.push(o),ya(i),I(e.event,e.data.x,e.data.y,e.time))}gt=[],yt=null,vt=null;break;case 42:for(let e of Ae){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i=[e.time,e.event],i.push(t.id),i.push(e.data.type),i.push(b(e.data.value,"change",t.privacy)),i.push(b(e.data.checksum,"checksum",t.privacy)),ya(i))}Ye();break;case 39:for(let e of Dt){i=[e.time,e.event];let t=ta(e.data.target,e.event);t.id>0&&(i.push(t.id),ya(i))}Pt();break;case 22:for(let e of aa)i=[e.time,e.event],i.push(e.data.type),i.push(e.data.hash),i.push(e.data.x),i.push(e.data.y),i.push(e.data.reaction),i.push(e.data.context),ya(i,!1);ra();break;case 28:let o=Ct;i.push(o.visible),ya(i),D(n,o.visible),jt()}}let ia=[],aa=[];function ra(){aa=[]}function oa(e,t,n,i,a,r=1,o=0){ia.push({time:e,event:22,data:{type:t,hash:n,x:i,y:a,reaction:r,context:o}}),I(t,i,a,e)}let la,ua,sa,ca,da,pa=0,fa=0,ha=null,ma=0;function ga(){ca=!0,pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null}function ya(e,t=!0){if(ca){let n=c(),i=e.length>1?e[1]:null,a=JSON.stringify(e);switch(i){case 5:pa+=a.length;case 37:case 6:case 43:case 45:case 46:fa+=a.length,la.push(a);break;default:ua.push(a)}L(25);let r=function(){let e=!1===l.lean&&pa>0?100:Pr.sequence*l.delay;return"string"==typeof l.upload?Math.max(Math.min(e,3e4),100):l.delay}();n-ma>2*r&&(q(ha),ha=null),t&&null===ha&&(25!==i&&B(),ha=H(ba,r),ma=n,er(fa))}}function va(){q(ha),ba(!0),pa=0,fa=0,ma=0,la=[],ua=[],sa={},da=null,ca=!1}async function ba(e=!1){ha=null;let t=!1===l.lean&&fa>0&&(fa<1048576||Pr.sequence>0);t&&z(1,1),Ji(),function(){const e=[];aa=[];let t=Pr.start+Pr.duration,n=Math.max(t-2e3,0);for(let i of ia)i.time>=n&&(i.time<=t&&aa.push(i),e.push(i));ia=e,na(22)}(),Ce(),function(){for(var e of Ft){var t=e==document?-1:Si(e);let n=t in Ut?Ut[t]:null;Kt(document,n)}}();let n=!0===e,i=function(e){return e.p.length>0?`{"e":${e.e},"a":${e.a},"p":${e.p}}`:`{"e":${e.e},"a":${e.a}}`}({e:JSON.stringify(Yr(n)),a:`[${ua.join()}]`,p:t?`[${la.join()}]`:""}),a=n?null:await async function(e){try{if(ne){const t=new ReadableStream({async start(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(e){const t=e.getReader(),n=[];let i=!1,a=[];for(;!i;){if(({done:i,value:a}=await t.read()),i)return n;n.push(...a)}return n}(t))}}catch(e){}return null}(i);W(2,a?a.length:i.length),wa(i,a,Pr.sequence,n),ua=[],t&&(la=[],fa=0,pa=0)}function wa(e,t,n,i=!1){if("string"==typeof l.upload){const a=l.upload;let r=!1;if(i&&"sendBeacon"in navigator)try{r=navigator.sendBeacon.bind(navigator)(a,e),r&&Sa(n)}catch(e){}if(!1===r){n in sa?sa[n].attempts++:sa[n]={data:e,attempts:1};let i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=()=>{$r(new Error(`Timeout : ${a}`))},null!==n&&(i.onreadystatechange=()=>{Lr(ka)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else if(l.upload){(0,l.upload)(e),Sa(n)}}function ka(e,t){var n=sa[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?tr(6):(0===e.status&&(l.upload=l.fallback?l.fallback:l.upload),wa(n.data,null,t)):(da={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&Za(2),200===e.status&&e.responseText&&function(e){let t=e&&e.length>0?e.split("\n"):[];for(var n of t){let e=n&&n.length>0?n.split(/ (.*)/):[""];switch(e[0]){case"END":tr(6);break;case"UPGRADE":Ka("Auto");break;case"ACTION":l.action&&e.length>1&&l.action(e[1]);break;case"EXTRACT":e.length>1&&ve(e[1]);break;case"SIGNAL":e.length>1&&Ne(e[1])}}}(e.responseText),0===e.status&&(wa(n.data,null,t,!0),tr(3)),e.status>=200&&e.status<=208&&Sa(t),delete sa[t]))}function Sa(e){1===e&&(Tr(),Or())}let Oa,Ta={};function Ea(e){Ea.dn=4;let t=e.error||e;return t.message in Ta||(Ta[t.message]=0),Ta[t.message]++>=5||t&&t.message&&(Oa={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},Ma(31)),!0}async function Ma(e){let t=[c(),e];switch(e){case 31:t.push(Oa.message),t.push(Oa.line),t.push(Oa.column),t.push(Oa.stack),t.push(w(Oa.source)),ya(t);break;case 33:Na&&(t.push(Na.code),t.push(Na.name),t.push(Na.message),t.push(Na.stack),t.push(Na.severity),ya(t,!1));break;case 41:De&&(t.push(De.id),t.push(De.target),t.push(De.checksum),ya(t,!1))}}let Na,xa={};function _a(e,t,n=null,i=null,a=null){let r=n?`${n}|${i}`:"";e in xa&&xa[e].indexOf(r)>=0||(Na={code:e,name:n,message:i,stack:a,severity:t},e in xa?xa[e].push(r):xa[e]=[r],Ma(33))}const Ia=5e3;let Ca={},Da=[],Ra=null,Pa=null,Aa=null;function Xa(){Ca={},Da=[],Ra=null,Pa=null}async function Ya(e,t=0){for(let t of Da)if(t.task===e)return;let n=new Promise((n=>{Da[1===t?"unshift":"push"]({task:e,resolve:n,id:wr()})}));return null===Ra&&null===Pa&&ja(),n}function ja(){let e=Da.shift();e&&(Ra=e,e.task().then((()=>{e.id===wr()&&(e.resolve(),Ra=null,ja())})).catch((t=>{e.id===wr()&&(t&&_a(0,1,t.name,t.message,t.stack),Ra=null,ja())})))}function $a(e){let t=Ha(e);if(t in Ca){return performance.now()-Ca[t].start>Ca[t].yield?0:1}return 2}function La(e){Ca[Ha(e)]={start:performance.now(),calls:0,yield:30}}function Wa(e){let t=performance.now(),n=Ha(e),i=t-Ca[n].start;W(e.cost,i),L(5),Ca[n].calls>0&&W(4,i)}async function za(e){var t;let n=Ha(e);return n in Ca&&(Wa(e),Ca[n].yield=(null===(t=await async function(){Pa&&await Pa;return new Promise((e=>{qa(e,{timeout:Ia})}))}())||void 0===t?void 0:t.timeRemaining())||30,function(e){let t=Ha(e);if(Ca&&Ca[t]){let n=Ca[t].calls,i=Ca[t].yield;La(e),Ca[t].calls=n+1,Ca[t].yield=i}}(e)),n in Ca?1:2}function Ha(e){return`${e.id}.${e.cost}`}let qa=window.requestIdleCallback||function(e,t){const n=performance.now(),i=new MessageChannel,a=i.port1,r=i.port2;a.onmessage=i=>{let a=performance.now(),o=a-n,l=a-i.data;if(l>30&&o<t.timeout)requestAnimationFrame((()=>{r.postMessage(a)}));else{let n=o>t.timeout;e({didTimeout:n,timeRemaining:()=>n?30:Math.max(0,30-l)})}},requestAnimationFrame((()=>{r.postMessage(performance.now())}))};function Ua(){Ya(Fa,1).then((()=>{Lr(kn)(),Lr(Ji)(),Lr(Ot)()}))}async function Fa(){let e=c(),t={id:wr(),cost:3};La(t),await Sn(document,t,0,e),Kt(document,e),await hn(5,t,e),Wa(t)}let Va,Ba=null;function Ja(){!l.lean&&l.upgrade&&l.upgrade("Config"),Ba=null}function Ka(e){ao()&&l.lean&&(l.lean=!1,Ba={key:e},Or(),Tr(),l.upgrade&&l.upgrade(e),Za(3),l.lite&&(Ua(),Jt()))}function Ga(){Ba=null}function Za(e){let t=[c(),e];switch(e){case 4:let e=M;e&&(t=[e.time,e.event],t.push(e.data.visible),t.push(e.data.docWidth),t.push(e.data.docHeight),t.push(e.data.screenWidth),t.push(e.data.screenHeight),t.push(e.data.scrollX),t.push(e.data.scrollY),t.push(e.data.pointerX),t.push(e.data.pointerY),t.push(e.data.activityTime),t.push(e.data.scrollTime),t.push(e.data.pointerTime),t.push(e.data.moveX),t.push(e.data.moveY),t.push(e.data.moveTime),t.push(e.data.downX),t.push(e.data.downY),t.push(e.data.downTime),t.push(e.data.upX),t.push(e.data.upY),t.push(e.data.upTime),t.push(e.data.pointerPrevX),t.push(e.data.pointerPrevY),t.push(e.data.pointerPrevTime),ya(t,!1)),_();break;case 25:t.push(Y.gap),ya(t);break;case 35:t.push(Va.check),ya(t,!1);break;case 3:t.push(Ba.key),ya(t);break;case 2:t.push(da.sequence),t.push(da.attempts),t.push(da.status),ya(t,!1);break;case 24:A.key&&t.push(A.key),t.push(A.value),ya(t);break;case 34:let n=Object.keys(ie);if(n.length>0){for(let e of n)t.push(e),t.push(ie[e]);ue(),ya(t,!1)}break;case 0:let i=Object.keys($);if(i.length>0){for(let e of i){let n=parseInt(e,10);t.push(n),t.push(Math.round($[e]))}$={},ya(t,!1)}break;case 1:let a=Object.keys(rr);if(a.length>0){for(let e of a){let n=parseInt(e,10);t.push(n),t.push(rr[e])}dr(),ya(t,!1)}break;case 36:let r=Object.keys(G);if(r.length>0){for(let e of r){let n=parseInt(e,10);t.push(n),t.push([].concat(...G[e]))}ee(),ya(t,!1)}break;case 40:fe.forEach((e=>{t.push(e);let n=[];for(let t in pe[e]){let i=parseInt(t,10);n.push(i),n.push(pe[e][t])}t.push(n)})),ke(),ya(t,!1)}}function Qa(){Va={check:0}}function er(e){if(0===Va.check){let t=Va.check;t=Pr.sequence>=128?1:t,t=Pr.pageNum>=128?7:t,t=c()>72e5?2:t,t=e>10485760?2:t,t!==Va.check&&tr(t)}}function tr(e){Va.check=e,5!==e&&(Sr(),Io())}function nr(){0!==Va.check&&Za(35)}function ir(){Va=null}let ar=null,rr=null,or=!1;function lr(){ar={},rr={},or=!1}function ur(){ar={},rr={},or=!1}function sr(e,t){if(t&&(t=`${t}`,e in ar||(ar[e]=[]),ar[e].indexOf(t)<0)){if(ar[e].length>128)return void(or||(or=!0,tr(5)));ar[e].push(t),e in rr||(rr[e]=[]),rr[e].push(t)}}function cr(){Za(1)}function dr(){rr={},or=!1}function pr(e){sr(36,e.toString())}let fr=null,hr=[],mr=0,gr=null;function yr(){var e,t,n;gr=null;const i=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",r=(new Date).getTimezoneOffset().toString(),o=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",u=document&&document.title?document.title:"";mr=i.indexOf("Electron")>0?1:0;let s=function(){let e={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=Ir("_clsk",!l.includeSubdomains);if(t){let n=t.includes("^")?t.split("^"):t.split("|");n.length>=5&&e.ts-xr(n[1])<18e5&&(e.session=n[0],e.count=xr(n[2])+1,e.upgrade=xr(n[3]),e.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return e}(),c=_r(),d=l.projectId||p(location.host);fr={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},l.lean=l.track&&null!==s.upgrade?0===s.upgrade:l.lean,l.upload=l.track&&"string"==typeof l.upload&&s.upload&&s.upload.length>"https://".length?s.upload:l.upload,sr(0,i),sr(3,u),sr(1,w(location.href,!!mr)),sr(2,document.referrer),sr(15,function(){let e=Nr();if(l.track&&Er(window,"sessionStorage")){let t=sessionStorage.getItem("_cltk");e=t||e,sessionStorage.setItem("_cltk",e)}return e}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,`${window.devicePixelRatio}`),sr(28,c.dob.toString()),sr(29,c.version.toString()),sr(33,o),sr(34,a),sr(35,r),z(0,s.ts),z(1,0),z(35,mr),navigator&&(sr(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let e=navigator.userAgentData;e&&e.getHighEntropyValues?e.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{var t;sr(22,e.platform),sr(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((e=>{sr(24,e.name+"~"+e.version)})),sr(25,e.model),z(27,e.mobile?1:0)})):sr(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let e of l.cookies){let t=Ir(e);t&&ae(e,t)}!function(e){pr(e?1:0)}(l.track),Mr(c)}function vr(){gr=null,fr=null,hr.forEach((e=>{e.called=!1}))}function br(e,t=!0,n=!1){let i=l.lean?0:1,a=!1;fr&&(i||!1===t)&&(e(fr,!l.lean),a=!0),!n&&a||hr.push({callback:e,wait:t,recall:n,called:a})}function wr(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(e=!0){if(!e)return l.track=!1,Dr("_clsk","",-Number.MAX_VALUE),Dr("_clck","",-Number.MAX_VALUE),Io(),void window.setTimeout(_o,250);ao()&&(l.track=!0,Mr(_r(),1),Tr(),pr(2))}function Sr(){Dr("_clsk","",0)}function Or(){!function(e){if(hr.length>0)for(let t=0;t<hr.length;t++){const n=hr[t];!n.callback||n.called||n.wait&&!e||(n.callback(fr,!l.lean),n.called=!0,n.recall||(hr.splice(t,1),t--))}}(l.lean?0:1)}function Tr(){if(!fr||!l.track)return;let e=Math.round(Date.now()),t=l.upload&&"string"==typeof l.upload?l.upload.replace("https://",""):"",n=l.lean?0:1;Dr("_clsk",[fr.sessionId,e,fr.pageNum,n,t].join("|"),1)}function Er(e,t){try{return!!e[t]}catch(e){return!1}}function Mr(e,t=null){t=null===t?e.consent:t;let n=Math.ceil((Date.now()+31536e6)/864e5),i=0===e.dob?null===l.dob?0:l.dob:e.dob;if(null===e.expiry||Math.abs(n-e.expiry)>=1||e.consent!==t||e.dob!==i){Dr("_clck",[fr.userId,2,n.toString(36),t,i].join("|"),365)}}function Nr(){let e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function xr(e,t=10){return parseInt(e,t)}function _r(){let e={id:Nr(),version:0,expiry:null,consent:0,dob:0},t=Ir("_clck",!l.includeSubdomains);if(t&&t.length>0){let n=t.includes("^")?t.split("^"):t.split("|");n.length>1&&(e.version=xr(n[1])),n.length>2&&(e.expiry=xr(n[2],36)),n.length>3&&1===xr(n[3])&&(e.consent=1),n.length>4&&xr(n[1])>1&&(e.dob=xr(n[4])),l.track=l.track||1===e.consent,e.id=l.track?n[0]:e.id}return e}function Ir(e,t=!1){if(Er(document,"cookie")){let n=document.cookie.split(";");if(n)for(let i=0;i<n.length;i++){let a=n[i].split("=");if(a.length>1&&a[0]&&a[0].trim()===e){let[e,n]=Cr(a[1]);for(;e;)[e,n]=Cr(n);return t?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function Cr(e){try{let t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function Dr(e,t,n){if((l.track||""==t)&&(navigator&&navigator.cookieEnabled||Er(document,"cookie"))){let i=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);let r=`${e}=${i};${a?"expires="+a.toUTCString():""};path=/`;try{if(null===gr){let n=location.hostname?location.hostname.split("."):[];for(let i=n.length-1;i>=0;i--)if(gr=`.${n[i]}${gr||""}`,i<n.length-1&&(document.cookie=`${r};domain=${gr}`,Ir(e)===t))return;gr=""}}catch(e){gr=""}document.cookie=gr?`${r};domain=${gr}`:r}}let Rr,Pr=null;function Ar(){const e=fr;Pr={version:d,sequence:0,start:0,duration:0,projectId:e.projectId,userId:e.userId,sessionId:e.sessionId,pageNum:e.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Xr(){Pr=null}function Yr(e){return Pr.start=Pr.start+Pr.duration,Pr.duration=c()-Pr.start,Pr.sequence++,Pr.upload=e&&"sendBeacon"in navigator?1:0,Pr.end=e?1:0,Pr.applicationPlatform=0,Pr.url=w(location.href,!1,!0),[Pr.version,Pr.sequence,Pr.start,Pr.duration,Pr.projectId,Pr.userId,Pr.sessionId,Pr.pageNum,Pr.upload,Pr.end,Pr.applicationPlatform,Pr.url]}function jr(){Rr=[]}function $r(e){if(Rr&&-1===Rr.indexOf(e.message)){const t=l.report;if(t&&t.length>0){let n={v:Pr.version,p:Pr.projectId,u:Pr.userId,s:Pr.sessionId,n:Pr.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);let i=new XMLHttpRequest;i.open("POST",t,!0),i.send(JSON.stringify(n)),Rr.push(e.message)}}return e}function Lr(e){return function(){let t=performance.now();try{e.apply(this,arguments)}catch(e){throw $r(e)}let n=performance.now()-t;W(4,n),n>30&&(L(7),z(6,n),_a(9,0,`${e.dn||e.name}-${n}`))}}let Wr=new Map;function zr(e,t,n,i=!1,a=!0){n=Lr(n);try{e[u("addEventListener")](t,n,{capture:i,passive:a}),Ur(e)||Wr.set(e,[]),Wr.get(e).push({event:t,listener:n,options:{capture:i,passive:a}})}catch(e){}}function Hr(){Wr.forEach(((e,t)=>{Fr(e,t)})),Wr=new Map}function qr(e){Ur(e)&&Fr(Wr.get(e),e)}function Ur(e){return Wr.has(e)}function Fr(e,t){e.forEach((e=>{try{t[u("removeEventListener")](e.event,e.listener,{capture:e.options.capture,passive:e.options.passive})}catch(e){}})),Wr.delete(t)}let Vr=null,Br=null,Jr=null,Kr=0;function Gr(){return!(Kr++>20)||(_a(4,0),!1)}function Zr(){Zr.dn=1,Kr=0,Jr!==eo()&&(Io(),window.setTimeout(Qr,250))}function Qr(){_o(),z(29,1)}function eo(){return location.href?location.href.replace(location.hash,""):location.href}let to=!1;function no(){to=!0,s=performance.now()+performance.timeOrigin,Xa(),Hr(),jr(),Jr=eo(),Kr=0,zr(window,"popstate",Zr),null===Vr&&(Vr=history.pushState,history.pushState=function(){Vr.apply(this,arguments),ao()&&Gr()&&Zr()}),null===Br&&(Br=history.replaceState,history.replaceState=function(){Br.apply(this,arguments),ao()&&Gr()&&Zr()})}function io(){Jr=null,Kr=0,jr(),Hr(),Xa(),s=0,to=!1}function ao(){return to}function ro(){ro.dn=2,_o(),X("clarity","restart")}var oo=Object.freeze({__proto__:null,start:function e(){e.dn=3,function(){Re=[],z(26,navigator.webdriver?1:0);try{z(31,window.top==window.self||window.top==window?1:2)}catch(e){z(31,0)}}(),zr(window,"error",Ea),Ta={},xa={}},stop:function(){xa={}}});var lo=Object.freeze({__proto__:null,hashText:Ci,start:function e(){e.dn=20,wn(),kn(),Qi(),Fi=null,zi=new WeakMap,Hi={},qi=[],Ui=!!window.IntersectionObserver,vi(),l.delayDom?zr(window,"load",(()=>{Rn()})):Rn(),Ua(),Jt(),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(cn(),pn(tn,"play"),pn(nn,"pause"),pn(an,"commitStyles"),pn(rn,"cancel"),pn(on,"finish"),null===en&&(en=Element.prototype.animate,Element.prototype.animate=function(){var e=en.apply(this,arguments);return fn(e,"play"),e}),document.getAnimations))for(var e of document.getAnimations())"finished"===e.playState?fn(e,"finish"):"paused"===e.playState||"idle"===e.playState?fn(e,"pause"):"running"===e.playState&&fn(e,"play")}()},stop:function(){Qi(),zi=null,Hi={},qi=[],Fi&&(Fi.disconnect(),Fi=null),Ui=!1,bi(),function(){for(let e of Array.from(On))e&&e.disconnect();On=new Set,In={},Tn=[],En={},Mn=[],_n=0,Nn=null,Cn=new WeakMap}(),wn(),qt={},Ut={},Ft=[],Vt=[],Gt(),cn()}});let uo=null;function so(){uo=null}function co(e){uo={fetchStart:Math.round(e.fetchStart),connectStart:Math.round(e.connectStart),connectEnd:Math.round(e.connectEnd),requestStart:Math.round(e.requestStart),responseStart:Math.round(e.responseStart),responseEnd:Math.round(e.responseEnd),domInteractive:Math.round(e.domInteractive),domComplete:Math.round(e.domComplete),loadEventStart:Math.round(e.loadEventStart),loadEventEnd:Math.round(e.loadEventEnd),redirectCount:Math.round(e.redirectCount),size:e.transferSize?e.transferSize:0,type:e.type,protocol:e.nextHopProtocol,encodedSize:e.encodedBodySize?e.encodedBodySize:0,decodedSize:e.decodedBodySize?e.decodedBodySize:0},async function(e){let t=[c(),e];29===e&&(t.push(uo.fetchStart),t.push(uo.connectStart),t.push(uo.connectEnd),t.push(uo.requestStart),t.push(uo.responseStart),t.push(uo.responseEnd),t.push(uo.domInteractive),t.push(uo.domComplete),t.push(uo.loadEventStart),t.push(uo.loadEventEnd),t.push(uo.redirectCount),t.push(uo.size),t.push(uo.type),t.push(uo.protocol),t.push(uo.encodedSize),t.push(uo.decodedSize),so(),ya(t))}(29)}let po=0,fo=1/0,ho=0,mo=0;const go=[],yo=new Map,vo=()=>po||0,bo=()=>{if(!go.length)return-1;const e=Math.min(go.length-1,Math.floor((vo()-mo)/50));return go[e].latency},wo=()=>{mo=vo(),go.length=0,yo.clear()},ko=e=>{if(!e.interactionId||e.duration<40)return;(e=>{"interactionCount"in performance?po=performance.interactionCount:e.interactionId&&(fo=Math.min(fo,e.interactionId),ho=Math.max(ho,e.interactionId),po=ho?(ho-fo)/7+1:0)})(e);const t=go[go.length-1],n=yo.get(e.interactionId);if(n||go.length<10||e.duration>(null==t?void 0:t.latency)){if(n)e.duration>n.latency&&(n.latency=e.duration);else{const t={id:e.interactionId,latency:e.duration};yo.set(t.id,t),go.push(t)}go.sort(((e,t)=>t.latency-e.latency)),go.length>10&&go.splice(10).forEach((e=>yo.delete(e.id)))}};let So;const Oo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function To(){To.dn=26;try{So&&So.disconnect(),So=new PerformanceObserver(Lr(Eo));for(let e of Oo)PerformanceObserver.supportedEntryTypes.indexOf(e)>=0&&("layout-shift"===e&&W(9,0),So.observe({type:e,buffered:!0}))}catch(e){_a(3,1)}}function Eo(e){Eo.dn=27,function(e){let t=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<e.length;n++){let i=e[n];switch(i.entryType){case"navigation":co(i);break;case"resource":let e=i.name;sr(4,Mo(e)),e!==l.upload&&e!==l.fallback||z(28,i.duration);break;case"longtask":L(7);break;case"first-input":t&&z(10,i.processingStart-i.startTime);break;case"event":t&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(ko(i),sr(37,bo().toString()));break;case"layout-shift":t&&!i.hadRecentInput&&W(9,1e3*i.value);break;case"largest-contentful-paint":t&&z(8,i.startTime)}}}(e.getEntries())}function Mo(e){let t=document.createElement("a");return t.href=e,t.host}var No=Object.freeze({__proto__:null,start:function e(){e.dn=25,so(),function(){navigator&&"connection"in navigator&&sr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?zr(window,"load",H.bind(this,To,0)):To():_a(3,0)}()},stop:function(){So&&So.disconnect(),So=null,wo(),so()}});const xo=[oo,lo,Lt,No];function _o(e=null){(function(){try{let e=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===to&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!e}catch(e){return!1}})()&&(!function(e){if(null===e||to)return!1;for(let t in e)t in l&&(l[t]=e[t])}(e),no(),_e(),xo.forEach((e=>Lr(e.start)())),null===e&&Po())}function Io(){ao()&&(xo.slice().reverse().forEach((e=>Lr(e.stop)())),Ie(),io(),void 0!==Do&&(Do[Ro]=function(){(Do[Ro].q=Do[Ro].q||[]).push(arguments),"start"===arguments[0]&&Do[Ro].q.unshift(Do[Ro].q.pop())&&Po()}))}var Co=Object.freeze({__proto__:null,consent:kr,event:X,hashText:Ci,identify:re,metadata:br,pause:function(){ao()&&(X("clarity","pause"),null===Pa&&(Pa=new Promise((e=>{Aa=e}))))},resume:function(){ao()&&(Pa&&(Aa(),Pa=null,null===Ra&&ja()),X("clarity","resume"))},set:ae,signal:function(e){Me=e},start:_o,stop:Io,upgrade:Ka,version:d});const Do=window,Ro="clarity";function Po(){if(void 0!==Do){if(Do[Ro]&&Do[Ro].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let e=Do[Ro]&&Do[Ro].q||[];for(Do[Ro]=function(e,...t){return Co[e](...t)},Do[Ro].v=d;e.length>0;)Do[Ro](...e.shift())}}Po()}();
|
package/build/clarity.module.js
CHANGED
|
@@ -146,10 +146,6 @@ let config$2 = {
|
|
|
146
146
|
throttleDom: true,
|
|
147
147
|
conversions: false,
|
|
148
148
|
includeSubdomains: true,
|
|
149
|
-
throttleMutations: false,
|
|
150
|
-
dropMutations: false,
|
|
151
|
-
criticalMs: 200,
|
|
152
|
-
discard: [],
|
|
153
149
|
};
|
|
154
150
|
|
|
155
151
|
function api(method) {
|
|
@@ -176,7 +172,7 @@ function stop$F() {
|
|
|
176
172
|
startTime = 0;
|
|
177
173
|
}
|
|
178
174
|
|
|
179
|
-
let version$1 = "0.8.
|
|
175
|
+
let version$1 = "0.8.9-beta";
|
|
180
176
|
|
|
181
177
|
// tslint:disable: no-bitwise
|
|
182
178
|
function hash (input, precision = null) {
|
|
@@ -2433,10 +2429,8 @@ function track$5(m, timer, instance, timestamp) {
|
|
|
2433
2429
|
if (instance > timestamp + 3000 /* Setting.MutationActivePeriod */) {
|
|
2434
2430
|
return m.type;
|
|
2435
2431
|
}
|
|
2436
|
-
if
|
|
2437
|
-
|
|
2438
|
-
throttledMutations[key] = { mutation: m, timestamp };
|
|
2439
|
-
}
|
|
2432
|
+
// we only store the most recent mutation for a given key if it is being throttled
|
|
2433
|
+
throttledMutations[key] = { mutation: m, timestamp };
|
|
2440
2434
|
return "throttle" /* Constant.Throttle */;
|
|
2441
2435
|
}
|
|
2442
2436
|
}
|
|
@@ -4762,7 +4756,7 @@ function save() {
|
|
|
4762
4756
|
let ts = Math.round(Date.now());
|
|
4763
4757
|
let upload = config$2.upload && typeof config$2.upload === "string" /* Constant.String */ ? config$2.upload.replace("https://" /* Constant.HTTPS */, "" /* Constant.Empty */) : "" /* Constant.Empty */;
|
|
4764
4758
|
let upgrade = config$2.lean ? 0 /* BooleanFlag.False */ : 1 /* BooleanFlag.True */;
|
|
4765
|
-
setCookie("_clsk" /* Constant.SessionKey */, [data$2.sessionId, ts, data$2.pageNum, upgrade, upload].join("
|
|
4759
|
+
setCookie("_clsk" /* Constant.SessionKey */, [data$2.sessionId, ts, data$2.pageNum, upgrade, upload].join("|" /* Constant.Pipe */), 1 /* Setting.SessionExpire */);
|
|
4766
4760
|
}
|
|
4767
4761
|
function processCallback(upgrade) {
|
|
4768
4762
|
if (callbacks.length > 0) {
|
|
@@ -4798,7 +4792,7 @@ function track(u, consent = null) {
|
|
|
4798
4792
|
// To avoid cookie churn, write user id cookie only once every day
|
|
4799
4793
|
if (u.expiry === null || Math.abs(end - u.expiry) >= 1 /* Setting.CookieInterval */ || u.consent !== consent || u.dob !== dob) {
|
|
4800
4794
|
let cookieParts = [data$2.userId, 2 /* Setting.CookieVersion */, end.toString(36), consent, dob];
|
|
4801
|
-
setCookie("_clck" /* Constant.CookieKey */, cookieParts.join("
|
|
4795
|
+
setCookie("_clck" /* Constant.CookieKey */, cookieParts.join("|" /* Constant.Pipe */), 365 /* Setting.Expire */);
|
|
4802
4796
|
}
|
|
4803
4797
|
}
|
|
4804
4798
|
function shortid() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return gt},get start(){return ht},get stop(){return mt},get track(){return lt}}),e=Object.freeze({__proto__:null,get check(){return _t},get compute(){return It},get data(){return st},get start(){return St},get stop(){return Mt},get trigger(){return Et}}),n=Object.freeze({__proto__:null,get compute(){return Ct},get data(){return Ot},get log(){return $t},get reset(){return At},get start(){return xt},get stop(){return zt},get updates(){return Tt}}),o=Object.freeze({__proto__:null,get callback(){return Yt},get callbacks(){return Nt},get clear(){return Bt},get consent(){return Vt},get data(){return Pt},get electron(){return Dt},get id(){return Lt},get metadata(){return Xt},get save(){return Wt},get shortid(){return Ft},get start(){return Ht},get stop(){return Ut}}),r=Object.freeze({__proto__:null,get data(){return oe},get envelope(){return ie},get start(){return re},get stop(){return ae}});let a={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,throttleMutations:!1,dropMutations:!1,criticalMs:200,discard:[]};function i(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}let u=0;function l(t=null){let 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-u),0)}let s="0.8.8-beta";const c=255;let d=!0,p=null,f=null,h=null;function g(t,e=!1,n=!1){let o=t;if(e)o="https://Electron";else{let e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){let[n,r]=t.split("?"),a="*na*";o=n+"?"+r.split("&").map((t=>e.some((e=>0===t.indexOf(`${e}=`)))?`${t.split("=")[0]}=${a}`:t)).join("&")}}return n&&(o=o.substring(0,c)),o}function m(t,e,n){return function(){if(d&&null===p)try{p=new RegExp("\\p{N}","gu"),f=new RegExp("\\p{L}","gu"),h=new RegExp("\\p{Sc}","gu")}catch(t){d=!1}}(),t?t.replace(f,e).replace(p,n):t}let y=[],v=null;function w(){}let k=[];function b(){}function S(){}var _=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:v,hashText:b,keys:k,log:w,observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:y,stop:function(){},trigger:S});let E=null;function I(t,e){ze()&&t&&"string"==typeof t&&t.length<255&&(E=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},bt(24))}let M,O=null,T=null;function j(t){t in O||(O[t]=0),t in T||(T[t]=0),O[t]++,T[t]++}function x(t,e){null!==e&&(t in O||(O[t]=0),t in T||(T[t]=0),O[t]+=e,T[t]+=e)}function z(t,e){null!==e&&!1===isNaN(e)&&(t in O||(O[t]=0),(e>O[t]||0===O[t])&&(T[t]=e,O[t]=e))}function $(t,e,n){return window.setTimeout(se(t),e,n)}function C(t){return window.clearTimeout(t)}let A=0,q=0,P=null;function N(){P&&C(P),P=$(D,q),A=l()}function D(){let t=l();M={gap:t-A},bt(25),M.gap<3e5?P=$(D,q):Te&&(I("clarity","suspend"),tn(),["mousemove","touchstart"].forEach((t=>de(document,t,$e))),["resize","scroll","pageshow"].forEach((t=>de(window,t,$e))))}var R=Object.freeze({__proto__:null,get data(){return M},reset:N,start:function(){q=6e4,A=0},stop:function(){C(P),A=0,q=0}});let H=null;function U(t){ze()&&a.lean&&(a.lean=!1,H={key:t},Yt(),Wt(),a.upgrade&&a.upgrade(t),bt(3),a.lite)}var X=Object.freeze({__proto__:null,get data(){return H},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),H=null},stop:function(){H=null},upgrade:U});let L=null;function V(t,e){Y(t,"string"==typeof e?[e]:e)}async function B(t,e=null,n=null,o=null){let r={userId:await Z(t),userHint:o||(a=t,a&&a.length>=5?`${a.substring(0,2)}${m(a.substring(2),"*","*")}`:m(a,"*","*"))};var a;return Y("userId",[r.userId]),Y("userHint",[r.userHint]),Y("userType",[F(t)]),e&&(Y("sessionId",[e]),r.sessionId=e),n&&(Y("pageId",[n]),r.pageId=n),r}function Y(t,e){if(ze()&&t&&e&&"string"==typeof t&&t.length<255){let n=t in L?L[t]:[];for(let t=0;t<e.length;t++)"string"==typeof e[t]&&e[t].length<255&&n.push(e[t]);L[t]=n}}function W(){bt(34)}function J(){L={}}async function Z(t){try{if(crypto&&t){const e=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t));return Array.prototype.map.call(new Uint8Array(e),(t=>("00"+t.toString(16)).slice(-2))).join("")}return""}catch(t){return""}}function F(t){return t&&t.indexOf("@")>0?"email":"string"}const G="CompressionStream"in window;let K=null;function Q(t){try{if(!K)return;const e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((t=>{K(t)}))}catch(t){}}const tt=[_,n,Object.freeze({__proto__:null,compute:W,get data(){return L},identify:B,reset:J,set:V,start:function(){J()},stop:function(){J()}}),e,_,o,r,t,R,X,_];function et(){O={},T={},j(5),tt.forEach((t=>se(t.start)()))}function nt(){tt.slice().reverse().forEach((t=>se(t.stop)())),O={},T={}}function ot(){W(),Ct(),bt(0),It()}let rt,at,it,ut,lt,st,ct=0,dt=0,pt=null,ft=0;function ht(){ut=!0,ct=0,dt=0,ft=0,rt=[],at=[],it={},lt=null}function gt(t,e=!0){if(ut){let n=l(),o=t.length>1?t[1]:null,r=JSON.stringify(t);switch(o){case 5:ct+=r.length;case 37:case 6:case 43:case 45:case 46:dt+=r.length,rt.push(r);break;default:at.push(r)}j(25);let i=function(){let t=!1===a.lean&&ct>0?100:oe.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();n-ft>2*i&&(C(pt),pt=null),e&&null===pt&&(25!==o&&N(),pt=$(yt,i),ft=n,_t(dt))}}function mt(){C(pt),yt(!0),ct=0,dt=0,ft=0,rt=[],at=[],it={},lt=null,ut=!1}async function yt(t=!1){pt=null;let e=!1===a.lean&&dt>0&&(dt<1048576||oe.sequence>0);e&&z(1,1),ot();let n=!0===t,o=function(t){return t.p.length>0?`{"e":${t.e},"a":${t.a},"p":${t.p}}`:`{"e":${t.e},"a":${t.a}}`}({e:JSON.stringify(ie(n)),a:`[${at.join()}]`,p:e?`[${rt.join()}]`:""}),r=n?null:await async function(t){try{if(G){const e=new ReadableStream({async start(e){e.enqueue(t),e.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(t){const e=t.getReader(),n=[];let o=!1,r=[];for(;!o;){if(({done:o,value:r}=await e.read()),o)return n;n.push(...r)}return n}(e))}}catch(t){}return null}(o);x(2,r?r.length:o.length),vt(o,r,oe.sequence,n),at=[],e&&(rt=[],dt=0,ct=0)}function vt(t,e,n,o=!1){if("string"==typeof a.upload){const r=a.upload;let i=!1;if(o&&"sendBeacon"in navigator)try{i=navigator.sendBeacon.bind(navigator)(r,t),i&&kt(n)}catch(t){}if(!1===i){n in it?it[n].attempts++:it[n]={data:t,attempts:1};let o=new XMLHttpRequest;o.open("POST",r,!0),o.timeout=15e3,o.ontimeout=()=>{le(new Error(`Timeout : ${r}`))},null!==n&&(o.onreadystatechange=()=>{se(wt)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(a.upload){(0,a.upload)(t),kt(n)}}function wt(t,e){var n=it[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Et(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),vt(n.data,null,e)):(lt={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&bt(2),200===t.status&&t.responseText&&function(t){let e=t&&t.length>0?t.split("\n"):[];for(var n of e){let t=n&&n.length>0?n.split(/ (.*)/):[""];switch(t[0]){case"END":Et(6);break;case"UPGRADE":U("Auto");break;case"ACTION":a.action&&t.length>1&&a.action(t[1]);break;case"EXTRACT":t.length>1&&t[1];break;case"SIGNAL":t.length>1&&Q(t[1])}}}(t.responseText),0===t.status&&(vt(n.data,null,e,!0),Et(3)),t.status>=200&&t.status<=208&&kt(e),delete it[e]))}function kt(t){1===t&&(Wt(),Yt())}function bt(t){let e=[l(),t];switch(t){case 4:let t=y;t&&(e=[t.time,t.event],e.push(t.data.visible),e.push(t.data.docWidth),e.push(t.data.docHeight),e.push(t.data.screenWidth),e.push(t.data.screenHeight),e.push(t.data.scrollX),e.push(t.data.scrollY),e.push(t.data.pointerX),e.push(t.data.pointerY),e.push(t.data.activityTime),e.push(t.data.scrollTime),e.push(t.data.pointerTime),e.push(t.data.moveX),e.push(t.data.moveY),e.push(t.data.moveTime),e.push(t.data.downX),e.push(t.data.downY),e.push(t.data.downTime),e.push(t.data.upX),e.push(t.data.upY),e.push(t.data.upTime),e.push(t.data.pointerPrevX),e.push(t.data.pointerPrevY),e.push(t.data.pointerPrevTime),gt(e,!1));break;case 25:e.push(M.gap),gt(e);break;case 35:e.push(st.check),gt(e,!1);break;case 3:e.push(H.key),gt(e);break;case 2:e.push(lt.sequence),e.push(lt.attempts),e.push(lt.status),gt(e,!1);break;case 24:E.key&&e.push(E.key),e.push(E.value),gt(e);break;case 34:let n=Object.keys(L);if(n.length>0){for(let t of n)e.push(t),e.push(L[t]);J(),gt(e,!1)}break;case 0:let o=Object.keys(T);if(o.length>0){for(let t of o){let n=parseInt(t,10);e.push(n),e.push(Math.round(T[t]))}T={},gt(e,!1)}break;case 1:let r=Object.keys(Tt);if(r.length>0){for(let t of r){let n=parseInt(t,10);e.push(n),e.push(Tt[t])}At(),gt(e,!1)}break;case 36:let a=Object.keys(v);if(a.length>0){for(let t of a){let n=parseInt(t,10);e.push(n),e.push([].concat(...v[t]))}gt(e,!1)}break;case 40:k.forEach((t=>{e.push(t);let n=[];for(let e in v[t]){let o=parseInt(e,10);n.push(o),n.push(v[t][e])}e.push(n)})),gt(e,!1)}}function St(){st={check:0}}function _t(t){if(0===st.check){let e=st.check;e=oe.sequence>=128?1:e,e=oe.pageNum>=128?7:e,e=l()>72e5?2:e,e=t>10485760?2:e,e!==st.check&&Et(e)}}function Et(t){st.check=t,5!==t&&(Bt(),tn())}function It(){0!==st.check&&bt(35)}function Mt(){st=null}let Ot=null,Tt=null,jt=!1;function xt(){Ot={},Tt={},jt=!1}function zt(){Ot={},Tt={},jt=!1}function $t(t,e){if(e&&(e=`${e}`,t in Ot||(Ot[t]=[]),Ot[t].indexOf(e)<0)){if(Ot[t].length>128)return void(jt||(jt=!0,Et(5)));Ot[t].push(e),t in Tt||(Tt[t]=[]),Tt[t].push(e)}}function Ct(){bt(1)}function At(){Tt={},jt=!1}function qt(t){$t(36,t.toString())}let Pt=null,Nt=[],Dt=0,Rt=null;function Ht(){var t,e,n;Rt=null;const o=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():"",l=document&&document.title?document.title:"";Dt=o.indexOf("Electron")>0?1:0;let s=function(){let t={session:Ft(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Qt("_clsk",!a.includeSubdomains);if(e){let n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Gt(n[1])<18e5&&(t.session=n[0],t.count=Gt(n[2])+1,t.upgrade=Gt(n[3]),t.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return t}(),c=Kt(),d=a.projectId||function(t,e=null){let n=0,o=5381,r=o;for(let e=0;e<t.length;e+=2)o=(o<<5)+o^t.charCodeAt(e),e+1<t.length&&(r=(r<<5)+r^t.charCodeAt(e+1));return n=Math.abs(o+11579*r),(e?n%Math.pow(2,e):n).toString(36)}(location.host);Pt={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,$t(0,o),$t(3,l),$t(1,g(location.href,!!Dt)),$t(2,document.referrer),$t(15,function(){let t=Ft();if(a.track&&Jt(window,"sessionStorage")){let e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),$t(16,document.documentElement.lang),$t(17,document.dir),$t(26,`${window.devicePixelRatio}`),$t(28,c.dob.toString()),$t(29,c.version.toString()),$t(33,u),$t(34,r),$t(35,i),z(0,s.ts),z(1,0),z(35,Dt),navigator&&($t(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let t=navigator.userAgentData;t&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((t=>{var e;$t(22,t.platform),$t(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((t=>{$t(24,t.name+"~"+t.version)})),$t(25,t.model),z(27,t.mobile?1:0)})):$t(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let t of a.cookies){let e=Qt(t);e&&V(t,e)}!function(t){qt(t?1:0)}(a.track),Zt(c)}function Ut(){Rt=null,Pt=null,Nt.forEach((t=>{t.called=!1}))}function Xt(t,e=!0,n=!1){let o=a.lean?0:1,r=!1;Pt&&(o||!1===e)&&(t(Pt,!a.lean),r=!0),!n&&r||Nt.push({callback:t,wait:e,recall:n,called:r})}function Lt(){return Pt?[Pt.userId,Pt.sessionId,Pt.pageNum].join("."):""}function Vt(t=!0){if(!t)return a.track=!1,ee("_clsk","",-Number.MAX_VALUE),ee("_clck","",-Number.MAX_VALUE),tn(),void window.setTimeout(Qe,250);ze()&&(a.track=!0,Zt(Kt(),1),Wt(),qt(2))}function Bt(){ee("_clsk","",0)}function Yt(){!function(t){if(Nt.length>0)for(let e=0;e<Nt.length;e++){const n=Nt[e];!n.callback||n.called||n.wait&&!t||(n.callback(Pt,!a.lean),n.called=!0,n.recall||(Nt.splice(e,1),e--))}}(a.lean?0:1)}function Wt(){if(!Pt||!a.track)return;let t=Math.round(Date.now()),e=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;ee("_clsk",[Pt.sessionId,t,Pt.pageNum,n,e].join("^"),1)}function Jt(t,e){try{return!!t[e]}catch(t){return!1}}function Zt(t,e=null){e=null===e?t.consent:e;let n=Math.ceil((Date.now()+31536e6)/864e5),o=0===t.dob?null===a.dob?0:a.dob:t.dob;if(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==o){ee("_clck",[Pt.userId,2,n.toString(36),e,o].join("^"),365)}}function Ft(){let 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 Gt(t,e=10){return parseInt(t,e)}function Kt(){let t={id:Ft(),version:0,expiry:null,consent:0,dob:0},e=Qt("_clck",!a.includeSubdomains);if(e&&e.length>0){let n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Gt(n[1])),n.length>2&&(t.expiry=Gt(n[2],36)),n.length>3&&1===Gt(n[3])&&(t.consent=1),n.length>4&&Gt(n[1])>1&&(t.dob=Gt(n[4])),a.track=a.track||1===t.consent,t.id=a.track?n[0]:t.id}return t}function Qt(t,e=!1){if(Jt(document,"cookie")){let n=document.cookie.split(";");if(n)for(let o=0;o<n.length;o++){let r=n[o].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){let[t,n]=te(r[1]);for(;t;)[t,n]=te(n);return e?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function te(t){try{let e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function ee(t,e,n){if((a.track||""==e)&&(navigator&&navigator.cookieEnabled||Jt(document,"cookie"))){let o=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);let a=`${t}=${o};${r?"expires="+r.toUTCString():""};path=/`;try{if(null===Rt){let n=location.hostname?location.hostname.split("."):[];for(let o=n.length-1;o>=0;o--)if(Rt=`.${n[o]}${Rt||""}`,o<n.length-1&&(document.cookie=`${a};domain=${Rt}`,Qt(t)===e))return;Rt=""}}catch(t){Rt=""}document.cookie=Rt?`${a};domain=${Rt}`:a}}let ne,oe=null;function re(){const t=Pt;oe={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function ae(){oe=null}function ie(t){return oe.start=oe.start+oe.duration,oe.duration=l()-oe.start,oe.sequence++,oe.upload=t&&"sendBeacon"in navigator?1:0,oe.end=t?1:0,oe.applicationPlatform=0,oe.url=g(location.href,!1,!0),[oe.version,oe.sequence,oe.start,oe.duration,oe.projectId,oe.userId,oe.sessionId,oe.pageNum,oe.upload,oe.end,oe.applicationPlatform,oe.url]}function ue(){ne=[]}function le(t){if(ne&&-1===ne.indexOf(t.message)){const e=a.report;if(e&&e.length>0){let n={v:oe.version,p:oe.projectId,u:oe.userId,s:oe.sessionId,n:oe.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);let o=new XMLHttpRequest;o.open("POST",e,!0),o.send(JSON.stringify(n)),ne.push(t.message)}}return t}function se(t){return function(){let e=performance.now();try{t.apply(this,arguments)}catch(t){throw le(t)}let n=performance.now()-e;x(4,n),n>30&&(j(7),z(6,n),t.dn||t.name)}}let ce=new Map;function de(t,e,n,o=!1,r=!0){n=se(n);try{t[i("addEventListener")](e,n,{capture:o,passive:r}),function(t){return ce.has(t)}(t)||ce.set(t,[]),ce.get(t).push({event:e,listener:n,options:{capture:o,passive:r}})}catch(t){}}function pe(){ce.forEach(((t,e)=>{!function(t,e){t.forEach((t=>{try{e[i("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),ce.delete(e)}(t,e)})),ce=new Map}let fe=null,he=null,ge=null,me=0;function ye(){return!(me++>20)}function ve(){ve.dn=1,me=0,ge!==ke()&&(tn(),window.setTimeout(we,250))}function we(){Qe(),z(29,1)}function ke(){return location.href?location.href.replace(location.hash,""):location.href}let be=[],Se=null,_e=null,Ee=null;function Ie(){_e&&(Ee(),_e=null,null===Se&&Oe())}function Me(){be=[],Se=null,_e=null}function Oe(){let t=be.shift();t&&(Se=t,t.task().then((()=>{t.id===Lt()&&(t.resolve(),Se=null,Oe())})).catch((e=>{t.id===Lt()&&(e&&(e.name,e.message,e.stack),Se=null,Oe())})))}let Te=!1;function je(){Te=!0,u=performance.now()+performance.timeOrigin,Me(),pe(),ue(),ge=ke(),me=0,de(window,"popstate",ve),null===fe&&(fe=history.pushState,history.pushState=function(){fe.apply(this,arguments),ze()&&ye()&&ve()}),null===he&&(he=history.replaceState,history.replaceState=function(){he.apply(this,arguments),ze()&&ye()&&ve()})}function xe(){ge=null,me=0,ue(),pe(),Me(),u=0,Te=!1}function ze(){return Te}function $e(){$e.dn=2,Qe(),I("clarity","restart")}let Ce=null;function Ae(){Ce=null}function qe(t){Ce={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},async function(t){let e=[l(),t];29===t&&(e.push(Ce.fetchStart),e.push(Ce.connectStart),e.push(Ce.connectEnd),e.push(Ce.requestStart),e.push(Ce.responseStart),e.push(Ce.responseEnd),e.push(Ce.domInteractive),e.push(Ce.domComplete),e.push(Ce.loadEventStart),e.push(Ce.loadEventEnd),e.push(Ce.redirectCount),e.push(Ce.size),e.push(Ce.type),e.push(Ce.protocol),e.push(Ce.encodedSize),e.push(Ce.decodedSize),Ae(),gt(e))}(29)}let Pe=0,Ne=1/0,De=0,Re=0;const He=[],Ue=new Map,Xe=()=>Pe||0,Le=()=>{if(!He.length)return-1;const t=Math.min(He.length-1,Math.floor((Xe()-Re)/50));return He[t].latency},Ve=()=>{Re=Xe(),He.length=0,Ue.clear()},Be=t=>{if(!t.interactionId||t.duration<40)return;(t=>{"interactionCount"in performance?Pe=performance.interactionCount:t.interactionId&&(Ne=Math.min(Ne,t.interactionId),De=Math.max(De,t.interactionId),Pe=De?(De-Ne)/7+1:0)})(t);const e=He[He.length-1],n=Ue.get(t.interactionId);if(n||He.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{const e={id:t.interactionId,latency:t.duration};Ue.set(e.id,e),He.push(e)}He.sort(((t,e)=>e.latency-t.latency)),He.length>10&&He.splice(10).forEach((t=>Ue.delete(t.id)))}};let Ye;const We=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Je(){Je.dn=26;try{Ye&&Ye.disconnect(),Ye=new PerformanceObserver(se(Ze));for(let t of We)PerformanceObserver.supportedEntryTypes.indexOf(t)>=0&&("layout-shift"===t&&x(9,0),Ye.observe({type:t,buffered:!0}))}catch(t){}}function Ze(t){Ze.dn=27,function(t){let e=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<t.length;n++){let o=t[n];switch(o.entryType){case"navigation":qe(o);break;case"resource":let t=o.name;$t(4,Fe(t)),t!==a.upload&&t!==a.fallback||z(28,o.duration);break;case"longtask":j(7);break;case"first-input":e&&z(10,o.processingStart-o.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(Be(o),$t(37,Le().toString()));break;case"layout-shift":e&&!o.hadRecentInput&&x(9,1e3*o.value);break;case"largest-contentful-paint":e&&z(8,o.startTime)}}}(t.getEntries())}function Fe(t){let e=document.createElement("a");return e.href=t,e.host}var Ge=Object.freeze({__proto__:null,start:function t(){t.dn=25,Ae(),function(){navigator&&"connection"in navigator&&$t(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?de(window,"load",$.bind(this,Je,0)):Je())}()},stop:function(){Ye&&Ye.disconnect(),Ye=null,Ve(),Ae()}});const Ke=[_,_,_,Ge];function Qe(t=null){(function(){try{let t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Te&&"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||Te)return!1;for(let e in t)e in a&&(a[e]=t[e])}(t),je(),et(),Ke.forEach((t=>se(t.start)())),null===t&&rn())}function tn(){ze()&&(Ke.slice().reverse().forEach((t=>se(t.stop)())),nt(),xe(),void 0!==nn&&(nn[on]=function(){(nn[on].q=nn[on].q||[]).push(arguments),"start"===arguments[0]&&nn[on].q.unshift(nn[on].q.pop())&&rn()}))}var en=Object.freeze({__proto__:null,consent:Vt,event:I,hashText:b,identify:B,metadata:Xt,pause:function(){ze()&&(I("clarity","pause"),null===_e&&(_e=new Promise((t=>{Ee=t}))))},resume:function(){ze()&&(Ie(),I("clarity","resume"))},set:V,signal:function(t){K=t},start:Qe,stop:tn,upgrade:U,version:s});const nn=window,on="clarity";function rn(){if(void 0!==nn){if(nn[on]&&nn[on].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let t=nn[on]&&nn[on].q||[];for(nn[on]=function(t,...e){return en[t](...e)},nn[on].v=s;t.length>0;)nn[on](...t.shift())}}rn()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return gt},get start(){return ht},get stop(){return mt},get track(){return lt}}),e=Object.freeze({__proto__:null,get check(){return _t},get compute(){return It},get data(){return st},get start(){return St},get stop(){return Mt},get trigger(){return Et}}),n=Object.freeze({__proto__:null,get compute(){return Ct},get data(){return Ot},get log(){return $t},get reset(){return At},get start(){return xt},get stop(){return zt},get updates(){return Tt}}),o=Object.freeze({__proto__:null,get callback(){return Yt},get callbacks(){return Nt},get clear(){return Bt},get consent(){return Vt},get data(){return Pt},get electron(){return Dt},get id(){return Lt},get metadata(){return Xt},get save(){return Wt},get shortid(){return Ft},get start(){return Ht},get stop(){return Ut}}),r=Object.freeze({__proto__:null,get data(){return oe},get envelope(){return ie},get start(){return re},get stop(){return ae}});let a={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function i(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}let u=0;function l(t=null){let 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-u),0)}let s="0.8.9-beta";const c=255;let d=!0,p=null,f=null,h=null;function g(t,e=!1,n=!1){let o=t;if(e)o="https://Electron";else{let e=a.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){let[n,r]=t.split("?"),a="*na*";o=n+"?"+r.split("&").map((t=>e.some((e=>0===t.indexOf(`${e}=`)))?`${t.split("=")[0]}=${a}`:t)).join("&")}}return n&&(o=o.substring(0,c)),o}function m(t,e,n){return function(){if(d&&null===p)try{p=new RegExp("\\p{N}","gu"),f=new RegExp("\\p{L}","gu"),h=new RegExp("\\p{Sc}","gu")}catch(t){d=!1}}(),t?t.replace(f,e).replace(p,n):t}let y=[],v=null;function w(){}let k=[];function b(){}function S(){}var _=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:v,hashText:b,keys:k,log:w,observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:y,stop:function(){},trigger:S});let E=null;function I(t,e){ze()&&t&&"string"==typeof t&&t.length<255&&(E=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},bt(24))}let M,O=null,T=null;function j(t){t in O||(O[t]=0),t in T||(T[t]=0),O[t]++,T[t]++}function x(t,e){null!==e&&(t in O||(O[t]=0),t in T||(T[t]=0),O[t]+=e,T[t]+=e)}function z(t,e){null!==e&&!1===isNaN(e)&&(t in O||(O[t]=0),(e>O[t]||0===O[t])&&(T[t]=e,O[t]=e))}function $(t,e,n){return window.setTimeout(se(t),e,n)}function C(t){return window.clearTimeout(t)}let A=0,q=0,P=null;function N(){P&&C(P),P=$(D,q),A=l()}function D(){let t=l();M={gap:t-A},bt(25),M.gap<3e5?P=$(D,q):Te&&(I("clarity","suspend"),tn(),["mousemove","touchstart"].forEach((t=>de(document,t,$e))),["resize","scroll","pageshow"].forEach((t=>de(window,t,$e))))}var R=Object.freeze({__proto__:null,get data(){return M},reset:N,start:function(){q=6e4,A=0},stop:function(){C(P),A=0,q=0}});let H=null;function U(t){ze()&&a.lean&&(a.lean=!1,H={key:t},Yt(),Wt(),a.upgrade&&a.upgrade(t),bt(3),a.lite)}var X=Object.freeze({__proto__:null,get data(){return H},start:function(){!a.lean&&a.upgrade&&a.upgrade("Config"),H=null},stop:function(){H=null},upgrade:U});let L=null;function V(t,e){Y(t,"string"==typeof e?[e]:e)}async function B(t,e=null,n=null,o=null){let r={userId:await Z(t),userHint:o||(a=t,a&&a.length>=5?`${a.substring(0,2)}${m(a.substring(2),"*","*")}`:m(a,"*","*"))};var a;return Y("userId",[r.userId]),Y("userHint",[r.userHint]),Y("userType",[F(t)]),e&&(Y("sessionId",[e]),r.sessionId=e),n&&(Y("pageId",[n]),r.pageId=n),r}function Y(t,e){if(ze()&&t&&e&&"string"==typeof t&&t.length<255){let n=t in L?L[t]:[];for(let t=0;t<e.length;t++)"string"==typeof e[t]&&e[t].length<255&&n.push(e[t]);L[t]=n}}function W(){bt(34)}function J(){L={}}async function Z(t){try{if(crypto&&t){const e=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t));return Array.prototype.map.call(new Uint8Array(e),(t=>("00"+t.toString(16)).slice(-2))).join("")}return""}catch(t){return""}}function F(t){return t&&t.indexOf("@")>0?"email":"string"}const G="CompressionStream"in window;let K=null;function Q(t){try{if(!K)return;const e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((t=>{K(t)}))}catch(t){}}const tt=[_,n,Object.freeze({__proto__:null,compute:W,get data(){return L},identify:B,reset:J,set:V,start:function(){J()},stop:function(){J()}}),e,_,o,r,t,R,X,_];function et(){O={},T={},j(5),tt.forEach((t=>se(t.start)()))}function nt(){tt.slice().reverse().forEach((t=>se(t.stop)())),O={},T={}}function ot(){W(),Ct(),bt(0),It()}let rt,at,it,ut,lt,st,ct=0,dt=0,pt=null,ft=0;function ht(){ut=!0,ct=0,dt=0,ft=0,rt=[],at=[],it={},lt=null}function gt(t,e=!0){if(ut){let n=l(),o=t.length>1?t[1]:null,r=JSON.stringify(t);switch(o){case 5:ct+=r.length;case 37:case 6:case 43:case 45:case 46:dt+=r.length,rt.push(r);break;default:at.push(r)}j(25);let i=function(){let t=!1===a.lean&&ct>0?100:oe.sequence*a.delay;return"string"==typeof a.upload?Math.max(Math.min(t,3e4),100):a.delay}();n-ft>2*i&&(C(pt),pt=null),e&&null===pt&&(25!==o&&N(),pt=$(yt,i),ft=n,_t(dt))}}function mt(){C(pt),yt(!0),ct=0,dt=0,ft=0,rt=[],at=[],it={},lt=null,ut=!1}async function yt(t=!1){pt=null;let e=!1===a.lean&&dt>0&&(dt<1048576||oe.sequence>0);e&&z(1,1),ot();let n=!0===t,o=function(t){return t.p.length>0?`{"e":${t.e},"a":${t.a},"p":${t.p}}`:`{"e":${t.e},"a":${t.a}}`}({e:JSON.stringify(ie(n)),a:`[${at.join()}]`,p:e?`[${rt.join()}]`:""}),r=n?null:await async function(t){try{if(G){const e=new ReadableStream({async start(e){e.enqueue(t),e.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip"));return new Uint8Array(await async function(t){const e=t.getReader(),n=[];let o=!1,r=[];for(;!o;){if(({done:o,value:r}=await e.read()),o)return n;n.push(...r)}return n}(e))}}catch(t){}return null}(o);x(2,r?r.length:o.length),vt(o,r,oe.sequence,n),at=[],e&&(rt=[],dt=0,ct=0)}function vt(t,e,n,o=!1){if("string"==typeof a.upload){const r=a.upload;let i=!1;if(o&&"sendBeacon"in navigator)try{i=navigator.sendBeacon.bind(navigator)(r,t),i&&kt(n)}catch(t){}if(!1===i){n in it?it[n].attempts++:it[n]={data:t,attempts:1};let o=new XMLHttpRequest;o.open("POST",r,!0),o.timeout=15e3,o.ontimeout=()=>{le(new Error(`Timeout : ${r}`))},null!==n&&(o.onreadystatechange=()=>{se(wt)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(a.upload){(0,a.upload)(t),kt(n)}}function wt(t,e){var n=it[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Et(6):(0===t.status&&(a.upload=a.fallback?a.fallback:a.upload),vt(n.data,null,e)):(lt={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&bt(2),200===t.status&&t.responseText&&function(t){let e=t&&t.length>0?t.split("\n"):[];for(var n of e){let t=n&&n.length>0?n.split(/ (.*)/):[""];switch(t[0]){case"END":Et(6);break;case"UPGRADE":U("Auto");break;case"ACTION":a.action&&t.length>1&&a.action(t[1]);break;case"EXTRACT":t.length>1&&t[1];break;case"SIGNAL":t.length>1&&Q(t[1])}}}(t.responseText),0===t.status&&(vt(n.data,null,e,!0),Et(3)),t.status>=200&&t.status<=208&&kt(e),delete it[e]))}function kt(t){1===t&&(Wt(),Yt())}function bt(t){let e=[l(),t];switch(t){case 4:let t=y;t&&(e=[t.time,t.event],e.push(t.data.visible),e.push(t.data.docWidth),e.push(t.data.docHeight),e.push(t.data.screenWidth),e.push(t.data.screenHeight),e.push(t.data.scrollX),e.push(t.data.scrollY),e.push(t.data.pointerX),e.push(t.data.pointerY),e.push(t.data.activityTime),e.push(t.data.scrollTime),e.push(t.data.pointerTime),e.push(t.data.moveX),e.push(t.data.moveY),e.push(t.data.moveTime),e.push(t.data.downX),e.push(t.data.downY),e.push(t.data.downTime),e.push(t.data.upX),e.push(t.data.upY),e.push(t.data.upTime),e.push(t.data.pointerPrevX),e.push(t.data.pointerPrevY),e.push(t.data.pointerPrevTime),gt(e,!1));break;case 25:e.push(M.gap),gt(e);break;case 35:e.push(st.check),gt(e,!1);break;case 3:e.push(H.key),gt(e);break;case 2:e.push(lt.sequence),e.push(lt.attempts),e.push(lt.status),gt(e,!1);break;case 24:E.key&&e.push(E.key),e.push(E.value),gt(e);break;case 34:let n=Object.keys(L);if(n.length>0){for(let t of n)e.push(t),e.push(L[t]);J(),gt(e,!1)}break;case 0:let o=Object.keys(T);if(o.length>0){for(let t of o){let n=parseInt(t,10);e.push(n),e.push(Math.round(T[t]))}T={},gt(e,!1)}break;case 1:let r=Object.keys(Tt);if(r.length>0){for(let t of r){let n=parseInt(t,10);e.push(n),e.push(Tt[t])}At(),gt(e,!1)}break;case 36:let a=Object.keys(v);if(a.length>0){for(let t of a){let n=parseInt(t,10);e.push(n),e.push([].concat(...v[t]))}gt(e,!1)}break;case 40:k.forEach((t=>{e.push(t);let n=[];for(let e in v[t]){let o=parseInt(e,10);n.push(o),n.push(v[t][e])}e.push(n)})),gt(e,!1)}}function St(){st={check:0}}function _t(t){if(0===st.check){let e=st.check;e=oe.sequence>=128?1:e,e=oe.pageNum>=128?7:e,e=l()>72e5?2:e,e=t>10485760?2:e,e!==st.check&&Et(e)}}function Et(t){st.check=t,5!==t&&(Bt(),tn())}function It(){0!==st.check&&bt(35)}function Mt(){st=null}let Ot=null,Tt=null,jt=!1;function xt(){Ot={},Tt={},jt=!1}function zt(){Ot={},Tt={},jt=!1}function $t(t,e){if(e&&(e=`${e}`,t in Ot||(Ot[t]=[]),Ot[t].indexOf(e)<0)){if(Ot[t].length>128)return void(jt||(jt=!0,Et(5)));Ot[t].push(e),t in Tt||(Tt[t]=[]),Tt[t].push(e)}}function Ct(){bt(1)}function At(){Tt={},jt=!1}function qt(t){$t(36,t.toString())}let Pt=null,Nt=[],Dt=0,Rt=null;function Ht(){var t,e,n;Rt=null;const o=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():"",l=document&&document.title?document.title:"";Dt=o.indexOf("Electron")>0?1:0;let s=function(){let t={session:Ft(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Qt("_clsk",!a.includeSubdomains);if(e){let n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Gt(n[1])<18e5&&(t.session=n[0],t.count=Gt(n[2])+1,t.upgrade=Gt(n[3]),t.upload=n.length>=6?`https://${n[5]}/${n[4]}`:`https://${n[4]}`)}return t}(),c=Kt(),d=a.projectId||function(t,e=null){let n=0,o=5381,r=o;for(let e=0;e<t.length;e+=2)o=(o<<5)+o^t.charCodeAt(e),e+1<t.length&&(r=(r<<5)+r^t.charCodeAt(e+1));return n=Math.abs(o+11579*r),(e?n%Math.pow(2,e):n).toString(36)}(location.host);Pt={projectId:d,userId:c.id,sessionId:s.session,pageNum:s.count},a.lean=a.track&&null!==s.upgrade?0===s.upgrade:a.lean,a.upload=a.track&&"string"==typeof a.upload&&s.upload&&s.upload.length>"https://".length?s.upload:a.upload,$t(0,o),$t(3,l),$t(1,g(location.href,!!Dt)),$t(2,document.referrer),$t(15,function(){let t=Ft();if(a.track&&Jt(window,"sessionStorage")){let e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),$t(16,document.documentElement.lang),$t(17,document.dir),$t(26,`${window.devicePixelRatio}`),$t(28,c.dob.toString()),$t(29,c.version.toString()),$t(33,u),$t(34,r),$t(35,i),z(0,s.ts),z(1,0),z(35,Dt),navigator&&($t(9,navigator.language),z(33,navigator.hardwareConcurrency),z(32,navigator.maxTouchPoints),z(34,Math.round(navigator.deviceMemory)),function(){let t=navigator.userAgentData;t&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((t=>{var e;$t(22,t.platform),$t(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((t=>{$t(24,t.name+"~"+t.version)})),$t(25,t.model),z(27,t.mobile?1:0)})):$t(22,navigator.platform)}()),screen&&(z(14,Math.round(screen.width)),z(15,Math.round(screen.height)),z(16,Math.round(screen.colorDepth)));for(let t of a.cookies){let e=Qt(t);e&&V(t,e)}!function(t){qt(t?1:0)}(a.track),Zt(c)}function Ut(){Rt=null,Pt=null,Nt.forEach((t=>{t.called=!1}))}function Xt(t,e=!0,n=!1){let o=a.lean?0:1,r=!1;Pt&&(o||!1===e)&&(t(Pt,!a.lean),r=!0),!n&&r||Nt.push({callback:t,wait:e,recall:n,called:r})}function Lt(){return Pt?[Pt.userId,Pt.sessionId,Pt.pageNum].join("."):""}function Vt(t=!0){if(!t)return a.track=!1,ee("_clsk","",-Number.MAX_VALUE),ee("_clck","",-Number.MAX_VALUE),tn(),void window.setTimeout(Qe,250);ze()&&(a.track=!0,Zt(Kt(),1),Wt(),qt(2))}function Bt(){ee("_clsk","",0)}function Yt(){!function(t){if(Nt.length>0)for(let e=0;e<Nt.length;e++){const n=Nt[e];!n.callback||n.called||n.wait&&!t||(n.callback(Pt,!a.lean),n.called=!0,n.recall||(Nt.splice(e,1),e--))}}(a.lean?0:1)}function Wt(){if(!Pt||!a.track)return;let t=Math.round(Date.now()),e=a.upload&&"string"==typeof a.upload?a.upload.replace("https://",""):"",n=a.lean?0:1;ee("_clsk",[Pt.sessionId,t,Pt.pageNum,n,e].join("|"),1)}function Jt(t,e){try{return!!t[e]}catch(t){return!1}}function Zt(t,e=null){e=null===e?t.consent:e;let n=Math.ceil((Date.now()+31536e6)/864e5),o=0===t.dob?null===a.dob?0:a.dob:t.dob;if(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==o){ee("_clck",[Pt.userId,2,n.toString(36),e,o].join("|"),365)}}function Ft(){let 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 Gt(t,e=10){return parseInt(t,e)}function Kt(){let t={id:Ft(),version:0,expiry:null,consent:0,dob:0},e=Qt("_clck",!a.includeSubdomains);if(e&&e.length>0){let n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Gt(n[1])),n.length>2&&(t.expiry=Gt(n[2],36)),n.length>3&&1===Gt(n[3])&&(t.consent=1),n.length>4&&Gt(n[1])>1&&(t.dob=Gt(n[4])),a.track=a.track||1===t.consent,t.id=a.track?n[0]:t.id}return t}function Qt(t,e=!1){if(Jt(document,"cookie")){let n=document.cookie.split(";");if(n)for(let o=0;o<n.length;o++){let r=n[o].split("=");if(r.length>1&&r[0]&&r[0].trim()===t){let[t,n]=te(r[1]);for(;t;)[t,n]=te(n);return e?n.endsWith("~1")?n.substring(0,n.length-2):null:n}}}return null}function te(t){try{let e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function ee(t,e,n){if((a.track||""==e)&&(navigator&&navigator.cookieEnabled||Jt(document,"cookie"))){let o=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);let a=`${t}=${o};${r?"expires="+r.toUTCString():""};path=/`;try{if(null===Rt){let n=location.hostname?location.hostname.split("."):[];for(let o=n.length-1;o>=0;o--)if(Rt=`.${n[o]}${Rt||""}`,o<n.length-1&&(document.cookie=`${a};domain=${Rt}`,Qt(t)===e))return;Rt=""}}catch(t){Rt=""}document.cookie=Rt?`${a};domain=${Rt}`:a}}let ne,oe=null;function re(){const t=Pt;oe={version:s,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function ae(){oe=null}function ie(t){return oe.start=oe.start+oe.duration,oe.duration=l()-oe.start,oe.sequence++,oe.upload=t&&"sendBeacon"in navigator?1:0,oe.end=t?1:0,oe.applicationPlatform=0,oe.url=g(location.href,!1,!0),[oe.version,oe.sequence,oe.start,oe.duration,oe.projectId,oe.userId,oe.sessionId,oe.pageNum,oe.upload,oe.end,oe.applicationPlatform,oe.url]}function ue(){ne=[]}function le(t){if(ne&&-1===ne.indexOf(t.message)){const e=a.report;if(e&&e.length>0){let n={v:oe.version,p:oe.projectId,u:oe.userId,s:oe.sessionId,n:oe.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);let o=new XMLHttpRequest;o.open("POST",e,!0),o.send(JSON.stringify(n)),ne.push(t.message)}}return t}function se(t){return function(){let e=performance.now();try{t.apply(this,arguments)}catch(t){throw le(t)}let n=performance.now()-e;x(4,n),n>30&&(j(7),z(6,n),t.dn||t.name)}}let ce=new Map;function de(t,e,n,o=!1,r=!0){n=se(n);try{t[i("addEventListener")](e,n,{capture:o,passive:r}),function(t){return ce.has(t)}(t)||ce.set(t,[]),ce.get(t).push({event:e,listener:n,options:{capture:o,passive:r}})}catch(t){}}function pe(){ce.forEach(((t,e)=>{!function(t,e){t.forEach((t=>{try{e[i("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),ce.delete(e)}(t,e)})),ce=new Map}let fe=null,he=null,ge=null,me=0;function ye(){return!(me++>20)}function ve(){ve.dn=1,me=0,ge!==ke()&&(tn(),window.setTimeout(we,250))}function we(){Qe(),z(29,1)}function ke(){return location.href?location.href.replace(location.hash,""):location.href}let be=[],Se=null,_e=null,Ee=null;function Ie(){_e&&(Ee(),_e=null,null===Se&&Oe())}function Me(){be=[],Se=null,_e=null}function Oe(){let t=be.shift();t&&(Se=t,t.task().then((()=>{t.id===Lt()&&(t.resolve(),Se=null,Oe())})).catch((e=>{t.id===Lt()&&(e&&(e.name,e.message,e.stack),Se=null,Oe())})))}let Te=!1;function je(){Te=!0,u=performance.now()+performance.timeOrigin,Me(),pe(),ue(),ge=ke(),me=0,de(window,"popstate",ve),null===fe&&(fe=history.pushState,history.pushState=function(){fe.apply(this,arguments),ze()&&ye()&&ve()}),null===he&&(he=history.replaceState,history.replaceState=function(){he.apply(this,arguments),ze()&&ye()&&ve()})}function xe(){ge=null,me=0,ue(),pe(),Me(),u=0,Te=!1}function ze(){return Te}function $e(){$e.dn=2,Qe(),I("clarity","restart")}let Ce=null;function Ae(){Ce=null}function qe(t){Ce={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},async function(t){let e=[l(),t];29===t&&(e.push(Ce.fetchStart),e.push(Ce.connectStart),e.push(Ce.connectEnd),e.push(Ce.requestStart),e.push(Ce.responseStart),e.push(Ce.responseEnd),e.push(Ce.domInteractive),e.push(Ce.domComplete),e.push(Ce.loadEventStart),e.push(Ce.loadEventEnd),e.push(Ce.redirectCount),e.push(Ce.size),e.push(Ce.type),e.push(Ce.protocol),e.push(Ce.encodedSize),e.push(Ce.decodedSize),Ae(),gt(e))}(29)}let Pe=0,Ne=1/0,De=0,Re=0;const He=[],Ue=new Map,Xe=()=>Pe||0,Le=()=>{if(!He.length)return-1;const t=Math.min(He.length-1,Math.floor((Xe()-Re)/50));return He[t].latency},Ve=()=>{Re=Xe(),He.length=0,Ue.clear()},Be=t=>{if(!t.interactionId||t.duration<40)return;(t=>{"interactionCount"in performance?Pe=performance.interactionCount:t.interactionId&&(Ne=Math.min(Ne,t.interactionId),De=Math.max(De,t.interactionId),Pe=De?(De-Ne)/7+1:0)})(t);const e=He[He.length-1],n=Ue.get(t.interactionId);if(n||He.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{const e={id:t.interactionId,latency:t.duration};Ue.set(e.id,e),He.push(e)}He.sort(((t,e)=>e.latency-t.latency)),He.length>10&&He.splice(10).forEach((t=>Ue.delete(t.id)))}};let Ye;const We=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function Je(){Je.dn=26;try{Ye&&Ye.disconnect(),Ye=new PerformanceObserver(se(Ze));for(let t of We)PerformanceObserver.supportedEntryTypes.indexOf(t)>=0&&("layout-shift"===t&&x(9,0),Ye.observe({type:t,buffered:!0}))}catch(t){}}function Ze(t){Ze.dn=27,function(t){let e=!("visibilityState"in document)||"visible"===document.visibilityState;for(let n=0;n<t.length;n++){let o=t[n];switch(o.entryType){case"navigation":qe(o);break;case"resource":let t=o.name;$t(4,Fe(t)),t!==a.upload&&t!==a.fallback||z(28,o.duration);break;case"longtask":j(7);break;case"first-input":e&&z(10,o.processingStart-o.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(Be(o),$t(37,Le().toString()));break;case"layout-shift":e&&!o.hadRecentInput&&x(9,1e3*o.value);break;case"largest-contentful-paint":e&&z(8,o.startTime)}}}(t.getEntries())}function Fe(t){let e=document.createElement("a");return e.href=t,e.host}var Ge=Object.freeze({__proto__:null,start:function t(){t.dn=25,Ae(),function(){navigator&&"connection"in navigator&&$t(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&("complete"!==document.readyState?de(window,"load",$.bind(this,Je,0)):Je())}()},stop:function(){Ye&&Ye.disconnect(),Ye=null,Ve(),Ae()}});const Ke=[_,_,_,Ge];function Qe(t=null){(function(){try{let t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Te&&"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||Te)return!1;for(let e in t)e in a&&(a[e]=t[e])}(t),je(),et(),Ke.forEach((t=>se(t.start)())),null===t&&rn())}function tn(){ze()&&(Ke.slice().reverse().forEach((t=>se(t.stop)())),nt(),xe(),void 0!==nn&&(nn[on]=function(){(nn[on].q=nn[on].q||[]).push(arguments),"start"===arguments[0]&&nn[on].q.unshift(nn[on].q.pop())&&rn()}))}var en=Object.freeze({__proto__:null,consent:Vt,event:I,hashText:b,identify:B,metadata:Xt,pause:function(){ze()&&(I("clarity","pause"),null===_e&&(_e=new Promise((t=>{Ee=t}))))},resume:function(){ze()&&(Ie(),I("clarity","resume"))},set:V,signal:function(t){K=t},start:Qe,stop:tn,upgrade:U,version:s});const nn=window,on="clarity";function rn(){if(void 0!==nn){if(nn[on]&&nn[on].v)return console.warn("Error CL001: Multiple Clarity tags detected.");let t=nn[on]&&nn[on].q||[];for(nn[on]=function(t,...e){return en[t](...e)},nn[on].v=s;t.length>0;)nn[on](...t.shift())}}rn()}();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clarity-js",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9-beta",
|
|
4
4
|
"description": "An analytics library that uses web page interactions to generate aggregated insights",
|
|
5
5
|
"author": "Microsoft Corp.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -67,4 +67,4 @@
|
|
|
67
67
|
"tslint --format codeFrame"
|
|
68
68
|
]
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|
package/src/core/config.ts
CHANGED
package/src/core/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let version = "0.8.
|
|
1
|
+
let version = "0.8.9-beta";
|
|
2
2
|
export default version;
|
package/src/data/metadata.ts
CHANGED
|
@@ -164,7 +164,7 @@ export function save(): void {
|
|
|
164
164
|
let ts = Math.round(Date.now());
|
|
165
165
|
let upload = config.upload && typeof config.upload === Constant.String ? (config.upload as string).replace(Constant.HTTPS, Constant.Empty) : Constant.Empty;
|
|
166
166
|
let upgrade = config.lean ? BooleanFlag.False : BooleanFlag.True;
|
|
167
|
-
setCookie(Constant.SessionKey, [data.sessionId, ts, data.pageNum, upgrade, upload].join(Constant.
|
|
167
|
+
setCookie(Constant.SessionKey, [data.sessionId, ts, data.pageNum, upgrade, upload].join(Constant.Pipe), Setting.SessionExpire);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
function processCallback(upgrade: BooleanFlag) {
|
|
@@ -199,7 +199,7 @@ function track(u: User, consent: BooleanFlag = null): void {
|
|
|
199
199
|
// To avoid cookie churn, write user id cookie only once every day
|
|
200
200
|
if (u.expiry === null || Math.abs(end - u.expiry) >= Setting.CookieInterval || u.consent !== consent || u.dob !== dob) {
|
|
201
201
|
let cookieParts = [data.userId, Setting.CookieVersion, end.toString(36), consent, dob];
|
|
202
|
-
setCookie(Constant.CookieKey, cookieParts.join(Constant.
|
|
202
|
+
setCookie(Constant.CookieKey, cookieParts.join(Constant.Pipe), Setting.Expire);
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
|
package/src/layout/mutation.ts
CHANGED
|
@@ -248,10 +248,8 @@ function track(m: MutationRecord, timer: Timer, instance: number, timestamp: num
|
|
|
248
248
|
return m.type;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
if
|
|
252
|
-
|
|
253
|
-
throttledMutations[key] = { mutation: m, timestamp };
|
|
254
|
-
}
|
|
251
|
+
// we only store the most recent mutation for a given key if it is being throttled
|
|
252
|
+
throttledMutations[key] = { mutation: m, timestamp };
|
|
255
253
|
|
|
256
254
|
return Constant.Throttle;
|
|
257
255
|
}
|
package/types/core.d.ts
CHANGED
|
@@ -140,10 +140,6 @@ export interface Config {
|
|
|
140
140
|
throttleDom?: boolean;
|
|
141
141
|
conversions?: boolean;
|
|
142
142
|
includeSubdomains?: boolean;
|
|
143
|
-
throttleMutations?: boolean;
|
|
144
|
-
dropMutations?: boolean;
|
|
145
|
-
criticalMs?: number;
|
|
146
|
-
discard?: string[];
|
|
147
143
|
}
|
|
148
144
|
|
|
149
145
|
export const enum Constant {
|