clarity-js 0.8.28 → 0.8.29
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 +27 -5
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +27 -5
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/data/consent.ts +29 -6
- package/src/data/metadata.ts +1 -1
- package/types/data.d.ts +22 -2
- package/types/global.d.ts +16 -0
- package/types/performance.d.ts +0 -6
package/build/clarity.insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return un},get start(){return on},get stop(){return cn},get track(){return Ke}}),e=Object.freeze({__proto__:null,get data(){return jn},get start(){return An},get stop(){return Dn},get upgrade(){return Cn}}),n=Object.freeze({__proto__:null,get check(){return zn},get compute(){return Rn},get data(){return Pn},get start(){return Wn},get stop(){return Ln},get trigger(){return qn}}),r=Object.freeze({__proto__:null,get compute(){return Gn},get data(){return Un},get log(){return Zn},get reset(){return Kn},get start(){return Jn},get stop(){return Bn},get updates(){return Fn}}),a=Object.freeze({__proto__:null,get callback(){return fr},get callbacks(){return $n},get clear(){return pr},get consent(){return cr},get consentv2(){return sr},get data(){return Qn},get electron(){return tr},get id(){return ur},get metadata(){return or},get save(){return hr},get shortid(){return mr},get start(){return ar},get stop(){return ir}}),i=Object.freeze({__proto__:null,get data(){return Or},get envelope(){return Er},get start(){return Sr},get stop(){return xr}}),o={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(){return performance.now()+performance.timeOrigin}function l(t){void 0===t&&(t=null);var e=0===c?s():c,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 d="0.8.28";function p(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=255,v=!0,g=null,m=null,w=null;function y(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,i=!1,o=null;S();for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(r=r||c>=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=v&&null!==w?s.match(w)?s:T(s,"▪","▫"):_(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return O(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):_(t);case"src":case"srcset":case"title":case"alt":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)}break;case 4:switch(e){case"*T":case"data-":return r?k(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 T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function b(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=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];r=u+"?"+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,h)),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),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function _(t){return t.replace(f,"•")}function T(t,e,n){return S(),t?t.replace(m,e).replace(g,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 S(){if(v&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),w=new RegExp("\\p{Sc}","gu")}catch(t){v=!1}}var x=null,E=null,M=!1;function N(){M&&(x={time:l(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(t,e,n,r){switch(t){case 8:E.docWidth=e,E.docHeight=n;break;case 11:E.screenWidth=e,E.screenHeight=n;break;case 10:E.scrollX=e,E.scrollY=n,E.scrollTime=r;break;case 12:E.moveX=e,E.moveY=n,E.moveTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 13:E.downX=e,E.downY=n,E.downTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 14:E.upX=e,E.upY=n,E.upTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r}M=!0}function X(t){E.activityTime=t}function P(t,e){E.visible="visible"===e?1:0,E.visible||X(t),M=!0}function Y(){M&&Hn(4)}var j=Object.freeze({__proto__:null,activity:X,compute:Y,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:I,visibility:P}),A=null,C=!0;function D(t){W(t.analytics_Storage?1:0),A=t}function H(){W(2)}function W(t){Zn(36,t.toString())}function z(t){A=t,Hn(47)}function q(){C&&(Hn(47),C=!1)}var R=Object.freeze({__proto__:null,compute:q,config:D,consent:H,consentv2:z,get data(){return A},start:function(){C=!0},stop:function(){C=!0}}),L=null;function U(t,e){Fr()&&t&&"string"==typeof t&&t.length<255&&(L=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Hn(24))}var F,V=null,J=null;function B(t){t in V||(V[t]=0),t in J||(J[t]=0),V[t]++,J[t]++}function Z(t,e){null!==e&&(t in V||(V[t]=0),t in J||(J[t]=0),V[t]+=e,J[t]+=e)}function G(t,e){null!==e&&!1===isNaN(e)&&(t in V||(V[t]=0),(e>V[t]||0===V[t])&&(J[t]=e,V[t]=e))}function K(t,e,n){return window.setTimeout(Ir(t),e,n)}function Q(t){return window.clearTimeout(t)}var $=0,tt=0,et=null;function nt(){et&&Q(et),et=K(rt,tt),$=l()}function rt(){var t=l();F={gap:t-$},Hn(25),F.gap<3e5?et=K(rt,tt):Rr&&(U("clarity","suspend"),Zr(),["mousemove","touchstart"].forEach((function(t){return Pr(document,t,Vr)})),["resize","scroll","pageshow"].forEach((function(t){return Pr(window,t,Vr)})))}var at=Object.freeze({__proto__:null,get data(){return F},reset:nt,start:function(){tt=6e4,$=0},stop:function(){Q(et),$=0,tt=0}}),it=null;function ot(){Hn(36)}function ut(){it={}}var ct=Object.freeze({__proto__:null,compute:ot,get data(){return it},reset:ut,start:function(){it={}},stop:function(){it={}},track:function(t,e){if(t in it){var n=it[t],r=n[n.length-1];e-r[0]>100?it[t].push([e,0]):r[1]=e-r[0]}else it[t]=[[e,0]]}});function st(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function lt(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var dt="CompressionStream"in window;function pt(t){return st(this,void 0,void 0,(function(){var e,n;return lt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),dt?(e=new ReadableStream({start:function(e){return st(this,void 0,void 0,(function(){return lt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ft(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return st(this,void 0,void 0,(function(){var e,n,r,a,i;return lt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var ht=null;function vt(t,e){mt(t,"string"==typeof e?[e]:e)}function gt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),st(this,void 0,void 0,(function(){var a,i;return lt(this,(function(o){switch(o.label){case 0:return i={},[4,bt(t)];case 1:return i.userId=o.sent(),i.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(T(u.substring(2),"*","*")):T(u,"*","*")),mt("userId",[(a=i).userId]),mt("userHint",[a.userHint]),mt("userType",[kt(t)]),e&&(mt("sessionId",[e]),a.sessionId=e),n&&(mt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function mt(t,e){if(Fr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ht?ht[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);ht[t]=n}}function wt(){Hn(34)}function yt(){ht={}}function bt(t){return st(this,void 0,void 0,(function(){var e;return lt(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 kt(t){return t&&t.indexOf("@")>0?"email":"string"}var _t=Object.freeze({__proto__:null,compute:wt,get data(){return ht},identify:gt,reset:yt,set:vt,start:function(){yt()},stop:function(){yt()}});var Tt,Ot={};function St(t){var e=t.error||t;return e.message in Ot||(Ot[e.message]=0),Ot[e.message]++>=5||e&&e.message&&(Tt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},xt(31)),!0}function xt(t){return st(this,void 0,void 0,(function(){var e;return lt(this,(function(n){switch(e=[l(),t],t){case 31:e.push(Tt.message),e.push(Tt.line),e.push(Tt.column),e.push(Tt.stack),e.push(b(Tt.source)),un(e);break;case 33:Et&&(e.push(Et.code),e.push(Et.name),e.push(Et.message),e.push(Et.stack),e.push(Et.severity),un(e,!1))}return[2]}))}))}var Et,Mt={};function Nt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Mt&&Mt[t].indexOf(i)>=0||(Et={code:t,name:n,message:r,stack:a,severity:e},t in Mt?Mt[t].push(i):Mt[t]=[i],xt(33))}var It={},Xt=new Set,Pt={},Yt={},jt={},At={};function Ct(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Pt[r]={},Yt[r]={},jt[r]={},At[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Pt[r][u]=qt(l);break;case 2:Yt[r][u]=c;break;case 4:var d=c.slice(1);jt[r][u]=d}}}catch(t){Nt(8,1,t?t.name:null)}}function Dt(t){return JSON.parse(JSON.stringify(t))}function Ht(){try{for(var t in Pt){var e=parseInt(t);if(""==At[e]||document.querySelector(At[e])){var n=Pt[e];for(var r in n){var a=parseInt(r),i=(m=Rt(Dt(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&zt(e,a,i)}var o=Yt[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");zt(e,s,(c?p(f).trim():f).slice(0,1e4))}}var h=jt[e];for(var v in h){var g=parseInt(v);zt(e,g,(void h[g]).trim().slice(0,1e4))}}}Xt.size>0&&Hn(40)}catch(t){Nt(5,1,t?t.name:null)}var m}function Wt(){Xt.clear()}function zt(t,e,n){var r,a=!1;t in It||(It[t]={},a=!0),r=jt[t],0==Object.keys(r).length||e in It[t]&&It[t][e]==n||(a=!0),It[t][e]=n,a&&Xt.add(t)}function qt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function Rt(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&&Lt(a,r.condition))n=Rt(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var c=u[o];if(Lt(c,r.condition)){var s=Rt(t,c);s&&i.push(s)}}n=i}return n}return null}function Lt(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ut=null;function Ft(t){try{if(!Ut)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){Ut(t)}))}catch(t){}}var Vt=[j,r,_t,n,ct,R,a,i,t,at,e,Object.freeze({__proto__:null,clone:Dt,compute:Ht,data:It,keys:Xt,reset:Wt,start:function(){Wt()},stop:function(){Wt()},trigger:Ct,update:zt})];function Jt(){V={},J={},B(5),Vt.forEach((function(t){return Ir(t.start)()}))}function Bt(){Vt.slice().reverse().forEach((function(t){return Ir(t.stop)()})),V={},J={}}function Zt(){wt(),Y(),Gn(),Hn(0),ot(),Rn(),Ht(),q()}var Gt=[],Kt=null;var Qt=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:Kt,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:Gt,stop:function(){}}),$t=[],te=null,ee=null,ne=null;function re(){$t=[],te=null,ee=null}function ae(t,e){return void 0===e&&(e=0),st(this,void 0,void 0,(function(){var n,r,a;return lt(this,(function(i){for(n=0,r=$t;n<r.length;n++)if(r[n].task===t)return[2];return a=new Promise((function(n){$t[1===e?"unshift":"push"]({task:t,resolve:n,id:ur()})})),null===te&&null===ee&&ie(),[2,a]}))}))}function ie(){var t=$t.shift();t&&(te=t,t.task().then((function(){t.id===ur()&&(t.resolve(),te=null,ie())})).catch((function(e){t.id===ur()&&(e&&Nt(0,1,e.name,e.message,e.stack),te=null,ie())})))}var oe,ue=["input","textarea","radio","button","canvas","select"],ce=[];function se(t,e,n){var r=document.documentElement,a="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,o=Sn(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}(o),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}(o);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),i=Math.round(c.y+c.h/2));var s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((i-c.y)/c.h*32767),0):0;if(null!==a&&null!==i){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}}(o);ce.push({time:l(n),event:t,data:{target:o,x:a,y:i,eX:s,eY:d,button:n.button,reaction:le(o),context:de(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),ae(He.bind(this,t))}}function le(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(ue.indexOf(e)>=0)return 0}return 1}function de(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function pe(){ce=[]}function fe(t,e){var n=0,r=null,a=null;function i(){for(var i=this,o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=o,r)return;r=setTimeout((function(){n=performance.now(),t.apply(i,a),a=null,r=null}),e-s)}else n=c,t.apply(this,o)}return i.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},i}var he=null,ve=!1,ge=fe(me,500);function me(){var t=document.documentElement;oe={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},ve?(Q(he),he=K(we,500,11)):(He(11),ve=!0)}function we(t){ae(He.bind(this,t))}function ye(){oe=null,Q(he),ge.cleanup()}var be=[],ke=null;function _e(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?Sn(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),i=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),o=window.innerWidth,u=window.innerHeight,c=o/3,s=o>u?.15*u:.2*u,d=u-s,p=Oe(c,s),f=Oe(c,d),h={time:l(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:f}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=be.length,g=v>1?be[v-2]:null;g&&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}(g,h)&&be.pop(),be.push(h),Q(ke),ke=K(Se,500,10)}}}var Te=fe(_e,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 Se(t){ae(He.bind(this,t))}var xe,Ee,Me,Ne=[];function Ie(t){Ne.push({time:l(t),event:39,data:{target:Sn(t)}}),ae(He.bind(this,39))}function Xe(){Ne=[]}function Pe(t){xe={name:t.type,persisted:t.persisted?1:0},He(26,l(t)),Zr()}function Ye(){xe=null}function je(t){void 0===t&&(t=null),Ee={visible:"visibilityState"in document?document.visibilityState:"default"},He(28,l(t))}function Ae(){Ee=null}function Ce(){Me=null}function De(t){Me={focused:t},He(50)}function He(t,e){return void 0===e&&(e=null),st(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,s,d,p,f,h,v,g,m,w,k,_,T,O,S,x,E,M,N,X,Y,j,A,C,D,H,W,z,q,R;return lt(this,(function(L){switch(n=e||l(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=Gt;a<i.length;a++)z=i[a],(o=xn(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(o.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())),un(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&I(z.event,z.data.x,z.data.y,z.time));break;case 9:case 48:for(u=0,c=ce;u<c.length;u++)z=c[u],s=xn(z.data.target,z.event,z.data.text),r=[z.time,z.event],d=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(y(z.data.text,"click",s.privacy)),r.push(b(z.data.link)),r.push(d),r.push(z.data.trust),r.push(z.data.isFullText),un(r),Re(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);pe();break;case 38:for(p=0,f=Gt;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),un(r));break;case 11:h=oe,r.push(h.width),r.push(h.height),I(t,h.width,h.height),ye(),un(r);break;case 26:v=xe,r.push(v.name),r.push(v.persisted),Ye(),un(r);break;case 27:for(g=0,m=Gt;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(y(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),un(r);break;case 21:(k=Kt)&&(_=xn(k.start),T=xn(k.end),r.push(_.id),r.push(k.startOffset),r.push(T.id),r.push(k.endOffset),un(r));break;case 10:for(O=0,S=be;O<S.length;O++)z=S[O],x=xn(z.data.target,z.event),E=xn(z.data.top,z.event),M=xn(z.data.bottom,z.event),N=(null==E?void 0:E.hash)?E.hash.join("."):"",X=(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(N),r.push(X),un(r),I(z.event,z.data.x,z.data.y,z.time));be=[];break;case 42:for(Y=0,j=Gt;Y<j.length;Y++)z=j[Y],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(y(z.data.value,"change",D.privacy)),r.push(y(z.data.checksum,"checksum",D.privacy)),un(r));break;case 39:for(A=0,C=Ne;A<C.length;A++)z=C[A],r=[z.time,z.event],(D=xn(z.data.target,z.event)).id>0&&(r.push(D.id),un(r));Xe();break;case 22:for(H=0,W=ze;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),un(r,!1);qe();break;case 28:q=Ee,r.push(q.visible),un(r),P(n,q.visible),Ae();break;case 50:R=Me,r.push(R.focused),un(r,!1),Ce()}return[2]}))}))}var We=[],ze=[];function qe(){ze=[]}function Re(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),We.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),I(e,r,a,t)}var Le=[],Ue=!1;function Fe(t){Ue&&"function"==typeof t&&Le.push(t)}function Ve(t){!function(t){if(!Ue)return;try{var e=document.createElement("script");e.src=t,e.async=!0,document.head.appendChild(e)}catch(t){}}(t)}var Je,Be,Ze,Ge,Ke,Qe,$e=Object.freeze({__proto__:null,dynamicEvent:Ve,register:Fe,start:function(){Ue=!0},stop:function(){Le.reverse().forEach((function(t){try{t()}catch(t){}})),Le=[],Ue=!1}}),tn=0,en=0,nn=null,rn=0,an=!1;function on(){Ge=!0,tn=0,en=0,an=!1,rn=0,Je=[],Be=[],Ze={},Ke=null}function un(t,e){if(void 0===e&&(e=!0),Ge){var n=l(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(o.lean?!an&&en+a.length>10485760&&(Nt(10,0),an=!0):an=!1,r){case 5:if(an)break;tn+=a.length;case 37:case 6:case 43:case 45:case 46:if(an)break;en+=a.length,Je.push(a);break;default:Be.push(a)}B(25);var i=function(){var t=!1===o.lean&&tn>0?100:Or.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-rn>2*i&&(Q(nn),nn=null),e&&null===nn&&(25!==r&&nt(),nn=K(sn,i),rn=n,zn(en))}}function cn(){Q(nn),sn(!0),tn=0,en=0,an=!1,rn=0,Je=[],Be=[],Ze={},Ke=null,Ge=!1}function sn(t){return void 0===t&&(t=!1),st(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return lt(this,(function(l){switch(l.label){case 0:return Ge?(nn=null,(e=!1===o.lean&&en>0&&(en<1048576||Or.sequence>0))&&G(1,1),function(){if(Or){var t=[];ze=[];for(var e=(Or.start||0)+(Or.duration||0),n=Math.max(e-2e3,0),r=0,a=We;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&ze.push(i),t.push(i))}We=t,He(22)}}(),Zt(),n=!0===t,Or?(r=JSON.stringify(Er(n)),a="[".concat(Be.join(),"]"),i=e?"[".concat(Je.join(),"]"):"",n&&i.length>0&&r.length+a.length+i.length>65536&&(i=""),u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:i}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return Z(2,(c=s)?c.length:u.length),ln(u,c,Or.sequence,n),Be=[],e&&(Je=[],en=0,tn=0,an=!1),[2]}}))}))}function ln(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&pn(n)}catch(t){}if(!1===i){n in Ze?Ze[n].attempts++:Ze[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Nr(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Ir(dn)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),pn(n)}}function dn(t,e){var n=Ze[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?qn(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Ke={sequence:e,attempts:n.attempts,status:t.status},Hn(2),ln(n.data,null,e)):(Ke={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Hn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":qn(6);break;case"UPGRADE":Cn("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Ct(i[1]);break;case"SIGNAL":i.length>1&&Ft(i[1]);break;case"MODULE":i.length>1&&Ve(i[1]);break;case"SNAPSHOT":o.lean=!1,En()}}}(t.responseText),0===t.status&&(ln(n.data,null,e,!0),qn(3)),t.status>=200&&t.status<=208&&pn(e),delete Ze[e]))}function pn(t){1===t&&(hr(),fr())}function fn(t){return st(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,s,d,p,f,h;return lt(this,(function(v){switch(e=l(),n=[e,t],t){case 8:r=Qe,n.push(r.width),n.push(r.height),I(t,r.width,r.height),un(n);break;case 43:if((a=yn).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],c=u.metadata.privacy,s=u.data,d=0,p=["tag","attributes","value"];d<p.length;d++)if(s[f=p[d]])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(hn(h,s[f][h],c));break;case"value":n.push(y(s[f],s.tag,c))}un(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function hn(t,e,n){return"".concat(t,"=").concat(y(e,0===t.indexOf("data-")?"data-":t,n))}function vn(){Qe=null}function gn(){var t,e,n,r,a,i,o,u,c,s,l,d,p,f,h,v;vn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,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!==Qe&&c===Qe.width&&v===Qe.height||null===c||null===v||(Qe={width:c,height:v},fn(8))}function mn(t){!function(t){Pr(t===document?window:t,"scroll",Te,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Pr(t,"click",se.bind(this,9,t),!0),Pr(t,"contextmenu",se.bind(this,48,t),!0)}(t),function(t){Pr(t,"submit",Ie,!0)}(t))}var wn=Object.freeze({__proto__:null,observe:mn,start:function(){We=[],qe(),pe(),ve=!1,Pr(window,"resize",ge),me(),Pr(document,"visibilitychange",je),je(),Pr(window,"focus",(function(){return De(1)})),Pr(window,"blur",(function(){return De(0)})),be=[],_e(),Xe(),Pr(window,"pagehide",Pe)},stop:function(){We=[],qe(),pe(),ye(),Ae(),Ce(),Q(ke),Te.cleanup(),be=[],Xe(),Ye()}}),yn=[],bn=1,kn=null;function _n(){Mn(),gn(),In(document.documentElement),mn(document)}function Tn(){return!1}function On(){}function Sn(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:o.conversions?1:5};return t&&(e.id=kn.has(t)?kn.get(t):In(t)),e}function En(){yn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=kn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=Nn(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Xn(i,u,{tag:r,attributes:n,value:a})}}(document),fn(43)}function Mn(){kn=new WeakMap}function Nn(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 In(t){return null===t?null:kn.has(t)?kn.get(t):(kn.set(t,bn),bn++)}function Xn(t,e,n){if(t&&n&&n.tag){var r=In(t),a=e?kn.get(e):null,i=t.previousSibling?kn.get(t.previousSibling):null;yn.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Pn,Yn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:On,iframe:Tn,metadata:xn,offset:function(){return{x:0,y:0}},snapshot:En,start:_n,stop:function(){Mn(),vn()},target:Sn,get values(){return yn}}),jn=null;function An(){!o.lean&&o.upgrade&&o.upgrade("Config"),jn=null}function Cn(t){Fr()&&o.lean&&(o.lean=!1,jn={key:t},fr(),hr(),o.upgrade&&o.upgrade(t),Hn(3),o.lite&&_n())}function Dn(){jn=null}function Hn(t){var e=[l(),t];switch(t){case 4:var n=x;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),un(e,!1)),N();break;case 25:e.push(F.gap),un(e);break;case 35:e.push(Pn.check),un(e,!1);break;case 3:e.push(jn.key),un(e);break;case 2:e.push(Ke.sequence),e.push(Ke.attempts),e.push(Ke.status),un(e,!1);break;case 24:L.key&&e.push(L.key),e.push(L.value),un(e);break;case 34:var r=Object.keys(ht);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(ht[o])}yt(),un(e,!1)}break;case 0:var u=Object.keys(J);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],p=parseInt(d,10);e.push(p),e.push(Math.round(J[d]))}J={},un(e,!1)}break;case 1:var f=Object.keys(Fn);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(Fn[g])}Kn(),un(e,!1)}break;case 36:var m=Object.keys(it);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([],it[b]))}ut(),un(e,!1)}break;case 40:Xt.forEach((function(t){e.push(t);var n=[];for(var r in It[t]){var a=parseInt(r,10);n.push(a),n.push(It[t][r])}e.push(n)})),Wt(),un(e,!1);break;case 47:e.push(A.source),e.push(A.ad_Storage),e.push(A.analytics_Storage),un(e,!1)}}function Wn(){Pn={check:0}}function zn(t){if(0===Pn.check){var e=Pn.check;e=Or.sequence>=128?1:e,e=Or.pageNum>=128?7:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Pn.check&&qn(e)}}function qn(t){Pn.check=t,5!==t&&(pr(),Zr())}function Rn(){0!==Pn.check&&Hn(35)}function Ln(){Pn=null}var Un=null,Fn=null,Vn=!1;function Jn(){Un={},Fn={},Vn=!1}function Bn(){Un={},Fn={},Vn=!1}function Zn(t,e){if(e&&(e="".concat(e),t in Un||(Un[t]=[]),Un[t].indexOf(e)<0)){if(Un[t].length>128)return void(Vn||(Vn=!0,qn(5)));Un[t].push(e),t in Fn||(Fn[t]=[]),Fn[t].push(e)}}function Gn(){Hn(1)}function Kn(){Fn={},Vn=!1}var Qn=null,$n=[],tr=0,er=null,nr=null,rr={ad_Storage:"denied",analytics_Storage:"denied"};function ar(){var t,e,n;er=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone))&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";tr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:mr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=br("_clsk",!o.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-wr(n[1])<18e5&&(t.session=n[0],t.count=wr(n[2])+1,t.upgrade=wr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=yr(),d=o.projectId||p(location.host);Qn={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},o.lean=o.track&&null!==s.upgrade?0===s.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&s.upload&&s.upload.length>"https://".length?s.upload:o.upload,Zn(0,r),Zn(3,c),Zn(1,b(location.href,!!tr)),Zn(2,document.referrer),Zn(15,function(){var t=mr();if(o.track&&vr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Zn(16,document.documentElement.lang),Zn(17,document.dir),Zn(26,"".concat(window.devicePixelRatio)),Zn(28,l.dob.toString()),Zn(29,l.version.toString()),Zn(33,u),Zn(34,a),Zn(35,i),G(0,s.ts),G(1,0),G(35,tr);var f,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&G(39,1),navigator&&(Zn(9,navigator.language),G(33,navigator.hardwareConcurrency),G(32,navigator.maxTouchPoints),G(34,Math.round(navigator.deviceMemory)),(f=navigator.userAgentData)&&f.getHighEntropyValues?f.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Zn(22,t.platform),Zn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Zn(24,t.name+"~"+t.version)})),Zn(25,t.model),G(27,t.mobile?1:0)})):Zn(22,navigator.platform)),screen&&(G(14,Math.round(screen.width)),G(15,Math.round(screen.height)),G(16,Math.round(screen.colorDepth)));for(var v=0,g=o.cookies;v<g.length;v++){var m=g[v],w=br(m);w&&vt(m,w)}D(lr(nr={ad_Storage:o.track?"granted":"denied",analytics_Storage:o.track?"granted":"denied"},0)),gr(l)}function ir(){er=null,Qn=null,nr=null,$n.forEach((function(t){t.called=!1}))}function or(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=o.lean?0:1,i=!1;Qn&&(a||!1===e)&&(t(Qn,!o.lean,r?nr:void 0),i=!0),!n&&i||$n.push({callback:t,wait:e,recall:n,called:i,consentInfo:r})}function ur(){return Qn?[Qn.userId,Qn.sessionId,Qn.pageNum].join("."):""}function cr(t){void 0===t&&(t=!0),t?(sr({ad_Storage:"granted",analytics_Storage:"granted"}),H()):sr()}function sr(t,e){void 0===t&&(t=rr),void 0===e&&(e=1),nr={ad_Storage:dr(t.ad_Storage),analytics_Storage:dr(t.analytics_Storage)},fr(!0);var n=lr(nr,e);if(!n.analytics_Storage)return o.track=!1,_r("_clsk","",-Number.MAX_VALUE),_r("_clck","",-Number.MAX_VALUE),Zr(),void window.setTimeout(Br,250);Fr()&&(o.track=!0,gr(yr(),1),hr(),z(n),H())}function lr(t,e){return{source:e,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function dr(t){return"string"==typeof t?t.toLowerCase():"denied"}function pr(){_r("_clsk","",0)}function fr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if($n.length>0)for(var n=0;n<$n.length;n++){var r=$n[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback(Qn,!o.lean,r.consentInfo?nr:void 0),r.called=!0,r.recall||($n.splice(n,1),n--))}}(o.lean?0:1,t)}function hr(){if(Qn&&o.track){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;_r("_clsk",[Qn.sessionId,t,Qn.pageNum,n,e].join("^"),1)}}function vr(t,e){try{return!!t[e]}catch(t){return!1}}function gr(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===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&_r("_clck",[Qn.userId,2,n.toString(36),e,r].join("^"),365)}function mr(){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 wr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function yr(){var t={id:mr(),version:0,expiry:null,consent:0,dob:0},e=br("_clck",!o.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=wr(n[1])),n.length>2&&(t.expiry=wr(n[2],36)),n.length>3&&1===wr(n[3])&&(t.consent=1),n.length>4&&wr(n[1])>1&&(t.dob=wr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function br(t,e){var n;if(void 0===e&&(e=!1),vr(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var i=r[a].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=kr(i[1]),u=o[0],c=o[1];u;)u=(n=kr(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function kr(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function _r(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||vr(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===er){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(er=".".concat(c[s]).concat(er||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(er),br(t)===e))return;er=""}}catch(t){er=""}document.cookie=er?"".concat(u).concat(";").concat("domain=").concat(er):u}}var Tr,Or=null;function Sr(){var t=Qn;Or={version:d,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 xr(){Or=null}function Er(t){return Or.start=Or.start+Or.duration,Or.duration=l()-Or.start,Or.sequence++,Or.upload=t&&"sendBeacon"in navigator?1:0,Or.end=t?1:0,Or.applicationPlatform=0,Or.url=b(location.href,!1,!0),[Or.version,Or.sequence,Or.start,Or.duration,Or.projectId,Or.userId,Or.sessionId,Or.pageNum,Or.upload,Or.end,Or.applicationPlatform,Or.url]}function Mr(){Tr=[]}function Nr(t){if(Tr&&-1===Tr.indexOf(t.message)){var e=o.report;if(e&&e.length>0&&Or){var n={v:Or.version,p:Or.projectId,u:Or.userId,s:Or.sessionId,n:Or.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)),Tr.push(t.message)}}return t}function Ir(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Nr(t)}var n=performance.now()-e;Z(4,n),n>30&&(B(7),G(6,n),t.dn&&Nt(9,0,"".concat(t.dn,"-").concat(n)))}}var Xr=new Map;function Pr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Ir(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Xr.has(t)}(t)||Xr.set(t,[]),Xr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Yr(){Xr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Xr.delete(e)}(t,e)})),Xr=new Map}var jr=null,Ar=null,Cr=null,Dr=0;function Hr(){return!(Dr++>20)||(Nt(4,0),!1)}function Wr(){Dr=0,Cr!==qr()&&(Zr(),window.setTimeout(zr,250))}function zr(){Br(),G(29,1)}function qr(){return location.href?location.href.replace(location.hash,""):location.href}var Rr=!1;function Lr(){Rr=!0,c=s(),re(),Yr(),Mr(),Cr=qr(),Dr=0,Pr(window,"popstate",Wr),null===jr&&(jr=history.pushState,history.pushState=function(){jr.apply(this,arguments),Fr()&&Hr()&&Wr()}),null===Ar&&(Ar=history.replaceState,history.replaceState=function(){Ar.apply(this,arguments),Fr()&&Hr()&&Wr()})}function Ur(){Cr=null,Dr=0,Mr(),Yr(),re(),c=0,Rr=!1}function Fr(){return Rr}function Vr(){Br(),U("clarity","restart")}var Jr=[Object.freeze({__proto__:null,start:function(){!function(){G(26,navigator.webdriver?1:0);try{G(31,window.top==window.self||window.top==window?1:2)}catch(t){G(31,0)}}(),Pr(window,"error",St),Ot={},Mt={}},stop:function(){Mt={}}}),Yn,wn,Qt,$e];function Br(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Rr&&"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||Rr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Lr(),Jt(),Jr.forEach((function(t){return Ir(t.start)()})),null===t&&$r())}function Zr(){Fr()&&(Jr.slice().reverse().forEach((function(t){return Ir(t.stop)()})),Bt(),Ur(),void 0!==Kr&&(Kr[Qr]=function(){(Kr[Qr].q=Kr[Qr].q||[]).push(arguments),"start"===arguments[0]&&Kr[Qr].q.unshift(Kr[Qr].q.pop())&&$r()}))}var Gr=Object.freeze({__proto__:null,consent:cr,consentv2:sr,event:U,hashText:On,identify:gt,measure:Ir,metadata:or,pause:function(){Fr()&&(U("clarity","pause"),null===ee&&(ee=new Promise((function(t){ne=t}))))},queue:un,register:Fe,resume:function(){Fr()&&(ee&&(ne(),ee=null,null===te&&ie()),U("clarity","resume"))},set:vt,signal:function(t){Ut=t},start:Br,stop:Zr,time:l,upgrade:Cn,version:d}),Kr=window,Qr="clarity";function $r(){if(void 0!==Kr){if(Kr[Qr]&&Kr[Qr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Kr[Qr]&&Kr[Qr].q||[];for(Kr[Qr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Gr[t].apply(Gr,e)},Kr[Qr].v=d;t.length>0;)Kr[Qr].apply(Kr,t.shift())}}$r()}();
|
|
1
|
+
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return cn},get start(){return un},get stop(){return sn},get track(){return Qe}}),e=Object.freeze({__proto__:null,get data(){return Cn},get start(){return An},get stop(){return Hn},get upgrade(){return Dn}}),n=Object.freeze({__proto__:null,get check(){return qn},get compute(){return Rn},get data(){return Yn},get start(){return zn},get stop(){return Un},get trigger(){return Ln}}),r=Object.freeze({__proto__:null,get compute(){return Kn},get data(){return Fn},get log(){return Gn},get reset(){return Qn},get start(){return Bn},get stop(){return Zn},get updates(){return Vn}}),a=Object.freeze({__proto__:null,get callback(){return hr},get callbacks(){return tr},get clear(){return fr},get consent(){return sr},get consentv2(){return lr},get data(){return $n},get electron(){return er},get id(){return cr},get metadata(){return ur},get save(){return vr},get shortid(){return wr},get start(){return ir},get stop(){return or}}),i=Object.freeze({__proto__:null,get data(){return Or},get envelope(){return Mr},get start(){return xr},get stop(){return Er}}),o={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(){return performance.now()+performance.timeOrigin}function l(t){void 0===t&&(t=null);var e=0===c?s():c,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 d="0.8.29";function p(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i<t.length;i+=2){if(r=(r<<5)+r^t.charCodeAt(i),i+1<t.length)a=(a<<5)+a^t.charCodeAt(i+1)}return n=Math.abs(r+11579*a),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=255,v=!0,g=null,m=null,w=null;function y(t,e,n,r,a){if(void 0===r&&(r=!1),t){if("input"==e&&("checkbox"===a||"radio"===a))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,r=!1,a=!1,i=!1,o=null;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,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=v&&null!==w?s.match(w)?s:T(s,"▪","▫"):_(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):_(t);case"src":case"srcset":case"title":case"alt":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return _(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(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 T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function b(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=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];r=u+"?"+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,h)),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),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function _(t){return t.replace(f,"•")}function T(t,e,n){return O(),t?t.replace(m,e).replace(g,n):t}function S(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(v&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),w=new RegExp("\\p{Sc}","gu")}catch(t){v=!1}}var x=null,E=null,M=!1;function N(){M&&(x={time:l(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function I(t,e,n,r){switch(t){case 8:E.docWidth=e,E.docHeight=n;break;case 11:E.screenWidth=e,E.screenHeight=n;break;case 10:E.scrollX=e,E.scrollY=n,E.scrollTime=r;break;case 12:E.moveX=e,E.moveY=n,E.moveTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 13:E.downX=e,E.downY=n,E.downTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 14:E.upX=e,E.upY=n,E.upTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r}M=!0}function X(t){E.activityTime=t}function P(t,e){E.visible="visible"===e?1:0,E.visible||X(t),M=!0}function Y(){M&&Wn(4)}var j=Object.freeze({__proto__:null,activity:X,compute:Y,reset:N,start:function(){M=!1,N()},get state(){return x},stop:function(){N()},track:I,visibility:P}),C=null,A=!0;function D(){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");lr(function(t){var e={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}),2)}}function H(t){z(t.analytics_Storage?1:0),C=t}function W(){z(2)}function z(t){Gn(36,t.toString())}function q(t){C=t,Wn(47)}function L(){A&&(Wn(47),A=!1)}var R=Object.freeze({__proto__:null,compute:L,config:H,consent:W,get data(){return C},start:function(){var t,e;A=!0,(null===(e=null===(t=window.google_tag_data)||void 0===t?void 0:t.ics)||void 0===e?void 0:e.addListener)&&window.google_tag_data.ics.addListener(["ad_storage","analytics_storage"],D)},stop:function(){A=!0},trackConsentv2:q}),U=null;function F(t,e){Vr()&&t&&"string"==typeof t&&t.length<255&&(U=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Wn(24))}var V,J=null,B=null;function Z(t){t in J||(J[t]=0),t in B||(B[t]=0),J[t]++,B[t]++}function G(t,e){null!==e&&(t in J||(J[t]=0),t in B||(B[t]=0),J[t]+=e,B[t]+=e)}function K(t,e){null!==e&&!1===isNaN(e)&&(t in J||(J[t]=0),(e>J[t]||0===J[t])&&(B[t]=e,J[t]=e))}function Q(t,e,n){return window.setTimeout(Xr(t),e,n)}function $(t){return window.clearTimeout(t)}var tt=0,et=0,nt=null;function rt(){nt&&$(nt),nt=Q(at,et),tt=l()}function at(){var t=l();V={gap:t-tt},Wn(25),V.gap<3e5?nt=Q(at,et):Rr&&(F("clarity","suspend"),Gr(),["mousemove","touchstart"].forEach((function(t){return Yr(document,t,Jr)})),["resize","scroll","pageshow"].forEach((function(t){return Yr(window,t,Jr)})))}var it=Object.freeze({__proto__:null,get data(){return V},reset:rt,start:function(){et=6e4,tt=0},stop:function(){$(nt),tt=0,et=0}}),ot=null;function ut(){Wn(36)}function ct(){ot={}}var st=Object.freeze({__proto__:null,compute:ut,get data(){return ot},reset:ct,start:function(){ot={}},stop:function(){ot={}},track:function(t,e){if(t in ot){var n=ot[t],r=n[n.length-1];e-r[0]>100?ot[t].push([e,0]):r[1]=e-r[0]}else ot[t]=[[e,0]]}});function lt(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function dt(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var pt="CompressionStream"in window;function ft(t){return lt(this,void 0,void 0,(function(){var e,n;return dt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),pt?(e=new ReadableStream({start:function(e){return lt(this,void 0,void 0,(function(){return dt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,ht(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 ht(t){return lt(this,void 0,void 0,(function(){var e,n,r,a,i;return dt(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var vt=null;function gt(t,e){wt(t,"string"==typeof e?[e]:e)}function mt(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),lt(this,void 0,void 0,(function(){var a,i;return dt(this,(function(o){switch(o.label){case 0:return i={},[4,kt(t)];case 1:return i.userId=o.sent(),i.userHint=r||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(T(u.substring(2),"*","*")):T(u,"*","*")),wt("userId",[(a=i).userId]),wt("userHint",[a.userHint]),wt("userType",[_t(t)]),e&&(wt("sessionId",[e]),a.sessionId=e),n&&(wt("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function wt(t,e){if(Vr()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in vt?vt[t]:[]),r=0;r<e.length;r++)"string"==typeof e[r]&&e[r].length<255&&n.push(e[r]);vt[t]=n}}function yt(){Wn(34)}function bt(){vt={}}function kt(t){return lt(this,void 0,void 0,(function(){var e;return dt(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 _t(t){return t&&t.indexOf("@")>0?"email":"string"}var Tt=Object.freeze({__proto__:null,compute:yt,get data(){return vt},identify:mt,reset:bt,set:gt,start:function(){bt()},stop:function(){bt()}});var St,Ot={};function xt(t){var e=t.error||t;return e.message in Ot||(Ot[e.message]=0),Ot[e.message]++>=5||e&&e.message&&(St={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Et(31)),!0}function Et(t){return lt(this,void 0,void 0,(function(){var e;return dt(this,(function(n){switch(e=[l(),t],t){case 31:e.push(St.message),e.push(St.line),e.push(St.column),e.push(St.stack),e.push(b(St.source)),cn(e);break;case 33:Mt&&(e.push(Mt.code),e.push(Mt.name),e.push(Mt.message),e.push(Mt.stack),e.push(Mt.severity),cn(e,!1))}return[2]}))}))}var Mt,Nt={};function It(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Nt&&Nt[t].indexOf(i)>=0||(Mt={code:t,name:n,message:r,stack:a,severity:e},t in Nt?Nt[t].push(i):Nt[t]=[i],Et(33))}var Xt={},Pt=new Set,Yt={},jt={},Ct={},At={};function Dt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Yt[r]={},jt[r]={},Ct[r]={},At[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Yt[r][u]=Lt(l);break;case 2:jt[r][u]=c;break;case 4:var d=c.slice(1);Ct[r][u]=d}}}catch(t){It(8,1,t?t.name:null)}}function Ht(t){return JSON.parse(JSON.stringify(t))}function Wt(){try{for(var t in Yt){var e=parseInt(t);if(""==At[e]||document.querySelector(At[e])){var n=Yt[e];for(var r in n){var a=parseInt(r),i=(m=Rt(Ht(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&qt(e,a,i)}var o=jt[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){return t.textContent})).join("<SEP>");qt(e,s,(c?p(f).trim():f).slice(0,1e4))}}var h=Ct[e];for(var v in h){var g=parseInt(v);qt(e,g,(void h[g]).trim().slice(0,1e4))}}}Pt.size>0&&Wn(40)}catch(t){It(5,1,t?t.name:null)}var m}function zt(){Pt.clear()}function qt(t,e,n){var r,a=!1;t in Xt||(Xt[t]={},a=!0),r=Ct[t],0==Object.keys(r).length||e in Xt[t]&&Xt[t][e]==n||(a=!0),Xt[t][e]=n,a&&Pt.add(t)}function Lt(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function Rt(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&&Ut(a,r.condition))n=Rt(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o<u.length;o++){var c=u[o];if(Ut(c,r.condition)){var s=Rt(t,c);s&&i.push(s)}}n=i}return n}return null}function Ut(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}var Ft=null;function Vt(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=[j,r,Tt,n,st,R,a,i,t,it,e,Object.freeze({__proto__:null,clone:Ht,compute:Wt,data:Xt,keys:Pt,reset:zt,start:function(){zt()},stop:function(){zt()},trigger:Dt,update:qt})];function Bt(){J={},B={},Z(5),Jt.forEach((function(t){return Xr(t.start)()}))}function Zt(){Jt.slice().reverse().forEach((function(t){return Xr(t.stop)()})),J={},B={}}function Gt(){yt(),Y(),Kn(),Wn(0),ut(),Rn(),Wt(),L()}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 ie(t,e){return void 0===e&&(e=0),lt(this,void 0,void 0,(function(){var n,r,a;return dt(this,(function(i){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:cr()})})),null===ee&&null===ne&&oe(),[2,a]}))}))}function oe(){var t=te.shift();t&&(ee=t,t.task().then((function(){t.id===cr()&&(t.resolve(),ee=null,oe())})).catch((function(e){t.id===cr()&&(e&&It(0,1,e.name,e.message,e.stack),ee=null,oe())})))}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,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null,o=xn(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}(o),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}(o);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),i=Math.round(c.y+c.h/2));var s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((i-c.y)/c.h*32767),0):0;if(null!==a&&null!==i){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}}(o);se.push({time:l(n),event:t,data:{target:o,x:a,y:i,eX:s,eY:d,button:n.button,reaction:de(o),context:pe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),ie(We.bind(this,t))}}function de(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(ce.indexOf(e)>=0)return 0}return 1}function pe(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function fe(){se=[]}function he(t,e){var n=0,r=null,a=null;function i(){for(var i=this,o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];var c=performance.now(),s=c-n;if(0!==n&&s<e){if(a=o,r)return;r=setTimeout((function(){n=performance.now(),t.apply(i,a),a=null,r=null}),e-s)}else n=c,t.apply(this,o)}return i.cleanup=function(){r&&(clearTimeout(r),r=null,a=null)},i}var ve=null,ge=!1,me=he(we,500);function we(){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},ge?($(ve),ve=Q(ye,500,11)):(We(11),ge=!0)}function ye(t){ie(We.bind(this,t))}function be(){ue=null,$(ve),me.cleanup()}var ke=[],_e=null;function Te(t){void 0===t&&(t=null);var e=window,n=document.documentElement,r=t?xn(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),i=r===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(r.scrollTop),o=window.innerWidth,u=window.innerHeight,c=o/3,s=o>u?.15*u:.2*u,d=u-s,p=Oe(c,s),f=Oe(c,d),h={time:l(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:f}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=ke.length,g=v>1?ke[v-2]:null;g&&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}(g,h)&&ke.pop(),ke.push(h),$(_e),_e=Q(xe,500,10)}}}var Se=he(Te,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 xe(t){ie(We.bind(this,t))}var Ee,Me,Ne,Ie=[];function Xe(t){Ie.push({time:l(t),event:39,data:{target:xn(t)}}),ie(We.bind(this,39))}function Pe(){Ie=[]}function Ye(t){Ee={name:t.type,persisted:t.persisted?1:0},We(26,l(t)),Gr()}function je(){Ee=null}function Ce(t){void 0===t&&(t=null),Me={visible:"visibilityState"in document?document.visibilityState:"default"},We(28,l(t))}function Ae(){Me=null}function De(){Ne=null}function He(t){Ne={focused:t},We(50)}function We(t,e){return void 0===e&&(e=null),lt(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,s,d,p,f,h,v,g,m,w,k,_,T,S,O,x,E,M,N,X,Y,j,C,A,D,H,W,z,q,L;return dt(this,(function(R){switch(n=e||l(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=Kt;a<i.length;a++)z=i[a],(o=En(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(o.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())),cn(r),(void 0===z.data.isPrimary||z.data.isPrimary)&&I(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=En(z.data.target,z.event,z.data.text),r=[z.time,z.event],d=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(y(z.data.text,"click",s.privacy)),r.push(b(z.data.link)),r.push(d),r.push(z.data.trust),r.push(z.data.isFullText),cn(r),Re(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);fe();break;case 38:for(p=0,f=Kt;p<f.length;p++)z=f[p],r=[z.time,z.event],(D=En(z.data.target,z.event)).id>0&&(r.push(D.id),r.push(z.data.action),cn(r));break;case 11:h=ue,r.push(h.width),r.push(h.height),I(t,h.width,h.height),be(),cn(r);break;case 26:v=Ee,r.push(v.name),r.push(v.persisted),je(),cn(r);break;case 27:for(g=0,m=Kt;g<m.length;g++)z=m[g],w=En(z.data.target,z.event,z.data.value),(r=[z.time,z.event]).push(w.id),r.push(y(z.data.value,"input",w.privacy,!1,z.data.type)),r.push(z.data.trust),cn(r);break;case 21:(k=Qt)&&(_=En(k.start),T=En(k.end),r.push(_.id),r.push(k.startOffset),r.push(T.id),r.push(k.endOffset),cn(r));break;case 10:for(S=0,O=ke;S<O.length;S++)z=O[S],x=En(z.data.target,z.event),E=En(z.data.top,z.event),M=En(z.data.bottom,z.event),N=(null==E?void 0:E.hash)?E.hash.join("."):"",X=(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(N),r.push(X),cn(r),I(z.event,z.data.x,z.data.y,z.time));ke=[];break;case 42:for(Y=0,j=Kt;Y<j.length;Y++)z=j[Y],r=[z.time,z.event],(D=En(z.data.target,z.event)).id>0&&((r=[z.time,z.event]).push(D.id),r.push(z.data.type),r.push(y(z.data.value,"change",D.privacy)),r.push(y(z.data.checksum,"checksum",D.privacy)),cn(r));break;case 39:for(C=0,A=Ie;C<A.length;C++)z=A[C],r=[z.time,z.event],(D=En(z.data.target,z.event)).id>0&&(r.push(D.id),cn(r));Pe();break;case 22:for(H=0,W=qe;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),cn(r,!1);Le();break;case 28:q=Me,r.push(q.visible),cn(r),P(n,q.visible),Ae();break;case 50:L=Ne,r.push(L.focused),cn(r,!1),De()}return[2]}))}))}var ze=[],qe=[];function Le(){qe=[]}function Re(t,e,n,r,a,i,o){void 0===i&&(i=1),void 0===o&&(o=0),ze.push({time:t,event:22,data:{type:e,hash:n,x:r,y:a,reaction:i,context:o}}),I(e,r,a,t)}var Ue=[],Fe=!1;function Ve(t){Fe&&"function"==typeof t&&Ue.push(t)}function Je(t){!function(t){if(!Fe)return;try{var e=document.createElement("script");e.src=t,e.async=!0,document.head.appendChild(e)}catch(t){}}(t)}var Be,Ze,Ge,Ke,Qe,$e,tn=Object.freeze({__proto__:null,dynamicEvent:Je,register:Ve,start:function(){Fe=!0},stop:function(){Ue.reverse().forEach((function(t){try{t()}catch(t){}})),Ue=[],Fe=!1}}),en=0,nn=0,rn=null,an=0,on=!1;function un(){Ke=!0,en=0,nn=0,on=!1,an=0,Be=[],Ze=[],Ge={},Qe=null}function cn(t,e){if(void 0===e&&(e=!0),Ke){var n=l(),r=t.length>1?t[1]:null,a=JSON.stringify(t);switch(o.lean?!on&&nn+a.length>10485760&&(It(10,0),on=!0):on=!1,r){case 5:if(on)break;en+=a.length;case 37:case 6:case 43:case 45:case 46:if(on)break;nn+=a.length,Be.push(a);break;default:Ze.push(a)}Z(25);var i=function(){var t=!1===o.lean&&en>0?100:Or.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-an>2*i&&($(rn),rn=null),e&&null===rn&&(25!==r&&rt(),rn=Q(ln,i),an=n,qn(nn))}}function sn(){$(rn),ln(!0),en=0,nn=0,on=!1,an=0,Be=[],Ze=[],Ge={},Qe=null,Ke=!1}function ln(t){return void 0===t&&(t=!1),lt(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return dt(this,(function(l){switch(l.label){case 0:return Ke?(rn=null,(e=!1===o.lean&&nn>0&&(nn<1048576||Or.sequence>0))&&K(1,1),function(){if(Or){var t=[];qe=[];for(var e=(Or.start||0)+(Or.duration||0),n=Math.max(e-2e3,0),r=0,a=ze;r<a.length;r++){var i=a[r];i.time>=n&&(i.time<=e&&qe.push(i),t.push(i))}ze=t,We(22)}}(),Gt(),n=!0===t,Or?(r=JSON.stringify(Mr(n)),a="[".concat(Ze.join(),"]"),i=e?"[".concat(Be.join(),"]"):"",n&&i.length>0&&r.length+a.length+i.length>65536&&(i=""),u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:i}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,ft(u)];case 2:s=l.sent(),l.label=3;case 3:return G(2,(c=s)?c.length:u.length),dn(u,c,Or.sequence,n),Ze=[],e&&(Be=[],nn=0,en=0,on=!1),[2]}}))}))}function dn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&fn(n)}catch(t){}if(!1===i){n in Ge?Ge[n].attempts++:Ge[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Ir(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Xr(pn)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),fn(n)}}function pn(t,e){var n=Ge[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Ln(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Qe={sequence:e,attempts:n.attempts,status:t.status},Wn(2),dn(n.data,null,e)):(Qe={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Wn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n<r.length;n++){var a=r[n],i=a&&a.length>0?a.split(/ (.*)/):[""];switch(i[0]){case"END":Ln(6);break;case"UPGRADE":Dn("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Dt(i[1]);break;case"SIGNAL":i.length>1&&Vt(i[1]);break;case"MODULE":i.length>1&&Je(i[1]);break;case"SNAPSHOT":o.lean=!1,Mn()}}}(t.responseText),0===t.status&&(dn(n.data,null,e,!0),Ln(3)),t.status>=200&&t.status<=208&&fn(e),delete Ge[e]))}function fn(t){1===t&&(vr(),hr())}function hn(t){return lt(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,s,d,p,f,h;return dt(this,(function(v){switch(e=l(),n=[e,t],t){case 8:r=$e,n.push(r.width),n.push(r.height),I(t,r.width,r.height),cn(n);break;case 43:if((a=bn).length>0){for(i=0,o=a;i<o.length;i++)for(u=o[i],c=u.metadata.privacy,s=u.data,d=0,p=["tag","attributes","value"];d<p.length;d++)if(s[f=p[d]])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(vn(h,s[f][h],c));break;case"value":n.push(y(s[f],s.tag,c))}cn(function(t){for(var e=[],n={},r=0,a=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function vn(t,e,n){return"".concat(t,"=").concat(y(e,0===t.indexOf("data-")?"data-":t,n))}function gn(){$e=null}function mn(){var t,e,n,r,a,i,o,u,c,s,l,d,p,f,h,v;gn(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,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!==$e&&c===$e.width&&v===$e.height||null===c||null===v||($e={width:c,height:v},hn(8))}function wn(t){!function(t){Yr(t===document?window:t,"scroll",Se,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Yr(t,"click",le.bind(this,9,t),!0),Yr(t,"contextmenu",le.bind(this,48,t),!0)}(t),function(t){Yr(t,"submit",Xe,!0)}(t))}var yn=Object.freeze({__proto__:null,observe:wn,start:function(){ze=[],Le(),fe(),ge=!1,Yr(window,"resize",me),we(),Yr(document,"visibilitychange",Ce),Ce(),Yr(window,"focus",(function(){return He(1)})),Yr(window,"blur",(function(){return He(0)})),ke=[],Te(),Pe(),Yr(window,"pagehide",Ye)},stop:function(){ze=[],Le(),fe(),be(),Ae(),De(),$(_e),Se.cleanup(),ke=[],Pe(),je()}}),bn=[],kn=1,_n=null;function Tn(){Nn(),mn(),Xn(document.documentElement),wn(document)}function Sn(){return!1}function On(){}function xn(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 En(t){var e={id:0,hash:null,privacy:o.conversions?1:5};return t&&(e.id=_n.has(t)?_n.get(t):Xn(t)),e}function Mn(){bn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=_n.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=In(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Pn(i,u,{tag:r,attributes:n,value:a})}}(document),hn(43)}function Nn(){_n=new WeakMap}function In(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 Xn(t){return null===t?null:_n.has(t)?_n.get(t):(_n.set(t,kn),kn++)}function Pn(t,e,n){if(t&&n&&n.tag){var r=Xn(t),a=e?_n.get(e):null,i=t.previousSibling?_n.get(t.previousSibling):null;bn.push({id:r,parent:a,previous:i,children:[],data:n,selector:null,hash:null,region:null,metadata:{active:!0,suspend:!1,privacy:5,position:null,fraud:null,size:null}})}}var Yn,jn=Object.freeze({__proto__:null,compute:function(){},get:function(t){return null},hashText:On,iframe:Sn,metadata:En,offset:function(){return{x:0,y:0}},snapshot:Mn,start:Tn,stop:function(){Nn(),gn()},target:xn,get values(){return bn}}),Cn=null;function An(){!o.lean&&o.upgrade&&o.upgrade("Config"),Cn=null}function Dn(t){Vr()&&o.lean&&(o.lean=!1,Cn={key:t},hr(),vr(),o.upgrade&&o.upgrade(t),Wn(3),o.lite&&Tn())}function Hn(){Cn=null}function Wn(t){var e=[l(),t];switch(t){case 4:var n=x;n&&n.data&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),e.push(n.data.pointerTime),e.push(n.data.moveX),e.push(n.data.moveY),e.push(n.data.moveTime),e.push(n.data.downX),e.push(n.data.downY),e.push(n.data.downTime),e.push(n.data.upX),e.push(n.data.upY),e.push(n.data.upTime),e.push(n.data.pointerPrevX),e.push(n.data.pointerPrevY),e.push(n.data.pointerPrevTime),cn(e,!1)),N();break;case 25:e.push(V.gap),cn(e);break;case 35:e.push(Yn.check),cn(e,!1);break;case 3:e.push(Cn.key),cn(e);break;case 2:e.push(Qe.sequence),e.push(Qe.attempts),e.push(Qe.status),cn(e,!1);break;case 24:U.key&&e.push(U.key),e.push(U.value),cn(e);break;case 34:var r=Object.keys(vt);if(r.length>0){for(var a=0,i=r;a<i.length;a++){var o=i[a];e.push(o),e.push(vt[o])}bt(),cn(e,!1)}break;case 0:var u=Object.keys(B);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],p=parseInt(d,10);e.push(p),e.push(Math.round(B[d]))}B={},cn(e,!1)}break;case 1:var f=Object.keys(Vn);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(Vn[g])}Qn(),cn(e,!1)}break;case 36:var m=Object.keys(ot);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([],ot[b]))}ct(),cn(e,!1)}break;case 40:Pt.forEach((function(t){e.push(t);var n=[];for(var r in Xt[t]){var a=parseInt(r,10);n.push(a),n.push(Xt[t][r])}e.push(n)})),zt(),cn(e,!1);break;case 47:e.push(C.source),e.push(C.ad_Storage),e.push(C.analytics_Storage),cn(e,!1)}}function zn(){Yn={check:0}}function qn(t){if(0===Yn.check){var e=Yn.check;e=Or.sequence>=128?1:e,e=Or.pageNum>=128?7:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Yn.check&&Ln(e)}}function Ln(t){Yn.check=t,5!==t&&(fr(),Gr())}function Rn(){0!==Yn.check&&Wn(35)}function Un(){Yn=null}var Fn=null,Vn=null,Jn=!1;function Bn(){Fn={},Vn={},Jn=!1}function Zn(){Fn={},Vn={},Jn=!1}function Gn(t,e){if(e&&(e="".concat(e),t in Fn||(Fn[t]=[]),Fn[t].indexOf(e)<0)){if(Fn[t].length>128)return void(Jn||(Jn=!0,Ln(5)));Fn[t].push(e),t in Vn||(Vn[t]=[]),Vn[t].push(e)}}function Kn(){Wn(1)}function Qn(){Vn={},Jn=!1}var $n=null,tr=[],er=0,nr=null,rr=null,ar={ad_Storage:"denied",analytics_Storage:"denied"};function ir(){var t,e,n;nr=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n="undefined"!=typeof Intl&&(null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone))&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";er=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:wr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=kr("_clsk",!o.includeSubdomains);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-yr(n[1])<18e5&&(t.session=n[0],t.count=yr(n[2])+1,t.upgrade=yr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=br(),d=o.projectId||p(location.host);$n={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},o.lean=o.track&&null!==s.upgrade?0===s.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&s.upload&&s.upload.length>"https://".length?s.upload:o.upload,Gn(0,r),Gn(3,c),Gn(1,b(location.href,!!er)),Gn(2,document.referrer),Gn(15,function(){var t=wr();if(o.track&&gr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Gn(16,document.documentElement.lang),Gn(17,document.dir),Gn(26,"".concat(window.devicePixelRatio)),Gn(28,l.dob.toString()),Gn(29,l.version.toString()),Gn(33,u),Gn(34,a),Gn(35,i),K(0,s.ts),K(1,0),K(35,er);var f,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&K(39,1),navigator&&(Gn(9,navigator.language),K(33,navigator.hardwareConcurrency),K(32,navigator.maxTouchPoints),K(34,Math.round(navigator.deviceMemory)),(f=navigator.userAgentData)&&f.getHighEntropyValues?f.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Gn(22,t.platform),Gn(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Gn(24,t.name+"~"+t.version)})),Gn(25,t.model),K(27,t.mobile?1:0)})):Gn(22,navigator.platform)),screen&&(K(14,Math.round(screen.width)),K(15,Math.round(screen.height)),K(16,Math.round(screen.colorDepth)));for(var v=0,g=o.cookies;v<g.length;v++){var m=g[v],w=kr(m);w&>(m,w)}H(dr(rr={ad_Storage:o.track?"granted":"denied",analytics_Storage:o.track?"granted":"denied"},0)),mr(l)}function or(){nr=null,$n=null,rr=null,tr.forEach((function(t){t.called=!1}))}function ur(t,e,n,r){void 0===e&&(e=!0),void 0===n&&(n=!1),void 0===r&&(r=!1);var a=o.lean?0:1,i=!1;$n&&(a||!1===e)&&(t($n,!o.lean,r?rr:void 0),i=!0),!n&&i||tr.push({callback:t,wait:e,recall:n,called:i,consentInfo:r})}function cr(){return $n?[$n.userId,$n.sessionId,$n.pageNum].join("."):""}function sr(t){void 0===t&&(t=!0),t?(lr({ad_Storage:"granted",analytics_Storage:"granted"}),W()):lr()}function lr(t,e){void 0===t&&(t=ar),void 0===e&&(e=1),rr={ad_Storage:pr(t.ad_Storage),analytics_Storage:pr(t.analytics_Storage)},hr(!0);var n=dr(rr,e);if(!n.analytics_Storage)return o.track=!1,Tr("_clsk","",-Number.MAX_VALUE),Tr("_clck","",-Number.MAX_VALUE),Gr(),void window.setTimeout(Zr,250);Vr()&&(o.track=!0,mr(br(),1),vr(),q(n),W())}function dr(t,e){return{source:e,ad_Storage:"granted"===t.ad_Storage?1:0,analytics_Storage:"granted"===t.analytics_Storage?1:0}}function pr(t){return"string"==typeof t?t.toLowerCase():"denied"}function fr(){Tr("_clsk","",0)}function hr(t){void 0===t&&(t=!1),function(t,e){void 0===e&&(e=!1);if(tr.length>0)for(var n=0;n<tr.length;n++){var r=tr[n];r.callback&&(!r.called&&!e||r.consentInfo&&e)&&(!r.wait||t)&&(r.callback($n,!o.lean,r.consentInfo?rr:void 0),r.called=!0,r.recall||(tr.splice(n,1),n--))}}(o.lean?0:1,t)}function vr(){if($n&&o.track){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;Tr("_clsk",[$n.sessionId,t,$n.pageNum,n,e].join("^"),1)}}function gr(t,e){try{return!!t[e]}catch(t){return!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===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==r)&&Tr("_clck",[$n.userId,2,n.toString(36),e,r].join("^"),365)}function wr(){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 yr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function br(){var t={id:wr(),version:0,expiry:null,consent:0,dob:0},e=kr("_clck",!o.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=yr(n[1])),n.length>2&&(t.expiry=yr(n[2],36)),n.length>3&&1===yr(n[3])&&(t.consent=1),n.length>4&&yr(n[1])>1&&(t.dob=yr(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function kr(t,e){var n;if(void 0===e&&(e=!1),gr(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a<r.length;a++){var i=r[a].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=_r(i[1]),u=o[0],c=o[1];u;)u=(n=_r(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function _r(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Tr(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||gr(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===nr){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(nr=".".concat(c[s]).concat(nr||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(nr),kr(t)===e))return;nr=""}}catch(t){nr=""}document.cookie=nr?"".concat(u).concat(";").concat("domain=").concat(nr):u}}var Sr,Or=null;function xr(){var t=$n;Or={version:d,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 Er(){Or=null}function Mr(t){return Or.start=Or.start+Or.duration,Or.duration=l()-Or.start,Or.sequence++,Or.upload=t&&"sendBeacon"in navigator?1:0,Or.end=t?1:0,Or.applicationPlatform=0,Or.url=b(location.href,!1,!0),[Or.version,Or.sequence,Or.start,Or.duration,Or.projectId,Or.userId,Or.sessionId,Or.pageNum,Or.upload,Or.end,Or.applicationPlatform,Or.url]}function Nr(){Sr=[]}function Ir(t){if(Sr&&-1===Sr.indexOf(t.message)){var e=o.report;if(e&&e.length>0&&Or){var n={v:Or.version,p:Or.projectId,u:Or.userId,s:Or.sessionId,n:Or.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)),Sr.push(t.message)}}return t}function Xr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Ir(t)}var n=performance.now()-e;G(4,n),n>30&&(Z(7),K(6,n),t.dn&&It(9,0,"".concat(t.dn,"-").concat(n)))}}var Pr=new Map;function Yr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Xr(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Pr.has(t)}(t)||Pr.set(t,[]),Pr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function jr(){Pr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Pr.delete(e)}(t,e)})),Pr=new Map}var Cr=null,Ar=null,Dr=null,Hr=0;function Wr(){return!(Hr++>20)||(It(4,0),!1)}function zr(){Hr=0,Dr!==Lr()&&(Gr(),window.setTimeout(qr,250))}function qr(){Zr(),K(29,1)}function Lr(){return location.href?location.href.replace(location.hash,""):location.href}var Rr=!1;function Ur(){Rr=!0,c=s(),ae(),jr(),Nr(),Dr=Lr(),Hr=0,Yr(window,"popstate",zr),null===Cr&&(Cr=history.pushState,history.pushState=function(){Cr.apply(this,arguments),Vr()&&Wr()&&zr()}),null===Ar&&(Ar=history.replaceState,history.replaceState=function(){Ar.apply(this,arguments),Vr()&&Wr()&&zr()})}function Fr(){Dr=null,Hr=0,Nr(),jr(),ae(),c=0,Rr=!1}function Vr(){return Rr}function Jr(){Zr(),F("clarity","restart")}var Br=[Object.freeze({__proto__:null,start:function(){!function(){K(26,navigator.webdriver?1:0);try{K(31,window.top==window.self||window.top==window?1:2)}catch(t){K(31,0)}}(),Yr(window,"error",xt),Ot={},Nt={}},stop:function(){Nt={}}}),jn,yn,$t,tn];function Zr(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Rr&&"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||Rr)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Ur(),Bt(),Br.forEach((function(t){return Xr(t.start)()})),null===t&&ta())}function Gr(){Vr()&&(Br.slice().reverse().forEach((function(t){return Xr(t.stop)()})),Zt(),Fr(),void 0!==Qr&&(Qr[$r]=function(){(Qr[$r].q=Qr[$r].q||[]).push(arguments),"start"===arguments[0]&&Qr[$r].q.unshift(Qr[$r].q.pop())&&ta()}))}var Kr=Object.freeze({__proto__:null,consent:sr,consentv2:lr,event:F,hashText:On,identify:mt,measure:Xr,metadata:ur,pause:function(){Vr()&&(F("clarity","pause"),null===ne&&(ne=new Promise((function(t){re=t}))))},queue:cn,register:Ve,resume:function(){Vr()&&(ne&&(re(),ne=null,null===ee&&oe()),F("clarity","resume"))},set:gt,signal:function(t){Ft=t},start:Zr,stop:Gr,time:l,upgrade:Dn,version:d}),Qr=window,$r="clarity";function ta(){if(void 0!==Qr){if(Qr[$r]&&Qr[$r].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Qr[$r]&&Qr[$r].q||[];for(Qr[$r]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Kr[t].apply(Kr,e)},Qr[$r].v=d;t.length>0;)Qr[$r].apply(Qr,t.shift())}}ta()}();
|
package/build/clarity.js
CHANGED
|
@@ -193,7 +193,7 @@ function stop$I() {
|
|
|
193
193
|
startTime = 0;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
var version$1 = "0.8.
|
|
196
|
+
var version$1 = "0.8.29";
|
|
197
197
|
|
|
198
198
|
// tslint:disable: no-bitwise
|
|
199
199
|
function hash (input, precision) {
|
|
@@ -570,11 +570,33 @@ var baseline = /*#__PURE__*/Object.freeze({
|
|
|
570
570
|
var data$l = null;
|
|
571
571
|
var updateConsent = true;
|
|
572
572
|
function start$J() {
|
|
573
|
+
var _a, _b;
|
|
573
574
|
updateConsent = true;
|
|
575
|
+
if ((_b = (_a = window.google_tag_data) === null || _a === void 0 ? void 0 : _a.ics) === null || _b === void 0 ? void 0 : _b.addListener) {
|
|
576
|
+
window.google_tag_data.ics.addListener(["ad_storage" /* Constant.AdStorage */, "analytics_storage" /* Constant.AnalyticsStorage */], processConsent);
|
|
577
|
+
}
|
|
574
578
|
}
|
|
575
579
|
function stop$G() {
|
|
576
580
|
updateConsent = true;
|
|
577
581
|
}
|
|
582
|
+
function processConsent() {
|
|
583
|
+
var _a;
|
|
584
|
+
var ics = (_a = window.google_tag_data) === null || _a === void 0 ? void 0 : _a.ics;
|
|
585
|
+
if (!(ics === null || ics === void 0 ? void 0 : ics.getConsentState)) {
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
var analytics_storage = ics.getConsentState("analytics_storage" /* Constant.AnalyticsStorage */);
|
|
589
|
+
var ad_storage = ics.getConsentState("ad_storage" /* Constant.AdStorage */);
|
|
590
|
+
var consentState = getConsentState({ ad_Storage: ad_storage, analytics_Storage: analytics_storage });
|
|
591
|
+
consentv2(consentState, 2 /* ConsentSource.GCM */);
|
|
592
|
+
}
|
|
593
|
+
function getConsentState(googleConsent) {
|
|
594
|
+
var consentState = {
|
|
595
|
+
ad_Storage: googleConsent.ad_Storage === 1 /* GCMConsent.Granted */ ? "granted" /* Constant.Granted */ : "denied" /* Constant.Denied */,
|
|
596
|
+
analytics_Storage: googleConsent.analytics_Storage === 1 /* GCMConsent.Granted */ ? "granted" /* Constant.Granted */ : "denied" /* Constant.Denied */,
|
|
597
|
+
};
|
|
598
|
+
return consentState;
|
|
599
|
+
}
|
|
578
600
|
function config$1(consent) {
|
|
579
601
|
trackConsent(consent.analytics_Storage ? 1 /* ConsentType.Implicit */ : 0 /* ConsentType.None */);
|
|
580
602
|
data$l = consent;
|
|
@@ -586,7 +608,7 @@ function consent$1() {
|
|
|
586
608
|
function trackConsent(consent) {
|
|
587
609
|
log(36 /* Dimension.Consent */, consent.toString());
|
|
588
610
|
}
|
|
589
|
-
function
|
|
611
|
+
function trackConsentv2(consent) {
|
|
590
612
|
data$l = consent;
|
|
591
613
|
encode$1(47 /* Event.Consent */);
|
|
592
614
|
}
|
|
@@ -603,10 +625,10 @@ var consent$2 = /*#__PURE__*/Object.freeze({
|
|
|
603
625
|
compute: compute$f,
|
|
604
626
|
config: config$1,
|
|
605
627
|
consent: consent$1,
|
|
606
|
-
consentv2: consentv2$1,
|
|
607
628
|
get data () { return data$l; },
|
|
608
629
|
start: start$J,
|
|
609
|
-
stop: stop$G
|
|
630
|
+
stop: stop$G,
|
|
631
|
+
trackConsentv2: trackConsentv2
|
|
610
632
|
});
|
|
611
633
|
|
|
612
634
|
var data$k = null;
|
|
@@ -5448,7 +5470,7 @@ function consentv2(consentState, source) {
|
|
|
5448
5470
|
config$2.track = true;
|
|
5449
5471
|
track(user(), 1 /* BooleanFlag.True */);
|
|
5450
5472
|
save();
|
|
5451
|
-
|
|
5473
|
+
trackConsentv2(consentData);
|
|
5452
5474
|
consent$1();
|
|
5453
5475
|
}
|
|
5454
5476
|
}
|