/** * HubSpot Analytics Tracking Code Build Number 1.1194 * Copyright 2024 HubSpot, Inc. http://www.hubspot.com */ /************************************************************ * NOTICE - This script is generic and not portal specific. * ************************************************************/ var _hsq = _hsq || []; _hsq.push(['setTrackingDomain', 'track.hubspot.com']); /** _anon_wrapper_ **/ (function() { /*! For license information please see hsa-prod.js.LICENSE.txt */ (hstc=hstc||{}).JS_VERSION=1.1;hstc.ANALYTICS_HOST="track.hubspot.com";(hstc=hstc||{}).Math={uuid:function(){if(window.navigator.userAgent.indexOf("googleweblight")>-1)return hstc.Math._mathRandomUuid();var t=window.crypto||window.msCrypto;return void 0!==t&&void 0!==t.getRandomValues&&void 0!==window.Uint16Array?hstc.Math._cryptoUuid():hstc.Math._mathRandomUuid()},_mathRandomUuid:function(){var t=(new Date).getTime();return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var i=(t+16*Math.random())%16|0;t=Math.floor(t/16);return("x"===e?i:3&i|8).toString(16)}))},_cryptoUuid:function(){var t=window.crypto||window.msCrypto,e=new Uint16Array(8);t.getRandomValues(e);var i=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return i(e[0])+i(e[1])+i(e[2])+i(e[3])+i(e[4])+i(e[5])+i(e[6])+i(e[7])}};Math.uuid=Math.uuid||function(){hstc.utils.logError(new Error("Attempt to use Math.uuid()"));return hstc.Math.uuid()};(hstc=hstc||{}).debug=!1;hstc.log=function(){try{var t=new hstc.cookies.Cookie,e="hs_dbg",i=document.location.hash.indexOf("#hsdbg")>-1;if(hstc.debug||i||"1"===t.get(e)){var n=window.console;n&&"function"==typeof n.log&&n.log.apply(n,arguments);if(document.location.hash.indexOf("#hsdbg")>-1){hstc.__logs=hstc.__logs||[];hstc.__logs.push.apply(hstc.__logs,arguments)}t.set(e,1)}}catch(t){}};(hstc=hstc||{}).global={};hstc.global.Context=function(t,e,i,n,r,s,o){this.doc=t||document;this.nav=e||navigator;this.scr=i||screen;this.win=n||window;this.loc=r||this.win.location;this.top=s||top;this.parent=o||parent};hstc.global.Context.prototype.getDocument=function(){return this.doc};hstc.global.Context.prototype.getNavigator=function(){return this.nav};hstc.global.Context.prototype.getScreen=function(){return this.scr};hstc.global.Context.prototype.getWindow=function(){return this.win};hstc.global.Context.prototype.getLocation=function(){return this.loc};hstc.global.Context.prototype.getHostName=function(){try{return this.loc.hostname}catch(t){return this.doc.domain}};hstc.global.Context.prototype.getPathName=function(){return this.loc.pathname};hstc.global.Context.prototype.getTop=function(){return this.top};hstc.global.Context.prototype.getParent=function(){return this.parent};hstc.global.Context.prototype.getReferrer=function(){var t="";try{t=this.top.document.referrer}catch(e){if(parent)try{t=this.parent.document.referrer}catch(e){t=""}}""===t&&(t=this.doc.referrer);return t};hstc.global.Context.prototype.getCharacterSet=function(){return this.doc.characterSet?this.doc.characterSet:this.doc.charset?this.doc.charset:""};hstc.global.Context.prototype.getLanguage=function(){return this.nav.language?this.nav.language:this.nav.browserLanguage?this.nav.browserLanguage:""};hstc.global.Context.prototype.getOrigin=function(){return this.loc.origin?this.loc.origin:this.loc.protocol+"//"+this.getHostName()+(this.loc.port?":"+this.loc.port:"")};hstc.global.Context.prototype.getCurrentHref=function(t){return t?this.getOrigin().toLowerCase()+t.toLowerCase():this.loc.href.toLowerCase()};(hstc=hstc||{}).utils={};hstc.utils.tostr=Object.prototype.toString;hstc.utils.getNextWeekStart=function(t){var e=t||new Date,i=e.getDay(),n=e.getDate()+(0==i?7:7-i);return hstc.utils.clearTimePart(new Date(e.setDate(n)))};hstc.utils.getNextMonthStart=function(t){for(var e=t||new Date,i=e.getMonth();i==e.getMonth();){0;e.setDate(e.getDate()+1)}return hstc.utils.clearTimePart(e)};hstc.utils.clearTimePart=function(t){t.setHours(0);t.setMinutes(0);t.setSeconds(0);t.setMilliseconds(0);return t};hstc.utils.truncateString=function(t,e){return t?t.length>e?t.substr(0,e):t:""};hstc.utils.search2dArray=function(t,e,i,n){for(var r=0;r=0;i--){var n=t.charCodeAt(i);e=0!==(n=266338304&(e=(e<<6&268435455)+n+(n<<14)))?e^n>>21:e}return e};hstc.utils.extractDomain=function(t){var e=t.split(".");e.length>2&&(e=e.slice(1));return"."+e.join(".")};hstc.utils.createElement=function(t){var e=document.createDocumentFragment(),i=document.createElement("div");i.innerHTML=t;for(;i.firstChild;)e.appendChild(i.firstChild);return e};sanitizeKey=function(t){return t&&["__proto__","constructor","prototype"].indexOf(t.toLowerCase())>-1?t.toUpperCase():t};hstc.utils.deparam=function(t,e){var i=Object.create(null),n={true:!0,false:!1,null:null};t=hstc.utils.trim(hstc.utils.safeString(t));(hstc.utils.startsWith(t,"?")||hstc.utils.startsWith(t,"#"))&&(t=t.slice(1));hstc.utils.each(t.split("+").join(" ").split("&"),(function(t,r){var s,o=r.split("="),c=hstc.utils.decodeParam(o[0]),a=i,h=0,u=c.split("]["),l=u.length-1;if(/\[/.test(u[0])&&/\]$/.test(u[l])){u[l]=u[l].replace(/\]$/,"");l=(u=u.shift().split("[").concat(u)).length-1}else l=0;if(2===o.length){s=hstc.utils.decodeParam(o[1]);e&&(s=s&&!isNaN(s)?+s:"undefined"===s?void 0:void 0!==n[s]?n[s]:s);if(l)for(;h<=l;h++){c=""===u[h]?a.length:u[h];a=a[c=sanitizeKey(c)]=h=0&&t.lastIndexOf(e)===i};hstc.utils.mergeObject=function(t,e){t=t||{};if(!e)return e;for(var i in e)t[i]=e[i];return t};hstc.utils.hasClass=function(t,e){if(t&&t.className)return hstc.utils.inArray(e,t.className.split(" "))>-1};hstc.utils.stripNumericBrackets=function(t){return(t||"").replace(/(^.+?)\[(.+?)\]/,"$1_$2")};hstc.utils.parseCurrency=function(t,e){if("number"==typeof t)return t;var i=t.match(/([^\d]*)([\d\.,]+)([^\d\.,]*)/);if(i){var n,r=i[2],s=r.split("."),o=r.split(",");n=s.length>2||2==s.length&&s[1].length>2&&(0===o.length||s[0].length1){decimalPart=n.pop();c=n.join("")}else c=n.join("");c=c.replace(/[\.,]/g,"");var a=parseInt(c);decimalPart&&(a+=parseFloat(decimalPart)/Math.pow(10,decimalPart.length));return a}return null};hstc.utils.logError=function(t,e){e=e||"";var i={w:hstc.utils.utcnow(),m:t.message||t.toString?t.toString():"-",j:hstc.JS_VERSION};t.name&&(i.n=t.name);t.fileName&&(i.f=t.fileName);t.lineNumber&&(i.l=t.lineNumber);try{i.x=t.stack||t.stacktrace||""}catch(t){}hstc.log("Encountered a JS error");hstc.log(i);var n="https://"+(e||hstc.ANALYTICS_HOST)+"/__pto.gif?";hstc.utils.loadImage(n+hstc.utils.param(i))};hstc.utils.objectsAreEqual=function(t,e){return eq(t,e,[])};hstc.utils.eq=function(t,e,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t._chain&&(t=t._wrapped);e._chain&&(e=e._wrapped);if(t.isEqual&&_.isFunction(t.isEqual))return t.isEqual(e);if(e.isEqual&&_.isFunction(e.isEqual))return e.isEqual(t);var n=toString.call(t);if(n!=toString.call(e))return!1;switch(n){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var r=i.length;r--;)if(i[r]==t)return!0;i.push(t);var s=0,o=!0;if("[object Array]"==n){if(o=(s=t.length)==e.length)for(;s--&&(o=s in t==s in e&&eq(t[s],e[s],i)););}else{if("constructor"in t!="constructor"in e||t.constructor!=e.constructor)return!1;for(var c in t)if(_.has(t,c)){s++;if(!(o=_.has(e,c)&&eq(t[c],e[c],i)))break}if(o){for(c in e)if(_.has(e,c)&&!s--)break;o=!s}}i.pop();return o};hstc.utils.checkHashedDomain=function(t,e,i=!0){return 0==t.length||-1==t.substring(1).indexOf(".")?"":0!=t.indexOf(".")&&hstc.utils.inArray(""+this.hashString("."+t),e)>-1?"."+t:hstc.utils.inArray(""+this.hashString(t),e)>-1?t:this.checkHashedDomain(t.substring(t.substring(1).indexOf(".")+(i?1:2)),e)};hstc.utils.isValidHubUrl=function(t){return/^https:\/\/(app|local)(-[a-z]{2}[0-9]{1})?\.hubspot(qa)?\.com\/?$/.test(t)};(hstc=hstc||{}).cookies={};hstc.cookies.Cookie=function(t){this.context=t||new hstc.global.Context;this.currentDomain=null;this.domains=[];this.hashedDomains=[];this.secureCookie=!1};hstc.cookies.Cookie.prototype.addDomain=function(t){this.addHashedDomain(t)};hstc.cookies.Cookie.prototype.addHashedDomain=function(t){-1!=t.indexOf(".")&&(t=""+hstc.utils.hashString(t));var e=hstc.utils.checkHashedDomain(this.context.getHostName(),t.split(),!1);e.length>0&&(!this.currentDomain||e.length0)){n=i.expires+i.path+i.sameSite+i.secure;this._writeCookie(t+"="+e+n)}};hstc.cookies.Cookie.prototype._writeCookie=function(t){this.context.getDocument().cookie=t};hstc.cookies.Cookie.prototype.get=function(t){var e=new RegExp("(^|;)[ ]*"+t+"=([^;]*)").exec(this.context.getDocument().cookie);return e?hstc.utils.decodeParam(e[2],!0):""};hstc.cookies.Cookie.prototype.has=function(){return hstc.utils.isDefined(this.context.getNavigator().cookieEnabled)||"cookie"in this.context.getDocument()&&this.context.getDocument().cookie.length>0};hstc.cookies.Cookie.prototype.remove=function(t){this.set(t,"",{expiryDate:"1970-01-01T00:00:01-00:00"})};hstc.cookies.Cookie.prototype.setCookiesToSubdomain=function(t){this.cookiesToSubdomain=t};hstc.cookies.Cookie.prototype.getCookiesToSubdomain=function(){return this.cookiesToSubdomain};hstc.cookies.Cookie.prototype.setSecureCookie=function(){this.secureCookie=!0};(hstc=hstc||{}).identities={};hstc.identities.Identity=function(t){this.raw=t};hstc.identities.Identity.prototype.get=function(){return this.raw};hstc.identities.Identity.prototype.equals=function(t){return hstc.utils.objectsAreEqual(this,t)};hstc.identities.Identity.prototype.merge=function(t){this.raw=hstc.utils.mergeObject(this.raw,t)};(hstc=hstc||{}).browser=function(t){var e=(t=t||new hstc.global.Context).getNavigator(),i=e.userAgent.toLowerCase(),n={init:function(){this.browser=this.searchString(this.dataBrowser)||"";this.version=this.searchVersion(e.userAgent)||this.searchVersion(e.appVersion)||"";this.OS=this.searchString(this.dataOS)||""},searchString:function(t){for(var e=0;e0}))}))}};hstc.tracking.Tracker.prototype.handleSearchLink=function(t){var e=this;e._enqueueConsentListener((function(){e.handleLink(t,null,!0)}))};hstc.tracking.Tracker.prototype.handleSearchLinks=function(){var t=this;t._manageCookies();var e=new RegExp("(/_hcms/analytics/search/conversion|/_hcms/analytics/search/request)");t._enqueueConsentListener((function(){t._iterateLinks((function(t){return t.href.match(e)}))}))};hstc.tracking.Tracker.prototype._iterateLinks=function(t){var e=this;hstc.utils.each(hstc.find("a"),(function(i,n){if(e.utk&&e.utk.visitor)try{if(t(n))try{n.href=e.handleLink(n.href,n.target,!0)}catch(t){n&&n.href&&hstc.utils.logError("Unable to modify link to "+n.href,e._determineTrackingDomain())}}catch(t){hstc.log("Can't modify link.")}}))};hstc.tracking.Tracker.prototype.handleLink=function(t,e,i){var n=t,r=this._getFingerprint();if(null!==r){n=hstc.utils.updateQueryStringParameter(n,"__hstc",this.utk.get());n=hstc.utils.updateQueryStringParameter(n,"__hssc",this.session.get());n=hstc.utils.updateQueryStringParameter(n,"__hsfp",r)}if(i)return n;this.context.getWindow().open(n,e||"_self")};hstc.tracking.Tracker.prototype.identify=function(t,e){e||this._manageCookies();t instanceof Array||"object"!=typeof t?this.logError("Function identify was not called with a supported object: <"+t+">",this._determineTrackingDomain()):this.identity?this.identity.merge(t):this.identity=new hstc.identities.Identity(t)};hstc.tracking.Tracker.prototype.trackPageView=function(){this._manageCookies();var t={k:1};this._loadImage(t)};hstc.tracking.Tracker.prototype.trackConversion=function(t,e){this._manageCookies();if("string"==typeof t||"number"==typeof t){t={id:hstc.utils.safeString(t)};hstc.utils.isDefined(e)&&(t=hstc.utils.mergeObject(t,e))}hstc.utils.isFunction(t.value)&&(t.value=t.value(hstc));var i=hstc.utils.mergeObject(t,{k:3,n:hstc.utils.safeString(t.id),m:hstc.utils.safeString(t.value)});this._loadImage(i)};hstc.tracking.Tracker.prototype.trackEvent=hstc.tracking.Tracker.prototype.trackConversion;hstc.tracking.Tracker.prototype.trackClick=function(t,e,i){var n=this,r={selector:t,eventId:e,opts:i=i||{},handler:function(t){try{if(hstc.utils.isDefined(n.portalId)){var r=t&&t.target||{},s={hs_element_text:(r.innerText||r.value||"").trim(),hs_link_href:r.href,hs_element_id:r.id,hs_element_class:r.className,hs_tracking_config_id:i.trackingConfigId};r&&!hstc.utils.isEmpty(r)&&n.getParentNodeModuleId(r)&&(s.hs_parent_module_id=n.getParentNodeModuleId(r));if(hstc.utils.startsWith(e,"pe"+n.portalId+"_"))n.trackCustomBehavioralEvent({name:e,properties:s});else if(n._hasAutocaptureClicks()&&hstc.utils.startsWith(e,"autocaptureClick")){var o=hstc.utils.mergeObject(s,{hs_mouse_x_coordinate:t.clientX,hs_mouse_y_coordinate:t.clientY,hs_scroll_x_coordinate:window.scrollX,hs_scroll_y_coordinate:window.scrollY,hs_viewport_width:document.documentElement.clientWidth,hs_viewport_height:document.documentElement.clientHeight});n.trackClickEvent({properties:o})}}hstc.utils.isDefined(n.portalId)&&(hstc.utils.startsWith(e,"pe"+n.portalId+"_")||hstc.utils.startsWith(e,"autocaptureClick"))||n.trackEvent(e,i)}catch(t){hstc.utils.logError(t,n._determineTrackingDomain())}}};this.clickSelectors.push(r);this._resetClickHandler(r)};hstc.tracking.Tracker.prototype._resetClickHandler=function(t){var e="data-hs-event-"+hstc.utils.hashString(t.eventId),i=!t.opts.url||this.urlMatches(t.opts.url);try{hstc.utils.each(hstc.find(t.selector),(function(n,r){var s="1"==r.getAttribute(e);if(s&&!i){hstc.utils.removeEventListener(r,"mousedown",t.handler);r.removeAttribute(e)}else if(!s&&i){hstc.utils.addEventListener(r,"mousedown",t.handler);r.setAttribute(e,"1")}}))}catch(e){hstc.log("Bad selector for "+this.portalId+": "+t.selector+", for event "+t.eventId)}};hstc.tracking.Tracker.prototype.trackFormView=function(t,e,i){this._trackFormActivity(15,t,e,i)};hstc.tracking.Tracker.prototype.trackFormInstall=function(t,e,i){this._trackFormActivity(16,t,e,i)};hstc.tracking.Tracker.prototype.trackFormVisible=function(t,e,i){this._trackFormActivity(17,t,e,i)};hstc.tracking.Tracker.prototype.trackFormInteraction=function(t,e,i){this._trackFormActivity(18,t,e,i)};hstc.tracking.Tracker.prototype.trackFormCompletion=function(t,e,i){this._trackFormActivity(19,t,e,i)};hstc.tracking.Tracker.prototype._trackFormActivity=function(t,e,i,n){if("object"==typeof i){n=i;i=""}n=n||{};var r={k:t,fi:hstc.utils.safeString(e)};hstc.utils.isEmpty(i)||(r.fci=i);hstc.utils.isEmpty(n.formVariantId)&&hstc.utils.isEmpty(n.fvi)||(r.fvi=n.formVariantId||n.fvi);hstc.utils.isEmpty(n.leadFlowId)&&hstc.utils.isEmpty(n.lfi)||(r.lfi=n.leadFlowId||n.lfi);hstc.utils.isEmpty(n.formType)&&0!==n.formType||(r.ft=n.formType);this._loadImage(r)};hstc.tracking.Tracker.prototype.trackFeedbackView=function(t){t=t||{};var e={k:26,st:hstc.utils.safeString(t.surveyType),si:hstc.utils.safeString(t.surveyId)};this._loadImage(e)};hstc.tracking.Tracker.prototype.trackCtaView=function(t,e){var i={k:12,aij:'["'+hstc.utils.safeString(t)+'","'+hstc.utils.safeString(e)+'"]',rfc:8};this._loadImage(i)};hstc.tracking.Tracker.prototype.trackAudioPlay=function(t){var e={k:33};(t=t||{}).fileId&&(e.afi=t.fileId);t.episodeId&&(e.aei=t.episodeId);t.showId&&(e.asi=t.showId);hstc.utils.isEmpty(t.moduleType)||(e.amt=t.moduleType);"number"==typeof t.duration&&(e.ad=t.duration);hstc.utils.isEmpty(t.playSessionId)||(e.aps=t.playSessionId);hstc.utils.isEmpty(t.eventPhase)||(e.aep=t.eventPhase);this._loadImage(e)};hstc.tracking.Tracker.prototype.doNotTrack=function(t){t&&t.track?this.cookie.remove(hstc.tracking.Tracker.DO_NOT_TRACK):this.cookie.set(hstc.tracking.Tracker.DO_NOT_TRACK,"yes",{daysToExpire:hstc.tracking.Tracker.DO_NOT_TRACK_EXPIRATION})};hstc.tracking.Tracker.prototype.autocaptureClicks=function(){this.trackClick('input[type="button"], button, a',"autocaptureClick")};hstc.tracking.Tracker.prototype.urlMatches=function(t,e){e||(e=this.context.getCurrentHref(this.path));if(e==(t=t.toLowerCase()))return!0;if(-1===t.indexOf("?")){var i=e.indexOf("?");-1!==i&&(e=e.substring(0,i))}if(-1==t.indexOf("*"))return(t=t.replace(/\/$/,""))==(e=e.replace(/\/$/,""))||0===t.indexOf("/")&&hstc.utils.removeDomain(e)==t;if(t==e)return!0;if(0===t.length)return!1;var n=new RegExp("[.+?|()\\[\\]{}\\\\]","g");regex=t.replace(n,"\\$&").replace(new RegExp("\\*","g"),"(.*?)");regex=/\/$/.test(regex)?"^"+regex+"$":"^"+regex+"/?$";regex=new RegExp(regex,"i");if(regex.test(e))return!0;if(0===t.indexOf("/")){e="/"+e.split("//")[1].split("/").splice(1).join("/");return regex.test(e)}return!1};hstc.tracking.Tracker.prototype.resetVisitorIdentity=function(){this.hasResetVisitor=!0;this.utk=hstc.tracking.Utk.regenerate(this.cookie);this.session=hstc.tracking.Session.regenerate(this.cookie);this.identity=null;this._manageCookies(this.utk,this.session,!0)};hstc.tracking.Tracker.prototype.resetVisitor=function(){this.resetVisitorIdentity();this.crossDomainLinkingEnabled&&this.enableAutomaticLinker();this.handleSearchLinks()};hstc.tracking.Tracker.prototype._manageCookies=function(t,e,i){var n=this;if(!this.managedCookies||i){var r=hstc.tracking.Utk.parse(this.cookie),s=hstc.tracking.Session.parse(this.cookie);if(!this.hasResetVisitor){this._extractIdentitiesFromQueryString(r,s);this._extractUtkOverride(r)}this.utk||(this.utk=t||r);this.session||(this.session=e||s);this.session.isNew()&&!i?this.utk.isNew()||this.utk.rotate(this.session.start):i||this.session.increment();this.context.getWindow().__hsUserToken||(this.context.getWindow().__hsUserToken=this.utk.visitor);this._enqueueConsentListener((function(){n.utk.save(n.privacySettings,n.privacyConsent);n.session.save()}));for(var o=0;o{e[t]=i[t]||""}));t.i=hstc.utils.param(e)}else hstc.utils.logError("Identity is not a supported object: <"+i+">",this._determineTrackingDomain())}this.hasResetVisitor&&(t.rv=1);if(this.utk){t.vi=this.utk.visitor;t.nc=this.utk.isNew()}var n=this.cookie.get(hstc.tracking.Utk.COOKIE);hstc.utils.isEmpty(n)||(t.u=n);var r=this.cookie.get(hstc.tracking.Session.COOKIE);hstc.utils.isEmpty(r)||(t.b=r);this.privacyConsent&&this.privacyConsent.allowed||(t.ce=!1);return t};hstc.tracking.Tracker.prototype._getPageInfo=function(){var t={};t.v=hstc.JS_VERSION;t.a=this.portalId;hstc.utils.isEmpty(this.pageId)||(t.pi=this.pageId);hstc.utils.isEmpty(this.contentType)||(t.ct=this.contentType);hstc.utils.isEmpty(this.canonicalUrl)||(t.ccu=this.canonicalUrl);hstc.utils.isEmpty(this.path)||(t.po=this.path);hstc.utils.isEmpty(this.referrerPath)||(t.rpo=this.referrerPath);hstc.utils.isEmpty(this.canonicalUrl)&&!hstc.utils.isEmpty(this.relCanonicalUrl)&&(t.rcu=this.relCanonicalUrl);if(!hstc.utils.isEmpty(this.contentMetadata)){var e=this.contentMetadata;hstc.utils.isEmpty(e.contentPageId)||(t.cpi=e.contentPageId);hstc.utils.isEmpty(e.contentGroupId)||(t.cgi=e.contentGroupId);hstc.utils.isEmpty(e.contentFolderId)||(t.cfi=e.contentFolderId);hstc.utils.isEmpty(e.legacyPageId)||(t.lpi=e.legacyPageId);hstc.utils.isEmpty(e.abTestId)||(t.abi=e.abTestId);hstc.utils.isEmpty(e.languageVariantId)||(t.lvi=e.languageVariantId);hstc.utils.isEmpty(e.languageCode)||(t.lvc=e.languageCode);if(!hstc.utils.isEmpty(e.mabData)&&!hstc.utils.isEmpty(e.mabData.correlationId)&&!hstc.utils.isEmpty(e.mabData.experimentId)){t.mabci=e.mabData.correlationId;t.mabei=e.mabData.experimentId}hstc.utils.isEmpty(e.scpContentType)||(t.scpct=e.scpContentType)}if(hstc.utils.isArray(this.targetedContentMetadata)&&this.targetedContentMetadata.length){for(var i=[],n=Math.min(this.targetedContentMetadata.length,5),r=0;r{this.refreshPageHandlers()})):window.hsCallsToActionsReady=window.hsCallsToActionsReady||[()=>{window.HubSpotCallsToActions.on("onCallToActionReplacedInlineHTML",(()=>{this.refreshPageHandlers()}))}]};hstc.tracking.Utk=function(t,e,i,n,r,s,o,c,a){this.context=t?t.context:new hstc.global.Context;this.cookie=t||new hstc.cookies.Cookie(this.context);this.rawDomain=this.cookie.currentDomain||hstc.utils.extractDomain(this.context.getHostName());this.domain=e&&!c?e:hstc.utils.hashString(this.rawDomain);this.visitor=i?i.toLowerCase():hstc.Math.uuid();this.initial=n||hstc.utils.utcnow();this.previous=r||hstc.utils.utcnow();this.current=s||hstc.utils.utcnow();this.session=o||1;this.recovered=c;this.returningVisitor=a};hstc.tracking.Utk.COOKIE="__hstc";hstc.tracking.Utk.LEGACY_COOKIE="hubspotutk";hstc.tracking.Utk.EXPIRATION=180;hstc.tracking.Utk.EXPIRATION_START=15444e8;hstc.tracking.Utk.parse=function(t,e,i){var n=t?t.context:new hstc.global.Context;t=t||new hstc.cookies.Cookie(n);var r=!e;e=e||t.get(hstc.tracking.Utk.COOKIE);try{var s=e.split(".");if(6==s.length&&s[1].length>0){s[5]=parseInt(s[5],10);return new hstc.tracking.Utk(t,s[0],s[1],s[2],s[3],s[4],s[5],r,!0)}if(1==s.length&&s[0].length>0)return new hstc.tracking.Utk(t,null,s[0],null,null,null,null,!i,!1)}catch(t){}return hstc.tracking.Utk.regenerate(t)};hstc.tracking.Utk.regenerate=function(t){return new hstc.tracking.Utk(t)};hstc.tracking.Utk.prototype.isNew=function(){return!this.returningVisitor};hstc.tracking.Utk.prototype.rotate=function(t){this.previous=this.current||t;this.current=t;this.session+=1};hstc.tracking.Utk.prototype.get=function(){return[this.domain,this.visitor,this.initial,this.previous,this.current,this.session].join(".")};hstc.tracking.Utk.prototype.save=function(t,e){var i=t&&1==t.active&&("OPT_IN"==t.mode||"COOKIES_BY_CATEGORY"==t.mode)&&0==t.hideDecline,n=e&&1==e.allowed;if(!this.isNew()&&i){if(n){var r=hstc.tracking.Utk.EXPIRATION-Math.floor((hstc.utils.utcnow()-this.initial)/864e5);this.cookie.set(hstc.tracking.Utk.COOKIE,this.get(),{daysToExpire:r});this.cookie.set(hstc.tracking.Utk.LEGACY_COOKIE,this.visitor,{daysToExpire:r})}}else{this.cookie.set(hstc.tracking.Utk.COOKIE,this.get(),{daysToExpire:hstc.tracking.Utk.EXPIRATION});this.cookie.set(hstc.tracking.Utk.LEGACY_COOKIE,this.visitor,{daysToExpire:hstc.tracking.Utk.EXPIRATION})}};hstc.tracking.Utk.prototype.removeCookies=function(t){this.cookie.remove(hstc.tracking.Utk.COOKIE);this.cookie.remove(hstc.tracking.Utk.LEGACY_COOKIE)};hstc.tracking.Utk.prototype.resetDomain=function(){this.domain=hstc.utils.hashString(this.rawDomain)};hstc.tracking.Session=function(t,e,i,n,r){this.context=t?t.context:new hstc.global.Context;this.cookie=t||new hstc.cookies.Cookie(this.context);this.rawDomain=this.cookie.currentDomain||hstc.utils.extractDomain(this.context.getHostName());this.domain=e&&!r?e:hstc.utils.hashString(this.rawDomain);this.viewCount=i||1;this.start=n||hstc.utils.utcnow();this.recovered=r};hstc.tracking.Session.COOKIE="__hssc";hstc.tracking.Session.RESTART_COOKIE="__hssrc";hstc.tracking.Session.prototype.isNew=function(){return!0!==this.recovered};hstc.tracking.Session.parse=function(t,e){var i=t?t.context:new hstc.global.Context;t=t||new hstc.cookies.Cookie(i);var n=!e;if(e||"1"===t.get(hstc.tracking.Session.RESTART_COOKIE)){e=e||t.get(hstc.tracking.Session.COOKIE);try{var r=e.split(".");if(3==r.length)return new hstc.tracking.Session(t,r[0],r[1],r[2],n)}catch(t){}}return hstc.tracking.Session.regenerate(t)};hstc.tracking.Session.regenerate=function(t){return new hstc.tracking.Session(t)};hstc.tracking.Session.prototype.increment=function(){try{this.viewCount=parseInt(this.viewCount||1,10)+1}catch(t){this.viewCount=1}};hstc.tracking.Session.prototype.get=function(){return[this.domain,this.viewCount,this.start].join(".")};hstc.tracking.Session.prototype.save=function(){this.cookie.set(hstc.tracking.Session.RESTART_COOKIE,"1");this.cookie.set(hstc.tracking.Session.COOKIE,this.get(),{minsToExpire:30})};hstc.tracking.Session.prototype.removeCookies=function(){this.cookie.remove(hstc.tracking.Session.RESTART_COOKIE);this.cookie.remove(hstc.tracking.Session.COOKIE)};hstc.tracking.Session.prototype.merge=function(t){t.start&&t.start-1&&hstc.utils.addEventListener(this.context.getWindow(),"message",function(t){"hsAnalyticsDiag"===t.data&&t.source&&t.source.postMessage&&hstc.utils.isValidHubUrl(t.origin)&&t.source.postMessage(this.getPageDiagnostics(),t.origin)}.bind(this))};hstc.tracking.Tracker.prototype.getParentNodeModuleId=function(t){for(var e="";t&&!e.includes("hs_cos_wrapper_");)e=(t=t.parentElement)&&t.id?t.id:"";return e&&e.replace(/^hs_cos_wrapper_|_$/g,"")};hstc.tracking.Tracker.prototype.initEventVisualizerScript=function(){const t="eventVisualizerIsLocal",e="hubspotEventVisualizeMode",i="true",n="hs-events-builder",r=this.context.getReferrer(),s="hsExchangeCredentials";try{const o=localStorage.getItem(e)===i,c=localStorage.getItem(t)===i,a=()=>{if(!document.getElementById(n)){const t=document.createElement("script"),e=/^https:\/\/js(-?[a-z0-9]*)\.([a-z0-9-]+)\./i,i=this.currentScriptUrl.match(e);if(i){const e=i[1]||"",r=c?"local":"app",s="hs-analytics"===i[2]?"hubspot":"hubspotqa";t.id=n;t.src=`https://${r}${e}.${s}.com/events-visualizer.js`;t.async=!0;document.body.appendChild(t)}}};this.eventBuilderMessageHandler=t=>{const{data:e,origin:i}=t,{message:n}=e;(hstc.utils.isValidHubUrl(i)||c)&&n===s&&a()};window.addEventListener("message",this.eventBuilderMessageHandler);(hstc.utils.isValidHubUrl(r)||o)&&a()}catch(t){hstc.utils.logError(t,this._determineTrackingDomain())}};hstc.tracking.Tracker.prototype.logError=function(t,e){hstc.utils.logError(t,e)};(hstc=hstc||{}).tracking=hstc.tracking||{};hstc.tracking.Runner=function(t,e){this.context=t||new hstc.global.Context;this.cookie=e||new hstc.cookies.Cookie(this.context);this.tracker=new hstc.tracking.Tracker(this.context,this.cookie)};hstc.tracking.Runner.hsqParam="_hsq";hstc.tracking.Runner.ranParam="_hstc_ran";hstc.tracking.Runner.priorityFunctions=["setPortalId","setCanonicalUrl","setPath","setContentType","setContentMetadata","setPageId","setTargetedContentMetadata","identify","setDebugMode","setLimitTrackingToCookieDomains","setTrackingEnabled","doNotTrack"];hstc.tracking.Runner.prototype.run=function(){var t=this.context.getWindow();if(!t[hstc.tracking.Runner.ranParam]){t[hstc.tracking.Runner.ranParam]=!0;var e=this.tracker;this.setUpHsq(i);this.processHsq(i)}function i(t){try{if("function"==typeof t)t(e,hstc);else if(t&&hstc.utils.isArray(t)&&e[t[0]])return e[t[0]].apply(e,t.slice(1))}catch(t){hstc.utils.logError(t)}}};hstc.tracking.Runner.prototype.setUpHsq=function(t){var e=this.context.getWindow(),i=e[hstc.tracking.Runner.hsqParam]=e[hstc.tracking.Runner.hsqParam]||[];hstc.utils.isArray(i)||(i=e[hstc.tracking.Runner.hsqParam]=[]);i.push=t};hstc.tracking.Runner.prototype.processHsq=function(t){var e=this.context.getWindow()[hstc.tracking.Runner.hsqParam];hstc.utils.search2dArray(e,1,["setTrackingDomain","setCookiesToSubdomain"],t);hstc.utils.search2dArray(e,1,["addHashedCookieDomain","enableSecureCookie","setTrackingGate"],t);this.tracker._initialize();hstc.utils.search2dArray(e,1,hstc.tracking.Runner.priorityFunctions,t);hstc.utils.search2dArray(e,1,["trackPageView"],t);for(;e.length;)t(e.shift())};!function(t){var e,i,n,r,s,o,c,a,h,u,l,p,g,f,d,k,m,y="sizzle"+-new Date,v=t.document,C=0,T=0,_=rt(),w=rt(),x=rt(),b=!1,S=function(t,e){if(t===e){b=!0;return 0}return 0},E="undefined",I=1<<31,D={}.hasOwnProperty,A=[],L=A.pop,O=A.push,N=A.push,P=A.slice,R=A.indexOf||function(t){for(var e=0,i=this.length;e+~]|"+M+")"+M+"*"),$=new RegExp(M+"*[+~]"),W=new RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),G=new RegExp(F),z=new RegExp("^"+q+"$"),Y={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+U+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,tt=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),it=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{N.apply(A=P.call(v.childNodes),v.childNodes);A[v.childNodes.length].nodeType}catch(t){N={apply:A.length?function(t,e){O.apply(t,P.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function nt(t,e,n,r){var s,o,c,a,h,p,d,k,C,T;(e?e.ownerDocument||e:v)!==l&&u(e);n=n||[];if(!t||"string"!=typeof t)return n;if(1!==(a=(e=e||l).nodeType)&&9!==a)return[];if(g&&!r){if(s=Q.exec(t))if(c=s[1]){if(9===a){if(!(o=e.getElementById(c))||!o.parentNode)return n;if(o.id===c){n.push(o);return n}}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(c))&&m(e,o)&&o.id===c){n.push(o);return n}}else{if(s[2]){N.apply(n,e.getElementsByTagName(t));return n}if((c=s[3])&&i.getElementsByClassName&&e.getElementsByClassName){N.apply(n,e.getElementsByClassName(c));return n}}if(i.qsa&&(!f||!f.test(t))){k=d=y;C=e;T=9===a&&t;if(1===a&&"object"!==e.nodeName.toLowerCase()){p=gt(t);(d=e.getAttribute("id"))?k=d.replace(tt,"\\$&"):e.setAttribute("id",k);k="[id='"+k+"'] ";h=p.length;for(;h--;)p[h]=k+ft(p[h]);C=$.test(t)&&e.parentNode||e;T=p.join(",")}if(T)try{N.apply(n,C.querySelectorAll(T));return n}catch(t){}finally{d||e.removeAttribute("id")}}}return _t(t.replace(B,"$1"),e,n,r)}function rt(){var t=[];function e(i,n){t.push(i+=" ")>r.cacheLength&&delete e[t.shift()];return e[i]=n}return e}function st(t){t[y]=!0;return t}function ot(t){var e=l.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e);e=null}}function ct(t,e){for(var i=t.split("|"),n=t.length;n--;)r.attrHandle[i[n]]=e}function at(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||I)-(~t.sourceIndex||I);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ht(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ut(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function lt(t){return st((function(e){e=+e;return st((function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))}))}))}o=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName};i=nt.support={};u=nt.setDocument=function(t){var e=t?t.ownerDocument||t:v,n=e.defaultView;if(e===l||9!==e.nodeType||!e.documentElement)return l;l=e;p=e.documentElement;g=!o(e);n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",(function(){u()}));i.attributes=ot((function(t){t.className="i";return!t.getAttribute("className")}));i.getElementsByTagName=ot((function(t){t.appendChild(e.createComment(""));return!t.getElementsByTagName("*").length}));i.getElementsByClassName=ot((function(t){t.innerHTML="
";t.firstChild.className="i";return 2===t.getElementsByClassName("i").length}));i.getById=ot((function(t){p.appendChild(t).id=y;return!e.getElementsByName||!e.getElementsByName(y).length}));if(i.getById){r.find.ID=function(t,e){if(typeof e.getElementById!==E&&g){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}};r.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}}}else{delete r.find.ID;r.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i=typeof t.getAttributeNode!==E&&t.getAttributeNode("id");return i&&i.value===e}}}r.find.TAG=i.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==E)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s};r.find.CLASS=i.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==E&&g)return e.getElementsByClassName(t)};d=[];f=[];if(i.qsa=X.test(e.querySelectorAll)){ot((function(t){t.innerHTML="";t.querySelectorAll("[selected]").length||f.push("\\["+M+"*(?:value|"+U+")");t.querySelectorAll(":checked").length||f.push(":checked")}));ot((function(t){var i=e.createElement("input");i.setAttribute("type","hidden");t.appendChild(i).setAttribute("t","");t.querySelectorAll("[t^='']").length&&f.push("[*^$]="+M+"*(?:''|\"\")");t.querySelectorAll(":enabled").length||f.push(":enabled",":disabled");t.querySelectorAll("*,:x");f.push(",.*:")}))}(i.matchesSelector=X.test(k=p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ot((function(t){i.disconnectedMatch=k.call(t,"div");k.call(t,"[s!='']:x");d.push("!=",F)}));f=f.length&&new RegExp(f.join("|"));d=d.length&&new RegExp(d.join("|"));m=X.test(p.contains)||p.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1};S=p.compareDocumentPosition?function(t,n){if(t===n){b=!0;return 0}var r=n.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(n);return r?1&r||!i.sortDetached&&n.compareDocumentPosition(t)===r?t===e||m(v,t)?-1:n===e||m(v,n)?1:h?R.call(h,t)-R.call(h,n):0:4&r?-1:1:t.compareDocumentPosition?-1:1}:function(t,i){var n,r=0,s=t.parentNode,o=i.parentNode,c=[t],a=[i];if(t===i){b=!0;return 0}if(!s||!o)return t===e?-1:i===e?1:s?-1:o?1:h?R.call(h,t)-R.call(h,i):0;if(s===o)return at(t,i);n=t;for(;n=n.parentNode;)c.unshift(n);n=i;for(;n=n.parentNode;)a.unshift(n);for(;c[r]===a[r];)r++;return r?at(c[r],a[r]):c[r]===v?-1:a[r]===v?1:0};return e};nt.matches=function(t,e){return nt(t,null,null,e)};nt.matchesSelector=function(t,e){(t.ownerDocument||t)!==l&&u(t);e=e.replace(W,"='$1']");if(i.matchesSelector&&g&&(!d||!d.test(e))&&(!f||!f.test(e)))try{var n=k.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return nt(e,l,null,[t]).length>0};nt.contains=function(t,e){(t.ownerDocument||t)!==l&&u(t);return m(t,e)};nt.attr=function(t,e){(t.ownerDocument||t)!==l&&u(t);var n=r.attrHandle[e.toLowerCase()],s=n&&D.call(r.attrHandle,e.toLowerCase())?n(t,e,!g):void 0;return void 0===s?i.attributes||!g?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null:s};nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};nt.uniqueSort=function(t){var e,n=[],r=0,s=0;b=!i.detectDuplicates;h=!i.sortStable&&t.slice(0);t.sort(S);if(b){for(;e=t[s++];)e===t[s]&&(r=n.push(s));for(;r--;)t.splice(n[r],1)}return t};s=nt.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=s(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n];n++)i+=s(e);return i};r=nt.selectors={cacheLength:50,createPseudo:st,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){t[1]=t[1].replace(et,it);t[3]=(t[4]||t[5]||"").replace(et,it);"~="===t[2]&&(t[3]=" "+t[3]+" ");return t.slice(0,4)},CHILD:function(t){t[1]=t[1].toLowerCase();if("nth"===t[1].slice(0,3)){t[3]||nt.error(t[0]);t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3]));t[5]=+(t[7]+t[8]||"odd"===t[3])}else t[3]&&nt.error(t[0]);return t},PSEUDO:function(t){var e,i=!t[5]&&t[2];if(Y.CHILD.test(t[0]))return null;if(t[3]&&void 0!==t[4])t[2]=t[4];else if(i&&G.test(i)&&(e=gt(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)){t[0]=t[0].slice(0,e);t[2]=i.slice(0,e)}return t.slice(0,3)}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&_(t,(function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==E&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=nt.attr(n,t);if(null==r)return"!="===e;if(!e)return!0;r+="";return"="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-")}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),c="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,a){var h,u,l,p,g,f,d=s!==o?"nextSibling":"previousSibling",k=e.parentNode,m=c&&e.nodeName.toLowerCase(),v=!a&&!c;if(k){if(s){for(;d;){l=e;for(;l=l[d];)if(c?l.nodeName.toLowerCase()===m:1===l.nodeType)return!1;f=d="only"===t&&!f&&"nextSibling"}return!0}f=[o?k.firstChild:k.lastChild];if(o&&v){g=(h=(u=k[y]||(k[y]={}))[t]||[])[0]===C&&h[1];p=h[0]===C&&h[2];l=g&&k.childNodes[g];for(;l=++g&&l&&l[d]||(p=g=0)||f.pop();)if(1===l.nodeType&&++p&&l===e){u[t]=[C,g,p];break}}else if(v&&(h=(e[y]||(e[y]={}))[t])&&h[0]===C)p=h[1];else for(;l=++g&&l&&l[d]||(p=g=0)||f.pop();)if((c?l.nodeName.toLowerCase()===m:1===l.nodeType)&&++p){v&&((l[y]||(l[y]={}))[t]=[C,p]);if(l===e)break}return(p-=r)===n||p%n==0&&p/n>=0}}},PSEUDO:function(t,e){var i,n=r.pseudos[t]||r.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);if(n[y])return n(e);if(n.length>1){i=[t,t,"",e];return r.setFilters.hasOwnProperty(t.toLowerCase())?st((function(t,i){for(var r,s=n(t,e),o=s.length;o--;)t[r=R.call(t,s[o])]=!(i[r]=s[o])})):function(t){return n(t,0,i)}}return n}},pseudos:{not:st((function(t){var e=[],i=[],n=c(t.replace(B,"$1"));return n[y]?st((function(t,e,i,r){for(var s,o=n(t,null,r,[]),c=t.length;c--;)(s=o[c])&&(t[c]=!(e[c]=s))})):function(t,r,s){e[0]=t;n(e,null,s,i);return!i.pop()}})),has:st((function(t){return function(e){return nt(t,e).length>0}})),contains:st((function(t){return function(e){return(e.textContent||e.innerText||s(e)).indexOf(t)>-1}})),lang:st((function(t){z.test(t||"")||nt.error("unsupported lang: "+t);t=t.replace(et,it).toLowerCase();return function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){t.parentNode&&t.parentNode.selectedIndex;return!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:lt((function(){return[0]})),last:lt((function(t,e){return[e-1]})),eq:lt((function(t,e,i){return[i<0?i+e:i]})),even:lt((function(t,e){for(var i=0;i=0;)t.push(n);return t})),gt:lt((function(t,e,i){for(var n=i<0?i+e:i;++n1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function mt(t,e,i,n,r){for(var s,o=[],c=0,a=t.length,h=null!=e;c-1&&(s[h]=!(o[h]=l))}}else{m=mt(m===o?m.splice(f,m.length):m);r?r(null,o,m,a):N.apply(o,m)}}))}function vt(t){for(var e,i,n,s=t.length,o=r.relative[t[0].type],c=o||r.relative[" "],h=o?1:0,u=dt((function(t){return t===e}),c,!0),l=dt((function(t){return R.call(e,t)>-1}),c,!0),p=[function(t,i,n){return!o&&(n||i!==a)||((e=i).nodeType?u(t,i,n):l(t,i,n))}];h1&&kt(p),h>1&&ft(t.slice(0,h-1).concat({value:" "===t[h-2].type?"*":""})).replace(B,"$1"),i,h0,o=t.length>0,c=function(c,h,u,p,g){var f,d,k,m=[],y=0,v="0",T=c&&[],_=null!=g,w=a,x=c||o&&r.find.TAG("*",g&&h.parentNode||h),b=C+=null==w?1:Math.random()||.1,S=x.length;if(_){a=h!==l&&h;n=i}for(;v!==S&&null!=(f=x[v]);v++){if(o&&f){d=0;for(;k=t[d++];)if(k(f,h,u)){p.push(f);break}if(_){C=b;n=++i}}if(s){(f=!k&&f)&&y--;c&&T.push(f)}}y+=v;if(s&&v!==y){d=0;for(;k=e[d++];)k(T,m,h,u);if(c){if(y>0)for(;v--;)T[v]||m[v]||(m[v]=L.call(p));m=mt(m)}N.apply(p,m);_&&!c&&m.length>0&&y+e.length>1&&nt.uniqueSort(p)}if(_){C=b;a=w}return T};return s?st(c):c}c=nt.compile=function(t,e){var i,n=[],r=[],s=x[t+" "];if(!s){e||(e=gt(t));i=e.length;for(;i--;)(s=vt(e[i]))[y]?n.push(s):r.push(s);s=x(t,Ct(r,n))}return s};function Tt(t,e,i){for(var n=0,r=e.length;n2&&"ID"===(h=a[0]).type&&i.getById&&9===e.nodeType&&g&&r.relative[a[1].type]){if(!(e=(r.find.ID(h.matches[0].replace(et,it),e)||[])[0]))return n;t=t.slice(a.shift().value.length)}o=Y.needsContext.test(t)?0:a.length;for(;o--;){h=a[o];if(r.relative[u=h.type])break;if((l=r.find[u])&&(s=l(h.matches[0].replace(et,it),$.test(a[0].type)&&e.parentNode||e))){a.splice(o,1);if(!(t=s.length&&ft(a))){N.apply(n,s);return n}break}}}c(t,p)(s,e,!g,n,$.test(t));return n}i.sortStable=y.split("").sort(S).join("")===y;i.detectDuplicates=b;u();i.sortDetached=ot((function(t){return 1&t.compareDocumentPosition(l.createElement("div"))}));ot((function(t){t.innerHTML="";return"#"===t.firstChild.getAttribute("href")}))||ct("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}));i.attributes&&ot((function(t){t.innerHTML="";t.firstChild.setAttribute("value","");return""===t.firstChild.getAttribute("value")}))||ct("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}));ot((function(t){return null==t.getAttribute("disabled")}))||ct(U,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}));function wt(t){if(!t)return null;var e=/\[\w+(\*|\$|\||~|!|\^)?=(.+)]/,i=e.test(t);if(i&&(i=e.exec(t))&&3==i.length){var n=/".+"/;if(!/'.+'/.test(i[2])&&!n.test(i[2]))return t.replace("="+i[2],"='"+i[2]+"'")}}hstc.find=function(){try{return nt.apply(null,arguments)}catch(e){var t=wt(arguments[0]);if(t){arguments[0]=t;return nt.apply(null,arguments)}throw e}};hstc.expr=nt.selectors;hstc.expr[":"]=hstc.expr.filters;hstc.unique=nt.uniqueSort;hstc.text=nt.getText;hstc.isXMLDoc=nt.isXML;hstc.contains=nt.contains}(window);!function(t,e,i){hstc["Fingerprint"]=i()}(0,0,(function(){"use strict";var t=function(t){var e,i;e=Array.prototype.forEach;i=Array.prototype.map;this.each=function(t,i,n){if(null!==t)if(e&&t.forEach===e)t.forEach(i,n);else if(t.length===+t.length){for(var r=0,s=t.length;r>>16)*o&65535)<<16)&4294967295)<<15|a>>>17))*c+(((a>>>16)*c&65535)<<16)&4294967295)<<13|r>>>19))+((5*(r>>>16)&65535)<<16)&4294967295))+((58964+(s>>>16)&65535)<<16)}a=0;switch(i){case 3:a^=(255&t.charCodeAt(h+2))<<16;case 2:a^=(255&t.charCodeAt(h+1))<<8;case 1:r^=a=(65535&(a=(a=(65535&(a^=255&t.charCodeAt(h)))*o+(((a>>>16)*o&65535)<<16)&4294967295)<<15|a>>>17))*c+(((a>>>16)*c&65535)<<16)&4294967295}r^=t.length;r=2246822507*(65535&(r^=r>>>16))+((2246822507*(r>>>16)&65535)<<16)&4294967295;r=3266489909*(65535&(r^=r>>>13))+((3266489909*(r>>>16)&65535)<<16)&4294967295;return(r^=r>>>16)>>>0},hasLocalStorage:function(){try{return!!window.localStorage}catch(t){return!0}},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},getScreenResolution:function(){return this.screen_orientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width]}};return t}));function loadHstc(t,e){function i(){new hstc.tracking.Runner(t).run()}var n=t.getDocument();!n.readyState||"complete"==n.readyState||n.addEventListener&&"loaded"==n.readyState?i():hstc.utils.addEventListener(e,"load",i,!0)}!function(t,e){try{var i=t.getWindow();if(!i[e]){loadHstc(t,i);i[e]=!0}}catch(t){hstc.utils.logError(t)}}(new hstc.global.Context,"_hstc_loaded"); })(); /** _anon_wrapper_ **/