@gemx-dev/clarity-js 0.8.62 → 0.8.63
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 +34 -7
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +34 -7
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/config.ts +4 -0
- package/src/core/version.ts +1 -1
- package/src/data/metadata.ts +6 -4
- package/src/layout/index.ts +3 -1
- package/src/layout/selector.ts +11 -1
- package/types/core.d.ts +4 -0
- package/types/index.d.ts +1 -0
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ln},get start(){return sn},get stop(){return dn},get track(){return tn}}),e=Object.freeze({__proto__:null,get data(){return Wn},get start(){return zn},get stop(){return Ln},get upgrade(){return qn}}),n=Object.freeze({__proto__:null,get check(){return Fn},get compute(){return Jn},get data(){return Dn},get start(){return Un},get stop(){return Vn},get trigger(){return Gn}}),r=Object.freeze({__proto__:null,get compute(){return er},get data(){return Bn},get log(){return tr},get reset(){return nr},get start(){return Qn},get stop(){return $n},get updates(){return Zn}}),a=Object.freeze({__proto__:null,get compute(){return pr},get config(){return cr},get consent(){return sr},get data(){return rr},get start(){return or},get stop(){return ir},get trackConsentv2(){return dr}}),o=Object.freeze({__proto__:null,get callback(){return Er},get callbacks(){return hr},get clear(){return xr},get consent(){return kr},get consentv2(){return Tr},get data(){return fr},get electron(){return vr},get id(){return _r},get metadata(){return br},get save(){return Mr},get shortid(){return Nr},get start(){return wr},get stop(){return yr}}),i=Object.freeze({__proto__:null,get data(){return jr},get envelope(){return Dr},get start(){return Cr},get stop(){return Ar}}),u={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,modules:[]};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var p="0.8.61";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;x();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return O(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return S(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function _(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+c.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,v)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return x(),t?t.replace(w,e).replace(m,n):t}function O(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function x(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,M=null,I=!1;function N(){I&&(E={time:d(),event:4,data:{visible:M.visible,docWidth:M.docWidth,docHeight:M.docHeight,screenWidth:M.screenWidth,screenHeight:M.screenHeight,scrollX:M.scrollX,scrollY:M.scrollY,pointerX:M.pointerX,pointerY:M.pointerY,activityTime:M.activityTime,scrollTime:M.scrollTime,pointerTime:M.pointerTime,moveX:M.moveX,moveY:M.moveY,moveTime:M.moveTime,downX:M.downX,downY:M.downY,downTime:M.downTime,upX:M.upX,upY:M.upY,upTime:M.upTime,pointerPrevX:M.pointerPrevX,pointerPrevY:M.pointerPrevY,pointerPrevTime:M.pointerPrevTime,modules:M.modules}}),M=M||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0,modules:null}}function X(t,e,n,r){switch(t){case 8:M.docWidth=e,M.docHeight=n;break;case 11:M.screenWidth=e,M.screenHeight=n;break;case 10:M.scrollX=e,M.scrollY=n,M.scrollTime=r;break;case 12:M.moveX=e,M.moveY=n,M.moveTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 13:M.downX=e,M.downY=n,M.downTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;case 14:M.upX=e,M.upY=n,M.upTime=r,M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r;break;default:M.pointerPrevX=M.pointerX,M.pointerPrevY=M.pointerY,M.pointerPrevTime=M.pointerTime,M.pointerX=e,M.pointerY=n,M.pointerTime=r}I=!0}function P(t){M.activityTime=t}function Y(t,e){M.visible=e,M.visible||P(t),I=!0}function j(t){M.modules=Array.from(t),I=!0}function C(){I&&Rn(4)}var A=Object.freeze({__proto__:null,activity:P,compute:C,dynamic:j,reset:N,start:function(){I=!1,N()},get state(){return E},stop:function(){N()},track:X,visibility:Y}),D=null;function H(t,e){ea()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Rn(24))}var W,z=null,q=null;function L(t){t in z||(z[t]=0),t in q||(q[t]=0),z[t]++,q[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in q||(q[t]=0),z[t]+=e,q[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(q[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(zr(t),e,n)}function G(t){return window.clearTimeout(t)}var J=0,V=0,B=null;function Z(){B&&G(B),B=F(K,V),J=d()}function K(){var t=d();W={gap:t-J},Rn(25),W.gap<3e5?B=F(K,V):Qr&&(H("clarityGemX","suspend"),oa(),["mousemove","touchstart"].forEach((function(t){return Lr(document,t,na)})),["resize","scroll","pageshow"].forEach((function(t){return Lr(window,t,na)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:Z,start:function(){V=6e4,J=0},stop:function(){G(B),J=0,V=0}}),$=null;function tt(){Rn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function at(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(ea()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){Rn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,wt={};function yt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),ln(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),ln(e,!1))}return[2]}))}))}var _t,kt={};function Tt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},Ot=new Set,xt={},Et={},Mt={},It={};function Nt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in xt[r]={},Et[r]={},Mt[r]={},It[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);xt[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);Mt[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Xt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in xt){var e=parseInt(t);if(""==It[e]||document.querySelector(It[e])){var n=xt[e];for(var r in n){var a=parseInt(r),o=(m=At(Xt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=Mt[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}Ot.size>0&&Rn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){Ot.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=Mt[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[t][e]=n,a&&Ot.add(t)}function Ct(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function At(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&Dt(a,r.condition))n=At(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Dt(c,r.condition)){var s=At(t,c);s&&o.push(s)}}n=o}return n}return null}function Dt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ht=Object.freeze({__proto__:null,clone:Xt,compute:Pt,data:St,keys:Ot,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Nt,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Lt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Rt(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Ft=null;function Gt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Jt=[A,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:Lt,getCookie:Rt,setCookie:Ut,start:function(){qt=null},stop:function(){qt=null}}),a,o,i,t,Q,e,Ht];function Vt(){z={},q={},L(5),Jt.forEach((function(t){return zr(t.start)()}))}function Bt(){Jt.slice().reverse().forEach((function(t){return zr(t.stop)()})),z={},q={}}function Zt(){pt(),C(),er(),Rn(0),tt(),Jn(),Pt(),pr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:_r()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===_r()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===_r()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=[];function le(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=Nn(n),u=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(i),c=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,l=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;if(null!==a&&null!==o){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(i);se.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:s,eY:l,button:n.button,reaction:de(i),context:fe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText,w:c?c.w:0,h:c?c.h:0,tag:pe(i,"tagName").substring(0,10),class:pe(i,"className").substring(0,50),id:pe(i,"id").substring(0,25)}}),oe(ze.bind(this,t))}}function de(t){var e=pe(t,"tagName");return ce.indexOf(e)>=0?0:1}function pe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function fe(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function he(){se=[]}function ve(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var ge=null,me=!1,we=ve(ye,500);function ye(){var t=document.documentElement;ue={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},me?(G(ge),ge=F(be,500,11)):(ze(11),me=!0)}function be(t){oe(ze.bind(this,t))}function _e(){ue=null,G(ge),we.cleanup()}var ke=[],Te=null;function Se(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Nn(t):n;if(r){if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=xe(c,s),f=xe(c,l),h=t&&t.isTrusted?1:0,v={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f,trust:h}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var g=ke.length,m=g>1?ke[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<50}(m,v)&&ke.pop(),ke.push(v),G(Te),Te=F(Ee,500,10)}}}var Oe=ve(Se,25);function xe(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function Ee(t){oe(ze.bind(this,t))}var Me,Ie,Ne,Xe=[];function Pe(t){Xe.push({time:d(t),event:39,data:{target:Nn(t)}}),oe(ze.bind(this,39))}function Ye(){Xe=[]}function je(t){Me={name:t.type,persisted:t.persisted?1:0},ze(26,d(t)),oa()}function Ce(){Me=null}function Ae(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Ie={visible:e},ze(28,d(t))}}function De(){Ie=null}function He(){Ne=null}function We(t){Ne={focused:t},ze(50)}function ze(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,w,y,k,T,S,O,x,E,M,I,N,P,j,C,A,D,H,W,z,q,L;return at(this,(function(R){switch(n=e||d(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=Kt;a<o.length;a++)z=o[a],(i=Xn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),ln(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&X(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=se;u<c.length;u++)z=c[u],s=Xn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",r.push(s.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),ln(r),Ue(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);he();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),ln(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),X(t,h.width,h.height),_e(),ln(r);break;case 26:v=Me,r.push(v.name),r.push(v.persisted),Ce(),ln(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],w=Xn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(w.id),r.push(b(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),ln(r);break;case 21:(y=Qt)&&(k=Xn(y.start),T=Xn(y.end),r.push(k.id),r.push(y.startOffset),r.push(T.id),r.push(y.endOffset),ln(r));break;case 10:for(S=0,O=ke;S<O.length;S++)z=O[S],x=Xn(z.data.target,z.event),E=Xn(z.data.top,z.event),M=Xn(z.data.bottom,z.event),I=(null==E?void 0:E.hash)?E.hash.join("."):"",N=(null==M?void 0:M.hash)?M.hash.join("."):"",x.id>0&&((r=[z.time,z.event]).push(x.id),r.push(z.data.x),r.push(z.data.y),r.push(I),r.push(N),r.push(z.data.trust),ln(r),X(z.event,z.data.x,z.data.y,z.time));ke=[];break;case 42:for(P=0,j=Kt;P<j.length;P++)z=j[P],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(b(z.data.value,"change",D.privacy)),r.push(b(z.data.checksum,"checksum",D.privacy)),ln(r));break;case 39:for(C=0,A=Xe;C<A.length;C++)z=A[C],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&(r.push(D.id),ln(r));Ye();break;case 22:for(H=0,W=Le;H<W.length;H++)z=W[H],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),ln(r,!1);Re();break;case 28:q=Ie,r.push(q.visible),ln(r),Y(n,q.visible),De();break;case 50:L=Ne,r.push(L.focused),ln(r,!1),He()}return[2]}))}))}var qe=[],Le=[];function Re(){Le=[]}function Ue(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),qe.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}var Fe=[],Ge=!1,Je=null;function Ve(t){Ge&&"function"==typeof t&&Fe.push(t)}function Be(t){if(Ge){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Je.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Je.add(e),j(Je))},n.onerror=function(){Wr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ze,Ke,Qe,$e,tn,en,nn=Object.freeze({__proto__:null,event:Be,register:Ve,start:function(){Ge=!0,Je=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Be(t)}))},stop:function(){Fe.reverse().forEach((function(t){try{t()}catch(t){}})),Fe=[],Ge=!1}}),rn=0,an=0,on=null,un=0,cn=!1;function sn(){$e=!0,rn=0,an=0,cn=!1,un=0,Ze=[],Ke=[],Qe={},tn=null}function ln(t,e){if(void 0===e&&(e=!0),$e){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!cn&&an+a.length>10485760&&(Tt(10,0),cn=!0):cn=!1,r){case 5:if(cn)break;rn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(cn)break;an+=a.length,Ze.push(a);break;default:Ke.push(a)}L(25);var o=function(){var t=!1===u.lean&&rn>0?100:jr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-un>2*o&&(G(on),on=null),e&&null===on&&(25!==r&&Z(),on=F(pn,o),un=n,Fn(an))}}function dn(){G(on),pn(!0),rn=0,an=0,cn=!1,un=0,Ze=[],Ke=[],Qe={},tn=null,$e=!1}function pn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return $e?(on=null,(e=!1===u.lean&&an>0&&(an<1048576||jr.sequence>0))&&U(1,1),function(){if(jr){var t=[];Le=[];for(var e=(jr.start||0)+(jr.duration||0),n=Math.max(e-2e3,0),r=0,a=qe;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Le.push(o),t.push(o))}qe=t,ze(22)}}(),Zt(),n=!0===t,jr?(r=JSON.stringify(Dr(n)),a="[".concat(Ke.join(),"]"),o=e?"[".concat(Ze.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),fn(i,c,jr.sequence,n),Ke=[],e&&(Ze=[],an=0,rn=0,cn=!1),[2]}}))}))}function fn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&vn(n)}catch(t){}if(!1===o){n in Qe?Qe[n].attempts++:Qe[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){zr(hn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),vn(n)}}function hn(t,e){var n=Qe[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&&(u.upload=u.fallback?u.fallback:u.upload),tn={sequence:e,attempts:n.attempts,status:t.status},Rn(2),fn(n.data,null,e)):(tn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Rn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":Gn(6);break;case"UPGRADE":qn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Nt(o[1]);break;case"SIGNAL":o.length>1&&Gt(o[1]);break;case"MODULE":o.length>1&&Be(o[1]);break;case"SNAPSHOT":u.lean=!1,Pn()}}}(t.responseText),0===t.status&&(fn(n.data,null,e,!0),Gn(3)),t.status>=200&&t.status<=208&&vn(e),delete Qe[e]))}function vn(t){1===t&&(Mr(),Er())}function gn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=en,n.push(r.width),n.push(r.height),X(t,r.width,r.height),ln(n);break;case 43:if((a=Sn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(mn(h,s[f][h],c));break;case"value":n.push(b(s[f],s.tag,c))}ln(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function mn(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function wn(){en=null}function yn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;wn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,p,f,h),null!==en&&c===en.width&&v===en.height||null===c||null===v||(en={width:c,height:v},gn(8))}var bn=!1;function _n(t){t&&t.persisted&&(aa(),Tt(11,0))}function kn(t){!function(t){Lr(t===document?window:t,"scroll",Oe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Lr(t,"click",le.bind(this,9,t),!0),Lr(t,"contextmenu",le.bind(this,48,t),!0)}(t),function(t){Lr(t,"submit",Pe,!0)}(t))}var Tn=Object.freeze({__proto__:null,observe:kn,start:function(){qe=[],Re(),he(),me=!1,Lr(window,"resize",we),ye(),Lr(document,"visibilitychange",Ae),Ae(),Lr(window,"focus",(function(){return We(1)})),Lr(window,"blur",(function(){return We(0)})),function(){if(!bn)try{window[c("addEventListener")]("pageshow",zr(_n),{capture:!1,passive:!0}),bn=!0}catch(t){}}(),ke=[],Se(),Ye(),Lr(window,"pagehide",je)},stop:function(){qe=[],Re(),he(),_e(),De(),He(),G(Te),Oe.cleanup(),ke=[],Ye(),Ce()}}),Sn=[],On=1,xn=null;function En(){Yn(),yn(),Cn(document.documentElement),kn(document)}function Mn(){return!1}function In(){}function Nn(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Xn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=xn.has(t)?xn.get(t):Cn(t)),e}function Pn(){Sn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=xn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=jn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}An(o,u,{tag:r,attributes:n,value:a})}}(document),gn(43)}function Yn(){xn=new WeakMap}function jn(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function Cn(t){return null===t?null:xn.has(t)?xn.get(t):(xn.set(t,On),On++)}function An(t,e,n){if(t&&n&&n.tag){var r=Cn(t),a=e?xn.get(e):null,o=t.previousSibling?xn.get(t.previousSibling):null;Sn.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Dn,Hn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:In,iframe:Mn,metadata:Xn,offset:function(){return{x:0,y:0}},snapshot:Pn,start:En,stop:function(){Yn(),wn()},target:Nn,get values(){return Sn}}),Wn=null;function zn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Wn=null}function qn(t){ea()&&u.lean&&(u.lean=!1,Wn={key:t},Er(),Mr(),u.upgrade&&u.upgrade(t),Rn(3),u.lite&&En())}function Ln(){Wn=null}function Rn(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),e.push(n.data.modules),ln(e,!1)),N();break;case 25:e.push(W.gap),ln(e);break;case 35:e.push(Dn.check),ln(e,!1);break;case 3:e.push(Wn.key),ln(e);break;case 2:e.push(tn.sequence),e.push(tn.attempts),e.push(tn.status),ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),ln(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),ln(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(q[l]))}q={},ln(e,!1)}break;case 1:var f=Object.keys(Zn);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];p=parseInt(g,10);e.push(p),e.push(Zn[g])}nr(),ln(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],$[b]))}et(),ln(e,!1)}break;case 40:Ot.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),ln(e,!1);break;case 47:e.push(rr.source),e.push(rr.ad_Storage),e.push(rr.analytics_Storage),ln(e,!1)}}function Un(){Dn={check:0}}function Fn(t){if(0===Dn.check){var e=Dn.check;e=jr.sequence>=128?1:e,e=jr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Dn.check&&Gn(e)}}function Gn(t){Dn.check=t,5!==t&&(xr(),oa())}function Jn(){0!==Dn.check&&Rn(35)}function Vn(){Dn=null}var Bn=null,Zn=null,Kn=!1;function Qn(){Bn={},Zn={},Kn=!1}function $n(){Bn={},Zn={},Kn=!1}function tr(t,e){if(e&&(e="".concat(e),t in Bn||(Bn[t]=[]),Bn[t].indexOf(e)<0)){if(Bn[t].length>128)return void(Kn||(Kn=!0,Gn(5)));Bn[t].push(e),t in Zn||(Zn[t]=[]),Zn[t].push(e)}}function er(){Rn(1)}function nr(){Zn={},Kn=!1}var rr=null,ar=!0;function or(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;ar=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],ur)}function ir(){ar=!0}function ur(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState){var n=e.getConsentState("analytics_storage");Tr(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}}function cr(t){lr(t.analytics_Storage?1:0),rr=t}function sr(){lr(2)}function lr(t){tr(36,t.toString())}function dr(t){rr=t,Rn(47)}function pr(){var t;if(ar&&(Rn(47),ar=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&ur()}}var fr=null,hr=[],vr=0,gr=null,mr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function wr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone))&&void 0!==n?n:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";vr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Xr(n[1])<18e5&&(t.session=n[0],t.count=Xr(n[2])+1,t.upgrade=Xr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Pr(),d=u.projectId||f(location.host);fr={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,tr(0,r),tr(3,c),tr(1,_(location.href,!!vr)),tr(2,document.referrer),tr(15,function(){var t=Nr();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),tr(16,document.documentElement.lang),tr(17,document.dir),tr(26,"".concat(window.devicePixelRatio)),tr(28,l.dob.toString()),tr(29,l.version.toString()),tr(33,i),tr(34,a),tr(35,o),U(0,s.ts),U(1,0),U(35,vr);var p,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&U(39,1),navigator&&(tr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(p=navigator.userAgentData)&&p.getHighEntropyValues?p.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;tr(22,t.platform),tr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){tr(24,t.name+"~"+t.version)})),tr(25,t.model),U(27,t.mobile?1:0)})):tr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth)));for(var v=0,g=u.cookies;v<g.length;v++){var m=g[v],w=Rt(m);w&&st(m,w)}null===gr&&(gr={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),cr(Sr(gr)),Ir(l)}function yr(){fr=null,hr.forEach((function(t){t.called=!1}))}function br(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;fr&&(a||!1===e)&&(t(fr,!u.lean,r?gr:void 0),o=!0),!n&&o||hr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function _r(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(t){void 0===t&&(t=!0),t?(Tr({source:4,ad_Storage:"granted",analytics_Storage:"granted"}),sr()):Tr({source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Tr(t,e){var n;void 0===t&&(t=mr),void 0===e&&(e=5);var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:Or(t.ad_Storage,null==gr?void 0:gr.ad_Storage),analytics_Storage:Or(t.analytics_Storage,null==gr?void 0:gr.analytics_Storage)};if(gr&&r.ad_Storage===gr.ad_Storage&&r.analytics_Storage===gr.analytics_Storage)return gr.source=r.source,dr(Sr(gr)),void sr();gr=r,Er(!0);var a=Sr(gr);if(!a.analytics_Storage&&u.track)return u.track=!1,xr(!0),oa(),void window.setTimeout(aa,250);ea()&&a.analytics_Storage&&(u.track=!0,Ir(Pr(),1),Mr()),dr(a),sr()}function Sr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function Or(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function xr(t){void 0===t&&(t=!1),Ut("_clsk","",0),t&&Ut("_clck","",0)}function Er(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(hr.length>0)for(var n=0;n<hr.length;n++){var r=hr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(fr,!u.lean,r.consentInfo?gr:void 0),r.called=!0,r.recall||(hr.splice(n,1),n--))}}(u.lean?0:1,t)}function Mr(){if(fr&&u.track){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ut("_clsk",[fr.sessionId,t,fr.pageNum,n,e].join(Lt),1)}}function Ir(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ut("_clck",[fr.userId,2,n.toString(36),e,r].join(Lt),365)}function Nr(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Xr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Pr(){var t={id:Nr(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Xr(n[1])),n.length>2&&(t.expiry=Xr(n[2],36)),n.length>3&&1===Xr(n[3])&&(t.consent=1),n.length>4&&Xr(n[1])>1&&(t.dob=Xr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Yr,jr=null;function Cr(){var t=fr;jr={version:p,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 Ar(){jr=null}function Dr(t){return jr.start=jr.start+jr.duration,jr.duration=d()-jr.start,jr.sequence++,jr.upload=t&&"sendBeacon"in navigator?1:0,jr.end=t?1:0,jr.applicationPlatform=0,jr.url=_(location.href,!1,!0),[jr.version,jr.sequence,jr.start,jr.duration,jr.projectId,jr.userId,jr.sessionId,jr.pageNum,jr.upload,jr.end,jr.applicationPlatform,jr.url]}function Hr(){Yr=[]}function Wr(t){if(Yr&&-1===Yr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&jr){var n={v:jr.version,p:jr.projectId,u:jr.userId,s:jr.sessionId,n:jr.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),Yr.push(t.message)}}return t}function zr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var qr=new Map;function Lr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=zr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return qr.has(t)}(t)||qr.set(t,[]),qr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Rr(){qr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),qr.delete(e)}(t,e)})),qr=new Map}var Ur=null,Fr=null,Gr=null,Jr=0;function Vr(){return!(Jr++>20)||(Tt(4,0),!1)}function Br(){Jr=0,Gr!==Kr()&&(oa(),window.setTimeout(Zr,250))}function Zr(){aa(),U(29,1)}function Kr(){return location.href?location.href.replace(location.hash,""):location.href}var Qr=!1;function $r(){Qr=!0,s=l(),ae(),Rr(),Hr(),Gr=Kr(),Jr=0,Lr(window,"popstate",Br),null===Ur&&(Ur=history.pushState,history.pushState=function(){Ur.apply(this,arguments),ea()&&Vr()&&Br()}),null===Fr&&(Fr=history.replaceState,history.replaceState=function(){Fr.apply(this,arguments),ea()&&Vr()&&Br()})}function ta(){Gr=null,Jr=0,Hr(),Rr(),ae(),s=0,Qr=!1}function ea(){return Qr}function na(){aa(),H("clarityGemX","restart")}var ra=[Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),Lr(window,"error",yt),wt={},kt={}},stop:function(){kt={}}}),Hn,Tn,$t,nn];function aa(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Qr&&"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||Qr)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),$r(),Vt(),ra.forEach((function(t){return zr(t.start)()})),null===t&&sa())}function oa(){ea()&&(ra.slice().reverse().forEach((function(t){return zr(t.stop)()})),Bt(),ta(),void 0!==ua&&(ua[ca]=function(){(ua[ca].q=ua[ca].q||[]).push(arguments),"start"===arguments[0]&&ua[ca].q.unshift(ua[ca].q.pop())&&sa()}))}var ia=Object.freeze({__proto__:null,consent:kr,consentv2:Tr,dlog:tr,event:H,hashText:In,identify:lt,maxMetric:U,measure:zr,metadata:br,pause:function(){ea()&&(H("clarityGemX","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:ln,register:Ve,resume:function(){ea()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarityGemX","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:aa,stop:oa,time:d,upgrade:qn,version:p}),ua=window,ca="clarityGemX";function sa(){if(void 0!==ua){if(ua[ca]&&ua[ca].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=ua[ca]&&ua[ca].q||[];for(ua[ca]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ia[t].apply(ia,e)},ua[ca].v=p;t.length>0;)ua[ca].apply(ua,t.shift())}}sa()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return ln},get start(){return sn},get stop(){return dn},get track(){return tn}}),e=Object.freeze({__proto__:null,get data(){return Wn},get start(){return zn},get stop(){return Ln},get upgrade(){return qn}}),n=Object.freeze({__proto__:null,get check(){return Fn},get compute(){return Jn},get data(){return Dn},get start(){return Un},get stop(){return Vn},get trigger(){return Gn}}),r=Object.freeze({__proto__:null,get compute(){return er},get data(){return Bn},get log(){return tr},get reset(){return nr},get start(){return Qn},get stop(){return $n},get updates(){return Zn}}),a=Object.freeze({__proto__:null,get compute(){return pr},get config(){return cr},get consent(){return sr},get data(){return rr},get start(){return or},get stop(){return ir},get trackConsentv2(){return dr}}),o=Object.freeze({__proto__:null,get callback(){return Er},get callbacks(){return hr},get clear(){return Or},get consent(){return kr},get consentv2(){return Tr},get data(){return fr},get electron(){return vr},get id(){return _r},get metadata(){return br},get save(){return Ir},get shortid(){return Nr},get start(){return wr},get stop(){return yr}}),i=Object.freeze({__proto__:null,get data(){return jr},get envelope(){return Dr},get start(){return Cr},get stop(){return Ar}}),u={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0,modules:[],excludeClassNames:[],externalSession:!1,userId:null,sessionId:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(){return performance.now()+performance.timeOrigin}function d(t){void 0===t&&(t=null);var e=0===s?l():s,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var p="0.8.63";function f(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,o=0;o<t.length;o+=2){if(r=(r<<5)+r^t.charCodeAt(o),o+1<t.length)a=(a<<5)+a^t.charCodeAt(o+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,v=255,g=!0,m=null,w=null,y=null;function b(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,o=!1,i=null;O();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,o=9===c||10===c||13===c||32===c,0===u||u===t.length-1||o){if(r||a){null===i&&(i=t.split(""));var s=t.substring(e+1,o?u:u+1);s=g&&null!==y?s.match(y)?s:S(s,"▪","▫"):T(s),i.splice(e+1-n,s.length,s),n+=s.length-1}o&&(r=!1,a=!1,e=u)}}return i?i.join(""):t}(t);case"input":case"change":return x(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):T(t);case"src":case"srcset":case"title":case"alt":case"href":case"xlink:href":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return x(t);case"placeholder":return T(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):T(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return S(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function _(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=u.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var o=t.split("?"),i=o[0],c=o[1];r=i+"?"+c.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,v)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),o=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(o)}return t}function T(t){return t.replace(h,"•")}function S(t,e,n){return O(),t?t.replace(w,e).replace(m,n):t}function x(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r<e;r++)n+=r>0&&r%5==0?" ":"•";return n}function O(){if(g&&null===m)try{m=new RegExp("\\p{N}","gu"),w=new RegExp("\\p{L}","gu"),y=new RegExp("\\p{Sc}","gu")}catch(t){g=!1}}var E=null,I=null,M=!1;function N(){M&&(E={time:d(),event:4,data:{visible:I.visible,docWidth:I.docWidth,docHeight:I.docHeight,screenWidth:I.screenWidth,screenHeight:I.screenHeight,scrollX:I.scrollX,scrollY:I.scrollY,pointerX:I.pointerX,pointerY:I.pointerY,activityTime:I.activityTime,scrollTime:I.scrollTime,pointerTime:I.pointerTime,moveX:I.moveX,moveY:I.moveY,moveTime:I.moveTime,downX:I.downX,downY:I.downY,downTime:I.downTime,upX:I.upX,upY:I.upY,upTime:I.upTime,pointerPrevX:I.pointerPrevX,pointerPrevY:I.pointerPrevY,pointerPrevTime:I.pointerPrevTime,modules:I.modules}}),I=I||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0,modules:null}}function X(t,e,n,r){switch(t){case 8:I.docWidth=e,I.docHeight=n;break;case 11:I.screenWidth=e,I.screenHeight=n;break;case 10:I.scrollX=e,I.scrollY=n,I.scrollTime=r;break;case 12:I.moveX=e,I.moveY=n,I.moveTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 13:I.downX=e,I.downY=n,I.downTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;case 14:I.upX=e,I.upY=n,I.upTime=r,I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r;break;default:I.pointerPrevX=I.pointerX,I.pointerPrevY=I.pointerY,I.pointerPrevTime=I.pointerTime,I.pointerX=e,I.pointerY=n,I.pointerTime=r}M=!0}function P(t){I.activityTime=t}function Y(t,e){I.visible=e,I.visible||P(t),M=!0}function j(t){I.modules=Array.from(t),M=!0}function C(){M&&Rn(4)}var A=Object.freeze({__proto__:null,activity:P,compute:C,dynamic:j,reset:N,start:function(){M=!1,N()},get state(){return E},stop:function(){N()},track:X,visibility:Y}),D=null;function H(t,e){ea()&&t&&"string"==typeof t&&t.length<255&&(D=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Rn(24))}var W,z=null,q=null;function L(t){t in z||(z[t]=0),t in q||(q[t]=0),z[t]++,q[t]++}function R(t,e){null!==e&&(t in z||(z[t]=0),t in q||(q[t]=0),z[t]+=e,q[t]+=e)}function U(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(q[t]=e,z[t]=e))}function F(t,e,n){return window.setTimeout(zr(t),e,n)}function G(t){return window.clearTimeout(t)}var J=0,V=0,B=null;function Z(){B&&G(B),B=F(K,V),J=d()}function K(){var t=d();W={gap:t-J},Rn(25),W.gap<3e5?B=F(K,V):Qr&&(H("clarityGemX","suspend"),oa(),["mousemove","touchstart"].forEach((function(t){return Lr(document,t,na)})),["resize","scroll","pageshow"].forEach((function(t){return Lr(window,t,na)})))}var Q=Object.freeze({__proto__:null,get data(){return W},reset:Z,start:function(){V=6e4,J=0},stop:function(){G(B),J=0,V=0}}),$=null;function tt(){Rn(36)}function et(){$={}}var nt=Object.freeze({__proto__:null,compute:tt,get data(){return $},reset:et,start:function(){$={}},stop:function(){$={}},track:function(t,e){if(t in $){var n=$[t],r=n[n.length-1];e-r[0]>100?$[t].push([e,0]):r[1]=e-r[0]}else $[t]=[[e,0]]}});function rt(t,e,n,r){return new(n||(n=Promise))((function(a,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,u)}c((r=r.apply(t,e||[])).next())}))}function at(t,e){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var ot="CompressionStream"in window;function it(t){return rt(this,void 0,void 0,(function(){var e,n;return at(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),ot?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return at(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ut(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ut(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o;return at(this,(function(i){switch(i.label){case 0:e=t.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var ct=null;function st(t,e){dt(t,"string"==typeof e?[e]:e)}function lt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),rt(this,void 0,void 0,(function(){var a,o;return at(this,(function(i){switch(i.label){case 0:return o={},[4,ht(t)];case 1:return o.userId=i.sent(),o.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),dt("userId",[(a=o).userId]),dt("userHint",[a.userHint]),dt("userType",[vt(t)]),e&&(dt("sessionId",[e]),a.sessionId=e),n&&(dt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function dt(t,e){if(ea()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ct?ct[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ct[t]=n}}function pt(){Rn(34)}function ft(){ct={}}function ht(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function vt(t){return t&&t.indexOf("@")>0?"email":"string"}var gt=Object.freeze({__proto__:null,compute:pt,get data(){return ct},identify:lt,reset:ft,set:st,start:function(){ft()},stop:function(){ft()}});var mt,wt={};function yt(t){var e=t.error||t;return e.message in wt||(wt[e.message]=0),wt[e.message]++>=5||e&&e.message&&(mt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},bt(31)),!0}function bt(t){return rt(this,void 0,void 0,(function(){var e;return at(this,(function(n){switch(e=[d(),t],t){case 31:e.push(mt.message),e.push(mt.line),e.push(mt.column),e.push(mt.stack),e.push(_(mt.source)),ln(e);break;case 33:_t&&(e.push(_t.code),e.push(_t.name),e.push(_t.message),e.push(_t.stack),e.push(_t.severity),ln(e,!1))}return[2]}))}))}var _t,kt={};function Tt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";t in kt&&kt[t].indexOf(o)>=0||(_t={code:t,name:n,message:r,stack:a,severity:e},t in kt?kt[t].push(o):kt[t]=[o],bt(33))}var St={},xt=new Set,Ot={},Et={},It={},Mt={};function Nt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=e.length>1?JSON.parse(e[1]):{};for(var i in Ot[r]={},Et[r]={},It[r]={},Mt[r]=a,o){var u=parseInt(i),c=o[i],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Ot[r][u]=Ct(l);break;case 2:Et[r][u]=c;break;case 4:var d=c.slice(1);It[r][u]=d}}}catch(t){Tt(8,1,t?t.name:null)}}function Xt(t){return JSON.parse(JSON.stringify(t))}function Pt(){try{for(var t in Ot){var e=parseInt(t);if(""==Mt[e]||document.querySelector(Mt[e])){var n=Ot[e];for(var r in n){var a=parseInt(r),o=(m=At(Xt(n[a])))?JSON.stringify(m).slice(0,1e4):m;o&&jt(e,a,o)}var i=Et[e];for(var u in i){var c=!1,s=parseInt(u),l=i[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var p=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");jt(e,s,(c?f(p).trim():p).slice(0,1e4))}}var h=It[e];for(var v in h){var g=parseInt(v);jt(e,g,(void h[g]).trim().slice(0,1e4))}}}xt.size>0&&Rn(40)}catch(t){Tt(5,1,t?t.name:null)}var m}function Yt(){xt.clear()}function jt(t,e,n){var r,a=!1;t in St||(St[t]={},a=!0),r=It[t],0==Object.keys(r).length||e in St[t]&&St[t][e]==n||(a=!0),St[t][e]=n,a&&xt.add(t)}function Ct(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");e.push({name:a>0?r.slice(0,a):o>0?r.slice(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.slice(o+1,i):null})}return e}function At(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&Dt(a,r.condition))n=At(t,a);else if(Array.isArray(a)){for(var o=[],i=0,u=a;i<u.length;i++){var c=u[i];if(Dt(c,r.condition)){var s=At(t,c);s&&o.push(s)}}n=o}return n}return null}function Dt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ht=Object.freeze({__proto__:null,clone:Xt,compute:Pt,data:St,keys:xt,reset:Yt,start:function(){Yt()},stop:function(){Yt()},trigger:Nt,update:jt});function Wt(t,e){try{return!!t[e]}catch(t){return!1}}function zt(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var qt=null,Lt="^";function Rt(t,e){var n;if(void 0===e&&(e=!1),Wt(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var o=r[a].split("=");if(o.length>1&&o[0]&&o[0].trim()===t){for(var i=zt(o[1]),u=i[0],c=i[1];u;)u=(n=zt(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Ut(t,e,n){if((u.track||""==e)&&(navigator&&navigator.cookieEnabled||Wt(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===qt){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(qt=".".concat(c[s]).concat(qt||""),s<c.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(qt),Rt(t)===e))return;qt=""}}catch(t){qt=""}document.cookie=qt?"".concat(i).concat(";").concat("domain=").concat(qt):i}}var Ft=null;function Gt(t){try{if(!Ft)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ft(t)}))}catch(t){}}var Jt=[A,r,gt,n,nt,Object.freeze({__proto__:null,COOKIE_SEP:Lt,getCookie:Rt,setCookie:Ut,start:function(){qt=null},stop:function(){qt=null}}),a,o,i,t,Q,e,Ht];function Vt(){z={},q={},L(5),Jt.forEach((function(t){return zr(t.start)()}))}function Bt(){Jt.slice().reverse().forEach((function(t){return zr(t.stop)()})),z={},q={}}function Zt(){pt(),C(),er(),Rn(0),tt(),Jn(),Pt(),pr()}var Kt=[],Qt=null;var $t=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Qt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Kt,stop:function(){}}),te=[],ee=null,ne=null,re=null;function ae(){te=[],ee=null,ne=null}function oe(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,r,a;return at(this,(function(o){for(n=0,r=te;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){te[1===e?"unshift":"push"]({task:t,resolve:n,id:_r()})})),null===ee&&null===ne&&ie(),[2,a]}))}))}function ie(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===_r()&&(t.resolve(),ee=null,ie())})).catch((function(e){t.id===_r()&&(e&&Tt(0,1,e.name,e.message,e.stack),ee=null,ie())})))}var ue,ce=["input","textarea","radio","button","canvas","select"],se=[];function le(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,i=Nn(n),u=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(i),c=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var r=t.getBoundingClientRect();r&&r.width>0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(i);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),o=Math.round(c.y+c.h/2));var s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,l=c?Math.max(Math.floor((o-c.y)/c.h*32767),0):0;if(null!==a&&null!==o){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(i);se.push({time:d(n),event:t,data:{target:i,x:a,y:o,eX:s,eY:l,button:n.button,reaction:de(i),context:fe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText,w:c?c.w:0,h:c?c.h:0,tag:pe(i,"tagName").substring(0,10),class:pe(i,"className").substring(0,50),id:pe(i,"id").substring(0,25)}}),oe(ze.bind(this,t))}}function de(t){var e=pe(t,"tagName");return ce.indexOf(e)>=0?0:1}function pe(t,e){if(t.nodeType===Node.ELEMENT_NODE){var n=null==t?void 0:t[e];return"string"==typeof n?null==n?void 0:n.toLowerCase():""}return""}function fe(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function he(){se=[]}function ve(t,e){var n=0,r=null,a=null;function o(){for(var o=this,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=i,r)return;r=setTimeout((function(){n=performance.now(),t.apply(o,a),a=null,r=null}),e-s)}else n=c,t.apply(this,i)}return o.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},o}var ge=null,me=!1,we=ve(ye,500);function ye(){var t=document.documentElement;ue={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},me?(G(ge),ge=F(be,500,11)):(ze(11),me=!0)}function be(t){oe(ze.bind(this,t))}function _e(){ue=null,G(ge),we.cleanup()}var ke=[],Te=null;function Se(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Nn(t):n;if(r){if(r&&r.nodeType===Node.DOCUMENT_NODE){r=n=r.documentElement}var a=r===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(r.scrollLeft),o=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),i=window.innerWidth,u=window.innerHeight,c=i/3,s=i>u?.15*u:.2*u,l=u-s,p=Oe(c,s),f=Oe(c,l),h=t&&t.isTrusted?1:0,v={time:d(t),event:10,data:{target:r,x:a,y:o,top:p,bottom:f,trust:h}};if((null!==t||0!==a||0!==o)&&null!==a&&null!==o){var g=ke.length,m=g>1?ke[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<50}(m,v)&&ke.pop(),ke.push(v),G(Te),Te=F(Ee,500,10)}}}var xe=ve(Se,25);function Oe(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function Ee(t){oe(ze.bind(this,t))}var Ie,Me,Ne,Xe=[];function Pe(t){Xe.push({time:d(t),event:39,data:{target:Nn(t)}}),oe(ze.bind(this,39))}function Ye(){Xe=[]}function je(t){Ie={name:t.type,persisted:t.persisted?1:0},ze(26,d(t)),oa()}function Ce(){Ie=null}function Ae(t){if(void 0===t&&(t=null),"visibilityState"in document){var e="visible"===document.visibilityState?1:0;Me={visible:e},ze(28,d(t))}}function De(){Me=null}function He(){Ne=null}function We(t){Ne={focused:t},ze(50)}function ze(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,r,a,o,i,u,c,s,l,p,f,h,v,g,m,w,y,k,T,S,x,O,E,I,M,N,P,j,C,A,D,H,W,z,q,L;return at(this,(function(R){switch(n=e||d(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=Kt;a<o.length;a++)z=o[a],(i=Xn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(i.id),r.push(z.data.x),r.push(z.data.y),void 0!==z.data.id&&(r.push(z.data.id),void 0!==z.data.isPrimary&&r.push(z.data.isPrimary.toString())),ln(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&X(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=se;u<c.length;u++)z=c[u],s=Xn(z.data.target,z.event,z.data.text),r=[z.time,z.event],l=s.hash?s.hash.join("."):"",r.push(s.id),r.push(z.data.x),r.push(z.data.y),r.push(z.data.eX),r.push(z.data.eY),r.push(z.data.button),r.push(z.data.reaction),r.push(z.data.context),r.push(b(z.data.text,"click",s.privacy)),r.push(_(z.data.link)),r.push(l),r.push(z.data.trust),r.push(z.data.isFullText),r.push(z.data.w),r.push(z.data.h),r.push(z.data.tag),r.push(z.data.class),r.push(z.data.id),ln(r),Ue(z.time,z.event,l,z.data.x,z.data.y,z.data.reaction,z.data.context);he();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),ln(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),X(t,h.width,h.height),_e(),ln(r);break;case 26:v=Ie,r.push(v.name),r.push(v.persisted),Ce(),ln(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],w=Xn(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(w.id),r.push(b(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),ln(r);break;case 21:(y=Qt)&&(k=Xn(y.start),T=Xn(y.end),r.push(k.id),r.push(y.startOffset),r.push(T.id),r.push(y.endOffset),ln(r));break;case 10:for(S=0,x=ke;S<x.length;S++)z=x[S],O=Xn(z.data.target,z.event),E=Xn(z.data.top,z.event),I=Xn(z.data.bottom,z.event),M=(null==E?void 0:E.hash)?E.hash.join("."):"",N=(null==I?void 0:I.hash)?I.hash.join("."):"",O.id>0&&((r=[z.time,z.event]).push(O.id),r.push(z.data.x),r.push(z.data.y),r.push(M),r.push(N),r.push(z.data.trust),ln(r),X(z.event,z.data.x,z.data.y,z.time));ke=[];break;case 42:for(P=0,j=Kt;P<j.length;P++)z=j[P],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(b(z.data.value,"change",D.privacy)),r.push(b(z.data.checksum,"checksum",D.privacy)),ln(r));break;case 39:for(C=0,A=Xe;C<A.length;C++)z=A[C],r=[z.time,z.event],(D=Xn(z.data.target,z.event)).id>0&&(r.push(D.id),ln(r));Ye();break;case 22:for(H=0,W=Le;H<W.length;H++)z=W[H],(r=[z.time,z.event]).push(z.data.type),r.push(z.data.hash),r.push(z.data.x),r.push(z.data.y),r.push(z.data.reaction),r.push(z.data.context),ln(r,!1);Re();break;case 28:q=Me,r.push(q.visible),ln(r),Y(n,q.visible),De();break;case 50:L=Ne,r.push(L.focused),ln(r,!1),He()}return[2]}))}))}var qe=[],Le=[];function Re(){Le=[]}function Ue(t,e,n,r,a,o,i){void 0===o&&(o=1),void 0===i&&(i=0),qe.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:o,context:i}}),X(e,r,a,t)}var Fe=[],Ge=!1,Je=null;function Ve(t){Ge&&"function"==typeof t&&Fe.push(t)}function Be(t){if(Ge){var e=t?t.split(" "):[""],n=e.length>1?parseInt(e[1],10):null;n&&Je.has(n)||function(t,e){try{var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){e&&(Je.add(e),j(Je))},n.onerror=function(){Wr(new Error("".concat("MODULE",": ").concat(t)))},document.head.appendChild(n)}catch(t){}}(e[0],n)}}var Ze,Ke,Qe,$e,tn,en,nn=Object.freeze({__proto__:null,event:Be,register:Ve,start:function(){Ge=!0,Je=new Set,u.modules&&u.modules.length>0&&u.modules.forEach((function(t){Be(t)}))},stop:function(){Fe.reverse().forEach((function(t){try{t()}catch(t){}})),Fe=[],Ge=!1}}),rn=0,an=0,on=null,un=0,cn=!1;function sn(){$e=!0,rn=0,an=0,cn=!1,un=0,Ze=[],Ke=[],Qe={},tn=null}function ln(t,e){if(void 0===e&&(e=!0),$e){var n=d(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(u.lean?!cn&&an+a.length>10485760&&(Tt(10,0),cn=!0):cn=!1,r){case 5:if(cn)break;rn+=a.length;case 37:case 6:case 43:case 45:case 46:case 44:case 51:if(cn)break;an+=a.length,Ze.push(a);break;default:Ke.push(a)}L(25);var o=function(){var t=!1===u.lean&&rn>0?100:jr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-un>2*o&&(G(on),on=null),e&&null===on&&(25!==r&&Z(),on=F(pn,o),un=n,Fn(an))}}function dn(){G(on),pn(!0),rn=0,an=0,cn=!1,un=0,Ze=[],Ke=[],Qe={},tn=null,$e=!1}function pn(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,c,s;return at(this,(function(l){switch(l.label){case 0:return $e?(on=null,(e=!1===u.lean&&an>0&&(an<1048576||jr.sequence>0))&&U(1,1),function(){if(jr){var t=[];Le=[];for(var e=(jr.start||0)+(jr.duration||0),n=Math.max(e-2e3,0),r=0,a=qe;r<a.length;r++){var o=a[r];o.time>=n&&(o.time<=e&&Le.push(o),t.push(o))}qe=t,ze(22)}}(),Zt(),n=!0===t,jr?(r=JSON.stringify(Dr(n)),a="[".concat(Ke.join(),"]"),o=e?"[".concat(Ze.join(),"]"):"",n&&o.length>0&&r.length+a.length+o.length>65536&&(o=""),i=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:o}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,it(i)];case 2:s=l.sent(),l.label=3;case 3:return R(2,(c=s)?c.length:i.length),fn(i,c,jr.sequence,n),Ke=[],e&&(Ze=[],an=0,rn=0,cn=!1),[2]}}))}))}function fn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof u.upload){var a=u.upload,o=!1;if(r&&navigator&&navigator.sendBeacon)try{(o=navigator.sendBeacon.bind(navigator)(a,t))&&vn(n)}catch(t){}if(!1===o){n in Qe?Qe[n].attempts++:Qe[n]={data:t,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){Wr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){zr(hn)(i,n)}),i.withCredentials=!0,e?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(e)):i.send(t)}}else if(u.upload){(0,u.upload)(t),vn(n)}}function hn(t,e){var n=Qe[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&&(u.upload=u.fallback?u.fallback:u.upload),tn={sequence:e,attempts:n.attempts,status:t.status},Rn(2),fn(n.data,null,e)):(tn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Rn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],o=a&&a.length>0?a.split(/ (.*)/):[""];switch(o[0]){case"END":Gn(6);break;case"UPGRADE":qn("Auto");break;case"ACTION":u.action&&o.length>1&&u.action(o[1]);break;case"EXTRACT":o.length>1&&Nt(o[1]);break;case"SIGNAL":o.length>1&&Gt(o[1]);break;case"MODULE":o.length>1&&Be(o[1]);break;case"SNAPSHOT":u.lean=!1,Pn()}}}(t.responseText),0===t.status&&(fn(n.data,null,e,!0),Gn(3)),t.status>=200&&t.status<=208&&vn(e),delete Qe[e]))}function vn(t){1===t&&(Ir(),Er())}function gn(t){return rt(this,void 0,void 0,(function(){var e,n,r,a,o,i,u,c,s,l,p,f,h;return at(this,(function(v){switch(e=d(),n=[e,t],t){case 8:r=en,n.push(r.width),n.push(r.height),X(t,r.width,r.height),ln(n);break;case 43:if((a=Sn).length>0){for(o=0,i=a;o<i.length;o++)for(u=i[o],c=u.metadata.privacy,s=u.data,l=0,p=["tag","attributes","value"];l<p.length;l++)if(s[f=p[l]])switch(f){case"tag":n.push(u.id),u.parent&&n.push(u.parent),u.previous&&n.push(u.previous),n.push(s[f]);break;case"attributes":for(h in s[f])void 0!==s[f][h]&&n.push(mn(h,s[f][h],c));break;case"value":n.push(b(s[f],s.tag,c))}ln(function(t){for(var e=[],n={},r=0,a=null,o=0;o<t.length;o++)if("string"==typeof t[o]){var i=t[o],u=n[i]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(i),n[i]=r++)}else a=null,e.push(t[o]),r++;return e}(n),!0)}}return[2]}))}))}function mn(t,e,n){return"".concat(t,"=").concat(b(e,0===t.indexOf("data-")?"data-":t,n))}function wn(){en=null}function yn(){var t,e,n,r,a,o,i,u,c,s,l,d,p,f,h,v;wn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,o=e?e.clientWidth:null,i=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,o,i,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,p,f,h),null!==en&&c===en.width&&v===en.height||null===c||null===v||(en={width:c,height:v},gn(8))}var bn=!1;function _n(t){t&&t.persisted&&(aa(),Tt(11,0))}function kn(t){!function(t){Lr(t===document?window:t,"scroll",xe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Lr(t,"click",le.bind(this,9,t),!0),Lr(t,"contextmenu",le.bind(this,48,t),!0)}(t),function(t){Lr(t,"submit",Pe,!0)}(t))}var Tn=Object.freeze({__proto__:null,observe:kn,start:function(){qe=[],Re(),he(),me=!1,Lr(window,"resize",we),ye(),Lr(document,"visibilitychange",Ae),Ae(),Lr(window,"focus",(function(){return We(1)})),Lr(window,"blur",(function(){return We(0)})),function(){if(!bn)try{window[c("addEventListener")]("pageshow",zr(_n),{capture:!1,passive:!0}),bn=!0}catch(t){}}(),ke=[],Se(),Ye(),Lr(window,"pagehide",je)},stop:function(){qe=[],Re(),he(),_e(),De(),He(),G(Te),xe.cleanup(),ke=[],Ye(),Ce()}}),Sn=[],xn=1,On=null;function En(){Yn(),yn(),Cn(document.documentElement),kn(document)}function In(){return!1}function Mn(){}function Nn(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Xn(t){var e={id:0,hash:null,privacy:u.conversions?1:5};return t&&(e.id=On.has(t)?On.get(t):Cn(t)),e}function Pn(){Sn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,o=e.shift(),i=o.firstChild,u=o.parentElement?o.parentElement:o.parentNode?o.parentNode:null;i;)e.push(i),i=i.nextSibling;switch(o.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=o;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=o.nodeValue,r=On.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=o;n=jn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}An(o,u,{tag:r,attributes:n,value:a})}}(document),gn(43)}function Yn(){On=new WeakMap}function jn(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r<n.length;r++)e[n[r].name]=n[r].value;return e}function Cn(t){return null===t?null:On.has(t)?On.get(t):(On.set(t,xn),xn++)}function An(t,e,n){if(t&&n&&n.tag){var r=Cn(t),a=e?On.get(e):null,o=t.previousSibling?On.get(t.previousSibling):null;Sn.push({id:r,parent:a,previous:o,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Dn,Hn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:Mn,iframe:In,metadata:Xn,offset:function(){return{x:0,y:0}},snapshot:Pn,start:En,stop:function(){Yn(),wn()},target:Nn,get values(){return Sn}}),Wn=null;function zn(){!u.lean&&u.upgrade&&u.upgrade("Config"),Wn=null}function qn(t){ea()&&u.lean&&(u.lean=!1,Wn={key:t},Er(),Ir(),u.upgrade&&u.upgrade(t),Rn(3),u.lite&&En())}function Ln(){Wn=null}function Rn(t){var e=[d(),t];switch(t){case 4:var n=E;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),e.push(n.data.modules),ln(e,!1)),N();break;case 25:e.push(W.gap),ln(e);break;case 35:e.push(Dn.check),ln(e,!1);break;case 3:e.push(Wn.key),ln(e);break;case 2:e.push(tn.sequence),e.push(tn.attempts),e.push(tn.status),ln(e,!1);break;case 24:D.key&&e.push(D.key),e.push(D.value),ln(e);break;case 34:var r=Object.keys(ct);if(r.length>0){for(var a=0,o=r;a<o.length;a++){var i=o[a];e.push(i),e.push(ct[i])}ft(),ln(e,!1)}break;case 0:var u=Object.keys(q);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var l=s[c],p=parseInt(l,10);e.push(p),e.push(Math.round(q[l]))}q={},ln(e,!1)}break;case 1:var f=Object.keys(Zn);if(f.length>0){for(var h=0,v=f;h<v.length;h++){var g=v[h];p=parseInt(g,10);e.push(p),e.push(Zn[g])}nr(),ln(e,!1)}break;case 36:var m=Object.keys($);if(m.length>0){for(var w=0,y=m;w<y.length;w++){var b=y[w];p=parseInt(b,10);e.push(p),e.push([].concat.apply([],$[b]))}et(),ln(e,!1)}break;case 40:xt.forEach((function(t){e.push(t);var n=[];for(var r in St[t]){var a=parseInt(r,10);n.push(a),n.push(St[t][r])}e.push(n)})),Yt(),ln(e,!1);break;case 47:e.push(rr.source),e.push(rr.ad_Storage),e.push(rr.analytics_Storage),ln(e,!1)}}function Un(){Dn={check:0}}function Fn(t){if(0===Dn.check){var e=Dn.check;e=jr.sequence>=128?1:e,e=jr.pageNum>=128?7:e,e=d()>72e5?2:e,(e=t>10485760?2:e)!==Dn.check&&Gn(e)}}function Gn(t){Dn.check=t,5!==t&&(Or(),oa())}function Jn(){0!==Dn.check&&Rn(35)}function Vn(){Dn=null}var Bn=null,Zn=null,Kn=!1;function Qn(){Bn={},Zn={},Kn=!1}function $n(){Bn={},Zn={},Kn=!1}function tr(t,e){if(e&&(e="".concat(e),t in Bn||(Bn[t]=[]),Bn[t].indexOf(e)<0)){if(Bn[t].length>128)return void(Kn||(Kn=!0,Gn(5)));Bn[t].push(e),t in Zn||(Zn[t]=[]),Zn[t].push(e)}}function er(){Rn(1)}function nr(){Zn={},Kn=!1}var rr=null,ar=!0;function or(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;ar=!0,(null==e?void 0:e.addListener)&&e.addListener(["ad_storage","analytics_storage"],ur)}function ir(){ar=!0}function ur(){var t,e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;if(null==e?void 0:e.getConsentState){var n=e.getConsentState("analytics_storage");Tr(function(t){var e={source:2,ad_Storage:1===t.ad_Storage?"granted":"denied",analytics_Storage:1===t.analytics_Storage?"granted":"denied"};return e}({ad_Storage:e.getConsentState("ad_storage"),analytics_Storage:n}))}}function cr(t){lr(t.analytics_Storage?1:0),rr=t}function sr(){lr(2)}function lr(t){tr(36,t.toString())}function dr(t){rr=t,Rn(47)}function pr(){var t;if(ar&&(Rn(47),ar=!1,!u.track)){var e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics;(null==e?void 0:e.usedUpdate)&&ur()}}var fr=null,hr=[],vr=0,gr=null,mr={source:7,ad_Storage:"denied",analytics_Storage:"denied"};function wr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone))&&void 0!==n?n:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";vr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Rt("_clsk",!u.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Xr(n[1])<18e5&&(t.session=n[0],t.count=Xr(n[2])+1,t.upgrade=Xr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Pr(),d=u.projectId||f(location.host),p=u.externalSession&&u.userId?u.userId:l.id,h=u.externalSession&&u.sessionId?u.sessionId:s.session;fr={projectId:d,userId:p,sessionId:h,pageNum:s.count},u.lean=u.track&&null!==s.upgrade?0===s.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&s.upload&&s.upload.length>"https://".length?s.upload:u.upload,tr(0,r),tr(3,c),tr(1,_(location.href,!!vr)),tr(2,document.referrer),tr(15,function(){var t=Nr();if(u.track&&Wt(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),tr(16,document.documentElement.lang),tr(17,document.dir),tr(26,"".concat(window.devicePixelRatio)),tr(28,l.dob.toString()),tr(29,l.version.toString()),tr(33,i),tr(34,a),tr(35,o),U(0,s.ts),U(1,0),U(35,vr);var v,g=null===window||void 0===window?void 0:window.Zone;g&&"__symbol__"in g&&U(39,1),navigator&&(tr(9,navigator.language),U(33,navigator.hardwareConcurrency),U(32,navigator.maxTouchPoints),U(34,Math.round(navigator.deviceMemory)),(v=navigator.userAgentData)&&v.getHighEntropyValues?v.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;tr(22,t.platform),tr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){tr(24,t.name+"~"+t.version)})),tr(25,t.model),U(27,t.mobile?1:0)})):tr(22,navigator.platform)),screen&&(U(14,Math.round(screen.width)),U(15,Math.round(screen.height)),U(16,Math.round(screen.colorDepth)));for(var m=0,w=u.cookies;m<w.length;m++){var y=w[m],b=Rt(y);b&&st(y,b)}null===gr&&(gr={source:l.consent?6:0,ad_Storage:u.track?"granted":"denied",analytics_Storage:u.track?"granted":"denied"}),cr(Sr(gr)),u.externalSession||Mr(l)}function yr(){fr=null,hr.forEach((function(t){t.called=!1}))}function br(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=u.lean?0:1,o=!1;fr&&(a||!1===e)&&(t(fr,!u.lean,r?gr:void 0),o=!0),!n&&o||hr.push({callback:t,wait:e,recall:n,called:o,consentInfo:r})}function _r(){return fr?[fr.userId,fr.sessionId,fr.pageNum].join("."):""}function kr(t){void 0===t&&(t=!0),t?(Tr({source:4,ad_Storage:"granted",analytics_Storage:"granted"}),sr()):Tr({source:4,ad_Storage:"denied",analytics_Storage:"denied"})}function Tr(t,e){var n;void 0===t&&(t=mr),void 0===e&&(e=5);var r={source:null!==(n=t.source)&&void 0!==n?n:e,ad_Storage:xr(t.ad_Storage,null==gr?void 0:gr.ad_Storage),analytics_Storage:xr(t.analytics_Storage,null==gr?void 0:gr.analytics_Storage)};if(gr&&r.ad_Storage===gr.ad_Storage&&r.analytics_Storage===gr.analytics_Storage)return gr.source=r.source,dr(Sr(gr)),void sr();gr=r,Er(!0);var a=Sr(gr);if(!a.analytics_Storage&&u.track)return u.track=!1,Or(!0),oa(),void window.setTimeout(aa,250);ea()&&a.analytics_Storage&&(u.track=!0,Mr(Pr(),1),Ir()),dr(a),sr()}function Sr(t){var e;return{source:null!==(e=t.source)&&void 0!==e?e:255,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function xr(t,e){return void 0===e&&(e="denied"),"string"==typeof t?t.toLowerCase():e}function Or(t){void 0===t&&(t=!1),Ut("_clsk","",0),t&&Ut("_clck","",0)}function Er(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(hr.length>0)for(var n=0;n<hr.length;n++){var r=hr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(fr,!u.lean,r.consentInfo?gr:void 0),r.called=!0,r.recall||(hr.splice(n,1),n--))}}(u.lean?0:1,t)}function Ir(){if(fr&&u.track&&!u.externalSession){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;Ut("_clsk",[fr.sessionId,t,fr.pageNum,n,e].join(Lt),1)}}function Mr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),r=0===t.dob?null===u.dob?0:u.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Ut("_clck",[fr.userId,2,n.toString(36),e,r].join(Lt),365)}function Nr(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Xr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Pr(){var t={id:Nr(),version:0,expiry:null,consent:0,dob:0},e=Rt("_clck",!u.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Xr(n[1])),n.length>2&&(t.expiry=Xr(n[2],36)),n.length>3&&1===Xr(n[3])&&(t.consent=1),n.length>4&&Xr(n[1])>1&&(t.dob=Xr(n[4])),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}var Yr,jr=null;function Cr(){var t=fr;jr={version:p,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 Ar(){jr=null}function Dr(t){return jr.start=jr.start+jr.duration,jr.duration=d()-jr.start,jr.sequence++,jr.upload=t&&"sendBeacon"in navigator?1:0,jr.end=t?1:0,jr.applicationPlatform=0,jr.url=_(location.href,!1,!0),[jr.version,jr.sequence,jr.start,jr.duration,jr.projectId,jr.userId,jr.sessionId,jr.pageNum,jr.upload,jr.end,jr.applicationPlatform,jr.url]}function Hr(){Yr=[]}function Wr(t){if(Yr&&-1===Yr.indexOf(t.message)){var e=u.report;if(e&&e.length>0&&jr){var n={v:jr.version,p:jr.projectId,u:jr.userId,s:jr.sessionId,n:jr.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),Yr.push(t.message)}}return t}function zr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Wr(t)}var n=performance.now()-e;R(4,n),n>30&&(L(7),U(6,n),t.dn&&Tt(9,0,"".concat(t.dn,"-").concat(n)))}}var qr=new Map;function Lr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=zr(n);try{t[c("addEventListener")](e,n,{capture:r,passive:a}),function(t){return qr.has(t)}(t)||qr.set(t,[]),qr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Rr(){qr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[c("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),qr.delete(e)}(t,e)})),qr=new Map}var Ur=null,Fr=null,Gr=null,Jr=0;function Vr(){return!(Jr++>20)||(Tt(4,0),!1)}function Br(){Jr=0,Gr!==Kr()&&(oa(),window.setTimeout(Zr,250))}function Zr(){aa(),U(29,1)}function Kr(){return location.href?location.href.replace(location.hash,""):location.href}var Qr=!1;function $r(){Qr=!0,s=l(),ae(),Rr(),Hr(),Gr=Kr(),Jr=0,Lr(window,"popstate",Br),null===Ur&&(Ur=history.pushState,history.pushState=function(){Ur.apply(this,arguments),ea()&&Vr()&&Br()}),null===Fr&&(Fr=history.replaceState,history.replaceState=function(){Fr.apply(this,arguments),ea()&&Vr()&&Br()})}function ta(){Gr=null,Jr=0,Hr(),Rr(),ae(),s=0,Qr=!1}function ea(){return Qr}function na(){aa(),H("clarityGemX","restart")}var ra=[Object.freeze({__proto__:null,start:function(){!function(){U(26,navigator.webdriver?1:0);try{U(31,window.top==window.self||window.top==window?1:2)}catch(t){U(31,0)}}(),Lr(window,"error",yt),wt={},kt={}},stop:function(){kt={}}}),Hn,Tn,$t,nn];function aa(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Qr&&"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||Qr)return!1;for(var e in t)e in u&&(u[e]=t[e])}(t),$r(),Vt(),ra.forEach((function(t){return zr(t.start)()})),null===t&&sa())}function oa(){ea()&&(ra.slice().reverse().forEach((function(t){return zr(t.stop)()})),Bt(),ta(),void 0!==ua&&(ua[ca]=function(){(ua[ca].q=ua[ca].q||[]).push(arguments),"start"===arguments[0]&&ua[ca].q.unshift(ua[ca].q.pop())&&sa()}))}var ia=Object.freeze({__proto__:null,consent:kr,consentv2:Tr,dlog:tr,event:H,hashText:Mn,identify:lt,maxMetric:U,measure:zr,metadata:br,pause:function(){ea()&&(H("clarityGemX","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:ln,register:Ve,resume:function(){ea()&&(ne&&(re(),ne=null,null===ee&&ie()),H("clarityGemX","resume"))},schedule:oe,set:st,signal:function(t){Ft=t},start:aa,stop:oa,time:d,upgrade:qn,version:p}),ua=window,ca="clarityGemX";function sa(){if(void 0!==ua){if(ua[ca]&&ua[ca].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=ua[ca]&&ua[ca].q||[];for(ua[ca]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ia[t].apply(ia,e)},ua[ca].v=p;t.length>0;)ua[ca].apply(ua,t.shift())}}sa()}();
|
package/build/clarity.js
CHANGED
|
@@ -174,6 +174,10 @@ var config$2 = {
|
|
|
174
174
|
conversions: false,
|
|
175
175
|
includeSubdomains: true,
|
|
176
176
|
modules: [],
|
|
177
|
+
excludeClassNames: [],
|
|
178
|
+
externalSession: false,
|
|
179
|
+
userId: null,
|
|
180
|
+
sessionId: null,
|
|
177
181
|
};
|
|
178
182
|
|
|
179
183
|
function api(method) {
|
|
@@ -207,7 +211,7 @@ function stop$K() {
|
|
|
207
211
|
startTime = 0;
|
|
208
212
|
}
|
|
209
213
|
|
|
210
|
-
var version$1 = "0.8.
|
|
214
|
+
var version$1 = "0.8.63";
|
|
211
215
|
|
|
212
216
|
// tslint:disable: no-bitwise
|
|
213
217
|
function hash (input, precision) {
|
|
@@ -812,6 +816,16 @@ function __generator(thisArg, body) {
|
|
|
812
816
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
813
817
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
814
818
|
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
function __spreadArray(to, from, pack) {
|
|
822
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
823
|
+
if (ar || !(i in from)) {
|
|
824
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
825
|
+
ar[i] = from[i];
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
815
829
|
}
|
|
816
830
|
|
|
817
831
|
var supported$1 = "CompressionStream" /* Constant.CompressionStream */ in window;
|
|
@@ -3522,10 +3536,14 @@ function getAttributes$1(element) {
|
|
|
3522
3536
|
}
|
|
3523
3537
|
|
|
3524
3538
|
var excludeClassNames = "load,active,fixed,visible,focus,show,collaps,animat" /* Constant.ExcludeClassNames */.split("," /* Constant.Comma */);
|
|
3539
|
+
var extraExcludeClassNames = [];
|
|
3525
3540
|
var selectorMap = {};
|
|
3526
3541
|
function reset$8() {
|
|
3527
3542
|
selectorMap = {};
|
|
3528
3543
|
}
|
|
3544
|
+
function configure(classNames) {
|
|
3545
|
+
extraExcludeClassNames = classNames || [];
|
|
3546
|
+
}
|
|
3529
3547
|
function get$1(input, type) {
|
|
3530
3548
|
var a = input.attributes;
|
|
3531
3549
|
var prefix = input.prefix ? input.prefix[type] : null;
|
|
@@ -3597,7 +3615,7 @@ function filter(value) {
|
|
|
3597
3615
|
if (!value) {
|
|
3598
3616
|
return false;
|
|
3599
3617
|
} // Do not process empty strings
|
|
3600
|
-
if (
|
|
3618
|
+
if (getExcludeClassNames().some(function (x) { return value.toLowerCase().indexOf(x) >= 0; })) {
|
|
3601
3619
|
return false;
|
|
3602
3620
|
}
|
|
3603
3621
|
for (var i = 0; i < value.length; i++) {
|
|
@@ -3608,9 +3626,13 @@ function filter(value) {
|
|
|
3608
3626
|
}
|
|
3609
3627
|
return true;
|
|
3610
3628
|
}
|
|
3629
|
+
function getExcludeClassNames() {
|
|
3630
|
+
return __spreadArray(__spreadArray([], excludeClassNames, true), extraExcludeClassNames, true);
|
|
3631
|
+
}
|
|
3611
3632
|
|
|
3612
3633
|
var selector = /*#__PURE__*/Object.freeze({
|
|
3613
3634
|
__proto__: null,
|
|
3635
|
+
configure: configure,
|
|
3614
3636
|
get: get$1,
|
|
3615
3637
|
reset: reset$8
|
|
3616
3638
|
});
|
|
@@ -5647,7 +5669,9 @@ function start$8() {
|
|
|
5647
5669
|
var s = session();
|
|
5648
5670
|
var u = user();
|
|
5649
5671
|
var projectId = config$2.projectId || hash(location.host);
|
|
5650
|
-
|
|
5672
|
+
var userId = config$2.externalSession && config$2.userId ? config$2.userId : u.id;
|
|
5673
|
+
var sessionId = config$2.externalSession && config$2.sessionId ? config$2.sessionId : s.session;
|
|
5674
|
+
data$2 = { projectId: projectId, userId: userId, sessionId: sessionId, pageNum: s.count };
|
|
5651
5675
|
// Override configuration based on what's in the session storage, unless it is blank (e.g. using upload callback, like in devtools)
|
|
5652
5676
|
config$2.lean = config$2.track && s.upgrade !== null ? s.upgrade === 0 /* BooleanFlag.False */ : config$2.lean;
|
|
5653
5677
|
config$2.upload = config$2.track && typeof config$2.upload === "string" /* Constant.String */ && s.upload && s.upload.length > "https://" /* Constant.HTTPS */.length ? s.upload : config$2.upload;
|
|
@@ -5706,8 +5730,10 @@ function start$8() {
|
|
|
5706
5730
|
}
|
|
5707
5731
|
var consent = getConsentData(consentStatus);
|
|
5708
5732
|
config$1(consent);
|
|
5709
|
-
// Track ids using a cookie if configuration allows it
|
|
5710
|
-
|
|
5733
|
+
// Track ids using a cookie if configuration allows it, skip if using external session
|
|
5734
|
+
if (!config$2.externalSession) {
|
|
5735
|
+
track(u);
|
|
5736
|
+
}
|
|
5711
5737
|
}
|
|
5712
5738
|
function userAgentData() {
|
|
5713
5739
|
var uaData = navigator["userAgentData"];
|
|
@@ -5832,7 +5858,7 @@ function callback(consentUpdate) {
|
|
|
5832
5858
|
processCallback(upgrade, consentUpdate);
|
|
5833
5859
|
}
|
|
5834
5860
|
function save() {
|
|
5835
|
-
if (!data$2 || !config$2.track)
|
|
5861
|
+
if (!data$2 || !config$2.track || config$2.externalSession)
|
|
5836
5862
|
return;
|
|
5837
5863
|
var ts = Math.round(Date.now());
|
|
5838
5864
|
var upload = config$2.upload && typeof config$2.upload === "string" /* Constant.String */ ? config$2.upload.replace("https://" /* Constant.HTTPS */, "" /* Constant.Empty */) : "" /* Constant.Empty */;
|
|
@@ -6209,8 +6235,9 @@ var diagnostic = /*#__PURE__*/Object.freeze({
|
|
|
6209
6235
|
});
|
|
6210
6236
|
|
|
6211
6237
|
function start$3() {
|
|
6212
|
-
// The order below is important
|
|
6238
|
+
// The order below is important
|
|
6213
6239
|
// and is determined by interdependencies of modules
|
|
6240
|
+
configure(config$2.excludeClassNames || []);
|
|
6214
6241
|
start$n();
|
|
6215
6242
|
start$k();
|
|
6216
6243
|
start$l();
|