window._mfq = window._mfq || []; _mfq.push(mouseflow => { const autoTagParameters = ['ttclid', 'fbclid', 'yclid', 'igshid', '_hsenc', '_hsmi', 'mc_cid', 'mc_eid', 'mkt_tok', 'soc_src', 'soc_trk', 'msclkid', 'twclid', 'gad_source', 'hsa_cam,', 'epik', 'gad_campaignid']; for (const parameter of autoTagParameters) { let value = getQuerystringParameterByName(window.location.href, parameter); if (!value) value = getQuerystringParameterByName(document.referrer, parameter); if (value) mouseflow.setVariable(parameter, value); } function getQuerystringParameterByName(url, name) { name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); const regex = new RegExp('[\\?&]' + name + '=([^&#]*)'); const results = regex.exec(url); if (!results) return ''; return decodeURIComponent(results[1].replace(/\+/g, ' ')); } });;window.mouseflowEnableCssRecording = true;;var mouseflowCrossDomainSupport = true;var mouseflowDisableKeyLogging = true;if(typeof mouseflow==='undefined'&&typeof mouseflowPlayback==='undefined'){(function(){var _437=true;var _434=false;var _556=[];var _537=[];var _39='https://eu.mouseflow.com';var _429=false;var _395=(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function n(t){return"object"==typeof t&&null!==t&&t.nodeType===Node.ELEMENT_NODE}t.r(e),t.d(e,{default:()=>Q,getCssSelector:()=>K});const r={NONE:"",DESCENDANT:" ",CHILD:" > "},o={id:"id",class:"class",tag:"tag",attribute:"attribute",nthchild:"nthchild",nthoftype:"nthoftype"},i="CssSelectorGenerator";function c(t="unknown problem",...e){console.warn(`${i}: ${t}`,...e)}const u={selectors:[o.id,o.class,o.tag,o.attribute],includeTag:!1,whitelist:[],blacklist:[],combineWithinSelector:!0,combineBetweenSelectors:!0,root:null,maxCombinations:Number.POSITIVE_INFINITY,maxCandidates:Number.POSITIVE_INFINITY,useScope:!1};function s(t){return t instanceof RegExp}function a(t){return["string","function"].includes(typeof t)||s(t)}function l(t){return Array.isArray(t)?t.filter(a):[]}function f(t){const e=[Node.DOCUMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE,Node.ELEMENT_NODE];return function(t){return t instanceof Node}(t)&&e.includes(t.nodeType)}function d(t,e){if(f(t))return t.contains(e)||c("element root mismatch","Provided root does not contain the element. This will most likely result in producing a fallback selector using element's real root node. If you plan to use the selector using provided root (e.g. `root.querySelector`), it will not work as intended."),t;const n=e.getRootNode({composed:!1});return f(n)?(n!==document&&c("shadow root inferred","You did not provide a root and the element is a child of Shadow DOM. This will produce a selector using ShadowRoot as a root. If you plan to use the selector using document as a root (e.g. `document.querySelector`), it will not work as intended."),n):S(e)}function m(t){return"number"==typeof t?t:Number.POSITIVE_INFINITY}function p(t=[]){const[e=[],...n]=t;return 0===n.length?e:n.reduce(((t,e)=>t.filter((t=>e.includes(t)))),e)}function g(t){return[].concat(...t)}function h(t){const e=t.map((t=>{if(s(t))return e=>t.test(e);if("function"==typeof t)return e=>{const n=t(e);return"boolean"!=typeof n?(c("pattern matcher function invalid","Provided pattern matching function does not return boolean. It's result will be ignored.",t),!1):n};if("string"==typeof t){const e=new RegExp("^"+t.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".+")+"$");return t=>e.test(t)}return c("pattern matcher invalid","Pattern matching only accepts strings, regular expressions and/or functions. This item is invalid and will be ignored.",t),()=>!1}));return t=>e.some((e=>e(t)))}function b(t,e,n){const r=Array.from(d(n,t[0]).querySelectorAll(e));return r.length===t.length&&t.every((t=>r.includes(t)))}function y(t,e){e=null!=e?e:S(t);const r=[];let o=t;for(;n(o)&&o!==e;)r.push(o),o=o.parentElement;return r}function N(t,e){return p(t.map((t=>y(t,e))))}function S(t){return t.ownerDocument.querySelector(":root")}const E=", ",v=new RegExp(["^$","\\s"].join("|")),w=new RegExp(["^$"].join("|")),I=[o.nthoftype,o.tag,o.id,o.class,o.attribute,o.nthchild],T=h(["class","id","ng-*"]);function O({name:t}){return`[${t}]`}function C({name:t,value:e}){return`[${t}='${e}']`}function x({nodeName:t,nodeValue:e}){return{name:Y(t),value:Y(null!=e?e:void 0)}}function j(t){const e=Array.from(t.attributes).filter((e=>function({nodeName:t,nodeValue:e},n){const r=n.tagName.toLowerCase();return!(["input","option"].includes(r)&&"value"===t||"src"===t&&(null==e?void 0:e.startsWith("data:"))||T(t))}(e,t))).map(x);return[...e.map(O),...e.map(C)]}function A(t){var e;return(null!==(e=t.getAttribute("class"))&&void 0!==e?e:"").trim().split(/\s+/).filter((t=>!w.test(t))).map((t=>`.${Y(t)}`))}function $(t){var e;const n=null!==(e=t.getAttribute("id"))&&void 0!==e?e:"",r=`#${Y(n)}`,o=t.getRootNode({composed:!1});return!v.test(n)&&b([t],r,o)?[r]:[]}function D(t){const e=t.parentNode;if(e){const r=Array.from(e.childNodes).filter(n).indexOf(t);if(r>-1)return[`:nth-child(${String(r+1)})`]}return[]}function R(t){return[Y(t.tagName.toLowerCase())]}function P(t){const e=[...new Set(g(t.map(R)))];return 0===e.length||e.length>1?[]:[e[0]]}function _(t){const e=P([t])[0],n=t.parentElement;if(n){const r=Array.from(n.children).filter((t=>t.tagName.toLowerCase()===e)),o=r.indexOf(t);if(o>-1)return[`${e}:nth-of-type(${String(o+1)})`]}return[]}function k(t=[],{maxResults:e=Number.POSITIVE_INFINITY}={}){return Array.from(function*(t=[],{maxResults:e=Number.POSITIVE_INFINITY}={}){let n=0,r=M(1);for(;r.length<=t.length&&nt[e]));yield e,r=L(r,t.length-1)}}(t,{maxResults:e}))}function L(t=[],e=0){const n=t.length;if(0===n)return[];const r=[...t];r[n-1]+=1;for(let t=n-1;t>=0;t--)if(r[t]>e){if(0===t)return M(n+1);r[t-1]++,r[t]=r[t-1]+1}return r[n-1]>e?M(n+1):r}function M(t=1){return Array.from(Array(t).keys())}const V=":".charCodeAt(0).toString(16).toUpperCase(),F=/[ !"#$%&'()\[\]{|}<>*+,./;=?@^`~\\]/;function Y(t=""){return CSS?CSS.escape(t):function(t=""){return t.split("").map((t=>":"===t?`\\${V} `:F.test(t)?`\\${t}`:escape(t).replace(/%/g,"\\"))).join("")}(t)}const W={tag:P,id:function(t){return 0===t.length||t.length>1?[]:$(t[0])},class:function(t){return p(t.map(A))},attribute:function(t){return p(t.map(j))},nthchild:function(t){return p(t.map(D))},nthoftype:function(t){return p(t.map(_))}},q={tag:R,id:$,class:A,attribute:j,nthchild:D,nthoftype:_};function B(t){return t.includes(o.tag)||t.includes(o.nthoftype)?[...t]:[...t,o.tag]}function G(t={}){const e=[...I];return t[o.tag]&&t[o.nthoftype]&&e.splice(e.indexOf(o.tag),1),e.map((e=>{return(r=t)[n=e]?r[n].join(""):"";var n,r})).join("")}function H(t,e,n="",o){const i=function(t,e){return""===e?t:function(t,e){return[...t.map((t=>e+r.DESCENDANT+t)),...t.map((t=>e+r.CHILD+t))]}(t,e)}(function(t,e,n){const r=function(t,e){const{blacklist:n,whitelist:r,combineWithinSelector:o,maxCombinations:i}=e,c=h(n),u=h(r);return function(t){const{selectors:e,includeTag:n}=t,r=[...e];return n&&!r.includes("tag")&&r.push("tag"),r}(e).reduce(((e,n)=>{const r=function(t,e){return(0,W[e])(t)}(t,n),s=function(t=[],e,n){return t.filter((t=>n(t)||!e(t)))}(r,c,u),a=function(t=[],e){return t.sort(((t,n)=>{const r=e(t),o=e(n);return r&&!o?-1:!r&&o?1:0}))}(s,u);return e[n]=o?k(a,{maxResults:i}):a.map((t=>[t])),e}),{})}(t,n),o=function(t,e){return function(t){const{selectors:e,combineBetweenSelectors:n,includeTag:r,maxCandidates:o}=t,i=n?k(e,{maxResults:o}):e.map((t=>[t]));return r?i.map(B):i}(e).map((e=>function(t,e){const n={};return t.forEach((t=>{const r=e[t];r&&r.length>0&&(n[t]=r)})),function(t={}){let e=[];return Object.entries(t).forEach((([t,n])=>{e=n.flatMap((n=>0===e.length?[{[t]:n}]:e.map((e=>Object.assign(Object.assign({},e),{[t]:n})))))})),e}(n).map(G)}(e,t))).filter((t=>t.length>0))}(r,n),i=g(o);return[...new Set(i)]}(t,0,o),n);for(const n of i)if(b(t,n,e))return n;return null}function U(t){return{value:t,include:!1}}function z({selectors:t,operator:e}){let n=[...I];t[o.tag]&&t[o.nthoftype]&&(n=n.filter((t=>t!==o.tag)));let r="";return n.forEach((e=>{var n;(null!==(n=t[e])&&void 0!==n?n:[]).forEach((({value:t,include:e})=>{e&&(r+=t)}))})),e+r}function J(t,e){return t.map((t=>function(t,e){return[e?":scope":":root",...y(t,e).reverse().map((t=>{var e;const n=function(t,e,n=r.NONE){const o={};return e.forEach((e=>{Reflect.set(o,e,function(t,e){return q[e](t)}(t,e).map(U))})),{element:t,operator:n,selectors:o}}(t,[o.nthchild],r.CHILD);return(null!==(e=n.selectors.nthchild)&&void 0!==e?e:[]).forEach((t=>{t.include=!0})),n})).map(z)].join("")}(t,e))).join(E)}function K(t,e={}){var r;const i=function(t){(t instanceof NodeList||t instanceof HTMLCollection)&&(t=Array.from(t));const e=(Array.isArray(t)?t:[t]).filter(n);return[...new Set(e)]}(t),c=function(t,e={}){const n=Object.assign(Object.assign({},u),e);return{selectors:(r=n.selectors,Array.isArray(r)?r.filter((t=>{return e=o,n=t,Object.values(e).includes(n);var e,n})):[]),whitelist:l(n.whitelist),blacklist:l(n.blacklist),root:d(n.root,t),combineWithinSelector:!!n.combineWithinSelector,combineBetweenSelectors:!!n.combineBetweenSelectors,includeTag:!!n.includeTag,maxCombinations:m(n.maxCombinations),maxCandidates:m(n.maxCandidates),useScope:!!n.useScope};var r}(i[0],e),s=null!==(r=c.root)&&void 0!==r?r:S(i[0]);let a="",f=s;function p(){return function(t,e,n="",r){if(0===t.length)return null;const o=[t.length>1?t:[],...N(t,e).map((t=>[t]))];for(const t of o){const o=H(t,e,n,r);if(o)return{foundElements:t,selector:o}}return null}(i,f,a,c)}let g=p();for(;g;){const{foundElements:t,selector:e}=g;if(b(i,e,s))return e;f=t[0],a=e,g=p()}return i.length>1?i.map((t=>K(t,c))).join(E):J(i,c.useScope?s:void 0)}const Q=K;return e})(); var _301=typeof _765==='function';function _800(_90){return'MF'+(_2.includeDebugTime?' - '+_10:'')+': '+_90}function _5(_90,_10){if(!_2.debug)return;_10=(typeof _10!=='undefined'?_10:'');if(_90 instanceof Error){_90.message=_800(_90.message);console.error(_90)}else{console.groupCollapsed(_800(_90));console.trace();console.groupEnd()}}var _22=new _865(window,_5);var _16=new _917(window,_22);var _24=new _916(window,Math,JSON,_22);var _54=new _1098(_22,_24);var _71=new _712('local',window,_24,_5);var _116=new _712('session',window,_24,_5);var _497=new _945(window,_16);var _2=new _892(window,_71,_116,_437,_434,_429);_2._541();_2._338=[];_2._766=[];_2._495=[];_2._767=[];_2._659=[];_2._651=[];_2._46='1fce9de9-2f57-4eaf-aacb-5e31de944168';_2._542=true;_2._1132='10000000';_2._360('appUrl',_39);var _286=new _1107(window,_24,_2,_5);function _765(_3,_94,_22,_2,_16,_24,_54,_72,_324,_71,_116,_187,_423,_5,_497,_286,_119,_112){var _1054=false;var _151='https://eu01.rec.mouseflow.com/';var _176=50.00000;var _183=[];var _1155=[];var _972=[];var _274=["michelin.com.ar","michelin.com.co","michelin.cl","michelin.com.br"];var _729=false;var _1083=false;var _430='2026-01-03T08:12:17.5777085Z';var _150='19.06';var _169=false;var _431=false;var _82=false;var _167=false;var _425=false;var _798=/\[(\d+)\]_mf$/;var _14=_3.document;var _65=_3.location;var _12=_877();var _1=_668();var _345=_24._530(_2);var _67={_637:100,_1152:250,_1156:10000,_589:1336,_461:1800000,_986:3600000,_1142:100,_862:2000,_815:8000,_803:100000,_743:2048,_919:200,_903:5000,_1168:2000,};var _501,_502,_503,_312,_303,_510,_296,_578,_421,_1184,_85,_670=[],_671=[],_648=[],_487=[],_644=[],_154=new Map(),_250=new Map();var _6={_393:0,_350:1,_352:2,_317:3,_306:4,_212:5,_211:6,_309:7,_343:8,_313:9,_236:10,_422:11,_485:12,_302:13,_731:14,_41:15,_1172:16,_1171:17,_74:18,_477:19,_930:20,_498:21,_490:22,_346:23,_526:24,_524:25,_521:26,_520:27,_347:28,_562:29,_349:30,_561:31,_378:32,_315:33,_584:34,_255:35,_535:36,_545:37,_47:38,_348:39,_1089:40,_238:41,_61:42,_1170:43,_843:44,_240:45};var _81={_649:{_20:'bounce',_4:2,_58:1,_130:1000},_355:{_20:'click-rage',_4:5,_58:2,_130:2000},_655:{_20:'click-error',_4:2,_58:3,_130:20},_667:{_20:'speed-browsing',_4:1,_58:6,_130:1000},_255:{_20:'submit-failure',_4:3,_58:7,_130:20},_504:{_20:'404',_4:5,_58:8,_130:20},_354:{_20:'dead-click',_4:1,_58:9,_130:1000}};var _606=/[\x20\r\n]+/g;var _1130=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@/;var _1116=/^\d{12,19}$/;var _954=/^(onbeforeunload|onblur|onchange|onclick|onfocus|oninput|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmouseenter|onmouseleave|onmousemove|onmouseout|onmouseover|onmouseup|onresize|onsubmit|ontouchcancel|ontouchend|ontouchenter|ontouchleave|ontouchmove|ontouchstart|onunload)$/;var _1002=/checkbox|radio|button|submit|file|image|reset/;var _1001=[{name:'VISA',patternRegex:/^4(\d{15}|\d{17,18})$/},{name:'Mastercard',patternRegex:/^(222[1-9]|22[3-9]\d|2[3-6]\d{2}|27[01]\d|2720|5[1-5]\d\d)\d{12}$/},{name:'American Express',patternRegex:/^3[47]\d{13}$/},{name:'Diners Club',patternRegex:/^3(0[0-5]|[689]\d)(\d{11}|\d{13}|\d{16})$/},{name:'Discover',patternRegex:/^(6011|64[456789]\d|65\d{2})(\d{12}|\d{15})$/},{name:'JCB',patternRegex:/^(352[89]|35[3-8]\d|2131|1800)\d{12,15}$/},{name:'China UnionPay',patternRegex:/^(62[03456]\d{3}]|6210\d\d|621[1-7]\d\d|6218[0-2]\d|6218[4-9]\d|6219[0-7]\d|6220[0-579]\d|62201\d|6220[2-9]\d|622[1-9]\d{2}|622018|627[026]\d\d|62770\d|6277[1-7]\d|62778[1-9]|62779\d|628[2-9]\d\d|629[12]\d\d|810\d\d\d|811\d\d\d|81[2-6]\d\d\d|817[01]\d\d)\d{8,13}$/},{name:'Maestro',patternRegex:/^((493698|50000\d|5000[1-9]\d|500[1-9]\d{2}|50[1-3]\d{3}|5040\d{2}|5041[0-6]\d|50417[0-4]|50417[6-9]|5041[89]\d|504[2-9]\d{2}|505\d{3}|506[0-5]\d{2}|5066[0-8]\d|50669[0-8]|506779|5067[89]\d|506[89]\d{2}|50[78]\d{3})\d{6,13}|(5[6-9]|63|67|6\d)\d{10,17})$/},{name:'Elo',patternRegex:/^(40117[89]|438935|457631|457632|431274|451416|457393|504175|506699|5067[0-6]\d|50677[0-8]|50900\d|5090[1-9]\d|509[1-9]\d{2}|627780|636297|636368|65003[1-3]|65003[5-9]|65004\d|65005[01]|65040[5-9]|6504[1-3]\d|65048[5-9]|65049\d|6505[0-2]\d|65053[0-8]|65054[1-9]|6505[5-8]\d|65059[0-8]|65070\d|65071[0-8]|65072[0-7]|65090[1-9]|6509[1-6]\d|65097[0-8]|65165[2-9]|6516[67]\d|65500\d|65501\d|65502[1-9]|6550[34]\d|65505[0-8])\d{10}$/},{name:'Hiper',patternRegex:/^(637095|63737423|63743358|637568|637599|637609|637612)\d{10}$/},{name:'Hipercard',patternRegex:/^(606282)\d{10}$/},{name:'Dankort',patternRegex:/^5019\d{12}$/},{name:'VISA Dankort',patternRegex:/^4571\d{12}$/}];const _609=_1067();const _278=new WeakMap();const _290='mf-dead-click';let _500=false;var _1117=(function(_884){return function(_661){var _616=_661.length,_640=1,_519=0,_188;while(_616){_188=parseInt(_661.charAt(--_616),10);_640^=1;_519+=_640?_884[_188]:_188}return _519&&_519% 10===0}}([0,2,4,6,8,1,3,5,7,9])); // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // This component contains modifications carried out by Mouseflow ApS. var __extends=this.__extends||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p];function __(){this.constructor=d}__.prototype=b.prototype;d.prototype=new __()};var MutationObserverCtor;if(typeof WebKitMutationObserver!=='undefined')MutationObserverCtor=_22._206(_3,'WebKitMutationObserver');else if(typeof MutationObserver!=='undefined')MutationObserverCtor=_22._206(_3,'MutationObserver');if(MutationObserverCtor===undefined){_5('DOM Mutation Observers not supported.',_10())}var NodeMap=(function(){function NodeMap(){this.nodes=[];this.values=[]}NodeMap.prototype.isIndex=function(s){return+s===s>>>0};NodeMap.prototype.nodeId=function(node){var id=node[NodeMap.ID_PROP];if(!id)id=node[NodeMap.ID_PROP]=NodeMap.nextId_++;return id};NodeMap.prototype.set=function(node,value){var id=this.nodeId(node);this.nodes[id]=node;this.values[id]=value};NodeMap.prototype.get=function(node){var id=this.nodeId(node);return this.values[id]};NodeMap.prototype.has=function(node){return this.nodeId(node)in this.nodes};NodeMap.prototype.deleteNode=function(node){var id=this.nodeId(node);delete this.nodes[id];this.values[id]=undefined};NodeMap.prototype.keys=function(){var nodes=[];for(var id in this.nodes){if(!this.isIndex(id))continue;nodes.push(this.nodes[id])}return nodes};NodeMap.ID_PROP='__mouseflow_node_map_id__';NodeMap.nextId_=1;return NodeMap})();var Movement;(function(Movement){Movement[Movement['STAYED_OUT']=0]='STAYED_OUT';Movement[Movement['ENTERED']=1]='ENTERED';Movement[Movement['STAYED_IN']=2]='STAYED_IN';Movement[Movement['REPARENTED']=3]='REPARENTED';Movement[Movement['REORDERED']=4]='REORDERED';Movement[Movement['EXITED']=5]='EXITED'})(Movement||(Movement={}));function enteredOrExited(changeType){return changeType===Movement.ENTERED||changeType===Movement.EXITED}var NodeChange=(function(){function NodeChange(node,childList,attributes,characterData,oldParentNode,added,attributeOldValues,characterDataOldValue){if(childList===void 0){childList=false}if(attributes===void 0){attributes=false}if(characterData===void 0){characterData=false}if(oldParentNode===void 0){oldParentNode=null}if(added===void 0){added=false}if(attributeOldValues===void 0){attributeOldValues=null}if(characterDataOldValue===void 0){characterDataOldValue=null}this.node=node;this.childList=childList;this.attributes=attributes;this.characterData=characterData;this.oldParentNode=oldParentNode;this.added=added;this.attributeOldValues=attributeOldValues;this.characterDataOldValue=characterDataOldValue;this.isCaseInsensitive=this.node.nodeType===1&&this.node instanceof HTMLElement&&typeof(HTMLDocument)!=='undefined'&&this.node.ownerDocument instanceof HTMLDocument}NodeChange.prototype.getAttributeOldValue=function(name){if(!this.attributeOldValues)return undefined;if(this.isCaseInsensitive)name=name.toLowerCase();return this.attributeOldValues[name]};NodeChange.prototype.getAttributeNamesMutated=function(){var names=[];if(!this.attributeOldValues)return names;for(var name in this.attributeOldValues){names.push(name)}return names};NodeChange.prototype.attributeMutated=function(name,oldValue){this.attributes=true;this.attributeOldValues=this.attributeOldValues||{};if(name in this.attributeOldValues)return;this.attributeOldValues[name]=oldValue};NodeChange.prototype.characterDataMutated=function(oldValue){if(this.characterData)return;this.characterData=true;this.characterDataOldValue=oldValue};NodeChange.prototype.removedFromParent=function(parent){this.childList=true;if(this.added||this.oldParentNode)this.added=false;else this.oldParentNode=parent};NodeChange.prototype.insertedIntoParent=function(){this.childList=true;this.added=true};NodeChange.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return _22._75(this.node)};return NodeChange})();var ChildListChange=(function(){function ChildListChange(){this.added=new NodeMap();this.removed=new NodeMap();this.maybeMoved=new NodeMap();this.oldPrevious=new NodeMap();this.moved=undefined}return ChildListChange})();var TreeChanges=(function(_622){__extends(TreeChanges,_622);function TreeChanges(rootNode,mutations){_622.call(this);this.rootNode=rootNode;this.reachableCache=undefined;this.wasReachableCache=undefined;this.anyParentsChanged=false;this.anyAttributesChanged=false;this.anyCharacterDataChanged=false;for(var m=0;m{if(!_33.observedMutations.length)return;_33.observerCallback(_33.observedMutations.flat());_33.observedMutations=[]},1)}):{observe:function(){}};this.reconnect()}MutationSummary.createObserverOptions=function(queries){var observerOptions={childList:true,subtree:true};var attributeFilter;function observeAttributes(attributes){if(observerOptions.attributes&&!attributeFilter)return;observerOptions.attributes=true;observerOptions.attributeOldValue=true;if(!attributes){attributeFilter=undefined;return}attributeFilter=attributeFilter||{};attributes.forEach(function(attribute){attributeFilter[attribute]=true;attributeFilter[attribute.toLowerCase()]=true})}queries.forEach(function(query){if(query.characterData){observerOptions.characterData=true;observerOptions.characterDataOldValue=true;return}if(query.all){observeAttributes();observerOptions.characterData=true;observerOptions.characterDataOldValue=true;return}if(query.attribute){observeAttributes([query.attribute.trim()]);return}var attributes=elementFilterAttributes(query.elementFilter).concat(query.attributeList||[]);if(attributes.length)observeAttributes(attributes)});if(attributeFilter)observerOptions.attributeFilter=Object.keys(attributeFilter);return observerOptions};MutationSummary.validateOptions=function(options){for(var prop in options){if(!(prop in MutationSummary.optionKeys))throw Error('Invalid option: '+prop)}if(typeof options.callback!=='function')throw Error('Invalid options: callback is required and must be a function');if(!options.queries||!options.queries.length)throw Error('Invalid options: queries must contain at least one query request object.');var opts={callback:options.callback,rootNode:options.rootNode||_14,observeOwnChanges:!!options.observeOwnChanges,oldPreviousSibling:!!options.oldPreviousSibling,queries:[]};for(var i=0;i1)throw Error('Invalid request option. all has no options.');opts.queries.push({all:true});continue}if('attribute'in request){let query={attribute:validateAttribute(request.attribute)};query.elementFilter=Selector.parseSelectors('*['+query.attribute+']');if(Object.keys(request).length>1)throw Error('Invalid request option. attribute has no options.');opts.queries.push(query);continue}if('element'in request){var requestOptionCount=Object.keys(request).length;let query={element:request.element,elementFilter:Selector.parseSelectors(request.element)};if(Object.prototype.hasOwnProperty.call(request,'elementAttributes')){query.attributeList=validateElementAttributes(request.elementAttributes);requestOptionCount--}if(requestOptionCount>1)throw Error('Invalid request option. element only allows elementAttributes option.');opts.queries.push(query);continue}if(request.characterData){if(Object.keys(request).length>1)throw Error('Invalid request option. characterData has no options.');opts.queries.push({characterData:true});continue}throw Error('Invalid request option. Unknown query request.')}return opts};MutationSummary.prototype.createSummaries=function(mutations){if(!mutations||!mutations.length)return[];var projection=new MutationProjection(this.root,mutations,this.elementFilter,this.calcReordered,this.options.oldPreviousSibling);var summaries=[];for(var i=0;im.root===shadow);if(existingSummary)return;const _33=this;this.mutationSummaries.push(new MutationSummary({rootNode:shadow,callback:function(summaries){_33.applyChanged(summaries)},queries:[{all:true}]}))};TreeMirrorClient.prototype.disconnect=function(){this.mutationSummaries.forEach(function(mutationSummary){mutationSummary.disconnect()});this.mutationSummaries=[]};TreeMirrorClient.prototype.rememberNode=function(node){var id=this.nextId++;this.knownNodes.set(node,id);return id};TreeMirrorClient.prototype.forgetNode=function(node){this.knownNodes.deleteNode(node)};TreeMirrorClient.prototype.isKnownNode=function(node){return!!this.knownNodes.get(node)};TreeMirrorClient.prototype.serializeNode=function(node,isInitial){if(node===null)return null;if(_234(node,_277))return null;if(_234(node,_276))return null;var id=this.knownNodes.get(node);if(id!==undefined){if(isInitial)return _5('Found duplicated node during initial DOM: '+id,_10());return{id:id}}var data={nodeType:node.nodeType,id:this.rememberNode(node)};var parent=_22._75(node);if(_24._217(node,'data-mf-replace')||_24._217(node,'data-mf-replace-inner'))return null;var _413=_533(node),_625=!!_234(parent,_277);if(_413||_625){_5('CSS Blacklist blocked node. NodeType: '+node.nodeType+'. '+(node.nodeType===1?'Tag: '+node.tagName:''),_10());_273(node,_277,true);if(isInitial){for(const _80 of _22._184(node))this.serializeNode(_80,true)}if(_625)return null}var _463=_368(node),_632=!!_234(parent,_276);if(_463||_632){_5('CSS Masked blocked node. NodeType: '+node.nodeType+'. '+(node.nodeType===1?'Tag: '+node.tagName:''),_10());_273(node,_276,true);if(isInitial){for(const _80 of _22._184(node))this.serializeNode(_80,true)}if(_632)return null}switch(data.nodeType){case 9:this.serializeAdoptedStyleSheets(node,data);this.serializeChildNodes(node,data);break;case 11:data.isShadowRoot=_22._998(node);this.serializeAdoptedStyleSheets(node,data);this.serializeChildNodes(node,data);break;case 10:data.name=node.name;data.publicId=node.publicId;data.systemId=node.systemId;break;case 8:case 3:if(node.nodeType===8&&node.textContent.indexOf('[if')!==0&&node.textContent.indexOf('1)_17=_138(_18);_154.set(_18,_17)})}catch(e){}})}function _951(){_250.clear();const _944=_72._115();for(const _209 of _2._651){if(_209._295&&_209._295!=_944)continue;let _239;if(_209._1182){const _570=_392(_209._21,_14);if(!_570?.length)continue;_239=_570}else{const _581=_374(_209._21,false);if(!_581)continue;_239=[_581]}if(_209._354){const _588=_250.get(_81._354._20);if(_588)_239.forEach(_18=>_588.add(_18));else _250.set(_81._354._20,new Set(_239))}if(_209._355){const _591=_250.get(_81._355._20);if(_591)_239.forEach(_18=>_591.add(_18));else _250.set(_81._355._20,new Set(_239))}}}function _392(_17,_35){try{var _97=[];_17.split(',').forEach(function(_17){var _141=_17.split(' > :document-fragment: > ',2);_35.querySelectorAll(_141[0]).forEach(function(_0){if(_141[1]&&_0.shadowRoot){_392(_141[1],_0.shadowRoot).forEach(function(_0){_97.push(_0)})}else{_97.push(_0)}})});return _97}catch(_32){_5('Could not get element from selector: '+_32.message)}}function _569(_316,_948){const _7=[];const _692=_14.createElement('div');_692.innerHTML=_316;for(const _950 of _22._184(_692)){const _958=_948.call(this,_950);_7.push(_958)}return _7}function _568(_18){return _18&&_18.nodeType===8&&_18.textContent.trim().toLowerCase().indexOf('mouseflowexcludestart')===0}function _563(_18){return _18&&_18.nodeType===8&&_18.textContent.trim().toLowerCase().indexOf('mouseflowexcludeend')===0}function _953(_479){return _954.test(_479)}function _405(_170){var _249='';try{if(!_170||!_170.cssRules)return _249}catch(e){return _249}for(var _8=0;_8<_170.cssRules.length;_8++){_249+=_170.cssRules[_8].cssText}return _249}function _1085(){_133({_15:_151+'install?websiteId='+_2._46,_98:function(){_5('Website installed signal sent.',_10())},_41:function(){_5('Error in transmitCrossDomain - could not signal that website was installed.',_10())}})}function _1066(_45){_133({_15:_151+'config?websiteId='+_2._46,_98:function(_63){var _941=_24._294(_63._377);_2.keyLogging=_941.enableKeystrokes;_5('Fetched recording script configuration.');_45()},_41:function(){_5('Error in transmitCrossDomain - could not fetch recording script configuration.');_45()}})}function _31(){if(_82){_5('Recording script is already started',_10());return}if(!_431){_5('Recording not started - recording script is not initialized',_10());return}_5('Recording starting, version '+_150+(_2.gdprEnabled?', GDPR mode enabled':'')+(_2._542?', privacy enforced':''),_10());if(!_624())return;_82=true;_1154();_492();_12._66=_1143(_1._579);if(_924())_925();_1._225=_150;_940()}function _940(){var _583=_1069();var _15=_151+'init?v='+_150+'&p='+_2._46+'&s='+_12._56+'&page='+_12._66+'&ret='+(_12._288?'1':'0')+'&u='+_12._175+'&href={href}'+'&url='+_93(_72._115())+'&ref={referrer}'+'&title='+_93(_14.title)+'&res='+_3.screen.width+'x'+_3.screen.height+'&tz='+_1146()+'&to='+_12._635+'&dnt='+_12._628+'&ori='+(typeof _3.orientation!='undefined'?_3.orientation:'')+'&dw='+_14.documentElement.clientWidth+'&dh='+_14.documentElement.clientHeight+'&time='+_886()+'&pxr='+(typeof _3.devicePixelRatio!='undefined'?_3.devicePixelRatio:1)+(_583.length>0?'&fw='+_583.join(','):'')+'&gdpr='+(_2.gdprEnabled?1:0);_15=_15.replace('{href}',_1032(_15.length)).replace('{referrer}',_93(_2.referrer));_1068();if(_2.hasCustomHref)_119._746(['tag','mf_secret_custom-href']);var _580=_991(_67._743-_15.length-6);_15+=_995(_580);_133({_15:_15,_98:function(_63){if(_63._377==='Recording blocked'){_5('Recording not started - mf_block cookie set to 1',_10());return}const _582=parseInt(_63._377,10);if(isNaN(_582)){_5('Recording not started - init failed',_10());return}_1._742=_582;_580.forEach(function(_136){_735(_136.key,_136.value)});_167=true;_935();_187._31(_12,_1,_298);_119._31();_859();_850();_856()},_900:true,_41:function(){_5('Error in transmitCrossDomain - recording not starting.',_10())}});_560();_1._110=null;_1148();_1._79={x:_3.pageXOffset,y:_3.pageYOffset};_710();_1._305=1;_428();_5('Recording started. '+'session: '+_12._56+', '+'page: '+_12._66+', '+'last page: '+_12._358+', '+'display URL: '+_72._115(),_10())}function _924(){return!_12._56||!_1141()||(_1._225&&_1._225!=='0'&&_1._225!==_150)||(+new Date()-_1._344)>_67._461}function _925(){_5('Starting new session');var _926=_12._56;_12._56=_440();_1._152=[];_12._307=0;if(_12._56===_926)throw Error('New session ID is identical to the old session ID. This might be because Math.random has been overwritten.')}function _70(_927){if(!_82)return;_934();_169=false;_802();_119._716();_16._99(_501);_16._99(_502);_16._99(_503);_16._180(_312);if(_296){_16._180(_296);_805()}if(_303){_16._180(_303);_594()}if(_510){_16._99(_510);_623()}_1161();if(!_927)_26(_6._930,{});_357();_167=false;if(_85)_85.disconnect();_187._70();_428();_1=_668();_5('Recording stopped',_10());_82=false;_425=false}function _399(_25,_65,_933){if(_10()<100){var _931=!_25||_25.toString()===_2.path;var _932=(_65||_3.location).href===_2.location.href;if(_931&&_932)return}if(_82)_70();_2.htmlDelay=_2.newPageViewHtmlDelay;_2._467(_25,_65);_2.forcePath=!!_933;_12._66='';_1._899=true;if(!_431)_264();_31();_557(0)}function _934(){if(_1._122){if(+new Date()-_1._122<_2.registerSubmitTimeout){_5('Registering formSubmit',_10())}else{_5('Not registering formSubmit. Timeout exceeded.',_10());_1._110=null}}}function _509(){_70();_1051('mf_'+_2._46);if(_3.name&&((_3.name.length===35&&_3.name.indexOf('mf_')===0)||(_2.crossDomainSupport&&_3.name.indexOf('mf_'+_2._46)===0)))_3.name=''}function _935(){if(_2.htmlFetchMode==='post'){_16._180(_578);_578=_16._49(function(){_937()},_2.htmlDelay)}else{_5('Html not sent due to mouseflowHtmlFecthMode setting',_10())}}function _937(){if(_85)_85.disconnect();const _55={_46:_2._46,_56:_12._56,_66:_12._66};_364({initialize,applyChanged});_275(_14.body);function initialize(_939,_113){if(_55._66===_12._66)_169=true;_16._49(function(){_1105({_55:_55,_7:{f:'initialize',args:[_939,_113]},_159:_14.documentElement.innerHTML.length})},1)}function applyChanged(_166){const _959=_10()-_1._536<30000;const _960=_166.removed.length||_166.addedOrMoved.length||_166.attributes.length||_166.text.length;if(!_959||!_960)return;_1033({_55:_55,_7:{f:'applyChanged',args:[_166.removed,_166.addedOrMoved,_166.attributes,_166.text]}})}}function _364(_595){if(_85)_85.disconnect();_85=new TreeMirrorClient(_14,{initialize:_595.initialize??function(){},applyChanged:_595.applyChanged??function(){}});_1042();_275(_14.body)}function _472(){if(_85)_85.disconnect()}function _623(){if(!_82)return;_984();_987();_981()}function _984(){const _985=_3.dataLayer||[];const _576=[];let _409=_985.filter(item=>item[0]==='event');for(let i=_1._403||0;i<_409.length;i++){_576.push({"eventName":_409[i][1],"eventObject":_409[i][2]})}_1._328.push(..._576);_1._403=_409.length}function _987(){const _243=_3.s||[];if(typeof AppMeasurement==='undefined'||_243?.constructor!==AppMeasurement){return}const _29={props:{eventName:'props',eventObject:{}},eVars:{eventName:'eVars',eventObject:{}}};for(const key in _243){if(key.startsWith('prop')&&_243[key]!=null){_29.props.eventObject[key]=_243[key]}else if(key.startsWith('eVar')&&_243[key]!=null){_29.eVars.eventObject[key]=_243[key]}}const _585=_101(JSON.stringify(_29));if(_1._410!==_585){_1._410=_585;_1._328.push(_29.props,_29.eVars)}}function _506(_11,_4,_989,_586){if(!_82)return;if(!_587(_11,_4))return;if(!_735(_11,_4)){_5('Variable already set to same value, not triggering callback.',_10());return}var _7={key:_11.toString(),value:_4.toString()||'',scope:_989||'session',overwrite:_586===undefined?true:_586};_1._137.push(_7);_16._180(_303);_303=_16._49(_594,1000)}function _587(_11,_4){if(!_11||!_4){_5('Variable key and value cannot be empty',_10());return false}if(_11.includes('=')){_5('Variable key cannot contain "="',_10());return false}if(_11.length>100){_5('Variable key cannot be more than 100 characters',_10());return false}if(_4.length>2000){_5('Variable value cannot be more than 2000 characters',_10());return false}return true}function _991(limit){var _77=_119._1092();if(!_77.length)return[];var _137=[];var _592=0;for(var _40=0;_40<_77.length;_40++){var _53=_77[_40];if(!_53||!_53.length||_53[0]!=='setVariable')continue;if((_53.length>3&&_53[3]!=='session')||(_53.length>4&&_53[4]!==true))continue;var _11=_53[1];var _4=_53[2];if(!_587(_11,_4))continue;if(_736(_11)!==-1)continue;var _993=_93(_11)+'='+_93(_4);_592+=_993.length+1;if(_592-1>=limit)break;_137.push({key:_11,value:_4});_77.splice(_40,1);_40--}return _137}function _995(_137){var _387=_137.map(function(_136){return _93(_136.key)+'='+_93(_136.value)}).join('&');return _387?'&vars='+_93(_387):''}function _594(){_303=0;for(var _8=0;_8<_1._137.length;_8++){var _136=_1._137[_8];_5('Setting custom variable: '+_136.key+' = '+_136.value+', overwrite: '+(_136.overwrite===undefined?true:_136.overwrite),_10())}_298('variable',_1._137);_1._137=[]}function _981(){if(!_2.enableDataLayerCapture)return;if(_1._328.length)_298('datalayer',_1._328);_1._328=[]}function _74(_969){_26(_6._74,{target:_969})}function _493(){_26(_6._74,{target:'*'})}function _528(_962){if(!_82)return;if(_2.gdprEnabled||_2._542){_5('User identification not allowed (privacy enforced in script)',_10());return}_298('identify',{userId:_12._175,userName:_962})}function _552(_38){if(!_82)return;_5('Registering form submit attempt on this page',_10());_532(_469(_38))}function _271(_38){if(!_82)return;var _416=_10();if(_1._110===_101(_2.path||_2.location.pathname)||_416>5000){_5('Registering form submit success on this page',_10());if(!_1._110){_26(_6._302,{element:_469(_38)})}_26(_6._584,{});_1._122=undefined;_1._110=undefined}else{_16._49(function(){_5('Registering form submit success on previous page',_10());_460([{_23:_6._584}],_577())},_593())}}function _353(_38){if(!_82)return;var _416=_10();if(_1._110===_101(_2.path||_2.location.pathname)||_416>5000){_5('Registering form submit failure on this page',_10());if(!_1._110){_26(_6._302,{element:_469(_38)})}_26(_6._255,{});_128(_81._255);_1._122=undefined;_1._110=undefined}else{_16._49(function(){_5('Registering form submit failure on previous page',_10());_460([{_23:_6._255},{_23:_6._61,_19:_383(_81._255)},{_23:_6._74,_19:{target:_81._255._20}}],_577())},_593())}}function _577(){const _442=_12._95.find(_55=>_55._58===_12._358)?._69;if(_1._122&&_442&&_1._122>_442&&_1._122<_1._69){return _1._122-_442}return 0}function _593(){var _574=1000;var _575=new Date()-_1._122;return _575>_574?0:_574-_575}function _469(_38){if(_38 instanceof Element)return _38;const _974=_972.filter(_447=>_447._389===_38).map(_447=>_447._21);const _21=_974[0];return _374(_21||_38)}function _532(_38){if(!_82||!_38||_299(_38))return;if((+new Date())-_1._669<20)return;_1._669=+new Date();const _389=_138(_38);_26(_6._302,{element:_38,target:_389});const _272=_907(_38);const _291=_1._291[_389];if(!_291){_1._291[_389]=_272}else{_1128(_272,_291)}_1110(_272);_908(_38);_1._122=+new Date();_1._110=_101(_2.path||_2.location.pathname);_560()}function _560(){if(!_1._110)return;var _215=_863();if(_215.length){_920(_215);return}if(_1._110!==_101(_2.path||_2.location.pathname)){_271()}}function _920(_215){var _564=_215.filter(function(_2){return!_2.target})[0];if(_564){_665(_564);return}_868(function(){var _565=_215.filter(function(_2){return _2.target&&_866(_2.target)})[0];if(!_565)return false;_665(_565);return true},_67._919,_67._903)}function _863(){if(!_2.forms)return[];var _215=_2.forms.filter(function(_404){if(_404.formPath&&_101(_404.formPath)!==_1._110)return false;if(_404.redirectPath&&_404.redirectPath!==_2.location.pathname)return false;return true});return _215}function _866(_21){var _0=_14.querySelector(_21.selector);if(!_0)return false;if(!_21.text)return true;return _0.textContent.toLowerCase().includes(_21.text.toLowerCase())}function _665(_2){if(_2.result==='success'){_271()}else if(_2.result==='failure'){_353()}}function _868(_45,_662,_870){var _69=new Date();var _663=function(){var _869=new Date()-_69;if(_869<_870&&!_45())_16._49(_663,_662)};_16._49(_663,_662)}function _128(_61,_0,_21){if(!_82||!_61)return;const _293=_878(_61,_0);const _386=_383(_61,_0,_21,_293);if(!_386)return;_26(_6._61,_386);if(!_293)_187._928(_61._20)}function _383(_61,_0,_21,_293){let _304=+_61._4;let _20=_61._20||'custom-friction'+(_61._705?('-'+_61._705):'');if(_293)_20+='__MUTED';const _455=_1._390.findIndex(e=>e._20===_20&&e._21===_21);const _451=_455>-1?_1._390[_455]:null;if(_451){const _873=new Date()-_451._103;if(_873<_61._130)return;_1._390.splice(_455,1)}_1._390.push({_20:_20,_21:_21,_103:new Date()});if((_293||_451)&&!_20.includes('custom-friction'))_304=0;const _386={value:_20,element:_0,target:_21||'',x:_304>0?_304:0,y:_304<0?_304*-1:0,};return _386}function _878(_61,_0){if(!_0||!_61||!_2._651.length)return false;const _650=_250.get(_61._20);if(!_650)return false;if(_367(_0,(_849)=>_650.has(_849)))return true;return false}function _859(){if(_12._95.length<2)return;var _263=_12._95[_12._95.length-2];var _282=_12._95[_12._95.length-1];var _223=_101(_2.path||_2.location.pathname);if(_263._223===_223&&_263._223!==_282._223&&_1._69-_282._69<10000){_460([{_23:_6._61,_19:_383(_81._649)},{_23:_6._74,_19:{target:_81._649._20}}])}}function _850(){if(_12._95.length<4)return;var _647=_12._95[_12._95.length-5];var _263=_12._95[_12._95.length-4];if(_1._69-_263._69<30000){if(_647&&_263._69-_647._69<30000)return;_566(_263._58,[{_23:_6._61,_19:_383(_81._667)},{_23:_6._74,_19:{target:_81._667._20}}])}}function _856(){const _244=_417();const _857=_244.responseStatus;if(_857===404){_128(_81._504);return}const _858=_2.notFoundIdentifiers.map(a=>new RegExp(a,'i')).some(a=>a.test(_14.title));if(_858){_128(_81._504);return}}function _283(){if(!_82)return;_187._283.apply(_187,arguments)}function _877(){return{_56:'',_66:'',_175:'',_288:false,_635:+('ontouchstart'in _3&&_2.touchEvents),_628:(navigator.doNotTrack==='yes'||navigator.doNotTrack==1||window.doNotTrack==1||navigator.msDoNotTrack==1)?1:0,_307:0,_358:'',_95:[],_287:[],_361:_116._782(),_181:null}}function _668(){return{_579:new Date(),_69:+new Date(),_742:null,_314:+new Date(),_344:+new Date(),_899:false,_7:[],_142:[],_52:[],_681:[],_600:{},_132:[],_62:[],_158:[],_687:0,_688:0,_201:0,_444:'',_669:0,_245:[],_390:[],_139:{x:0,y:0},_694:{x:0,y:0},_838:{x:0,y:0},_638:-100,_79:{x:0,y:0},_216:{x:0,y:0},_839:new Map(),_847:new Map(),_515:-100,_511:-100,_179:{x:0,y:0},_845:{x:1,y:1},_841:{x:0,y:0},_457:[],_1021:0,_204:[],_137:[],_305:1,_536:0,_567:0,_291:{},_152:[],_818:0,_832:0,_830:0,_287:[],_322:0,_193:0,_157:null,_143:_911(),_808:0,_810:0,_809:false,_559:false,_225:0,_634:false,_629:false,_328:[],_403:0,_410:'',}}function _690(_18,_44){let _113=[];for(const _80 of _22._184(_18)){if(_44&&_44(_80))_113.push(_80);_113=_113.concat(_690(_80,_44))}return _113}function _689(_38,_44){return _38.elements?Array.from(_38.elements).filter(_44):_690(_38,_44)}function _907(_38){const _113=_689(_38,function(_9){return/input|select|textarea/i.test(_9.tagName)&&!/hidden|submit|reset|image|button/i.test(_9.type)});const _229=new Map();for(const _0 of _113){const _21=_138(_0);const _4=_254(_0);const _117=_229.get(_21);if(_117){_117._4+=', '+_4}else{const _17=_112._207(_0);_229.set(_21,{_21,_17,_4})}}return _229}function _908(_38){if(!_12._361)return;var _113=_689(_38,function(_9){return/input|textarea/i.test(_9.tagName)&&!/hidden|submit|reset|image|file|button|password/i.test(_9.type)});_113.forEach(function(_9){var _4=_254(_9);if(!_4||_4.length<=3||_189(_4)||_544(_9))return;var _111=_684(_4);if(_111.length===0)return;var _199=[];for(let _8=0;_8<_111.length;_8++){_199.push(_111[_8]._114)}var _190=false;for(let _8=0;_8<_1._143.length;_8++){var _326=_1._143[_8];_190=_199.length===_326.length&&_679(_326,_199)===0;if(_190)break}if(!_190)_1._143.push(_199)});if(_1._143.length){_1._143=_1._143.slice(-100);_918(_1._143)}}function _918(_52){_71._281('mf_replaceHashes',_52)}function _911(){return _71._285('mf_replaceHashes')||[]}function _891(_4){if(_1._143.length===0)return _4;var _111=_684(_4);for(var _8=0;_8<_1._143.length;_8++){var _326=_1._143[_8];var _203;do{var _323=_203!==undefined?_203+1:0;_203=_679(_111,_326,_323);if(_203!==-1){var _31=_111[_203]._31;var _230=_111[_203+_326.length-1]._230;var _914=_1043('*',_230-_31);_4=_4.slice(0,_31)+_914+_4.slice(_230)}}while(_203!==-1)}return _4}function _684(_4){var _199=[];var _31;function _680(_230){if(_31===undefined)return;var _683=_4.slice(_31,_230);_199.push({_31:_31,_230:_31+_683.length,_114:_101(_683)});_31=undefined}for(var _8=0;_8<_4.length;_8++){var _543=_4[_8];if(_1044(_543)){if(_31===undefined){_31=_8}}else{_680(_8)}}_680();return _199}function _679(_237,_111,_323){for(var _8=_323||0;_8<_237.length;_8++){if(_8+_111.length>_237.length)break;if(_882(_237,_111,_8))return _8}return-1}function _882(_237,_111,_323){var _190=false;for(var _8=_323||0,_202=0;_8<_237.length&&_202<_111.length;_8++,_202++){_190=_237[_8]._114===_111[_202];if(!_190)break}return _190}function _254(_0){let _4='';if(_0.type&&/radio|checkbox/.test(_0.type.toLowerCase())){_4=_0.checked?_0.value:''}else if(_0.tagName&&/select/.test(_0.tagName.toLowerCase())&&_0.options){for(let j=0;j<_0.options.length;j++){const _188=_0.options[j].selected?_0.options[j].value:'';if(_188&&_188!='')_4+=(_4&&_4!=''?',':'')+_188}}else{_4=_0.value}return _4||''}function _233(_0){if(_0.type==='password')return'*';var _4=_254(_0);if(_605(_0)){_4=_4.replace(/./g,_610(_0.type))}else if(_604(_0)&&!_544(_0)){_4=_4.slice(0,2)+_4.slice(2).replace(/./g,_610(_0.type))}return _4}function _678(_0){var _242=_0.textContent;if(_0.nodeType===3&&_22._75(_0))_0=_22._75(_0);var _677=_891(_242);if(_677!==_242&&_2.replaceLastFormValues)_242=_677;if(_1112(_0))_242=_242.replace(/./g,'*');return _242}function _894(_18,_7){var _673=_844(_18);if(_18.id)_7.attributes.id=_18.id;if(_18.name)_7.attributes.name=_18.name;_7.attributes.style=(_18.style?_18.style.cssText+'; ':'')+'width: '+_673.width+'px; height: '+_673.height+'px;'+(_3.getComputedStyle(_18).display==='inline'?' display: inline-block;':'')}function _544(_0){return _24._149(_0,'mouseflow')||_671.indexOf(_0)!==-1}function _299(_0){if(!_0)return false;if(_0[NodeMap.ID_PROP])return!!_234(_0,_277);if(_367(_0,_533))return true;return false}function _476(_0){if(!_0)return false;if(_0[NodeMap.ID_PROP])return!!_234(_0,_276);if(_367(_0,_368))return true;return false}function _533(_0){return _670.indexOf(_0)!==-1||_24._149(_0,'no-mouseflow-dom')||_24._149(_0,'mf-excluded')}function _368(_0){return _644.indexOf(_0)!==-1||_24._149(_0,'mf-masked')}function _619(_0){return _24._149(_0,'no-mouseflow')||(!_2.keyLogging&&!_544(_0))||_299(_0)||_476(_0)}function _605(_0){return(_619(_0)||_189(_254(_0))||_1114(_0))&&_613(_0)&&!_1002.test(_0.type)}function _1112(_0){return(_0.isContentEditable||_0.tagName==='TEXTAREA')&&_619(_0)}function _1114(_0){return(_2.gdprEnabled||_2._542)&&(_1121(_0)||_1122(_0))}function _189(_4){var _538=_4.replace(/[-\s]+/g,'');if(!_1116.test(_538)||!_1117.call(this,_538))return false;return!_1001.every(function(_615){if(_615.patternRegex.test(_538)){_5("Identified credit card "+_615.name);return false}return true})}function _1121(_0){return/email/i.test(_0.type)||_1130.test(_0.value)}function _1122(_0){return/tel/i.test(_0.type)}function _604(_0){return _613(_0)&&/^\d{3}[^a-z]*$/i.test(_0.value)}function _613(_0){return _0.tagName==='INPUT'||_0.tagName==='TEXTAREA'}function _610(_1124){return/number/i.test(_1124)?'0':'*'}function _1087(_28){return _605(_28.target)||_604(_28.target)?'191':(_28.which&&_28.which.toString())||''}function _1065(_0){var _599=_138(_0);var _401=_1._600[_599];var _379=_233(_0);var _29=_379;if(_401&&_401.length>3&&_379.indexOf(_401)===0)_29='+||'+_379.substring(_401.length);_1._600[_599]=_379;return _29}function _1128(_228,_641){try{const _1129=new Set(_228.keys());const _1111=new Set(_641.keys());for(const _11 of _1129.union(_1111)){const _185=_228.get(_11);const _639=_641.get(_11);const _117=_185??_639;if(_185?._4===_639?._4)continue;_26(_6._545,{target:_117._21,selector:_117._17})}}catch(_32){_5('Error in _addChangedFieldEvents: '+_32.message,_10())}}function _1110(_272){try{for(const[,_117]of _272){if(_117._4)continue;_26(_6._535,{target:_117._21,selector:_117._17})}}catch(_32){_5('Error in getBlankFields: '+_32.message,_10())}}function _470(_0){if(_487.includes(_0))return null;return _0.form||_487.filter(function(_38){return _38.contains(_0)})[0]||null}function _1165(){_1091();_1096()}function _428(){_1093();_626()}function _1091(){var _636=_726('mf_user').split('|');for(var _8=0;_8<_636.length;_8++){var _73=_636[_8];switch(_8){case 0:_12._175=_73;break;case 1:_12._287=_73!==''?_73.split(/[$,]+/):[];break}}_12._288=_12._175!=='';if(_12._175===''||_12._175==='1')_12._175=_440();_1._634=true}function _1093(){if(!_1._634)return;_725('mf_user',[_12._175,_12._287.join('$')].join('|'),1,_24._320(_65,_2))}function _1096(){var _642=_726('mf_'+_2._46).split('|');for(var _8=0;_8<_642.length;_8++){var _73=_642[_8];switch(_8){case 0:_12._56=_73;break;case 1:_12._95=_1150(_73,_12._66);break;case 2:_1._344=parseInt(_73,10);break;case 3:_1._152=_73!==''?_73.split('.'):[];break;case 4:_12._307=parseInt(_73,10);break;case 5:_1._110=_73;break;case 6:_1._122=parseInt(_73,10);break;case 7:_1._287=_73!==''?_73.split(/[$,]+/):[];break;case 8:_12._288=_73==='1';break;case 9:_1._225=_73;break;case 10:_12._181=parseFloat(_73);break;case 11:_1._403=parseInt(_73,10);break;case 12:_1._410=_73;break}}if(!_12._56)_12._56=_2.sessionId||_1100();if(!_12._181)_12._181=_1101();var _282=_12._95[_12._95.length-1];if(_282)_12._358=_282._58;_1._629=true}function _1100(){var sessionId=_630();return sessionId&&sessionId.length===32?sessionId:null}function _1101(){var recordingRate=_630();return/^\d+\.\d+$/.test(recordingRate)?parseFloat(recordingRate):null}function _630(){return _2.crossDomainSupport&&_3.name&&_3.name.indexOf('mf_'+_2._46)===0?_3.name.split('=')[1]:null}function _626(){if(!_1._629)return;_725('mf_'+_2._46,[_12._56,_1133(),_1._344,_1._152.join('.'),_12._307,_1._110||'',_1._122||'',_1._287.join('$'),_12._288?'1':'0',_1._225,_12._181,_1._403||0,_1._410||''].join('|'),0,_24._320(_65,_2));if(_2.crossDomainSupport)_3.name='mf_'+_2._46+'='+(_12._56||_12._181)}function _1150(_4,_66){return _4.split(/[$,]+/).map(function(_55){var _52=_55.split('.');return{_58:_52[0],_223:_52[1],_69:+_52[2]}}).filter(function(p){return p._58!==_66}).slice(-5)}function _1133(){var _514=_12._95;if(_12._66){_514=_514.concat([{_58:_12._66,_223:_101(_2.path||_2.location.pathname),_69:_1._69}]).slice(-6)}return _514.map(function(_55){return _55._58+'.'+_55._223+'.'+_55._69}).join('$')}var _398='__mouseflow_properties__';var _277='is-blacklisted';var _276='is-masked';function _234(_18,_11){if(!_18)return null;var _235=_18[_398];return _235?_235[_11]:null}function _273(_18,_11,_4,_1153){var _235=_18[_398];if(!_235)_235=_18[_398]={};_235[_11]=_4;if(_1153){for(const _80 of _22._184(_18)){_273(_80,_11,_4,true)}}}function _596(_18){delete _18[_398];for(const _80 of _22._184(_18)){_596(_80)}}function _1161(){_596(_14.body)}function _1154(){_1._69=+new Date();_1._314=+new Date();_501=_16._162(_710,_67._637);_502=_16._162(_942,_67._1152);_503=_16._162(_477,_67._1156);_312=_16._49(_130,_67._461);if(_2.enableDataLayerCapture)_510=_16._162(_623,_67._1168)}function _1046(){if(!_737(_2.location.hostname))return false;if(_728()){_5('Recording not started - browser is IE8 or older');return false}return _624()}function _624(){_1165();if(_2.forceStart)return true;if(_1139()){_5('Recording not started - session ID is invalid.',_10());return false}if(_1137()){_5('Recording not started - honored "do not track" browser setting.',_10());return false}if(_1140()){_5('Recording not started - the browser was identified as a bot.',_10());return false}if(!_324._426(_183)){_5('Recording not started - page does not match page rules',_10());return false}var _336=_1155.filter(function(_68){return _324._248(_68)}).sort(_1149)[0];if(_336){_176=_336._176;_5('Recording rate set from page recording rule: '+_336._23+', "'+_336._4+'"',_10())}if(!_12._181)_12._181=_1136();var _627=_12._56||_12._181<=_176;if(!_627)_5('Recording not started - recordingRate or blocked',_10());_626();return _627}function _1149(_1135,_1134){return _1134._176-_1135._176}function _1136(){return _94.round(_94.random()*10000000)/100000}function _1137(){return _2.honorDoNotTrack&&_12._628}function _1139(){return _12._56&&_12._56.length!=32}function _1140(){if(_2.enableBots)return false;return _3.navigator.webdriver||/ptst|headlesschrome|lighthouse/i.test(_3.navigator.userAgent)}function _1141(){return(_12._307<_67._1142)}function _1143(_103){return _366(_103.getMonth()+1,2)+_366(_103.getDate(),2)+_366(_103.getSeconds(),2)+_366(_103.getMilliseconds(),3).slice(1)+_440()}function _366(_1145,_196){return(new Array(_196+1).join('0')+_1145).slice(-_196)}function _1146(){var _633=new Date();return _94.max(new Date(_633.getFullYear(),0,1).getTimezoneOffset(),new Date(_633.getFullYear(),6,1).getTimezoneOffset())}var _631=false;function _1148(){try{_554(_14);_92(_14,'mousemove',function(_9){_1._139={x:_9.pageX,y:_9.pageY}});_540(_14.documentElement,'mouseleave',function(){_26(_6._1089,{});_74('mouse-out')});_92(_14,'mousedown',function(_9){_1058(_9,_9.target)});_92(_14,'mouseup',function(_9){_1060(_9,_9.target)});_643(_14,'click',_609,function(_9){_1062(_9,_9.delegatedTarget||_9.target);if(!_9.delegatedTarget){const stylesBeforePotentialMutation={..._617(_9.target)};if(_2.enableDeadClick)_16._49(()=>_1035(_9,stylesBeforePotentialMutation),1)}});try{var _523=_1084();if(_523){_540(_14,'mouseenter',_523,function(_9){var _198=_351(_6._211).filter(function(_118){return _9.delegatedTarget&&_9.delegatedTarget.matches(_118._17)})[0];if(_198)_74(_198._74);_26(_6._211,{x:_9.pageX,y:_9.pageY,element:_9.target})});_540(_14,'mouseleave',_523,function(_9){_26(_6._309,{x:_9.pageX,y:_9.pageY,element:_9.target})})}}catch(_32){_5('Error in getHoverSelectors: '+_32.message,_10())}_92(_14,'focus','input,textarea,select,button',function(_9){_26(_6._422,{element:_9.target})});_92(_14,'blur','input,textarea,select,button',function(_9){_26(_6._485,{element:_9.target})});_92(_14,'keypress','input,textarea,select',function(_9){if(_9.target&&_9.target.type!=='password'){_26(_6._343,{element:_9.target})}});_92(_14,'keydown','input,textarea,select',function(_9){if(_9.target&&_9.target.type!=='password'){_26(_6._315,{element:_9.target,value:_1087(_9)})}});_92(_14,'keyup','input,textarea,select',function(_9){if(_9.target&&_9.target.type!=='password'){_26(_6._313,{element:_9.target,value:_1065(_9.target)});if(_189(_254(_9.target))&&_2.autoTagPayments)_74('payment')}});_92(_14,'change','input,textarea,select',function(_9){_26(_6._236,{element:_9.target,value:_233(_9.target)});if(_9.target&&['password','file'].indexOf(_9.target.type)===-1&&_189(_254(_9.target))&&_2.autoTagPayments)_74('payment')});_499(_14);if(_12._635){_92(_14,'touchstart',function(_9){var _88=_9.touches;if(_88.length>0){_26(_6._498,{x:_88[0].pageX,y:_88[0].pageY})}if(_88.length>1){_26(_6._524,{x:_88[1].pageX,y:_88[1].pageY})}});_92(_14,'touchmove',function(_9){var _88=_9.touches;var _376=_10();var _488=_376-_67._637;if(_88.length>0&&_1._638<_488){_26(_6._490,{x:_88[0].pageX,y:_88[0].pageY});if(_88.length>1){_26(_6._521,{x:_88[1].pageX,y:_88[1].pageY})}_1._638=_376;var _1088=!_145(_365(),_1._179);if(_1088){_1._179=_365();_26(_6._393,_1._179);if(_1._511<_488){_26(_6._393,_1._179);_1._511=_376}}_1._79={x:_3.pageXOffset,y:_3.pageYOffset};if(_1._515<_488&&!_145(_1._79,_1._216)){_1._216=_1._79;_26(_6._350,_1._79);_1._515=_376}}});_92(_14,'touchend',function(_9){var _88=_9.touches;if(_88.length===0)_26(_6._346,{x:0,y:0});if(_88.length>1)_26(_6._520,{x:0,y:0})});if(_3.screen.orientation){_92(_3.screen.orientation,'change',function(){_26(_6._526,{x:_3.screen.orientation.angle,y:0})})}}_92(_3,_1081(),function(){_70()});var _621=_3.onerror;_3.onerror=function(_90,_15,_420,_435,_144){var _1030=new Date()-_1._193;if(_1030>1000&&_1._322<50){_1._193=+new Date();var _494='Malformed error';if(_90&&_90.message)_494=_90.message;else if(typeof _90==='string')_494=_90;_1._157={_90:_494,_15:typeof _15==='string'?_15:'Malformed URL',_420:''+_420,_435:''+_435,_1076:_144&&_144.stack&&_144.stack.substring(0,800),_1183:_1._193};if(_1._201!==0&&_1._193-_1._201<100){const _0=_374(_1._444);_128(_81._655,_0,_1._444);_646()}}if(_621)_621.apply(this,arguments)};if(_2.keyLogging)_1047()}catch(_32){_5('Error in bindDomEvents: '+_32.message,_10())}}function _1042(){if(_631)return;try{if(_2.proxyAttachShadow)_231();_674();_1070();if(_2.proxyValueSetter)_676()}catch(_32){_5('Could not initialize proxies: '+_32.message,_10())}finally{_631=true}}function _1035(_9,_620){if(_602(_9))return;if(_551(_9.target))return;const _1036=_3.getSelection();const _1037=(_618(_9.target)||_1012(_620)||_551(_9.target)||_1009(_9.target)||_602(_9)||_1036.type==='Range');if(_1037)return;if(_1013(_9.target,_620)||_1015(_9.target,_9.clientX,_9.clientY)||_1008(_9.target)){_598(_9.target);return}const _607=_612(_9.target);if(_607){_598(_9.target,_607)}}function _598(_0,_1041=null){_128(_81._354,_0);_1023(_1041??_0)}function _1023(_1022){if(!_2.debugDeadClick){if(_500){for(const _0 of _14.getElementsByClassName(_290)){_0.classList.remove(_290)}}return}if(!_500){const _124=_14.createElement('style');_124.textContent=`.${_290} { outline: solid red }`;_14.head.append(_124);_500=true}const _97=new Set([..._14.getElementsByClassName(_290),_1022]);for(const _0 of _97){_0.classList.toggle(_290)}}function _603(_601){return _601==='true'||_601==='plaintext-only'}function _602(_9){const _1004=_9.target.getAttribute('contenteditable');if(_603(_1004)){return true}const _1005=_9.target.closest('[contenteditable]');const _1007=_1005?.getAttribute('contenteditable');if(_603(_1007)){return true}}function _1008(_0){return _0&&_0.tagName==='I'}function _551(_0){return _0&&_0.tagName==='LABEL'&&_0.control&&_618(_0.control)}function _1009(_0){const _608=_0.closest('label');return _608&&_551(_608)}function _618(_0){return _0.matches(_609)}function _1012(_268){return _268.cursor&&_268.cursor!=='default'&&_268.cursor!=='auto'}function _1013(_0,_268){return _0.tagName==='IMG'||_0 instanceof SVGElement||_268.backgroundImage?.startsWith('url')}function _1015(_0,x,y){for(const node of _22._184(_0)){if(node.nodeType!==Node.TEXT_NODE){continue}const _611=_14.createRange();_611.selectNodeContents(node);for(const rect of _611.getClientRects()){if(rect.leftx&&rect.topy){return true}}}return false}function _612(_0,_614=1){if(!_0||_614>5)return null;const _124=_617(_0);const _1017=parseInt(_124.borderWidth,10);const _1018=parseInt(_124.outlineWidth,10);if(_1017>0||_1018>0)return _0;return _612(_22._965(_0),_614+1)}function _617(_0){let _124=_278.get(_0);if(_124)return _124;_124=_3.getComputedStyle(_0);_278.set(_0,_124);if(_278.size>100)_278.delete(_278.keys().next().value);return _124}function _554(_35){_643(_35,'scroll','body,div,section,main,article,ul,.mf-scroll-listen',function(_9){if(_9.target===_14){_1._79={x:_3.pageXOffset,y:_3.pageYOffset}}else if(_9.target===_345){_1._79={x:_9.target.scrollLeft,y:_9.target.scrollTop}}else{const _21=_138(_9.target);_1._839.set(_21,{target:_21,selector:_112._207(_9.target),x:_9.target.scrollLeft,y:_9.target.scrollTop})}})}function _499(_35){_92(_35,'click','.mf-form-button',function(_9){_532(_470(_9.target))});_92(_35,'submit','form',function(_9){_532(_9.target)})}function _92(_21,_6,_44,_45){_54._174(_21,_6,_44,_45,{_171:true})}function _540(_21,_6,_44,_45){_54._174(_21,_6,_44,_45,{_171:true,_774:true})}function _643(_21,_6,_44,_45){_54._174(_21,_6,_44,_45,{_171:true,_1120:true})}function _1070(){var _1071=CSSStyleSheet.prototype.insertRule;var _645;var _259=[];CSSStyleSheet.prototype.insertRule=function(){_1071.apply(this,arguments);if(!_169)return;var _18=this.ownerNode;if(_259.indexOf(_18)<0)_259.push(_18);_16._180(_645);_645=_16._49(function(){_259=_259.filter(function(_18){return _18&&_85.isKnownNode(_18)});_85.applyChanged([{characterDataChanged:_259}]);_259=[]},200)}}var _555=HTMLElement.prototype.attachShadow;var _337=false;function _1074(){var _69=new Date();var _1077=_16._162(function(){var _1075=new Date()-_69;if(HTMLElement.prototype.attachShadow!==_555||_1075>10000){_16._99(_1077);_231()}},200)}function _1086(){if(!_337||HTMLElement.prototype.attachShadow!==_672)return;_5('Resetting "attach shadow" proxy');delete HTMLElement.prototype.attachShadow;_337=false}function _231(){if(_337)return;if(!_169){_16._49(_231,200);return}_5('Setting up "attach shadow" proxy');_555=HTMLElement.prototype.attachShadow;HTMLElement.prototype.attachShadow=_672;_337=true}function _672(){var _197=_555.apply(this,arguments);if(_169&&_85.isKnownNode(this)){_554(_197);_499(_197);_85.addShadowRoot(_197)}return _197}function _275(_0){if(_0.shadowRoot){_554(_0.shadowRoot);_499(_0.shadowRoot);_85.addShadowRoot(_0.shadowRoot);_275(_0.shadowRoot)}for(let _80=_0.firstElementChild;_80;_80=_80.nextElementSibling){_275(_80)}}function _674(){if(!_169){_16._49(_674,200);return}_292(Document.prototype,'adoptedStyleSheets',{_107:_675});_292(ShadowRoot.prototype,'adoptedStyleSheets',{_107:_675})}function _675(){if(!_169)return;_85.applyChanged([{attributeChanged:{'mf_adoptedStyleSheets':[this]}}])}function _676(){if(!_169){_16._49(_676,200);return}_292(HTMLInputElement.prototype,'value',{_107:_427});_292(HTMLTextAreaElement.prototype,'value',{_107:_427});_292(HTMLSelectElement.prototype,'value',{_107:_427})}function _427(){if(!_85.isKnownNode(this))return;_85.applyChanged([{attributeChanged:{'value':[this]}}])}function _292(_18,_131,_321){var _433=Object.getOwnPropertyDescriptor(_18,_131);if(!_321||!_433)return;Object.defineProperty(_18,_131,{get:function(){var _4=_433.get.apply(this,arguments);if(_321._140)_321._140.apply(this,arguments);return _4},set:function(){_433.set.apply(this,arguments);if(_321._107)_321._107.apply(this,arguments)}})}function _646(){if(_1._157){_1._322++;var _7={seq:_1._322,errorMsg:_1._157._90,url:_1._157._15,line:_1._157._420,col:_1._157._435,stack:_1._157._1076,errorTime:_1._193};_26(_6._41,{x:_1._322,y:0});_5('JS error '+_1._322+', msg: '+_1._157._90,_10());_298('error',_7);_1._157=null}}function _802(){_54._1115();if(_421)_16._99(_421)}function _1047(){_1._681=_682();_421=_16._162(function(){const _228=_682();_1056(_228,_1._681)},200)}function _682(){const _97=_14.querySelectorAll('input,textarea,select');const _229=new Map();for(const _0 of _97){if(_24._149(_0,'no-mouseflow'))continue;if(!_1053(_0,['text','textarea','select-one']))continue;const _21=_138(_0);const _17=_112._207(_0);const _4=_233(_0);_229.set(_21,{_21,_17,_4})}return _229}function _1053(_117,_1055){return _117.type&&new RegExp(_1055.join('|'),'i').test(_117.type)}function _1056(_228,_686){if(_10()-_1._567<100)return;for(const[_11,_185]of _228){const _685=_686.get(_11);if(_685&&_685._4!==_185._4){_26(_6._236,{target:_185._21,selector:_185._17,value:_185._4})}_686.set(_11,_185)}}function _1058(_9,_0){if((+new Date())-_1._687<20)return;_1._687=+new Date();_26(_6._317,{x:_9.pageX,y:_9.pageY,element:_0})}function _1060(_9,_0){if((+new Date())-_1._688<20)return;_1._688=+new Date();const _87=_836(_0,_9.pageX,_9.pageY);if(!_87)return;_26(_6._306,{x:_87.x,y:_87.y,element:_87._0})}function _1062(_9,_0){if((+new Date())-_1._201<20)return;var _21=_138(_0);_1._201=+new Date();_1._444=_21;_26(_6._212,{x:_9.pageX,y:_9.pageY,element:_0,target:_21});_1._245.push(_1._201);_1._245=_1._245.slice(-5);if(_1._245[4]-_1._245[0]<1000){_128(_81._355,_0,_21);_1._245=[]}if(_1._201!==0&&_1._193!==0&&_1._201-_1._193<100){_128(_81._655,_0,_21);_646()}var _198=_351(_6._212).filter(function(_118){return _0.matches(_118._17)})[0];if(_198){_74(_198._74);if(_198._657)_16._49(()=>_399(_198._657,null,true),1)}}function _836(_0,_334,_333){let _87=_478(_0,_334,_333);if(!_87){if(_0?.firstElementChild){_87=_478(_0.firstElementChild,_334,_333)}else if(_0?.parentElement){_0=_0.parentElement;_87=_478(_0,_334,_333)}}if(_87){_87._0=_0}return _87}function _478(_18,_334,_333){var _195=_844(_18);if(_195==null||!_195.height||!_195.width)return null;return{x:parseInt((_334-_1._79.x-_195.x)/parseFloat(_195.width)*65535),y:parseInt((_333-_1._79.y-_195.y)/parseFloat(_195.height)*65535)}}function _1067(){const _108=['a','input','select','button','textarea','.mf-listen-click'];_108.push.apply(_108,_664(_351(_6._212)));return _108.slice(0,1000).join(',')}function _1084(){var _656={};var _654=/[^(]:hover/;if(_2.useAllHoverSelectors){for(var _8=0;_8<_14.styleSheets.length;_8++){var _318=_14.styleSheets[_8];try{var _249=_318.cssRules?_318.cssRules:_318.rules;for(var _202=0;_202<_249.length;_202++){var _653=_318.cssRules[_202];if(!_654.test(_653.selectorText))continue;let _108=_653.selectorText.split(',');var _17;for(var _464=0;_464<_108.length;_464++){_17=_108[_464].replace(/^\s+|\s+$/g,'');if(_654.test(_17)){_17=_17.substring(0,_17.indexOf(':hover'));_17=_1039(_17);_656[_17]=true}}}}catch(_32){_5('Cannot inspect external css file, :hover support may fail: '+_318.href)}}}let _108=['a','input','select','button','textarea','li','canvas','.mf-listen'];for(_17 in _656){_17=_17.replace(/^\s+|\s+$/g,'');if(_17!=''&&_17!='a'&&!_270(_17,' a')&&!_270(_17,' select')&&!_270(_17,' submit')&&!_270(_17,' textarea')&&!_270(_17,' li'))_108.push(_17)}_108.push.apply(_108,_2._495);_108.push.apply(_108,_664(_351(_6._211)));return _108.slice(0,1000).join(',')}function _351(_1016){var _1019={5:'Click',6:'Mouseover'};let _658=_72._115();var _660=_2._659.filter(function(_448){return _448._657===_658}).map(function(_448){return _448._295});_660.push(_658);var _456=_2._659.filter(function(_118){return _118._28===_1019[_1016]&&(!_118._295||_118._295===_2.location.href||_660.includes(_118._295))});return _456}function _664(_456){return _456.map(function(_118){return _118._17})}function _367(_18,_597,_459){if(!_459)_459=1000;for(let _8=0;_8<_459;_8++){if(!_18||!_597)return null;if(_597(_18))return _18;_18=_22._75(_18)??_18.host}return null}function _1039(_42){var _691=[/:active/g,/:visited/g,/::before/g,/:before/g,/::after/g,/:after/g,/::first-letter/g,/::first-line/g,/::selection/g];for(var _8=0;_8<_691.length;_8++)_42=_42.replace(_691[_8],'');return _42}function _93(_1038){try{return _3.encodeURIComponent(_1038)}catch(_32){_5('Encode error: '+_32.message,_10());return''}}function _1010(_4){return _4.replace(/%/g,'%25').replace(/\|{3}/g,'%7C%7C%7C')}function _26(_23,_19){if(!_82)return;if(_1._7.length===0)_1._314=+new Date();var _37=_571(_23,_19,_1._132,_1._52,_846());if(!_37)return;if(_874(_23)){_16._180(_312);_312=_16._49(_130,_67._461);_1._536=_10();_1._344=+new Date()}if(_573(_23))_1._567=_10();if(_1025(_37)){_357();if(_37._4!==undefined)_37._7[_37._7.length-1]=0;_1._7=_37._7;_1._7[0]=0;_1._7[1]=0;if(_37._62.length)_1._62.push(..._37._62);if(_37._4!==undefined)_1._52.push(_37._4);if(_37._177!==undefined)_1._158.push(_37._177)}else{_1._7=_1._7.concat(_37._7);if(_37._62.length)_1._62.push(..._37._62);if(_37._4!==undefined)_1._52.push(_37._4);if(_37._177!==undefined)_1._158.push(_37._177);if(_23===_6._346){_357()}}}function _1025(_37){const _1106=_339(_1._62)+_339(_37._62);const _1144=_339(_1._52)+_339(_37._4);const _1162=_1._7.length+_37._7.length+_1106+_1144;return _1162>_67._589}function _460(_449,_164){_566(_12._358,_449,_164)}function _566(_66,_449,_164=0){var _7=[],_132=[],_62=[],_52=[],_158=[];let _462=0;_449.forEach(function(_28,_40){if(!_28._19)_28._19={};_462=_40+1;var _37=_571(_28._23,_28._19,_132,_52,_462);if(!_37)return;_7=_7.concat(_37._7);if(_37._62.length)_62.push(..._37._62);if(_37._4!==undefined)_52.push(_37._4);if(_37._177!==undefined)_158.push(_37._177)});const _147=_801(_164,_7,_62,_52,_158);const _1102=_164+_462;const _572={_15:_151+'events?w='+_2._46+'&s='+_12._56+'&p='+_66+'&v='+_150+'&pst='+_262()+'&li='+_1102+'&lh=0&ls=0'};_572._7='d='+_147;_133(_572)}function _571(_23,_19,_132,_52,_1090){var _62=[];var _4=_19.value;var _177;var _7=[];_7._723=false;if(_881(_23)&&!_879(_19))return null;if(_19.value&&_19.value.length>_67._589){_5('Event, type: '+_23+', skipping due to large value, details: '+_418(_19),_10());return null}_155(2,_1090,_7);_155(1,_23,_7);if(_19.x<0)_19.x=0;if(_19.y<0)_19.y=0;if(_19.x>65534)_19.x=65534;if(_19.y>65534)_19.y=65534;if(_19.x!=undefined)_155(2,_19.x,_7);if(_19.y!=undefined)_155(2,_19.y,_7);if(_19.element){if(!_19.selector)_19.selector=_112._207(_19.element);if(!_19.target)_19.target=_138(_19.element)}if(_19.target!=undefined){if(typeof _19.target=='object'&&_19.target.id!=undefined)_19.target=_19.target.id;if(_23!==_6._74&&_19.target&&_19.target.indexOf('||')===-1){const _0=_19.element??_374(_19.target);if(_0){if(_299(_0))return null;if(_476(_0)){_19.target=_138(_367(_0,_368))}var _38=_470(_0);if(_38&&!_299(_38))_19.target=_138(_38)+'||'+_19.target}}}if(_853(_23)){let _257=_132.indexOf(_19.target);if(!_19.target){_257=65535}else if(_257===-1){_257=_132.length;_62.push(_257+':'+_19.target);_132.push(_19.target)}else{_177=_257+':'+_19.target}_155(2,_257,_7)}if(_852(_23)){let _300=_132.indexOf(_19.selector);if(!_19.selector){_300=65535}else if(_300===-1){_300=_132.length;_62.push(_300+':'+_19.selector);_132.push(_19.selector)}_155(2,_300,_7)}else{delete _19.selector}if(_23!==_6._352&&_23!==_6._238)_5('Event, type: '+_23+', time: '+_10()+', details: '+_418(_19),_10());if(_875(_23)){if(_4 instanceof Array)_4=_4.join(', ');_155(1,_52.length,_7)}if(_7._723){_5('Event, type: '+_23+', skipping due to overflow in temp data, details: '+_418(_19),_10());return null}return{_7,_62,_4,_177}}function _418(_19){return _24._121({..._19,element:undefined})}function _846(){return+new Date()-_1._314}function _886(){const _244=_417();const _297=_1._579-(_244.domLoading??0);return Math.ceil(_297)}function _718(){const _244=_417();const _297=(_244.loadEventStart??0)-(_244.fetchStart??0);return Math.ceil(_297)}function _417(){const _590=_3.performance.getEntriesByType('navigation');return _590[_590.length-1]??{}}function _881(_23){return[_6._393,_6._350,_6._352,_6._317,_6._306,_6._212,_6._211,_6._309,_6._731,_6._41,_6._498,_6._490,_6._346,_6._526,_6._524,_6._521,_6._520,_6._347,_6._562,_6._349,_6._561,_6._378,_6._47,_6._348,_6._238,_6._61,_6._240,_6._843].indexOf(_23)!==-1}function _879(_19){return _19.x!==undefined&&_19.y!==undefined&&!isNaN(_19.x)&&!isNaN(_19.y)}function _853(_23){return[_6._317,_6._306,_6._212,_6._211,_6._309,_6._343,_6._313,_6._236,_6._422,_6._485,_6._302,_6._74,_6._347,_6._349,_6._378,_6._315,_6._535,_6._545,_6._348,_6._238,_6._61].indexOf(_23)!==-1}function _852(_23){return[_6._317,_6._306,_6._212,_6._211,_6._309,_6._343,_6._313,_6._236,_6._422,_6._485,_6._302,_6._347,_6._349,_6._378,_6._315,_6._535,_6._545,_6._348,_6._238,_6._61].indexOf(_23)!==-1}function _875(_23){return[_6._313,_6._236,_6._315,_6._61].indexOf(_23)!==-1}function _874(_23){return _872(_23)||_573(_23)||_947(_23)}function _872(_23){return[_6._352,_6._317,_6._306,_6._212,_6._350,_6._211,_6._309,_6._238].indexOf(_23)!==-1}function _573(_23){return[_6._343,_6._313,_6._236,_6._315].indexOf(_23)!==-1}function _947(_23){return[_6._498,_6._490,_6._346,_6._526,_6._524,_6._521,_6._520,_6._347,_6._562,_6._349,_6._561,_6._378].indexOf(_23)!==-1}function _710(){if(!_145(_365(),_1._179)){_1._179=_365();_26(_6._393,_1._179);_1._511=_10()}if(!_145(_1._139,_1._694)){_1._694=_1._139;_26(_6._352,_1._139)}if(!_145(_1._79,_1._216)){_1._216=_1._79;_26(_6._350,_1._79);_1._515=_10()}for(const[_21,_79]of _1._839){const _216=_1._847.get(_21)??{x:0,y:0};if(_145(_79,_216))continue;_1._847.set(_21,_79);_26(_6._348,_79)}var _861=_3.visualViewport?_3.visualViewport.scale:1;var _522={x:_94.round(_94.min(_861,10)*1000),y:_94.round(_94.min(_3.devicePixelRatio,10)*1000)};if(!_145(_522,_1._845)){_26(_6._843,_522);_1._845=_522}if(_3.visualViewport){var _240={x:_3.visualViewport.offsetLeft,y:_3.visualViewport.offsetTop};if(!_145(_240,_1._841)){_26(_6._240,_240);_1._841=_240}}}function _942(){if(!_145(_1._139,_1._838)){_1._838=_1._139;const _0=_14.elementFromPoint(_1._139.x-_1._79.x,_1._139.y-_1._79.y);const _87=_836(_0,_1._139.x,_1._139.y);if(!_87)return;_26(_6._238,{x:_87.x,y:_87.y,element:_87._0})}}function _539(_7){if(!_82)return;if(!_7?.type)throw new Error('Custom event type is required');if(Object.keys(_7)[0]!=='type')_7={type:_7.type,..._7};_7.time=_10();_5('Custom event, type: '+_7.type+', , data: '+_24._121(_7),_10());_851({_15:_151+'custom-events',_7:{website:_2._46,session:_12._56,page:_12._66,pst:_262(),events:[_7]},_41:_144=>_5(_144??'Failed to send custom event',_10())})}function _357(){var _164=_1._314-_1._69;_1._810+=_1._7.length;if(_1._810>_67._803&&!_1._809){_1._809=true;_5('Recording event limit of '+_67._803+' reached. Stopping recording.',_10());_70()}var _147=_801(_164,_1._7,_1._62,_1._52,_1._158);_1._142.push(_147);_1._7=[];_1._52=[];_1._62=[];_1._158=[];_1._314=+new Date();if(_10()>_67._986){_5('Pageview over max.time, stopping.',_10());_802();_16._99(_501);_16._99(_502);_16._99(_503);_16._180(_312);_167=false}else{_864()}}function _801(_164,_7,_62,_52,_158){var _311=[];_155(3,_164,_311);_155(2,_7.length,_311);_311=_311.concat(_7);let _817=_1050.e(_311)+'.'+_412(_62||[])+'.'+_412(_52||[]);const _978=[...new Set(_158||[])].filter(_58=>!_62.includes(_58));_817+='.'+_412(_978);return _817}function _864(){if(_167&&_1._142.length>0){if(_1._305==1){_12._307++}var _77=_12._361?_550():[];for(let _8=0;_8<_1._142.length;_8++){const _825={_15:_151+'events?w='+_2._46+'&s='+_12._56+'&p='+_12._66+'&v='+_150+'&pst='+_262()+'&q='+_1._305+'&li='+_1._818+'&lh='+_1._832+'&ls='+_1._830};_825._7='d='+_1._142[_8];_77.push(_825);_1._305++;_1._818=_1._536;_1._832=_1._179.y;_1._830=_1._216.y}_1._142=[];if(_12._361&&_827(_77.slice(-10))){_828()}else{for(let _8=0;_8<_77.length;_8++){_133(_77[_8])}}if(_1._305>_67._862)_70()}}function _828(){if(_1._559)return;var _13=_550().slice(0,1)[0];if(_13){_1._559=true;_13._98=_13._41=function(){_827(_550().slice(1));_1._559=false;_16._49(_828,1)};_133(_13)}}function _550(){return(_116._285('mf_transmitQueue')||[]).map(a=>({_15:a.url,_7:a.data}))}function _827(_77){return _116._281('mf_transmitQueue',_77.map(a=>({url:a._15,data:a._7})))}async function _851(_13){if(!_13?._15){if(_13?._41)_13._41();return}let _15=_13._15;const _98=_13._98;const _41=_13._41;const _148={method:'GET',headers:{'Content-Type':'text/plain'}};if(_13._7){_148.method='POST';_148.body=_24._121(_13._7);_15=_1127(_15);_186(_148.body,async function(_7){_148.body=_7;_15=_824(_15);await _424()},_424)}else{await _424()}async function _424(){try{const _29=await _3.fetch(_15,_148);if(_98)_98(_29)}catch(_144){if(_41)_41(_144)}}}function _133(_13){if(!_13?._15){if(_13?._41)_13._41();return}_428();if(_1095()&&_3.XDomainRequest){_915(_13)}else if(_3.XMLHttpRequest){if(_13._7&&_13._186){var _854=_2.compressFunction||_186;_854(_13._7,function(_7){_13._7=_7;_13._15=_824(_13._15);_441(_13)},function(){_441(_13)})}else{_441(_13)}}}function _915(_13){try{_13._15=_1097(_13._15);var _129=new _3.XDomainRequest();_129.open(_13._7?'POST':'GET',_13._15);_129.onload=function(){if(_13._98)_13._98(_823(_129))};_129.onerror=function(){if(_13._41)_13._41(_823(_129))};_129.onprogress=function(){_5('XDR progress:'+_13._15,_10())};_129.ontimeout=function(){_5('XDR timeout:'+_13._15,_10())};_129.timeout=20000;_16._49(function(){_129.send(_13._7)},500)}catch(_32){_5('Error in transmitCrossDomain (XDomainRequest): '+_32.message,_10());if(_13._41)_13._41({})}}function _441(_13){try{const _63=_22._996();_63.onreadystatechange=function(){if(_63.readyState!==4||!_63.status)return;if(_1094(_63.status)){if(_13._98)_13._98(_822(_63))}else{if(_13._41)_13._41(_822(_63))}};_63.open(_13._7?'POST':'GET',_13._15,true);_63.setRequestHeader('Content-Type','application/x-www-form-urlencoded');if(_13._900)_63.withCredentials=true;_63.send(_13._7)}catch(_32){_5('Error in transmitCrossDomain (XMLHttpRequest): '+_32.message,_10());if(_13._41)_13._41({})}}function _823(_129){return{_377:_129.responseText}}function _822(_63){return{_480:_63.status,_377:_63.response}}async function _186(_7,_98,_41){if(!_3.CompressionStream){if(_41)_41();return}const _887=new _3.TextEncoder();const _1000=new _3.ReadableStream({start(_819){_819.enqueue(_887.encode(_7));_819.close()}}).pipeThrough(new _3.CompressionStream('gzip'));const _1026=_1000.getReader();let _147;let _820=false;const _142=[];let _196=0;while(!_820){try{_147=await _1026.read();if(_147.value){_142.push(_147.value);_196+=_147.value.length}if(_147.done)_820=true}catch(_144){if(_41)_41(_144);return}}let _29;if(_142.length===1){_29=_142[0]}else{_29=new Uint8Array(_196);var _821=0;_142.forEach(function(_4){_29.set(_4,_821);_821+=_4.length})}if(_98)_98(_29)}function _826(_15,_1123){return _15+(_15.indexOf('?')===-1?'?':'&')+_1123}function _824(_15){return _826(_15,'gz=1')}function _1127(_15){return _826(_15,'json=1')}function _298(_23,_7){_133({_15:_151+'data',_7:'website='+_2._46+'&session='+_12._56+'&page='+_12._66+'&type='+_23+'&pst='+_262()+'&canonicalPage='+_72._115()+'&data='+_93(_24._121(_7))})}function _1094(_480){return _480>=200&&_480<300}function _1095(){return _14.all&&!_3.atob;}function _728(){return _14.all&&!_14.addEventListener;}function _1097(_15){return _15.replace(/^https?:/i,_2.location.protocol)}function _1105(_47){var _363=_24._121(_47._7);if(_363&&_363.length>_2._1132){_5('DOM size too big, not sending, size: '+_24._261(_363.length),_10());_74('mf_secret_html-too-big');return}var _214=_93(_363);var _1167=5242000;var _319=_214.length<=_1167;var _13={_15:_151+'html'+'?website='+_47._55._46+'&session='+_47._55._56+'&page='+_47._55._66,_7:'size='+_47._159+'&html='+_214+'&pst='+_262()+'&canonicalPage='+_93(_72._115()),_186:_2.compress};if(_12._361&&_319){var _77=_807();if(_214!==''){_5('Adding initial DOM to queue, size: '+_24._261(_214.length),_10());_77.push(_13)}else _5('Initial DOM empty, not sending',_10());if(_835(_77.slice(-10)))_833();else{_829(_13,_319,_214.length)}}else{if(_214==''){_5('Initial DOM empty, not sending',_10());return}_829(_13,_319,_214.length)}}function _833(){var _77=_807();var _13=_77.splice(0,1)[0];if(_13){_5('Sending initial DOM mutations. Size: '+_13._7.length,_10());_13._98=_13._41=function(){_835(_77);_16._49(_833,1)};_133(_13)}}function _829(_13,_319,_831){if(_319){_5('Transmitting initial DOM without queue due to no sessionstorage, size: '+_24._261(_831),_10())}else{_5('Transmitting initial DOM without queue due too big html, size: '+_24._261(_831),_10())}_133(_13)}function _807(){return(_116._285('mf_initialDomQueue')||[]).map(a=>({_15:a.url,_7:a.data,_186:a.compress}))}function _835(_77){return _116._281('mf_initialDomQueue',_77.map(a=>({url:a._15,data:a._7,compress:a._186})))}function _1033(_47){var _163=_47._7.args[1].some(function(_120){return _423._163(_120)});if(_163){_5('DOM mutation is a duplicate and has not been added.',_10());return}var _693=_1045(_47,_1._204);if(_693>-1){_1._204[_693]._7=_47._7;_5('Deduplicating DOM mutation',_10());return}if(_2.domReuse){var _369=_1003(_47);var _804=_1020(_369);if(_804>-1){_47.sequence=_804;_5('Reusing already sent DOM mutation, sequence '+_47.sequence,_10());_26(_6._47,{x:_47.sequence,y:0});return}else _1._457.push(_369)}_47.sequence=++_1._1021;_26(_6._47,{x:_47.sequence,y:0});_1._204.push(_47);if(!_296)_296=_16._49(_805,1500)}function _1020(_369){for(var i=0;i<_1._457.length;i++)if(_1._457[i]==_369)return i+1;return-1}function _1003(_47){return _101(_24._121(_47._7))}function _805(){_296=0;if(_167&&_1._204.length>0){const _806=_1._204.length;const _342=new Map();for(const _47 of _1._204){const _55='website='+_47._55._46+'&session='+_47._55._56+'&page='+_47._55._66+'&pst='+_262();const _7=_47.sequence+'.'+_1010(_24._121(_47._7));if(!_342.has(_55))_342.set(_55,[]);const _454=_342.get(_55);_454.push(_7)}_1._204=[];for(const[_55,_454]of _342){var _7=_454.join('|||');_7=_55+'&data='+_93(_7);_133({_15:_151+'dom',_7:_7,_186:_2.compress});_5('Sending DOM mutations: '+_806+', size: '+_7.length,_10());_1._808+=_806;if(_1._808>_67._815){_5('DOM mutation limit of '+_67._815+' reached. Stopping recording.',_10());_70()}}}}function _1045(_219,_811){if(!_2.domDeduplicator)return-1;var _84=_219._7.args;var _812=_814(_84);var _813=_816(_84);if(!_812&&!_813)return-1;for(var i=0;i<_811.length;i++){var _445=_811[i]._7.args;if(_812&&_814(_445)&&_1082(_84[2],_445[2])){return i}else if(_813&&_816(_445)){return i}}return-1}function _814(_84){return _834(_84)&&_84[2].filter(_1079).length===_84[2].length}function _816(_84){return _834(_84)&&_84[2].filter(_1080).length===_84[2].length}function _834(_84){return _84[0].length===0&&_84[1].length===0&&_84[2].length>0&&_84[3].length===0}function _1079(_330){return _330.attributes.style&&_837(_330.attributes)===1}function _1080(_330){return _330.attributes.d&&_837(_330.attributes)===1}function _837(obj){var count=0;for(var prop in obj)if(Object.prototype.hasOwnProperty.call(obj,prop))count++;return count}function _1082(_481,_842){if(_481.length!==_842.length)return false;for(var i=0;i<_481.length;i++){var _1052=_481[i],_1064=_842[i];if(_1052.id!==_1064.id)return false}return true}function _477(){if(_1._7.length>0&&_846()>=5000){_26(_6._477,{});_357()}}function _130(){_5('Inactivity timeout.',_10());_70(true)}function _145(_127,_840){return _127.x==_840.x&&_127.y==_840.y}function _365(){return{x:_3.innerWidth,y:_3.innerHeight}}function _844(_200){if(!_200||!_200.getBoundingClientRect)return null;var _165=_200.getBoundingClientRect();var _331;if(!_200.childElementCount&&!_165.height&&!_165.width)_331=_1057(_200);if(!_331){return{x:_165.left,y:_165.top,width:_165.width,height:_165.height}}else{_331.x+=_165.left-_200.offsetLeft;_331.y+=_165.top-_200.offsetTop;return _331}}function _1057(_0){var _247=window.getComputedStyle(_0,[':after']);if(!_247)return _247;return{x:+_247.left.slice(0,-2),y:+_247.top.slice(0,-2),width:+_247.width.slice(0,-2),height:+_247.height.slice(0,-2)}}function _138(_0){if(_2.useSelectorGenerator)return _112._207(_0);var _329=_154.get(_0);if(_329)return _329;try{var _58=[];while(_0){var _35=_0.getRootNode?_22._963(_0):_14;_58.unshift(_1061(_0,_35)||_1063(_0,_35));_0=_35.host}return _58.join(' > :document-fragment: > ')}catch(_32){_5('Error in getElementPath: '+_32.message,_10())}return''}function _1061(_0,_35){var _20=_0.attributes?.['name']?_0.attributes['name'].value:null;if(_20&&_470(_0)&&/button|input|select|textarea/.test(_0.tagName.toLowerCase())){var _370=_35.getElementsByName(_20);if(_370.length===1)return _20;if(_370.length>1){for(var _8=0;_8<_370.length;_8++)if(_0===_370[_8])return _20+'['+_8+']_mf'}}return null}function _1063(_43,_35){var _25=[];try{while(_43&&_43.nodeType===1){var _17='';var _59=_22._75(_43);if(!_59)return'';var _329=_154.get(_43);if(_329){_25.unshift(_329);break}if(_43.tagName==='TABLE'&&_25.indexOf('tbody')===-1&&_25.indexOf('thead')===-1)_25.unshift('tbody');if(_43.getAttribute('data-mf-id')){_17+='[data-mf-id="'+CSS.escape(_43.getAttribute('data-mf-id'))+'"]';_25.unshift(_17);break}if(_43.getAttribute('id')&&!_24._217(_43,'data-mf-ignore-child-ids')&&_2.useIdSelectors){_17+='#'+_43.getAttribute('id');_25.unshift(_17);break}_17+=_43.tagName.toLowerCase();var _372='',_443=_43,_466=1;if(_59?.tagName?.toLowerCase()=='body'){var _161=_24._260(_43);_372=_161.length?'.'+_161.join('.'):''}if(_372!==''&&_35.querySelectorAll(_745('body > '+_17+_372)).length===1)_17+=_372;else{while((_443=_443.previousElementSibling)){if(_443.tagName.toLowerCase()===_17)_466++}if(_466!==1)_17+=':['+_466+']'}_25.unshift(_17);_43=_59}}catch(_32){_5('Error in _getCssPath: '+_32.message,_10())}return _25.join(' > ').replace('html > body > ','> ')}function _374(_58,_1118=true){if(!_58)return null;if(_2.useSelectorGenerator)return _112._112(_58);var _0=_1151(_58);if(!_0){try{var _35=_14;_745(_58).split(' > :document-fragment: > ').forEach(function(_17){_0=_35.querySelector(_17);_35=_0.shadowRoot})}catch(_32){if(_1118)_5('Error in _getElementById: '+_32.message,_10())}}return _0}function _1151(_20){if(!_20)return null;var _64=_798.exec(_20);if(_64&&_64[1]){try{var _40=_3.parseInt(_64[1]);return _14.getElementsByName(_20.replace(_798,''))[_40]}catch(_32){}}var _97=_14.getElementsByName(_20);if(_97&&_97.length===1)return _97[0];return null}function _745(_25){if(!_25)return null;if(_25.substr(0,1)==='>')_25='html > body '+_25;_25=_25.replace(/^(\d)/,'\\3$1 ');_25=_25.replace(/#(\d)/,'#\\3$1 ');_25=_25.replace(/#(-\d)/,'#\\$1');_25=_25.replace(/:(?!\[)/g,'\\:');_25=_25.replace(/\\:document-fragment\\:/g,':document-fragment:');_25=_25.replace(/^#\S+/,function(_64){return _64.replace(/\./g,'\\.');});_25=_25.replace(/:\[([^\]]+)\]/g,':nth-of-type($1)');_25=_25.replace(/([{}[\]/;%$~@&<*^])/g,'\\$1');_25=_25.replace(/\\\[([^=]+="[^"]+")\\\]/g,'[$1]');return _25}function _155(_1059,_4,_325){for(var _8=_1059-1;_8>0;_8--){var _721=_94.pow(256,_8);_722(_94.floor(_4/_721),_325);_4=_4% _721}_722(_4,_325)}function _722(_724,_325){if(_724>255){_325._723=true;return}_325.push(_724)}function _412(_0){var _29='';for(var _8=0;_8<_0.length;_8++){_29+=(_8>0?',':'')+_419(_0[_8])}return _29}function _339(_0){if(!_0)return 0;if(typeof _0==='string')return _419(_0).length;if(_0.length){var _159=0;for(var _8=0;_8<_0.length;_8++)_159+=_419(_0[_8]).length+1;return _159>0?_159-1:_159}return 0}function _419(_4){return _1049.encode(''+_4)}function _725(_20,_4,_210,_27){if(_2.preferStorageApi)_71._107(_20,_4);else _286._107(_20,_4,_210,_27)}function _726(_20){if(_2.preferStorageApi)return _71._140(_20)||'';else return _286._140(_20)}function _1051(_20){if(_2.preferStorageApi){_116._279(_20);_71._279(_20)}else{_286._279(_20)}}var _1050=new function(){for(var d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'.split(''),c=64;c;)--c;this.e=function(e){let a=[],f=0,b=0,g,c=e.length,h=c% 3;for(;f>18&63]+d[g>>12&63]+d[g>>6&63]+d[g&63];if(h)for(a[--b]=a[b].substr(0,a[b].length-(h=3-h));h--;)a[b]+='*';return a.join('')}};var _1049={_341:'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',encode:function(c){for(var a='',d,b,e,i,h,f,g=0,c=this._1048(c);g>2,d=(d&3)<<4|b>>4,h=(b&15)<<2|e>>6,f=e&63,isNaN(b)?h=f=64:isNaN(e)&&(f=64),a=a+this._341.charAt(i)+this._341.charAt(d)+this._341.charAt(h)+this._341.charAt(f);return a},_1048:function(c){for(var c=c.replace(/\r\n/g,'\n'),a='',d=0;db?a+=String.fromCharCode(b):(127b?a+=String.fromCharCode(b>>6|192):(a+=String.fromCharCode(b>>12|224),a+=String.fromCharCode(b>>6&63|128)),a+=String.fromCharCode(b&63|128))}return a}};function _440(){var _127=function(){return((1+_94.random())*65536|0).toString(16).substring(1)};return _127()+_127()+_127()+_127()+_127()+_127()+_127()+_127()}var _436=0;function _264(){if(_14.body){_5('Initializing recorder');if(!_1046())return;if(_1054)_1066(_727);else _727();return}_436++;if(_436===1){_5('Retrying to initialize recorder - document.body is not set',_10())}else if(_436===25){_5('Failed to initialize recorder',_10());return}_16._49(_264,200)}function _727(){_5('Initializing recorder',_10());if(!_737(_2.location.hostname))return;if(_728()){_5('Recording not started - browser is IE8 or older',_10());return}if(_729)_1085();if(_729||_1083)return;_431=true;function _730(){if(!_82&&_2.autoStart&&_14.readyState!=='loading')_31();_557(_718())}_54._174(_14,'readystatechange',_730);_730()}function _557(_297){if(_425||!_82||_14.readyState!=='complete')return;_26(_6._731,{x:_297,y:_345?_345.scrollHeight:_24._446()});_425=true}function _1081(){return _2.useUnload?'unload':'beforeunload'}function _270(_732,_733){return _732.indexOf(_733,_732.length-_733.length)!==-1}function _101(_42){var _114=0,_734;for(var _8=0;_8<_42.length;_8++){_734=_42.charCodeAt(_8);_114=((_114<<5)-_114)+_734}return _114.toString()}function _736(_11){for(var _8=0;_8<_1._152.length;_8++)if(_1._152[_8].split('_')[0]===_101(_11)){return _8}return-1}function _735(_11,_4){var _486=_736(_11);var _553=_101(''+_4);if(_486>-1){if(_1._152[_486].split('_')[1]===_553){return false}_1._152[_486]=_101(_11)+'_'+_553}else if(_1._152.length<20){_1._152.push(_101(_11)+'_'+_553)}return true}function _737(_27){var _1078=_27;_27=_534(_27);var _738=false;for(let _8=0;_8<_274.length;_8++){if(_27==_534(_274[_8])){_738=true;break}}_27=_1073(_27);var _739=false;for(let _8=0;_8<_274.length;_8++){if(_27==_534(_274[_8])){_739=true;break}}var _29=_738||_739;if(!_29)_5('Domain was blocked: '+_1078+' - domain list: '+_274,_10());return _29}function _534(_27){if(_27==null)return'';_27=_27.toLowerCase();_27=_27.replace(/^\s+|\s+$/g,'');if(_27.substring(0,4)=='www.'){_27=_27.substring(4,_27.length)}return _27}function _1073(_27){if(_2.includeSubDomains){_27=_1072(_27)}return _27}function _1072(_27){var _125=_27.split('.');if(_125.length<=2)return _27;if(_27.indexOf('.co.')>-1||_27.indexOf('.com.')>-1||_27.indexOf('.org.')>-1){_125=_125.slice(_125.length-3,_125.length);return _125.join('.')}_125=_125.slice(_125.length-2,_125.length);return _125.join('.')}function _1069(){var _29=[];if(typeof Ember!='undefined')_29.push('em');if(typeof angular!='undefined')_29.push('an');if(typeof Backbone!='undefined')_29.push('bb');return _29}function _1068(){if(_2.autoTagging){_5('Autotagging session',_10());var _740=['utm_source','utm_medium','utm_term','utm_content','utm_campaign','gclid'];for(var _8=0;_8<_740.length;_8++){var _558=_740[_8];var _4=_741(_2.location.href,_558);if(!_4)_4=_741(_2.referrer,_558);if(_4)_119._746(['setVariable',_558,_4])}}}function _741(_15,_20){_20=_20.replace(/[[]/,'\\[').replace(/[\]]/,'\\]');var regex=new RegExp('[\\?&]'+_20+'=([^&#]*)'),results=regex.exec(_15);return results===null?'':decodeURIComponent(results[1].replace(/\+/g,' '))}const nonWordCharactersRegex=/[\s"'.,_\-+/*:=!?@#%&{}[\]\\|]/;function _1044(_543){return!nonWordCharactersRegex.test(_543)}function _1043(_4,_505){var _29='';for(var _8=0;_8<_505;_8++){_29+=_4}return _29}function _262(){return _1._742||_1._69}function _10(){return+new Date()-_1._69}function _1032(urlLength){var _191=_2.location.href;var _720=_67._743-urlLength-6;if(_93(_191).length>_720)_191=_191.split('#')[0];if(_93(_191).length>_720)_191=_191.split('?')[0];return _93(_191)}function _1014(_18){var _1011=_18 instanceof Element;if(!_1011)return false;var _719=_3.getComputedStyle(_18);var _548=_719?_719['white-space']:'';if(_548&&(_548.indexOf('pre')>-1||_548==='break-spaces'))return true;return false}this._264=_264;this._31=function(){_31();_557(_718())};this._70=_70;this._399=_399;this._509=_509;this._883=function(){return _12._56};this._885=function(){return _12._66};this._74=_74;this._493=_493;this._506=_506;this._528=_528;this._552=_552;this._271=_271;this._353=_353;this._128=function(_4,_20){_128({_4:_4,_705:_20,_130:0})};this._167=function(){return _167};this._890=function(){return _12._288};this._283=_283;this._231=_231;this._176=_176;this._150=_150;this._430=_430;this._189=_189;this._895=function(){_128(_81._504)};this._364=_364;this._472=_472;this._539=_539}function _764(_22,_2){var _701=[];function _163(_120){if(!_2.domMutationDetectorEnable||!_120||_120.nodeType!==1)return false;var _59=_22._75(_120);var _695=_59?_59.id:undefined;var _696=_120.previousSibling?_120.previousSibling.id:undefined;var _1006=_120.tagName;var _697=_120.attributes?_120.attributes.id:undefined;var _698=_120.attributes?_120.attributes.class:undefined;var _11=_1006;if(_2.domMutationUseParentNode&&_695)_11+='_'+_695;if(_2.domMutationUsePreviousSibling&&_696)_11+='_'+_696;if(_697)_11+='_'+_697;if(_698)_11+='_'+_698.replace(/\s/g,"_");var _702=+new Date();var _219=_701[_11];var _496=_219?_219._505:0;var _1040=_219?((_702-_219._1034)/1000):0;var _699=_496<_2.domMutationCountThreshold;var _700=_1040<_2.domMutationTimeThresholdInSeconds;var _163=_219?(_699&&_700):false;if(!_699||!_700)_496=0;_701[_11]={_1034:_702,_505:_496+1};return _163}this._163=_163}function _979(_3,_16,_2,_106,_24,_54,_72,_71){var _39,_46,_5,_83;var _375='mf_liveHeatmaps';var _36;var _332=[];var _96;var _362=false;function _31(_516,_220,_266,_182){_46=_516;_39=_266;_5=_220;_362=window.location.search.indexOf('mf_legacy=1')!==-1?true:false;_5('Live heatmaps starting');_83=_106._232();if(!_83){_5('Live heatmaps not initiated - could not create root HTML element');return}if(!_3.opener){_5('Live heatmaps not initiated - window.opener is missing');return}if(typeof _182==='function'){_182(function(){_146()})}else{_146()}}function _70(){_1029()}function _146(){_54._174(_3,'message',function(_28){if(_28.origin!==_39)return;_222(_28.data);switch(_28.data.message){case'MouseflowLiveHeatmaps_Init_Received':_3.clearInterval(_96);break;case'MouseflowLiveHeatmaps_Init_Success':case'MouseflowLiveHeatmaps_Hello':_89(_28.data);_221(_28.data.scripts,function(){var message;if(_362){message={mfCommand:'settings',value:{websiteSettings:_28.data.websiteSettings}}}else{_707();message={mfCommand:'settings_liveheatmap',value:_36}}_527(JSON.stringify(message))});break;case'MouseflowLiveHeatmaps_StreamData_Chunk':_265(_28.data.requestUrl,true)._518(_28.data.dataChunk);break;case'MouseflowLiveHeatmaps_StreamData_Success':_265(_28.data.requestUrl)._213();break;case'MouseflowLiveHeatmaps_StreamData_Error':_265(_28.data.requestUrl)._218();break;case'MouseflowLiveHeatmaps_RequestData_Success':_265(_28.data.requestUrl)._213(_28.data.responseText);break;case'MouseflowLiveHeatmaps_RequestData_Error':_265(_28.data.requestUrl)._218();break}});_96=_16._162(_284,500);_16._49(function(){_16._99(_96)},10000);_284()}function _284(){_168({message:'MouseflowLiveHeatmaps_Init',websiteId:_46,legacy:_362})}function _89(_89){_36=_703();var _289=_704();var _373=_2.location.search.match(/mf_liveHeatmaps=([^&]+)/);var _491=typeof _3.name==='string'&&_3.name.indexOf('mf_liveHeatmaps')===0?_3.name.slice(15).split('_'):[];var _1031=_373||_491[1]==='init';if(_36&&!_1031){_36.filters.url=_289.url;_507(_36);return}_36={isMinimized:false,appUrlBase:_39,websiteId:_46,filters:_289,minDate:_89.minDate,filteredViews:_89.filteredViews,user:_89.user,website:_89.website,mutedEvents:_89.mutedEvents,supportedLanguages:_89.supportedLanguages,accountFeatures:_89.accountFeatures};if(_89.filters&&_89.filters.view){_36.selectedFilteredView=_89.filters.view;delete _89.filters.view}if(_89.filters){Object.keys(_89.filters).forEach(function(_11){var _4=_89.filters[_11];if(_4 instanceof Date)_4=_359(_4);_36.filters[_11]=_4})}if(_373&&_373[1]!=='1')_36.filters.maptype=_373[1];else if(_491[2])_36.filters.maptype=_491[2];_507(_36);_3.name='mf_liveHeatmaps'}function _707(){_36.devices=_36.filters.device?_36.filters.device.and||_36.filters.device.or:[];_36.mapType=_36.filters.maptype;_36.url=_36.filters.url=_72._115();_168({message:'MouseflowLiveHeatmaps_SetSettings',settings:_36})}function _221(_105,_45){if(!_105)return;var _126=0;function _173(){if(_126>=_105.length){_45();return}var _50=_105[_126];_269(_50);_126++;var _102=document.createElement('script');if(_50.startsWith('/'))_102.src=_39+_50;else _102.src=_39+'/'+_50;_102.onload=_173;_83.appendChild(_102)}_173()}function _703(){return _71._285(_375)}function _507(_36){if(_5)_5('Live heatmaps saving settings');_71._281(_375,_36)}function _1029(){if(_5)_5('Live heatmaps removing settings');_71._279(_375)}function _265(_15,_1027){var _148=_332.filter(function(_1028){return _1028._15===_15})[0];if(!_1027&&_148)_332.splice(_332.indexOf(_148),1);return _148}function _1147(_13){if(typeof _13!=='object')return;_36=_703();var _289=_704();Object.keys(_13).forEach(function(_11){var _4=_13[_11];if(_4 instanceof Date)_4=_359(_4);_36.filters[_11]=_4||undefined});Object.keys(_289).forEach(function(_11){if(!_36.filters[_11])_36.filters[_11]=_289[_11]});if(_36.filters.view){_36.selectedFilteredView=_36.filters.view;delete _36.filters.view}_507(_36)}function _704(){var _246=new Date();_246=new Date(_246.getFullYear(),_246.getMonth(),_246.getDate());var _508=new Date(_246);_508.setDate(_508.getDate()-29);return{maptype:'click',url:_72._115(),fromdate:_359(_508),todate:_359(_246)}}function _168(_7){_3.opener.postMessage(_7,_39);_5('Sent '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}function _527(_7){_3.postMessage(_7,_3.location.origin);_5('Sent '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}function _222(_7){if(_7.message&&_7.message.indexOf('MouseflowLiveHeatmaps_')===0)_5('Received '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}function _269(_50){_5('Live heatmaps loading script: '+_50)}function _359(_103){return _103.getFullYear()+'-'+_706(_103.getMonth()+1,'00')+'-'+_706(_103.getDate(),'00')}function _706(_1024,_717){return(_717+_1024).slice(-_717.length)}this._31=_31;this._70=_70;this._471=function(_13){_1147(_13);if(_362){_527('{"mfCommand":"MouseflowHeatmap_UpdateHeatmap"}')}else{_707();var message={mfCommand:'settings_change',value:{settings:_36,reloadData:_13&&_13.maptype?false:true}};_527(JSON.stringify(message))}_5('Sent postmessage updateheatmap')};_3.mouseflowHeatmap={streamData:function(_15,_518,_213,_218){_332.push({_15:_15,_518:_518||function(){},_213:_213||function(){},_218:_218||function(){}});_168({message:'MouseflowLiveHeatmaps_StreamData',requestUrl:_15})},getData:function(_15,_213,_218){_332.push({_15:_15,_213:_213||function(){},_218:_218||function(){}});_168({message:'MouseflowLiveHeatmaps_RequestData',requestUrl:_15})}}}function _990(_3,_16,_2,_106,_24,_54,_72,_71){const _375='mf_liveHeatmaps';let _39,_46,_5,_83;let _96;const _14=_3.document;const _1138=_3.location.search.slice(1).split('&').map(a=>a.split('=',2)).filter(a=>a[0]).reduce((acc,cur)=>(acc[cur[0]]=cur[1]??null,acc),{});function _31(_516,_220,_266,_182){_46=_516;_39=_266;_5=_220;_5('Live heatmaps starting');_83=_106._232();if(!_83){_5('Live heatmaps not initiated - could not create root HTML element');return}if(!_3.opener){_5('Live heatmaps not initiated - window.opener is missing');return}if(typeof _182==='function'){_182(function(){_146()})}else{_146()}}function _70(){}function _146(){_54._174(_3,'message',function(_28){if(_28.origin!==_39)return;_222(_28.data);switch(_28.data.message){case'MouseflowLiveHeatmapsV3_Init_Received':_16._99(_96);break;case'MouseflowLiveHeatmapsV3_Init_Success':_221(_28.data.scripts);break}});_96=_16._162(_284,500);_16._49(function(){_16._99(_96)},10000);_284()}function _284(){_168({message:'MouseflowLiveHeatmapsV3_Init',websiteId:_46,prod:_1138.prod!==undefined})}function _221(_105){for(const _50 of _105){const _0=_14.createElement(_50.tagName);if(_50.textContent){_0.textContent=_50.textContent}for(const _11 in _50.attributes){const _4=_50.attributes[_11];if(_11==='src'||_11==='href'){_0[_11]=_39+_4}else{_0.setAttribute(_11,_4)}}if(_0.tagName==='SCRIPT'){_0.async=false}if(_0.tagName==='SCRIPT'&&_0.type==='importmap'){_0.textContent=_0.textContent.replace(/(:\s*")(\/[^"]+")/g,`$1${_39}$2`)}_83.appendChild(_0)}}function _168(_7){_3.opener.postMessage(_7,_39);_5('Sent '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}function _222(_7){if(_7.message&&_7.message.indexOf('MouseflowLiveHeatmapsV3_')===0)_5('Received '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}this._31=_31;this._70=_70;this._471=function(){window.updateSpaPage()}}function _988(_3,_106,_22,_16,_24,_54,_2){var _5,_83,_96,_39,_205,_340;function _31(_1163,_46,_1179,_1180,_1181,_1173,_220,_45){_39=_1163;_340=new URL(_39).origin;_5=_220;_205=_45;_5('[PrivacyTool] _start called');_5('[PrivacyTool] appUrl: '+_39);_5('[PrivacyTool] appOrigin: '+_340);_83=_106._232();_5('[PrivacyTool] Root element created? '+!!_83);if(!_83){_5('Privacy tool not initiated - could not create root HTML element');return}if(!_3.opener){_5('Privacy tool not initiated - window.opener is missing');return}_146()}function _146(){_5('[PrivacyTool] Setting up event listener');_54._174(_3,'message',function(_28){_5('[PrivacyTool] message event received: '+_28.origin+', '+(_28.data?.message));if(_28.origin!==_340){_5('[PrivacyTool] Ignored message from unexpected origin: '+_28.origin);return}_222(_28.data);switch(_28.data.message){case'MouseflowPrivacyTool_Init_Received':_5('[PrivacyTool] Init_Received acknowledged');_3.clearInterval(_96);break;case'MouseflowPrivacyTool_Init_Success':_5('[PrivacyTool] Init_Success received');_221(_28.data.scripts,function(){try{_5('[PrivacyTool] All scripts loaded');var payload=_28.data.payload||{};_5('[PrivacyTool] Payload: '+JSON.stringify(payload));privacyToolWidget.start(payload.appUrl,payload.blacklist||[],payload.whitelist||[],payload.tracked||[],payload.masked||[]);_5('[PrivacyTool] Widget started');if(typeof _205==='function')_205()}catch(e){_5('[PrivacyTool] Failed to start widget: '+e)}});break;default:_5('[PrivacyTool] Unknown message: '+(_28.data?.message))}});_96=_3.setInterval(_708,500);_3.setTimeout(function(){_5('[PrivacyTool] Init timeout reached, clearing interval');_3.clearInterval(_96)},10000);_708()}function _708(){_5('[PrivacyTool] Posting Init message to opener');try{_3.opener.postMessage({message:'MouseflowPrivacyTool_Init'},_340)}catch(e){_5('[PrivacyTool] Failed to post Init message: '+e)}}function _221(_105,_45){if(!_105)return;var _126=0;function _173(){if(_126>=_105.length){_45();return}var _50=_105[_126];_269(_50);_126++;var _102=document.createElement('script');if(_50.startsWith('/'))_102.src=_39+_50;else _102.src=_39+'/'+_50;_102.onload=_173;_83.appendChild(_102)}_173()}function _269(_50){_5('Privacy Tool loading script: '+_50)}function _222(_7){if(_7.message&&_7.message.indexOf('MouseflowPrivacyTool_')===0)_5('Received '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}this._31=_31}function _871(_3,_106,_16,_24,_54,_2,_72){var _5,_83,_96,_39,_799,_205;function _31(_220,_266,_1157,_45){_39=_266;_5=_220;_205=_45;_799=!!_1157;_5('Tagger tool starting');_83=_106._232();if(!_83){_5('Tagger tool not initiated - could not create root HTML element');return}if(!_3.opener){_5('Tagger tool not initiated - window.opener is missing');return}_146()}function _146(){_54._174(_3,'message',function(_28){if(_28.origin!==_39)return;_222(_28.data);switch(_28.data.message){case'MouseflowTaggerTool_Init_Received':_16._99(_96);break;case'MouseflowTaggerTool_Init_Success':_221(_28.data.scripts,function(){taggerToolWidget.start(_72._115());if(typeof _205==='function')_205();_5('Tagger tool scripts loaded')});break}});_96=_16._162(_709,500);_16._49(function(){_16._99(_96)},10000);_709()}function _709(){_168({message:'MouseflowTaggerTool_Init',startWithHeatMap:_799})}function _221(_105,_45){if(!_105)return;var _126=0;function _173(){if(_126>=_105.length){_45();return}var _50=_105[_126];_269(_50);_126++;var _102=document.createElement('script');if(_50.startsWith('/'))_102.src=_39+_50;else _102.src=_39+'/'+_50;_102.onload=_173;_83.appendChild(_102)}_173()}function _269(_50){_5('Tagger tool loading script: '+_50)}function _222(_7){if(_7.message&&_7.message.indexOf('MouseflowTaggerTool_')===0)_5('Received '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}function _168(_7){_3.opener.postMessage(_7,_39);_5('Sent '+_7.message+(_7.requestUrl?', request URL: '+_7.requestUrl:''))}this._31=_31}function _848(_2,_556,_537){function _115(){if(_2.forcePath&&_2.path)return _2.path.toLowerCase();var _78=(_2.crossDomainSupport?_2.location.hostname:'')+(_2.path||(_2.decodePathName?decodeURIComponent(_2.location.pathname):_2.location.pathname)).toLowerCase();var _114=(_2.includeHashInPath?_2.location.hash:'').toLowerCase();var _104=_2.location.search.toLowerCase();if(_78!=='/'&&_78.slice(-1)==='/'&&(!_2.includeQueryStringInPath&&!_2.includeHashInPath))_78=_78.slice(0,-1);return _1169(_78+(_2.includeQueryStringInPath?_104:'')+_114)||_78+_1158(_104)+_114}function _1169(_78){return _556.filter(function(_76){return _1160(_78,_76)}).map(function(_76){return _1164(_76)})[0]}function _1158(_104){if(_104[0]==='?')_104=_104.slice(1);var _64;var _512=[];var _1159=/([^&=]+)=?([^&]*)/g;while((_64=_1159.exec(_104))!==null){var _40=_537.indexOf(_64[1]);if(_64[2]&&_40>-1)_512[_40]=_64[0]}return _512.length?'?'+_512.filter(hasValue).join('&'):(_2.includeQueryStringInPath&&_104?'?'+_104:'')}function _1160(_78,_76){var _711=_78.indexOf('?');if(!_2.includeQueryStringInPath&&_711>-1)_78=_78.slice(0,_711);switch(_76._23){case'equals':return _78===_76._4.toLowerCase();case'startsWith':return _78.substr(0,_76._4.length)===_76._4;case'endsWith':return _78.substr(-_76._4.length)===_76._4;case'contains':return _78.includes(_76._4.toLowerCase());case'regex':return new RegExp(_76._4).test(_78);default:return false}}function _1164(_76){if(_76._1166)return _76._1166;switch(_76._23){case'startsWith':return _76._4+'*';case'endsWith':return'*'+_76._4;default:return _76._4}}function hasValue(value){return value}this._115=_115}function _712(_23,_3,_24,_5){var _224=_1109(_23);this._140=function(_11){try{return _224.getItem(_11)||null}catch(e){_5(e);return null}};this._285=function(_11){try{return _24._294(this._140(_11))||null}catch(e){_5(e);return null}};this._107=function(_11,_4){try{_224.setItem(_11,_4);return true}catch(e){_5(e);return false}};this._281=function(_11,_4){try{return this._107(_11,_24._121(_4))}catch(e){_5(e);return false}};this._279=function(_11){try{_224.removeItem(_11)}catch(e){_5(e)}};this._782=function(){try{var _11='mf_supportsSessionStorage';var _4='1';_224.setItem(_11,_4);var _1131=_224.getItem(_11)===_4;_224.removeItem(_11);return _1131}catch(e){_5(e);return false}};function _1109(_23){switch(_23){case'local':return _3.localStorage;case'session':return _3.sessionStorage;default:throw Error('Unknown storage type: '+(_23||'null'))}}}function _1107(_3,_24,_2,_5){var _14=_3.document;var _65=_3.location;var _1103=7776000000;this._1104=function(_20){var _714=_20+'=';var _713=_14.cookie.split(';');for(var i=0;i<_713.length;i++){var c=_713[i];while(c.charAt(0)===' '){c=c.substring(1)}if(c.indexOf(_714)===0){return c.substring(_714.length,c.length)}}return''};this._140=function(_11){try{return this._1104(_11)}catch(e){_5(e);return null}};this._285=function(_11){try{return _24._294(this._140(_11))||null}catch(e){_5(e);return null}};this._1099=function(_20,_4,_210,_27){var _715='';if(_210==1){var _103=new Date();_103.setTime(_103.getTime()+_1103);_715='; expires='+_103.toGMTString()}var _1108=_2.secureCookie?'secure;':'';_14.cookie=_20+'='+_4+_715+'; path=/; domain='+_27+';'+_1108+'SameSite=Strict;'};this._107=function(_11,_4,_210,_27){try{this._1099(_11,_4,_210,_27);return true}catch(e){_5(e);return false}};this._281=function(_11,_4,_210,_27){try{return this._107(_11,_24._121(_4),_210,_27)}catch(e){_5(e);return false}};this._279=function(_11){try{_14.cookie=_11+'=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/; domain='+_24._320(_65,_2)+';'}catch(e){_5(e)}}}function _943(_3,_16,_24,_2,_5){this._716=function(){_3._mfq=[]};this._541=function(){if(!_3._mfq)this._716();for(var _40=0;_40<_3._mfq.length;_40++){var _53=_3._mfq[_40];if(_53&&_53.length){var _744=true;if(_53[0]==='config')_2._360.apply(_2,_53.slice(1));else if(_53[0]==='newPageView')_2._467.apply(_2,_53.slice(1));else _744=false;if(_744)delete _3._mfq[_40]}}};this._31=function(){_3._mfq=new _119(_3._mfq)};this._746=function(){_3._mfq.push.apply(_3._mfq,arguments)};this._1092=function(){return _3._mfq};function _119(_385){if(!_385)_385=[];var _33=this;_16._49(function(){for(var _40=0;_40<_385.length;_40++)_33.push(_385[_40])},1)}_119.prototype.push=function(_53){if(!_53)return;try{if(typeof _53==='object'&&_53.length){_3.mouseflow[_53.slice(0,1)].apply(_3.mouseflow,_53.slice(1))}else if(typeof _53==='function'){_53(_3.mouseflow)}}catch(error){var _489='Failed to execute item on action queue';var _797=_24._121(_53);if(_797)_489+='\n'+_797;_489+='\n'+error;_5(_489)}}}function _1098(_22,_24){var _547=[];var _1125=['target','button','pageX','pageY','which','data','origin','source','touches','key','clientX','clientY'];function _1119(_21,_6,_44,_531,_13){var _171=!!_13._171;var _775=function(_9){var _267=[];if(_9.composedPath&&((_9.target&&_9.target.shadowRoot)||_44))_267=_9.composedPath();var _747=_9;_9=_1126(_9);_9.preventDefault=function(){_747.preventDefault()};_9.stopPropagation=function(){_747.stopPropagation()};if(_9.target&&_9.target.shadowRoot&&_267.length)_9.target=_267[0];if(_44){_9.delegatedTarget=_777(function(_43,_8){return _267.length?_267[_8]:(_43?_22._75(_43):_9.target)},_44);if(!_9.delegatedTarget&&!_13._1120)return;if(_13._774&&_9.target!==_9.delegatedTarget)return}else if(_13._774&&_9.target!==_21){return}if(_13._1176)_9.preventDefault();if(_13._1175)_9.stopPropagation();_531.apply(this,arguments)};_21.addEventListener(_6,_775,{capture:_171});_547.push({_21:_21,_6:_6,_531:_775,_171:_171})}function _1126(_9){var _776={};_1125.forEach(function(_11){if(_9[_11]!=undefined)_776[_11]=_9[_11]});return _776}function _1113(){_547.forEach(function(_54){_54._21.removeEventListener(_54._6,_54._531,{capture:_54._171})});_547=[]}function _777(_778,_44,_21,_40){if(!_40)_40=0;_21=_778(_21,_40);if(!_21||!_44)return null;if(_24._109(_21,_44))return _21;return _777(_778,_44,_21,++_40)}this._174=function(_21,_6,_44,_45,_13){if(typeof _44==='function'){_13=_45;_45=_44;_44=null}_1119(_21,_6,_44,_45,_13||{})};this._1115=_1113}function _763(_2,_24){function _426(_183,_280){if(!_183||!_183.length)return true;_183=_183.filter(function(_68){return _68&&_68._23&&_68._4});var _779=_183.filter(function(_68){return _68._23.indexOf('not')!==0});var _897=_779.length===0||_779.some(function(_68){return _248(_68,_280)});var _780=_183.filter(function(_68){return _68._23.indexOf('not')===0});var _980=_780.length===0||_780.every(function(_68){return _248(_68,_280)});return _980&&_897}function _248(_68,_280){const _78=_2.path||_2.location.pathname;const _114=_2.includeHashInPath?_2.location.hash:'';const _104=_2.includeQueryStringInPath?_2.location.search:'';const _25=(_78+_104+_114).toLowerCase();const _781=_280?.toLowerCase();const _896=_280&&_781===_68._4?.toLowerCase();let _549=_896?_484(_68,_781):_484(_68,_25);if(!_549&&_2.crossDomainSupport)_549=_484(_68,_2.location.hostname+_25);return _549}function _484(_68,_25){const _23=(_68._23||'').toLowerCase();const _4=(_68._4||'').toLowerCase();const _400=_24._406(_25,'/');const _408=_24._406(_4,'/');const _893={equals:()=>_400===_408,startswith:()=>_25.startsWith(_4),endswith:()=>_400.endsWith(_408),regex:()=>new RegExp(_4).test(_25),contains:()=>_25.includes(_4),notequals:()=>_400!==_408,notstartswith:()=>!_25.startsWith(_4),notendswith:()=>!_400.endsWith(_408),notcontains:()=>!_25.includes(_4)};return _893[_23]?.()??true}this._426=_426;this._248=_248}function _892(_3,_71,_116,_437,_434,_429){const _65=_3.location;const _14=_3.document;const _898=URL.parse??_438;function _438(_15){var _109=(_15||'').match(/^(([^:]+:)?\/?\/?(([^:/?#]+)?:?(\d+)?))(\/.*?)?(\?.*?)?(#.*)?$/);return{href:_109[0]||'',origin:_109[1]||'',protocol:_109[2]||'',host:_109[3]||'',hostname:_109[4]||'',port:_109[5]||'',pathname:_109[6]||'',search:_109[7]||'',hash:_109[8]||''}}function _783(_888){if(_429)return'';const _15=_898(_888);return _15?.protocol&&_15?.origin?_15.origin:''}this.debug=_3.mouseflowDebug||_65.search.indexOf('mf_debug=1')!==-1;this.includeDebugTime=false;this.forceStart=_65.search.indexOf('mf_force=1')!==-1;this.autoStart=_3.mouseflowAutoStart!==false&&_65.search.indexOf('mf_autostart=0')===-1;this.enableBots=false;this.touchEvents=!_3.mouseflowDisableTouch;this.htmlDelay=_3.mouseflowHtmlDelay||1000;this.newPageViewHtmlDelay=_3.mouseflowNewPageViewHtmlDelay||500;this.compress=_3.mouseflowCompress!==false&&_65.search.indexOf('mf_compress=0')===-1;this.compressFunction=null;this.autoTagging=_3.mouseflowAutoTagging!==false;this.path=_3.mouseflowPath;this.forcePath=false;this.crossDomainSupport=!!_3.mouseflowCrossDomainSupport;this.location=_438(_3.mouseflowHref||_65.href);this.hasCustomHref=!!_3.mouseflowHref;this.referrer=_783(_3.mouseflowReferrer!==undefined?_3.mouseflowReferrer:_14.referrer);this.htmlFetchMode=_3.mouseflowHtmlFetchMode||'post';this.sessionId=_3.mouseflowSessionId;this.honorDoNotTrack=_3.mouseflowHonorDoNotTrack||_434;this.gdprEnabled=_3.mouseflowForceGdpr||_437;this.keyLogging=!_3.mouseflowDisableKeyLogging&&!this.gdprEnabled;this.domReuse=!_3.mouseflowDisableDomReuse;this.domDeduplicator=!_3.mouseflowDisableDomDeduplicator;this.includeSubDomains=!_3.mouseflowExcludeSubDomains;this.registerSubmitTimeout=_3.mouseflowRegisterSubmitTimeout||2000;this.useUnload=!!_3.mouseflowUseUnload;this.replaceLastFormValues=_3.mouseflowReplaceLastFormValues||!this.keyLogging||this.gdprEnabled;this.useAllHoverSelectors=!!_3.mouseflowUseAllHoverSelectors;this.enableCssRecording=!!_3.mouseflowEnableCssRecording;this.secureCookie=!!_3.mouseflowSecureCookie;this.enableSpa=true;this.includeHashInPath=false;this.includeQueryStringInPath=false;this.autoTagPayments=true;this.preferStorageApi=!!_3.mouseflowPreferStorageApi;this.domMutationDetectorEnable=_3.domMutationDetectorEnable!==undefined?_3.domMutationDetectorEnable:false;this.domMutationUseParentNode=_3.domMutationUseParentNode!==undefined?_3.domMutationUseParentNode:true;this.domMutationUsePreviousSibling=_3.domMutationUsePreviousSibling!==undefined?_3.domMutationUsePreviousSibling:false;this.domMutationCountThreshold=_3.domMutationCountThreshold!==undefined?_3.domMutationCountThreshold:20;this.domMutationTimeThresholdInSeconds=_3.domMutationTimeThresholdInSeconds!==undefined?_3.domMutationTimeThresholdInSeconds:10;this.liveHeatmapsEnabled=false;this.privacyToolEnabled=false;this.taggerToolEnabled=false;this.useIdSelectors=_3.mouseflowUseIdSelectors!==undefined?_3.mouseflowUseIdSelectors:true;this.useSelectorGenerator=_3.mouseflowUseSelectorGenerator!==undefined?_3.mouseflowUseSelectorGenerator:false;this.proxyAttachShadow=true;this.scrollSelector=_3.mouseflowScrollSelector;this.autoScrollSelector=_3.mouseflowAutoScrollSelector||false;this.freezeElementIds=[];this.proxyValueSetter=false;this.decodePathName=false;this.forms=_3.mouseflowFormsConfiguration||null;this.notFoundIdentifiers=_3.mouseflowNotFoundIdentifiers||["Not Found","404"];this.debugDeadClick=_65.search.indexOf('mf_debugDeadClick=1')!==-1;this.enableDeadClick=true;this.enableDataLayerCapture=!!_3.mouseflowEnableDataLayerCapture;this._541=function(){const _241=typeof _3.name==='string'&&_3.name.startsWith('mf_')?_3.name.slice(3).split('_'):[];if(`${_241[0]}_${_241[3]}`==='liveHeatmaps_v3'){this.liveHeatmapsV3Enabled=true;_116._107('mf_liveHeatmaps_version','v3')}else if(_116._140('mf_liveHeatmaps_version')==='v3'){this.liveHeatmapsV3Enabled=true}if(!!_3.opener&&_65.search.indexOf('mf_liveHeatmaps')!==-1){this.liveHeatmapsEnabled=true;this.taggerToolEnabled=true;return}if(_65.search.indexOf('mf_inspect')!==-1){this.privacyToolEnabled=true;return}if(!!_3.opener&&_241[0]==='liveHeatmaps'){this.liveHeatmapsEnabled=true;this.taggerToolEnabled=true;return}if(_241[0]==='privacyTool'){this.privacyToolEnabled=true;return}if(`${_241[0]}_${_241[1]}`==='tagger_tool'){this.taggerToolEnabled=true;return}if(!_71._782())return;if(_3.opener){if(_71._140('mf_privacyTool'))this.privacyToolEnabled=true;else if(_71._140('mf_liveHeatmaps')){this.liveHeatmapsEnabled=true;this.taggerToolEnabled=true}}};this._467=function(_25,_65){this._360('href',_3.location.href);this.path=undefined;if(_25)this.path=_25.toString();if(_65){this.location=_65;this.hasCustomHref=true}};this._360=function(_11,_4){if(_11[0]==='_')return;switch(_11){case'href':this.location=_438(_4);this.hasCustomHref=_4!==_3.location.href;break;case'keyLogging':this.keyLogging=this.keyLogging&&_4;break;case'gdprEnabled':this.gdprEnabled=this.gdprEnabled||_4;break;case'freezeElementIds':this.freezeElementIds=Array.isArray(_4)?_4:[''+_4];break;case'referrer':this.referrer=_783(_4);break;case'hasCustomHref':break;default:this[_11]=_4;break}}}function _977(_3,_22){const _380='mf-root';let _784,_194;_258(_3);function _258(_251){_784=_251;_194=_251.document;_22._258(_251)}function _415(){if(!_194.body)return null;const _86=_889();if(!_909())_450();return _86}function _232(){const _83=_415();const _86=_83?.shadowRoot.getElementById('mouseflow');return _86}function _411(){const _86=_786();if(!_86)return;const _785=_784.getComputedStyle(_194.body);const _439=parseInt(_785.marginTop)+parseInt(_785.paddingTop);if(_439){_86.style.top=`${_439 * -1}px`;_86.style.height=`calc(100% + ${_439}px)`;_86.style.left='0px';_86.style.width='100%'}}function _786(){return _194.getElementsByTagName(_380)[0]}function _889(){const _86=_786()??_194.createElement(_380);if(!_86.id)_86.id='mouseflow';if(_86.innerHTML?.trim()==='')_86.innerHTML=_901();if(!_194.contains(_86))_194.body.appendChild(_86);_411();return _86}function _909(){return!!_22._973(_380)}function _450(){_22._450(_380,class extends _22._308('HTMLElement'){connectedCallback(){const _197=this.shadowRoot??this.attachShadow({mode:'open'});if(_197.getElementById('mouseflow'))return;_197.innerHTML=('
'+''+'
load font
'+''+'
')}})}function _901(){return('')}this._258=_258;this._415=_415;this._232=_232;this._411=_411}function _917(_3,_22){this._49=function(){return _22._206(_3,'setTimeout').apply(_3,arguments)};this._162=function(){return _22._206(_3,'setInterval').apply(_3,arguments)};this._180=function(){_22._206(_3,'clearTimeout').apply(_3,arguments)};this._99=function(){_22._206(_3,'clearInterval').apply(_3,arguments)}}function _916(_3,_94,_468,_22){var _14=_3.document;function _149(_0,_91){var _161=_0.classList;if(_161&&_91)return _161.contains(_91);var _160=_260(_0);return _160.indexOf(_91)!==-1}function _465(_0,_91){var _161=_0.classList;if(_161&&_91){_0.classList.add(_91);return}var _160=_260(_0);if(_160.indexOf(_91)===-1)_160.push(_91);_0.className=_160.join(' ')}function _483(_0,_91){var _161=_0.classList;if(_161&&_91){_0.classList.remove(_91);return}var _160=_260(_0);var _40=_160.indexOf(_91);if(_40!==-1)_160.splice(_40,1);_0.className=_160.join(' ')}function _796(_0,_91,_414){if(_414===undefined)_414=!_149(_0,_91);if(_414){_465(_0,_91)}else{_483(_0,_91)}}function _260(_0){var _787=typeof _0.className==='string'?_0.className.replace(/\s+/g,' ').trim():'';return _787!==''?_787.split(' '):[]}function _446(){return _94.max((_14.body||{}).scrollHeight||0,(_14.body||{}).offsetHeight||0,_14.documentElement.scrollHeight||0,_14.documentElement.offsetHeight||0,_14.documentElement.clientHeight||0)}function _458(){var _227=null;var _913=_14.body.scrollHeight;_14.querySelectorAll('body *').forEach(function(_43){if(_43.tagName==='LINKBAR-CONTAINER')return;if(!_227)_227=_43;if(_227.scrollHeight<_43.scrollHeight)_227=_43});return _227.scrollHeight>_913?_227:null}function _530(_2){if(!_2.autoScrollSelector)return _14.querySelector(_2.scrollSelector);return _458()}function _44(_52,_912){var _29=[];if(!_52)return _29;for(var _8=0;_8<_52.length;_8++){if(_912(_52[_8],_8))_29.push(_52[_8])}return _29}function _261(_159){var _8=Math.floor(Math.log(_159)/Math.log(1024));return(_159/Math.pow(1024,_8)).toFixed(2)*1+' '+['B','KB','MB','GB','TB'][_8]}function _773(_327){var _397=_327.length;while(_397){var _8=_94.floor(_94.random()*_397--);var _910=_327[_397];_327[_397]=_327[_8];_327[_8]=_910}}function _772(_42){if(!_42)return _42;return _42.replace(/&/g,'&').replace(/"/g,'"').replace(/'/g,''').replace(//g,'>')}function _452(_42){if(!_42)return _42;return _42.replace(/&/g,'&').replace(/"/g,'"').replace(/'/g,"'").replace(/</g,'<').replace(/>/g,'>')}function _453(url){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(url.trim())}function _771(_42){return _42.replace(/\[([^\]]+)\]\(([^)]+)\)/g,function(_64,_906,_15){_15=_452(_15);return _453(_15)?''+_906+'':_64})}function _758(_4){if(!_4)return _4;return _4.replace(/([^a-zA-Z\d-_])/g,'\\$1').replace(/^(-)?(\d)/,'$1\\3$2 ')}function _294(_4){return _4?_468.parse(_4):undefined}function _121(_4){var _29;if(Array.prototype.toJSON){var _905=Array.prototype.toJSON;delete Array.prototype.toJSON;_29=_468.stringify(_4);Array.prototype.toJSON=_905}else if(_4){_29=_468.stringify(_4)}return _29}function _748(_904,_880){var _253=_407(_904);var _42=_407(_880);var _196=_94.max(_253.length,_42.length);if(_42=='NaN'||_253=='NaN'){return false}for(var _8=0;_8<_196;_8++){_253[_8]=_253[_8]||0;_42[_8]=_42[_8]||0;if(_253[_8]==_42[_8]){continue}return _253[_8]>_42[_8]}return true}function _407(_902){var _788=_902.split('.');var _789=[];for(var _8=0;_8<_788.length;_8++){_789.push(parseInt(_788[_8]))}return _789}function _406(_42,_855){var _29=_42;while(_29[_29.length-1]===(_855||' '))_29=_29.slice(0,-1);return _29}function _749(_387){var _64;var _104=/([^?&=]+)(?:=([^&]*))?/g;var _790={};while((_64=_104.exec(_387))!==null){var _11=_64[1];var _4=_64[2]?window.decodeURIComponent(_64[2].replace(/\+/g,' ')):null;_790[_11]=_4}return _790}const platformRegexes=[{family:'windows',regex:[/microsoft (windows) (vista|xp)/i,/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[/]?([\d.\w]*)/i,/(windows)[/]?([ntce\d.]+\w)(?!.+xbox)/i,/(win(?=3|9|n)|win 9x )([nt\d.]+)/i]},{family:'ios',regex:[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/])([\d.]+)/i,/cfnetwork\/.+darwin/i]},{family:'macos',regex:[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i]},{family:'android',regex:[/droid ([\w.]+)\b.+android[- ]x86/i,/(android)[-/]?([\w.]*)/i]},{family:'linux',regex:[/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/()]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[/]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i]}];const browserRegexes=[{browser:'chrome',regex:[/\b(?:crmo|crios)\/([\w.]+)/i]},{browser:'edge',regex:[/edg(?:e|ios|a)?\/([\w.]+)/i]},{browser:'opera',regex:[/(opera mini)\/([-\w.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/]+)([\w.]+)/i,/opios[/]+([\w.]+)/i,/\bopr\/([\w.]+)/i]},{browser:'ie',regex:[/(?:ms|\()(ie) ([\w.]+)/i,/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i]},{browser:'firefox',regex:[/\bfocus\/([\w.]+)/i,/fxios\/([\w.-]+)/i,/(?:mobile|tablet);.*(firefox)\/([\w.-]+)/i,/mobile vr; rv:([\w.]+)\).+firefox/i,/(firefox)\/([\w.]+)/i]},{browser:'opera',regex:[/\bopt\/([\w.]+)/i,/coast\/([\w.]+)/i]},{browser:'samsung',regex:[/(samsung)browser\/([\w.]+)/i]},{browser:'chrome',regex:[/ wv\).+(chrome)\/([\w.]+)/i,/chrome\/([\w.]+) mobile/i,/(chrome)\/v?([\w.]+)/i]},{browser:'android',regex:[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i]},{browser:'safari',regex:[/version\/([\w.,]+) .*mobile(?:\/\w+ | ?)safari/i,/iphone .*mobile(?:\/\w+ | ?)safari/i,/version\/([\w.,]+) .*(safari)/i,/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i]}];function _750(_792){var _794;var _795;for(let _8=0;_8[_43.querySelector(_517)])[0]};this._762=function(_17,_35){return _513(_17,_35||_14,(_43,_517)=>_43.querySelectorAll(_517))};this._391=function(){if(!_2.freezeElementIds)return;const _33=this;for(let _17 of _2.freezeElementIds){try{const _172=_33._762(_17);for(const _18 of _172){if(_154.has(_18))return;if(_172.length>1)_17=_33._207(_18);_154.set(_18,_17)}}catch(_32){_32.message='Could not freeze element IDs: '+_32.message;_5(_32)}}};function _513(_17,_35,_770){const _97=[];try{for(const _952 of _17.split(',')){const _141=_952.split(_759,2);for(const _59 of _770(_35,_141[0])){if(_141[1]&&_59.shadowRoot){const _113=_513(_141[1],_59.shadowRoot,_770);for(const _80 of _113){_97.push(_80)}}else{_97.push(_59)}}}}catch(_32){_32.message='Could not get element from selector: '+_32.message;_5(_32)}return _97}function _946(_0,_45){while(_0){if(!(_0 instanceof Element))break;if(_45(_0))return _0;_0=_22._75(_0)}return null}}function _945(_3,_16){var _760;this.proxyPushState=function(callback){var _525=_3.history;_760=_525.pushState;_525.pushState=function(){_16._49(callback,100);return _760.apply(_525,arguments)};_3.addEventListener('popstate',function(){_16._49(callback,100)})}}function _57(){return undefined}function _156(){return null}function _371(){return false}var _119=new _943(window,_16,_24,_2,_5);var _106=new _977(window,_22);var _72=new _848(_2,_556,_537);var _112=(typeof _761==='function')?new _761(window,_22,_395,_2,_5):{_207:_156,_112:_156,_762:_156,_391:_57};var _324=(typeof _763==='function')?new _763(_2,_24):{_248:_371};var _187=(typeof _955==='function')?new _955(window,_2,_106,_16,_24,_324,_54,_71,_5,_72):{_31:_57,_70:_57,_283:_57,_1178:_156,_928:_57,_1177:_57};var _423=(typeof _764==='function')?new _764(_22,_2):{_163:_371};var _769=new _988(window,_106,_22,_16,_24,_54,_2);var _356=_2.liveHeatmapsV3Enabled?new _990(window,_16,_2,_106,_24,_54,_72,_71):new _979(window,_16,_2,_106,_24,_54,_72,_71);var _768=new _871(window,_106,_16,_24,_54,_2,_72);var _48=_301?new _765(window,Math,_22,_2,_16,_24,_54,_72,_324,_71,_116,_187,_423,_5,_497,_286,_119,_112):null;_119._541();var _51=false;if(_2.privacyToolEnabled){_769._31(_39,_2._46,_2._338,_2._766,_2._495,_2._767,_5)}else if(_2.liveHeatmapsEnabled){var _182;if(_2.taggerToolEnabled){_182=function(_45){_768._31(_5,_39,true,_45)}}_356._31(_2._46,_5,_39,_182)}else if(_2.taggerToolEnabled){_768._31(_5,_39)}else if(_301){_48._264();_51=true}window.mouseflow={start:_51?_48._31:_57,stop:_51?_48._70:function(){if(_2.privacyToolEnabled)_769._70();else if(_2.liveHeatmapsEnabled)_356._70()},newPageView:_51?_48._399:function(_25,_65){_2._467(_25,_65);if(_2.liveHeatmapsEnabled)_356._471()},stopSession:_51?_48._509:_57,getSessionId:_51?_48._883:_156,getPageViewId:_51?_48._885:_156,tag:_51?_48._74:_57,star:_51?_48._493:_57,setVariable:_51?_48._506:_57,identify:_51?_48._528:_57,formSubmitAttempt:_51?_48._552:_57,formSubmitSuccess:_51?_48._271:_57,formSubmitFailure:_51?_48._353:_57,addFriction:_51?_48._128:_57,isRecording:_51?_48._167:_371,isReturningUser:_51?_48._890:_371,activateFeedback:_51?_48._283:_57,proxyAttachShadow:_51?_48._231:_57,recordingRate:_51?_48._176:_156,version:_51?_48._150:_156,lastUpdate:_51?_48._430:_156,isCreditCard:_51?_48._189:_57,pageNotFound:_51?_48._895:_57,websiteId:_2._46,gdprEnabled:_2.gdprEnabled,updateHeatmap:_356._471,getDisplayUrl:_72._115,config:function(){return arguments.length===1?_2[arguments[0]]:_2._360.apply(_2,arguments)},logConfig:function(){if(_2.debug)console.log(_2)},debug:function(){_2.debug=!_2.debug;console.log('MF: Debugging '+(_2.debug?'enabled':'disabled'))},createTreeMirrorClient:_301?_48._364:_57,deleteTreeMirrorClient:_301?_48._472:_57,addCustomEvent:_301?_48._539:_57,exclude:function(selector){if(!_2._338.includes(selector))_2._338.push(selector)}};if(_2.enableSpa)_497.proxyPushState(window.mouseflow.newPageView);if(!_51)_119._31()})()}