clarity-js 0.7.2 → 0.7.3

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.
@@ -0,0 +1 @@
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get add(){return pn},get get(){return On},get getId(){return hn},get getNode(){return kn},get getValue(){return En},get has(){return Sn},get hashText(){return wn},get iframe(){return mn},get lookup(){return xn},get parse(){return fn},get sameorigin(){return gn},get start(){return sn},get stop(){return ln},get update(){return vn},get updates(){return _n}}),e=Object.freeze({__proto__:null,get queue(){return ia},get start(){return ra},get stop(){return oa},get track(){return $n}}),n=Object.freeze({__proto__:null,get clone(){return Sa},get compute(){return _a},get data(){return ya},get fragments(){return Oa},get keys(){return wa},get reset(){return Ma},get start(){return xa},get stop(){return Ta},get update(){return Na}}),a=Object.freeze({__proto__:null,get check(){return za},get compute(){return La},get data(){return ba},get start(){return Aa},get stop(){return Ha},get trigger(){return Ra}}),r=Object.freeze({__proto__:null,get compute(){return Ua},get data(){return Wa},get log(){return Xa},get reset(){return Ba},get start(){return Ya},get stop(){return Pa},get updates(){return qa}}),i=Object.freeze({__proto__:null,get callbacks(){return Fa},get clear(){return tr},get consent(){return $a},get data(){return Va},get id(){return Qa},get metadata(){return Ka},get save(){return er},get start(){return Ga},get stop(){return Za}}),o=Object.freeze({__proto__:null,get data(){return lr},get envelope(){return hr},get start(){return dr},get stop(){return fr}}),u={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],extract:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-s),0)}var d="0.7.3";function f(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,p=!0,v=null,g=null,m=null;function b(t,e,n,a){if(void 0===a&&(a=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;if(p&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){p=!1}for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=p&&null!==m?s.match(m)?s:s.replace(g,"▪").replace(v,"▫"):k(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":return a?w(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":return a?w(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}}return t}function y(t){var e=u.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var n=t.split("?"),a=n[0],r=n[1];return a+"?"+r.split("&").map((function(t){return e.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function w(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(h,"•")}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}var O=null,x=null,S=!1;function _(){S&&(O={time:l(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function M(t,e,n){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n;break;default:x.pointerX=e,x.pointerY=n}S=!0}function N(t){x.activityTime=t}function T(t,e){x.visible="visible"===e?1:0,x.visible||N(t),S=!0}function I(){S&&ja(4)}var C=Object.freeze({__proto__:null,activity:N,compute:I,reset:_,start:function(){S=!1,_()},get state(){return O},stop:function(){_()},track:M,visibility:T}),D=null;function j(t,e){Ir()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(D={key:t,value:e},ja(24))}var A,z=null,R=null;function L(t){t in z||(z[t]=0),t in R||(R[t]=0),z[t]++,R[t]++}function H(t,e){null!==e&&(t in z||(z[t]=0),t in R||(R[t]=0),z[t]+=e,R[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in z||(z[t]=0),(e>z[t]||0===z[t])&&(R[t]=e,z[t]=e))}function q(t,e,n){return window.setTimeout(vr(t),e,n)}function Y(t){return window.clearTimeout(t)}var P=0,X=0,U=null;function B(){U&&Y(U),U=q(V,X),P=l()}function V(){var t=l();A={gap:t-P},ja(25),A.gap<3e5?U=q(V,X):Mr&&(j("clarity","suspend"),Vr(),["mousemove","touchstart"].forEach((function(t){return mr(document,t,Dr)})),["resize","scroll","pageshow"].forEach((function(t){return mr(window,t,Dr)})))}var F=Object.freeze({__proto__:null,get data(){return A},reset:B,start:function(){X=6e4,P=0},stop:function(){Y(U),P=0,X=0}}),J=null;function G(t,e){if(t in J){var n=J[t],a=n[n.length-1];e-a[0]>100?J[t].push([e,0]):a[1]=e-a[0]}else J[t]=[[e,0]]}function Z(){ja(36)}function K(){J={}}var Q=Object.freeze({__proto__:null,compute:Z,get data(){return J},reset:K,start:function(){J={}},stop:function(){J={}},track:G}),$=null;function tt(t){Ir()&&u.lean&&(u.lean=!1,$={key:t},er(),u.upgrade&&u.upgrade(t),ja(3))}var et=Object.freeze({__proto__:null,get data(){return $},start:function(){!u.lean&&u.upgrade&&u.upgrade("Config"),$=null},stop:function(){$=null},upgrade:tt}),nt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function rt(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null),it("userId",[t]),it("sessionId",[e]),it("pageId",[n])}function it(t,e){if(Ir()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in nt?nt[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);nt[t]=n}}function ot(){ja(34)}function ut(){nt={}}function ct(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function st(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var lt="CompressionStream"in window;function dt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),lt?(e=new ReadableStream({start:function(e){return ct(this,void 0,void 0,(function(){return st(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,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return ct(this,void 0,void 0,(function(){var e,n,a,r,i;return st(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var ht=[C,r,Object.freeze({__proto__:null,compute:ot,get data(){return nt},identify:rt,reset:ut,set:at,start:function(){ut()},stop:function(){ut()}}),a,Q,i,o,e,F,et,n];function pt(){z={},R={},L(5),ht.forEach((function(t){return vr(t.start)()}))}function vt(){ht.slice().reverse().forEach((function(t){return vr(t.stop)()})),z={},R={}}function gt(){ot(),I(),Ua(),ja(0),Z(),La(),_a()}var mt,bt=[];function yt(t,e,n){u.fraud&&null!==t&&n&&n.length>=5&&(mt={id:t,target:e,checksum:f(n,24)},bt.indexOf(mt.checksum)<0&&(bt.push(mt.checksum),pa(41)))}var wt="load,active,fixed,visible,focus,show,collaps,animat".split(","),kt={};function Et(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Ot(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in kt||(kt[c]=[]),kt[c].indexOf(t.id)<0&&kt[c].push(t.id),i="".concat(c).concat("~").concat(kt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Ot(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Ot(t){if(!t)return!1;if(wt.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var xt=5e3,St={},_t=[],Mt=null,Nt=null,Tt=null;function It(){St={},_t=[],Mt=null,Nt=null}function Ct(t,e){return void 0===e&&(e=0),ct(this,void 0,void 0,(function(){var n,a,r;return st(this,(function(i){for(n=0,a=_t;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){_t[1===e?"unshift":"push"]({task:t,resolve:n,id:Qa()})})),null===Mt&&null===Nt&&Dt(),[2,r]}))}))}function Dt(){var t=_t.shift();t&&(Mt=t,t.task().then((function(){t.id===Qa()&&(t.resolve(),Mt=null,Dt())})).catch((function(e){t.id===Qa()&&(e&&ma(0,1,e.name,e.message,e.stack),Mt=null,Dt())})))}function jt(t){var e=Lt(t);return e in St?performance.now()-St[e].start>St[e].yield?0:1:2}function At(t){St[Lt(t)]={start:performance.now(),calls:0,yield:30}}function zt(t){var e=performance.now(),n=Lt(t),a=e-St[n].start;H(t.cost,a),L(5),St[n].calls>0&&H(4,a)}function Rt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return(e=Lt(t))in St?(zt(t),n=St[e],[4,Ht()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Lt(t);if(St&&St[e]){var n=St[e].calls,a=St[e].yield;At(t),St[e].calls=n+1,St[e].yield=a}}(t),a.label=2;case 2:return[2,e in St?1:2]}}))}))}function Lt(t){return"".concat(t.id,".").concat(t.cost)}function Ht(){return ct(this,void 0,void 0,(function(){return st(this,(function(t){switch(t.label){case 0:return Nt?[4,Nt]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){qt(t,{timeout:xt})}))]}}))}))}var Wt,qt=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Yt(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),ct(this,void 0,void 0,(function(){var a,r,i,o,c,s,d,f,h,p,v,g,m,y,w,k,E,O,x,S,_,T;return st(this,(function(I){switch(I.label){case 0:switch(a=n||l(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 5:case 6:return[3,3]}return[3,10];case 1:return i=Wt,r.push(i.width),r.push(i.height),M(t,i.width,i.height),ia(r),[3,10];case 2:for(o=0,c=Tn;o<c.length;o++)s=c[o],(r=[s.time,7]).push(s.data.id),r.push(s.data.interaction),r.push(s.data.visibility),r.push(s.data.name),ia(r);return Yn(),[3,10];case 3:if(2===jt(e))return[3,10];if(!((d=_n()).length>0))return[3,9];f=0,h=d,I.label=4;case 4:return f<h.length?(p=h[f],0!==(v=jt(e))?[3,6]:[4,Rt(e)]):[3,8];case 5:v=I.sent(),I.label=6;case 6:if(2===v)return[3,8];for(g=p.data,m=p.metadata.active,y=p.metadata.suspend,w=p.metadata.privacy,k=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(p),E=0,O=m?["tag","attributes","value"]:["tag"];E<O.length;E++)if(g[x=O[E]])switch(x){case"tag":S=Pt(p),_=k?-1:1,r.push(p.id*_),p.parent&&m&&r.push(p.parent),p.previous&&m&&r.push(p.previous),r.push(y?"*M":g[x]),S&&2===S.length&&r.push("".concat("#").concat(Xt(S[0]),".").concat(Xt(S[1])));break;case"attributes":for(T in g[x])void 0!==g[x][T]&&r.push(Ut(T,g[x][T],w));break;case"value":yt(p.metadata.fraud,p.id,g[x]),r.push(b(g[x],g.tag,w,k))}I.label=7;case 7:return f++,[3,4];case 8:6===t&&N(a),ia(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!u.lean),I.label=9;case 9:return[3,10];case 10:return[2]}}))}))}function Pt(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=kn(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Xt(t){return t.toString(36)}function Ut(t,e,n){return"".concat(t,"=").concat(b(e,t,n))}function Bt(){Wt=null}function Vt(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Wt&&c===Wt.width&&v===Wt.height||null===c||null===v||(Wt={width:c,height:v},Yt(8))}var Ft=[],Jt=null;var Gt,Zt=["input","textarea","radio","button","canvas"],Kt=[];function Qt(t){mr(t,"click",$t.bind(this,9,t),!0)}function $t(t,e,n){var a=mn(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=function(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?mn(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=Pn(n),s=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Kt.push({time:l(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:ee(c),context:ne(s),text:te(c),link:s?s.href:null,hash:null,trust:n.isTrusted?1:0}}),Ct(Un.bind(this,t)))}function te(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.trim().replace(/\s+/g," ").substr(0,25))}return e}function ee(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Zt.indexOf(e)>=0)return 0}return 1}function ne(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 ae(){Kt=[]}function re(){var t=document.documentElement;Gt={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},Un(11)}function ie(){Gt=null}var oe=[],ue=null;function ce(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?Pn(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=mn(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:l(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=oe.length,s=c>1?oe[c-2]:null;s&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(s,u)&&oe.pop(),oe.push(u),Y(ue),ue=q(se,500,10)}}function se(t){Ct(Un.bind(this,t))}var le,de,fe=[];function he(t){fe.push({time:l(t),event:39,data:{target:Pn(t)}}),Ct(Un.bind(this,39))}function pe(){fe=[]}function ve(t){le={name:t.type},Un(26,l(t)),Vr()}function ge(){le=null}function me(t){void 0===t&&(t=null),de={visible:"visibilityState"in document?document.visibilityState:"default"},Un(28,l(t))}function be(){de=null}function ye(t){!function(t){var e=mn(t);mr(e?e.contentWindow:t===document?window:t,"scroll",ce,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Qt(t),function(t){mr(t,"submit",he,!0)}(t))}var we=Object.freeze({__proto__:null,observe:ye,start:function(){Bn=[],Fn(),ae(),mr(window,"resize",re),re(),mr(document,"visibilitychange",me),me(),oe=[],ce(),pe(),mr(window,"pagehide",ve)},stop:function(){Bn=[],Fn(),ae(),ie(),be(),Y(ue),oe=[],pe(),ge()}}),ke=/[^0-9\.]/g;function Ee(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":Xa(5,t[a]),Xa(8,t.creator),Xa(18,t.headline);break;case"product":Xa(5,t[a]),Xa(10,t.name),Xa(12,t.sku),t.brand&&Xa(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,Oe(t.ratingValue,100)),W(18,Oe(t.bestRating)),W(19,Oe(t.worstRating))),W(12,Oe(t.ratingCount)),W(17,Oe(t.reviewCount));break;case"person":Xa(8,t.name);break;case"offer":Xa(7,t.availability),Xa(14,t.itemCondition),Xa(13,t.priceCurrency),Xa(12,t.sku),W(13,Oe(t.price));break;case"brand":Xa(6,t.name)}null!==r&&"object"==typeof r&&Ee(r)}}function Oe(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(ke,""))*e)}return null}var xe=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Se=/[\r\n]+/g;function _e(e,n){var a,r=null;if(2===n&&!1===Sn(e))return r;0!==n&&e.nodeType===Node.TEXT_NODE&&e.parentElement&&"STYLE"===e.parentElement.tagName&&(e=e.parentNode);var i=!1===Sn(e)?"add":"update",o=e.parentElement?e.parentElement:null,u=e.ownerDocument!==document;switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&e.parentNode?mn(e.parentNode):o;var c=e,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};t[i](e,o,s,n);break;case Node.DOCUMENT_NODE:e===document&&fn(document),Me(e);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=e;if(l.host)if(fn(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){Me(l);for(var d="",f=0,h=("adoptedStyleSheets"in l?l.adoptedStyleSheets:[]);f<h.length;f++){d+=Te(h[f])}var p={tag:"*S",attributes:{style:d}};t[i](e,l.host,p,n)}else t[i](e,l.host,{tag:"*P",attributes:{}},n);break;case Node.TEXT_NODE:if(o=o||e.parentNode,"update"===i||o&&Sn(o)&&"STYLE"!==o.tagName){var v={tag:"*T",value:e.nodeValue};t[i](e,o,v,n)}break;case Node.ELEMENT_NODE:var g=e,m=g.tagName,b=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;xe.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(g);switch(o=e.parentElement?e.parentElement:e.parentNode?e.parentNode:null,"http://www.w3.org/2000/svg"===g.namespaceURI&&(m="svg:"+m),m){case"HTML":o=u&&o?mn(o):null;var y={tag:(u?"iframe:":"")+m,attributes:b};t[i](e,o,y,n);break;case"SCRIPT":if("type"in b&&"application/ld+json"===b.type)try{Ee(JSON.parse(g.text.replace(Se,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var w="property"in b?"property":"name"in b?"name":null;if(w&&"content"in b){var k=b.content;switch(b[w]){case"og:title":Xa(20,k);break;case"og:type":Xa(19,k);break;case"generator":Xa(21,k)}}break;case"HEAD":var E={tag:m,attributes:b},O=u&&(null===(a=e.ownerDocument)||void 0===a?void 0:a.location)?e.ownerDocument.location:location;E.attributes["*B"]=O.protocol+"//"+O.hostname+O.pathname,t[i](e,o,E,n);break;case"BASE":var x=On(e.parentElement);if(x){var S=document.createElement("a");S.href=b.href,x.data.attributes["*B"]=S.protocol+"//"+S.hostname+S.pathname}break;case"STYLE":var _={tag:m,attributes:b,value:Ne(g)};t[i](e,o,_,n);break;case"IFRAME":var M=e,N={tag:m,attributes:b};gn(M)&&(!function(t){!1===Sn(t)&&mr(t,"load",Be.bind(this,t,"childList"),!0)}(M),N.attributes["*O"]="true",M.contentDocument&&M.contentWindow&&"loading"!==M.contentDocument.readyState&&(r=M.contentDocument)),t[i](e,o,N,n);break;default:var T={tag:m,attributes:b};g.shadowRoot&&(r=g.shadowRoot),t[i](e,o,T,n)}}return r}function Me(t){Sn(t)||(!function(t){try{var e=c("MutationObserver"),n=e in window?new window[e](vr(qe)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Ce.push(n))}catch(t){ma(2,0,t?t.name:null)}}(t),ye(t))}function Ne(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Te(t.sheet)),e}function Te(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(ma(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function Ie(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i,o,u;return st(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=jt(e))?[3,3]:[4,Rt(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=_e(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var Ce=[],De=[],je=null,Ae=null,ze=null,Re=[],Le=null,He=null,We={};function qe(t){var e=l();G(6,e),De.push({time:e,mutations:t}),Ct(Ye,1).then((function(){q(Vt),vr(Ln)()}))}function Ye(){return ct(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,s;return st(this,(function(d){switch(d.label){case 0:At(t={id:Qa(),cost:3}),d.label=1;case 1:if(!(De.length>0))return[3,8];e=De.shift(),n=l(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=jt(t))?[3,4]:[4,Rt(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?On(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=l()>He,i=On(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,Pe(t.addedNodes),Pe(t.removedNodes)].join();We[u]=u in We?We[u]:[0,n];var c=We[u];if(!1===r&&c[0]>=10&&Xe(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&fn(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&fn(u),c){case"attributes":_e(u,3);break;case"characterData":_e(u,4);break;case"childList":Xe(i.addedNodes,1,t),Xe(i.removedNodes,2,t);break;case"suspend":(s=On(u))&&(s.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,Yt(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return zt(t),[2]}}))}))}function Pe(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function Xe(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i;return st(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(Ie(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=jt(n))?[3,4]:[4,Rt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];_e(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function Ue(t,e){return void 0===e&&(e=!1),Re.indexOf(t)<0&&Re.push(t),Le&&Y(Le),Le=q((function(){!function(t){for(var e=0,n=Re;e<n.length;e++){var a=n[e];if(a){var r=a.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(r&&Sn(a))continue;Be(a,r||t?"childList":"characterData")}}Re=[]}(e)}),33),t}function Be(t,e){vr(qe)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var Ve=1,Fe=[],Je=[],Ge=[],Ze={},Ke=[],Qe=[],$e={},tn=[],en=[],nn=[],an=[],rn=null,on=null,un=null,cn=null;function sn(){dn(),fn(document,!0)}function ln(){dn()}function dn(){Ve=1,Fe=[],Je=[],Ge=[],Ze={},Ke=[],Qe=[],tn="address,password,contact".split(","),en="password,secret,pass,social,ssn,code,hidden".split(","),nn="radio,checkbox,range,button,reset,submit".split(","),an="INPUT,SELECT,TEXTAREA".split(","),rn=new WeakMap,on=new WeakMap,un=new WeakMap,cn=new WeakMap,kt={}}function fn(t,e){void 0===e&&(e=!1);try{e&&u.unmask.forEach((function(t){return t.indexOf("!")<0?Qe.push(t):Ke.push(t.substr(1))})),"querySelectorAll"in t&&(u.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return zn(t,"".concat(e[0]))}))})),u.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return un.set(t,3)}))})),u.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return cn.set(t,e[0])}))})),Qe.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return un.set(t,0)}))})))}catch(t){ma(5,1,t?t.name:null)}}function hn(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=rn.get(t);return!n&&e&&(n=Ve++,rn.set(t,n)),n||null}function pn(t,e,n,a){var r,i=hn(t,!0),o=e?hn(e):null,c=Mn(t),s=null,l=Rn(t)?i:null,d=null,f=cn.has(t)?cn.get(t):null,h=u.content?1:3;o>=0&&Je[o]&&((s=Je[o]).children.push(i),l=null===l?s.region:l,d=s.fragment,f=null===f?s.metadata.fraud:f,h=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(zn(t,n.attributes["data-clarity-region"]),l=i),Fe[i]=t,Je[i]={id:i,parent:o,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:h,position:null,fraud:f,size:null},fragment:d},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case an.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=en.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&nn.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case un.has(t):r.privacy=un.get(t);break;case cn.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||Ke.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,tn,r)}}(t,Je[i],s),yn(Je[i]),"IMG"===(r=Je[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),Nn(i,a,Je[i].fragment)}function vn(t,e,n,a){var r=hn(t),i=e?hn(e):null,o=Mn(t),u=!1,c=!1;if(r in Je){var s=Je[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:Je[i].children.indexOf(o)+1;Je[i].children.splice(d,0,r),s.region=Rn(t)?r:Je[i].region}else!function(t,e){if(t in Je){var n=Je[t];n.metadata.active=!1,n.parent=null,Nn(t,e)}}(r,a);if(null!==l&&l>=0){var f=Je[l].children.indexOf(r);f>=0&&Je[l].children.splice(f,1)}c=!0}for(var h in n)bn(s.data,n,h)&&(u=!0,s.data[h]=n[h]);s.fragment&&$e[s.fragment]&&(u=!0),yn(s),Nn(r,a,Je[r].fragment,u,c)}}function gn(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(on.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function mn(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&on.has(e)?on.get(e):null}function bn(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function yn(t){var e=t.parent&&t.parent in Je?Je[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=Je[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[Et(i,0),Et(i,1)],t.hash=t.selector.map((function(t){return t?f(t):null})),t.hash.forEach((function(e){return Ze[e]=t.id})),t.hash.some((function(t){return-1!==Oa.indexOf(t)}))&&(t.fragment=t.id)}function wn(t){var e=kn(xn(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function kn(t){return t in Fe?Fe[t]:null}function En(t){return t in Je?Je[t]:null}function On(t){var e=hn(t);return e in Je?Je[e]:null}function xn(t){return t in Ze?Ze[t]:null}function Sn(t){return hn(t)in Fe}function _n(){for(var t=[],e=0,n=Ge;e<n.length;e++){(a=n[e])in Je&&t.push(Je[a])}for(var a in Ge=[],$e)Na($e[a],a,!0);return $e={},t}function Mn(t){for(var e=null;null===e&&t.previousSibling;)e=hn(t.previousSibling),t=t.previousSibling;return e}function Nn(t,e,n,a,r){if(void 0===n&&(n=null),void 0===a&&(a=!0),void 0===r&&(r=!1),n&&!$e[n]){var i=kn(n),o=En(n);i&&o&&(Ue(i,!0),o.hash.forEach((function(t){-1!==Oa.indexOf(t)&&($e[n]=t)})))}var u=Ge.indexOf(t);u>=0&&1===e&&r?(Ge.splice(u,1),Ge.push(t)):-1===u&&a&&Ge.push(t)}var Tn=[],In=null,Cn={},Dn=[],jn=!1,An=null;function zn(t,e){!1===In.has(t)&&(In.set(t,e),(An=null===An&&jn?new IntersectionObserver(Hn,{threshold:[0,.2,.4,.6,.8,1]}):An)&&t&&t.nodeType===Node.ELEMENT_NODE&&An.observe(t))}function Rn(t){return In&&In.has(t)}function Ln(){for(var t=[],e=0,n=Dn;e<n.length;e++){var a=n[e],r=hn(a.node);r in Cn||(r?(a.data.id=r,Cn[r]=a.data,Tn.push(qn(a.data))):t.push(a))}Dn=t,Tn.length>0&&Yt(7)}function Hn(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(In.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?hn(r):null,s=c in Cn?Cn[c]:{id:c,name:In.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;Wn(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&An&&An.unobserve(r)}}Tn.length>0&&Yt(7)}function Wn(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in Cn&&r||!(e.id in Cn))&&(Cn[e.id]=e,Tn.push(qn(e))):Dn.push({node:t,data:e})}function qn(t){return{time:l(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function Yn(){Tn=[]}function Pn(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return He=l()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Xn(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=On(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=kn(t),a=t in Cn?Cn[t]:{id:t,visibility:0,interaction:16,name:In.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}Wn(n,a,r,a.visibility)}(r.region,e),i.fraud&&yt(i.fraud,r.id,n||r.data.value)}}return a}function Un(t,e){return void 0===e&&(e=null),ct(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,s,d,f,h,p,v,g,m,w,k,E,O,x,S,_,N,I,C,D,j,A,z,R,L;return st(this,(function(H){switch(n=e||l(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=Ft;r<i.length;r++)R=i[r],(o=Xn(R.data.target,R.event)).id>0&&((a=[R.time,R.event]).push(o.id),a.push(R.data.x),a.push(R.data.y),ia(a),M(R.event,R.data.x,R.data.y));break;case 9:for(u=0,c=Kt;u<c.length;u++)R=c[u],s=Xn(R.data.target,R.event,R.data.text),a=[R.time,R.event],d=s.hash.join("."),a.push(s.id),a.push(R.data.x),a.push(R.data.y),a.push(R.data.eX),a.push(R.data.eY),a.push(R.data.button),a.push(R.data.reaction),a.push(R.data.context),a.push(b(R.data.text,"click",s.privacy)),a.push(y(R.data.link)),a.push(d),a.push(R.data.trust),ia(a),Jn(R.time,R.event,d,R.data.x,R.data.y,R.data.reaction,R.data.context);ae();break;case 38:for(f=0,h=Ft;f<h.length;f++)R=h[f],a=[R.time,R.event],(j=Xn(R.data.target,R.event)).id>0&&(a.push(j.id),a.push(R.data.action),ia(a));break;case 11:p=Gt,a.push(p.width),a.push(p.height),M(t,p.width,p.height),ie(),ia(a);break;case 26:v=le,a.push(v.name),ge(),ia(a);break;case 27:for(g=0,m=Ft;g<m.length;g++)R=m[g],w=Xn(R.data.target,R.event,R.data.value),(a=[R.time,R.event]).push(w.id),a.push(b(R.data.value,"input",w.privacy)),ia(a);break;case 21:(k=Jt)&&(E=Xn(k.start,t),O=Xn(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),ia(a));break;case 10:for(x=0,S=oe;x<S.length;x++)R=S[x],(_=Xn(R.data.target,R.event)).id>0&&((a=[R.time,R.event]).push(_.id),a.push(R.data.x),a.push(R.data.y),ia(a),M(R.event,R.data.x,R.data.y));oe=[];break;case 42:for(N=0,I=Ft;N<I.length;N++)R=I[N],a=[R.time,R.event],(j=Xn(R.data.target,R.event)).id>0&&((a=[R.time,R.event]).push(j.id),a.push(R.data.type),a.push(b(R.data.value,"change",j.privacy)),a.push(b(R.data.checksum,"checksum",j.privacy)),ia(a));break;case 39:for(C=0,D=fe;C<D.length;C++)R=D[C],a=[R.time,R.event],(j=Xn(R.data.target,R.event)).id>0&&(a.push(j.id),ia(a));pe();break;case 22:for(A=0,z=Vn;A<z.length;A++)R=z[A],(a=[R.time,R.event]).push(R.data.type),a.push(R.data.hash),a.push(R.data.x),a.push(R.data.y),a.push(R.data.reaction),a.push(R.data.context),ia(a,!1);Fn();break;case 28:L=de,a.push(L.visible),ia(a),T(n,L.visible),be()}return[2]}))}))}var Bn=[],Vn=[];function Fn(){Vn=[]}function Jn(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),Bn.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),M(e,a,r)}var Gn,Zn,Kn,Qn,$n,ta=0,ea=0,na=null,aa=0;function ra(){Qn=!0,ta=0,ea=0,aa=0,Gn=[],Zn=[],Kn={},$n=null}function ia(t,e){if(void 0===e&&(e=!0),Qn){var n=l(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:ta+=r.length;case 37:case 6:ea+=r.length,Gn.push(r);break;default:Zn.push(r)}L(25);var i=function(){var t=!1===u.lean&&ta>0?100:lr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-aa>2*i&&(Y(na),na=null),e&&null===na&&(25!==a&&B(),na=q(ua,i),aa=n,za(ea))}}function oa(){Y(na),ua(!0),ta=0,ea=0,aa=0,Gn=[],Zn=[],Kn={},$n=null,Qn=!1}function ua(t){return void 0===t&&(t=!1),ct(this,void 0,void 0,(function(){var e,n,a,r,i,o,c,s;return st(this,(function(l){switch(l.label){case 0:return na=null,(e=!1===u.lean&&ea>0&&(ea<1048576||lr.sequence>0))&&W(1,1),Ln(),function(){var t=[];Vn=[];for(var e=lr.start+lr.duration,n=Math.max(e-2e3,0),a=0,r=Bn;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&Vn.push(i),t.push(i))}Bn=t,Un(22)}(),gt(),n=!0===t,a=JSON.stringify(hr(n)),r="[".concat(Zn.join(),"]"),i=e?"[".concat(Gn.join(),"]"):"",o=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,dt(o)];case 2:s=l.sent(),l.label=3;case 3:return H(2,(c=s)?c.length:o.length),ca(o,c,lr.sequence,n),Zn=[],e&&(Gn=[],ea=0,ta=0),[2]}}))}))}function ca(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof u.upload){var r=u.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&la(n)}catch(t){}if(!1===i){n in Kn?Kn[n].attempts++:Kn[n]={data:t,attempts:1};var o=new XMLHttpRequest;o.open("POST",r),null!==n&&(o.onreadystatechange=function(){vr(sa)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(u.upload){(0,u.upload)(t),la(n)}}function sa(t,e){var n=Kn[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Ra(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),ca(n.data,null,e)):($n={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&ja(2),200===t.status&&t.responseText&&function(t){var e=t&&t.length>0?t.split(" "):[""];switch(e[0]){case"END":Ra(6);break;case"UPGRADE":tt("Auto");break;case"ACTION":u.action&&e.length>1&&u.action(e[1])}}(t.responseText),0===t.status&&(ca(n.data,null,e,!0),Ra(3)),t.status>=200&&t.status<=208&&la(e),delete Kn[e]))}function la(t){1===t&&er()}var da,fa={};function ha(t){var e=t.error||t;return e.message in fa||(fa[e.message]=0),fa[e.message]++>=5||e&&e.message&&(da={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},pa(31)),!0}function pa(t){return ct(this,void 0,void 0,(function(){var e;return st(this,(function(n){switch(e=[l(),t],t){case 31:e.push(da.message),e.push(da.line),e.push(da.column),e.push(da.stack),e.push(y(da.source)),ia(e);break;case 33:va&&(e.push(va.code),e.push(va.name),e.push(va.message),e.push(va.stack),e.push(va.severity),ia(e,!1));break;case 41:mt&&(e.push(mt.id),e.push(mt.target),e.push(mt.checksum),ia(e,!1))}return[2]}))}))}var va,ga={};function ma(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in ga&&ga[t].indexOf(i)>=0||(va={code:t,name:n,message:a,stack:r,severity:e},t in ga?ga[t].push(i):ga[t]=[i],pa(33))}var ba,ya={},wa=[],ka={},Ea={},Oa=[];function xa(){try{var t=u.extract;if(!t)return;for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1];switch(n){case 0:var r=t[e+2];ka[a]=Ia(r);break;case 1:break;case 2:var i=t[e+2];Ea[a]=i;break;case 3:Oa=t[e+2]}}}catch(t){ma(8,1,t?t.name:null)}}function Sa(t){return JSON.parse(JSON.stringify(t))}function _a(){try{for(var t in ka){var e=(r=Ca(Sa(ka[t])))?JSON.stringify(r).substring(0,1e4):r;e&&Na(t,e)}for(var n in Ea){var a=document.querySelector(Ea[n]);a&&Na(n,a.innerText)}}catch(t){ma(5,1,t?t.name:null)}var r;ja(40)}function Ma(){wa=[]}function Na(t,e,n){void 0===n&&(n=!1),(!(t in ya)||t in ya&&ya[t]!==e||n)&&(ya[t]=e,wa.push(t))}function Ta(){ya={},wa=[],ka={},Ea={}}function Ia(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function Ca(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&Da(r,a.condition))n=Ca(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Da(c,a.condition)){var s=Ca(t,c);s&&i.push(s)}}n=i}return n}return null}function Da(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function ja(t){var e=[l(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),ia(e,!1)),_();break;case 25:e.push(A.gap),ia(e);break;case 35:e.push(ba.check),ia(e,!1);break;case 3:e.push($.key),ia(e);break;case 2:e.push($n.sequence),e.push($n.attempts),e.push($n.status),ia(e,!1);break;case 24:e.push(D.key),e.push(D.value),ia(e);break;case 34:var a=Object.keys(nt);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(nt[o])}ut(),ia(e,!1)}break;case 0:var u=Object.keys(R);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],f=parseInt(d,10);e.push(f),e.push(Math.round(R[d]))}R={},ia(e,!1)}break;case 1:var h=Object.keys(qa);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(qa[g])}Ba(),ia(e,!1)}break;case 36:var m=Object.keys(J);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],J[w]))}K(),ia(e,!1)}break;case 40:for(var k=0,E=wa;k<E.length;k++){w=E[k];e.push(w),e.push(ya[w])}Ma(),ia(e,!1)}}function Aa(){ba={check:0}}function za(t){if(0===ba.check){var e=ba.check;e=lr.sequence>=128?1:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==ba.check&&Ra(e)}}function Ra(t){ba.check=t,tr(),Vr()}function La(){0!==ba.check&&ja(35)}function Ha(){ba=null}var Wa=null,qa=null;function Ya(){Wa={},qa={}}function Pa(){Wa={},qa={}}function Xa(t,e){e&&(e="".concat(e),t in Wa||(Wa[t]=[]),Wa[t].indexOf(e)<0&&(Wa[t].push(e),t in qa||(qa[t]=[]),qa[t].push(e),Wa[t].length>128&&Ra(5)))}function Ua(){ja(1)}function Ba(){qa={}}var Va=null,Fa=[],Ja=null;function Ga(){Ja=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=function(){var t={session:rr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=ur("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-ir(n[1])<18e5&&(t.session=n[0],t.count=ir(n[2])+1,t.upgrade=ir(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=or(),i=u.projectId||f(location.host);Va={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},u.lean=u.track&&null!==a.upgrade?0===a.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&a.upload&&a.upload.length>"https://".length?a.upload:u.upload,Xa(0,e),Xa(3,n),Xa(1,y(location.href)),Xa(2,document.referrer),Xa(15,function(){var t=rr();if(u.track&&nr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),Xa(16,document.documentElement.lang),Xa(17,document.dir),Xa(26,"".concat(window.devicePixelRatio)),W(0,a.ts),W(1,0),navigator&&(Xa(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;Xa(22,t.platform),Xa(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){Xa(24,t.name+"~"+t.version)})),Xa(25,t.model),W(27,t.mobile?1:0)})):Xa(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var o=0,c=u.cookies;o<c.length;o++){var s=c[o],l=ur(s);l&&at(s,l)}ar(r)}function Za(){Ja=null,Va=null}function Ka(t,e){void 0===e&&(e=!0),Va&&!1===e&&t(Va,!u.lean),Fa.push({callback:t,wait:e})}function Qa(){return Va?[Va.userId,Va.sessionId,Va.pageNum].join("."):""}function $a(){Ir()&&(u.track=!0,ar(or(),1))}function tr(){cr("_clsk","",0)}function er(){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;!function(t){Fa.length>0&&Fa.forEach((function(e){!e.callback||e.wait&&!t||e.callback(Va,!u.lean)}))}(n),cr("_clsk",[Va.sessionId,t,Va.pageNum,n,e].join("|"),1)}function nr(t,e){try{return!!t[e]}catch(t){return!1}}function ar(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5);(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e)&&cr("_clck",[Va.userId,1,n.toString(36),e].join("|"),365)}function rr(){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 ir(t,e){return void 0===e&&(e=10),parseInt(t,e)}function or(){var t={id:rr(),expiry:null,consent:0},e=ur("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var o="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(o),document.cookie="".concat("_clsk","=").concat(o)}n.length>2&&(t.expiry=ir(n[2],36)),n.length>3&&1===ir(n[3])&&(t.consent=1),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}function ur(t){if(nr(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n<e.length;n++){var a=e[n].split("=");if(a.length>1&&a[0]&&a[0].trim()===t)return a[1]}}return null}function cr(t,e,n){if(u.track&&(navigator&&navigator.cookieEnabled||nr(document,"cookie"))){var a=new Date;a.setDate(a.getDate()+n);var r=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(e).concat(";").concat(r).concat(";path=/");try{if(null===Ja){for(var o=location.hostname?location.hostname.split("."):[],c=o.length-1;c>=0;c--)if(Ja=".".concat(o[c]).concat(Ja||""),c<o.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(Ja),ur(t)===e))return;Ja=""}}catch(t){Ja=""}document.cookie=Ja?"".concat(i).concat(";").concat("domain=").concat(Ja):i}}var sr,lr=null;function dr(){var t=Va;lr={version:d,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function fr(){lr=null}function hr(t){return lr.start=lr.start+lr.duration,lr.duration=l()-lr.start,lr.sequence++,lr.upload=t&&"sendBeacon"in navigator?1:0,lr.end=t?1:0,[lr.version,lr.sequence,lr.start,lr.duration,lr.projectId,lr.userId,lr.sessionId,lr.pageNum,lr.upload,lr.end]}function pr(){sr=[]}function vr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw function(t){if(sr&&-1===sr.indexOf(t.message)){var e=u.report;if(e&&e.length>0){var n={v:lr.version,p:lr.projectId,u:lr.userId,s:lr.sessionId,n:lr.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e),a.send(JSON.stringify(n)),sr.push(t.message)}}return t}(t)}var n=performance.now()-e;H(4,n),n>30&&(L(7),W(6,n))}}var gr=[];function mr(t,e,n,a){void 0===a&&(a=!1),n=vr(n);try{t[c("addEventListener")](e,n,a),gr.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function br(){for(var t=0,e=gr;t<e.length;t++){var n=e[t];try{n.target[c("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}gr=[]}var yr=null,wr=null,kr=null,Er=0;function Or(){return!(Er++>20)||(ma(4,0),!1)}function xr(){Er=0,kr!==_r()&&(Vr(),window.setTimeout(Sr,250))}function Sr(){Br(),W(29,1)}function _r(){return location.href?location.href.replace(location.hash,""):location.href}var Mr=!1;function Nr(){Mr=!0,s=performance.now(),It(),br(),pr(),kr=_r(),Er=0,mr(window,"popstate",xr),null===yr&&(yr=history.pushState,history.pushState=function(){yr.apply(this,arguments),Ir()&&Or()&&xr()}),null===wr&&(wr=history.replaceState,history.replaceState=function(){wr.apply(this,arguments),Ir()&&Or()&&xr()})}function Tr(){kr=null,Er=0,pr(),br(),It(),s=0,Mr=!1}function Ir(){return Mr}function Cr(t){if(null===t||Mr)return!1;for(var e in t)e in u&&(u[e]=t[e]);return!0}function Dr(){Br(),j("clarity","restart")}var jr=Object.freeze({__proto__:null,start:function(){!function(){bt=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self?1:2)}catch(t){W(31,0)}}(),mr(window,"error",ha),fa={},ga={}},stop:function(){ga={}}});function Ar(){return ct(this,void 0,void 0,(function(){var t,e;return st(this,(function(n){switch(n.label){case 0:return t=l(),At(e={id:Qa(),cost:3}),[4,Ie(document,e,0)];case 1:return n.sent(),[4,Yt(5,e,t)];case 2:return n.sent(),zt(e),[2]}}))}))}var zr=Object.freeze({__proto__:null,hashText:wn,start:function(){Bt(),Vt(),Yn(),An=null,In=new WeakMap,Cn={},Dn=[],jn=!!window.IntersectionObserver,sn(),function(){if(Ce=[],Re=[],Le=null,He=0,We={},null===je&&(je=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Ir()&&Ue(this.ownerNode),je.apply(this,arguments)}),null===Ae&&(Ae=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Ir()&&Ue(this.ownerNode),Ae.apply(this,arguments)}),null===ze){ze=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Ir()?Ue(ze.apply(this,arguments)):ze.apply(this,arguments)}}catch(t){ze=null}}}(),Ct(Ar,1).then((function(){vr(Vt)(),vr(Ln)()}))},stop:function(){Yn(),In=null,Cn={},Dn=[],An&&(An.disconnect(),An=null),jn=!1,ln(),function(){for(var t=0,e=Ce;t<e.length;t++){var n=e[t];n&&n.disconnect()}Ce=[],We={},De=[],Re=[],He=0,Le=null}(),Bt()}});var Rr,Lr=null;function Hr(){Lr=null}function Wr(t){Lr={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){return e=l(),n=[e,t],29===t&&(n.push(Lr.fetchStart),n.push(Lr.connectStart),n.push(Lr.connectEnd),n.push(Lr.requestStart),n.push(Lr.responseStart),n.push(Lr.responseEnd),n.push(Lr.domInteractive),n.push(Lr.domComplete),n.push(Lr.loadEventStart),n.push(Lr.loadEventEnd),n.push(Lr.redirectCount),n.push(Lr.size),n.push(Lr.type),n.push(Lr.protocol),n.push(Lr.encodedSize),n.push(Lr.decodedSize),Hr(),ia(n,!1)),[2]}))}))}(29)}var qr=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function Yr(){try{Rr&&Rr.disconnect(),Rr=new PerformanceObserver(vr(Pr));for(var t=0,e=qr;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),Rr.observe({type:n,buffered:!0}))}}catch(t){ma(3,1)}}function Pr(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":Wr(a);break;case"resource":var r=a.name;Xa(4,Xr(r)),r!==u.upload&&r!==u.fallback||W(28,a.duration);break;case"longtask":L(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&H(9,1e3*a.value);break;case"largest-contentful-paint":e&&W(8,a.startTime)}}}(t.getEntries())}function Xr(t){var e=document.createElement("a");return e.href=t,e.hostname}var Ur=[jr,zr,we,Object.freeze({__proto__:null,start:function(){Hr(),function(){navigator&&"connection"in navigator&&Xa(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?mr(window,"load",q.bind(this,Yr,0)):Yr():ma(3,0)}()},stop:function(){Rr&&Rr.disconnect(),Rr=null,Hr()}})];function Br(t){void 0===t&&(t=null),function(){try{return!1===Mr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(Cr(t),Nr(),pt(),Ur.forEach((function(t){return vr(t.start)()})),null===t&&Zr())}function Vr(){Ir()&&(Ur.slice().reverse().forEach((function(t){return vr(t.stop)()})),vt(),Tr(),void 0!==Jr&&(Jr[Gr]=function(){(Jr[Gr].q=Jr[Gr].q||[]).push(arguments)}))}var Fr=Object.freeze({__proto__:null,consent:$a,event:j,hashText:wn,identify:rt,metadata:Ka,pause:function(){Ir()&&(j("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){Tt=t}))))},resume:function(){Ir()&&(Nt&&(Tt(),Nt=null,null===Mt&&Dt()),j("clarity","resume"))},set:at,start:Br,stop:Vr,upgrade:tt,version:d}),Jr=window,Gr="clarity";function Zr(){if(void 0!==Jr){if(Jr[Gr]&&Jr[Gr].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Jr[Gr]&&Jr[Gr].q||[];for(Jr[Gr]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Fr[t].apply(Fr,e)},Jr[Gr].v=d;t.length>0;)Jr[Gr].apply(Jr,t.shift())}}Zr()}();
package/build/clarity.js CHANGED
@@ -1,96 +1,94 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var dom = /*#__PURE__*/Object.freeze({
6
4
  __proto__: null,
7
- get start () { return start$i; },
8
- get stop () { return stop$g; },
9
- get parse () { return parse$1; },
10
- get getId () { return getId; },
11
5
  get add () { return add; },
12
- get update () { return update$1; },
13
- get sameorigin () { return sameorigin; },
14
- get iframe () { return iframe; },
15
- get hashText () { return hashText; },
6
+ get get () { return get; },
7
+ get getId () { return getId; },
16
8
  get getNode () { return getNode; },
17
9
  get getValue () { return getValue; },
18
- get get () { return get; },
19
- get lookup () { return lookup; },
20
10
  get has () { return has; },
11
+ get hashText () { return hashText; },
12
+ get iframe () { return iframe; },
13
+ get lookup () { return lookup; },
14
+ get parse () { return parse$1; },
15
+ get sameorigin () { return sameorigin; },
16
+ get start () { return start$i; },
17
+ get stop () { return stop$g; },
18
+ get update () { return update$1; },
21
19
  get updates () { return updates$2; }
22
20
  });
23
21
  var upload$1 = /*#__PURE__*/Object.freeze({
24
22
  __proto__: null,
25
- get track () { return track$1; },
26
- get start () { return start$f; },
27
23
  get queue () { return queue; },
28
- get stop () { return stop$d; }
24
+ get start () { return start$f; },
25
+ get stop () { return stop$d; },
26
+ get track () { return track$1; }
29
27
  });
30
28
  var extract = /*#__PURE__*/Object.freeze({
31
29
  __proto__: null,
32
- get data () { return data$5; },
33
- get keys () { return keys; },
34
- get fragments () { return fragments; },
35
- get start () { return start$c; },
36
30
  get clone () { return clone; },
37
31
  get compute () { return compute$4; },
32
+ get data () { return data$5; },
33
+ get fragments () { return fragments; },
34
+ get keys () { return keys; },
38
35
  get reset () { return reset$4; },
39
- get update () { return update; },
40
- get stop () { return stop$b; }
36
+ get start () { return start$c; },
37
+ get stop () { return stop$b; },
38
+ get update () { return update; }
41
39
  });
42
40
  var limit = /*#__PURE__*/Object.freeze({
43
41
  __proto__: null,
44
- get data () { return data$4; },
45
- get start () { return start$b; },
46
42
  get check () { return check$2; },
47
- get trigger () { return trigger; },
48
43
  get compute () { return compute$3; },
49
- get stop () { return stop$a; }
44
+ get data () { return data$4; },
45
+ get start () { return start$b; },
46
+ get stop () { return stop$a; },
47
+ get trigger () { return trigger; }
50
48
  });
51
49
  var dimension = /*#__PURE__*/Object.freeze({
52
50
  __proto__: null,
51
+ get compute () { return compute$2; },
53
52
  get data () { return data$3; },
54
- get updates () { return updates; },
53
+ get log () { return log; },
54
+ get reset () { return reset$3; },
55
55
  get start () { return start$a; },
56
56
  get stop () { return stop$9; },
57
- get log () { return log; },
58
- get compute () { return compute$2; },
59
- get reset () { return reset$3; }
57
+ get updates () { return updates; }
60
58
  });
61
59
  var metadata$1 = /*#__PURE__*/Object.freeze({
62
60
  __proto__: null,
63
- get data () { return data$2; },
64
61
  get callbacks () { return callbacks; },
65
- get start () { return start$9; },
66
- get stop () { return stop$8; },
67
- get metadata () { return metadata; },
68
- get id () { return id; },
69
- get consent () { return consent; },
70
62
  get clear () { return clear; },
71
- get save () { return save; }
63
+ get consent () { return consent; },
64
+ get data () { return data$2; },
65
+ get id () { return id; },
66
+ get metadata () { return metadata; },
67
+ get save () { return save; },
68
+ get start () { return start$9; },
69
+ get stop () { return stop$8; }
72
70
  });
73
71
  var envelope$1 = /*#__PURE__*/Object.freeze({
74
72
  __proto__: null,
75
73
  get data () { return data$1; },
74
+ get envelope () { return envelope; },
76
75
  get start () { return start$8; },
77
- get stop () { return stop$7; },
78
- get envelope () { return envelope; }
76
+ get stop () { return stop$7; }
79
77
  });
80
78
  var clarity = /*#__PURE__*/Object.freeze({
81
79
  __proto__: null,
82
- get version () { return version$1; },
83
- get start () { return start; },
84
- get pause () { return pause; },
85
- get resume () { return resume; },
86
- get stop () { return stop; },
87
80
  get consent () { return consent; },
88
81
  get event () { return event; },
82
+ get hashText () { return hashText; },
89
83
  get identify () { return identify; },
84
+ get metadata () { return metadata; },
85
+ get pause () { return pause; },
86
+ get resume () { return resume; },
90
87
  get set () { return set; },
88
+ get start () { return start; },
89
+ get stop () { return stop; },
91
90
  get upgrade () { return upgrade; },
92
- get metadata () { return metadata; },
93
- get hashText () { return hashText; }
91
+ get version () { return version$1; }
94
92
  });
95
93
 
96
94
  var w = window;
@@ -170,7 +168,7 @@ function stop$C() {
170
168
  startTime = 0;
171
169
  }
172
170
 
173
- var version$1 = "0.7.2";
171
+ var version$1 = "0.7.3";
174
172
 
175
173
  // tslint:disable: no-bitwise
176
174
  function hash (input, precision) {
@@ -418,14 +416,14 @@ function stop$B() {
418
416
 
419
417
  var baseline = /*#__PURE__*/Object.freeze({
420
418
  __proto__: null,
421
- get state () { return state$a; },
422
- start: start$F,
423
- reset: reset$q,
424
- track: track$7,
425
419
  activity: activity,
426
- visibility: visibility,
427
420
  compute: compute$c,
428
- stop: stop$B
421
+ reset: reset$q,
422
+ start: start$F,
423
+ get state () { return state$a; },
424
+ stop: stop$B,
425
+ track: track$7,
426
+ visibility: visibility
429
427
  });
430
428
 
431
429
  var data$j = null;
@@ -536,8 +534,8 @@ function stop$z() {
536
534
  var ping$1 = /*#__PURE__*/Object.freeze({
537
535
  __proto__: null,
538
536
  get data () { return data$h; },
539
- start: start$D,
540
537
  reset: reset$o,
538
+ start: start$D,
541
539
  stop: stop$z
542
540
  });
543
541
 
@@ -574,12 +572,12 @@ function reset$n() {
574
572
 
575
573
  var summary = /*#__PURE__*/Object.freeze({
576
574
  __proto__: null,
575
+ compute: compute$a,
577
576
  get data () { return data$g; },
577
+ reset: reset$n,
578
578
  start: start$C,
579
579
  stop: stop$y,
580
- track: track$6,
581
- compute: compute$a,
582
- reset: reset$n
580
+ track: track$6
583
581
  });
584
582
 
585
583
  var data$f = null;
@@ -615,8 +613,8 @@ var upgrade$1 = /*#__PURE__*/Object.freeze({
615
613
  __proto__: null,
616
614
  get data () { return data$f; },
617
615
  start: start$B,
618
- upgrade: upgrade,
619
- stop: stop$x
616
+ stop: stop$x,
617
+ upgrade: upgrade
620
618
  });
621
619
 
622
620
  var data$e = null;
@@ -661,12 +659,12 @@ function stop$w() {
661
659
 
662
660
  var variable = /*#__PURE__*/Object.freeze({
663
661
  __proto__: null,
662
+ compute: compute$9,
664
663
  get data () { return data$e; },
665
- start: start$A,
666
- set: set,
667
664
  identify: identify,
668
- compute: compute$9,
669
665
  reset: reset$m,
666
+ set: set,
667
+ start: start$A,
670
668
  stop: stop$w
671
669
  });
672
670
 
@@ -701,7 +699,7 @@ function __generator(thisArg, body) {
701
699
  function verb(n) { return function (v) { return step([n, v]); }; }
702
700
  function step(op) {
703
701
  if (f) throw new TypeError("Generator is already executing.");
704
- while (_) try {
702
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
705
703
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
706
704
  if (y = 0, t) op = [op[0] & 2, t.value];
707
705
  switch (op[0]) {
@@ -919,8 +917,8 @@ function filter(value) {
919
917
 
920
918
  var selector = /*#__PURE__*/Object.freeze({
921
919
  __proto__: null,
922
- reset: reset$l,
923
- get: get$1
920
+ get: get$1,
921
+ reset: reset$l
924
922
  });
925
923
 
926
924
  // Track the start time to be able to compute duration at the end of the task
@@ -1867,9 +1865,9 @@ function observe$4(root) {
1867
1865
 
1868
1866
  var interaction = /*#__PURE__*/Object.freeze({
1869
1867
  __proto__: null,
1868
+ observe: observe$4,
1870
1869
  start: start$k,
1871
- stop: stop$i,
1872
- observe: observe$4
1870
+ stop: stop$i
1873
1871
  });
1874
1872
 
1875
1873
  var digitsRegex = /[^0-9\.]/g;
@@ -4514,9 +4512,9 @@ function stop$3() {
4514
4512
 
4515
4513
  var layout = /*#__PURE__*/Object.freeze({
4516
4514
  __proto__: null,
4515
+ hashText: hashText,
4517
4516
  start: start$3,
4518
- stop: stop$3,
4519
- hashText: hashText
4517
+ stop: stop$3
4520
4518
  });
4521
4519
 
4522
4520
  function encode (type) {
@@ -4668,11 +4666,6 @@ function process(entries) {
4668
4666
  break;
4669
4667
  }
4670
4668
  }
4671
- if (performance && "memory" /* Constant.Memory */ in performance && performance["memory" /* Constant.Memory */].usedJSHeapSize) {
4672
- // Track consumed memory (MBs) where "memory" API is available
4673
- // Reference: https://developer.mozilla.org/en-US/docs/Web/API/Performance/memory
4674
- max(30 /* Metric.UsedMemory */, Math.abs(performance["memory" /* Constant.Memory */].usedJSHeapSize / 1048576 /* Setting.MegaByte */));
4675
- }
4676
4669
  }
4677
4670
  function stop$2() {
4678
4671
  if (observer) {
@@ -1 +1 @@
1
- !function(){"use strict";var t=Object.freeze({__proto__:null,get start(){return Cn},get stop(){return In},get parse(){return zn},get getId(){return Ln},get add(){return An},get update(){return Rn},get sameorigin(){return Hn},get iframe(){return Yn},get hashText(){return qn},get getNode(){return Pn},get getValue(){return Un},get get(){return Bn},get lookup(){return Vn},get has(){return Fn},get updates(){return Jn}}),e=Object.freeze({__proto__:null,get track(){return ka},get start(){return Sa},get queue(){return Na},get stop(){return _a}}),n=Object.freeze({__proto__:null,get data(){return Xa},get keys(){return qa},get fragments(){return Ba},get start(){return Va},get clone(){return Fa},get compute(){return Ja},get reset(){return Ga},get update(){return Za},get stop(){return Ka}}),a=Object.freeze({__proto__:null,get data(){return Wa},get start(){return nr},get check(){return ar},get trigger(){return rr},get compute(){return ir},get stop(){return or}}),r=Object.freeze({__proto__:null,get data(){return ur},get updates(){return cr},get start(){return sr},get stop(){return lr},get log(){return dr},get compute(){return fr},get reset(){return hr}}),i=Object.freeze({__proto__:null,get data(){return pr},get callbacks(){return vr},get start(){return mr},get stop(){return br},get metadata(){return yr},get id(){return wr},get consent(){return kr},get clear(){return Er},get save(){return Or}}),o=Object.freeze({__proto__:null,get data(){return Ir},get start(){return jr},get stop(){return zr},get envelope(){return Lr}}),u={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],extract:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-s),0)}var d="0.7.2";function f(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,p=!0,v=null,g=null,m=null;function b(t,e,n,a){if(void 0===a&&(a=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;if(p&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){p=!1}for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=p&&null!==m?s.match(m)?s:s.replace(g,"▪").replace(v,"▫"):k(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":return a?w(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":return a?w(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}}return t}function y(t){var e=u.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var n=t.split("?"),a=n[0],r=n[1];return a+"?"+r.split("&").map((function(t){return e.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function w(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(h,"•")}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}var O=null,x=null,M=!1;function S(){M&&(O={time:l(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function N(t,e,n){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n;break;default:x.pointerX=e,x.pointerY=n}M=!0}function _(t){x.activityTime=t}function T(t,e){x.visible="visible"===e?1:0,x.visible||_(t),M=!0}function D(){M&&er(4)}var C=Object.freeze({__proto__:null,get state(){return O},start:function(){M=!1,S()},reset:S,track:N,activity:_,visibility:T,compute:D,stop:function(){S()}}),I=null;function j(t,e){$r()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(I={key:t,value:e},er(24))}var z,L=null,A=null;function R(t){t in L||(L[t]=0),t in A||(A[t]=0),L[t]++,A[t]++}function H(t,e){null!==e&&(t in L||(L[t]=0),t in A||(A[t]=0),L[t]+=e,A[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(A[t]=e,L[t]=e))}function W(t,e,n){return window.setTimeout(Hr(t),e,n)}function X(t){return window.clearTimeout(t)}var q=0,P=0,U=null;function B(){U&&X(U),U=W(V,P),q=l()}function V(){var t=l();z={gap:t-q},er(25),z.gap<3e5?U=W(V,P):Zr&&(j("clarity","suspend"),vi(),["mousemove","touchstart"].forEach((function(t){return Wr(document,t,ei)})),["resize","scroll","pageshow"].forEach((function(t){return Wr(window,t,ei)})))}var F=Object.freeze({__proto__:null,get data(){return z},start:function(){P=6e4,q=0},reset:B,stop:function(){X(U),q=0,P=0}}),J=null;function G(t,e){if(t in J){var n=J[t],a=n[n.length-1];e-a[0]>100?J[t].push([e,0]):a[1]=e-a[0]}else J[t]=[[e,0]]}function Z(){er(36)}function K(){J={}}var Q=Object.freeze({__proto__:null,get data(){return J},start:function(){J={}},stop:function(){J={}},track:G,compute:Z,reset:K}),$=null;function tt(t){$r()&&u.lean&&(u.lean=!1,$={key:t},Or(),u.upgrade&&u.upgrade(t),er(3))}var et=Object.freeze({__proto__:null,get data(){return $},start:function(){!u.lean&&u.upgrade&&u.upgrade("Config"),$=null},upgrade:tt,stop:function(){$=null}}),nt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function rt(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null),it("userId",[t]),it("sessionId",[e]),it("pageId",[n])}function it(t,e){if($r()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in nt?nt[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);nt[t]=n}}function ot(){er(34)}function ut(){nt={}}function ct(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function st(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(t){i=[6,t],a=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}var lt="CompressionStream"in window;function dt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),lt?(e=new ReadableStream({start:function(e){return ct(this,void 0,void 0,(function(){return st(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,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return ct(this,void 0,void 0,(function(){var e,n,a,r,i;return st(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var ht=[C,r,Object.freeze({__proto__:null,get data(){return nt},start:function(){ut()},set:at,identify:rt,compute:ot,reset:ut,stop:function(){ut()}}),a,Q,i,o,e,F,et,n];function pt(){L={},A={},R(5),ht.forEach((function(t){return Hr(t.start)()}))}function vt(){ht.slice().reverse().forEach((function(t){return Hr(t.stop)()})),L={},A={}}function gt(){ot(),D(),fr(),er(0),Z(),ir(),Ja()}var mt,bt=[];function yt(t,e,n){u.fraud&&null!==t&&n&&n.length>=5&&(mt={id:t,target:e,checksum:f(n,24)},bt.indexOf(mt.checksum)<0&&(bt.push(mt.checksum),Aa(41)))}var wt="load,active,fixed,visible,focus,show,collaps,animat".split(","),kt={};function Et(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Ot(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in kt||(kt[c]=[]),kt[c].indexOf(t.id)<0&&kt[c].push(t.id),i="".concat(c).concat("~").concat(kt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Ot(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Ot(t){if(!t)return!1;if(wt.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var xt={},Mt=[],St=null,Nt=null,_t=null;function Tt(){xt={},Mt=[],St=null,Nt=null}function Dt(t,e){return void 0===e&&(e=0),ct(this,void 0,void 0,(function(){var n,a,r;return st(this,(function(i){for(n=0,a=Mt;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){Mt[1===e?"unshift":"push"]({task:t,resolve:n,id:wr()})})),null===St&&null===Nt&&Ct(),[2,r]}))}))}function Ct(){var t=Mt.shift();t&&(St=t,t.task().then((function(){t.id===wr()&&(t.resolve(),St=null,Ct())})).catch((function(e){t.id===wr()&&(e&&Ya(0,1,e.name,e.message,e.stack),St=null,Ct())})))}function It(t){var e=At(t);return e in xt?performance.now()-xt[e].start>xt[e].yield?0:1:2}function jt(t){xt[At(t)]={start:performance.now(),calls:0,yield:30}}function zt(t){var e=performance.now(),n=At(t),a=e-xt[n].start;H(t.cost,a),R(5),xt[n].calls>0&&H(4,a)}function Lt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return(e=At(t))in xt?(zt(t),n=xt[e],[4,Rt()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=At(t);if(xt&&xt[e]){var n=xt[e].calls,a=xt[e].yield;jt(t),xt[e].calls=n+1,xt[e].yield=a}}(t),a.label=2;case 2:return[2,e in xt?1:2]}}))}))}function At(t){return"".concat(t.id,".").concat(t.cost)}function Rt(){return ct(this,void 0,void 0,(function(){return st(this,(function(t){switch(t.label){case 0:return Nt?[4,Nt]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Yt(t,{timeout:5e3})}))]}}))}))}var Ht,Yt=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Wt(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),ct(this,void 0,void 0,(function(){var a,r,i,o,c,s,d,f,h,p,v,g,m,y,w,k,E,O,x,M,S,T;return st(this,(function(D){switch(D.label){case 0:switch(a=n||l(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 5:case 6:return[3,3]}return[3,10];case 1:return i=Ht,r.push(i.width),r.push(i.height),N(t,i.width,i.height),Na(r),[3,10];case 2:for(o=0,c=Kn;o<c.length;o++)s=c[o],(r=[s.time,7]).push(s.data.id),r.push(s.data.interaction),r.push(s.data.visibility),r.push(s.data.name),Na(r);return sa(),[3,10];case 3:if(2===It(e))return[3,10];if(!((d=Jn()).length>0))return[3,9];f=0,h=d,D.label=4;case 4:return f<h.length?(p=h[f],0!==(v=It(e))?[3,6]:[4,Lt(e)]):[3,8];case 5:v=D.sent(),D.label=6;case 6:if(2===v)return[3,8];for(g=p.data,m=p.metadata.active,y=p.metadata.suspend,w=p.metadata.privacy,k=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(p),E=0,O=m?["tag","attributes","value"]:["tag"];E<O.length;E++)if(g[x=O[E]])switch(x){case"tag":M=Xt(p),S=k?-1:1,r.push(p.id*S),p.parent&&m&&r.push(p.parent),p.previous&&m&&r.push(p.previous),r.push(y?"*M":g[x]),M&&2===M.length&&r.push("".concat("#").concat(qt(M[0]),".").concat(qt(M[1])));break;case"attributes":for(T in g[x])void 0!==g[x][T]&&r.push(Pt(T,g[x][T],w));break;case"value":yt(p.metadata.fraud,p.id,g[x]),r.push(b(g[x],g.tag,w,k))}D.label=7;case 7:return f++,[3,4];case 8:6===t&&_(a),Na(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!u.lean),D.label=9;case 9:return[3,10];case 10:return[2]}}))}))}function Xt(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Pn(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function qt(t){return t.toString(36)}function Pt(t,e,n){return"".concat(t,"=").concat(b(e,t,n))}function Ut(){Ht=null}function Bt(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Ht&&c===Ht.width&&v===Ht.height||null===c||null===v||(Ht={width:c,height:v},Wt(8))}var Vt=[];function Ft(t){var e=la(t);if(e){var n=e.value,a=n&&n.length>=5&&u.fraud?f(n,24):"";Vt.push({time:l(t),event:42,data:{target:la(t),type:e.type,value:n,checksum:a}}),Dt(fa.bind(this,42))}}function Jt(){Vt=[]}function Gt(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Yn(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Zt=["input","textarea","radio","button","canvas"],Kt=[];function Qt(t){Wr(t,"click",$t.bind(this,9,t),!0)}function $t(t,e,n){var a=Yn(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Gt(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=la(n),s=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Kt.push({time:l(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:ee(c),context:ne(s),text:te(c),link:s?s.href:null,hash:null,trust:n.isTrusted?1:0}}),Dt(fa.bind(this,t)))}function te(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.trim().replace(/\s+/g," ").substr(0,25))}return e}function ee(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Zt.indexOf(e)>=0)return 0}return 1}function ne(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 ae(){Kt=[]}var re=[];function ie(t,e){re.push({time:l(e),event:38,data:{target:la(e),action:t}}),Dt(fa.bind(this,38))}function oe(){re=[]}var ue=null,ce=[];function se(t){var e=la(t),n=Bn(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};ce.length>0&&ce[ce.length-1].data.target===r.target&&ce.pop(),ce.push({time:l(t),event:27,data:r}),X(ue),ue=W(le,1e3,27)}}function le(t){Dt(fa.bind(this,t))}function de(){ce=[]}var fe,he=[],pe=null;function ve(t,e,n){var a=Yn(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Gt(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&me({time:l(n),event:t,data:{target:la(n),x:i,y:o}})}function ge(t,e,n){var a=Yn(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=l(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],s="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;s=s&&a?s+Math.round(a.offsetLeft):s,d=d&&a?d+Math.round(a.offsetTop):d,null!==s&&null!==d&&me({time:o,event:t,data:{target:la(n),x:s,y:d}})}}function me(t){switch(t.event){case 12:case 15:case 19:var e=he.length,n=e>1?he[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&he.pop(),he.push(t),X(pe),pe=W(be,500,t.event);break;default:he.push(t),be(t.event)}}function be(t){Dt(fa.bind(this,t))}function ye(){he=[]}function we(){var t=document.documentElement;fe={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},fa(11)}function ke(){fe=null}var Ee=[],Oe=null;function xe(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?la(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Yn(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:l(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=Ee.length,s=c>1?Ee[c-2]:null;s&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(s,u)&&Ee.pop(),Ee.push(u),X(Oe),Oe=W(Me,500,10)}}function Me(t){Dt(fa.bind(this,t))}var Se=null,Ne=null,_e=null;function Te(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=Se.start?Se.start:null;null!==Ne&&null!==Se.start&&n!==e.anchorNode&&(X(_e),De(21)),Se={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},Ne=e,X(_e),_e=W(De,500,21)}}function De(t){Dt(fa.bind(this,t))}function Ce(){Ne=null,Se={start:0,startOffset:0,end:0,endOffset:0}}var Ie,je,ze=[];function Le(t){ze.push({time:l(t),event:39,data:{target:la(t)}}),Dt(fa.bind(this,39))}function Ae(){ze=[]}function Re(t){Ie={name:t.type},fa(26,l(t)),vi()}function He(){Ie=null}function Ye(t){void 0===t&&(t=null),je={visible:"visibilityState"in document?document.visibilityState:"default"},fa(28,l(t))}function We(){je=null}function Xe(t){!function(t){var e=Yn(t);Wr(e?e.contentWindow:t===document?window:t,"scroll",xe,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(Qt(t),function(t){Wr(t,"cut",ie.bind(this,0),!0),Wr(t,"copy",ie.bind(this,1),!0),Wr(t,"paste",ie.bind(this,2),!0)}(t),function(t){Wr(t,"mousedown",ve.bind(this,13,t),!0),Wr(t,"mouseup",ve.bind(this,14,t),!0),Wr(t,"mousemove",ve.bind(this,12,t),!0),Wr(t,"wheel",ve.bind(this,15,t),!0),Wr(t,"dblclick",ve.bind(this,16,t),!0),Wr(t,"touchstart",ge.bind(this,17,t),!0),Wr(t,"touchend",ge.bind(this,18,t),!0),Wr(t,"touchmove",ge.bind(this,19,t),!0),Wr(t,"touchcancel",ge.bind(this,20,t),!0)}(t),function(t){Wr(t,"input",se,!0)}(t),function(t){Wr(t,"selectstart",Te.bind(this,t),!0),Wr(t,"selectionchange",Te.bind(this,t),!0)}(t),function(t){Wr(t,"change",Ft,!0)}(t),function(t){Wr(t,"submit",Le,!0)}(t))}var qe=Object.freeze({__proto__:null,start:function(){ha=[],va(),ae(),oe(),ye(),de(),Wr(window,"resize",we),we(),Wr(document,"visibilitychange",Ye),Ye(),Ee=[],xe(),Ce(),Jt(),Ae(),Wr(window,"pagehide",Re)},stop:function(){ha=[],va(),ae(),oe(),X(pe),he.length>0&&be(he[he.length-1].event),X(ue),de(),ke(),We(),X(Oe),Ee=[],Ce(),X(_e),Jt(),Ae(),He()},observe:Xe}),Pe=/[^0-9\.]/g;function Ue(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":dr(5,t[a]),dr(8,t.creator),dr(18,t.headline);break;case"product":dr(5,t[a]),dr(10,t.name),dr(12,t.sku),t.brand&&dr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(Y(11,Be(t.ratingValue,100)),Y(18,Be(t.bestRating)),Y(19,Be(t.worstRating))),Y(12,Be(t.ratingCount)),Y(17,Be(t.reviewCount));break;case"person":dr(8,t.name);break;case"offer":dr(7,t.availability),dr(14,t.itemCondition),dr(13,t.priceCurrency),dr(12,t.sku),Y(13,Be(t.price));break;case"brand":dr(6,t.name)}null!==r&&"object"==typeof r&&Ue(r)}}function Be(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(Pe,""))*e)}return null}var Ve=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Fe=/[\r\n]+/g;function Je(e,n){var a,r=null;if(2===n&&!1===Fn(e))return r;0!==n&&e.nodeType===Node.TEXT_NODE&&e.parentElement&&"STYLE"===e.parentElement.tagName&&(e=e.parentNode);var i=!1===Fn(e)?"add":"update",o=e.parentElement?e.parentElement:null,u=e.ownerDocument!==document;switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&e.parentNode?Yn(e.parentNode):o;var c=e,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};t[i](e,o,s,n);break;case Node.DOCUMENT_NODE:e===document&&zn(document),Ge(e);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=e;if(l.host)if(zn(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){Ge(l);for(var d="",f=0,h=("adoptedStyleSheets"in l?l.adoptedStyleSheets:[]);f<h.length;f++){d+=Ke(h[f])}var p={tag:"*S",attributes:{style:d}};t[i](e,l.host,p,n)}else t[i](e,l.host,{tag:"*P",attributes:{}},n);break;case Node.TEXT_NODE:if(o=o||e.parentNode,"update"===i||o&&Fn(o)&&"STYLE"!==o.tagName){var v={tag:"*T",value:e.nodeValue};t[i](e,o,v,n)}break;case Node.ELEMENT_NODE:var g=e,m=g.tagName,b=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;Ve.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(g);switch(o=e.parentElement?e.parentElement:e.parentNode?e.parentNode:null,"http://www.w3.org/2000/svg"===g.namespaceURI&&(m="svg:"+m),m){case"HTML":o=u&&o?Yn(o):null;var y={tag:(u?"iframe:":"")+m,attributes:b};t[i](e,o,y,n);break;case"SCRIPT":if("type"in b&&"application/ld+json"===b.type)try{Ue(JSON.parse(g.text.replace(Fe,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var w="property"in b?"property":"name"in b?"name":null;if(w&&"content"in b){var k=b.content;switch(b[w]){case"og:title":dr(20,k);break;case"og:type":dr(19,k);break;case"generator":dr(21,k)}}break;case"HEAD":var E={tag:m,attributes:b},O=u&&(null===(a=e.ownerDocument)||void 0===a?void 0:a.location)?e.ownerDocument.location:location;E.attributes["*B"]=O.protocol+"//"+O.hostname+O.pathname,t[i](e,o,E,n);break;case"BASE":var x=Bn(e.parentElement);if(x){var M=document.createElement("a");M.href=b.href,x.data.attributes["*B"]=M.protocol+"//"+M.hostname+M.pathname}break;case"STYLE":var S={tag:m,attributes:b,value:Ze(g)};t[i](e,o,S,n);break;case"IFRAME":var N=e,_={tag:m,attributes:b};Hn(N)&&(!function(t){!1===Fn(t)&&Wr(t,"load",pn.bind(this,t,"childList"),!0)}(N),_.attributes["*O"]="true",N.contentDocument&&N.contentWindow&&"loading"!==N.contentDocument.readyState&&(r=N.contentDocument)),t[i](e,o,_,n);break;default:var T={tag:m,attributes:b};g.shadowRoot&&(r=g.shadowRoot),t[i](e,o,T,n)}}return r}function Ge(t){Fn(t)||(!function(t){try{var e=c("MutationObserver"),n=e in window?new window[e](Hr(sn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),$e.push(n))}catch(t){Ya(2,0,t?t.name:null)}}(t),Xe(t))}function Ze(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Ke(t.sheet)),e}function Ke(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Ya(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function Qe(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i,o,u;return st(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=It(e))?[3,3]:[4,Lt(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Je(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var $e=[],tn=[],en=null,nn=null,an=null,rn=[],on=null,un=null,cn={};function sn(t){var e=l();G(6,e),tn.push({time:e,mutations:t}),Dt(ln,1).then((function(){W(Bt),Hr(ia)()}))}function ln(){return ct(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,s;return st(this,(function(d){switch(d.label){case 0:jt(t={id:wr(),cost:3}),d.label=1;case 1:if(!(tn.length>0))return[3,8];e=tn.shift(),n=l(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=It(t))?[3,4]:[4,Lt(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?Bn(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=l()>un,i=Bn(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,dn(t.addedNodes),dn(t.removedNodes)].join();cn[u]=u in cn?cn[u]:[0,n];var c=cn[u];if(!1===r&&c[0]>=10&&fn(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&zn(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&zn(u),c){case"attributes":Je(u,3);break;case"characterData":Je(u,4);break;case"childList":fn(i.addedNodes,1,t),fn(i.removedNodes,2,t);break;case"suspend":(s=Bn(u))&&(s.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,Wt(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return zt(t),[2]}}))}))}function dn(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function fn(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i;return st(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:(Qe(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=It(n))?[3,4]:[4,Lt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Je(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function hn(t,e){return void 0===e&&(e=!1),rn.indexOf(t)<0&&rn.push(t),on&&X(on),on=W((function(){!function(t){for(var e=0,n=rn;e<n.length;e++){var a=n[e];if(a){var r=a.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(r&&Fn(a))continue;pn(a,r||t?"childList":"characterData")}}rn=[]}(e)}),33),t}function pn(t,e){Hr(sn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var vn=1,gn=[],mn=[],bn=[],yn={},wn=[],kn=[],En={},On=[],xn=[],Mn=[],Sn=[],Nn=null,_n=null,Tn=null,Dn=null;function Cn(){jn(),zn(document,!0)}function In(){jn()}function jn(){vn=1,gn=[],mn=[],bn=[],yn={},wn=[],kn=[],On="address,password,contact".split(","),xn="password,secret,pass,social,ssn,code,hidden".split(","),Mn="radio,checkbox,range,button,reset,submit".split(","),Sn="INPUT,SELECT,TEXTAREA".split(","),Nn=new WeakMap,_n=new WeakMap,Tn=new WeakMap,Dn=new WeakMap,kt={}}function zn(t,e){void 0===e&&(e=!1);try{e&&u.unmask.forEach((function(t){return t.indexOf("!")<0?kn.push(t):wn.push(t.substr(1))})),"querySelectorAll"in t&&(u.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return aa(t,"".concat(e[0]))}))})),u.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Tn.set(t,3)}))})),u.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Dn.set(t,e[0])}))})),kn.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Tn.set(t,0)}))})))}catch(t){Ya(5,1,t?t.name:null)}}function Ln(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Nn.get(t);return!n&&e&&(n=vn++,Nn.set(t,n)),n||null}function An(t,e,n,a){var r,i=Ln(t,!0),o=e?Ln(e):null,c=Gn(t),s=null,l=ra(t)?i:null,d=null,f=Dn.has(t)?Dn.get(t):null,h=u.content?1:3;o>=0&&mn[o]&&((s=mn[o]).children.push(i),l=null===l?s.region:l,d=s.fragment,f=null===f?s.metadata.fraud:f,h=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(aa(t,n.attributes["data-clarity-region"]),l=i),gn[i]=t,mn[i]={id:i,parent:o,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:h,position:null,fraud:f,size:null},fragment:d},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Sn.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=xn.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Mn.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Tn.has(t):r.privacy=Tn.get(t);break;case Dn.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||wn.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,On,r)}}(t,mn[i],s),Xn(mn[i]),"IMG"===(r=mn[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),Zn(i,a,mn[i].fragment)}function Rn(t,e,n,a){var r=Ln(t),i=e?Ln(e):null,o=Gn(t),u=!1,c=!1;if(r in mn){var s=mn[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:mn[i].children.indexOf(o)+1;mn[i].children.splice(d,0,r),s.region=ra(t)?r:mn[i].region}else!function(t,e){if(t in mn){var n=mn[t];n.metadata.active=!1,n.parent=null,Zn(t,e)}}(r,a);if(null!==l&&l>=0){var f=mn[l].children.indexOf(r);f>=0&&mn[l].children.splice(f,1)}c=!0}for(var h in n)Wn(s.data,n,h)&&(u=!0,s.data[h]=n[h]);s.fragment&&En[s.fragment]&&(u=!0),Xn(s),Zn(r,a,mn[r].fragment,u,c)}}function Hn(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(_n.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Yn(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&_n.has(e)?_n.get(e):null}function Wn(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function Xn(t){var e=t.parent&&t.parent in mn?mn[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=mn[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[Et(i,0),Et(i,1)],t.hash=t.selector.map((function(t){return t?f(t):null})),t.hash.forEach((function(e){return yn[e]=t.id})),t.hash.some((function(t){return-1!==Ba.indexOf(t)}))&&(t.fragment=t.id)}function qn(t){var e=Pn(Vn(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Pn(t){return t in gn?gn[t]:null}function Un(t){return t in mn?mn[t]:null}function Bn(t){var e=Ln(t);return e in mn?mn[e]:null}function Vn(t){return t in yn?yn[t]:null}function Fn(t){return Ln(t)in gn}function Jn(){for(var t=[],e=0,n=bn;e<n.length;e++){(a=n[e])in mn&&t.push(mn[a])}for(var a in bn=[],En)Za(En[a],a,!0);return En={},t}function Gn(t){for(var e=null;null===e&&t.previousSibling;)e=Ln(t.previousSibling),t=t.previousSibling;return e}function Zn(t,e,n,a,r){if(void 0===n&&(n=null),void 0===a&&(a=!0),void 0===r&&(r=!1),n&&!En[n]){var i=Pn(n),o=Un(n);i&&o&&(hn(i,!0),o.hash.forEach((function(t){-1!==Ba.indexOf(t)&&(En[n]=t)})))}var u=bn.indexOf(t);u>=0&&1===e&&r?(bn.splice(u,1),bn.push(t)):-1===u&&a&&bn.push(t)}var Kn=[],Qn=null,$n={},ta=[],ea=!1,na=null;function aa(t,e){!1===Qn.has(t)&&(Qn.set(t,e),(na=null===na&&ea?new IntersectionObserver(oa,{threshold:[0,.2,.4,.6,.8,1]}):na)&&t&&t.nodeType===Node.ELEMENT_NODE&&na.observe(t))}function ra(t){return Qn&&Qn.has(t)}function ia(){for(var t=[],e=0,n=ta;e<n.length;e++){var a=n[e],r=Ln(a.node);r in $n||(r?(a.data.id=r,$n[r]=a.data,Kn.push(ca(a.data))):t.push(a))}ta=t,Kn.length>0&&Wt(7)}function oa(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if(Qn.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Ln(r):null,s=c in $n?$n[c]:{id:c,name:Qn.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;ua(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&na&&na.unobserve(r)}}Kn.length>0&&Wt(7)}function ua(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in $n&&r||!(e.id in $n))&&($n[e.id]=e,Kn.push(ca(e))):ta.push({node:t,data:e})}function ca(t){return{time:l(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function sa(){Kn=[]}function la(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return un=l()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function da(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=Bn(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Pn(t),a=t in $n?$n[t]:{id:t,visibility:0,interaction:16,name:Qn.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}ua(n,a,r,a.visibility)}(r.region,e),i.fraud&&yt(i.fraud,r.id,n||r.data.value)}}return a}function fa(t,e){return void 0===e&&(e=null),ct(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,s,d,f,h,p,v,g,m,w,k,E,O,x,M,S,_,D,C,I,j,z,L,A,R;return st(this,(function(H){switch(n=e||l(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=he;r<i.length;r++)A=i[r],(o=da(A.data.target,A.event)).id>0&&((a=[A.time,A.event]).push(o.id),a.push(A.data.x),a.push(A.data.y),Na(a),N(A.event,A.data.x,A.data.y));ye();break;case 9:for(u=0,c=Kt;u<c.length;u++)A=c[u],s=da(A.data.target,A.event,A.data.text),a=[A.time,A.event],d=s.hash.join("."),a.push(s.id),a.push(A.data.x),a.push(A.data.y),a.push(A.data.eX),a.push(A.data.eY),a.push(A.data.button),a.push(A.data.reaction),a.push(A.data.context),a.push(b(A.data.text,"click",s.privacy)),a.push(y(A.data.link)),a.push(d),a.push(A.data.trust),Na(a),ga(A.time,A.event,d,A.data.x,A.data.y,A.data.reaction,A.data.context);ae();break;case 38:for(f=0,h=re;f<h.length;f++)A=h[f],a=[A.time,A.event],(j=da(A.data.target,A.event)).id>0&&(a.push(j.id),a.push(A.data.action),Na(a));oe();break;case 11:p=fe,a.push(p.width),a.push(p.height),N(t,p.width,p.height),ke(),Na(a);break;case 26:v=Ie,a.push(v.name),He(),Na(a);break;case 27:for(g=0,m=ce;g<m.length;g++)A=m[g],w=da(A.data.target,A.event,A.data.value),(a=[A.time,A.event]).push(w.id),a.push(b(A.data.value,"input",w.privacy)),Na(a);de();break;case 21:(k=Se)&&(E=da(k.start,t),O=da(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Ce(),Na(a));break;case 10:for(x=0,M=Ee;x<M.length;x++)A=M[x],(S=da(A.data.target,A.event)).id>0&&((a=[A.time,A.event]).push(S.id),a.push(A.data.x),a.push(A.data.y),Na(a),N(A.event,A.data.x,A.data.y));Ee=[];break;case 42:for(_=0,D=Vt;_<D.length;_++)A=D[_],a=[A.time,A.event],(j=da(A.data.target,A.event)).id>0&&((a=[A.time,A.event]).push(j.id),a.push(A.data.type),a.push(b(A.data.value,"change",j.privacy)),a.push(b(A.data.checksum,"checksum",j.privacy)),Na(a));Jt();break;case 39:for(C=0,I=ze;C<I.length;C++)A=I[C],a=[A.time,A.event],(j=da(A.data.target,A.event)).id>0&&(a.push(j.id),Na(a));Ae();break;case 22:for(z=0,L=pa;z<L.length;z++)A=L[z],(a=[A.time,A.event]).push(A.data.type),a.push(A.data.hash),a.push(A.data.x),a.push(A.data.y),a.push(A.data.reaction),a.push(A.data.context),Na(a,!1);va();break;case 28:R=je,a.push(R.visible),Na(a),T(n,R.visible),We()}return[2]}))}))}var ha=[],pa=[];function va(){pa=[]}function ga(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),ha.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),N(e,a,r)}var ma,ba,ya,wa,ka,Ea=0,Oa=0,xa=null,Ma=0;function Sa(){wa=!0,Ea=0,Oa=0,Ma=0,ma=[],ba=[],ya={},ka=null}function Na(t,e){if(void 0===e&&(e=!0),wa){var n=l(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Ea+=r.length;case 37:case 6:Oa+=r.length,ma.push(r);break;default:ba.push(r)}R(25);var i=function(){var t=!1===u.lean&&Ea>0?100:Ir.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-Ma>2*i&&(X(xa),xa=null),e&&null===xa&&(25!==a&&B(),xa=W(Ta,i),Ma=n,ar(Oa))}}function _a(){X(xa),Ta(!0),Ea=0,Oa=0,Ma=0,ma=[],ba=[],ya={},ka=null,wa=!1}function Ta(t){return void 0===t&&(t=!1),ct(this,void 0,void 0,(function(){var e,n,a,r,i,o,c,s;return st(this,(function(l){switch(l.label){case 0:return xa=null,(e=!1===u.lean&&Oa>0&&(Oa<1048576||Ir.sequence>0))&&Y(1,1),ia(),function(){var t=[];pa=[];for(var e=Ir.start+Ir.duration,n=Math.max(e-2e3,0),a=0,r=ha;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&pa.push(i),t.push(i))}ha=t,fa(22)}(),gt(),n=!0===t,a=JSON.stringify(Lr(n)),r="[".concat(ba.join(),"]"),i=e?"[".concat(ma.join(),"]"):"",o=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,dt(o)];case 2:s=l.sent(),l.label=3;case 3:return H(2,(c=s)?c.length:o.length),Da(o,c,Ir.sequence,n),ba=[],e&&(ma=[],Oa=0,Ea=0),[2]}}))}))}function Da(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof u.upload){var r=u.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&Ia(n)}catch(t){}if(!1===i){n in ya?ya[n].attempts++:ya[n]={data:t,attempts:1};var o=new XMLHttpRequest;o.open("POST",r),null!==n&&(o.onreadystatechange=function(){Hr(Ca)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(u.upload){(0,u.upload)(t),Ia(n)}}function Ca(t,e){var n=ya[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?rr(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),Da(n.data,null,e)):(ka={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&er(2),200===t.status&&t.responseText&&function(t){var e=t&&t.length>0?t.split(" "):[""];switch(e[0]){case"END":rr(6);break;case"UPGRADE":tt("Auto");break;case"ACTION":u.action&&e.length>1&&u.action(e[1])}}(t.responseText),0===t.status&&(Da(n.data,null,e,!0),rr(3)),t.status>=200&&t.status<=208&&Ia(e),delete ya[e]))}function Ia(t){1===t&&Or()}var ja,za={};function La(t){var e=t.error||t;return e.message in za||(za[e.message]=0),za[e.message]++>=5||e&&e.message&&(ja={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Aa(31)),!0}function Aa(t){return ct(this,void 0,void 0,(function(){var e;return st(this,(function(n){switch(e=[l(),t],t){case 31:e.push(ja.message),e.push(ja.line),e.push(ja.column),e.push(ja.stack),e.push(y(ja.source)),Na(e);break;case 33:Ra&&(e.push(Ra.code),e.push(Ra.name),e.push(Ra.message),e.push(Ra.stack),e.push(Ra.severity),Na(e,!1));break;case 41:mt&&(e.push(mt.id),e.push(mt.target),e.push(mt.checksum),Na(e,!1))}return[2]}))}))}var Ra,Ha={};function Ya(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in Ha&&Ha[t].indexOf(i)>=0||(Ra={code:t,name:n,message:a,stack:r,severity:e},t in Ha?Ha[t].push(i):Ha[t]=[i],Aa(33))}var Wa,Xa={},qa=[],Pa={},Ua={},Ba=[];function Va(){try{var t=u.extract;if(!t)return;for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1];switch(n){case 0:var r=t[e+2];Pa[a]=Qa(r);break;case 1:break;case 2:var i=t[e+2];Ua[a]=i;break;case 3:Ba=t[e+2]}}}catch(t){Ya(8,1,t?t.name:null)}}function Fa(t){return JSON.parse(JSON.stringify(t))}function Ja(){try{for(var t in Pa){var e=(r=$a(Fa(Pa[t])))?JSON.stringify(r).substring(0,1e4):r;e&&Za(t,e)}for(var n in Ua){var a=document.querySelector(Ua[n]);a&&Za(n,a.innerText)}}catch(t){Ya(5,1,t?t.name:null)}var r;er(40)}function Ga(){qa=[]}function Za(t,e,n){void 0===n&&(n=!1),(!(t in Xa)||t in Xa&&Xa[t]!==e||n)&&(Xa[t]=e,qa.push(t))}function Ka(){Xa={},qa=[],Pa={},Ua={}}function Qa(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function $a(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&tr(r,a.condition))n=$a(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(tr(c,a.condition)){var s=$a(t,c);s&&i.push(s)}}n=i}return n}return null}function tr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function er(t){var e=[l(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),Na(e,!1)),S();break;case 25:e.push(z.gap),Na(e);break;case 35:e.push(Wa.check),Na(e,!1);break;case 3:e.push($.key),Na(e);break;case 2:e.push(ka.sequence),e.push(ka.attempts),e.push(ka.status),Na(e,!1);break;case 24:e.push(I.key),e.push(I.value),Na(e);break;case 34:var a=Object.keys(nt);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(nt[o])}ut(),Na(e,!1)}break;case 0:var u=Object.keys(A);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],f=parseInt(d,10);e.push(f),e.push(Math.round(A[d]))}A={},Na(e,!1)}break;case 1:var h=Object.keys(cr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(cr[g])}hr(),Na(e,!1)}break;case 36:var m=Object.keys(J);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],J[w]))}K(),Na(e,!1)}break;case 40:for(var k=0,E=qa;k<E.length;k++){w=E[k];e.push(w),e.push(Xa[w])}Ga(),Na(e,!1)}}function nr(){Wa={check:0}}function ar(t){if(0===Wa.check){var e=Wa.check;e=Ir.sequence>=128?1:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Wa.check&&rr(e)}}function rr(t){Wa.check=t,Er(),vi()}function ir(){0!==Wa.check&&er(35)}function or(){Wa=null}var ur=null,cr=null;function sr(){ur={},cr={}}function lr(){ur={},cr={}}function dr(t,e){e&&(e="".concat(e),t in ur||(ur[t]=[]),ur[t].indexOf(e)<0&&(ur[t].push(e),t in cr||(cr[t]=[]),cr[t].push(e),ur[t].length>128&&rr(5)))}function fr(){er(1)}function hr(){cr={}}var pr=null,vr=[],gr=null;function mr(){gr=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=function(){var t={session:Sr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Tr("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-Nr(n[1])<18e5&&(t.session=n[0],t.count=Nr(n[2])+1,t.upgrade=Nr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=_r(),i=u.projectId||f(location.host);pr={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},u.lean=u.track&&null!==a.upgrade?0===a.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&a.upload&&a.upload.length>"https://".length?a.upload:u.upload,dr(0,e),dr(3,n),dr(1,y(location.href)),dr(2,document.referrer),dr(15,function(){var t=Sr();if(u.track&&xr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),dr(16,document.documentElement.lang),dr(17,document.dir),dr(26,"".concat(window.devicePixelRatio)),Y(0,a.ts),Y(1,0),navigator&&(dr(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;dr(22,t.platform),dr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){dr(24,t.name+"~"+t.version)})),dr(25,t.model),Y(27,t.mobile?1:0)})):dr(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var o=0,c=u.cookies;o<c.length;o++){var s=c[o],l=Tr(s);l&&at(s,l)}Mr(r)}function br(){gr=null,pr=null}function yr(t,e){void 0===e&&(e=!0),pr&&!1===e&&t(pr,!u.lean),vr.push({callback:t,wait:e})}function wr(){return pr?[pr.userId,pr.sessionId,pr.pageNum].join("."):""}function kr(){$r()&&(u.track=!0,Mr(_r(),1))}function Er(){Dr("_clsk","",0)}function Or(){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;!function(t){vr.length>0&&vr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(pr,!u.lean)}))}(n),Dr("_clsk",[pr.sessionId,t,pr.pageNum,n,e].join("|"),1)}function xr(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);(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e)&&Dr("_clck",[pr.userId,1,n.toString(36),e].join("|"),365)}function Sr(){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 Nr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function _r(){var t={id:Sr(),expiry:null,consent:0},e=Tr("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var o="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(o),document.cookie="".concat("_clsk","=").concat(o)}n.length>2&&(t.expiry=Nr(n[2],36)),n.length>3&&1===Nr(n[3])&&(t.consent=1),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}function Tr(t){if(xr(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n<e.length;n++){var a=e[n].split("=");if(a.length>1&&a[0]&&a[0].trim()===t)return a[1]}}return null}function Dr(t,e,n){if(u.track&&(navigator&&navigator.cookieEnabled||xr(document,"cookie"))){var a=new Date;a.setDate(a.getDate()+n);var r=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(e).concat(";").concat(r).concat(";path=/");try{if(null===gr){for(var o=location.hostname?location.hostname.split("."):[],c=o.length-1;c>=0;c--)if(gr=".".concat(o[c]).concat(gr||""),c<o.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(gr),Tr(t)===e))return;gr=""}}catch(t){gr=""}document.cookie=gr?"".concat(i).concat(";").concat("domain=").concat(gr):i}}var Cr,Ir=null;function jr(){var t=pr;Ir={version:d,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function zr(){Ir=null}function Lr(t){return Ir.start=Ir.start+Ir.duration,Ir.duration=l()-Ir.start,Ir.sequence++,Ir.upload=t&&"sendBeacon"in navigator?1:0,Ir.end=t?1:0,[Ir.version,Ir.sequence,Ir.start,Ir.duration,Ir.projectId,Ir.userId,Ir.sessionId,Ir.pageNum,Ir.upload,Ir.end]}function Ar(){Cr=[]}function Rr(t){if(Cr&&-1===Cr.indexOf(t.message)){var e=u.report;if(e&&e.length>0){var n={v:Ir.version,p:Ir.projectId,u:Ir.userId,s:Ir.sessionId,n:Ir.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e),a.send(JSON.stringify(n)),Cr.push(t.message)}}return t}function Hr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Rr(t)}var n=performance.now()-e;H(4,n),n>30&&(R(7),Y(6,n))}}var Yr=[];function Wr(t,e,n,a){void 0===a&&(a=!1),n=Hr(n);try{t[c("addEventListener")](e,n,a),Yr.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Xr(){for(var t=0,e=Yr;t<e.length;t++){var n=e[t];try{n.target[c("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Yr=[]}var qr=null,Pr=null,Ur=null,Br=0;function Vr(){return!(Br++>20)||(Ya(4,0),!1)}function Fr(){Br=0,Ur!==Gr()&&(vi(),window.setTimeout(Jr,250))}function Jr(){pi(),Y(29,1)}function Gr(){return location.href?location.href.replace(location.hash,""):location.href}var Zr=!1;function Kr(){Zr=!0,s=performance.now(),Tt(),Xr(),Ar(),Ur=Gr(),Br=0,Wr(window,"popstate",Fr),null===qr&&(qr=history.pushState,history.pushState=function(){qr.apply(this,arguments),$r()&&Vr()&&Fr()}),null===Pr&&(Pr=history.replaceState,history.replaceState=function(){Pr.apply(this,arguments),$r()&&Vr()&&Fr()})}function Qr(){Ur=null,Br=0,Ar(),Xr(),Tt(),s=0,Zr=!1}function $r(){return Zr}function ti(t){if(null===t||Zr)return!1;for(var e in t)e in u&&(u[e]=t[e]);return!0}function ei(){pi(),j("clarity","restart")}var ni=Object.freeze({__proto__:null,start:function(){!function(){bt=[],Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Wr(window,"error",La),za={},Ha={}},stop:function(){Ha={}}});function ai(){return ct(this,void 0,void 0,(function(){var t,e;return st(this,(function(n){switch(n.label){case 0:return t=l(),jt(e={id:wr(),cost:3}),[4,Qe(document,e,0)];case 1:return n.sent(),[4,Wt(5,e,t)];case 2:return n.sent(),zt(e),[2]}}))}))}var ri=Object.freeze({__proto__:null,start:function(){Ut(),Bt(),sa(),na=null,Qn=new WeakMap,$n={},ta=[],ea=!!window.IntersectionObserver,Cn(),function(){if($e=[],rn=[],on=null,un=0,cn={},null===en&&(en=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return $r()&&hn(this.ownerNode),en.apply(this,arguments)}),null===nn&&(nn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return $r()&&hn(this.ownerNode),nn.apply(this,arguments)}),null===an){an=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return $r()?hn(an.apply(this,arguments)):an.apply(this,arguments)}}catch(t){an=null}}}(),Dt(ai,1).then((function(){Hr(Bt)(),Hr(ia)()}))},stop:function(){sa(),Qn=null,$n={},ta=[],na&&(na.disconnect(),na=null),ea=!1,In(),function(){for(var t=0,e=$e;t<e.length;t++){var n=e[t];n&&n.disconnect()}$e=[],cn={},tn=[],rn=[],un=0,on=null}(),Ut()},hashText:qn});var ii,oi=null;function ui(){oi=null}function ci(t){oi={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){return e=l(),n=[e,t],29===t&&(n.push(oi.fetchStart),n.push(oi.connectStart),n.push(oi.connectEnd),n.push(oi.requestStart),n.push(oi.responseStart),n.push(oi.responseEnd),n.push(oi.domInteractive),n.push(oi.domComplete),n.push(oi.loadEventStart),n.push(oi.loadEventEnd),n.push(oi.redirectCount),n.push(oi.size),n.push(oi.type),n.push(oi.protocol),n.push(oi.encodedSize),n.push(oi.decodedSize),ui(),Na(n,!1)),[2]}))}))}(29)}var si=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function li(){try{ii&&ii.disconnect(),ii=new PerformanceObserver(Hr(di));for(var t=0,e=si;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),ii.observe({type:n,buffered:!0}))}}catch(t){Ya(3,1)}}function di(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":ci(a);break;case"resource":var r=a.name;dr(4,fi(r)),r!==u.upload&&r!==u.fallback||Y(28,a.duration);break;case"longtask":R(7);break;case"first-input":e&&Y(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&H(9,1e3*a.value);break;case"largest-contentful-paint":e&&Y(8,a.startTime)}}performance&&"memory"in performance&&performance.memory.usedJSHeapSize&&Y(30,Math.abs(performance.memory.usedJSHeapSize/1048576))}(t.getEntries())}function fi(t){var e=document.createElement("a");return e.href=t,e.hostname}var hi=[ni,ri,qe,Object.freeze({__proto__:null,start:function(){ui(),function(){navigator&&"connection"in navigator&&dr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Wr(window,"load",W.bind(this,li,0)):li():Ya(3,0)}()},stop:function(){ii&&ii.disconnect(),ii=null,ui()}})];function pi(t){void 0===t&&(t=null),function(){try{return!1===Zr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ti(t),Kr(),pt(),hi.forEach((function(t){return Hr(t.start)()})),null===t&&yi())}function vi(){$r()&&(hi.slice().reverse().forEach((function(t){return Hr(t.stop)()})),vt(),Qr(),void 0!==mi&&(mi[bi]=function(){(mi[bi].q=mi[bi].q||[]).push(arguments)}))}var gi=Object.freeze({__proto__:null,version:d,start:pi,pause:function(){$r()&&(j("clarity","pause"),null===Nt&&(Nt=new Promise((function(t){_t=t}))))},resume:function(){$r()&&(Nt&&(_t(),Nt=null,null===St&&Ct()),j("clarity","resume"))},stop:vi,consent:kr,event:j,identify:rt,set:at,upgrade:tt,metadata:yr,hashText:qn}),mi=window,bi="clarity";function yi(){if(void 0!==mi){if(mi[bi]&&mi[bi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=mi[bi]&&mi[bi].q||[];for(mi[bi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return gi[t].apply(gi,e)},mi[bi].v=d;t.length>0;)mi[bi].apply(mi,t.shift())}}yi()}();
1
+ !function(){"use strict";var t=Object.freeze({__proto__:null,get add(){return Rn},get get(){return Vn},get getId(){return zn},get getNode(){return Un},get getValue(){return Bn},get has(){return Jn},get hashText(){return Pn},get iframe(){return Wn},get lookup(){return Fn},get parse(){return An},get sameorigin(){return Yn},get start(){return In},get stop(){return jn},get update(){return Hn},get updates(){return Gn}}),e=Object.freeze({__proto__:null,get queue(){return _a},get start(){return Na},get stop(){return Ta},get track(){return Ea}}),n=Object.freeze({__proto__:null,get clone(){return Ja},get compute(){return Ga},get data(){return qa},get fragments(){return Va},get keys(){return Pa},get reset(){return Za},get start(){return Fa},get stop(){return Qa},get update(){return Ka}}),a=Object.freeze({__proto__:null,get check(){return rr},get compute(){return or},get data(){return Xa},get start(){return ar},get stop(){return ur},get trigger(){return ir}}),r=Object.freeze({__proto__:null,get compute(){return hr},get data(){return cr},get log(){return fr},get reset(){return pr},get start(){return lr},get stop(){return dr},get updates(){return sr}}),i=Object.freeze({__proto__:null,get callbacks(){return gr},get clear(){return Or},get consent(){return Er},get data(){return vr},get id(){return kr},get metadata(){return wr},get save(){return xr},get start(){return br},get stop(){return yr}}),o=Object.freeze({__proto__:null,get data(){return jr},get envelope(){return zr},get start(){return Lr},get stop(){return Ar}}),u={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],extract:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null};function c(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var s=0;function l(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now();return Math.max(Math.round(e-s),0)}var d="0.7.3";function f(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var h=/\S/gi,p=!0,v=null,g=null,m=null;function b(t,e,n,a){if(void 0===a&&(a=!1),t)switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;if(p&&null===v)try{v=new RegExp("\\p{N}","gu"),g=new RegExp("\\p{L}","gu"),m=new RegExp("\\p{Sc}","gu")}catch(t){p=!1}for(var u=0;u<t.length;u++){var c=t.charCodeAt(u);if(a=a||c>=48&&c<=57,r=r||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(a||r){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=p&&null!==m?s.match(m)?s:s.replace(g,"▪").replace(v,"▫"):k(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(a=!1,r=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return E(t)}return t;case 2:case 3:switch(e){case"*T":return a?w(t):k(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return E(t);case"placeholder":return k(t)}break;case 4:switch(e){case"*T":return a?w(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}}return t}function y(t){var e=u.drop;if(e&&e.length>0&&t&&t.indexOf("?")>0){var n=t.split("?"),a=n[0],r=n[1];return a+"?"+r.split("&").map((function(t){return e.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function w(t){var e=t.trim();if(e.length>0){var n=e[0],a=t.indexOf(n),r=t.substr(0,a),i=t.substr(a+e.length);return"".concat(r).concat(e.length.toString(36)).concat(i)}return t}function k(t){return t.replace(h,"•")}function E(t){for(var e=5*(Math.floor(t.length/5)+1),n="",a=0;a<e;a++)n+=a>0&&a%5==0?" ":"•";return n}var O=null,x=null,M=!1;function S(){M&&(O={time:l(),event:4,data:{visible:x.visible,docWidth:x.docWidth,docHeight:x.docHeight,screenWidth:x.screenWidth,screenHeight:x.screenHeight,scrollX:x.scrollX,scrollY:x.scrollY,pointerX:x.pointerX,pointerY:x.pointerY,activityTime:x.activityTime}}),x=x||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0}}function N(t,e,n){switch(t){case 8:x.docWidth=e,x.docHeight=n;break;case 11:x.screenWidth=e,x.screenHeight=n;break;case 10:x.scrollX=e,x.scrollY=n;break;default:x.pointerX=e,x.pointerY=n}M=!0}function _(t){x.activityTime=t}function T(t,e){x.visible="visible"===e?1:0,x.visible||_(t),M=!0}function D(){M&&nr(4)}var C=Object.freeze({__proto__:null,activity:_,compute:D,reset:S,start:function(){M=!1,S()},get state(){return O},stop:function(){S()},track:N,visibility:T}),I=null;function j(t,e){$r()&&t&&e&&"string"==typeof t&&"string"==typeof e&&t.length<255&&e.length<255&&(I={key:t,value:e},nr(24))}var L,A=null,z=null;function R(t){t in A||(A[t]=0),t in z||(z[t]=0),A[t]++,z[t]++}function H(t,e){null!==e&&(t in A||(A[t]=0),t in z||(z[t]=0),A[t]+=e,z[t]+=e)}function Y(t,e){null!==e&&!1===isNaN(e)&&(t in A||(A[t]=0),(e>A[t]||0===A[t])&&(z[t]=e,A[t]=e))}function W(t,e,n){return window.setTimeout(Hr(t),e,n)}function X(t){return window.clearTimeout(t)}var q=0,P=0,U=null;function B(){U&&X(U),U=W(V,P),q=l()}function V(){var t=l();L={gap:t-q},nr(25),L.gap<3e5?U=W(V,P):Zr&&(j("clarity","suspend"),vi(),["mousemove","touchstart"].forEach((function(t){return Wr(document,t,ei)})),["resize","scroll","pageshow"].forEach((function(t){return Wr(window,t,ei)})))}var F=Object.freeze({__proto__:null,get data(){return L},reset:B,start:function(){P=6e4,q=0},stop:function(){X(U),q=0,P=0}}),J=null;function G(t,e){if(t in J){var n=J[t],a=n[n.length-1];e-a[0]>100?J[t].push([e,0]):a[1]=e-a[0]}else J[t]=[[e,0]]}function Z(){nr(36)}function K(){J={}}var Q=Object.freeze({__proto__:null,compute:Z,get data(){return J},reset:K,start:function(){J={}},stop:function(){J={}},track:G}),$=null;function tt(t){$r()&&u.lean&&(u.lean=!1,$={key:t},xr(),u.upgrade&&u.upgrade(t),nr(3))}var et=Object.freeze({__proto__:null,get data(){return $},start:function(){!u.lean&&u.upgrade&&u.upgrade("Config"),$=null},stop:function(){$=null},upgrade:tt}),nt=null;function at(t,e){it(t,"string"==typeof e?[e]:e)}function rt(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null),it("userId",[t]),it("sessionId",[e]),it("pageId",[n])}function it(t,e){if($r()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in nt?nt[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);nt[t]=n}}function ot(){nr(34)}function ut(){nt={}}function ct(t,e,n,a){return new(n||(n=Promise))((function(r,i){function o(t){try{c(a.next(t))}catch(t){i(t)}}function u(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((a=a.apply(t,e||[])).next())}))}function st(t,e){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&u[0]?a.return:u[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;switch(a=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){o.label=u[1];break}if(6===u[0]&&o.label<r[1]){o.label=r[1],r=u;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(u);break}r[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],a=0}finally{n=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}var lt="CompressionStream"in window;function dt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),lt?(e=new ReadableStream({start:function(e){return ct(this,void 0,void 0,(function(){return st(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,a.sent()]))];case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2,null]}}))}))}function ft(t){return ct(this,void 0,void 0,(function(){var e,n,a,r,i;return st(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],a=!1,r=[],o.label=1;case 1:return a?[3,3]:[4,e.read()];case 2:return i=o.sent(),a=i.done,r=i.value,a?[2,n]:(n.push.apply(n,r),[3,1]);case 3:return[2,n]}}))}))}var ht=[C,r,Object.freeze({__proto__:null,compute:ot,get data(){return nt},identify:rt,reset:ut,set:at,start:function(){ut()},stop:function(){ut()}}),a,Q,i,o,e,F,et,n];function pt(){A={},z={},R(5),ht.forEach((function(t){return Hr(t.start)()}))}function vt(){ht.slice().reverse().forEach((function(t){return Hr(t.stop)()})),A={},z={}}function gt(){ot(),D(),hr(),nr(0),Z(),or(),Ga()}var mt,bt=[];function yt(t,e,n){u.fraud&&null!==t&&n&&n.length>=5&&(mt={id:t,target:e,checksum:f(n,24)},bt.indexOf(mt.checksum)<0&&(bt.push(mt.checksum),Ra(41)))}var wt="load,active,fixed,visible,focus,show,collaps,animat".split(","),kt={};function Et(t,e){var n=t.attributes,a=t.prefix?t.prefix[e]:null,r=0===e?"".concat("~").concat(t.position-1):":nth-of-type(".concat(t.position,")");switch(t.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===a)return"";a="".concat(a).concat(">"),t.tag=0===t.tag.indexOf("svg:")?t.tag.substr("svg:".length):t.tag;var i="".concat(a).concat(t.tag).concat(r),o="id"in n&&n.id.length>0?n.id:null,u="BODY"!==t.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(t){return Ot(t)})).join("."):null;if(u&&u.length>0)if(0===e){var c="".concat(function(t){for(var e=t.split(">"),n=0;n<e.length;n++){var a=e[n].indexOf("~"),r=e[n].indexOf(".");e[n]=e[n].substring(0,r>0?r:a>0?a:e[n].length)}return e.join(">")}(a)).concat(t.tag).concat(".").concat(u);c in kt||(kt[c]=[]),kt[c].indexOf(t.id)<0&&kt[c].push(t.id),i="".concat(c).concat("~").concat(kt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&Ot(o)?"".concat(function(t){var e=t.lastIndexOf("*S"),n=t.lastIndexOf("".concat("iframe:").concat("HTML")),a=Math.max(e,n);if(a<0)return"";return t.substring(0,t.indexOf(">",a)+1)}(a)).concat("#").concat(o):i,i}}function Ot(t){if(!t)return!1;if(wt.some((function(e){return t.toLowerCase().indexOf(e)>=0})))return!1;for(var e=0;e<t.length;e++){var n=t.charCodeAt(e);if(n>=48&&n<=57)return!1}return!0}var xt=5e3,Mt={},St=[],Nt=null,_t=null,Tt=null;function Dt(){Mt={},St=[],Nt=null,_t=null}function Ct(t,e){return void 0===e&&(e=0),ct(this,void 0,void 0,(function(){var n,a,r;return st(this,(function(i){for(n=0,a=St;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){St[1===e?"unshift":"push"]({task:t,resolve:n,id:kr()})})),null===Nt&&null===_t&&It(),[2,r]}))}))}function It(){var t=St.shift();t&&(Nt=t,t.task().then((function(){t.id===kr()&&(t.resolve(),Nt=null,It())})).catch((function(e){t.id===kr()&&(e&&Wa(0,1,e.name,e.message,e.stack),Nt=null,It())})))}function jt(t){var e=Rt(t);return e in Mt?performance.now()-Mt[e].start>Mt[e].yield?0:1:2}function Lt(t){Mt[Rt(t)]={start:performance.now(),calls:0,yield:30}}function At(t){var e=performance.now(),n=Rt(t),a=e-Mt[n].start;H(t.cost,a),R(5),Mt[n].calls>0&&H(4,a)}function zt(t){return ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){switch(a.label){case 0:return(e=Rt(t))in Mt?(At(t),n=Mt[e],[4,Ht()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Rt(t);if(Mt&&Mt[e]){var n=Mt[e].calls,a=Mt[e].yield;Lt(t),Mt[e].calls=n+1,Mt[e].yield=a}}(t),a.label=2;case 2:return[2,e in Mt?1:2]}}))}))}function Rt(t){return"".concat(t.id,".").concat(t.cost)}function Ht(){return ct(this,void 0,void 0,(function(){return st(this,(function(t){switch(t.label){case 0:return _t?[4,_t]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Wt(t,{timeout:xt})}))]}}))}))}var Yt,Wt=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),o=r-n,u=r-a.data;if(u>30&&o<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var c=o>e.timeout;t({didTimeout:c,timeRemaining:function(){return c?30:Math.max(0,30-u)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Xt(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),ct(this,void 0,void 0,(function(){var a,r,i,o,c,s,d,f,h,p,v,g,m,y,w,k,E,O,x,M,S,T;return st(this,(function(D){switch(D.label){case 0:switch(a=n||l(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 5:case 6:return[3,3]}return[3,10];case 1:return i=Yt,r.push(i.width),r.push(i.height),N(t,i.width,i.height),_a(r),[3,10];case 2:for(o=0,c=Qn;o<c.length;o++)s=c[o],(r=[s.time,7]).push(s.data.id),r.push(s.data.interaction),r.push(s.data.visibility),r.push(s.data.name),_a(r);return la(),[3,10];case 3:if(2===jt(e))return[3,10];if(!((d=Gn()).length>0))return[3,9];f=0,h=d,D.label=4;case 4:return f<h.length?(p=h[f],0!==(v=jt(e))?[3,6]:[4,zt(e)]):[3,8];case 5:v=D.sent(),D.label=6;case 6:if(2===v)return[3,8];for(g=p.data,m=p.metadata.active,y=p.metadata.suspend,w=p.metadata.privacy,k=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(p),E=0,O=m?["tag","attributes","value"]:["tag"];E<O.length;E++)if(g[x=O[E]])switch(x){case"tag":M=qt(p),S=k?-1:1,r.push(p.id*S),p.parent&&m&&r.push(p.parent),p.previous&&m&&r.push(p.previous),r.push(y?"*M":g[x]),M&&2===M.length&&r.push("".concat("#").concat(Pt(M[0]),".").concat(Pt(M[1])));break;case"attributes":for(T in g[x])void 0!==g[x][T]&&r.push(Ut(T,g[x][T],w));break;case"value":yt(p.metadata.fraud,p.id,g[x]),r.push(b(g[x],g.tag,w,k))}D.label=7;case 7:return f++,[3,4];case 8:6===t&&_(a),_a(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!u.lean),D.label=9;case 9:return[3,10];case 10:return[2]}}))}))}function qt(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=Un(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Pt(t){return t.toString(36)}function Ut(t,e,n){return"".concat(t,"=").concat(b(e,t,n))}function Bt(){Yt=null}function Vt(){var t=document.body,e=document.documentElement,n=t?t.clientWidth:null,a=t?t.scrollWidth:null,r=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,a,r,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,f=e?e.clientHeight:null,h=e?e.scrollHeight:null,p=e?e.offsetHeight:null,v=Math.max(s,l,d,f,h,p);null!==Yt&&c===Yt.width&&v===Yt.height||null===c||null===v||(Yt={width:c,height:v},Xt(8))}var Ft=[];function Jt(t){var e=da(t);if(e){var n=e.value,a=n&&n.length>=5&&u.fraud?f(n,24):"";Ft.push({time:l(t),event:42,data:{target:da(t),type:e.type,value:n,checksum:a}}),Ct(ha.bind(this,42))}}function Gt(){Ft=[]}function Zt(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Wn(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}var Kt=["input","textarea","radio","button","canvas"],Qt=[];function $t(t){Wr(t,"click",te.bind(this,9,t),!0)}function te(t,e,n){var a=Wn(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Zt(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=da(n),s=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Qt.push({time:l(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:ne(c),context:ae(s),text:ee(c),link:s?s.href:null,hash:null,trust:n.isTrusted?1:0}}),Ct(ha.bind(this,t)))}function ee(t){var e=null;if(t){var n=t.textContent||t.value||t.alt;n&&(e=n.trim().replace(/\s+/g," ").substr(0,25))}return e}function ne(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(Kt.indexOf(e)>=0)return 0}return 1}function ae(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 re(){Qt=[]}var ie=[];function oe(t,e){ie.push({time:l(e),event:38,data:{target:da(e),action:t}}),Ct(ha.bind(this,38))}function ue(){ie=[]}var ce=null,se=[];function le(t){var e=da(t),n=Vn(e);if(e&&e.type&&n){var a=e.value;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var r={target:e,value:a};se.length>0&&se[se.length-1].data.target===r.target&&se.pop(),se.push({time:l(t),event:27,data:r}),X(ce),ce=W(de,1e3,27)}}function de(t){Ct(ha.bind(this,t))}function fe(){se=[]}var he,pe=[],ve=null;function ge(t,e,n){var a=Wn(e),r=a?a.contentDocument.documentElement:document.documentElement,i="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+r.scrollLeft):null,o="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+r.scrollTop):null;if(a){var u=Zt(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&be({time:l(n),event:t,data:{target:da(n),x:i,y:o}})}function me(t,e,n){var a=Wn(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=l(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],s="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;s=s&&a?s+Math.round(a.offsetLeft):s,d=d&&a?d+Math.round(a.offsetTop):d,null!==s&&null!==d&&be({time:o,event:t,data:{target:da(n),x:s,y:d}})}}function be(t){switch(t.event){case 12:case 15:case 19:var e=pe.length,n=e>1?pe[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&pe.pop(),pe.push(t),X(ve),ve=W(ye,500,t.event);break;default:pe.push(t),ye(t.event)}}function ye(t){Ct(ha.bind(this,t))}function we(){pe=[]}function ke(){var t=document.documentElement;he={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},ha(11)}function Ee(){he=null}var Oe=[],xe=null;function Me(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?da(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Wn(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u={time:l(t),event:10,data:{target:a,x:i,y:o}};if((null!==t||0!==i||0!==o)&&null!==i&&null!==o){var c=Oe.length,s=c>1?Oe[c-2]:null;s&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(s,u)&&Oe.pop(),Oe.push(u),X(xe),xe=W(Se,500,10)}}function Se(t){Ct(ha.bind(this,t))}var Ne=null,_e=null,Te=null;function De(t){var e=(t.nodeType===Node.DOCUMENT_NODE?t:document).getSelection();if(null!==e&&!(null===e.anchorNode&&null===e.focusNode||e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset)){var n=Ne.start?Ne.start:null;null!==_e&&null!==Ne.start&&n!==e.anchorNode&&(X(Te),Ce(21)),Ne={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},_e=e,X(Te),Te=W(Ce,500,21)}}function Ce(t){Ct(ha.bind(this,t))}function Ie(){_e=null,Ne={start:0,startOffset:0,end:0,endOffset:0}}var je,Le,Ae=[];function ze(t){Ae.push({time:l(t),event:39,data:{target:da(t)}}),Ct(ha.bind(this,39))}function Re(){Ae=[]}function He(t){je={name:t.type},ha(26,l(t)),vi()}function Ye(){je=null}function We(t){void 0===t&&(t=null),Le={visible:"visibilityState"in document?document.visibilityState:"default"},ha(28,l(t))}function Xe(){Le=null}function qe(t){!function(t){var e=Wn(t);Wr(e?e.contentWindow:t===document?window:t,"scroll",Me,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&($t(t),function(t){Wr(t,"cut",oe.bind(this,0),!0),Wr(t,"copy",oe.bind(this,1),!0),Wr(t,"paste",oe.bind(this,2),!0)}(t),function(t){Wr(t,"mousedown",ge.bind(this,13,t),!0),Wr(t,"mouseup",ge.bind(this,14,t),!0),Wr(t,"mousemove",ge.bind(this,12,t),!0),Wr(t,"wheel",ge.bind(this,15,t),!0),Wr(t,"dblclick",ge.bind(this,16,t),!0),Wr(t,"touchstart",me.bind(this,17,t),!0),Wr(t,"touchend",me.bind(this,18,t),!0),Wr(t,"touchmove",me.bind(this,19,t),!0),Wr(t,"touchcancel",me.bind(this,20,t),!0)}(t),function(t){Wr(t,"input",le,!0)}(t),function(t){Wr(t,"selectstart",De.bind(this,t),!0),Wr(t,"selectionchange",De.bind(this,t),!0)}(t),function(t){Wr(t,"change",Jt,!0)}(t),function(t){Wr(t,"submit",ze,!0)}(t))}var Pe=Object.freeze({__proto__:null,observe:qe,start:function(){pa=[],ga(),re(),ue(),we(),fe(),Wr(window,"resize",ke),ke(),Wr(document,"visibilitychange",We),We(),Oe=[],Me(),Ie(),Gt(),Re(),Wr(window,"pagehide",He)},stop:function(){pa=[],ga(),re(),ue(),X(ve),pe.length>0&&ye(pe[pe.length-1].event),X(ce),fe(),Ee(),Xe(),X(xe),Oe=[],Ie(),X(Te),Gt(),Re(),Ye()}}),Ue=/[^0-9\.]/g;function Be(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var a=n[e],r=t[a];if("@type"===a&&"string"==typeof r)switch(r=(r=r.toLowerCase()).indexOf("article")>=0||r.indexOf("posting")>=0?"article":r){case"article":case"recipe":fr(5,t[a]),fr(8,t.creator),fr(18,t.headline);break;case"product":fr(5,t[a]),fr(10,t.name),fr(12,t.sku),t.brand&&fr(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(Y(11,Ve(t.ratingValue,100)),Y(18,Ve(t.bestRating)),Y(19,Ve(t.worstRating))),Y(12,Ve(t.ratingCount)),Y(17,Ve(t.reviewCount));break;case"person":fr(8,t.name);break;case"offer":fr(7,t.availability),fr(14,t.itemCondition),fr(13,t.priceCurrency),fr(12,t.sku),Y(13,Ve(t.price));break;case"brand":fr(6,t.name)}null!==r&&"object"==typeof r&&Be(r)}}function Ve(t,e){if(void 0===e&&(e=1),null!==t)switch(typeof t){case"number":return Math.round(t*e);case"string":return Math.round(parseFloat(t.replace(Ue,""))*e)}return null}var Fe=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last"],Je=/[\r\n]+/g;function Ge(e,n){var a,r=null;if(2===n&&!1===Jn(e))return r;0!==n&&e.nodeType===Node.TEXT_NODE&&e.parentElement&&"STYLE"===e.parentElement.tagName&&(e=e.parentNode);var i=!1===Jn(e)?"add":"update",o=e.parentElement?e.parentElement:null,u=e.ownerDocument!==document;switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&e.parentNode?Wn(e.parentNode):o;var c=e,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name,publicId:c.publicId,systemId:c.systemId}};t[i](e,o,s,n);break;case Node.DOCUMENT_NODE:e===document&&An(document),Ze(e);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=e;if(l.host)if(An(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){Ze(l);for(var d="",f=0,h=("adoptedStyleSheets"in l?l.adoptedStyleSheets:[]);f<h.length;f++){d+=Qe(h[f])}var p={tag:"*S",attributes:{style:d}};t[i](e,l.host,p,n)}else t[i](e,l.host,{tag:"*P",attributes:{}},n);break;case Node.TEXT_NODE:if(o=o||e.parentNode,"update"===i||o&&Jn(o)&&"STYLE"!==o.tagName){var v={tag:"*T",value:e.nodeValue};t[i](e,o,v,n)}break;case Node.ELEMENT_NODE:var g=e,m=g.tagName,b=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;Fe.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(g);switch(o=e.parentElement?e.parentElement:e.parentNode?e.parentNode:null,"http://www.w3.org/2000/svg"===g.namespaceURI&&(m="svg:"+m),m){case"HTML":o=u&&o?Wn(o):null;var y={tag:(u?"iframe:":"")+m,attributes:b};t[i](e,o,y,n);break;case"SCRIPT":if("type"in b&&"application/ld+json"===b.type)try{Be(JSON.parse(g.text.replace(Je,"")))}catch(t){}break;case"NOSCRIPT":break;case"META":var w="property"in b?"property":"name"in b?"name":null;if(w&&"content"in b){var k=b.content;switch(b[w]){case"og:title":fr(20,k);break;case"og:type":fr(19,k);break;case"generator":fr(21,k)}}break;case"HEAD":var E={tag:m,attributes:b},O=u&&(null===(a=e.ownerDocument)||void 0===a?void 0:a.location)?e.ownerDocument.location:location;E.attributes["*B"]=O.protocol+"//"+O.hostname+O.pathname,t[i](e,o,E,n);break;case"BASE":var x=Vn(e.parentElement);if(x){var M=document.createElement("a");M.href=b.href,x.data.attributes["*B"]=M.protocol+"//"+M.hostname+M.pathname}break;case"STYLE":var S={tag:m,attributes:b,value:Ke(g)};t[i](e,o,S,n);break;case"IFRAME":var N=e,_={tag:m,attributes:b};Yn(N)&&(!function(t){!1===Jn(t)&&Wr(t,"load",vn.bind(this,t,"childList"),!0)}(N),_.attributes["*O"]="true",N.contentDocument&&N.contentWindow&&"loading"!==N.contentDocument.readyState&&(r=N.contentDocument)),t[i](e,o,_,n);break;default:var T={tag:m,attributes:b};g.shadowRoot&&(r=g.shadowRoot),t[i](e,o,T,n)}}return r}function Ze(t){Jn(t)||(!function(t){try{var e=c("MutationObserver"),n=e in window?new window[e](Hr(ln)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),tn.push(n))}catch(t){Wa(2,0,t?t.name:null)}}(t),qe(t))}function Ke(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0)&&(e=Qe(t.sheet)),e}function Qe(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Wa(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}function $e(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i,o,u;return st(this,(function(c){switch(c.label){case 0:a=[t],c.label=1;case 1:if(!(a.length>0))return[3,4];for(r=a.shift(),i=r.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(o=jt(e))?[3,3]:[4,zt(e)];case 2:o=c.sent(),c.label=3;case 3:return 2===o?[3,4]:((u=Ge(r,n))&&a.push(u),[3,1]);case 4:return[2]}}))}))}var tn=[],en=[],nn=null,an=null,rn=null,on=[],un=null,cn=null,sn={};function ln(t){var e=l();G(6,e),en.push({time:e,mutations:t}),Ct(dn,1).then((function(){W(Vt),Hr(oa)()}))}function dn(){return ct(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,s;return st(this,(function(d){switch(d.label){case 0:Lt(t={id:kr(),cost:3}),d.label=1;case 1:if(!(en.length>0))return[3,8];e=en.shift(),n=l(),a=0,r=e.mutations,d.label=2;case 2:return a<r.length?(i=r[a],0!==(o=jt(t))?[3,4]:[4,zt(t)]):[3,6];case 3:o=d.sent(),d.label=4;case 4:if(2===o)return[3,6];switch(u=i.target,c=function(t,e,n){var a=t.target?Vn(t.target.parentNode):null;if(a&&"HTML"!==a.data.tag){var r=l()>cn,i=Vn(t.target),o=i&&i.selector?i.selector.join():t.target.nodeName,u=[a.selector?a.selector.join():"",o,t.attributeName,fn(t.addedNodes),fn(t.removedNodes)].join();sn[u]=u in sn?sn[u]:[0,n];var c=sn[u];if(!1===r&&c[0]>=10&&hn(c[2],2,e),c[0]=r?c[1]===n?c[0]:c[0]+1:1,c[1]=n,10===c[0])return c[2]=t.removedNodes,"suspend";if(c[0]>10)return""}return t.type}(i,t,n),c&&u&&u.ownerDocument&&An(u.ownerDocument),c&&u&&u.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&u.host&&An(u),c){case"attributes":Ge(u,3);break;case"characterData":Ge(u,4);break;case"childList":hn(i.addedNodes,1,t),hn(i.removedNodes,2,t);break;case"suspend":(s=Vn(u))&&(s.metadata.suspend=!0)}d.label=5;case 5:return a++,[3,2];case 6:return[4,Xt(6,t,e.time)];case 7:return d.sent(),[3,1];case 8:return At(t),[2]}}))}))}function fn(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function hn(t,e,n){return ct(this,void 0,void 0,(function(){var a,r,i;return st(this,(function(o){switch(o.label){case 0:a=t?t.length:0,r=0,o.label=1;case 1:return r<a?1!==e?[3,2]:($e(t[r],n,e),[3,5]):[3,6];case 2:return 0!==(i=jt(n))?[3,4]:[4,zt(n)];case 3:i=o.sent(),o.label=4;case 4:if(2===i)return[3,6];Ge(t[r],e),o.label=5;case 5:return r++,[3,1];case 6:return[2]}}))}))}function pn(t,e){return void 0===e&&(e=!1),on.indexOf(t)<0&&on.push(t),un&&X(un),un=W((function(){!function(t){for(var e=0,n=on;e<n.length;e++){var a=n[e];if(a){var r=a.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(r&&Jn(a))continue;vn(a,r||t?"childList":"characterData")}}on=[]}(e)}),33),t}function vn(t,e){Hr(ln)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}var gn=1,mn=[],bn=[],yn=[],wn={},kn=[],En=[],On={},xn=[],Mn=[],Sn=[],Nn=[],_n=null,Tn=null,Dn=null,Cn=null;function In(){Ln(),An(document,!0)}function jn(){Ln()}function Ln(){gn=1,mn=[],bn=[],yn=[],wn={},kn=[],En=[],xn="address,password,contact".split(","),Mn="password,secret,pass,social,ssn,code,hidden".split(","),Sn="radio,checkbox,range,button,reset,submit".split(","),Nn="INPUT,SELECT,TEXTAREA".split(","),_n=new WeakMap,Tn=new WeakMap,Dn=new WeakMap,Cn=new WeakMap,kt={}}function An(t,e){void 0===e&&(e=!1);try{e&&u.unmask.forEach((function(t){return t.indexOf("!")<0?En.push(t):kn.push(t.substr(1))})),"querySelectorAll"in t&&(u.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return ra(t,"".concat(e[0]))}))})),u.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Dn.set(t,3)}))})),u.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Cn.set(t,e[0])}))})),En.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Dn.set(t,0)}))})))}catch(t){Wa(5,1,t?t.name:null)}}function zn(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=_n.get(t);return!n&&e&&(n=gn++,_n.set(t,n)),n||null}function Rn(t,e,n,a){var r,i=zn(t,!0),o=e?zn(e):null,c=Zn(t),s=null,l=ia(t)?i:null,d=null,f=Cn.has(t)?Cn.get(t):null,h=u.content?1:3;o>=0&&bn[o]&&((s=bn[o]).children.push(i),l=null===l?s.region:l,d=s.fragment,f=null===f?s.metadata.fraud:f,h=s.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(ra(t,n.attributes["data-clarity-region"]),l=i),mn[i]=t,bn[i]={id:i,parent:o,previous:c,children:[],data:n,selector:null,hash:null,region:l,metadata:{active:!0,suspend:!1,privacy:h,position:null,fraud:f,size:null},fragment:d},function(t,e,n){var a=e.data,r=e.metadata,i=r.privacy,o=a.attributes||{},u=a.tag.toUpperCase();switch(!0){case Nn.indexOf(u)>=0:var c=o.type,s="";Object.keys(o).forEach((function(t){return s+=o[t].toLowerCase()}));var l=Mn.some((function(t){return s.indexOf(t)>=0}));r.privacy="INPUT"===u&&Sn.indexOf(c)>=0?i:l?4:2;break;case"data-clarity-mask"in o:r.privacy=3;break;case"data-clarity-unmask"in o:r.privacy=0;break;case Dn.has(t):r.privacy=Dn.get(t);break;case Cn.has(t):r.privacy=2;break;case"*T"===u:var d=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"",h=["STYLE","TITLE","svg:style"];r.privacy=h.includes(d)||kn.some((function(t){return f.indexOf(t)>=0}))?0:i;break;case 1===i:r.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(o.class,xn,r)}}(t,bn[i],s),qn(bn[i]),"IMG"===(r=bn[i]).data.tag&&3===r.metadata.privacy&&(r.metadata.size=[]),Kn(i,a,bn[i].fragment)}function Hn(t,e,n,a){var r=zn(t),i=e?zn(e):null,o=Zn(t),u=!1,c=!1;if(r in bn){var s=bn[r];if(s.metadata.active=!0,s.previous!==o&&(u=!0,s.previous=o),s.parent!==i){u=!0;var l=s.parent;if(s.parent=i,null!==i&&i>=0){var d=null===o?0:bn[i].children.indexOf(o)+1;bn[i].children.splice(d,0,r),s.region=ia(t)?r:bn[i].region}else!function(t,e){if(t in bn){var n=bn[t];n.metadata.active=!1,n.parent=null,Kn(t,e)}}(r,a);if(null!==l&&l>=0){var f=bn[l].children.indexOf(r);f>=0&&bn[l].children.splice(f,1)}c=!0}for(var h in n)Xn(s.data,n,h)&&(u=!0,s.data[h]=n[h]);s.fragment&&On[s.fragment]&&(u=!0),qn(s),Kn(r,a,bn[r].fragment,u,c)}}function Yn(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Tn.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Wn(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Tn.has(e)?Tn.get(e):null}function Xn(t,e,n){if("object"==typeof t[n]&&"object"==typeof e[n]){for(var a in t[n])if(t[n][a]!==e[n][a])return!0;for(var a in e[n])if(e[n][a]!==t[n][a])return!0;return!1}return t[n]!==e[n]}function qn(t){var e=t.parent&&t.parent in bn?bn[t.parent]:null,n=e?e.selector:null,a=t.data,r=function(t,e){e.metadata.position=1;for(var n=t?t.children.indexOf(e.id):-1;n-- >0;){var a=bn[t.children[n]];if(e.data.tag===a.data.tag){e.metadata.position=a.metadata.position+1;break}}return e.metadata.position}(e,t),i={id:t.id,tag:a.tag,prefix:n,position:r,attributes:a.attributes};t.selector=[Et(i,0),Et(i,1)],t.hash=t.selector.map((function(t){return t?f(t):null})),t.hash.forEach((function(e){return wn[e]=t.id})),t.hash.some((function(t){return-1!==Va.indexOf(t)}))&&(t.fragment=t.id)}function Pn(t){var e=Un(Fn(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function Un(t){return t in mn?mn[t]:null}function Bn(t){return t in bn?bn[t]:null}function Vn(t){var e=zn(t);return e in bn?bn[e]:null}function Fn(t){return t in wn?wn[t]:null}function Jn(t){return zn(t)in mn}function Gn(){for(var t=[],e=0,n=yn;e<n.length;e++){(a=n[e])in bn&&t.push(bn[a])}for(var a in yn=[],On)Ka(On[a],a,!0);return On={},t}function Zn(t){for(var e=null;null===e&&t.previousSibling;)e=zn(t.previousSibling),t=t.previousSibling;return e}function Kn(t,e,n,a,r){if(void 0===n&&(n=null),void 0===a&&(a=!0),void 0===r&&(r=!1),n&&!On[n]){var i=Un(n),o=Bn(n);i&&o&&(pn(i,!0),o.hash.forEach((function(t){-1!==Va.indexOf(t)&&(On[n]=t)})))}var u=yn.indexOf(t);u>=0&&1===e&&r?(yn.splice(u,1),yn.push(t)):-1===u&&a&&yn.push(t)}var Qn=[],$n=null,ta={},ea=[],na=!1,aa=null;function ra(t,e){!1===$n.has(t)&&($n.set(t,e),(aa=null===aa&&na?new IntersectionObserver(ua,{threshold:[0,.2,.4,.6,.8,1]}):aa)&&t&&t.nodeType===Node.ELEMENT_NODE&&aa.observe(t))}function ia(t){return $n&&$n.has(t)}function oa(){for(var t=[],e=0,n=ea;e<n.length;e++){var a=n[e],r=zn(a.node);r in ta||(r?(a.data.id=r,ta[r]=a.data,Qn.push(sa(a.data))):t.push(a))}ea=t,Qn.length>0&&Xt(7)}function ua(t){for(var e=0,n=t;e<n.length;e++){var a=n[e],r=a.target,i=a.boundingClientRect,o=a.intersectionRect,u=a.rootBounds;if($n.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?zn(r):null,s=c in ta?ta[c]:{id:c,name:$n.get(r),interaction:16,visibility:0},l=(o?o.width*o.height*1/(u.width*u.height):0)>.05||a.intersectionRatio>.8,d=(l||10==s.visibility)&&Math.abs(i.top)+u.height>i.height;ca(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&aa&&aa.unobserve(r)}}Qn.length>0&&Xt(7)}function ca(t,e,n,a){var r=n>e.interaction||a>e.visibility;e.interaction=n>e.interaction?n:e.interaction,e.visibility=a>e.visibility?a:e.visibility,e.id?(e.id in ta&&r||!(e.id in ta))&&(ta[e.id]=e,Qn.push(sa(e))):ea.push({node:t,data:e})}function sa(t){return{time:l(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function la(){Qn=[]}function da(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return cn=l()+3e3,n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function fa(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=Vn(t);if(null!==r){var i=r.metadata;a.id=r.id,a.hash=r.hash,a.privacy=i.privacy,r.region&&function(t,e){var n=Un(t),a=t in ta?ta[t]:{id:t,visibility:0,interaction:16,name:$n.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}ca(n,a,r,a.visibility)}(r.region,e),i.fraud&&yt(i.fraud,r.id,n||r.data.value)}}return a}function ha(t,e){return void 0===e&&(e=null),ct(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,s,d,f,h,p,v,g,m,w,k,E,O,x,M,S,_,D,C,I,j,L,A,z,R;return st(this,(function(H){switch(n=e||l(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=pe;r<i.length;r++)z=i[r],(o=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(o.id),a.push(z.data.x),a.push(z.data.y),_a(a),N(z.event,z.data.x,z.data.y));we();break;case 9:for(u=0,c=Qt;u<c.length;u++)z=c[u],s=fa(z.data.target,z.event,z.data.text),a=[z.time,z.event],d=s.hash.join("."),a.push(s.id),a.push(z.data.x),a.push(z.data.y),a.push(z.data.eX),a.push(z.data.eY),a.push(z.data.button),a.push(z.data.reaction),a.push(z.data.context),a.push(b(z.data.text,"click",s.privacy)),a.push(y(z.data.link)),a.push(d),a.push(z.data.trust),_a(a),ma(z.time,z.event,d,z.data.x,z.data.y,z.data.reaction,z.data.context);re();break;case 38:for(f=0,h=ie;f<h.length;f++)z=h[f],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),a.push(z.data.action),_a(a));ue();break;case 11:p=he,a.push(p.width),a.push(p.height),N(t,p.width,p.height),Ee(),_a(a);break;case 26:v=je,a.push(v.name),Ye(),_a(a);break;case 27:for(g=0,m=se;g<m.length;g++)z=m[g],w=fa(z.data.target,z.event,z.data.value),(a=[z.time,z.event]).push(w.id),a.push(b(z.data.value,"input",w.privacy)),_a(a);fe();break;case 21:(k=Ne)&&(E=fa(k.start,t),O=fa(k.end,t),a.push(E.id),a.push(k.startOffset),a.push(O.id),a.push(k.endOffset),Ie(),_a(a));break;case 10:for(x=0,M=Oe;x<M.length;x++)z=M[x],(S=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(S.id),a.push(z.data.x),a.push(z.data.y),_a(a),N(z.event,z.data.x,z.data.y));Oe=[];break;case 42:for(_=0,D=Ft;_<D.length;_++)z=D[_],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&((a=[z.time,z.event]).push(j.id),a.push(z.data.type),a.push(b(z.data.value,"change",j.privacy)),a.push(b(z.data.checksum,"checksum",j.privacy)),_a(a));Gt();break;case 39:for(C=0,I=Ae;C<I.length;C++)z=I[C],a=[z.time,z.event],(j=fa(z.data.target,z.event)).id>0&&(a.push(j.id),_a(a));Re();break;case 22:for(L=0,A=va;L<A.length;L++)z=A[L],(a=[z.time,z.event]).push(z.data.type),a.push(z.data.hash),a.push(z.data.x),a.push(z.data.y),a.push(z.data.reaction),a.push(z.data.context),_a(a,!1);ga();break;case 28:R=Le,a.push(R.visible),_a(a),T(n,R.visible),Xe()}return[2]}))}))}var pa=[],va=[];function ga(){va=[]}function ma(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),pa.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),N(e,a,r)}var ba,ya,wa,ka,Ea,Oa=0,xa=0,Ma=null,Sa=0;function Na(){ka=!0,Oa=0,xa=0,Sa=0,ba=[],ya=[],wa={},Ea=null}function _a(t,e){if(void 0===e&&(e=!0),ka){var n=l(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:Oa+=r.length;case 37:case 6:xa+=r.length,ba.push(r);break;default:ya.push(r)}R(25);var i=function(){var t=!1===u.lean&&Oa>0?100:jr.sequence*u.delay;return"string"==typeof u.upload?Math.max(Math.min(t,3e4),100):u.delay}();n-Sa>2*i&&(X(Ma),Ma=null),e&&null===Ma&&(25!==a&&B(),Ma=W(Da,i),Sa=n,rr(xa))}}function Ta(){X(Ma),Da(!0),Oa=0,xa=0,Sa=0,ba=[],ya=[],wa={},Ea=null,ka=!1}function Da(t){return void 0===t&&(t=!1),ct(this,void 0,void 0,(function(){var e,n,a,r,i,o,c,s;return st(this,(function(l){switch(l.label){case 0:return Ma=null,(e=!1===u.lean&&xa>0&&(xa<1048576||jr.sequence>0))&&Y(1,1),oa(),function(){var t=[];va=[];for(var e=jr.start+jr.duration,n=Math.max(e-2e3,0),a=0,r=pa;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&va.push(i),t.push(i))}pa=t,ha(22)}(),gt(),n=!0===t,a=JSON.stringify(zr(n)),r="[".concat(ya.join(),"]"),i=e?"[".concat(ba.join(),"]"):"",o=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,dt(o)];case 2:s=l.sent(),l.label=3;case 3:return H(2,(c=s)?c.length:o.length),Ca(o,c,jr.sequence,n),ya=[],e&&(ba=[],xa=0,Oa=0),[2]}}))}))}function Ca(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof u.upload){var r=u.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&ja(n)}catch(t){}if(!1===i){n in wa?wa[n].attempts++:wa[n]={data:t,attempts:1};var o=new XMLHttpRequest;o.open("POST",r),null!==n&&(o.onreadystatechange=function(){Hr(Ia)(o,n)}),o.withCredentials=!0,e?(o.setRequestHeader("Accept","application/x-clarity-gzip"),o.send(e)):o.send(t)}}else if(u.upload){(0,u.upload)(t),ja(n)}}function Ia(t,e){var n=wa[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?ir(6):(0===t.status&&(u.upload=u.fallback?u.fallback:u.upload),Ca(n.data,null,e)):(Ea={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&nr(2),200===t.status&&t.responseText&&function(t){var e=t&&t.length>0?t.split(" "):[""];switch(e[0]){case"END":ir(6);break;case"UPGRADE":tt("Auto");break;case"ACTION":u.action&&e.length>1&&u.action(e[1])}}(t.responseText),0===t.status&&(Ca(n.data,null,e,!0),ir(3)),t.status>=200&&t.status<=208&&ja(e),delete wa[e]))}function ja(t){1===t&&xr()}var La,Aa={};function za(t){var e=t.error||t;return e.message in Aa||(Aa[e.message]=0),Aa[e.message]++>=5||e&&e.message&&(La={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},Ra(31)),!0}function Ra(t){return ct(this,void 0,void 0,(function(){var e;return st(this,(function(n){switch(e=[l(),t],t){case 31:e.push(La.message),e.push(La.line),e.push(La.column),e.push(La.stack),e.push(y(La.source)),_a(e);break;case 33:Ha&&(e.push(Ha.code),e.push(Ha.name),e.push(Ha.message),e.push(Ha.stack),e.push(Ha.severity),_a(e,!1));break;case 41:mt&&(e.push(mt.id),e.push(mt.target),e.push(mt.checksum),_a(e,!1))}return[2]}))}))}var Ha,Ya={};function Wa(t,e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=null);var i=n?"".concat(n,"|").concat(a):"";t in Ya&&Ya[t].indexOf(i)>=0||(Ha={code:t,name:n,message:a,stack:r,severity:e},t in Ya?Ya[t].push(i):Ya[t]=[i],Ra(33))}var Xa,qa={},Pa=[],Ua={},Ba={},Va=[];function Fa(){try{var t=u.extract;if(!t)return;for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1];switch(n){case 0:var r=t[e+2];Ua[a]=$a(r);break;case 1:break;case 2:var i=t[e+2];Ba[a]=i;break;case 3:Va=t[e+2]}}}catch(t){Wa(8,1,t?t.name:null)}}function Ja(t){return JSON.parse(JSON.stringify(t))}function Ga(){try{for(var t in Ua){var e=(r=tr(Ja(Ua[t])))?JSON.stringify(r).substring(0,1e4):r;e&&Ka(t,e)}for(var n in Ba){var a=document.querySelector(Ba[n]);a&&Ka(n,a.innerText)}}catch(t){Wa(5,1,t?t.name:null)}var r;nr(40)}function Za(){Pa=[]}function Ka(t,e,n){void 0===n&&(n=!1),(!(t in qa)||t in qa&&qa[t]!==e||n)&&(qa[t]=e,Pa.push(t))}function Qa(){qa={},Pa=[],Ua={},Ba={}}function $a(t){for(var e=[],n=t.split(".");n.length>0;){var a=n.shift(),r=a.indexOf("["),i=a.indexOf("{"),o=a.indexOf("}");e.push({name:r>0?a.substring(0,r):i>0?a.substring(0,i):a,type:r>0?1:i>0?2:3,condition:i>0?a.substring(i+1,o):null})}return e}function tr(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,a=t.shift();if(e&&e[a.name]){var r=e[a.name];if(1!==a.type&&er(r,a.condition))n=tr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(er(c,a.condition)){var s=tr(t,c);s&&i.push(s)}}n=i}return n}return null}function er(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function nr(t){var e=[l(),t];switch(t){case 4:var n=O;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),_a(e,!1)),S();break;case 25:e.push(L.gap),_a(e);break;case 35:e.push(Xa.check),_a(e,!1);break;case 3:e.push($.key),_a(e);break;case 2:e.push(Ea.sequence),e.push(Ea.attempts),e.push(Ea.status),_a(e,!1);break;case 24:e.push(I.key),e.push(I.value),_a(e);break;case 34:var a=Object.keys(nt);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(nt[o])}ut(),_a(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,s=u;c<s.length;c++){var d=s[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},_a(e,!1)}break;case 1:var h=Object.keys(sr);if(h.length>0){for(var p=0,v=h;p<v.length;p++){var g=v[p];f=parseInt(g,10);e.push(f),e.push(sr[g])}pr(),_a(e,!1)}break;case 36:var m=Object.keys(J);if(m.length>0){for(var b=0,y=m;b<y.length;b++){var w=y[b];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],J[w]))}K(),_a(e,!1)}break;case 40:for(var k=0,E=Pa;k<E.length;k++){w=E[k];e.push(w),e.push(qa[w])}Za(),_a(e,!1)}}function ar(){Xa={check:0}}function rr(t){if(0===Xa.check){var e=Xa.check;e=jr.sequence>=128?1:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Xa.check&&ir(e)}}function ir(t){Xa.check=t,Or(),vi()}function or(){0!==Xa.check&&nr(35)}function ur(){Xa=null}var cr=null,sr=null;function lr(){cr={},sr={}}function dr(){cr={},sr={}}function fr(t,e){e&&(e="".concat(e),t in cr||(cr[t]=[]),cr[t].indexOf(e)<0&&(cr[t].push(e),t in sr||(sr[t]=[]),sr[t].push(e),cr[t].length>128&&ir(5)))}function hr(){nr(1)}function pr(){sr={}}var vr=null,gr=[],mr=null;function br(){mr=null;var t,e=navigator&&"userAgent"in navigator?navigator.userAgent:"",n=document&&document.title?document.title:"",a=function(){var t={session:Nr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Dr("_clsk");if(e){var n=e.split("|");n.length>=5&&t.ts-_r(n[1])<18e5&&(t.session=n[0],t.count=_r(n[2])+1,t.upgrade=_r(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),r=Tr(),i=u.projectId||f(location.host);vr={projectId:i,userId:r.id,sessionId:a.session,pageNum:a.count},u.lean=u.track&&null!==a.upgrade?0===a.upgrade:u.lean,u.upload=u.track&&"string"==typeof u.upload&&a.upload&&a.upload.length>"https://".length?a.upload:u.upload,fr(0,e),fr(3,n),fr(1,y(location.href)),fr(2,document.referrer),fr(15,function(){var t=Nr();if(u.track&&Mr(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),fr(16,document.documentElement.lang),fr(17,document.dir),fr(26,"".concat(window.devicePixelRatio)),Y(0,a.ts),Y(1,0),navigator&&(fr(9,navigator.language),Y(33,navigator.hardwareConcurrency),Y(32,navigator.maxTouchPoints),Y(34,Math.round(navigator.deviceMemory)),(t=navigator.userAgentData)&&t.getHighEntropyValues?t.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;fr(22,t.platform),fr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){fr(24,t.name+"~"+t.version)})),fr(25,t.model),Y(27,t.mobile?1:0)})):fr(22,navigator.platform)),screen&&(Y(14,Math.round(screen.width)),Y(15,Math.round(screen.height)),Y(16,Math.round(screen.colorDepth)));for(var o=0,c=u.cookies;o<c.length;o++){var s=c[o],l=Dr(s);l&&at(s,l)}Sr(r)}function yr(){mr=null,vr=null}function wr(t,e){void 0===e&&(e=!0),vr&&!1===e&&t(vr,!u.lean),gr.push({callback:t,wait:e})}function kr(){return vr?[vr.userId,vr.sessionId,vr.pageNum].join("."):""}function Er(){$r()&&(u.track=!0,Sr(Tr(),1))}function Or(){Cr("_clsk","",0)}function xr(){var t=Math.round(Date.now()),e=u.upload&&"string"==typeof u.upload?u.upload.replace("https://",""):"",n=u.lean?0:1;!function(t){gr.length>0&&gr.forEach((function(e){!e.callback||e.wait&&!t||e.callback(vr,!u.lean)}))}(n),Cr("_clsk",[vr.sessionId,t,vr.pageNum,n,e].join("|"),1)}function Mr(t,e){try{return!!t[e]}catch(t){return!1}}function Sr(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5);(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e)&&Cr("_clck",[vr.userId,1,n.toString(36),e].join("|"),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 _r(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Tr(){var t={id:Nr(),expiry:null,consent:0},e=Dr("_clck");if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var o="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(o),document.cookie="".concat("_clsk","=").concat(o)}n.length>2&&(t.expiry=_r(n[2],36)),n.length>3&&1===_r(n[3])&&(t.consent=1),u.track=u.track||1===t.consent,t.id=u.track?n[0]:t.id}return t}function Dr(t){if(Mr(document,"cookie")){var e=document.cookie.split(";");if(e)for(var n=0;n<e.length;n++){var a=e[n].split("=");if(a.length>1&&a[0]&&a[0].trim()===t)return a[1]}}return null}function Cr(t,e,n){if(u.track&&(navigator&&navigator.cookieEnabled||Mr(document,"cookie"))){var a=new Date;a.setDate(a.getDate()+n);var r=a?"expires="+a.toUTCString():"",i="".concat(t,"=").concat(e).concat(";").concat(r).concat(";path=/");try{if(null===mr){for(var o=location.hostname?location.hostname.split("."):[],c=o.length-1;c>=0;c--)if(mr=".".concat(o[c]).concat(mr||""),c<o.length-1&&(document.cookie="".concat(i).concat(";").concat("domain=").concat(mr),Dr(t)===e))return;mr=""}}catch(t){mr=""}document.cookie=mr?"".concat(i).concat(";").concat("domain=").concat(mr):i}}var Ir,jr=null;function Lr(){var t=vr;jr={version:d,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function Ar(){jr=null}function zr(t){return jr.start=jr.start+jr.duration,jr.duration=l()-jr.start,jr.sequence++,jr.upload=t&&"sendBeacon"in navigator?1:0,jr.end=t?1:0,[jr.version,jr.sequence,jr.start,jr.duration,jr.projectId,jr.userId,jr.sessionId,jr.pageNum,jr.upload,jr.end]}function Rr(){Ir=[]}function Hr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw function(t){if(Ir&&-1===Ir.indexOf(t.message)){var e=u.report;if(e&&e.length>0){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 a=new XMLHttpRequest;a.open("POST",e),a.send(JSON.stringify(n)),Ir.push(t.message)}}return t}(t)}var n=performance.now()-e;H(4,n),n>30&&(R(7),Y(6,n))}}var Yr=[];function Wr(t,e,n,a){void 0===a&&(a=!1),n=Hr(n);try{t[c("addEventListener")](e,n,a),Yr.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Xr(){for(var t=0,e=Yr;t<e.length;t++){var n=e[t];try{n.target[c("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Yr=[]}var qr=null,Pr=null,Ur=null,Br=0;function Vr(){return!(Br++>20)||(Wa(4,0),!1)}function Fr(){Br=0,Ur!==Gr()&&(vi(),window.setTimeout(Jr,250))}function Jr(){pi(),Y(29,1)}function Gr(){return location.href?location.href.replace(location.hash,""):location.href}var Zr=!1;function Kr(){Zr=!0,s=performance.now(),Dt(),Xr(),Rr(),Ur=Gr(),Br=0,Wr(window,"popstate",Fr),null===qr&&(qr=history.pushState,history.pushState=function(){qr.apply(this,arguments),$r()&&Vr()&&Fr()}),null===Pr&&(Pr=history.replaceState,history.replaceState=function(){Pr.apply(this,arguments),$r()&&Vr()&&Fr()})}function Qr(){Ur=null,Br=0,Rr(),Xr(),Dt(),s=0,Zr=!1}function $r(){return Zr}function ti(t){if(null===t||Zr)return!1;for(var e in t)e in u&&(u[e]=t[e]);return!0}function ei(){pi(),j("clarity","restart")}var ni=Object.freeze({__proto__:null,start:function(){!function(){bt=[],Y(26,navigator.webdriver?1:0);try{Y(31,window.top==window.self?1:2)}catch(t){Y(31,0)}}(),Wr(window,"error",za),Aa={},Ya={}},stop:function(){Ya={}}});function ai(){return ct(this,void 0,void 0,(function(){var t,e;return st(this,(function(n){switch(n.label){case 0:return t=l(),Lt(e={id:kr(),cost:3}),[4,$e(document,e,0)];case 1:return n.sent(),[4,Xt(5,e,t)];case 2:return n.sent(),At(e),[2]}}))}))}var ri=Object.freeze({__proto__:null,hashText:Pn,start:function(){Bt(),Vt(),la(),aa=null,$n=new WeakMap,ta={},ea=[],na=!!window.IntersectionObserver,In(),function(){if(tn=[],on=[],un=null,cn=0,sn={},null===nn&&(nn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return $r()&&pn(this.ownerNode),nn.apply(this,arguments)}),null===an&&(an=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return $r()&&pn(this.ownerNode),an.apply(this,arguments)}),null===rn){rn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return $r()?pn(rn.apply(this,arguments)):rn.apply(this,arguments)}}catch(t){rn=null}}}(),Ct(ai,1).then((function(){Hr(Vt)(),Hr(oa)()}))},stop:function(){la(),$n=null,ta={},ea=[],aa&&(aa.disconnect(),aa=null),na=!1,jn(),function(){for(var t=0,e=tn;t<e.length;t++){var n=e[t];n&&n.disconnect()}tn=[],sn={},en=[],on=[],cn=0,un=null}(),Bt()}});var ii,oi=null;function ui(){oi=null}function ci(t){oi={fetchStart:Math.round(t.fetchStart),connectStart:Math.round(t.connectStart),connectEnd:Math.round(t.connectEnd),requestStart:Math.round(t.requestStart),responseStart:Math.round(t.responseStart),responseEnd:Math.round(t.responseEnd),domInteractive:Math.round(t.domInteractive),domComplete:Math.round(t.domComplete),loadEventStart:Math.round(t.loadEventStart),loadEventEnd:Math.round(t.loadEventEnd),redirectCount:Math.round(t.redirectCount),size:t.transferSize?t.transferSize:0,type:t.type,protocol:t.nextHopProtocol,encodedSize:t.encodedBodySize?t.encodedBodySize:0,decodedSize:t.decodedBodySize?t.decodedBodySize:0},function(t){ct(this,void 0,void 0,(function(){var e,n;return st(this,(function(a){return e=l(),n=[e,t],29===t&&(n.push(oi.fetchStart),n.push(oi.connectStart),n.push(oi.connectEnd),n.push(oi.requestStart),n.push(oi.responseStart),n.push(oi.responseEnd),n.push(oi.domInteractive),n.push(oi.domComplete),n.push(oi.loadEventStart),n.push(oi.loadEventEnd),n.push(oi.redirectCount),n.push(oi.size),n.push(oi.type),n.push(oi.protocol),n.push(oi.encodedSize),n.push(oi.decodedSize),ui(),_a(n,!1)),[2]}))}))}(29)}var si=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint"];function li(){try{ii&&ii.disconnect(),ii=new PerformanceObserver(Hr(di));for(var t=0,e=si;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),ii.observe({type:n,buffered:!0}))}}catch(t){Wa(3,1)}}function di(t){!function(t){for(var e=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n<t.length;n++){var a=t[n];switch(a.entryType){case"navigation":ci(a);break;case"resource":var r=a.name;fr(4,fi(r)),r!==u.upload&&r!==u.fallback||Y(28,a.duration);break;case"longtask":R(7);break;case"first-input":e&&Y(10,a.processingStart-a.startTime);break;case"layout-shift":e&&!a.hadRecentInput&&H(9,1e3*a.value);break;case"largest-contentful-paint":e&&Y(8,a.startTime)}}}(t.getEntries())}function fi(t){var e=document.createElement("a");return e.href=t,e.hostname}var hi=[ni,ri,Pe,Object.freeze({__proto__:null,start:function(){ui(),function(){navigator&&"connection"in navigator&&fr(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Wr(window,"load",W.bind(this,li,0)):li():Wa(3,0)}()},stop:function(){ii&&ii.disconnect(),ii=null,ui()}})];function pi(t){void 0===t&&(t=null),function(){try{return!1===Zr&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap}catch(t){return!1}}()&&(ti(t),Kr(),pt(),hi.forEach((function(t){return Hr(t.start)()})),null===t&&yi())}function vi(){$r()&&(hi.slice().reverse().forEach((function(t){return Hr(t.stop)()})),vt(),Qr(),void 0!==mi&&(mi[bi]=function(){(mi[bi].q=mi[bi].q||[]).push(arguments)}))}var gi=Object.freeze({__proto__:null,consent:Er,event:j,hashText:Pn,identify:rt,metadata:wr,pause:function(){$r()&&(j("clarity","pause"),null===_t&&(_t=new Promise((function(t){Tt=t}))))},resume:function(){$r()&&(_t&&(Tt(),_t=null,null===Nt&&It()),j("clarity","resume"))},set:at,start:pi,stop:vi,upgrade:tt,version:d}),mi=window,bi="clarity";function yi(){if(void 0!==mi){if(mi[bi]&&mi[bi].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=mi[bi]&&mi[bi].q||[];for(mi[bi]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return gi[t].apply(gi,e)},mi[bi].v=d;t.length>0;)mi[bi].apply(mi,t.shift())}}yi()}();
@@ -1,92 +1,92 @@
1
1
  var dom = /*#__PURE__*/Object.freeze({
2
2
  __proto__: null,
3
- get start () { return start$i; },
4
- get stop () { return stop$g; },
5
- get parse () { return parse$1; },
6
- get getId () { return getId; },
7
3
  get add () { return add; },
8
- get update () { return update$1; },
9
- get sameorigin () { return sameorigin; },
10
- get iframe () { return iframe; },
11
- get hashText () { return hashText; },
4
+ get get () { return get; },
5
+ get getId () { return getId; },
12
6
  get getNode () { return getNode; },
13
7
  get getValue () { return getValue; },
14
- get get () { return get; },
15
- get lookup () { return lookup; },
16
8
  get has () { return has; },
9
+ get hashText () { return hashText; },
10
+ get iframe () { return iframe; },
11
+ get lookup () { return lookup; },
12
+ get parse () { return parse$1; },
13
+ get sameorigin () { return sameorigin; },
14
+ get start () { return start$i; },
15
+ get stop () { return stop$g; },
16
+ get update () { return update$1; },
17
17
  get updates () { return updates$2; }
18
18
  });
19
19
  var upload$1 = /*#__PURE__*/Object.freeze({
20
20
  __proto__: null,
21
- get track () { return track$1; },
22
- get start () { return start$f; },
23
21
  get queue () { return queue; },
24
- get stop () { return stop$d; }
22
+ get start () { return start$f; },
23
+ get stop () { return stop$d; },
24
+ get track () { return track$1; }
25
25
  });
26
26
  var extract = /*#__PURE__*/Object.freeze({
27
27
  __proto__: null,
28
- get data () { return data$5; },
29
- get keys () { return keys; },
30
- get fragments () { return fragments; },
31
- get start () { return start$c; },
32
28
  get clone () { return clone; },
33
29
  get compute () { return compute$4; },
30
+ get data () { return data$5; },
31
+ get fragments () { return fragments; },
32
+ get keys () { return keys; },
34
33
  get reset () { return reset$4; },
35
- get update () { return update; },
36
- get stop () { return stop$b; }
34
+ get start () { return start$c; },
35
+ get stop () { return stop$b; },
36
+ get update () { return update; }
37
37
  });
38
38
  var limit = /*#__PURE__*/Object.freeze({
39
39
  __proto__: null,
40
- get data () { return data$4; },
41
- get start () { return start$b; },
42
40
  get check () { return check$2; },
43
- get trigger () { return trigger; },
44
41
  get compute () { return compute$3; },
45
- get stop () { return stop$a; }
42
+ get data () { return data$4; },
43
+ get start () { return start$b; },
44
+ get stop () { return stop$a; },
45
+ get trigger () { return trigger; }
46
46
  });
47
47
  var dimension = /*#__PURE__*/Object.freeze({
48
48
  __proto__: null,
49
+ get compute () { return compute$2; },
49
50
  get data () { return data$3; },
50
- get updates () { return updates; },
51
+ get log () { return log; },
52
+ get reset () { return reset$3; },
51
53
  get start () { return start$a; },
52
54
  get stop () { return stop$9; },
53
- get log () { return log; },
54
- get compute () { return compute$2; },
55
- get reset () { return reset$3; }
55
+ get updates () { return updates; }
56
56
  });
57
57
  var metadata$1 = /*#__PURE__*/Object.freeze({
58
58
  __proto__: null,
59
- get data () { return data$2; },
60
59
  get callbacks () { return callbacks; },
61
- get start () { return start$9; },
62
- get stop () { return stop$8; },
63
- get metadata () { return metadata; },
64
- get id () { return id; },
65
- get consent () { return consent; },
66
60
  get clear () { return clear; },
67
- get save () { return save; }
61
+ get consent () { return consent; },
62
+ get data () { return data$2; },
63
+ get id () { return id; },
64
+ get metadata () { return metadata; },
65
+ get save () { return save; },
66
+ get start () { return start$9; },
67
+ get stop () { return stop$8; }
68
68
  });
69
69
  var envelope$1 = /*#__PURE__*/Object.freeze({
70
70
  __proto__: null,
71
71
  get data () { return data$1; },
72
+ get envelope () { return envelope; },
72
73
  get start () { return start$8; },
73
- get stop () { return stop$7; },
74
- get envelope () { return envelope; }
74
+ get stop () { return stop$7; }
75
75
  });
76
76
  var clarity = /*#__PURE__*/Object.freeze({
77
77
  __proto__: null,
78
- get version () { return version$1; },
79
- get start () { return start; },
80
- get pause () { return pause; },
81
- get resume () { return resume; },
82
- get stop () { return stop; },
83
78
  get consent () { return consent; },
84
79
  get event () { return event; },
80
+ get hashText () { return hashText; },
85
81
  get identify () { return identify; },
82
+ get metadata () { return metadata; },
83
+ get pause () { return pause; },
84
+ get resume () { return resume; },
86
85
  get set () { return set; },
86
+ get start () { return start; },
87
+ get stop () { return stop; },
87
88
  get upgrade () { return upgrade; },
88
- get metadata () { return metadata; },
89
- get hashText () { return hashText; }
89
+ get version () { return version$1; }
90
90
  });
91
91
 
92
92
  var w = window;
@@ -166,7 +166,7 @@ function stop$C() {
166
166
  startTime = 0;
167
167
  }
168
168
 
169
- var version$1 = "0.7.2";
169
+ var version$1 = "0.7.3";
170
170
 
171
171
  // tslint:disable: no-bitwise
172
172
  function hash (input, precision) {
@@ -414,14 +414,14 @@ function stop$B() {
414
414
 
415
415
  var baseline = /*#__PURE__*/Object.freeze({
416
416
  __proto__: null,
417
- get state () { return state$a; },
418
- start: start$F,
419
- reset: reset$q,
420
- track: track$7,
421
417
  activity: activity,
422
- visibility: visibility,
423
418
  compute: compute$c,
424
- stop: stop$B
419
+ reset: reset$q,
420
+ start: start$F,
421
+ get state () { return state$a; },
422
+ stop: stop$B,
423
+ track: track$7,
424
+ visibility: visibility
425
425
  });
426
426
 
427
427
  var data$j = null;
@@ -532,8 +532,8 @@ function stop$z() {
532
532
  var ping$1 = /*#__PURE__*/Object.freeze({
533
533
  __proto__: null,
534
534
  get data () { return data$h; },
535
- start: start$D,
536
535
  reset: reset$o,
536
+ start: start$D,
537
537
  stop: stop$z
538
538
  });
539
539
 
@@ -570,12 +570,12 @@ function reset$n() {
570
570
 
571
571
  var summary = /*#__PURE__*/Object.freeze({
572
572
  __proto__: null,
573
+ compute: compute$a,
573
574
  get data () { return data$g; },
575
+ reset: reset$n,
574
576
  start: start$C,
575
577
  stop: stop$y,
576
- track: track$6,
577
- compute: compute$a,
578
- reset: reset$n
578
+ track: track$6
579
579
  });
580
580
 
581
581
  var data$f = null;
@@ -611,8 +611,8 @@ var upgrade$1 = /*#__PURE__*/Object.freeze({
611
611
  __proto__: null,
612
612
  get data () { return data$f; },
613
613
  start: start$B,
614
- upgrade: upgrade,
615
- stop: stop$x
614
+ stop: stop$x,
615
+ upgrade: upgrade
616
616
  });
617
617
 
618
618
  var data$e = null;
@@ -657,12 +657,12 @@ function stop$w() {
657
657
 
658
658
  var variable = /*#__PURE__*/Object.freeze({
659
659
  __proto__: null,
660
+ compute: compute$9,
660
661
  get data () { return data$e; },
661
- start: start$A,
662
- set: set,
663
662
  identify: identify,
664
- compute: compute$9,
665
663
  reset: reset$m,
664
+ set: set,
665
+ start: start$A,
666
666
  stop: stop$w
667
667
  });
668
668
 
@@ -697,7 +697,7 @@ function __generator(thisArg, body) {
697
697
  function verb(n) { return function (v) { return step([n, v]); }; }
698
698
  function step(op) {
699
699
  if (f) throw new TypeError("Generator is already executing.");
700
- while (_) try {
700
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
701
701
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
702
702
  if (y = 0, t) op = [op[0] & 2, t.value];
703
703
  switch (op[0]) {
@@ -915,8 +915,8 @@ function filter(value) {
915
915
 
916
916
  var selector = /*#__PURE__*/Object.freeze({
917
917
  __proto__: null,
918
- reset: reset$l,
919
- get: get$1
918
+ get: get$1,
919
+ reset: reset$l
920
920
  });
921
921
 
922
922
  // Track the start time to be able to compute duration at the end of the task
@@ -1863,9 +1863,9 @@ function observe$4(root) {
1863
1863
 
1864
1864
  var interaction = /*#__PURE__*/Object.freeze({
1865
1865
  __proto__: null,
1866
+ observe: observe$4,
1866
1867
  start: start$k,
1867
- stop: stop$i,
1868
- observe: observe$4
1868
+ stop: stop$i
1869
1869
  });
1870
1870
 
1871
1871
  var digitsRegex = /[^0-9\.]/g;
@@ -4510,9 +4510,9 @@ function stop$3() {
4510
4510
 
4511
4511
  var layout = /*#__PURE__*/Object.freeze({
4512
4512
  __proto__: null,
4513
+ hashText: hashText,
4513
4514
  start: start$3,
4514
- stop: stop$3,
4515
- hashText: hashText
4515
+ stop: stop$3
4516
4516
  });
4517
4517
 
4518
4518
  function encode (type) {
@@ -4664,11 +4664,6 @@ function process(entries) {
4664
4664
  break;
4665
4665
  }
4666
4666
  }
4667
- if (performance && "memory" /* Constant.Memory */ in performance && performance["memory" /* Constant.Memory */].usedJSHeapSize) {
4668
- // Track consumed memory (MBs) where "memory" API is available
4669
- // Reference: https://developer.mozilla.org/en-US/docs/Web/API/Performance/memory
4670
- max(30 /* Metric.UsedMemory */, Math.abs(performance["memory" /* Constant.Memory */].usedJSHeapSize / 1048576 /* Setting.MegaByte */));
4671
- }
4672
4667
  }
4673
4668
  function stop$2() {
4674
4669
  if (observer) {
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "clarity-js",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "An analytics library that uses web page interactions to generate aggregated insights",
5
5
  "author": "Microsoft Corp.",
6
6
  "license": "MIT",
7
7
  "main": "build/clarity.js",
8
8
  "module": "build/clarity.module.js",
9
9
  "unpkg": "build/clarity.min.js",
10
+ "insight": "build/clarity.insight.js",
10
11
  "types": "types/index.d.ts",
11
12
  "keywords": [
12
13
  "clarity",
@@ -26,28 +27,29 @@
26
27
  "url": "https://github.com/microsoft/clarity/issues"
27
28
  },
28
29
  "devDependencies": {
29
- "@rollup/plugin-commonjs": "^19.0.1",
30
- "@rollup/plugin-node-resolve": "^13.0.2",
30
+ "@rollup/plugin-alias": "^4.0.0",
31
+ "@rollup/plugin-commonjs": "^24.0.0",
32
+ "@rollup/plugin-node-resolve": "^15.0.0",
33
+ "@rollup/plugin-terser": "^0.4.0",
34
+ "@rollup/plugin-typescript": "^11.0.0",
31
35
  "@types/chai": "^4.2.21",
32
- "@types/mocha": "^8.2.3",
36
+ "@types/mocha": "^10.0.0",
33
37
  "@types/resize-observer-browser": "^0.1.6",
34
38
  "chai": "^4.2.0",
35
- "del-cli": "^4.0.1",
36
- "husky": "^7.0.1",
37
- "lint-staged": "^11.0.1",
38
- "mocha": "^9.0.2",
39
+ "del-cli": "^5.0.0",
40
+ "husky": "^8.0.0",
41
+ "lint-staged": "^13.1.0",
42
+ "mocha": "^10.2.0",
39
43
  "playwright": "^1.6.2",
40
- "rollup": "^2.53.2",
41
- "rollup-plugin-terser": "^7.0.2",
42
- "rollup-plugin-typescript2": "^0.30.0",
43
- "ts-mocha": "^8.0.0",
44
+ "rollup": "^3.0.0",
45
+ "ts-mocha": "^10.0.0",
44
46
  "tslib": "^2.3.0",
45
47
  "tslint": "^6.1.3",
46
48
  "typescript": "^4.3.5"
47
49
  },
48
50
  "scripts": {
49
51
  "build": "yarn build:clean && yarn build:main",
50
- "build:main": "rollup -c rollup.config.ts",
52
+ "build:main": "rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript",
51
53
  "build:clean": "del-cli build/*",
52
54
  "test": "ts-mocha -p test/tsconfig.test.json test/**/*.test.ts",
53
55
  "tslint": "tslint --project ./",
package/rollup.config.ts CHANGED
@@ -1,8 +1,9 @@
1
+ import alias from "@rollup/plugin-alias";
1
2
  import commonjs from "@rollup/plugin-commonjs";
2
3
  import resolve from "@rollup/plugin-node-resolve";
3
- import typescript from "rollup-plugin-typescript2";
4
- import { terser } from "rollup-plugin-terser";
5
- import pkg from "./package.json";
4
+ import terser from "@rollup/plugin-terser";
5
+ import typescript from "@rollup/plugin-typescript";
6
+ import pkg from "./package.json" assert { type: 'json' };
6
7
 
7
8
  export default [
8
9
  {
@@ -13,7 +14,7 @@ export default [
13
14
  ],
14
15
  plugins: [
15
16
  resolve(),
16
- typescript({ rollupCommonJSResolveHack: true, clean: true }),
17
+ typescript(),
17
18
  commonjs({ include: ["node_modules/**"] })
18
19
  ],
19
20
  onwarn(message, warn) {
@@ -30,7 +31,30 @@ export default [
30
31
  },
31
32
  plugins: [
32
33
  resolve(),
33
- typescript({ rollupCommonJSResolveHack: true, clean: true }),
34
+ typescript(),
35
+ terser({output: {comments: false}}),
36
+ commonjs({ include: ["node_modules/**"] })
37
+ ]
38
+ },
39
+ {
40
+ input: "src/global.ts",
41
+ output: [ { file: pkg.insight, format: "iife", exports: "named" } ],
42
+ onwarn(message, warn) {
43
+ if (message.code === 'CIRCULAR_DEPENDENCY') { return; }
44
+ warn(message);
45
+ },
46
+ plugins: [
47
+ alias({
48
+ entries: [
49
+ { find: '@src/interaction/change', replacement: '@src/core/blank' },
50
+ { find: '@src/interaction/clipboard', replacement: '@src/core/blank' },
51
+ { find: '@src/interaction/input', replacement: '@src/core/blank' },
52
+ { find: '@src/interaction/pointer', replacement: '@src/core/blank' },
53
+ { find: '@src/interaction/selection', replacement: '@src/core/blank' }
54
+ ]
55
+ }),
56
+ resolve(),
57
+ typescript(),
34
58
  terser({output: {comments: false}}),
35
59
  commonjs({ include: ["node_modules/**"] })
36
60
  ]
@@ -0,0 +1,9 @@
1
+ export let state = [];
2
+ export let data = null;
3
+
4
+ /* Intentionally blank module with empty code */
5
+
6
+ export function start(): void {}
7
+ export function observe(): void {}
8
+ export function reset(): void {}
9
+ export function stop(): void {}
@@ -1,2 +1,2 @@
1
- let version = "0.7.2";
1
+ let version = "0.7.3";
2
2
  export default version;
@@ -1,6 +1,6 @@
1
- import * as fraud from "./fraud";
2
- import * as internal from "./internal";
3
- import * as script from "./script";
1
+ import * as fraud from "@src/diagnostic/fraud";
2
+ import * as internal from "@src/diagnostic/internal";
3
+ import * as script from "@src/diagnostic/script";
4
4
 
5
5
  export function start(): void {
6
6
  fraud.start();
@@ -4,18 +4,18 @@ import { time } from "@src/core/time";
4
4
  import * as baseline from "@src/data/baseline";
5
5
  import { queue } from "@src/data/upload";
6
6
  import { metadata } from "@src/layout/target";
7
- import * as change from "./change";
8
- import * as click from "./click";
9
- import * as clipboard from "./clipboard";
10
- import * as input from "./input";
11
- import * as pointer from "./pointer";
12
- import * as resize from "./resize";
13
- import * as scroll from "./scroll";
14
- import * as selection from "./selection";
15
- import * as submit from "./submit";
16
- import * as timeline from "./timeline";
17
- import * as unload from "./unload";
18
- import * as visibility from "./visibility";
7
+ import * as change from "@src/interaction/change";
8
+ import * as click from "@src/interaction/click";
9
+ import * as clipboard from "@src/interaction/clipboard";
10
+ import * as input from "@src/interaction/input";
11
+ import * as pointer from "@src/interaction/pointer";
12
+ import * as resize from "@src/interaction/resize";
13
+ import * as scroll from "@src/interaction/scroll";
14
+ import * as selection from "@src/interaction/selection";
15
+ import * as submit from "@src/interaction/submit";
16
+ import * as timeline from "@src/interaction/timeline";
17
+ import * as unload from "@src/interaction/unload";
18
+ import * as visibility from "@src/interaction/visibility";
19
19
 
20
20
  export default async function (type: Event, ts: number = null): Promise<void> {
21
21
  let t = ts || time();
@@ -1,4 +1,4 @@
1
- import { Code, Constant, Dimension, Metric, Setting, Severity } from "@clarity-types/data";
1
+ import { Code, Constant, Dimension, Metric, Severity } from "@clarity-types/data";
2
2
  import config from "@src/core/config";
3
3
  import { bind } from "@src/core/event";
4
4
  import measure from "@src/core/measure";
@@ -81,11 +81,6 @@ function process(entries: PerformanceEntryList): void {
81
81
  break;
82
82
  }
83
83
  }
84
- if (performance && Constant.Memory in performance && performance[Constant.Memory].usedJSHeapSize) {
85
- // Track consumed memory (MBs) where "memory" API is available
86
- // Reference: https://developer.mozilla.org/en-US/docs/Web/API/Performance/memory
87
- metric.max(Metric.UsedMemory, Math.abs(performance[Constant.Memory].usedJSHeapSize / Setting.MegaByte));
88
- }
89
84
  }
90
85
 
91
86
  export function stop(): void {
package/tsconfig.json CHANGED
@@ -16,6 +16,6 @@
16
16
  "@clarity-types/*": ["types/*"]
17
17
  }
18
18
  },
19
- "include":["src/**/*.ts","types/**/*.d.ts"],
19
+ "include":["src/**/*.ts","types/**/*.d.ts", "rollup.config.ts"],
20
20
  "exclude": ["test", "node_modules", "build"]
21
21
  }
package/types/data.d.ts CHANGED
@@ -97,6 +97,9 @@ export const enum Metric {
97
97
  Mobile = 27,
98
98
  UploadTime = 28,
99
99
  SinglePage = 29,
100
+ /**
101
+ * @deprecated Browser API is deprecated. Reference: https://developer.mozilla.org/en-US/docs/Web/API/Performance/memory
102
+ */
100
103
  UsedMemory = 30,
101
104
  Iframed = 31,
102
105
  MaxTouchPoints = 32,