clarity-js 0.7.60 → 0.7.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/clarity.extended.js +1 -1
- package/build/clarity.insight.js +1 -1
- package/build/clarity.js +31 -11
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +31 -11
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/scrub.ts +18 -10
- package/src/data/envelope.ts +10 -3
- package/src/data/upload.ts +2 -2
- package/src/layout/dom.ts +7 -1
- package/types/data.d.ts +27 -19
package/build/clarity.js
CHANGED
|
@@ -190,6 +190,7 @@ function hash (input, precision) {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
var catchallRegex = /\S/gi;
|
|
193
|
+
var maxUrlLength = 255;
|
|
193
194
|
var unicodeRegex = true;
|
|
194
195
|
var digitRegex = null;
|
|
195
196
|
var letterRegex = null;
|
|
@@ -271,19 +272,26 @@ function text$1(value, hint, privacy, mangle, type) {
|
|
|
271
272
|
}
|
|
272
273
|
return value;
|
|
273
274
|
}
|
|
274
|
-
function url$1(input, electron) {
|
|
275
|
+
function url$1(input, electron, truncate) {
|
|
275
276
|
if (electron === void 0) { electron = false; }
|
|
277
|
+
if (truncate === void 0) { truncate = false; }
|
|
278
|
+
var result = input;
|
|
276
279
|
// Replace the URL for Electron apps so we don't send back file:/// URL
|
|
277
280
|
if (electron) {
|
|
278
|
-
|
|
281
|
+
result = "".concat("https://" /* Data.Constant.HTTPS */).concat("Electron" /* Data.Constant.Electron */);
|
|
279
282
|
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
else {
|
|
284
|
+
var drop_1 = config$2.drop;
|
|
285
|
+
if (drop_1 && drop_1.length > 0 && input && input.indexOf("?") > 0) {
|
|
286
|
+
var _a = input.split("?"), path = _a[0], query = _a[1];
|
|
287
|
+
var swap_1 = "*na*" /* Data.Constant.Dropped */;
|
|
288
|
+
result = path + "?" + query.split("&").map(function (p) { return drop_1.some(function (x) { return p.indexOf("".concat(x, "=")) === 0; }) ? "".concat(p.split("=")[0], "=").concat(swap_1) : p; }).join("&");
|
|
289
|
+
}
|
|
285
290
|
}
|
|
286
|
-
|
|
291
|
+
if (truncate) {
|
|
292
|
+
result = result.substring(0, maxUrlLength);
|
|
293
|
+
}
|
|
294
|
+
return result;
|
|
287
295
|
}
|
|
288
296
|
function mangleText(value) {
|
|
289
297
|
var trimmed = value.trim();
|
|
@@ -673,6 +681,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
673
681
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
674
682
|
PERFORMANCE OF THIS SOFTWARE.
|
|
675
683
|
***************************************************************************** */
|
|
684
|
+
/* global Reflect, Promise */
|
|
685
|
+
|
|
676
686
|
|
|
677
687
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
678
688
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -1126,8 +1136,12 @@ function getId(node, autogen) {
|
|
|
1126
1136
|
return id ? id : null;
|
|
1127
1137
|
}
|
|
1128
1138
|
function add(node, parent, data, source) {
|
|
1129
|
-
var id = getId(node, true);
|
|
1130
1139
|
var parentId = parent ? getId(parent) : null;
|
|
1140
|
+
// Do not add detached nodes
|
|
1141
|
+
if ((!parent || !parentId) && node.host == null) {
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
var id = getId(node, true);
|
|
1131
1145
|
var previousId = getPreviousId(node);
|
|
1132
1146
|
var parentValue = null;
|
|
1133
1147
|
var regionId = exists(node) ? id : null;
|
|
@@ -5057,7 +5071,9 @@ function start$8() {
|
|
|
5057
5071
|
sessionId: m.sessionId,
|
|
5058
5072
|
pageNum: m.pageNum,
|
|
5059
5073
|
upload: 0 /* Upload.Async */,
|
|
5060
|
-
end: 0 /* BooleanFlag.False
|
|
5074
|
+
end: 0 /* BooleanFlag.False */,
|
|
5075
|
+
applicationPlatform: 0 /* ApplicationPlatform.WebApp */,
|
|
5076
|
+
url: ''
|
|
5061
5077
|
};
|
|
5062
5078
|
}
|
|
5063
5079
|
function stop$7() {
|
|
@@ -5069,6 +5085,8 @@ function envelope(last) {
|
|
|
5069
5085
|
data$1.sequence++;
|
|
5070
5086
|
data$1.upload = last && "sendBeacon" in navigator ? 1 /* Upload.Beacon */ : 0 /* Upload.Async */;
|
|
5071
5087
|
data$1.end = last ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
5088
|
+
data$1.applicationPlatform = 0 /* ApplicationPlatform.WebApp */;
|
|
5089
|
+
data$1.url = url$1(location.href, false, true);
|
|
5072
5090
|
return [
|
|
5073
5091
|
data$1.version,
|
|
5074
5092
|
data$1.sequence,
|
|
@@ -5079,7 +5097,9 @@ function envelope(last) {
|
|
|
5079
5097
|
data$1.sessionId,
|
|
5080
5098
|
data$1.pageNum,
|
|
5081
5099
|
data$1.upload,
|
|
5082
|
-
data$1.end
|
|
5100
|
+
data$1.end,
|
|
5101
|
+
data$1.applicationPlatform,
|
|
5102
|
+
data$1.url
|
|
5083
5103
|
];
|
|
5084
5104
|
}
|
|
5085
5105
|
|
package/build/clarity.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return br},get start(){return yr},get stop(){return wr},get track(){return hr}}),e=Object.freeze({__proto__:null,get clone(){return Xr},get compute(){return Yr},get data(){return jr},get keys(){return Ar},get reset(){return qr},get start(){return Hr},get stop(){return Fr},get trigger(){return Wr},get update(){return Ur}}),n=Object.freeze({__proto__:null,get check(){return Zr},get compute(){return $r},get data(){return Dr},get start(){return Kr},get stop(){return ti},get trigger(){return Qr}}),a=Object.freeze({__proto__:null,get compute(){return ui},get data(){return ei},get log(){return oi},get reset(){return ci},get start(){return ri},get stop(){return ii},get updates(){return ni}}),r=Object.freeze({__proto__:null,get callback(){return wi},get callbacks(){return di},get clear(){return bi},get consent(){return yi},get data(){return li},get electron(){return fi},get id(){return mi},get metadata(){return gi},get save(){return ki},get shortid(){return Oi},get start(){return pi},get stop(){return vi}}),i=Object.freeze({__proto__:null,get data(){return Ci},get envelope(){return Ai},get start(){return Di},get stop(){return ji}}),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=!0,p=null,v=null,g=null;function m(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;E();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=h&&null!==g?s.match(g)?s:k(s,"▪","▫"):w(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 S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return a?b(t):w(t);case"src":case"srcset":case"title":case"alt":return 3===n?"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return w(t)}break;case 4:switch(e){case"*T":case"data-":return a?b(t):w(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 k(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function y(t,e){if(void 0===e&&(e=!1),e)return"".concat("https://").concat("Electron");var n=o.drop;if(n&&n.length>0&&t&&t.indexOf("?")>0){var a=t.split("?"),r=a[0],i=a[1];return r+"?"+i.split("&").map((function(t){return n.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}return t}function b(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 w(t){return t.replace(f,"•")}function k(t,e,n){return E(),t?t.replace(v,e).replace(p,n):t}function S(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 E(){if(h&&null===p)try{p=new RegExp("\\p{N}","gu"),v=new RegExp("\\p{L}","gu"),g=new RegExp("\\p{Sc}","gu")}catch(t){h=!1}}var O=null,T=null,N=!1;function M(){N&&(O={time:s(),event:4,data:{visible:T.visible,docWidth:T.docWidth,docHeight:T.docHeight,screenWidth:T.screenWidth,screenHeight:T.screenHeight,scrollX:T.scrollX,scrollY:T.scrollY,pointerX:T.pointerX,pointerY:T.pointerY,activityTime:T.activityTime,scrollTime:T.scrollTime}}),T=T||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function x(t,e,n,a){switch(t){case 8:T.docWidth=e,T.docHeight=n;break;case 11:T.screenWidth=e,T.screenHeight=n;break;case 10:T.scrollX=e,T.scrollY=n,T.scrollTime=a;break;default:T.pointerX=e,T.pointerY=n}N=!0}function _(t){T.activityTime=t}function I(t,e){T.visible="visible"===e?1:0,T.visible||_(t),N=!0}function C(){N&&Gr(4)}var D=Object.freeze({__proto__:null,activity:_,compute:C,reset:M,start:function(){N=!1,M()},get state(){return O},stop:function(){M()},track:x,visibility:I}),j=null;function A(t,e){Qi()&&t&&"string"==typeof t&&t.length<255&&(j=e&&"string"==typeof e&&e.length<255?{key:t,value:e}:{value:t},Gr(24))}var R,L=null,P=null;function z(t){t in L||(L[t]=0),t in P||(P[t]=0),L[t]++,P[t]++}function H(t,e){null!==e&&(t in L||(L[t]=0),t in P||(P[t]=0),L[t]+=e,P[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in L||(L[t]=0),(e>L[t]||0===L[t])&&(P[t]=e,L[t]=e))}function X(t,e,n){return window.setTimeout(Pi(t),e,n)}function Y(t){return window.clearTimeout(t)}var q=0,U=0,F=null;function V(){F&&Y(F),F=X(B,U),q=s()}function B(){var t=s();R={gap:t-q},Gr(25),R.gap<3e5?F=X(B,U):Gi&&(A("clarity","suspend"),Mo(),["mousemove","touchstart"].forEach((function(t){return Hi(document,t,$i)})),["resize","scroll","pageshow"].forEach((function(t){return Hi(window,t,$i)})))}var J=Object.freeze({__proto__:null,get data(){return R},reset:V,start:function(){U=6e4,q=0},stop:function(){Y(F),q=0,U=0}}),G=null;function K(t,e){if(t in G){var n=G[t],a=n[n.length-1];e-a[0]>100?G[t].push([e,0]):a[1]=e-a[0]}else G[t]=[[e,0]]}function Z(){Gr(36)}function Q(){G={}}var $=Object.freeze({__proto__:null,compute:Z,get data(){return G},reset:Q,start:function(){G={}},stop:function(){G={}},track:K}),tt=null;function et(t){Qi()&&o.lean&&(o.lean=!1,tt={key:t},wi(),ki(),o.upgrade&&o.upgrade(t),Gr(3))}var nt=Object.freeze({__proto__:null,get data(){return tt},start:function(){!o.lean&&o.upgrade&&o.upgrade("Config"),tt=null},stop:function(){tt=null},upgrade:et});function at(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 rt(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 it=null;function ot(t,e){ct(t,"string"==typeof e?[e]:e)}function ut(t,e,n,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===a&&(a=null),at(this,void 0,void 0,(function(){var r,i;return rt(this,(function(o){switch(o.label){case 0:return i={},[4,dt(t)];case 1:return i.userId=o.sent(),i.userHint=a||((u=t)&&u.length>=5?"".concat(u.substring(0,2)).concat(k(u.substring(2),"*","*")):k(u,"*","*")),ct("userId",[(r=i).userId]),ct("userHint",[r.userHint]),ct("userType",[ft(t)]),e&&(ct("sessionId",[e]),r.sessionId=e),n&&(ct("pageId",[n]),r.pageId=n),[2,r]}var u}))}))}function ct(t,e){if(Qi()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in it?it[t]:[]),a=0;a<e.length;a++)"string"==typeof e[a]&&e[a].length<255&&n.push(e[a]);it[t]=n}}function st(){Gr(34)}function lt(){it={}}function dt(t){return at(this,void 0,void 0,(function(){var e;return rt(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 ft(t){return t&&t.indexOf("@")>0?"email":"string"}var ht="CompressionStream"in window;function pt(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),ht?(e=new ReadableStream({start:function(e){return at(this,void 0,void 0,(function(){return rt(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,vt(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 vt(t){return at(this,void 0,void 0,(function(){var e,n,a,r,i;return rt(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 gt=null;function mt(t){try{if(!gt)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){gt(t)}))}catch(t){}}var yt=[D,a,Object.freeze({__proto__:null,compute:st,get data(){return it},identify:ut,reset:lt,set:ot,start:function(){lt()},stop:function(){lt()}}),n,$,r,i,t,J,nt,e];function bt(){L={},P={},z(5),yt.forEach((function(t){return Pi(t.start)()}))}function wt(){yt.slice().reverse().forEach((function(t){return Pi(t.stop)()})),L={},P={}}function kt(){st(),C(),ui(),Gr(0),Z(),$r(),Yr()}var St,Et=[];function Ot(t,e,n){o.fraud&&null!==t&&n&&n.length>=5&&(St={id:t,target:e,checksum:d(n,28)},Et.indexOf(St.checksum)<0&&(Et.push(St.checksum),xr(41)))}var Tt="load,active,fixed,visible,focus,show,collaps,animat".split(","),Nt={};function Mt(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 xt(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 Nt||(Nt[c]=[]),Nt[c].indexOf(t.id)<0&&Nt[c].push(t.id),i="".concat(c).concat("~").concat(Nt[c].indexOf(t.id))}else i="".concat(a).concat(t.tag,".").concat(u).concat(r);return i=o&&xt(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 xt(t){if(!t)return!1;if(Tt.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 _t=1,It=null,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt=[],Pt=[],zt=[],Ht=[],Wt=null,Xt=null,Yt=null,qt=null;function Ut(){Vt(),Bt(document,!0)}function Ft(){Vt()}function Vt(){_t=1,Ct=[],Dt=[],jt={},At=[],Rt=[],Lt="address,password,contact".split(","),Pt="password,secret,pass,social,ssn,code,hidden".split(","),zt="radio,checkbox,range,button,reset,submit".split(","),Ht="INPUT,SELECT,TEXTAREA".split(","),It=new Map,Wt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Nt={}}function Bt(t,e){void 0===e&&(e=!1);try{e&&o.unmask.forEach((function(t){return t.indexOf("!")<0?Rt.push(t):At.push(t.substr(1))})),"querySelectorAll"in t&&(o.regions.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return Ga(t,"".concat(e[0]))}))})),o.mask.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,3)}))})),o.checksum.forEach((function(e){return t.querySelectorAll(e[1]).forEach((function(t){return qt.set(t,e[0])}))})),Rt.forEach((function(e){return t.querySelectorAll(e).forEach((function(t){return Yt.set(t,0)}))})))}catch(t){Cr(5,1,t?t.name:null)}}function Jt(t,e){if(void 0===e&&(e=!1),null===t)return null;var n=Wt.get(t);return!n&&e&&(n=_t++,Wt.set(t,n)),n||null}function Gt(t){var e=!1;if(t.nodeType===Node.ELEMENT_NODE&&"IFRAME"===t.tagName){var n=t;try{n.contentDocument&&(Xt.set(n.contentDocument,n),e=!0)}catch(t){}}return e}function Kt(t){var e=t.nodeType===Node.DOCUMENT_NODE?t:null;return e&&Xt.has(e)?Xt.get(e):null}function Zt(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 Qt(t){var e=t.parent&&t.parent in Ct?Ct[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=Ct[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=[Mt(i,0),Mt(i,1)],t.hash=t.selector.map((function(t){return t?d(t):null})),t.hash.forEach((function(e){return jt[e]=t.id}))}function $t(t){var e=te(ne(t));return null!==e&&null!==e.textContent?e.textContent.substr(0,25):""}function te(t){return It.has(t)?It.get(t):null}function ee(t){var e=Jt(t);return e in Ct?Ct[e]:null}function ne(t){return t in jt?jt[t]:null}function ae(t){return It.has(Jt(t))}function re(){for(var t=[],e=0,n=Dt;e<n.length;e++){var a=n[e];a in Ct&&t.push(Ct[a])}return Dt=[],t}function ie(t){if(It.get(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE){It.delete(t);var e=t in Ct?Ct[t]:null;if(e&&e.children)for(var n=0,a=e.children;n<a.length;n++){ie(a[n])}}}function oe(t){for(var e=null;null===e&&t.previousSibling;)e=Jt(t.previousSibling),t=t.previousSibling;return e}function ue(t,e,n,a){void 0===n&&(n=!0),void 0===a&&(a=!1);var r=Dt.indexOf(t);r>=0&&1===e&&a?(Dt.splice(r,1),Dt.push(t)):-1===r&&n&&Dt.push(t)}var ce=Object.freeze({__proto__:null,add:function(t,e,n,a){var r=Jt(t,!0),i=e?Jt(e):null,u=oe(t),c=null,s=Ka(t)?r:null,l=qt.has(t)?qt.get(t):null,d=o.content?1:3;i>=0&&Ct[i]&&((c=Ct[i]).children.push(r),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&&(Ga(t,n.attributes["data-clarity-region"]),s=r),It.set(r,t),Ct[r]={id:r,parent:i,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 Ht.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=Pt.some((function(t){return l.indexOf(t)>=0}));i.privacy="INPUT"===c&&zt.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 Yt.has(t):i.privacy=Yt.get(t);break;case qt.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)||At.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,Lt,i);break;case"IMG"===c:(null===(a=u.src)||void 0===a?void 0:a.startsWith("blob:"))&&(i.privacy=3)}}(t,Ct[r],c),Qt(Ct[r]),function(t){if("IMG"===t.data.tag&&3===t.metadata.privacy){var e=te(t.id);!e||e.complete&&0!==e.naturalWidth||Hi(e,"load",(function(){e.setAttribute("data-clarity-loaded","".concat(Oi()))})),t.metadata.size=[]}}(Ct[r]),ue(r,a)},get:ee,getId:Jt,getNode:te,getValue:function(t){return t in Ct?Ct[t]:null},has:ae,hashText:$t,iframe:Kt,lookup:ne,parse:Bt,sameorigin:Gt,start:Ut,stop:Ft,update:function(t,e,n,a){var r=Jt(t),i=e?Jt(e):null,o=oe(t),u=!1,c=!1;if(r in Ct){var s=Ct[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:Ct[i].children.indexOf(o)+1;Ct[i].children.splice(d,0,r),s.region=Ka(t)?r:Ct[i].region}else!function(t,e){if(t in Ct){var n=Ct[t];n.metadata.active=!1,n.parent=null,ue(t,e),ie(t)}}(r,a);if(null!==l&&l>=0){var f=Ct[l].children.indexOf(r);f>=0&&Ct[l].children.splice(f,1)}c=!0}for(var h in n)Zt(s.data,n,h)&&(u=!0,s.data[h]=n[h]);Qt(s),ue(r,a,u,c)}},updates:re}),se=5e3,le={},de=[],fe=null,he=null,pe=null;function ve(){le={},de=[],fe=null,he=null}function ge(t,e){return void 0===e&&(e=0),at(this,void 0,void 0,(function(){var n,a,r;return rt(this,(function(i){for(n=0,a=de;n<a.length;n++)if(a[n].task===t)return[2];return r=new Promise((function(n){de[1===e?"unshift":"push"]({task:t,resolve:n,id:mi()})})),null===fe&&null===he&&me(),[2,r]}))}))}function me(){var t=de.shift();t&&(fe=t,t.task().then((function(){t.id===mi()&&(t.resolve(),fe=null,me())})).catch((function(e){t.id===mi()&&(e&&Cr(0,1,e.name,e.message,e.stack),fe=null,me())})))}function ye(t){var e=Se(t);return e in le?performance.now()-le[e].start>le[e].yield?0:1:2}function be(t){le[Se(t)]={start:performance.now(),calls:0,yield:o.longTask}}function we(t){var e=performance.now(),n=Se(t),a=e-le[n].start;H(t.cost,a),z(5),le[n].calls>0&&H(4,a)}function ke(t){return at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){switch(a.label){case 0:return(e=Se(t))in le?(we(t),n=le[e],[4,Ee()]):[3,2];case 1:n.yield=a.sent().timeRemaining(),function(t){var e=Se(t);if(le&&le[e]){var n=le[e].calls,a=le[e].yield;be(t),le[e].calls=n+1,le[e].yield=a}}(t),a.label=2;case 2:return[2,e in le?1:2]}}))}))}function Se(t){return"".concat(t.id,".").concat(t.cost)}function Ee(){return at(this,void 0,void 0,(function(){return rt(this,(function(t){switch(t.label){case 0:return he?[4,he]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,new Promise((function(t){Te(t,{timeout:se})}))]}}))}))}var Oe,Te=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 Ne(){Oe=null}function Me(){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!==Oe&&c===Oe.width&&v===Oe.height||null===c||null===v||(Oe={width:c,height:v},Ha(8))}Me.dn=19;var xe=[];function _e(t){var e=nr(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):"";xe.push({time:s(t),event:42,data:{target:nr(t),type:e.type,value:n,checksum:a}}),ge(rr.bind(this,42))}}function Ie(){xe=[]}function Ce(t){var e={x:0,y:0};if(t&&t.offsetParent)do{var n=t.offsetParent,a=null===n?Kt(t.ownerDocument):null;e.x+=t.offsetLeft,e.y+=t.offsetTop,t=a||n}while(t);return e}_e.dn=5;var De=["input","textarea","radio","button","canvas"],je=[];function Ae(t,e,n){var a=Kt(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}var c=nr(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&&(je.push({time:s(n),event:t,data:{target:c,x:i,y:o,eX:f,eY:h,button:n.button,reaction:Le(c),context:Pe(l),text:Re(c),link:l?l.href:null,hash:null,trust:n.isTrusted?1:0}}),ge(rr.bind(this,t)))}function Re(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 Le(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(De.indexOf(e)>=0)return 0}return 1}function Pe(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function ze(){je=[]}Ae.dn=6;var He=[];function We(t,e){He.push({time:s(e),event:38,data:{target:nr(e),action:t}}),ge(rr.bind(this,38))}function Xe(){He=[]}We.dn=7;var Ye=null,qe=[];function Ue(t){var e=nr(t),n=ee(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};qe.length>0&&qe[qe.length-1].data.target===i.target&&qe.pop(),qe.push({time:s(t),event:27,data:i}),Y(Ye),Ye=X(Fe,1e3,27)}}function Fe(t){ge(rr.bind(this,t))}function Ve(){qe=[]}Ue.dn=9;var Be,Je=[],Ge=null,Ke=!1,Ze=0,Qe=new Set;function $e(t,e,n){var a=Kt(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=Ce(a);i=i?i+Math.round(u.x):i,o=o?o+Math.round(u.y):o}null!==i&&null!==o&&en({time:s(n),event:t,data:{target:nr(n),x:i,y:o}})}function tn(t,e,n){var a=Kt(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===Qe.size&&(Ke=!0,Ze=f),Qe.add(f);break;case 18:case 20:Qe.delete(f)}var h=Ke&&Ze===f;null!==l&&null!==d&&en({time:o,event:t,data:{target:nr(n),x:l,y:d,id:f,isPrimary:h}}),20!==t&&18!==t||Ze===f&&(Ke=!1)}}function en(t){switch(t.event){case 12:case 15:case 19:var e=Je.length,n=e>1?Je[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)&&Je.pop(),Je.push(t),Y(Ge),Ge=X(nn,500,t.event);break;default:Je.push(t),nn(t.event)}}function nn(t){ge(rr.bind(this,t))}function an(){Je=[]}$e.dn=10,tn.dn=11;var rn=null,on=!1;function un(){var t=document.documentElement;Be={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},on?(Y(rn),rn=X(cn,500,11)):(rr(11),on=!0)}function cn(t){ge(rr.bind(this,t))}function sn(){Be=null,Y(rn)}un.dn=12;var ln=[],dn=null,fn=null,hn=null;function pn(t){void 0===t&&(t=null);var e=window,n=document.documentElement,a=t?nr(t):n;if(a&&a.nodeType===Node.DOCUMENT_NODE){var r=Kt(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=vn(l,d),p=vn(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 dn=h,void(fn=p);var g=ln.length,m=g>1?ln[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)&&ln.pop(),ln.push(v),Y(hn),hn=X(gn,500,10)}function vn(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 gn(t){ge(rr.bind(this,t))}function mn(){var t,e;if(dn){var n=ar(dn,null);oi(31,null===(t=null==n?void 0:n.hash)||void 0===t?void 0:t.join("."))}if(fn){var a=ar(fn,null);oi(32,null===(e=null==a?void 0:a.hash)||void 0===e?void 0:e.join("."))}}pn.dn=13,mn.dn=14;var yn=null,bn=null,wn=null;function kn(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=yn.start?yn.start:null;null!==bn&&null!==yn.start&&n!==e.anchorNode&&(Y(wn),Sn(21)),yn={start:e.anchorNode,startOffset:e.anchorOffset,end:e.focusNode,endOffset:e.focusOffset},bn=e,Y(wn),wn=X(Sn,500,21)}}function Sn(t){ge(rr.bind(this,t))}function En(){bn=null,yn={start:0,startOffset:0,end:0,endOffset:0}}kn.dn=15;var On,Tn,Nn=[];function Mn(t){Nn.push({time:s(t),event:39,data:{target:nr(t)}}),ge(rr.bind(this,39))}function xn(){Nn=[]}function _n(t){On={name:t.type},rr(26,s(t)),Mo()}function In(){On=null}function Cn(t){void 0===t&&(t=null),Tn={visible:"visibilityState"in document?document.visibilityState:"default"},rr(28,s(t))}function Dn(){Tn=null}function jn(){ir=[],ur(),ze(),Xe(),an(),Ve(),on=!1,Hi(window,"resize",un),un(),Hi(document,"visibilitychange",Cn),Cn(),ln=[],pn(),En(),Ie(),xn(),Hi(window,"pagehide",_n)}function An(t){!function(t){var e=Kt(t);Hi(e?e.contentWindow:t===document?window:t,"scroll",pn,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Hi(t,"click",Ae.bind(this,9,t),!0)}(t),function(t){Hi(t,"cut",We.bind(this,0),!0),Hi(t,"copy",We.bind(this,1),!0),Hi(t,"paste",We.bind(this,2),!0)}(t),function(t){Hi(t,"mousedown",$e.bind(this,13,t),!0),Hi(t,"mouseup",$e.bind(this,14,t),!0),Hi(t,"mousemove",$e.bind(this,12,t),!0),Hi(t,"wheel",$e.bind(this,15,t),!0),Hi(t,"dblclick",$e.bind(this,16,t),!0),Hi(t,"touchstart",tn.bind(this,17,t),!0),Hi(t,"touchend",tn.bind(this,18,t),!0),Hi(t,"touchmove",tn.bind(this,19,t),!0),Hi(t,"touchcancel",tn.bind(this,20,t),!0)}(t),function(t){Hi(t,"input",Ue,!0)}(t),function(t){Hi(t,"selectstart",kn.bind(this,t),!0),Hi(t,"selectionchange",kn.bind(this,t),!0)}(t),function(t){Hi(t,"change",_e,!0)}(t),function(t){Hi(t,"submit",Mn,!0)}(t))}Mn.dn=16,_n.dn=17,Cn.dn=18,jn.dn=8;var Rn=Object.freeze({__proto__:null,observe:An,start:jn,stop:function(){ir=[],ur(),ze(),Xe(),Y(Ge),Je.length>0&&nn(Je[Je.length-1].event),Y(Ye),Ve(),sn(),Dn(),Y(hn),ln=[],dn=null,fn=null,En(),Y(wn),Ie(),xn(),In()}});function Ln(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o,u,c;return rt(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=ye(e))?[3,3]:[4,ke(e)];case 2:u=s.sent(),s.label=3;case 3:return 2===u?[3,4]:((c=sa(i,n,a))&&r.push(c),[3,1]);case 4:return[2]}}))}))}var Pn=[],zn=[],Hn={},Wn=null,Xn=null,Yn=null,qn=null,Un=null,Fn=[],Vn=null,Bn=null,Jn=null,Gn={};function Kn(){if(Pn=[],Fn=[],Vn=null,Jn=0,Gn={},null===Wn&&(Wn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Qi()&&na(this.ownerNode),Wn.apply(this,arguments)}),"CSSMediaRule"in window&&null===qn&&(qn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return Qi()&&na(this.parentStyleSheet.ownerNode),qn.apply(this,arguments)}),null===Xn&&(Xn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Qi()&&na(this.ownerNode),Xn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Un&&(Un=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return Qi()&&na(this.parentStyleSheet.ownerNode),Un.apply(this,arguments)}),null===Yn){Yn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Qi()?na(Yn.apply(this,arguments)):Yn.apply(this,arguments)}}catch(t){Yn=null}}}function Zn(t){var e=s();K(6,e),zn.push({time:e,mutations:t}),ge($n,1).then((function(){X(Me),Pi(Za)()}))}function Qn(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,u;return rt(this,(function(c){switch(c.label){case 0:return 0!==(r=ye(t))?[3,2]:[4,ke(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?ee(t.target.parentNode):null;if(r&&"HTML"!==r.data.tag){var i=a>Jn,o=ee(t.target),u=o&&o.selector?o.selector.join():t.target.nodeName,c=[r.selector?r.selector.join():"",u,t.attributeName,ta(t.addedNodes),ta(t.removedNodes)].join();Gn[c]=c in Gn?Gn[c]:[0,n];var s=Gn[c];if(!1===i&&s[0]>=10&&ea(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:(Hn[c]={mutation:t,timestamp:a},"throttle")}return t.type}(e,t,n,a):e.type,u&&i&&i.ownerDocument&&Bt(i.ownerDocument),u&&i&&i.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&i.host&&Bt(i),u){case"attributes":sa(i,3,a);break;case"characterData":sa(i,4,a);break;case"childList":ea(e.addedNodes,1,t,a),ea(e.removedNodes,2,t,a)}return[2]}}))}))}function $n(){return at(this,void 0,void 0,(function(){var t,e,n,a,r,i,o,u,c,l,d;return rt(this,(function(f){switch(f.label){case 0:be(t={id:mi(),cost:3}),f.label=1;case 1:if(!(zn.length>0))return[3,3];for(e=zn.shift(),n=s(),a=0,r=e.mutations;a<r.length;a++)i=r[a],Qn(t,i,n,e.time);return[4,Ha(6,t,e.time)];case 2:return f.sent(),[3,1];case 3:for(o=!1,u=0,c=Object.keys(Hn);u<c.length;u++)l=c[u],d=Hn[l],delete Hn[l],Qn(t,d.mutation,s(),d.timestamp),o=!0;return Object.keys(Hn).length>0&&function(){Bn&&Y(Bn);Bn=X((function(){ge($n,1)}),33)}(),0===Object.keys(Hn).length&&o?[4,Ha(6,t,s())]:[3,5];case 4:f.sent(),f.label=5;case 5:return function(){var t=s();Object.keys(Gn).length>1e4&&(Gn={},z(38));for(var e=0,n=Object.keys(Gn);e<n.length;e++){var a=n[e];t>Gn[a][1]+3e4&&delete Gn[a]}}(),we(t),[2]}}))}))}function ta(t){for(var e=[],n=0;t&&n<t.length;n++)e.push(t[n].nodeName);return e.join()}function ea(t,e,n,a){return at(this,void 0,void 0,(function(){var r,i,o;return rt(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]:(Ln(t[i],n,e,a),[3,5]):[3,6];case 2:return 0!==(o=ye(n))?[3,4]:[4,ke(n)];case 3:o=u.sent(),u.label=4;case 4:if(2===o)return[3,6];sa(t[i],e,a),u.label=5;case 5:return i++,[3,1];case 6:return[2]}}))}))}function na(t){return Fn.indexOf(t)<0&&Fn.push(t),Vn&&Y(Vn),Vn=X((function(){!function(){for(var t=0,e=Fn;t<e.length;t++){var n=e[t];if(n){var a=n.nodeType===Node.DOCUMENT_FRAGMENT_NODE;if(a&&ae(n))continue;aa(n,a?"childList":"characterData")}}Fn=[]}()}),33),t}function aa(t,e){Pi(Zn)([{addedNodes:[t],attributeName:null,attributeNamespace:null,nextSibling:null,oldValue:null,previousSibling:null,removedNodes:[],target:t,type:e}])}Kn.dn=21,Zn.dn=22,aa.dn=23;var ra=/[^0-9\.]/g;function ia(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":oi(5,t[a]),oi(8,t.creator),oi(18,t.headline);break;case"product":oi(5,t[a]),oi(10,t.name),oi(12,t.sku),t.brand&&oi(6,t.brand.name);break;case"aggregaterating":t.ratingValue&&(W(11,oa(t.ratingValue,100)),W(18,oa(t.bestRating)),W(19,oa(t.worstRating))),W(12,oa(t.ratingCount)),W(17,oa(t.reviewCount));break;case"offer":oi(7,t.availability),oi(14,t.itemCondition),oi(13,t.priceCurrency),oi(12,t.sku),W(13,oa(t.price));break;case"brand":oi(6,t.name)}null!==r&&"object"==typeof r&&ia(r)}}function oa(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(ra,""))*e)}return null}var ua=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ca=/[\r\n]+/g;function sa(t,e,n){var a,r=null;if(2===e&&!1===ae(t))return r;0!==e&&t.nodeType===Node.TEXT_NODE&&t.parentElement&&"STYLE"===t.parentElement.tagName&&(t=t.parentNode);var i=!1===ae(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?Kt(t.parentNode):o;var c=t,s={tag:(u?"iframe:":"")+"*D",attributes:{name:c.name?c.name:"HTML",publicId:c.publicId,systemId:c.systemId}};ce[i](t,o,s,e);break;case Node.DOCUMENT_NODE:t===document&&Bt(document),Sa(t,n),la(t);break;case Node.DOCUMENT_FRAGMENT_NODE:var l=t;if(l.host){if(Bt(l),"function"===typeof l.constructor&&l.constructor.toString().indexOf("[native code]")>=0){la(l);var d={tag:"*S",attributes:{style:""}};ce[i](t,l.host,d,e)}else ce[i](t,l.host,{tag:"*P",attributes:{}},e);Sa(t,n)}break;case Node.TEXT_NODE:if(o=o||t.parentNode,"update"===i||o&&ae(o)&&"STYLE"!==o.tagName&&"NOSCRIPT"!==o.tagName){var f={tag:"*T",value:t.nodeValue};ce[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;ua.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?Kt(o):o;var g={tag:(u?"iframe:":"")+p,attributes:v};ce[i](t,o,g,e);break;case"SCRIPT":if("type"in v&&"application/ld+json"===v.type)try{ia(JSON.parse(h.text.replace(ca,"")))}catch(t){}break;case"NOSCRIPT":var m={tag:p,attributes:{},value:""};ce[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":oi(20,b);break;case"og:type":oi(19,b);break;case"generator":oi(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,ce[i](t,o,w,e);break;case"BASE":var S=ee(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:da(h)};ce[i](t,o,O,e);break;case"IFRAME":var T=t,N={tag:p,attributes:v};Gt(T)&&(!function(t){!1===ae(t)&&Hi(t,"load",aa.bind(this,t,"childList"),!0)}(T),N.attributes["*O"]="true",T.contentDocument&&T.contentWindow&&"loading"!==T.contentDocument.readyState&&(r=T.contentDocument)),ce[i](t,o,N,e);break;case"LINK":if(fi&&"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:fa(x)};ce[i](t,o,_,e);break}}break}var I={tag:p,attributes:v};ce[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};ce[i](t,o,C,e);break;default:var D={tag:p,attributes:v};h.shadowRoot&&(r=h.shadowRoot),ce[i](t,o,D,e)}}return r}function la(t){ae(t)||(!function(t){try{var e=u("MutationObserver"),n=e in window?new window[e](Pi(Zn)):null;n&&(n.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),Pn.push(n))}catch(t){Cr(2,0,t?t.name:null)}}(t),An(t))}function da(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=fa(t.sheet)),e}function fa(t){var e="",n=null;try{n=t?t.cssRules:[]}catch(t){if(Cr(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 ha=[],pa=[],va=null,ga=null,ma="claritySheetId",ya="claritySheetNum",ba={},wa={},ka=[];function Sa(t,e){if(-1===ka.indexOf(t)&&ka.push(t),e=e||s(),null==t?void 0:t.adoptedStyleSheets){W(36,1);for(var n=[],a=0,r=t.adoptedStyleSheets;a<r.length;a++){var i=r[a],o=li.pageNum;i[ya]!==o&&(i[ya]=o,i[ma]=Oi(),Oa(e,i[ma],0),Oa(e,i[ma],2,fa(i))),n.push(i[ma])}var u=Jt(t,!0);ba[u]||(ba[u]=[]),function(t,e){if(t.length!==e.length)return!1;return t.every((function(t,n){return t===e[n]}))}(n,ba[u])||(!function(t,e,n,a){pa.push({time:t,event:45,data:{id:e,operation:n,newIds:a}}),Ha(45)}(e,t==document?-1:Jt(t),3,n),ba[u]=n,wa[u]=e)}}function Ea(){pa=[],ha=[]}function Oa(t,e,n,a){ha.push({time:t,event:46,data:{id:e,operation:n,cssRules:a}}),Ha(46)}var Ta=[],Na=null,Ma=null,xa=null,_a=null,Ia=null,Ca=null,Da="clarityAnimationId",ja="clarityOperationCount",Aa=20;function Ra(){Ta=[]}function La(t,e,n,a,r,i,o){Ta.push({time:t,event:44,data:{id:e,operation:n,keyFrames:a,timing:r,targetId:i,timeline:o}}),Ha(44)}function Pa(t,e){null===t&&(t=Animation.prototype[e],Animation.prototype[e]=function(){return za(this,e),t.apply(this,arguments)})}function za(t,e){if(Qi()){var n=t.effect,a=Jt(n.target);if(null!==a&&n.getKeyframes&&n.getTiming){if(!t[Da]){t[Da]=Oi(),t[ja]=0;var r=n.getKeyframes(),i=n.getTiming();La(s(),t[Da],0,JSON.stringify(r),JSON.stringify(i),a)}if(t[ja]++<Aa){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&&La(s(),t[Da],o)}}}}function Ha(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),at(this,void 0,void 0,(function(){var a,r,i,u,c,l,d,f,h,p,v,g,y,b,w,k,S,E,O,T,N,M,I,C,D,j,A,R,L;return rt(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=Oe,r.push(i.width),r.push(i.height),x(t,i.width,i.height),br(r),[3,12];case 2:for(u=0,c=qa;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),br(r);return er(),[3,12];case 3:for(d=0,f=pa;d<f.length;d++)y=f[d],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.newIds),br(r);for(h=0,p=ha;h<p.length;h++)y=p[h],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.cssRules),br(r);return Ea(),[3,12];case 4:for(v=0,g=Ta;v<g.length;v++)y=g[v],(r=[y.time,y.event]).push(y.data.id),r.push(y.data.operation),r.push(y.data.keyFrames),r.push(y.data.timing),r.push(y.data.timeline),r.push(y.data.targetId),br(r);return Ra(),[3,12];case 5:if(2===ye(e))return[3,12];if(!((b=re()).length>0))return[3,11];w=0,k=b,P.label=6;case 6:return w<k.length?(S=k[w],0!==(E=ye(e))?[3,8]:[4,ke(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,I=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=Wa(S),R=I?-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(Xa(A[0]),".").concat(Xa(A[1])));break;case"attributes":for(L in O[j])void 0!==O[j][L]&&r.push(Ya(L,O[j][L],M));break;case"value":Ot(S.metadata.fraud,S.id,O[j]),r.push(m(O[j],O.tag,M,I))}P.label=9;case 9:return w++,[3,6];case 10:6===t&&_(a),br(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 Wa(t){if(null!==t.metadata.size&&0===t.metadata.size.length){var e=te(t.id);if(e)return[Math.floor(100*e.offsetWidth),Math.floor(100*e.offsetHeight)]}return t.metadata.size}function Xa(t){return t.toString(36)}function Ya(t,e,n){return"".concat(t,"=").concat(m(e,0===t.indexOf("data-")?"data-":t,n))}var qa=[],Ua=null,Fa={},Va=[],Ba=!1,Ja=null;function Ga(t,e){!1===Ua.has(t)&&(Ua.set(t,e),(Ja=null===Ja&&Ba?new IntersectionObserver(Qa,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Ja)&&t&&t.nodeType===Node.ELEMENT_NODE&&Ja.observe(t))}function Ka(t){return Ua&&Ua.has(t)}function Za(){for(var t=[],e=0,n=Va;e<n.length;e++){var a=n[e],r=Jt(a.node);r?(a.state.data.id=r,Fa[r]=a.state.data,qa.push(a.state)):t.push(a)}Va=t,qa.length>0&&Ha(7)}function Qa(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(Ua.has(r)&&i.width+i.height>0&&u.width>0&&u.height>0){var c=r?Jt(r):null,s=c in Fa?Fa[c]:{id:c,name:Ua.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;$a(r,s,s.interaction,d?13:l?10:0),s.visibility>=13&&Ja&&Ja.unobserve(r)}}qa.length>0&&Ha(7)}function $a(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 Fa&&r||!(e.id in Fa))&&(Fa[e.id]=e,qa.push(tr(e))):Va.push({node:t,state:tr(e)})}function tr(t){return{time:s(),data:{id:t.id,interaction:t.interaction,visibility:t.visibility,name:t.name}}}function er(){qa=[]}function nr(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return Jn=s()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function ar(t,e,n){void 0===n&&(n=null);var a={id:0,hash:null,privacy:2,node:t};if(t){var r=ee(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=te(t),a=t in Fa?Fa[t]:{id:t,visibility:0,interaction:16,name:Ua.get(n)},r=16;switch(e){case 9:r=20;break;case 27:r=30}$a(n,a,r,a.visibility)}(r.region,e),i.fraud&&Ot(i.fraud,r.id,n||r.data.value)}}return a}function rr(t,e){return void 0===e&&(e=null),at(this,void 0,void 0,(function(){var n,a,r,i,o,u,c,l,d,f,h,p,v,g,b,w,k,S,E,O,T,N,M,_,C,D,j,A,R,L,P,z,H,W,X;return rt(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=Je;r<i.length;r++)W=i[r],(o=ar(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())),br(a),x(W.event,W.data.x,W.data.y));an();break;case 9:for(u=0,c=je;u<c.length;u++)W=c[u],l=ar(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(m(W.data.text,"click",l.privacy)),a.push(y(W.data.link)),a.push(d),a.push(W.data.trust),br(a),cr(W.time,W.event,d,W.data.x,W.data.y,W.data.reaction,W.data.context);ze();break;case 38:for(f=0,h=He;f<h.length;f++)W=h[f],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&(a.push(P.id),a.push(W.data.action),br(a));Xe();break;case 11:p=Be,a.push(p.width),a.push(p.height),x(t,p.width,p.height),sn(),br(a);break;case 26:v=On,a.push(v.name),In(),br(a);break;case 27:for(g=0,b=qe;g<b.length;g++)W=b[g],w=ar(W.data.target,W.event,W.data.value),(a=[W.time,W.event]).push(w.id),a.push(m(W.data.value,"input",w.privacy,!1,W.data.type)),br(a);Ve();break;case 21:(k=yn)&&(S=ar(k.start,t),E=ar(k.end,t),a.push(S.id),a.push(k.startOffset),a.push(E.id),a.push(k.endOffset),En(),br(a));break;case 10:for(O=0,T=ln;O<T.length;O++)W=T[O],N=ar(W.data.target,W.event),M=ar(W.data.top,W.event),_=ar(W.data.bottom,W.event),C=(null==M?void 0:M.hash)?M.hash.join("."):"",D=(null==_?void 0:_.hash)?_.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(C),a.push(D),br(a),x(W.event,W.data.x,W.data.y,W.time));ln=[],dn=null,fn=null;break;case 42:for(j=0,A=xe;j<A.length;j++)W=A[j],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&((a=[W.time,W.event]).push(P.id),a.push(W.data.type),a.push(m(W.data.value,"change",P.privacy)),a.push(m(W.data.checksum,"checksum",P.privacy)),br(a));Ie();break;case 39:for(R=0,L=Nn;R<L.length;R++)W=L[R],a=[W.time,W.event],(P=ar(W.data.target,W.event)).id>0&&(a.push(P.id),br(a));xn();break;case 22:for(z=0,H=or;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),br(a,!1);ur();break;case 28:X=Tn,a.push(X.visible),br(a),I(n,X.visible),Dn()}return[2]}))}))}Za.dn=24;var ir=[],or=[];function ur(){or=[]}function cr(t,e,n,a,r,i,o){void 0===i&&(i=1),void 0===o&&(o=0),ir.push({time:t,event:22,data:{type:e,hash:n,x:a,y:r,reaction:i,context:o}}),x(e,a,r)}var sr,lr,dr,fr,hr,pr=0,vr=0,gr=null,mr=0;function yr(){fr=!0,pr=0,vr=0,mr=0,sr=[],lr=[],dr={},hr=null}function br(t,e){if(void 0===e&&(e=!0),fr){var n=s(),a=t.length>1?t[1]:null,r=JSON.stringify(t);switch(a){case 5:pr+=r.length;case 37:case 6:case 43:case 45:case 46:vr+=r.length,sr.push(r);break;default:lr.push(r)}z(25);var i=function(){var t=!1===o.lean&&pr>0?100:Ci.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-mr>2*i&&(Y(gr),gr=null),e&&null===gr&&(25!==a&&V(),gr=X(kr,i),mr=n,Zr(vr))}}function wr(){Y(gr),kr(!0),pr=0,vr=0,mr=0,sr=[],lr=[],dr={},hr=null,fr=!1}function kr(t){return void 0===t&&(t=!1),at(this,void 0,void 0,(function(){var e,n,a,r,i,u,c,s;return rt(this,(function(l){switch(l.label){case 0:return gr=null,(e=!1===o.lean&&vr>0&&(vr<1048576||Ci.sequence>0))&&W(1,1),Za(),function(){var t=[];or=[];for(var e=Ci.start+Ci.duration,n=Math.max(e-2e3,0),a=0,r=ir;a<r.length;a++){var i=r[a];i.time>=n&&(i.time<=e&&or.push(i),t.push(i))}ir=t,rr(22)}(),kt(),function(){for(var t=0,e=ka;t<e.length;t++){var n=e[t],a=n==document?-1:Jt(n),r=a in wa?wa[a]:null;Sa(document,r)}}(),n=!0===t,a=JSON.stringify(Ai(n)),r="[".concat(lr.join(),"]"),i=e?"[".concat(sr.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,pt(u)];case 2:s=l.sent(),l.label=3;case 3:return H(2,(c=s)?c.length:u.length),Sr(u,c,Ci.sequence,n),lr=[],e&&(sr=[],vr=0,pr=0),[2]}}))}))}function Sr(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))&&Or(n)}catch(t){}if(!1===i){n in dr?dr[n].attempts++:dr[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",r,!0),u.timeout=15e3,u.ontimeout=function(){Li(new Error("".concat("Timeout"," : ").concat(r)))},null!==n&&(u.onreadystatechange=function(){Pi(Er)(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),Or(n)}}function Er(t,e){var n=dr[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?Qr(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),Sr(n.data,null,e)):(hr={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Gr(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":Qr(6);break;case"UPGRADE":et("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Wr(i[1]);break;case"SIGNAL":i.length>1&&mt(i[1])}}}(t.responseText),0===t.status&&(Sr(n.data,null,e,!0),Qr(3)),t.status>=200&&t.status<=208&&Or(e),delete dr[e]))}function Or(t){1===t&&(ki(),wi())}var Tr,Nr={};function Mr(t){var e=t.error||t;return e.message in Nr||(Nr[e.message]=0),Nr[e.message]++>=5||e&&e.message&&(Tr={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},xr(31)),!0}function xr(t){return at(this,void 0,void 0,(function(){var e;return rt(this,(function(n){switch(e=[s(),t],t){case 31:e.push(Tr.message),e.push(Tr.line),e.push(Tr.column),e.push(Tr.stack),e.push(y(Tr.source)),br(e);break;case 33:_r&&(e.push(_r.code),e.push(_r.name),e.push(_r.message),e.push(_r.stack),e.push(_r.severity),br(e,!1));break;case 41:St&&(e.push(St.id),e.push(St.target),e.push(St.checksum),br(e,!1))}return[2]}))}))}Mr.dn=4;var _r,Ir={};function Cr(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 Ir&&Ir[t].indexOf(i)>=0||(_r={code:t,name:n,message:a,stack:r,severity:e},t in Ir?Ir[t].push(i):Ir[t]=[i],xr(33))}var Dr,jr={},Ar=new Set,Rr={},Lr={},Pr={},zr={};function Hr(){qr()}function Wr(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 Rr[a]={},Lr[a]={},Pr[a]={},zr[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);Rr[a][u]=Vr(l);break;case 2:Lr[a][u]=c;break;case 4:var d=c.substring(1,c.length);Pr[a][u]=d}}}catch(t){Cr(8,1,t?t.name:null)}}function Xr(t){return JSON.parse(JSON.stringify(t))}function Yr(){try{for(var t in Rr){var e=parseInt(t);if(""==zr[e]||document.querySelector(zr[e])){var n=Rr[e];for(var a in n){var r=parseInt(a),i=(h=Br(Xr(n[r])))?JSON.stringify(h).substring(0,1e4):h;i&&Ur(e,r,i)}var o=Lr[e];for(var u in o){var c=parseInt(u),s=document.querySelectorAll(o[c]);if(s)Ur(e,c,Array.from(s).map((function(t){return t.textContent})).join("<SEP>").substring(0,1e4))}var l=Pr[e];for(var d in l){var f=parseInt(d);Ur(e,f,$t(l[f]).trim().substring(0,1e4))}}}Ar.size>0&&Gr(40)}catch(t){Cr(5,1,t?t.name:null)}var h}function qr(){Ar.clear()}function Ur(t,e,n){var a,r=!1;t in jr||(jr[t]={},r=!0),a=Pr[t],0==Object.keys(a).length||e in jr[t]&&jr[t][e]==n||(r=!0),jr[t][e]=n,r&&Ar.add(t)}function Fr(){qr()}function Vr(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 Br(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&&Jr(r,a.condition))n=Br(t,r);else if(Array.isArray(r)){for(var i=[],o=0,u=r;o<u.length;o++){var c=u[o];if(Jr(c,a.condition)){var s=Br(t,c);s&&i.push(s)}}n=i}return n}return null}function Jr(t,e){if(e){var n=e.split(":");return n.length>1?t[n[0]]==n[1]:t[n[0]]}return!0}function Gr(t){var e=[s(),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),e.push(n.data.scrollTime),br(e,!1)),M();break;case 25:e.push(R.gap),br(e);break;case 35:e.push(Dr.check),br(e,!1);break;case 3:e.push(tt.key),br(e);break;case 2:e.push(hr.sequence),e.push(hr.attempts),e.push(hr.status),br(e,!1);break;case 24:j.key&&e.push(j.key),e.push(j.value),br(e);break;case 34:var a=Object.keys(it);if(a.length>0){for(var r=0,i=a;r<i.length;r++){var o=i[r];e.push(o),e.push(it[o])}lt(),br(e,!1)}break;case 0:var u=Object.keys(P);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(P[d]))}P={},br(e,!1)}break;case 1:var h=Object.keys(ni);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(ni[g])}ci(),br(e,!1)}break;case 36:var m=Object.keys(G);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([],G[w]))}Q(),br(e,!1)}break;case 40:Ar.forEach((function(t){e.push(t);var n=[];for(var a in jr[t]){var r=parseInt(a,10);n.push(r),n.push(jr[t][a])}e.push(n)})),qr(),br(e,!1)}}function Kr(){Dr={check:0}}function Zr(t){if(0===Dr.check){var e=Dr.check;e=Ci.sequence>=128?1:e,e=Ci.pageNum>=128?7:e,e=s()>72e5?2:e,(e=t>10485760?2:e)!==Dr.check&&Qr(e)}}function Qr(t){Dr.check=t,5!==t&&(bi(),Mo())}function $r(){0!==Dr.check&&Gr(35)}function ti(){Dr=null}var ei=null,ni=null,ai=!1;function ri(){ei={},ni={},ai=!1}function ii(){ei={},ni={},ai=!1}function oi(t,e){if(e&&(e="".concat(e),t in ei||(ei[t]=[]),ei[t].indexOf(e)<0)){if(ei[t].length>128)return void(ai||(ai=!0,Qr(5)));ei[t].push(e),t in ni||(ni[t]=[]),ni[t].push(e)}}function ui(){Gr(1)}function ci(){ni={},ai=!1}function si(t){oi(36,t.toString())}var li=null,di=[],fi=0,hi=null;function pi(){var t,e,n;hi=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:"";fi=a.indexOf("Electron")>0?1:0;var s,l=function(){var t={session:Oi(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Mi("_clsk",!o.includeSubdomains);if(e){var n=e.split("|");n.length>=5&&t.ts-Ti(n[1])<18e5&&(t.session=n[0],t.count=Ti(n[2])+1,t.upgrade=Ti(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),f=Ni(),h=o.projectId||d(location.host);li={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,oi(0,a),oi(3,c),oi(1,y(location.href,!!fi)),oi(2,document.referrer),oi(15,function(){var t=Oi();if(o.track&&Si(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),oi(16,document.documentElement.lang),oi(17,document.dir),oi(26,"".concat(window.devicePixelRatio)),oi(28,f.dob.toString()),oi(29,f.version.toString()),oi(33,u),oi(34,r),oi(35,i),W(0,l.ts),W(1,0),W(35,fi),navigator&&(oi(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(s=navigator.userAgentData)&&s.getHighEntropyValues?s.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;oi(22,t.platform),oi(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){oi(24,t.name+"~"+t.version)})),oi(25,t.model),W(27,t.mobile?1:0)})):oi(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var p=0,v=o.cookies;p<v.length;p++){var g=v[p],m=Mi(g);m&&ot(g,m)}!function(t){si(t?1:0)}(o.track),Ei(f)}function vi(){hi=null,li=null,di.forEach((function(t){t.called=!1}))}function gi(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1);var a=o.lean?0:1,r=!1;li&&(a||!1===e)&&(t(li,!o.lean),r=!0),!n&&r||di.push({callback:t,wait:e,recall:n,called:r})}function mi(){return li?[li.userId,li.sessionId,li.pageNum].join("."):""}function yi(t){if(void 0===t&&(t=!0),!t)return o.track=!1,_i("_clsk","",-Number.MAX_VALUE),_i("_clck","",-Number.MAX_VALUE),Mo(),void window.setTimeout(No,250);Qi()&&(o.track=!0,Ei(Ni(),1),ki(),si(2))}function bi(){_i("_clsk","",0)}function wi(){!function(t){if(di.length>0)for(var e=0;e<di.length;e++){var n=di[e];!n.callback||n.called||n.wait&&!t||(n.callback(li,!o.lean),n.called=!0,n.recall||(di.splice(e,1),e--))}}(o.lean?0:1)}function ki(){if(li){var t=Math.round(Date.now()),e=o.upload&&"string"==typeof o.upload?o.upload.replace("https://",""):"",n=o.lean?0:1;_i("_clsk",[li.sessionId,t,li.pageNum,n,e].join("|"),1)}}function Si(t,e){try{return!!t[e]}catch(t){return!1}}function Ei(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)&&_i("_clck",[li.userId,2,n.toString(36),e,a].join("|"),365)}function Oi(){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 Ti(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Ni(){var t={id:Oi(),version:0,expiry:null,consent:0,dob:0},e=Mi("_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=Ti(n[1])),n.length>2&&(t.expiry=Ti(n[2],36)),n.length>3&&1===Ti(n[3])&&(t.consent=1),n.length>4&&Ti(n[1])>1&&(t.dob=Ti(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}function Mi(t,e){var n;if(void 0===e&&(e=!1),Si(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=xi(i[1]),u=o[0],c=o[1];u;)u=(n=xi(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function xi(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function _i(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||Si(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===hi){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if(hi=".".concat(c[s]).concat(hi||""),s<c.length-1&&(document.cookie="".concat(u).concat(";").concat("domain=").concat(hi),Mi(t)===e))return;hi=""}}catch(t){hi=""}document.cookie=hi?"".concat(u).concat(";").concat("domain=").concat(hi):u}}var Ii,Ci=null;function Di(){var t=li;Ci={version:l,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0}}function ji(){Ci=null}function Ai(t){return Ci.start=Ci.start+Ci.duration,Ci.duration=s()-Ci.start,Ci.sequence++,Ci.upload=t&&"sendBeacon"in navigator?1:0,Ci.end=t?1:0,[Ci.version,Ci.sequence,Ci.start,Ci.duration,Ci.projectId,Ci.userId,Ci.sessionId,Ci.pageNum,Ci.upload,Ci.end]}function Ri(){Ii=[]}function Li(t){if(Ii&&-1===Ii.indexOf(t.message)){var e=o.report;if(e&&e.length>0){var n={v:Ci.version,p:Ci.projectId,u:Ci.userId,s:Ci.sessionId,n:Ci.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)),Ii.push(t.message)}}return t}function Pi(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Li(t)}var n=performance.now()-e;H(4,n),n>o.longTask&&(z(7),W(6,n),Cr(9,0,"".concat(t.dn||t.name,"-").concat(n)))}}var zi=[];function Hi(t,e,n,a){void 0===a&&(a=!1),n=Pi(n);try{t[u("addEventListener")](e,n,a),zi.push({event:e,target:t,listener:n,capture:a})}catch(t){}}function Wi(){for(var t=0,e=zi;t<e.length;t++){var n=e[t];try{n.target[u("removeEventListener")](n.event,n.listener,n.capture)}catch(t){}}zi=[]}var Xi=null,Yi=null,qi=null,Ui=0;function Fi(){return!(Ui++>20)||(Cr(4,0),!1)}function Vi(){Ui=0,qi!==Ji()&&(Mo(),window.setTimeout(Bi,250))}function Bi(){No(),W(29,1)}function Ji(){return location.href?location.href.replace(location.hash,""):location.href}Vi.dn=1;var Gi=!1;function Ki(){Gi=!0,c=performance.now()+performance.timeOrigin,ve(),Wi(),Ri(),qi=Ji(),Ui=0,Hi(window,"popstate",Vi),null===Xi&&(Xi=history.pushState,history.pushState=function(){Xi.apply(this,arguments),Qi()&&Fi()&&Vi()}),null===Yi&&(Yi=history.replaceState,history.replaceState=function(){Yi.apply(this,arguments),Qi()&&Fi()&&Vi()})}function Zi(){qi=null,Ui=0,Ri(),Wi(),ve(),c=0,Gi=!1}function Qi(){return Gi}function $i(){No(),A("clarity","restart")}function to(){!function(){Et=[],W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self||window.top==window?1:2)}catch(t){W(31,0)}}(),Hi(window,"error",Mr),Nr={},Ir={}}$i.dn=2,to.dn=3;var eo=Object.freeze({__proto__:null,start:to,stop:function(){Ir={}}});function no(){return at(this,void 0,void 0,(function(){var t,e;return rt(this,(function(n){switch(n.label){case 0:return t=s(),be(e={id:mi(),cost:3}),[4,Ln(document,e,0,t)];case 1:return n.sent(),Sa(document,t),[4,Ha(5,e,t)];case 2:return n.sent(),we(e),[2]}}))}))}function ao(){Ne(),Me(),er(),Ja=null,Ua=new WeakMap,Fa={},Va=[],Ba=!!window.IntersectionObserver,Ut(),o.delayDom?Hi(window,"load",(function(){Kn()})):Kn(),ge(no,1).then((function(){Pi(Me)(),Pi(Za)(),Pi(mn)()})),window.CSSStyleSheet&&CSSStyleSheet.prototype&&(null===va&&(va=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Qi()&&(W(36,1),this[ya]===li.pageNum&&Oa(s(),this[ma],1,arguments[0])),va.apply(this,arguments)}),null===ga&&(ga=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Qi()&&(W(36,1),this[ya]===li.pageNum&&Oa(s(),this[ma],2,arguments[0])),ga.apply(this,arguments)})),function(){if(window.Animation&&window.Animation.prototype&&window.KeyframeEffect&&window.KeyframeEffect.prototype&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(Ra(),Pa(Ma,"play"),Pa(xa,"pause"),Pa(_a,"commitStyles"),Pa(Ia,"cancel"),Pa(Ca,"finish"),null===Na&&(Na=Element.prototype.animate,Element.prototype.animate=function(){var t=Na.apply(this,arguments);return za(t,"play"),t}),document.getAnimations))for(var t=0,e=document.getAnimations();t<e.length;t++){var n=e[t];"finished"===n.playState?za(n,"finish"):"paused"===n.playState||"idle"===n.playState?za(n,"pause"):"running"===n.playState&&za(n,"play")}}()}ao.dn=20;var ro=Object.freeze({__proto__:null,hashText:$t,start:ao,stop:function(){er(),Ua=null,Fa={},Va=[],Ja&&(Ja.disconnect(),Ja=null),Ba=!1,Ft(),function(){for(var t=0,e=Pn;t<e.length;t++){var n=e[t];n&&n.disconnect()}Pn=[],Gn={},zn=[],Hn=[],Fn=[],Jn=0,Vn=null}(),Ne(),ba={},wa={},ka=[],Ea(),Ra()}});var io=null;function oo(){io=null}function uo(t){io={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){at(this,void 0,void 0,(function(){var e,n;return rt(this,(function(a){return e=s(),n=[e,t],29===t&&(n.push(io.fetchStart),n.push(io.connectStart),n.push(io.connectEnd),n.push(io.requestStart),n.push(io.responseStart),n.push(io.responseEnd),n.push(io.domInteractive),n.push(io.domComplete),n.push(io.loadEventStart),n.push(io.loadEventEnd),n.push(io.redirectCount),n.push(io.size),n.push(io.type),n.push(io.protocol),n.push(io.encodedSize),n.push(io.decodedSize),oo(),br(n)),[2]}))}))}(29)}var co,so=0,lo=1/0,fo=0,ho=0,po=[],vo=new Map,go=function(){return so||0},mo=function(){if(!po.length)return-1;var t=Math.min(po.length-1,Math.floor((go()-ho)/50));return po[t].latency},yo=function(){ho=go(),po.length=0,vo.clear()},bo=function(t){if(t.interactionId&&!(t.duration<40)){!function(t){"interactionCount"in performance?so=performance.interactionCount:t.interactionId&&(lo=Math.min(lo,t.interactionId),fo=Math.max(fo,t.interactionId),so=fo?(fo-lo)/7+1:0)}(t);var e=po[po.length-1],n=vo.get(t.interactionId);if(n||po.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};vo.set(a.id,a),po.push(a)}po.sort((function(t,e){return e.latency-t.latency})),po.length>10&&po.splice(10).forEach((function(t){return vo.delete(t.id)}))}}},wo=["navigation","resource","longtask","first-input","layout-shift","largest-contentful-paint","event"];function ko(){try{co&&co.disconnect(),co=new PerformanceObserver(Pi(So));for(var t=0,e=wo;t<e.length;t++){var n=e[t];PerformanceObserver.supportedEntryTypes.indexOf(n)>=0&&("layout-shift"===n&&H(9,0),co.observe({type:n,buffered:!0}))}}catch(t){Cr(3,1)}}function So(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":uo(a);break;case"resource":var r=a.name;oi(4,Eo(r)),r!==o.upload&&r!==o.fallback||W(28,a.duration);break;case"longtask":z(7);break;case"first-input":e&&W(10,a.processingStart-a.startTime);break;case"event":e&&"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&(bo(a),oi(37,mo().toString()));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 Eo(t){var e=document.createElement("a");return e.href=t,e.host}function Oo(){oo(),function(){navigator&&"connection"in navigator&&oi(27,navigator.connection.effectiveType),window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?"complete"!==document.readyState?Hi(window,"load",X.bind(this,ko,0)):ko():Cr(3,0)}()}ko.dn=26,So.dn=27,Oo.dn=25;var To=[eo,ro,Rn,Object.freeze({__proto__:null,start:Oo,stop:function(){co&&co.disconnect(),co=null,yo(),oo()}})];function No(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===Gi&&"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||Gi)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),Ki(),bt(),To.forEach((function(t){return Pi(t.start)()})),null===t&&Co())}function Mo(){Qi()&&(To.slice().reverse().forEach((function(t){return Pi(t.stop)()})),wt(),Zi(),void 0!==_o&&(_o[Io]=function(){(_o[Io].q=_o[Io].q||[]).push(arguments),"start"===arguments[0]&&_o[Io].q.unshift(_o[Io].q.pop())&&Co()}))}var xo=Object.freeze({__proto__:null,consent:yi,event:A,hashText:$t,identify:ut,metadata:gi,pause:function(){Qi()&&(A("clarity","pause"),null===he&&(he=new Promise((function(t){pe=t}))))},resume:function(){Qi()&&(he&&(pe(),he=null,null===fe&&me()),A("clarity","resume"))},set:ot,signal:function(t){gt=t},start:No,stop:Mo,upgrade:et,version:l}),_o=window,Io="clarity";function Co(){if(void 0!==_o){if(_o[Io]&&_o[Io].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var t=_o[Io]&&_o[Io].q||[];for(_o[Io]=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return xo[t].apply(xo,e)},_o[Io].v=l;t.length>0;)_o[Io].apply(_o,t.shift())}}Co()}();
|
|
1
|
+
!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()}();
|
package/build/clarity.module.js
CHANGED
|
@@ -188,6 +188,7 @@ function hash (input, precision) {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
var catchallRegex = /\S/gi;
|
|
191
|
+
var maxUrlLength = 255;
|
|
191
192
|
var unicodeRegex = true;
|
|
192
193
|
var digitRegex = null;
|
|
193
194
|
var letterRegex = null;
|
|
@@ -269,19 +270,26 @@ function text$1(value, hint, privacy, mangle, type) {
|
|
|
269
270
|
}
|
|
270
271
|
return value;
|
|
271
272
|
}
|
|
272
|
-
function url$1(input, electron) {
|
|
273
|
+
function url$1(input, electron, truncate) {
|
|
273
274
|
if (electron === void 0) { electron = false; }
|
|
275
|
+
if (truncate === void 0) { truncate = false; }
|
|
276
|
+
var result = input;
|
|
274
277
|
// Replace the URL for Electron apps so we don't send back file:/// URL
|
|
275
278
|
if (electron) {
|
|
276
|
-
|
|
279
|
+
result = "".concat("https://" /* Data.Constant.HTTPS */).concat("Electron" /* Data.Constant.Electron */);
|
|
277
280
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
else {
|
|
282
|
+
var drop_1 = config$2.drop;
|
|
283
|
+
if (drop_1 && drop_1.length > 0 && input && input.indexOf("?") > 0) {
|
|
284
|
+
var _a = input.split("?"), path = _a[0], query = _a[1];
|
|
285
|
+
var swap_1 = "*na*" /* Data.Constant.Dropped */;
|
|
286
|
+
result = path + "?" + query.split("&").map(function (p) { return drop_1.some(function (x) { return p.indexOf("".concat(x, "=")) === 0; }) ? "".concat(p.split("=")[0], "=").concat(swap_1) : p; }).join("&");
|
|
287
|
+
}
|
|
283
288
|
}
|
|
284
|
-
|
|
289
|
+
if (truncate) {
|
|
290
|
+
result = result.substring(0, maxUrlLength);
|
|
291
|
+
}
|
|
292
|
+
return result;
|
|
285
293
|
}
|
|
286
294
|
function mangleText(value) {
|
|
287
295
|
var trimmed = value.trim();
|
|
@@ -671,6 +679,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
671
679
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
672
680
|
PERFORMANCE OF THIS SOFTWARE.
|
|
673
681
|
***************************************************************************** */
|
|
682
|
+
/* global Reflect, Promise */
|
|
683
|
+
|
|
674
684
|
|
|
675
685
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
676
686
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -1124,8 +1134,12 @@ function getId(node, autogen) {
|
|
|
1124
1134
|
return id ? id : null;
|
|
1125
1135
|
}
|
|
1126
1136
|
function add(node, parent, data, source) {
|
|
1127
|
-
var id = getId(node, true);
|
|
1128
1137
|
var parentId = parent ? getId(parent) : null;
|
|
1138
|
+
// Do not add detached nodes
|
|
1139
|
+
if ((!parent || !parentId) && node.host == null) {
|
|
1140
|
+
return;
|
|
1141
|
+
}
|
|
1142
|
+
var id = getId(node, true);
|
|
1129
1143
|
var previousId = getPreviousId(node);
|
|
1130
1144
|
var parentValue = null;
|
|
1131
1145
|
var regionId = exists(node) ? id : null;
|
|
@@ -5055,7 +5069,9 @@ function start$8() {
|
|
|
5055
5069
|
sessionId: m.sessionId,
|
|
5056
5070
|
pageNum: m.pageNum,
|
|
5057
5071
|
upload: 0 /* Upload.Async */,
|
|
5058
|
-
end: 0 /* BooleanFlag.False
|
|
5072
|
+
end: 0 /* BooleanFlag.False */,
|
|
5073
|
+
applicationPlatform: 0 /* ApplicationPlatform.WebApp */,
|
|
5074
|
+
url: ''
|
|
5059
5075
|
};
|
|
5060
5076
|
}
|
|
5061
5077
|
function stop$7() {
|
|
@@ -5067,6 +5083,8 @@ function envelope(last) {
|
|
|
5067
5083
|
data$1.sequence++;
|
|
5068
5084
|
data$1.upload = last && "sendBeacon" in navigator ? 1 /* Upload.Beacon */ : 0 /* Upload.Async */;
|
|
5069
5085
|
data$1.end = last ? 1 /* BooleanFlag.True */ : 0 /* BooleanFlag.False */;
|
|
5086
|
+
data$1.applicationPlatform = 0 /* ApplicationPlatform.WebApp */;
|
|
5087
|
+
data$1.url = url$1(location.href, false, true);
|
|
5070
5088
|
return [
|
|
5071
5089
|
data$1.version,
|
|
5072
5090
|
data$1.sequence,
|
|
@@ -5077,7 +5095,9 @@ function envelope(last) {
|
|
|
5077
5095
|
data$1.sessionId,
|
|
5078
5096
|
data$1.pageNum,
|
|
5079
5097
|
data$1.upload,
|
|
5080
|
-
data$1.end
|
|
5098
|
+
data$1.end,
|
|
5099
|
+
data$1.applicationPlatform,
|
|
5100
|
+
data$1.url
|
|
5081
5101
|
];
|
|
5082
5102
|
}
|
|
5083
5103
|
|