3 lines
67 KiB
Plaintext
3 lines
67 KiB
Plaintext
/* clarity-js v0.7.62: https://github.com/microsoft/clarity (License: MIT) */
|
|
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return wr},get start(){return br},get stop(){return kr},get track(){return pr}}),e=Object.freeze({__proto__:null,get clone(){return Yr},get compute(){return qr},get data(){return Ar},get keys(){return Rr},get reset(){return Ur},get start(){return Wr},get stop(){return Vr},get trigger(){return Xr},get update(){return Fr}}),n=Object.freeze({__proto__:null,get check(){return Qr},get compute(){return ti},get data(){return jr},get start(){return Zr},get stop(){return ei},get trigger(){return $r}}),a=Object.freeze({__proto__:null,get compute(){return ci},get data(){return ni},get log(){return ui},get reset(){return si},get start(){return ii},get stop(){return oi},get updates(){return ai}}),r=Object.freeze({__proto__:null,get callback(){return ki},get callbacks(){return fi},get clear(){return wi},get consent(){return bi},get data(){return di},get electron(){return hi},get id(){return yi},get metadata(){return mi},get save(){return Si},get shortid(){return Ti},get start(){return vi},get stop(){return gi}}),i=Object.freeze({__proto__:null,get data(){return Di},get envelope(){return Ri},get start(){return ji},get stop(){return Ai}}),o={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,longTask:30,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(t){void 0===t&&(t=null);var e=t&&t.timeStamp>0?t.timeStamp:performance.now(),n=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(e+n-c),0)}var l="0.7.58";function d(t,e){void 0===e&&(e=null);for(var n,a=5381,r=a,i=0;i<t.length;i+=2){if(a=(a<<5)+a^t.charCodeAt(i),i+1<t.length)r=(r<<5)+r^t.charCodeAt(i+1)}return n=Math.abs(a+11579*r),(e?n%Math.pow(2,e):n).toString(36)}var f=/\S/gi,h=255,p=!0,v=null,g=null,m=null;function y(t,e,n,a,r){if(void 0===a&&(a=!1),t){if("input"==e&&("checkbox"===r||"radio"===r))return t;switch(n){case 0:return t;case 1:switch(e){case"*T":case"value":case"placeholder":case"click":return function(t){var e=-1,n=0,a=!1,r=!1,i=!1,o=null;O();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(s,"▪","▫"):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":case"data-":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":case"data-":return a?w(t):k(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return S(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function b(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var a=t;if(e)a="".concat("https://").concat("Electron");else{var r=o.drop;if(r&&r.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];a=u+"?"+c.split("&").map((function(t){return r.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(a=a.substring(0,h)),a}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(f,"•")}function S(t,e,n){return O(),t?t.replace(g,e).replace(v,n):t}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}function O(){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}}var T=null,N=null,M=!1;function x(){M&&(T={time:s(),event:4,data:{visible:N.visible,docWidth:N.docWidth,docHeight:N.docHeight,screenWidth:N.screenWidth,screenHeight:N.screenHeight,scrollX:N.scrollX,scrollY:N.scrollY,pointerX:N.pointerX,pointerY:N.pointerY,activityTime:N.activityTime,scrollTime:N.scrollTime}}),N=N||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function _(t,e,n,a){switch(t){case 8:N.docWidth=e,N.docHeight=n;break;case 11:N.screenWidth=e,N.screenHeight=n;break;case 10:N.scrollX=e,N.scrollY=n,N.scrollTime=a;break;default:N.pointerX=e,N.pointerY=n}M=!0}function I(t){N.activityTime=t}function C(t,e){N.visible="visible"===e?1:0,N.visible||I(t),M=!0}function D(){M&&Kr(4)}var j=Object.freeze({__proto__:null,activity:I,compute:D,reset:x,start:function(){M=!1,x()},get state(){return T},stop:function(){x()},track:_,visibility:C}),A=null;function R(t,e){$i()&&t&&"string"==typeof t&&t.length<255&&(A=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Kr(24))}var L,P=null,z=null;function H(t){t in P||(P[t]=0),t in z||(z[t]=0),P[t]++,z[t]++}function W(t,e){null!==e&&(t in P||(P[t]=0),t in z||(z[t]=0),P[t]+=e,z[t]+=e)}function X(t,e){null!==e&&!1===isNaN(e)&&(t in P||(P[t]=0),(e>P[t]||0===P[t])&&(z[t]=e,P[t]=e))}function Y(t,e,n){return window.setTimeout(zi(t),e,n)}function q(t){return window.clearTimeout(t)}var U=0,F=0,V=null;function B(){V&&q(V),V=Y(J,F),U=s()}function J(){var t=s();L={gap:t-U},Kr(25),L.gap<3e5?V=Y(J,F):Ki&&(R("clarity","suspend"),xo(),["mousemove","touchstart"].forEach((function(t){return Wi(document,t,to)})),["resize","scroll","pageshow"].forEach((function(t){return Wi(window,t,to)})))}var G=Object.freeze({__proto__:null,get data(){return L},reset:B,start:function(){F=6e4,U=0},stop:function(){q(V),U=0,F=0}}),K=null;function Z(t,e){if(t in K){var n=K[t],a=n[n.length-1];e-a[0]>100?K[t].push([e,0]):a[1]=e-a[0]}else K[t]=[[e,0]]}function Q(){Kr(36)}function $(){K={}}var tt=Object.freeze({__proto__:null,compute:Q,get data(){return K},reset:$,start:function(){K={}},stop:function(){K={}},track:Z}),et=null;function nt(t){$i()&&o.lean&&(o.lean=!1,et={key:t},ki(),Si(),o.upgrade&&o.upgrade(t),Kr(3))}var at=Object.freeze({__proto__:null,get data(){return et},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),et=null},stop:function(){et=null},upgrade:nt});function rt(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 it(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 ot=null;function ut(t,e){st(t,"string"==typeof e?[e]:e)}function ct(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),rt(this,void 0,void 0,(function(){var r,i;return it(this,(function(o){switch(o.label){case 0:return i={},[4,ft(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(S(u.substring(2),"*","*")):S(u,"*","*")),st("userId",[(r=i).userId]),st("userHint",[r.userHint]),st("userType",[ht(t)]),e&&(st("sessionId",[e]),r.sessionId=e),n&&(st("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function st(t,e){if($i()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in ot?ot[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);ot[t]=n}}function lt(){Kr(34)}function dt(){ot={}}function ft(t){return rt(this,void 0,void 0,(function(){var e;return it(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),crypto&&t?[4,crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t))]:[3,2];case 1:return e=n.sent(),[2,Array.prototype.map.call(new Uint8Array(e),(function(t){return("00"+t.toString(16)).slice(-2)})).join("")];case 2:return[2,""];case 3:return[3,5];case 4:return n.sent(),[2,""];case 5:return[2]}}))}))}function ht(t){return t&&t.indexOf("@")>0?"email":"string"}var pt="CompressionStream"in window;function vt(t){return rt(this,void 0,void 0,(function(){var e,n;return it(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),pt?(e=new ReadableStream({start:function(e){return rt(this,void 0,void 0,(function(){return it(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,gt(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 gt(t){return rt(this,void 0,void 0,(function(){var e,n,a,r,i;return it(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 mt=null;function yt(t){try{if(!mt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){mt(t)}))}catch(t){}}var bt=[j,a,Object.freeze({__proto__:null,compute:lt,get data(){return ot},identify:ct,reset:dt,set:ut,start:function(){dt()},stop:function(){dt()}}),n,tt,r,i,t,G,at,e];function wt(){P={},z={},H(5),bt.forEach((function(t){return zi(t.start)()}))}function kt(){bt.slice().reverse().forEach((function(t){return zi(t.stop)()})),P={},z={}}function St(){lt(),D(),ci(),Kr(0),Q(),ti(),qr()}var Et,Ot=[];function Tt(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(Et={id:t,target:e,checksum:d(n,28)},Ot.indexOf(Et.checksum)<0&&(Ot.push(Et.checksum),_r(41)))}var Nt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Mt={};function xt(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 _t(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 Mt||(Mt[c]=[]),Mt[c].indexOf(t.id)<0&&Mt[c].push(t.id),i="".concat(c).concat("~").concat(Mt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&_t(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 _t(t){if(!t)return!1;if(Nt.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 It=1,Ct=null,Dt=[],jt=[],At={},Rt=[],Lt=[],Pt=[],zt=[],Ht=[],Wt=[],Xt=null,Yt=null,qt=null,Ut=null;function Ft(){Bt(),Jt(document,!0)}function Vt(){Bt()}function Bt(){It=1,Dt=[],jt=[],At={},Rt=[],Lt=[],Pt="address,password,contact".split(","),zt="password,secret,pass,social,ssn,code,hidden".split(","),Ht="radio,checkbox,range,button,reset,submit".split(","),Wt="INPUT,SELECT,TEXTAREA".split(","),Ct=new Map,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Ut=new WeakMap,Mt={}}function Jt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Lt.push(t):Rt.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ka(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ut.set(t,e[0])}))})),Lt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return qt.set(t,0)}))})))}catch(t){Dr(5,1,t?t.name:null)}}function Gt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Xt.get(t);return!n&&e&&(n=It++,Xt.set(t,n)),n||null}function Kt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Yt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Zt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Yt.has(e)?Yt.get(e):null}function Qt(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 $t(t){var e=t.parent&&t.parent in Dt?Dt[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=Dt[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=[xt(i,0),xt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return At[e]=t.id}))}function te(t){var e=ee(ae(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function ee(t){return Ct.has(t)?Ct.get(t):null}function ne(t){var e=Gt(t);return e in Dt?Dt[e]:null}function ae(t){return t in At?At[t]:null}function re(t){return Ct.has(Gt(t))}function ie(){for(var t=[],e=0,n=jt;e<n.length;e++){var a=n[e];a in Dt&&t.push(Dt[a])}return jt=[],t}function oe(t){if(Ct.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){Ct.delete(t);var e=t in Dt?Dt[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){oe(a[n])}}}function ue(t){for(var e=null;null===e&&t.previousSibling;)e=Gt(t.previousSibling),t=t.previousSibling;return e}function ce(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=jt.indexOf(t);r>=0&&1===e&&a?(jt.splice(r,1),jt.push(t)):-1===r&&n&&jt.push(t)}var se=Object.freeze({__proto__:null,add:function(t,e,n,a){var r=e?Gt(e):null;if(e&&r||null!=t.host){var i=Gt(t,!0),u=ue(t),c=null,s=Za(t)?i:null,l=Ut.has(t)?Ut.get(t):null,d=o.content?1:3;r>=0&&Dt[r]&&((c=Dt[r]).children.push(i),s=null===s?c.region:s,l=null===l?c.metadata.fraud:l,d=c.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(Ka(t,n.attributes["data-clarity-region"]),s=i),Ct.set(i,t),Dt[i]={id:i,parent:r,previous:u,children:[],data:n,selector:null,hash:null,region:s,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:l,size:null}},function(t,e,n){var a,r=e.data,i=e.metadata,o=i.privacy,u=r.attributes||{},c=r.tag.toUpperCase();switch(!0){case Wt.indexOf(c)>=0:var s=u.type,l="",d=["class","style"];Object.keys(u).filter((function(t){return!d.includes(t)})).forEach((function(t){return l+=u[t].toLowerCase()}));var f=zt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&Ht.indexOf(s)>=0?o:f?4:2;break;case"data-clarity-mask"in u:i.privacy=3;break;case"data-clarity-unmask"in u:i.privacy=0;break;case qt.has(t):i.privacy=qt.get(t);break;case Ut.has(t):i.privacy=2;break;case"*T"===c:var h=n&&n.data?n.data.tag:"",p=n&&n.selector?n.selector[1]:"",v=["STYLE","TITLE","svg:style"];i.privacy=v.includes(h)||Rt.some((function(t){return p.indexOf(t)>=0}))?0:o;break;case 1===o:i.privacy=function(t,e,n){if(t&&e.some((function(e){return t.indexOf(e)>=0})))return 2;return n.privacy}(u.class,Pt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Dt[i],c),$t(Dt[i]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=ee(t.id);!e||e.complete&&0!==e.naturalWidth||Wi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Ti()))})),t.metadata.size=[]}}(Dt[i]),ce(i,a)}},get:ne,getId:Gt,getNode:ee,getValue:function(t){return t in Dt?Dt[t]:null},has:re,hashText:te,iframe:Zt,lookup:ae,parse:Jt,sameorigin:Kt,start:Ft,stop:Vt,update:function(t,e,n,a){var r=Gt(t),i=e?Gt(e):null,o=ue(t),u=!1,c=!1;if(r in Dt){var s=Dt[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:Dt[i].children.indexOf(o)+1;Dt[i].children.splice(d,0,r),s.region=Za(t)?r:Dt[i].region}else!function(t,e){if(t in Dt){var n=Dt[t];n.metadata.active=!1,n.parent=null,ce(t,e),oe(t)}}(r,a);if(null!==l&&l>=0){var f=Dt[l].children.indexOf(r);f>=0&&Dt[l].children.splice(f,1)}c=!0}for(var h in n)Qt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);$t(s),ce(r,a,u,c)}},updates:ie}),le=5e3,de={},fe=[],he=null,pe=null,ve=null;function ge(){de={},fe=[],he=null,pe=null}function me(t,e){return void 0===e&&(e=0),rt(this,void 0,void 0,(function(){var n,a,r;return it(this,(function(i){for(n=0,a=fe;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){fe[1===e?"unshift":"push"]({task:t,resolve:n,id:yi()})})),null===he&&null===pe&&ye(),[2,r]}))}))}function ye(){var t=fe.shift();t&&(he=t,t.task().then((function(){t.id===yi()&&(t.resolve(),he=null,ye())})).catch((function(e){t.id===yi()&&(e&&Dr(0,1,e.name,e.message,e.stack),he=null,ye())})))}function be(t){var e=Ee(t);return e in de?performance.now()-de[e].start>de[e].yield?0:1:2}function we(t){de[Ee(t)]={start:performance.now(),calls:0,yield:o.longTask}}function ke(t){var e=performance.now(),n=Ee(t),a=e-de[n].start;W(t.cost,a),H(5),de[n].calls>0&&W(4,a)}function Se(t){return rt(this,void 0,void 0,(function(){var e,n;return it(this,(function(a){switch(a.label){case 0:return(e=Ee(t))in de?(ke(t),n=de[e],[4,Oe()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Ee(t);if(de&&de[e]){var n=de[e].calls,a=de[e].yield;we(t),de[e].calls=n+1,de[e].yield=a}}(t),a.label=2;case 2:return[2,e in de?1:2]}}))}))}function Ee(t){return"".concat(t.id,".").concat(t.cost)}function Oe(){return rt(this,void 0,void 0,(function(){return it(this,(function(t){switch(t.label){case 0:return pe?[4,pe]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Ne(t,{timeout:le})}))]}}))}))}var Te,Ne=window.requestIdleCallback||function(t,e){var n=performance.now(),a=new MessageChannel,r=a.port1,i=a.port2;r.onmessage=function(a){var r=performance.now(),u=r-n,c=r-a.data;if(c>o.longTask&&u<e.timeout)requestAnimationFrame((function(){i.postMessage(r)}));else{var s=u>e.timeout;t({didTimeout:s,timeRemaining:function(){return s?o.longTask:Math.max(0,o.longTask-c)}})}},requestAnimationFrame((function(){i.postMessage(performance.now())}))};function Me(){Te=null}function xe(){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!==Te&&c===Te.width&&v===Te.height||null===c||null===v||(Te={width:c,height:v},Wa(8))}xe.dn=19;var _e=[];function Ie(t){var e=ar(t);if(e){var n=e.value,a=n&&n.length>=5&&o.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(e.type)?d(n,28):"";_e.push({time:s(t),event:42,data:{target:ar(t),type:e.type,value:n,checksum:a}}),me(ir.bind(this,42))}}function Ce(){_e=[]}function De(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Zt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}Ie.dn=5;var je=["input","textarea","radio","button","canvas"],Ae=[];function Re(t,e,n){var a=Zt(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=De(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=ar(n),l=function(t){for(;t&&t!==document;){if(t.nodeType===Node.ELEMENT_NODE){var e=t;if("A"===e.tagName)return e}t=t.parentNode}return null}(c),d=function(t){var e=null,n=document.documentElement;if("function"==typeof t.getBoundingClientRect){var a=t.getBoundingClientRect();a&&a.width>0&&a.height>0&&(e={x:Math.floor(a.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(a.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(a.width),h:Math.floor(a.height)})}return e}(c);0===n.detail&&d&&(i=Math.round(d.x+d.w/2),o=Math.round(d.y+d.h/2));var f=d?Math.max(Math.floor((i-d.x)/d.w*32767),0):0,h=d?Math.max(Math.floor((o-d.y)/d.h*32767),0):0;null!==i&&null!==o&&(Ae.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Pe(c),context:ze(l),text:Le(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),me(ir.bind(this,t)))}function Le(t){var e=null;if(t){var n=t.textContent||String(t.value||"")||t.alt;n&&(e=n.replace(/\s+/g," ").trim().substr(0,25))}return e}function Pe(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(je.indexOf(e)>=0)return 0}return 1}function ze(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function He(){Ae=[]}Re.dn=6;var We=[];function Xe(t,e){We.push({time:s(e),event:38,data:{target:ar(e),action:t}}),me(ir.bind(this,38))}function Ye(){We=[]}Xe.dn=7;var qe=null,Ue=[];function Fe(t){var e=ar(t),n=ne(e);if(e&&e.type&&n){var a=e.value,r=e.type;switch(e.type){case"radio":case"checkbox":a=e.checked?"true":"false"}var i={target:e,value:a,type:r};Ue.length>0&&Ue[Ue.length-1].data.target===i.target&&Ue.pop(),Ue.push({time:s(t),event:27,data:i}),q(qe),qe=Y(Ve,1e3,27)}}function Ve(t){me(ir.bind(this,t))}function Be(){Ue=[]}Fe.dn=9;var Je,Ge=[],Ke=null,Ze=!1,Qe=0,$e=new Set;function tn(t,e,n){var a=Zt(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=De(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&nn({time:s(n),event:t,data:{target:ar(n),x:i,y:o}})}function en(t,e,n){var a=Zt(e),r=a?a.contentDocument.documentElement:document.documentElement,i=n.changedTouches,o=s(n);if(i)for(var u=0;u<i.length;u++){var c=i[u],l="clientX"in c?Math.round(c.clientX+r.scrollLeft):null,d="clientY"in c?Math.round(c.clientY+r.scrollTop):null;l=l&&a?l+Math.round(a.offsetLeft):l,d=d&&a?d+Math.round(a.offsetTop):d;var f="identifier"in c?c.identifier:void 0;switch(t){case 17:0===$e.size&&(Ze=!0,Qe=f),$e.add(f);break;case 18:case 20:$e.delete(f)}var h=Ze&&Qe===f;null!==l&&null!==d&&nn({time:o,event:t,data:{target:ar(n),x:l,y:d,id:f,isPrimary:h}}),20!==t&&18!==t||Qe===f&&(Ze=!1)}}function nn(t){switch(t.event){case 12:case 15:case 19:var e=Ge.length,n=e>1?Ge[e-2]:null;n&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y,r=Math.sqrt(n*n+a*a),i=e.time-t.time,o=e.data.target===t.data.target;return e.event===t.event&&o&&r<20&&i<25}(n,t)&&Ge.pop(),Ge.push(t),q(Ke),Ke=Y(an,500,t.event);break;default:Ge.push(t),an(t.event)}}function an(t){me(ir.bind(this,t))}function rn(){Ge=[]}tn.dn=10,en.dn=11;var on=null,un=!1;function cn(){var t=document.documentElement;Je={width:t&&"clientWidth"in t?Math.min(t.clientWidth,window.innerWidth):window.innerWidth,height:t&&"clientHeight"in t?Math.min(t.clientHeight,window.innerHeight):window.innerHeight},un?(q(on),on=Y(sn,500,11)):(ir(11),un=!0)}function sn(t){me(ir.bind(this,t))}function ln(){Je=null,q(on)}cn.dn=12;var dn=[],fn=null,hn=null,pn=null;function vn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?ar(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Zt(a);e=r?r.contentWindow:e,a=n=a.documentElement}var i=a===n&&"pageXOffset"in e?Math.round(e.pageXOffset):Math.round(a.scrollLeft),o=a===n&&"pageYOffset"in e?Math.round(e.pageYOffset):Math.round(a.scrollTop),u=window.innerWidth,c=window.innerHeight,l=u/3,d=u>c?.15*c:.2*c,f=c-d,h=gn(l,d),p=gn(l,f),v={time:s(t),event:10,data:{target:a,x:i,y:o,top:h,bottom:p}};if(null===t&&0===i&&0===o||null===i||null===o)return fn=h,void(hn=p);var g=dn.length,m=g>1?dn[g-2]:null;m&&function(t,e){var n=t.data.x-e.data.x,a=t.data.y-e.data.y;return n*n+a*a<400&&e.time-t.time<25}(m,v)&&dn.pop(),dn.push(v),q(pn),pn=Y(mn,500,10)}function gn(t,e){var n,a,r;return"caretPositionFromPoint"in document?r=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(r=null===(a=document.caretRangeFromPoint(t,e))||void 0===a?void 0:a.startContainer),r||(r=document.elementFromPoint(t,e)),r&&r.nodeType===Node.TEXT_NODE&&(r=r.parentNode),r}function mn(t){me(ir.bind(this,t))}function yn(){var t,e;if(fn){var n=rr(fn,null);ui(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(hn){var a=rr(hn,null);ui(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}vn.dn=13,yn.dn=14;var bn=null,wn=null,kn=null;function Sn(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=bn.start?bn.start:null;null!==wn&&null!==bn.start&&n!==e.anchorNode&&(q(kn),En(21)),bn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},wn=e,q(kn),kn=Y(En,500,21)}}function En(t){me(ir.bind(this,t))}function On(){wn=null,bn={start:0,startOffset:0,end:0,endOffset:0}}Sn.dn=15;var Tn,Nn,Mn=[];function xn(t){Mn.push({time:s(t),event:39,data:{target:ar(t)}}),me(ir.bind(this,39))}function _n(){Mn=[]}function In(t){Tn={name:t.type},ir(26,s(t)),xo()}function Cn(){Tn=null}function Dn(t){void 0===t&&(t=null),Nn={visible:"visibilityState"in document?document.visibilityState:"default"},ir(28,s(t))}function jn(){Nn=null}function An(){or=[],cr(),He(),Ye(),rn(),Be(),un=!1,Wi(window,"resize",cn),cn(),Wi(document,"visibilitychange",Dn),Dn(),dn=[],vn(),On(),Ce(),_n(),Wi(window,"pagehide",In)}function Rn(t){!function(t){var e=Zt(t);Wi(e?e.contentWindow:t===document?window:t,"scroll",vn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Wi(t,"click",Re.bind(this,9,t),!0)}(t),function(t){Wi(t,"cut",Xe.bind(this,0),!0),Wi(t,"copy",Xe.bind(this,1),!0),Wi(t,"paste",Xe.bind(this,2),!0)}(t),function(t){Wi(t,"mousedown",tn.bind(this,13,t),!0),Wi(t,"mouseup",tn.bind(this,14,t),!0),Wi(t,"mousemove",tn.bind(this,12,t),!0),Wi(t,"wheel",tn.bind(this,15,t),!0),Wi(t,"dblclick",tn.bind(this,16,t),!0),Wi(t,"touchstart",en.bind(this,17,t),!0),Wi(t,"touchend",en.bind(this,18,t),!0),Wi(t,"touchmove",en.bind(this,19,t),!0),Wi(t,"touchcancel",en.bind(this,20,t),!0)}(t),function(t){Wi(t,"input",Fe,!0)}(t),function(t){Wi(t,"selectstart",Sn.bind(this,t),!0),Wi(t,"selectionchange",Sn.bind(this,t),!0)}(t),function(t){Wi(t,"change",Ie,!0)}(t),function(t){Wi(t,"submit",xn,!0)}(t))}xn.dn=16,In.dn=17,Dn.dn=18,An.dn=8;var Ln=Object.freeze({__proto__:null,observe:Rn,start:An,stop:function(){or=[],cr(),He(),Ye(),q(Ke),Ge.length>0&&an(Ge[Ge.length-1].event),q(qe),Be(),ln(),jn(),q(pn),dn=[],fn=null,hn=null,On(),q(kn),Ce(),_n(),Cn()}});function Pn(t,e,n,a){return rt(this,void 0,void 0,(function(){var r,i,o,u,c;return it(this,(function(s){switch(s.label){case 0:r=[t],s.label=1;case 1:if(!(r.length>0))return[3,4];for(i=r.shift(),o=i.firstChild;o;)r.push(o),o=o.nextSibling;return 0!==(u=be(e))?[3,3]:[4,Se(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=la(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var zn=[],Hn=[],Wn={},Xn=null,Yn=null,qn=null,Un=null,Fn=null,Vn=[],Bn=null,Jn=null,Gn=null,Kn={};function Zn(){if(zn=[],Vn=[],Bn=null,Gn=0,Kn={},null===Xn&&(Xn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return $i()&&aa(this.ownerNode),Xn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Un&&(Un=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return $i()&&aa(this.parentStyleSheet.ownerNode),Un.apply(this,arguments)}),null===Yn&&(Yn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return $i()&&aa(this.ownerNode),Yn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Fn&&(Fn=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return $i()&&aa(this.parentStyleSheet.ownerNode),Fn.apply(this,arguments)}),null===qn){qn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return $i()?aa(qn.apply(this,arguments)):qn.apply(this,arguments)}}catch(t){qn=null}}}function Qn(t){var e=s();Z(6,e),Hn.push({time:e,mutations:t}),me(ta,1).then((function(){Y(xe),zi(Qa)()}))}function $n(t,e,n,a){return rt(this,void 0,void 0,(function(){var r,i,u;return it(this,(function(c){switch(c.label){case 0:return 0!==(r=be(t))?[3,2]:[4,Se(t)];case 1:r=c.sent(),c.label=2;case 2:if(2===r)return[2];switch(i=e.target,u=o.throttleDom?function(t,e,n,a){var r=t.target?ne(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Gn,o=ne(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,ea(t.addedNodes),ea(t.removedNodes)].join();Kn[c]=c in Kn?Kn[c]:[0,n];var s=Kn[c];if(!1===i&&s[0]>=10&&na(s[2],2,e,a),s[0]=i?s[1]===n?s[0]:s[0]+1:1,s[1]=n,s[0]>=10)return s[2]=t.removedNodes,n>a+3e3?t.type:(Wn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Jt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Jt(i),u){case"attributes":la(i,3,a);break;case"characterData":la(i,4,a);break;case"childList":na(e.addedNodes,1,t,a),na(e.removedNodes,2,t,a)}return[2]}}))}))}function ta(){return rt(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return it(this,(function(f){switch(f.label){case 0:we(t={id:yi(),cost:3}),f.label=1;case 1:if(!(Hn.length>0))return[3,3];for(e=Hn.shift(),n=s(),a=0,r=e.mutations;a<r.length;a++)i=r[a],$n(t,i,n,e.time);return[4,Wa(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(Wn);u<c.length;u++)l=c[u],d=Wn[l],delete Wn[l],$n(t,d.mutation,s(),d.timestamp),o=!0;return Object.keys(Wn).length>0&&function(){Jn&&q(Jn);Jn=Y((function(){me(ta,1)}),33)}(),0===Object.keys(Wn).length&&o?[4,Wa(6,t,s())]:[3,5];case 4:f.sent(),f.label=5;case 5:return function(){var t=s();Object.keys(Kn).length>1e4&&(Kn={},H(38));for(var e=0,n=Object.keys(Kn);e<n.length;e++){var a=n[e];t>Kn[a][1]+3e4&&delete Kn[a]}}(),ke(t),[2]}}))}))}function ea(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function na(t,e,n,a){return rt(this,void 0,void 0,(function(){var r,i,o;return it(this,(function(u){switch(u.label){case 0:r=t?t.length:0,i=0,u.label=1;case 1:return i<r?1!==e?[3,2]:(Pn(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=be(n))?[3,4]:[4,Se(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];la(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function aa(t){return Vn.indexOf(t)<0&&Vn.push(t),Bn&&q(Bn),Bn=Y((function(){!function(){for(var t=0,e=Vn;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&re(n))continue;ra(n,a?"childList":"characterData")}}Vn=[]}()}),33),t}function ra(t,e){zi(Qn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}Zn.dn=21,Qn.dn=22,ra.dn=23;var ia=/[^0-9\.]/g;function oa(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":ui(5,t[a]),ui(8,t.creator),ui(18,t.headline);break;case"product":ui(5,t[a]),ui(10,t.name),ui(12,t.sku),t.brand&&ui(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(X(11,ua(t.ratingValue,100)),X(18,ua(t.bestRating)),X(19,ua(t.worstRating))),X(12,ua(t.ratingCount)),X(17,ua(t.reviewCount));break;case"offer":ui(7,t.availability),ui(14,t.itemCondition),ui(13,t.priceCurrency),ui(12,t.sku),X(13,ua(t.price));break;case"brand":ui(6,t.name)}null!==r&&"object"==typeof r&&oa(r)}}function ua(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(ia,""))*e)}return null}var ca=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],sa=/[\r\n]+/g;function la(t,e,n){var a,r=null;if(2===e&&!1===re(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===re(t)?"add":"update",o=t.parentElement?t.parentElement:null,u=t.ownerDocument!==document;switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:o=u&&t.parentNode?Zt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};se[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Jt(document),Ea(t,n),da(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host){if(Jt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){da(l);var d={tag:"*S",attributes:{style:""}};se[i](t,l.host,d,e)}else se[i](t,l.host,{tag:"*P",attributes:{}},e);Ea(t,n)}break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&re(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};se[i](t,o,f,e)}break;case Node.ELEMENT_NODE:var h=t,p=h.tagName,v=function(t){var e={},n=t.attributes;if(n&&n.length>0)for(var a=0;a<n.length;a++){var r=n[a].name;ca.indexOf(r)<0&&(e[r]=n[a].value)}"INPUT"===t.tagName&&!("value"in e)&&t.value&&(e.value=t.value);return e}(h);switch(o=t.parentElement?t.parentElement:t.parentNode?t.parentNode:null,"http://www.w3.org/2000/svg"===h.namespaceURI&&(p="svg:"+p),p){case"HTML":o=u&&o?Zt(o):o;var g={tag:(u?"iframe:":"")+p,attributes:v};se[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{oa(JSON.parse(h.text.replace(sa,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};se[i](t,o,m,e);break;case"META":var y="property"in v?"property":"name"in v?"name":null;if(y&&"content"in v){var b=v.content;switch(v[y]){case"og:title":ui(20,b);break;case"og:type":ui(19,b);break;case"generator":ui(21,b)}}break;case"HEAD":var w={tag:p,attributes:v},k=u&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.location)?t.ownerDocument.location:location;w.attributes["*B"]=k.protocol+"//"+k.host+k.pathname,se[i](t,o,w,e);break;case"BASE":var S=ne(t.parentElement);if(S){var E=document.createElement("a");E.href=v.href,S.data.attributes["*B"]=E.protocol+"//"+E.host+E.pathname}break;case"STYLE":var O={tag:p,attributes:v,value:fa(h)};se[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Kt(T)&&(!function(t){!1===re(t)&&Wi(t,"load",ra.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),se[i](t,o,N,e);break;case"LINK":if(hi&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var x=document.styleSheets[M];if(x.ownerNode==h){var _={tag:"STYLE",attributes:v,value:ha(x)};se[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};se[i](t,o,I,e);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var C={tag:p,attributes:v};se[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),se[i](t,o,D,e)}}return r}function da(t){re(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](zi(Qn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),zn.push(n))}catch(t){Dr(2,0,t?t.name:null)}}(t),Rn(t))}function fa(t){var e=t.textContent?t.textContent.trim():"",n=t.dataset?Object.keys(t.dataset).length:0;return(0===e.length||n>0||t.id.length>0)&&(e=ha(t.sheet)),e}function ha(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Dr(1,1,t?t.name:null),t&&"SecurityError"!==t.name)throw t}if(null!==n)for(var a=0;a<n.length;a++)e+=n[a].cssText;return e}var pa=[],va=[],ga=null,ma=null,ya="claritySheetId",ba="claritySheetNum",wa={},ka={},Sa=[];function Ea(t,e){if(-1===Sa.indexOf(t)&&Sa.push(t),e=e||s(),null==t?void 0:t.adoptedStyleSheets){X(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=di.pageNum;i[ba]!==o&&(i[ba]=o,i[ya]=Ti(),Ta(e,i[ya],0),Ta(e,i[ya],2,ha(i))),n.push(i[ya])}var u=Gt(t,!0);wa[u]||(wa[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,wa[u])||(!function(t,e,n,a){va.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),Wa(45)}(e,t==document?-1:Gt(t),3,n),wa[u]=n,ka[u]=e)}}function Oa(){va=[],pa=[]}function Ta(t,e,n,a){pa.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),Wa(46)}var Na=[],Ma=null,xa=null,_a=null,Ia=null,Ca=null,Da=null,ja="clarityAnimationId",Aa="clarityOperationCount",Ra=20;function La(){Na=[]}function Pa(t,e,n,a,r,i,o){Na.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),Wa(44)}function za(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return Ha(this,e),t.apply(this,arguments)})}function Ha(t,e){if($i()){var n=t.effect,a=Gt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[ja]){t[ja]=Ti(),t[Aa]=0;var r=n.getKeyframes(),i=n.getTiming();Pa(s(),t[ja],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[Aa]++<Ra){var o=null;switch(e){case"play":o=1;break;case"pause":o=2;break;case"cancel":o=3;break;case"finish":o=4;break;case"commitStyles":o=5}o&&Pa(s(),t[ja],o)}}}}function Wa(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),rt(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,m,b,w,k,S,E,O,T,N,M,x,C,D,j,A,R,L;return it(this,(function(P){switch(P.label){case 0:switch(a=n||s(),r=[a,t],t){case 8:return[3,1];case 7:return[3,2];case 45:case 46:return[3,3];case 44:return[3,4];case 5:case 6:return[3,5]}return[3,12];case 1:return i=Te,r.push(i.width),r.push(i.height),_(t,i.width,i.height),wr(r),[3,12];case 2:for(u=0,c=Ua;u<c.length;u++)l=c[u],(r=[l.time,7]).push(l.data.id),r.push(l.data.interaction),r.push(l.data.visibility),r.push(l.data.name),wr(r);return nr(),[3,12];case 3:for(d=0,f=va;d<f.length;d++)m=f[d],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.newIds),wr(r);for(h=0,p=pa;h<p.length;h++)m=p[h],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.cssRules),wr(r);return Oa(),[3,12];case 4:for(v=0,g=Na;v<g.length;v++)m=g[v],(r=[m.time,m.event]).push(m.data.id),r.push(m.data.operation),r.push(m.data.keyFrames),r.push(m.data.timing),r.push(m.data.timeline),r.push(m.data.targetId),wr(r);return La(),[3,12];case 5:if(2===be(e))return[3,12];if(!((b=ie()).length>0))return[3,11];w=0,k=b,P.label=6;case 6:return w<k.length?(S=k[w],0!==(E=be(e))?[3,8]:[4,Se(e)]):[3,10];case 7:E=P.sent(),P.label=8;case 8:if(2===E)return[3,10];for(O=S.data,T=S.metadata.active,N=S.metadata.suspend,M=S.metadata.privacy,x=function(t){var e=t.metadata.privacy;return"*T"===t.data.tag&&!(0===e||1===e)}(S),C=0,D=T?["tag","attributes","value"]:["tag"];C<D.length;C++)if(O[j=D[C]])switch(j){case"tag":A=Xa(S),R=x?-1:1,r.push(S.id*R),S.parent&&T&&(r.push(S.parent),S.previous&&r.push(S.previous)),r.push(N?"*M":O[j]),A&&2===A.length&&r.push("".concat("#").concat(Ya(A[0]),".").concat(Ya(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(qa(L,O[j][L],M));break;case"value":Tt(S.metadata.fraud,S.id,O[j]),r.push(y(O[j],O.tag,M,x))}P.label=9;case 9:return w++,[3,6];case 10:6===t&&I(a),wr(function(t){for(var e=[],n={},a=0,r=null,i=0;i<t.length;i++)if("string"==typeof t[i]){var o=t[i],u=n[o]||-1;u>=0?r?r.push(u):(r=[u],e.push(r),a++):(r=null,e.push(o),n[o]=a++)}else r=null,e.push(t[i]),a++;return e}(r),!o.lean),P.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Xa(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=ee(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Ya(t){return t.toString(36)}function qa(t,e,n){return"".concat(t,"=").concat(y(e,0===t.indexOf("data-")?"data-":t,n))}var Ua=[],Fa=null,Va={},Ba=[],Ja=!1,Ga=null;function Ka(t,e){!1===Fa.has(t)&&(Fa.set(t,e),(Ga=null===Ga&&Ja?new IntersectionObserver($a,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ga)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ga.observe(t))}function Za(t){return Fa&&Fa.has(t)}function Qa(){for(var t=[],e=0,n=Ba;e<n.length;e++){var a=n[e],r=Gt(a.node);r?(a.state.data.id=r,Va[r]=a.state.data,Ua.push(a.state)):t.push(a)}Ba=t,Ua.length>0&&Wa(7)}function $a(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(Fa.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Gt(r):null,s=c in Va?Va[c]:{id:c,name:Fa.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;tr(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ga&&Ga.unobserve(r)}}Ua.length>0&&Wa(7)}function tr(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 Va&&r||!(e.id in Va))&&(Va[e.id]=e,Ua.push(er(e))):Ba.push({node:t,state:er(e)})}function er(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function nr(){Ua=[]}function ar(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Gn=s()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function rr(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ne(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=ee(t),a=t in Va?Va[t]:{id:t,visibility:0,interaction:16,name:Fa.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}tr(n,a,r,a.visibility)}(r.region,e),i.fraud&&Tt(i.fraud,r.id,n||r.data.value)}}return a}function ir(t,e){return void 0===e&&(e=null),rt(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,m,w,k,S,E,O,T,N,M,x,I,D,j,A,R,L,P,z,H,W,X;return it(this,(function(Y){switch(n=e||s(),a=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(r=0,i=Ge;r<i.length;r++)W=i[r],(o=rr(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(o.id),a.push(W.data.x),a.push(W.data.y),void 0!==W.data.id&&(a.push(W.data.id),void 0!==W.data.isPrimary&&a.push(W.data.isPrimary.toString())),wr(a),_(W.event,W.data.x,W.data.y));rn();break;case 9:for(u=0,c=Ae;u<c.length;u++)W=c[u],l=rr(W.data.target,W.event,W.data.text),a=[W.time,W.event],d=l.hash?l.hash.join("."):"",a.push(l.id),a.push(W.data.x),a.push(W.data.y),a.push(W.data.eX),a.push(W.data.eY),a.push(W.data.button),a.push(W.data.reaction),a.push(W.data.context),a.push(y(W.data.text,"click",l.privacy)),a.push(b(W.data.link)),a.push(d),a.push(W.data.trust),wr(a),sr(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);He();break;case 38:for(f=0,h=We;f<h.length;f++)W=h[f],a=[W.time,W.event],(P=rr(W.data.target,W.event)).id>0&&(a.push(P.id),a.push(W.data.action),wr(a));Ye();break;case 11:p=Je,a.push(p.width),a.push(p.height),_(t,p.width,p.height),ln(),wr(a);break;case 26:v=Tn,a.push(v.name),Cn(),wr(a);break;case 27:for(g=0,m=Ue;g<m.length;g++)W=m[g],w=rr(W.data.target,W.event,W.data.value),(a=[W.time,W.event]).push(w.id),a.push(y(W.data.value,"input",w.privacy,!1,W.data.type)),wr(a);Be();break;case 21:(k=bn)&&(S=rr(k.start,t),E=rr(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),On(),wr(a));break;case 10:for(O=0,T=dn;O<T.length;O++)W=T[O],N=rr(W.data.target,W.event),M=rr(W.data.top,W.event),x=rr(W.data.bottom,W.event),I=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==x?void 0:x.hash)?x.hash.join("."):"",N.id>0&&((a=[W.time,W.event]).push(N.id),a.push(W.data.x),a.push(W.data.y),a.push(I),a.push(D),wr(a),_(W.event,W.data.x,W.data.y,W.time));dn=[],fn=null,hn=null;break;case 42:for(j=0,A=_e;j<A.length;j++)W=A[j],a=[W.time,W.event],(P=rr(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(P.id),a.push(W.data.type),a.push(y(W.data.value,"change",P.privacy)),a.push(y(W.data.checksum,"checksum",P.privacy)),wr(a));Ce();break;case 39:for(R=0,L=Mn;R<L.length;R++)W=L[R],a=[W.time,W.event],(P=rr(W.data.target,W.event)).id>0&&(a.push(P.id),wr(a));_n();break;case 22:for(z=0,H=ur;z<H.length;z++)W=H[z],(a=[W.time,W.event]).push(W.data.type),a.push(W.data.hash),a.push(W.data.x),a.push(W.data.y),a.push(W.data.reaction),a.push(W.data.context),wr(a,!1);cr();break;case 28:X=Nn,a.push(X.visible),wr(a),C(n,X.visible),jn()}return[2]}))}))}Qa.dn=24;var or=[],ur=[];function cr(){ur=[]}function sr(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),or.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),_(e,a,r)}var lr,dr,fr,hr,pr,vr=0,gr=0,mr=null,yr=0;function br(){hr=!0,vr=0,gr=0,yr=0,lr=[],dr=[],fr={},pr=null}function wr(t,e){if(void 0===e&&(e=!0),hr){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:vr+=r.length;case 37:case 6:case 43:case 45:case 46:gr+=r.length,lr.push(r);break;default:dr.push(r)}H(25);var i=function(){var t=!1===o.lean&&vr>0?100:Di.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-yr>2*i&&(q(mr),mr=null),e&&null===mr&&(25!==a&&B(),mr=Y(Sr,i),yr=n,Qr(gr))}}function kr(){q(mr),Sr(!0),vr=0,gr=0,yr=0,lr=[],dr=[],fr={},pr=null,hr=!1}function Sr(t){return void 0===t&&(t=!1),rt(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return it(this,(function(l){switch(l.label){case 0:return mr=null,(e=!1===o.lean&&gr>0&&(gr<1048576||Di.sequence>0))&&X(1,1),Qa(),function(){var t=[];ur=[];for(var e=Di.start+Di.duration,n=Math.max(e-2e3,0),a=0,r=or;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&ur.push(i),t.push(i))}or=t,ir(22)}(),St(),function(){for(var t=0,e=Sa;t<e.length;t++){var n=e[t],a=n==document?-1:Gt(n),r=a in ka?ka[a]:null;Ea(document,r)}}(),n=!0===t,a=JSON.stringify(Ri(n)),r="[".concat(dr.join(),"]"),i=e?"[".concat(lr.join(),"]"):"",u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:a,a:r,p:i}),n?(s=null,[3,3]):[3,1];case 1:return[4,vt(u)];case 2:s=l.sent(),l.label=3;case 3:return W(2,(c=s)?c.length:u.length),Er(u,c,Di.sequence,n),dr=[],e&&(lr=[],gr=0,vr=0),[2]}}))}))}function Er(t,e,n,a){if(void 0===a&&(a=!1),"string"==typeof o.upload){var r=o.upload,i=!1;if(a&&"sendBeacon"in navigator)try{(i=navigator.sendBeacon.bind(navigator)(r,t))&&Tr(n)}catch(t){}if(!1===i){n in fr?fr[n].attempts++:fr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Pi(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){zi(Or)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-clarity-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),Tr(n)}}function Or(t,e){var n=fr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?$r(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Er(n.data,null,e)):(pr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Kr(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,a=e;n<a.length;n++){var r=a[n],i=r&&r.length>0?r.split(/ (.*)/):[""];switch(i[0]){case"END":$r(6);break;case"UPGRADE":nt("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Xr(i[1]);break;case"SIGNAL":i.length>1&&yt(i[1])}}}(t.responseText),0===t.status&&(Er(n.data,null,e,!0),$r(3)),t.status>=200&&t.status<=208&&Tr(e),delete fr[e]))}function Tr(t){1===t&&(Si(),ki())}var Nr,Mr={};function xr(t){var e=t.error||t;return e.message in Mr||(Mr[e.message]=0),Mr[e.message]++>=5||e&&e.message&&(Nr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},_r(31)),!0}function _r(t){return rt(this,void 0,void 0,(function(){var e;return it(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Nr.message),e.push(Nr.line),e.push(Nr.column),e.push(Nr.stack),e.push(b(Nr.source)),wr(e);break;case 33:Ir&&(e.push(Ir.code),e.push(Ir.name),e.push(Ir.message),e.push(Ir.stack),e.push(Ir.severity),wr(e,!1));break;case 41:Et&&(e.push(Et.id),e.push(Et.target),e.push(Et.checksum),wr(e,!1))}return[2]}))}))}xr.dn=4;var Ir,Cr={};function Dr(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 Cr&&Cr[t].indexOf(i)>=0||(Ir={code:t,name:n,message:a,stack:r,severity:e},t in Cr?Cr[t].push(i):Cr[t]=[i],_r(33))}var jr,Ar={},Rr=new Set,Lr={},Pr={},zr={},Hr={};function Wr(){Ur()}function Xr(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),a=parseInt(n[0]),r=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Lr[a]={},Pr[a]={},zr[a]={},Hr[a]=r,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.substring(1,c.length);Lr[a][u]=Br(l);break;case 2:Pr[a][u]=c;break;case 4:var d=c.substring(1,c.length);zr[a][u]=d}}}catch(t){Dr(8,1,t?t.name:null)}}function Yr(t){return JSON.parse(JSON.stringify(t))}function qr(){try{for(var t in Lr){var e=parseInt(t);if(""==Hr[e]||document.querySelector(Hr[e])){var n=Lr[e];for(var a in n){var r=parseInt(a),i=(h=Jr(Yr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Fr(e,r,i)}var o=Pr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Fr(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=zr[e];for(var d in l){var f=parseInt(d);Fr(e,f,te(l[f]).trim().substring(0,1e4))}}}Rr.size>0&&Kr(40)}catch(t){Dr(5,1,t?t.name:null)}var h}function Ur(){Rr.clear()}function Fr(t,e,n){var a,r=!1;t in Ar||(Ar[t]={},r=!0),a=zr[t],0==Object.keys(a).length||e in Ar[t]&&Ar[t][e]==n||(r=!0),Ar[t][e]=n,r&&Rr.add(t)}function Vr(){Ur()}function Br(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 Jr(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&&Gr(r,a.condition))n=Jr(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Gr(c,a.condition)){var s=Jr(t,c);s&&i.push(s)}}n=i}return n}return null}function Gr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Kr(t){var e=[s(),t];switch(t){case 4:var n=T;n&&((e=[n.time,n.event]).push(n.data.visible),e.push(n.data.docWidth),e.push(n.data.docHeight),e.push(n.data.screenWidth),e.push(n.data.screenHeight),e.push(n.data.scrollX),e.push(n.data.scrollY),e.push(n.data.pointerX),e.push(n.data.pointerY),e.push(n.data.activityTime),e.push(n.data.scrollTime),wr(e,!1)),x();break;case 25:e.push(L.gap),wr(e);break;case 35:e.push(jr.check),wr(e,!1);break;case 3:e.push(et.key),wr(e);break;case 2:e.push(pr.sequence),e.push(pr.attempts),e.push(pr.status),wr(e,!1);break;case 24:A.key&&e.push(A.key),e.push(A.value),wr(e);break;case 34:var a=Object.keys(ot);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(ot[o])}dt(),wr(e,!1)}break;case 0:var u=Object.keys(z);if(u.length>0){for(var c=0,l=u;c<l.length;c++){var d=l[c],f=parseInt(d,10);e.push(f),e.push(Math.round(z[d]))}z={},wr(e,!1)}break;case 1:var h=Object.keys(ai);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(ai[g])}si(),wr(e,!1)}break;case 36:var m=Object.keys(K);if(m.length>0){for(var y=0,b=m;y<b.length;y++){var w=b[y];f=parseInt(w,10);e.push(f),e.push([].concat.apply([],K[w]))}$(),wr(e,!1)}break;case 40:Rr.forEach((function(t){e.push(t);var n=[];for(var a in Ar[t]){var r=parseInt(a,10);n.push(r),n.push(Ar[t][a])}e.push(n)})),Ur(),wr(e,!1)}}function Zr(){jr={check:0}}function Qr(t){if(0===jr.check){var e=jr.check;e=Di.sequence>=128?1:e,e=Di.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==jr.check&&$r(e)}}function $r(t){jr.check=t,5!==t&&(wi(),xo())}function ti(){0!==jr.check&&Kr(35)}function ei(){jr=null}var ni=null,ai=null,ri=!1;function ii(){ni={},ai={},ri=!1}function oi(){ni={},ai={},ri=!1}function ui(t,e){if(e&&(e="".concat(e),t in ni||(ni[t]=[]),ni[t].indexOf(e)<0)){if(ni[t].length>128)return void(ri||(ri=!0,$r(5)));ni[t].push(e),t in ai||(ai[t]=[]),ai[t].push(e)}}function ci(){Kr(1)}function si(){ai={},ri=!1}function li(t){ui(36,t.toString())}var di=null,fi=[],hi=0,pi=null;function vi(){var t,e,n;pi=null;var a=navigator&&"userAgent"in navigator?navigator.userAgent:"",r=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";hi=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Ti(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=xi("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-Ni(n[1])<18e5&&(t.session=n[0],t.count=Ni(n[2])+1,t.upgrade=Ni(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=Mi(),h=o.projectId||d(location.host);di={projectId:h,userId:f.id,sessionId:l.session,pageNum:l.count},o.lean=o.track&&null!==l.upgrade?0===l.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&l.upload&&l.upload.length>"https://".length?l.upload:o.upload,ui(0,a),ui(3,c),ui(1,b(location.href,!!hi)),ui(2,document.referrer),ui(15,function(){var t=Ti();if(o.track&&Ei(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),ui(16,document.documentElement.lang),ui(17,document.dir),ui(26,"".concat(window.devicePixelRatio)),ui(28,f.dob.toString()),ui(29,f.version.toString()),ui(33,u),ui(34,r),ui(35,i),X(0,l.ts),X(1,0),X(35,hi),navigator&&(ui(9,navigator.language),X(33,navigator.hardwareConcurrency),X(32,navigator.maxTouchPoints),X(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;ui(22,t.platform),ui(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){ui(24,t.name+"~"+t.version)})),ui(25,t.model),X(27,t.mobile?1:0)})):ui(22,navigator.platform)),screen&&(X(14,Math.round(screen.width)),X(15,Math.round(screen.height)),X(16,Math.round(screen.colorDepth)));for(var p=0,v=o.cookies;p<v.length;p++){var g=v[p],m=xi(g);m&&ut(g,m)}!function(t){li(t?1:0)}(o.track),Oi(f)}function gi(){pi=null,di=null,fi.forEach((function(t){t.called=!1}))}function mi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=o.lean?0:1,r=!1;di&&(a||!1===e)&&(t(di,!o.lean),r=!0),!n&&r||fi.push({callback:t,wait:e,recall:n,called:r})}function yi(){return di?[di.userId,di.sessionId,di.pageNum].join("."):""}function bi(t){if(void 0===t&&(t=!0),!t)return o.track=!1,Ii("_clsk","",-Number.MAX_VALUE),Ii("_clck","",-Number.MAX_VALUE),xo(),void window.setTimeout(Mo,250);$i()&&(o.track=!0,Oi(Mi(),1),Si(),li(2))}function wi(){Ii("_clsk","",0)}function ki(){!function(t){if(fi.length>0)for(var e=0;e<fi.length;e++){var n=fi[e];!n.callback||n.called||n.wait&&!t||(n.callback(di,!o.lean),n.called=!0,n.recall||(fi.splice(e,1),e--))}}(o.lean?0:1)}function Si(){if(di){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;Ii("_clsk",[di.sessionId,t,di.pageNum,n,e].join("|"),1)}}function Ei(t,e){try{return!!t[e]}catch(t){return!1}}function Oi(t,e){void 0===e&&(e=null),e=null===e?t.consent:e;var n=Math.ceil((Date.now()+31536e6)/864e5),a=0===t.dob?null===o.dob?0:o.dob:t.dob;(null===t.expiry||Math.abs(n-t.expiry)>=1||t.consent!==e||t.dob!==a)&&Ii("_clck",[di.userId,2,n.toString(36),e,a].join("|"),365)}function Ti(){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 Ni(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Mi(){var t={id:Ti(),version:0,expiry:null,consent:0,dob:0},e=xi("_clck",!o.includeSubdomains);if(e&&e.length>0){for(var n=e.split("|"),a=0,r=0,i=document.cookie.split(";");r<i.length;r++){a+="_clck"===i[r].split("=")[0].trim()?1:0}if(1===n.length||a>1){var u="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(u),document.cookie="".concat("_clsk","=").concat(u)}n.length>1&&(t.version=Ni(n[1])),n.length>2&&(t.expiry=Ni(n[2],36)),n.length>3&&1===Ni(n[3])&&(t.consent=1),n.length>4&&Ni(n[1])>1&&(t.dob=Ni(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function xi(t,e){var n;if(void 0===e&&(e=!1),Ei(document,"cookie")){var a=document.cookie.split(";");if(a)for(var r=0;r<a.length;r++){var i=a[r].split("=");if(i.length>1&&i[0]&&i[0].trim()===t){for(var o=_i(i[1]),u=o[0],c=o[1];u;)u=(n=_i(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function _i(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function Ii(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||Ei(document,"cookie"))){var a=function(t){return encodeURIComponent(t)}(e),r=new Date;r.setDate(r.getDate()+n);var i=r?"expires="+r.toUTCString():"",u="".concat(t,"=").concat(a).concat(";").concat(i).concat(";path=/");try{if(null===pi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(pi=".".concat(c[s]).concat(pi||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(pi),xi(t)===e))return;pi=""}}catch(t){pi=""}document.cookie=pi?"".concat(u).concat(";").concat("domain=").concat(pi):u}}var Ci,Di=null;function ji(){var t=di;Di={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function Ai(){Di=null}function Ri(t){return Di.start=Di.start+Di.duration,Di.duration=s()-Di.start,Di.sequence++,Di.upload=t&&"sendBeacon"in navigator?1:0,Di.end=t?1:0,Di.applicationPlatform=0,Di.url=b(location.href,!1,!0),[Di.version,Di.sequence,Di.start,Di.duration,Di.projectId,Di.userId,Di.sessionId,Di.pageNum,Di.upload,Di.end,Di.applicationPlatform,Di.url]}function Li(){Ci=[]}function Pi(t){if(Ci&&-1===Ci.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Di.version,p:Di.projectId,u:Di.userId,s:Di.sessionId,n:Di.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var a=new XMLHttpRequest;a.open("POST",e,!0),a.send(JSON.stringify(n)),Ci.push(t.message)}}return t}function zi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Pi(t)}var n=performance.now()-e;W(4,n),n>o.longTask&&(H(7),X(6,n),Dr(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var Hi=[];function Wi(t,e,n,a){void 0===a&&(a=!1),n=zi(n);try{t[u("addEventListener")](e,n,a),Hi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Xi(){for(var t=0,e=Hi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}Hi=[]}var Yi=null,qi=null,Ui=null,Fi=0;function Vi(){return!(Fi++>20)||(Dr(4,0),!1)}function Bi(){Fi=0,Ui!==Gi()&&(xo(),window.setTimeout(Ji,250))}function Ji(){Mo(),X(29,1)}function Gi(){return location.href?location.href.replace(location.hash,""):location.href}Bi.dn=1;var Ki=!1;function Zi(){Ki=!0,c=performance.now()+performance.timeOrigin,ge(),Xi(),Li(),Ui=Gi(),Fi=0,Wi(window,"popstate",Bi),null===Yi&&(Yi=history.pushState,history.pushState=function(){Yi.apply(this,arguments),$i()&&Vi()&&Bi()}),null===qi&&(qi=history.replaceState,history.replaceState=function(){qi.apply(this,arguments),$i()&&Vi()&&Bi()})}function Qi(){Ui=null,Fi=0,Li(),Xi(),ge(),c=0,Ki=!1}function $i(){return Ki}function to(){Mo(),R("clarity","restart")}function eo(){!function(){Ot=[],X(26,navigator.webdriver?1:0);try{X(31,window.top==window.self||window.top==window?1:2)}catch(t){X(31,0)}}(),Wi(window,"error",xr),Mr={},Cr={}}to.dn=2,eo.dn=3;var no=Object.freeze({__proto__:null,start:eo,stop:function(){Cr={}}});function ao(){return rt(this,void 0,void 0,(function(){var t,e;return it(this,(function(n){switch(n.label){case 0:return t=s(),we(e={id:yi(),cost:3}),[4,Pn(document,e,0,t)];case 1:return n.sent(),Ea(document,t),[4,Wa(5,e,t)];case 2:return n.sent(),ke(e),[2]}}))}))}function ro(){Me(),xe(),nr(),Ga=null,Fa=new WeakMap,Va={},Ba=[],Ja=!!window.IntersectionObserver,Ft(),o.delayDom?Wi(window,"load",(function(){Zn()})):Zn(),me(ao,1).then((function(){zi(xe)(),zi(Qa)(),zi(yn)()})),window.CSSStyleSheet&&CSSStyleSheet.prototype&&(null===ga&&(ga=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return $i()&&(X(36,1),this[ba]===di.pageNum&&Ta(s(),this[ya],1,arguments[0])),ga.apply(this,arguments)}),null===ma&&(ma=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return $i()&&(X(36,1),this[ba]===di.pageNum&&Ta(s(),this[ya],2,arguments[0])),ma.apply(this,arguments)})),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(La(),za(xa,"play"),za(_a,"pause"),za(Ia,"commitStyles"),za(Ca,"cancel"),za(Da,"finish"),null===Ma&&(Ma=Element.prototype.animate,Element.prototype.animate=function(){var t=Ma.apply(this,arguments);return Ha(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?Ha(n,"finish"):"paused"===n.playState||"idle"===n.playState?Ha(n,"pause"):"running"===n.playState&&Ha(n,"play")}}()}ro.dn=20;var io=Object.freeze({__proto__:null,hashText:te,start:ro,stop:function(){nr(),Fa=null,Va={},Ba=[],Ga&&(Ga.disconnect(),Ga=null),Ja=!1,Vt(),function(){for(var t=0,e=zn;t<e.length;t++){var n=e[t];n&&n.disconnect()}zn=[],Kn={},Hn=[],Wn=[],Vn=[],Gn=0,Bn=null}(),Me(),wa={},ka={},Sa=[],Oa(),La()}});var oo=null;function uo(){oo=null}function co(t){oo={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){rt(this,void 0,void 0,(function(){var e,n;return it(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(oo.fetchStart),n.push(oo.connectStart),n.push(oo.connectEnd),n.push(oo.requestStart),n.push(oo.responseStart),n.push(oo.responseEnd),n.push(oo.domInteractive),n.push(oo.domComplete),n.push(oo.loadEventStart),n.push(oo.loadEventEnd),n.push(oo.redirectCount),n.push(oo.size),n.push(oo.type),n.push(oo.protocol),n.push(oo.encodedSize),n.push(oo.decodedSize),uo(),wr(n)),[2]}))}))}(29)}var so,lo=0,fo=1/0,ho=0,po=0,vo=[],go=new Map,mo=function(){return lo||0},yo=function(){if(!vo.length)return-1;var t=Math.min(vo.length-1,Math.floor((mo()-po)/50));return vo[t].latency},bo=function(){po=mo(),vo.length=0,go.clear()},wo=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?lo=performance.interactionCount:t.interactionId&&(fo=Math.min(fo,t.interactionId),ho=Math.max(ho,t.interactionId),lo=ho?(ho-fo)/7+1:0)}(t);var e=vo[vo.length-1],n=go.get(t.interactionId);if(n||vo.length<10||t.duration>(null==e?void 0:e.latency)){if(n)t.duration>n.latency&&(n.latency=t.duration);else{var a={id:t.interactionId,latency:t.duration};go.set(a.id,a),vo.push(a)}vo.sort((function(t,e){return e.latency-t.latency})),vo.length>10&&vo.splice(10).forEach((function(t){return go.delete(t.id)}))}}},ko=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function So(){try{so&&so.disconnect(),so=new PerformanceObserver(zi(Eo));for(var t=0,e=ko;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&W(9,0),so.observe({type:n,buffered:!0}))}}catch(t){Dr(3,1)}}function Eo(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":co(a);break;case"resource":var r=a.name;ui(4,Oo(r)),r!==o.upload&&r!==o.fallback||X(28,a.duration);break;case"longtask":H(7);break;case"first-input":e&&X(10,a.processingStart-a.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(wo(a),ui(37,yo().toString()));break;case"layout-shift":e&&!a.hadRecentInput&&W(9,1e3*a.value);break;case"largest-contentful-paint":e&&X(8,a.startTime)}}}(t.getEntries())}function Oo(t){var e=document.createElement("a");return e.href=t,e.host}function To(){uo(),function(){navigator&&"connection"in navigator&&ui(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Wi(window,"load",Y.bind(this,So,0)):So():Dr(3,0)}()}So.dn=26,Eo.dn=27,To.dn=25;var No=[no,io,Ln,Object.freeze({__proto__:null,start:To,stop:function(){so&&so.disconnect(),so=null,bo(),uo()}})];function Mo(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Ki&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||Ki)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Zi(),wt(),No.forEach((function(t){return zi(t.start)()})),null===t&&Do())}function xo(){$i()&&(No.slice().reverse().forEach((function(t){return zi(t.stop)()})),kt(),Qi(),void 0!==Io&&(Io[Co]=function(){(Io[Co].q=Io[Co].q||[]).push(arguments),"start"===arguments[0]&&Io[Co].q.unshift(Io[Co].q.pop())&&Do()}))}var _o=Object.freeze({__proto__:null,consent:bi,event:R,hashText:te,identify:ct,metadata:mi,pause:function(){$i()&&(R("clarity","pause"),null===pe&&(pe=new Promise((function(t){ve=t}))))},resume:function(){$i()&&(pe&&(ve(),pe=null,null===he&&ye()),R("clarity","resume"))},set:ut,signal:function(t){mt=t},start:Mo,stop:xo,upgrade:nt,version:l}),Io=window,Co="clarity";function Do(){if(void 0!==Io){if(Io[Co]&&Io[Co].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=Io[Co]&&Io[Co].q||[];for(Io[Co]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return _o[t].apply(_o,e)},Io[Co].v=l;t.length>0;)Io[Co].apply(Io,t.shift())}}Do()}();
|