/*
 * Version:  6.6.04B137  
 * Copyright (c) 26-04-2021 GlassBox http://www.glassboxdigital.com
 */

/* BEGIN Configuration */

if(typeof _cls_config === "undefined") _cls_config = {};

/* BEGIN ajax */
  _cls_config.ajaxRecordMetadata="never";
  _cls_config.ajaxRecordRequestBody="never";
  _cls_config.ajaxRecordRequestHeaders="tld";
  _cls_config.ajaxRecordResponseBody="never";
  _cls_config.ajaxRecordResponseHeaders="and(tld, statusgte(400))";
  _cls_config.ajaxRecordStats="tld";
  _cls_config.interceptAjax=true;
/* END ajax */
/* BEGIN behavior */
  _cls_config.domTamperingDetectionEnabled=true;
  _cls_config.idleEventTimeInterval=-1;
  _cls_config.iframesAutoInject=true;
  _cls_config.recordMouseMoves=true;
  _cls_config.recordScrolls=true;
  _cls_config.reportToStorageAfterUnload=true;
  _cls_config.valueAutoMasking=['creditCard'];
/* END behavior */
/* BEGIN masking */
  _cls_config.blackoutWhenLocationContains=[];
  _cls_config.domMaskAttributesByTag=[];
  _cls_config.domMaskContentByClass=[];
  _cls_config.domMaskContentById=[];
  _cls_config.domMaskOmitByClass=[];
  _cls_config.domMaskSimpleSelector=[];
  _cls_config.domMaskedAttributes=[];
  _cls_config.domMaskOmitById=[];
  _cls_config.domMaskingMode="blacklist";
  _cls_config.domOmitIds=[];
  _cls_config.maskClassList=[];
  _cls_config.maskCookies=[];
  _cls_config.maskBlacklistValueById=['password','Password','EnrollmentData','CardPin','ConfirmPassword','RSAAuthentication','PIN','NewPassword','AddOtherTransferAccount','CurrentPassword'];
  _cls_config.valueMaskingMode="blacklist";
/* END masking */
/* BEGIN required */
  _cls_config.reportURI="https://report.citizen.glassboxdigital.io/glassbox/reporting/A1F924CD-F1F0-C445-9923-C6EA4A9913FD/cls_report";
/* END required */
/* BEGIN resource */
  _cls_config.resourcesRecordEnabled=true;
  _cls_config.resourcesRecordAllowCors=true;
  _cls_config.resourcesRecordCount=3;
/* END resource */
/* BEGIN extra */
  _cls_config.captureGlobalObjects=[];
  _cls_config.encryptionPublicKey='MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqPPvBZcGNEaePyQsIt5WzkBkzFY3sGjwLQ4/CiOeK2cFymUtuFrOh+1MGEsJstiu2y7yH6lIwo7YPXQis/eJrOHMTwNL9kdUuGjUycFbYo1qaEzCSk3IXwQbwnVTib57ImKruE5+j1VdUSKtKv4ijajCPuK3XFuaGp0qkkP7OM7QSf720mRJNtk3KkA/mmDJ6Sg2mPm03OqrBOIy6VVsPuYovLz7RZFoatOuZWA3QHQ8sX7USMErcZml2EJ2UKBRMGhsX84VzTk2zDY4BFZNdQyk+7wFqhWQMtrPgji0mZwjXoS8mWFk+G4Rah074uBN9Tn0F6jyvSNBWhFdQaYFUwIDAQAB';
  _cls_config.encryptionKeyId='citizens-p-olb';
  _cls_config.encryptionClassList=['form-item','smsform','form_fields','citi-account_settings-details-value','unauth-form_input','account-table','security-info','olbwrapper','securityinfo','modal-update-options','account-summary_table-row','full-acct', 'full-acct-number'];
  _cls_config.encryptionList=['Response','newEmailAddress','newMobileAddress','unauth-ic-form-ssn','unauth-ic-form-ssn-tinClone','unauth-ic-form-accountnumber','unauth-ic-form-no-account-first-name','unauth-ic-form-no-account-last-name'];
  _cls_config.clientAttributesEnabled=true;
  _cls_config.clientAttributeMaxLength=300;
  _cls_config.allowWaitForElementsUrls=["*citizensbankonline.com/efs/servlet/efs/logout.jsp*"];
  _cls_config.snapshotWaitForElement=["#main-container","#page-container"];
  _cls_config.reportPostInterval = 1000;
  _cls_config.snapshotImmediatePages=["*citizensbankonline.com/efs/servlet/efs/login.jsp*"];
/* END extra */

/* END Configuration */




!function(){var i,n=self;n.Function.prototype.gbBind=n.Function.prototype.bind,/{s+[native code]/.test(Function.prototype.toString.call(n.Function.prototype.bind))&&(i=Array.prototype.slice,n.Function.prototype.gbBind=function(){var e=this,t=arguments[0],r=i.call(arguments,1);if("function"!=typeof e)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");return function(){var n=r.concat(i.call(arguments));return e.apply(t,n)}})}(),function(i,n,e,j,t,U){var R,r,o,a,H,E,u,c,logger,s,f,d,l,V,q,m,h,v,g,p,y,w,b,C,S,T,I,k,x,M,z,A,N,D,_,O,L,F,W,P,B,G,X,J,K,Q,Y,$,Z,nn,en,tn,rn,on,an,un,cn,sn,fn,dn,ln,hn,vn,mn,gn,pn,yn,wn,bn,En,Cn,Sn,Tn,In,kn,xn,Mn,Rn,An,Nn,Dn,_n,On,Ln,Fn,Pn,Bn,jn,Un,Hn,Vn,qn,zn,Wn,Gn,Xn,Jn,Kn,Qn,Yn,$n,Zn,iframeHelper,ne,ee,te,re,ie,oe,ae,ue,ce,se,fe,de,le,he,ve,me,ge,pe,ye,we,be,Ee,Ce,Se,Te,Ie,ke,xe,Me,Re,Ae,Ne,De,_e,Oe;function Le(n){n.debugMode=!1,n.traceMode=!1,n.suppressMouseMovesDebug=!0,n.reportByPost=!1,n.reportPreferSendBeaconAPI=!1,n.reportDisableCors=!1,n.enableSessionizingByCors=!1,n.timingMode=!1,n.useIdSelectors=!0,n.noIdSelectorsForClassNames=["skull_list"],n.noIdSelectorsForIDs=[],n.noIdSelectorsForAttrs=[],n.noMetaTagInSelector=!0,n.useNameInFormSelectors=!1,n.preferNamesInFormSelectors=!1,n.reportValidationErrors=!0,n.supportNativeAutoComplete=!1,n.recordEnterForInputs=!0,n.recordTypingAll=!1,n.recordTypingForAttrs=["bs-typeahead"],n.recordTypingForClasses=["tt-input"],n.recordTypingForIDs=[],n.ignorableElementIds=["cls_logger","cls_logger_tab"],n.idleEventTimeInterval=-1,n.maxTimeForIdleEvent=42e4,n.validationValueForRenderTime=2e4,n.titleCharsLimit=150,n.recordAjaxCallsAnyway=!1,n.ajaxDebug=!1,n.recordSpaLoadTime=!0,n.ajaxHashRecurrentUrls=!0,n.reportVisualNames=!0,n.visualNameDebug=!1,n.visualName={maxLimit:160,maxParentLevel:3,CLS_NAME_ATTR:"cls_vname",filterNamingByTagName:["script","style"],maxDistance:20,eventsToCalcDistance:["mousedown"],by:{title:!0,alt:!0,ariaLabel:!0,labelTag:!0,inlineText:!0,placeholder:!0,inputConsts:!0,inputButtonsValue:!0,name:!0,id:!0,parent:!0,child:!0},elementListToCheckParent:["img","span","div"],elementListToCheckChild:["button"],filterInlineTextByClassName:[],wrapperElementList:["BUTTON","A"]},n.visualNameLimit=60,n.valueEncryptionMode=R.censorMode.BlackList,n.valueEncryptById=[],n.valueEncryptByClass=[],n.valueMaskingMode=U,n.maskWhitelistValueById=[],n.maskBlacklistValueById=[],n.maskWhitelistValueByClass=[],n.maskBlacklistValueByClass=[],n.valueWhitelistMaskSimpleSelector=[],n.valueBlacklistMaskSimpleSelector=[],n.valueMaskIgnoreAttribute="",n.ajaxMaskRequestBody=[],n.ajaxMaskResponseBody=[],n.ajaxStatsQueryParams=[],n.ajaxCaptureRequestCookie=!1,n.maskCookies=[],n.maskQueryParameters=[],n.maskUrlPath=[],n.ccAutoMask=!0,n.ccAutoMaskByContent=!0,n.ccAutoMaskKeepLastDigits=-1,n.ccForceMaskContainer=!0,n.valueMaskByCategories=[],n.valueMaskingCharNumeric="#",n.valueMaskingCharNumericLike="#",n.maskTitle=!1,n.cookieAssignFQDN=!1,n.cookieTLDSegmentCount=-1,n.enableSecureCookie=!0,n.recordErrors=!0,n.recordConsoleErrors=!0,n.maxRecordedCountPerError=2,n.minDragPixels=10,n.botDetection=!1,n.devToolsDetectionEnabled=!0,n.devToolsDetectionMessage="",n.struggleCaptureHorizontalScrollbar=!0,n.struggleCaptureBlankPage=!0,n.struggleCaptureDeadClick=!0,n.struggleDeadClickInterval=1e3,n.struggleCaptureErrorClick=!0,n.struggleErrorClickInterval=1e3,n.reportDebugInfo=!0,n.DOMBeaconImg=!1,n.truncateEventsWithUnload=!0,n.recordScrolls=!1,n.recordScrollReach=!1,n.minStallingScrollTime=3e3,n.scrollDebug=!1,n.recordMouseMoves=!1,n.mmRecordTimes=!1,n.mmDiluteMinPixels=20,n.mmMaxMovesWithUnload=100,n.mmMaxMovesInEventNoTimes=180,n.mmMaxMovesInEventWithTimes=130,n.mmMinStallingMoveTime=1e4,n.mmMaxInMemoryMoves=600,n.mmDebug=!1,n.SCIntegration=!1,n.SCIntegrationURLsContainList=[],n.SCIntegrationKeyList=["pageName","v25","v11","v39"],n.interceptThirdPartyAttributes=!0,n.interceptABTesting=!0,n.abTestingGlobalObject="",n.enableOptimizelyIntegration=!0,n.optimizelyCheckOnSegmentLoad=!1,n.optimizelyUrl="https://logx.optimizely.com/v1/events",n.enableAdobeAnalyticsIntegration=!1,n.adobeRsid="",n.adobeEVarNumber="",n.adobeAPIMaxAttempts=5,n.enableGoogleAnalyticsIntegration=!1,n.googleDimensionIndex=-1,n.googleMeasurementId="",n.googleAPIMaxAttempts=5,n.externalIdAttr="id",n.recordHovers=!1,n.mhDeepLevel=2,n.mhMaxListSize=10,n.mhMaxInMemeoryHovers=100,n.mhDebug=!1,n.reportHybrid=!1,n.domRecordEnabled=!1,n.reportAllResourcesLoad=!1,n.ignoreReportResourcesByTagNames=[],n.reportExternalResources=!1,n.reportMaxConcurrency=-1,n.reportTimingBetweenBeacons=-1,n.externalReporterObject="",n.clsDebug=!0,n.clsDebugCharsLimit=1e3,n.clsDebugMaxReports=5,n.reportEncoding="formUrl",n.reportCompress=!1,n.cordovaSdkReporting=!1,n.reportAddUriParams=["clsjsv","_cls_s","_cls_v","sn","cfg","pv","cls_e"],n.reportAddUriParamAPI=!1,n.reportStorageBackedForUA=[".*"],n.reportViaTopWindow=!1,n.duplicateIdCheck=!1,n.blackoutWhenLocationContains=[],n.reportCorsForceSafelistedHeaders=!0,n.reportCorsTakeNativeCookies=[],n.resetCorsOnNativeCookieChange=!1,n.clsByNativeCookie="",n.visitorDaysToExpiration=1825,n.reportIncludeReferrer=!0,n.reportCreateSubSessionCookie=!1,n.sessionIdByQueryParam="_cls_s",n.visitorIdByQueryParam="_cls_v",n.sendStateInfo=!0,n.debounceScrolls=500,n.encryptionKeyId="key1",n.encryptionTimeout=600,n.captureGlobalObjectsEmptyStrings=!1,n.captureGlobalObjectsOnSegmentChange=!1,n.segmentationTriggerBySimpleSelector=[],n.segmentationLabelBySimpleSelector=[],n.segmentationLabelByAttribute="",n.segmentationTitleByAttribute="",n.segmentationPrefix="_logical_",n.segmentationParallelMechanism=!1,n.segmentationInitialLabelSelector="",n.segmentationForceTryEnterSegment=!1,n.useExtension=!0,n.ajaxRecordSessionLimit=-1,n.pageNameResolvingEnabled=!0,n.pageNameResolvingByElements=[],n.gbconsoledomain="",n.decodeUri=!1,n.collectVoc=!0,n.collectUsabillaVoc=!1,n.waitForUsabillaObj=!0,n.interceptUsabillaUrl="https://w.usabilla.com",n.enableSessionCamApi=!1,n.passTabIdViaWinName=!1,n.infiniteScrollDetectionWaitTime=1e4,n.infiniteScrollDetectionGrowElementsCount=10,n.infiniteScrollDetectionGrowPixels=1e3}function Fe(n){n.maxReportSize=1900,n.reportInterval=3e3,n.reportByPost=!0,n.maxPostReportSize=15e4,n.reportPostInterval=1e4,n.reportPostRetry=!0,n.reportMaxRetries=2,n.reportAbortAfter=-1,n.reportAddUriParams=["clsjsv","_cls_s","_cls_v","pid","sn","cfg","pv","cls_e"],n.reportUseWorker=!1,n.interceptAjax=!0,n.ajaxHashRecurrentUrls=!1,n.ajaxRecordMetadata="always",n.domNewPageTriggers=[],n.domNewPageAjaxTriggers=[],n.domStartAfter=1e4,n.snapshotImmediatePages=[],n.domExpireSnapshotAfter=114e4,n.domUpdateEveryWsMsgIn=-1,n.domForceUpdateOnClick=!1,n.domCompress=!0,n.domRecordCssRules=!0,n.domCompressRepetitiveElements=[],n.recordAnimation=!1,n.domRecordEnabled=!0,n.recordShadowDom=!1,n.resourcesRecordEnabled=!1,n.resourceRecordCssOnly=!0,n.resourcesRecordCount=1,n.resourcesRecordChance=.5,n.electResourcesOnClear=!0,n.resourcesRecordAllowCors=!1,n.resourceIgnoreWhenUrlContains=[],n.resourceTimingRecordEnabled=!1,n.resourceTimingRecordEnabledByChance=.01,n.resourceTimingRecordAjax=!0,n.resourceBufferCheckTime=5e3,n.maxResourcesBeforeFlush=140,n.resourceBufferIncreaseBy=100,n.isCheckResourceBuffer=!0,n.webVitalsRecordEnabled=!1,n.clientAttributesEnabled=!1,n.clientAttributeMaxLength=30,n.semiDomEnabled=!0,n.domIgnoredFormElements=["__VIEWSTATE"],n.domIncludeSelectorOnUpdate=!0,n.domWhitelistMaskContentById=[],n.domBlacklistMaskContentById=[],n.domOmitByClass=[],n.domOmitById=["gb-main-overlay","gbOverlay"],n.domOmitObjectElementsByType=[],n.tagsToCheckLength=[],n.tagMaxLength=-1,n.domIgnoreChangesById=[],n.domIgnoreChangesByClass=[],n.domWhitelistMaskContentByClass=[],n.domBlacklistMaskContentByClass=[],n.domMaskedAttributes=[],n.domMaskDataAttributes=!1,n.domMaskAttributesByTag=[],n.domMaskIgnoreAttribute="",n.domWhitelistMaskSimpleSelector=[],n.domBlacklistMaskSimpleSelector=[],n.domMaskingMode=R.censorMode.BlackList,n.domEncryptById=[],n.domEncryptByClass=[],n.domPartialWhenLocationContains=[],n.domFilterAttributes=[],n.domIgnoreAttributes=[],n.cordovaSdkReporting=!1,n.domKeepComments=!1,n.domOmitAfterUnload=!1,n.domIE11ForceMutationObserver=!1,n.iframesRecordEnabled=!0,n.framesetRecordEnabled=!1,n.iframesDebugEnabled=!1,n.iframesAutoInject=!1,n.iframesAutoInjectMode=R.iframesAutoInjectMode.BlackList,n.blackoutIdleReporting=!1,n.domTamperingDetectionEnabled=!1,n.domTamperingIgnorePages=[],n.domTamperingIgnorableTags=["TITLE","STYLE","SCRIPT"],n.domTamperingGraceTime=2e3,n.iframesHandshakeTimeout=2e3,n.iframesSkipHidden=!0,n.domFormValidationTracking=!0,n.domFormValidationIgnorableText=["characters left","characters remaining"],n.domFormValidationIgnorableTags=[],n.domFormValidationIgnorePagesPredicates=[],n.domFormValidationCheckUrls=[],n.domFormValidationTitlesToCheck=[],n.domThrottleChanges=!1,n.domThrottleChangesIE11Only=!0,n.domPreciseStyleSheetCloning=!1,n.collectStruggles=!0,n.collectFormStruggles=!0,n.struggleMaxLongFocusTime=3e4,n.struggleRageClickInterval=3e3,n.struggleRageClickMinCount=5,n.struggleRageClickIgnoreBySelector=[],n.struggleDeadClickIgnoreBySelector=[],n.struggleDeadClickIgnoreByTagNames=[],n.struggleCaptureAjaxErrors=!0,n.forceRenderingFixForUA=U,n.domFuseDuration=-1,n.domFuseElementCount=-1,n.domFuseDurationIE=800,n.domFuseElementCountIE=-1,n.domFormValidationAdditionalTagNames=[],n.removeBase64ImageDataTagNames=[],n.delayDomMutationEvent=-1,n.enableAdoptedCss=!1,n.checkForHtmlOnly=!0,n.allowWaitForElementsUrls=[],n.snapshotWaitForElement=[],n.snapshotWaitForElementMustShown=!0,n.delaySnapshotAfterElementFound=-1,n.waitForElementTime=1e3,n.minAreaTocountElementAsShown=200,n.checkVisibility=!0,n.reTakeSnapshotAfterTime=5e3,n.enableEncodeSnapshotReferrer=!0,n.isDetectorDom=!0}function Pe(n){return function(){return"includes"===n&&"string"==typeof arguments[0]?-1<arguments[0].indexOf(arguments[1]):Array.prototype[n].apply(arguments[0],Array.prototype.slice.call(arguments,1))}}function Be(u){var r;function t(n){return null!==n&&E.isNumber(n.width)&&E.isNumber(n.height)?n.width+"x"+n.height:"x"}function i(n){return n?"1":"0"}function o(n){return q.Base64.encode(n)}function c(n){if(E.isNumber(n))return q.encodeAsBase(n,R.encoding.numberBase)}function a(n){if(E.isString(n))return c(q.hashcode(n))}function e(n){if(!E.isNumber(n.x)||!E.isNumber(n.y))return n.x,void n.y;var e=Math.round(n.x),n=Math.round(n.y);return c(e)+"_"+c(n)}function s(n,e,t,r){E.isString(t)&&(r?n.push(q.Base64.encode(e)+"_"+q.Base64.encode(t)):n.push(e+"_"+t))}function f(n,e,t){E.isNumber(t)&&n.push(e+"_"+c(t))}function d(n,e){var t,r=[];for(t in e)void 0!==R.dictionary.performanceTimingEvents[t]&&f(r,R.dictionary.encodePerformanceTimingMeasurement(t),e[t]);return r.join(n)}return{setBeaconEncoder:function(n){r=n},encodePageDetails:function(n){var e=[];return n.frame&&s(e,"t",n.frame?"f":"p"),s(e,"u",a(n.urlWithoutHash)),n.hash&&s(e,"h",q.Base64.encode(n.hash)),n.windowSize&&s(e,"s",t(n.windowSize)),n.screenSize&&s(e,"sc",t(n.screenSize)),n.referrerWithoutHash&&s(e,"r",a(n.referrerWithoutHash)),R.reportBase64URLs&&s(e,"ub",q.Base64.encode(n.url)),e.join("*")},encodePageSnapshotData:function(n){var e="h",t=r.encodeSnapshotHtml(n.html);return t.compressed?e="hh":t.plain&&(e="p"),["sn_"+n.seq,"r_"+q.Base64.encode(n.referrer),"c_"+q.Base64.encode(n.cookie),"ch_"+n.charset,e+"_"+t.encoded].join("*")},encodeResize:function(n){var e=[];return s(e,"ws",t(n.window)),s(e,"sc",t(n.screen)),e.join("*")},encodeScrollReach:function(n){if(!E.isNumber(n.top)||!E.isNumber(n.height)||"boolean"!=typeof n.isInfinite)return n.top,void n.height;var e=Math.round(n.top),t=Math.round(n.height);return c(e)+"_"+c(t)+"_"+i(n.isInfinite)},encodeTimings:function(n){return E.reduce(n,function(n,e,t){t="u_"+t+"*t_"+e.total;return E.isNumber(e.rendering)&&(t+="*r_"+e.rendering),E.isNumber(e.dns)&&(t+="*d_"+e.dns),E.isNumber(e.timeToFirstBuffer)&&(t+="*f_"+e.timeToFirstBuffer),E.isNumber(e.downloadTime)&&(t+="*w_"+e.downloadTime),E.isNumber(e.originalRenderTime)&&(t+="*o_"+e.originalRenderTime),E.isString(n)&&0<n.length?n+"**"+t:t},"")},encodeThirdPartyAttributes:function(n){for(var e,t="",r=[],i=0;i<n.length;i++){for(e in t+=q.Base64.encode(n[i].urlMatcher),n[i].valueMap)n[i].valueMap.hasOwnProperty(e)&&(t+="_"+q.Base64.encode(e)+"_"+q.Base64.encode(n[i].valueMap[e]));r.push(t),t=""}return r.join("*")},encodeABTesting:function(n){for(var e=[],t=0;t<n.length;t++)e.push("vi_"+q.Base64.encode(n[t].variantId)+"_vn_"+q.Base64.encode(n[t].variantName)+"_ei_"+q.Base64.encode(n[t].experimentId)+"_en_"+q.Base64.encode(n[t].experimentName));return e.join("*")},encodeJson:function(n){n=JSON.stringify(n),n=q.pako.gzip(n);return q.Base64.bytesToBase64(n)},encodeStruggles:function(n){n=JSON.stringify(n);return q.Base64.encode(n)},encodePerformanceTimings:function(n){var e=n.perf.timing,t=n.perf.navigation,n=n.browserTime,e=[d("*",e)];return t&&E.isNumber(t.type)&&f(e,"nt",t.type),t&&E.isNumber(t.redirectCount)&&f(e,"rc",t.redirectCount),n&&f(e,"bt",n),e.join("*")},encodeAjaxRequest:function(n){var e,t,r=[];return s(r,"sn",c(n.sn||0)),n.method&&s(r,"m",n.method),u.ajaxHashRecurrentUrls&&"function"==typeof n.ajaxUrls.get?(e=a(n.url),t=n.ajaxUrls.get(e),E.isUndefined(t)&&(n.ajaxUrls.set(e,n.url),s(r,"u",q.Base64.encode(n.url))),s(r,"uh",e)):s(r,"u",q.Base64.encode(n.url)),n.downTime?s(r,"d",c(n.downTime)):n.startedAt&&n.endedAt&&s(r,"d",c(n.endedAt-n.startedAt)),s(r,"s",c(n.status)),n.statusText&&s(r,"st",q.Base64.encode(n.statusText)),n.requestHeaders&&s(r,"rqh",q.Base64.encode(n.requestHeaders)),n.requestContent&&s(r,"rqc",q.Base64.encode(n.requestContent)),n.responseHeaders&&s(r,"rh",q.Base64.encode(n.responseHeaders)),n.responseContent&&s(r,"rc",(n.responseCompressed?q.Base64.bytesToBase64:q.Base64.encode)(n.responseContent)),n.resContentType&&s(r,"rct",q.Base64.encode(n.resContentType)),n.reqContentType&&s(r,"rqct",q.Base64.encode(n.reqContentType)),n.contentLength&&s(r,"rcl",c(parseInt(n.contentLength))),n.requestLength&&s(r,"rqcl",c(parseInt(n.requestLength))),n.ttfb&&s(r,"ttfb",c(n.ttfb)),n.downTime&&s(r,"dt",c(n.downTime)),s(r,"a",i(n.aborted)),s(r,"api",n.api),r.join("*")},encodeResourceContent:function(n){var e=[];if(!E.isUndefined(n.url))return s(e,"u",q.Base64.encode(n.url)),n.type&&0<n.type.length&&s(e,"t",q.Base64.encode(n.type)),n.content&&0<n.content.length&&s(e,"dd",q.Base64.bytesToBase64(n.content)),n.error&&0<n.error.length&&s(e,"er",q.Base64.encode(n.error)),e.join("*")},encodeKeyValue:function(n){var e=[];return s(e,"n",q.Base64.encode(n.name)),s(e,"v",q.Base64.encode(""+n.val)),e.join("*")},encodeSegmentChanged:function(n){var e=[];return n.type&&e.push("t_"+n.type),n.current&&e.push("c_"+q.Base64.encode(n.current)),n.hint&&e.push("h_"+n.hint),n.last&&e.push("l_"+q.Base64.encode(n.last)),n.lastDwell&&e.push("ld_"+c(n.lastDwell)),!n.lastLoadTime&&0!==n.lastLoadTime||e.push("ll_"+c(n.lastLoadTime)),e.join("*")},encodeKeyEvent:function(n){var e="";return n&&(n.unicode&&(e+=n.unicode),E.isUndefined(n.content)||(e+="_"+q.Base64.encode(n.content))),e},encodeClickDetails:function(n){return e(n.start)+"*"+e(n.end)+"*"+c(n.duration)},encodeMouseMove:function(n){u.mmDebug&&(n.length,JSON.stringify(n));for(var e,t,r,i,o=[],a=0;a<n.length;a++)i=n[a],e=o,t=i.x,r=i.y,i=(i=i.t)||0,i=u.mmRecordTimes?"_"+c(i):"",t=Math.round(t),r=Math.round(r),e.push(c(t)+"_"+c(r)+i);return o.join("*")},encodeHoverEvent:function(n){var e=n.join(" ");return u.mhDebug&&n.length,e},encodeKVMap:function(n){var e,t=[];for(e in n)n.hasOwnProperty(e)&&s(t,e,n[e],!0);return t.join("*")},encodeNameKVMap:function(n){var e=n.val;if(!e||0===Object.keys(e).length)return"";var t,r,n=[q.Base64.encode(n.name)],i=[];for(t in e)e.hasOwnProperty(t)&&(r=e[t],i.push(q.Base64.encode(t)+"_"+o(r.toString())));return n.push(i.join("*")),n.join("**")},encodeNumber:c,encodeBoolean:i,encodeString:o,encodeCoordinate:function(n){if(!E.isNumber(n.x)||!E.isNumber(n.y))return n.x,void n.y;var e=Math.round(n.x),n=Math.round(n.y);return c(e)+"_"+c(n)},encodeCoordinate64:function(n){return q.Base64.encode(e(n))},encodeHashCode:a,encodeNavigationTiming:d}}function je(){}function Ue(n,e){if(!n)return n;if("object"!=typeof n)return n;var t,r,i={};for(t in n)n.hasOwnProperty(t)&&"function"!=(r=typeof n[t])&&("object"!=r?i[t]=n[t]:null!==n[t]&&(n[t].addEventListener||n[t].attachEvent||n[t].hasOwnProperty&&(Array.isArray(n[t])?i[t]=n[t].map(Ue):i[t]=Ue(n[t],e))));return i}function He(n,e,t,r){je.call(this),this.pageId=r,this.timestamp=e,this.type=n,this.element=t,this.report=!0,this.shouldEncodeValue=!0,this.subPage=q.decodeUri(H.decodeUri,window.location.hash),this.referrer=q.stripHash(q.decodeUri(H.decodeUri,window.location.href)),this.id=He.prototype.nextId++,this.extraInfo={eventId:this.id}}function Ve(n,e){je.call(this),this.id=n,this.metadata=e,this.events=[]}function qe(t,e){function r(n,e){return(n?"1":"0")+(e?"1":"0")}var i=qe.INITIAL_COMPRESSION_FACTOR,o=(e=e||{compress:!0,forceBase64:!0}).compress||e.forceBase64?1.33:1,a=1;this.newPayload=function(){return new ze},this.encode=e.compress?function(n){if(0===n._updates.length)return"";var e=q.arrayToJsonSafe(n._updates),n=q.Base64.bytesToBase64(t.compress(e));return e=n.length/e.length,i=Math.max(e,qe.MINIMAL_COMPRESSION_FACTOR),"11"+n}:function(n){if(0===n._updates.length)return"";n=q.arrayToJsonSafe(n._updates);return r(!1,e.forceBase64)+(e.forceBase64?q.Base64.toBase64(n):n)},this.refForEvent=function(n){return""+a+++q.hashcode(n.type+n.timestamp)},this.estimatedDomUpdateSize=function(n){return(n?JSON.stringify(n).length:0)*o*(e.compress?i:1)}}function ze(){this._updates=[]}function We(r){return{compress:function(n){return q.pako.gzip(n)},encodeTimestamp:function(n){n=n.timestamp;return E.isNumber(n)||(n=q.currentTimestamp()),r.encodeNumber(n)},encodeEventType:function(n){return R.encodeEventTypes?R.dictionary.encodeEventType(n):n},encodeExtraInfo:function(n){var e=n.extraInfo;if(E.isUndefined(e))return"";for(var t,r,i,o,a=[],u=He.prototype.extraInfoAttrs,c=0;c<u.length;c++){var s=u[c],f=e[s.name];E.isUndefined(f)||(t=a,r=s.encodeName,i=s.encodeFunc(f),o=s.encodeCode,E.isString(i)&&t.push(r+"."+o+"_"+i))}return a.join("*")},encodeDebugInfo:function(n){var e=n.debugInfo;if(E.isUndefined(e))return"-";function t(n,e,t){E.isUndefined(t)||n.push(e+"_"+t)}n=[];return t(n,"s",e.severity),t(n,"c",e.code),t(n,"i",e.count),e.msg&&e.count<=3&&t(n,"m",r.encodeString(e.msg)),n.join("*")}}}function Ge(c,s,f,d,l,h){var u=(h=h||{}).base64UriEncoder||encodeURIComponent,v=new qe(d,{forceBase64:!0,compress:h.domCompress});this.name="FORM-URL",this.supportsCompression=!1,this.isCompressing=function(){return!1},this.visitXhr=function(n){n.setRequestHeader("Content-Type","application/x-www-form-urlencoded")},this.getContentType=function(){return"application/x-www-form-urlencoded"},this.encodeSnapshotHtml=function(n){return h.domCompress?{encoded:f.Base64.bytesToBase64(d.compress(n)),plain:!1,compressed:!0}:{encoded:f.Base64.encode(n),plain:!1,compressed:!1}},this.estimateBeaconSize=function(n){return n},this.encodeEvent=function(n,e){var t,r=s.encoding.delimiters.eventParts,i=d.encodeTimestamp(n),o=d.encodeEventType(n.type),a=m[g[n.type]],a=a?a(n.value):n.value,e=i+r+o+r+(e=void 0===e?c.isUndefined(n.selectorExpression)||null==n.selectorExpression?s.encoding.rootSelector:n.selectorExpression:e);c.isString(a)?(l.stringIsEncrypted(a)?n.shouldEncodeValue=!1:t=n.shouldEncodeValue?s.encoding.valueEncodedPrefix:s.encoding.valueNotEncodedPrefix,u=n.shouldEncodeValue?f.Base64.encode(a):a,e+=t?r+t+u:r+u):e+=r+"-",c.isUndefined(n.extraInfo)?e+=r+"-":e+=r+d.encodeExtraInfo(n),h.reportDebugInfo&&!c.isUndefined(n.debugInfo)?e+=r+d.encodeDebugInfo(n):e+=r+"-";var u="";n.domSnapshot&&(u=v.refForEvent(n),e+=r+s.encoding.domSnapshotRefPrefix+u),n.type,c.contains(["webSocketFrame","resourceContent","pageSnapshot"],n.type),0<n.subPage.length&&n.subPage;u={event:encodeURIComponent(e),domUpdate:n.domSnapshot,domUpdateRef:u};return u.length=u.event.length+v.estimatedDomUpdateSize(n.domSnapshot),u},this.encodeBeacon=function(n,e,t,r){for(var i=[],o=v.newPayload(),a=0;a<t.length;a++)i.push(t[a].event),t[a].domUpdate&&o.add(t[a].domUpdate,t[a].domUpdateRef);r="v="+n+(void 0!==e.referrer?"&r="+encodeURIComponent(e.referrer):"")+"&sn="+r+"&p="+e.pageId+(void 0!==e.segment?"&seg="+encodeURIComponent(e.segment):"")+(void 0!==e.subPage?"&sp="+encodeURIComponent(e.subPage):"")+(void 0!==e.pssn?"&pssn="+e.pssn:"")+"&e="+i.join(s.encoding.delimiters.events)+"&dom="+u(v.encode(o)),e=l.getKeyInfo();return e&&(r+="&key="+encodeURIComponent(e)),r}}function Xe(i,o,a,u,c,s){var f=.25,d=new qe(u,{forceBase64:!1,compress:!(s=s||{}).compress&&s.domCompress});this.name="JSON",this.supportsCompression=!0,this.isCompressing=function(){return!0},this.visitXhr=function(n){s.corsSafelisted?n.setRequestHeader("Content-Type","text/plain"+(s.compress?"; charset="+Xe.COMPRESSED_INDICATION_CHARSET:"")):(n.setRequestHeader("Content-Type","application/json"),s.compress&&n.setRequestHeader("Content-Encoding","gzip"))},this.getContentType=function(){return"application/json"},this.encodeSnapshotHtml=function(n){return!s.compress&&s.domCompress?{encoded:a.Base64.bytesToBase64(u.compress(n)),plain:!1,compressed:!0}:{encoded:n,plain:!0,compressed:!1}},this.estimateBeaconSize=function(n){return s.compress?n*f:n},this.encodeEvent=function(n,e){var t,r={timestamp:u.encodeTimestamp(n),type:""+u.encodeEventType(n.type)};void 0===e&&(e=i.isUndefined(n.selectorExpression)||null==n.selectorExpression?o.encoding.rootSelector:n.selectorExpression),r.selector=e;e=m[g[n.type]],e=e?e(n.value):n.value;i.isString(e)?(c.stringIsEncrypted(e)?n.shouldEncodeValue=!1:t=n.shouldEncodeValue?o.encoding.valueEncodedPrefix:o.encoding.valueNotEncodedPrefix,e=n.shouldEncodeValue?a.Base64.encode(e):e,r.value=t?t+e:e):r.value="-",i.isUndefined(n.extraInfo)?r.extraInfo="-":r.extraInfo=u.encodeExtraInfo(n),s.reportDebugInfo&&!i.isUndefined(n.debugInfo)?r.debugInfo=u.encodeDebugInfo(n):r.debugInfo="-";e="";return n.domSnapshot?(e=d.refForEvent(n),r.domSnapshot=o.encoding.domSnapshotRefPrefix+e):r.domSnapshot="-",n.type,r.timestamp,r.type,0<n.subPage.length&&n.subPage,function(n){var e,t=0;for(e in n.event)"string"==typeof n.event[e]&&(t+=e.length+n.event[e].length+6);return n.length=t+2+d.estimatedDomUpdateSize(n.domUpdate),n}({event:r,domUpdate:n.domSnapshot,domUpdateRef:e})},this.encodeBeacon=function(n,e,t,r){for(var i=[],o=d.newPayload(),a=0;a<t.length;a++)i.push(t[a].event),t[a].domUpdate&&o.add(t[a].domUpdate,t[a].domUpdateRef);n={ver:n,sn:r,pageId:e.pageId,segment:e.segment,events:i,dom:d.encode(o)},r=c.getKeyInfo();r&&(n.key=r),e.referrer&&(n.referrer=e.referrer),void 0!==e.subPage&&0<e.subPage.length&&(n.subPage=e.subPage),void 0!==e.pssn&&(n.pssn=e.pssn);e=JSON.stringify(n);if(s.compress){n=u.compress(e);return f=Math.max(n.length/e.length,Xe.MINIMAL_COMPRESSION_FACTOR),e.length,n.length,n}return e}}function Je(n,e,t,r,i){var o,a=We(n);function u(n){return"%"+n.charCodeAt(0).toString(16).toUpperCase()}return o="json"===i.reportEncoding?new Xe(E,R,q,a,t,{reportDebugInfo:i.reportDebugInfo,compress:i.reportCompress,domCompress:i.domCompress,corsSafelisted:r&&i.reportCorsForceSafelistedHeaders}):(o=/SamsungBrowser\/7/gi.test(e.userAgent),new Ge(E,R,q,a,t,{reportDebugInfo:i.reportDebugInfo,domCompress:i.domCompress,base64UriEncoder:o?function(n){return n.replace(/\+|=|\//gi,u)}:encodeURIComponent})),n.setBeaconEncoder(o),o}function Ke(s,f){var d={incomingEventMessages:0};s[f]={state:"INIT",stats:d};var i,t,l={onBeaconDispatched:function(n,e){i.postMessage({type:"beaconSent",sn:n,encodedLength:e.length})},onBeaconResponse:function(n,e,t,r){i.postMessage({type:"onBeaconResponse",pageId:n,beaconData:e,success:t,requestStatus:r})},onWorkerReady:function(){i.postMessage({type:"ready"})},onNewConfig:function(n){i.postMessage({type:"newConfig",config:n})}},h=(t={},(i=s).addEventListener("message",function(n){var e=n.data,n=t[e.type];n&&n.apply(null,e.args)},!1),{on:function(n,e){t[n]=e}});h.on("init",function(n,e,t){m=Be(n);var r={getKeyInfo:function(){return t},stringIsEncrypted:function(n){return q.startsWith(n,R.encryptionPrefix)}},i={on:function(){},off:function(){},emit:function(){}},o=new Ct({on:function(){}},R.detectorVersion,n.reportAddUriParams,n.reportByPost),a=mt(self,!1,!1,!1),r=Je(m,s.navigator,r,e,n),e=new Ft({},l.onBeaconResponse),a=new br(r,o,a,logger,e.onReporterMessage.gbBind(e),l.onNewConfig,n,i),u=new Bt(a,e,r,s[f].stats,n),c=new Jt(i,r,a,u,!0,{track:function(){},untrack:function(){},packageEventSets:function(){}},l.onBeaconDispatched,n.reportMaxConcurrency,n.reportTimingBetweenBeacons);h.on("encodeAndDispatch",function(n,e,t){d.incomingEventMessages++;n=n.map(function(n){return Ve.fromJSON(n)});c.encodeAndDispatch(n,e,t)}),h.on("restoreState",function(n,e){d.incomingEventMessages++,u.restoreState(n,e)}),h.on("updateQueryString",function(n){o.updateNativeCookies(n)}),h.on("confHashChange",function(n){o.setConfigurationHash(n)}),h.on("clseChange",function(n){o.setClse(n)}),s[f].state="READY",l.onWorkerReady()})}function Qe(){var a=[];this.add=function(n,e,t,r,i,o){this[i.toLowerCase()]={type:n,nullable:e,parser:t,name:i,required:o,validator:r},o&&a.push(i)},this.requiredFieldsMask=function(){for(var n={},e=0;e<a.length;e++)n[a[e]]=!0;return n}}function Ye(){this.errors=[],this.warnings=[]}function $e(n,e,t){if(void 0!==n){var r,i=e.get(t+".bychance.enabled");return null===(i=e.get(t+".bychance.prev_th")!==""+n?null:i)?(r=Math.random()<n,e.set(t+".bychance.enabled",r),e.set(t+".bychance.prev_th",n)):r="true"===i,r}}function Ze(n,e,t){var r,i;for(r in t=t||function(n,e,t){return{key:n,value:e}},e)e.hasOwnProperty(r)&&(n[(i=t(r,e[r],n)).key]=i.value)}function nt(){for(var n=0;n<arguments.length;n++)if(arguments[n]&&arguments[n].length)return 1}function et(){return{validateSelector:function(e){try{return j.querySelector(e),!0}catch(n){return this.printErrorMsg("selector not valid"),void 0!==On&&setTimeout(function(){On.saveClsDebugErrorEvent("maskingConfiguration",U,e)},0),!1}},printErrorMsg:function(n){console.error("[EyeView-403]: Error while processing configuration. Error cause: "+n)}}}function tt(n){var e=n.msCrypto,o=n.msCrypto.subtle;this.executeEncryptionFlow=function(n,e,t,r){var i,n=o.importKey("spki",n,{name:"RSA-OAEP",hash:{name:"SHA-1"}},!1,["encrypt"]);n.onerror=function(n){r(n.message)},n.oncomplete=function(n){(i=o.encrypt({name:"RSA-OAEP",hash:{name:"SHA-1"}},n.target.result,e)).onerror=function(n){r(n.message)},i.oncomplete=function(n){n=n.target.result;t(n)}}},this.getRandomValues=function(n){return e.getRandomValues(n)}}function rt(r,t){var f="MASKING ERROR";t=q.optionsWithDefaults(t,{requestRules:[],responseRules:[]});var d=!0,i=[],o={request:[],response:[]};function l(n){for(var e=0;e<i.length;++e)if(i[e](n))return 1}function h(n,e){for(var t=[],r=0;r<o[e].length;++r)o[e][r].predicate(n)&&t.push(o[e][r].transformations);return t}function a(n,e,t){try{n.push({predicate:e,transformations:{jsonField:r.jsonField(t),pattern:r.pattern(t)}})}catch(n){logger.error("Error while processing AJAX masking rule. Please check rules transformation configuration.",n),i.push(e)}}function v(n,e,t){n.masking&&(n.masking[e]=t)}this.init=function(n){try{for(var e=0;e<t.responseRules.length;++e)a(o.response,n.create(t.responseRules[e].predicate),t.responseRules[e].transformations);for(e=0;e<t.requestRules.length;++e)a(o.request,n.create(t.requestRules[e].predicate),t.requestRules[e].transformations)}catch(n){d=!1,logger.error("Error while initializing AJAX masking settings. Please check rules predicates configuration.",n)}},this.maskText=function(e,t,n){if(!n)return"";try{if(!d||l(e))return v(e,t,"bad-config"),f;var r=h(e,t);if(r.length){for(var i={},o=0;o<r.length;++o)n=r[o].pattern(n,i);i.masked&&v(e,t,"masked")}return n}catch(n){return v(e,t,"error"),logger.error("Error during textual ajax content masking.",n),f}},this.getJsonContent=function(e,t,n){if(!n)return"";try{if(!d||l(e))return e.masking&&v(e,t,"bad-config"),f;var r="string"==typeof n,i={},o=h(e,t);if(!o.length)return r?n:JSON.stringify(n);var a=r?JSON.parse(n):n,u=JSON.stringify(a,(c=i,s=o,function(n,e){for(var t=e,r=0;r<s.length;++r)t=s[r].jsonField(n,t,c);return t}));return i.masked&&v(e,t,"masked"),u}catch(n){return v(e,t,"error"),logger.error("Error during json ajax content masking.",n),f}var c,s}}function it(n){var e=n.crypto,i=e.subtle||e.webkitSubtle;this.executeEncryptionFlow=function(n,e,t,r){i.importKey("spki",n,{name:"RSA-OAEP",hash:"SHA-1"},!1,["encrypt"]).then(function(n){i.encrypt({name:"RSA-OAEP",hash:"SHA-1"},n,e).then(function(n){t(n)}).catch(function(n){r(n.message)})}).catch(function(n){r(n.message)})},this.getRandomValues=function(n){return e.getRandomValues(n)}}function ot(r){function n(n,e){var e=(n?"\\"+n.split("").join("\\"):"")+(e?"\\s":""),t=new RegExp("^["+e+"]*\\d[\\d*"+e+"]*$","mi");return function(n){return t.test(n)}}r=q.optionsWithDefaults(r,{valueMaskByCategories:[],valueMaskingCharNumeric:"#",valueMaskingCharNumericLike:"#"});var i={numeric:{type:"numeric",test:n(!1,!1),maskingChar:r.valueMaskingCharNumeric||"#",byAttTest:{autocomplete:q.immutableSet("tel-extension","tel-local","tel-area-code","tel-national","tel-country-code","bday-year","bday-month","bday-day","transaction-amount","postal-code","country","cc-exp-month","cc-exp-year"),type:q.immutableSet("number","range")}},numericlike:{type:"numericLike",test:n("=-\\()/%$_#.",!0),maskingChar:r.valueMaskingCharNumericLike||"#",byAttTest:{autocomplete:q.immutableSet("tel","bday","cc-exp"),type:q.immutableSet("time","tel","month")}},badConfiguration:{type:"bad_Configuration",test:function(){return!0},maskingChar:"#",byAttTest:{autocomplete:null,type:null}}};return function(){for(var n=[],e=0;e<r.valueMaskByCategories.length;++e){var t=r.valueMaskByCategories[e].toLowerCase();i[t]?n.push(i[t]):n.push(i.badConfiguration)}return n}()}function at(r){var i={doMask:!1};return function(n){for(var e=0;e<r.length;++e){var t=r[e];if(function(n,e){if(e.byAttTest)for(var t in e.byAttTest)if(e.byAttTest.hasOwnProperty(t)&&e.byAttTest[t][n.getAttribute(t)])return 1}(n,t)||t.test(n.value))return{doMask:!0,cause:t.type,maskingChar:t.maskingChar||"*"}}return i}}function ut(n){var t=!1,r={INPUT:!0,SELECT:!0,TEXTAREA:!0};function i(n){for(;n.parentNode;)if("FORM"===(n=n.parentNode).tagName)return n;return n}return n.on("domMutation",function(n){var e=!1;"childList"===n.type&&t&&E.forEach(n.addedNodes,function(n){r[n.tagName]&&(e||i(n)._gbForceMasking)&&(e=!0,n._gbForceMasking=!0)})}),{markOwnerAndInputs:function(n){t=!0;n=i(n);n._gbForceMasking=!0,function(n){for(var e=n.querySelectorAll("input, select, textarea"),t=0;t<e.length;++t)e[t]._gbForceMasking=!0}(n)}}}function ct(n,e,t){this.maskingUtils=n,this.bundles=e,this.cb=t}function st(n){for(var e,t=0;t<this.bundles.length;t++)if((e=this.bundles[t](n)).doMask)return e;return{}}function ft(n,e,t,r,i,a){function o(n,e,t){for(var r,i=[],o=0;o<n.length;o++)if(1===(i=n[o].split("*")).length)e.push(n[o]);else if(2===i.length)try{r=new RegExp("(^|\\s)"+i.join(".*")+"($|\\s)"),t.push(r)}catch(n){a.printErrorMsg("exception when creating a regular expression")}else a.printErrorMsg("more than one wildcard in string")}this.bus=n,this.maskedElementsAlreadyLogged={},this._censorValueOf=e.censorValueOf,this._isAvailable=e.isAvailable,this._envCensorMode=t,this._censorAttribute=r,this._valueCensorIdsWithoutwildcards=[],this._valueCensorClassesWithoutwildcards=[],this._regexpValueCensorIds=[],this._regexpValueCensorClasses=[],this._valueCensorSelectorsWithoutwildcards=[],this._options=i||{},this._options.valueCensorIds&&o(this._options.valueCensorIds,this._valueCensorIdsWithoutwildcards,this._regexpValueCensorIds),this._options.valueCensorClasses&&o(this._options.valueCensorClasses,this._valueCensorClassesWithoutwildcards,this._regexpValueCensorClasses),this._options.valueCensorSimpleSelectors&&function(n,e){var t;for(t=0;t<n.length;++t)a.validateSelector(n[t])&&e.push(n[t])}(this._options.valueCensorSimpleSelectors,this._valueCensorSelectorsWithoutwildcards),this._options.autoCensorPredicate=this._options.autoCensorPredicate||function(){return!1}}function dt(n){var e=n[X];return e||(e=J(),n[X]=e),e}function lt(n,e,t){for(var r,i=[],o=0;o<n.length;o++)if(1===(i=n[o].split("*")).length)e.push(n[o]);else if(2===i.length)try{r=new RegExp("(^|\\s)"+i.join(".*")+"($|\\s)"),t.push(r)}catch(n){et.printErrorMsg("exception when creating a regular expression")}else et.printErrorMsg("more than one wildcard in string")}function ht(){this.readyState=XMLHttpRequest.UNSENT,this.status=U,this._url=U,this._contentType=U,this.cls_own=!0,this.report_api="send_beacon"}function vt(){this.readyState=XMLHttpRequest.UNSENT,this.status=U,this.xdr=new XDomainRequest,this.xdr.onprogress=function(){},this.xdr.ontimeout=function(){};var n=this;this.xdr.onload=function(){n.status=200,n.readyState=XMLHttpRequest.DONE,n.onreadystatechange&&n.onreadystatechange()},this.xdr.onerror=function(){n.status=400,n.readyState=XMLHttpRequest.DONE,n.onreadystatechange&&n.onreadystatechange()}}function mt(n,i,o,e){var t,r,a=!0,u=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];void 0!==n.XDomainRequest&&/(msie 8\.0|msie 9\.0)/i.test(n.navigator.userAgent)&&u.unshift(function(){return new vt}),"undefined"!=typeof CordovaRequestAdapter&&e&&(t=new CordovaCookieAdapter(N),r=new CordovaContext(j,t),u.unshift(function(){return new CordovaRequestAdapter(r,t)}));function c(n){return(n=n()).cls_own=!0,n}var s=null;return{createXMLHTTPObject:function(n,e){if(!n&&i&&e&&ht.isSupported()&&ht.canSend(e))return a&&o?(a=!1,new XMLHttpRequest):new ht;if(s)return c(s);for(var t,r=0;r<u.length;r++)try{return t=c(u[r]),s=u[r],t}catch(n){}return t}}}function gt(n){this.size=0,this.limit=n,this._keymap={}}function pt(e,u,t){var c=[],s=[];var n,f=(n=e.location||e.document.location,function(){return n.href});function r(){var n=f()||"",e=c.length;if(0!==e){if(c[e-1]!==n){var t=c[c.length-1],r=d(t),i=d(n),o=pt.UrlType.FUlL_URL;2===r.length&&2===i.length&&r[0]===i[0]&&(o=pt.UrlType.HASH_ONLY);var a=null;2<=e&&c[e-2]===n?(c.pop(),s.push(t),a=pt.DirectionType.BACK):0<s.length&&s[s.length-1]===n?(s.pop(),c.push(n),a=pt.DirectionType.FORWARD):(c.push(n),s=[]);i=o===pt.UrlType.FUlL_URL?n:i[1],r=o===pt.UrlType.FUlL_URL?t:r[1];return a=a,o=o,r=r,i=i,u.emit("navigation",{direction:a,urlType:o,fromUrl:r,toUrl:i}),1}}else c.push(n)}function d(n){n=(n||"").split("#");return[n[0],n[1]||""]}function i(e){var n;"function"==typeof t[e]&&(n=t[e],t[e]=function(){try{3<=arguments.length&&setTimeout(function(){r()},0)}catch(n){logger.error("error while intercepting history."+e+" method. error:"+n)}return n.apply(t,[].slice.call(arguments))})}try{i("pushState"),i("replaceState")}catch(n){logger.error("failed hooking native history manipulation methods.",n)}u.on("init:loaded",function(){var n=void 0!==e.onpopstate?"popstate":"hashchange";q.addEventHandler(e,n,function(){r()}),"hashchange"!=n&&q.isIE(e.navigator.userAgent)&&q.addEventHandler(e,"hashchange",function(){r()}),r()}),this.printHistory=function(){for(var n=0;n<c.length;n++)console.log("  - "+n+" : "+c[n])}}function yt(n,t,r){var i=r?function(n){for(var e=0;e<r.length;e++)if(-1!==n.indexOf(r[e]))return!0;return!1}:yt.ALWAYS_FALSE,o=!1;function a(n,e){t.emit(n?yt.EVENTS.BlackoutEnter:yt.EVENTS.BlackoutLeave,e)}function e(n){var e;i(n)!==o&&(a(e=!o,n),o=e)}function u(){a(!0,n.top.location.href),o=!0}function c(){a(o=!1,n.top.location.href)}this.isUnderBlackout=function(){return o},t.on("init:loaded",function(){e(n.location.href)}),t.on("navigation",function(){e(n.location.href)}),t.on("local:forceBlackoutEnter",u),t.on("local:forceBlackoutLeave",c),this.forceBlackoutEnter=function(){u()},this.forceBlackoutLeave=function(){c()}}function wt(n,e,t,r){this.severity=n,this.code=e,this.count=t,r&&(this.msg=r)}function bt(s){var e={tilda:"_clstil",asterisks:"_clsast",space:"_clsspc"};function u(n){return!!s.noMetaTagInSelector&&(n.parentNode&&-1<n.parentNode.nodeName.indexOf("META"))}function f(n,e){if(h(n)&&!u(n))return e?R.encoding.rootSelector:n.nodeName;var t=c(n.nodeName,e),r=function(n){if(!n.parentNode)return null;var e=n.parentNode.childNodes;if(e.length<2)return null;for(var t=n.nodeName,r=[],i=0;i<e.length;i+=1)e[i].nodeName===t&&r.push(e[i]);if(r.length<2)return null;for(var o=0;o<r.length;o+=1)if(r[o]===n)return o;return null}(n);if(null!==r)return function(n,e,t){t||(n+=":eq");return n+"("+e+")"}(t,r,e);if(R.useClassesInSelectors){var i=q.getClassList(n);if(0<i.length){for(var o=t,a=0;a<i.length;a++)o+="."+i[a];return o}}return t}function d(n,e,t){var r=q.getElementId(n);return(r&&-1!==r.indexOf("~")||-1!==r.indexOf("*")||-1!==r.indexOf(" "))&&(r=i(r)),e?c(n.nodeName,t)+"#"+r:"#"+r}function l(n,e){var t=typeof e;"string"!=t&&"number"!=t||n.unshift(e)}function c(n,e){return e?R.dictionary.encodeNodeName(n):n}function h(n){var e=n.nodeName;return"HTML"===e||"BODY"===e||u(n)}function i(n){return n.replace(/~/g,e.tilda).replace(/\*/g,e.asterisks).replace(/ /g,e.space)}function v(n){for(var e=n.parentNode;null!==e;){if(void 0===e&&console.log("hasFormAncestor undefined node: ",n),"FORM"===e.nodeName)return 1;e=e.parentNode}}function m(n,e,t){e="["+e+"='"+n.getAttribute(e)+"']";return-1===e.indexOf("~")&&-1===e.indexOf("*")&&-1===e.indexOf(" ")||(e=i(e)),c(n.nodeName,t)+e}function g(n,e){if(0===s.noIdSelectorsForClassNames.length&&0===s.noIdSelectorsForIDs.length&&0===s.noIdSelectorsForAttrs.length)return 1;for(var t=q.getClassList(n),r=0;r<s.noIdSelectorsForClassNames.length;r++)if(0<=E.indexOf(t,s.noIdSelectorsForClassNames[r]))return;for(r=0;r<s.noIdSelectorsForAttrs.length;r++)if(n.hasAttribute(s.noIdSelectorsForAttrs[r]))return;for(r=0;r<s.noIdSelectorsForIDs.length;r++){var i=s.noIdSelectorsForIDs[r];if(i&&0<=e.indexOf(i))return}return 1}this.getSelectorInfo=function(n,e,t){e=void 0!==e?e:R.encodeSelectors,t=t||{useId:!0};var r=s.useIdSelectors&&t.useId;if(null===n||E.isUndefined(n)||!q.isElement(n))return{selector:R.encoding.rootSelector};if(n.name&&s.preferNamesInFormSelectors&&v(n))return{selector:m(n,"name",e)};if(r){var i=q.getElementId(n);if(i&&!q.isDuplicateElementId(i)&&g(n,i))return{selector:d(n,!0,e)}}if(n.name&&s.useNameInFormSelectors&&v(n))return{selector:m(n,"name",e)};if(t.identifyingAttribute&&n.hasAttribute(t.identifyingAttribute))return{selector:m(n,t.identifyingAttribute,e)};for(var o=[f(n,e)],a=n,u=e?"*":">";a.parentNode&&!h(a);)if(1===(a=a.parentNode).nodeType){var c=q.getElementId(a);if(c&&r&&!q.isDuplicateElementId(c)&&g(a,c))return l(o,d(a,!1)),{selector:o.join(u)};if(l(o,f(a,e)),a===parent)return{selector:o.join(u)}}return{selector:o.join(u)}}}function Et(n){var o,r=n.createElement("div"),c=Element.prototype.matches||Element.prototype.msMatchesSelector||function(){return!1},a=(o=/([^>]*):eq\((\d+)\)/gi,function(n){for(var e,t=[],r=0,i=o.exec(n);null!==i;)i.index&&(e=u(n.substring(r,i.index)))&&t.push({selector:e,eqIndex:-1}),t.push({selector:u(i[1]),eqIndex:parseInt(i[2])}),r=i.index+i[0].length,i=o.exec(n);return r<n.length&&(e=u(n.substring(r)))&&t.push({selector:e,eqIndex:-1}),t});function u(n){return n.replace(/^[\s>]*|[\s>]*$/gi,"")}function f(n,e,t,r,i){if("function"!=typeof n.querySelector)return[];if(-1!==e.eqIndex){if(1===r){r=n.querySelectorAll(e.selector);return r[e.eqIndex]?[r[e.eqIndex]]:[]}for(var o=0,a=n&&n.nodeType===Node.DOCUMENT_NODE?[n.documentElement]:n.children,u=0;u<a.length;u++)if(c.call(a[u],e.selector)&&o++===e.eqIndex)return[a[u]];return[]}if(i&&t){t=n.querySelector(e.selector);return t?[t]:[]}return Array.prototype.slice.call(n.querySelectorAll(e.selector))}function s(n,e,t){for(var r,i,o,a,u=(e=e.slice()).length,c=[],s=[n];0<e.length;){for(r=e.shift(),o=[],i=0;i<s.length;i++){if(a=f(s[i],r,t,u,0===e.length),t&&0===r.length&&0<a.length)return[a[0]];o.push.apply(o,a)}c=s=o}return c}function d(n,e){return s(n,e,!1)}return{querySelector:function(n,e){var t,r,i=a(e);return t=e,r=i,(e=n)&&e.nodeType!==Node.ELEMENT_NODE||(1===r.length&&-1===r[0].eqIndex?!c.call(e,t):-1===d(q.getRootNode(e),r).indexOf(e))?s(n,i,!0)[0]||null:n},matches:function(n,e){var t=a(e);return 1===t.length&&-1===t[0].eqIndex?c.call(n,e):-1!==d(n.ownerDocument,t).indexOf(n)},isValidSelector:function(n){if(!n)return!1;try{for(var e=a(n),t=0;t<e.length;t++)f(r,e[0],!0,e.length,!0);return 0<e.length}catch(n){return!1}}}}function Ct(n,u,e,c){var s,f,d=q.immutableSet.apply(null,e);function l(n,e,t,r){t?d[e]&&n.push(e+"="+t):r&&d[e]&&n.push(e)}u=encodeURIComponent(u),n.on("updateSafariQueryString",function(n){s=n}),n.on("newRemoteConfig",function(n){f=n.hash}),this.apply=function(n,e,t,r){var i,o=[];if(l(o,"clsjsv",u),e&&(l(o,"_cls_s",e.sessionId),l(o,"_cls_v",e.visitorId),d.ref&&o.push("ref="+encodeURIComponent(e.referrer)),l(o,"_cls_subs",e.subSessionId),l(o,"pid",e.pageId),c&&l(o,"cls_e",e.integrationId)),l(o,"sn",t),c&&l(o,"cfg",f,!0),l(o,"pv","2"),r)for(i in r)r.hasOwnProperty(i)&&o.push(i+"="+r[i]);if(s&&s.length)for(var a=0;a<s.length;a++)o.push(s[a].key+"="+s[a].value);return o.length?n+(-1!==n.indexOf("?")?"&":"?")+o.join("&"):n},this.updateNativeCookies=function(n){s=n},this.setConfigurationHash=function(n){f=n},this.setClse=function(n){clse=n}}function St(t,e){function r(n){return e.keysPrefix+n}t=t||{},this.get=function(n){try{return t[r(n)]}catch(n){return U}},this.set=function(n,e){try{return t[r(n)]=e}catch(n){return V.emit("clsDebug","error writing to local storage, in StorageAccessor. Exception message: "+n.message),U}},this.remove=function(n){try{return delete t[r(n)]}catch(n){return U}}}function Tt(r,i){r=r||{};var n,o=i.keysPrefix+"sid",a=function(){return n=n||i.sessionIdFunc()};function u(n){return i.keysPrefix+n}this.get=function(n){var e=a();if(!e)return U;try{if(e===r[o])return r[u(n)]}catch(n){}return U},this.set=function(n,e){var t=a();if(!t)return U;try{return t!==r[o]&&function(){for(var n in r)0===n.indexOf(i.keysPrefix)&&delete r[n]}(),r[o]=t,r[u(n)]=e}catch(n){V.emit("clsDebug","error writing to storage, in BoundStorageAccessor. Exception message: "+n.message)}return U},this.remove=function(n){var e=a();if(!e)return!0;try{if(e===r[o])return delete r[u(n)]}catch(n){}return!0}}function It(u,c){c=q.optionsWithDefaults(c,{domainBy:"tld",tldSegmentCount:-1,enableSecureCookie:!0});var s,f={};function d(n,e,t,r){e=encodeURIComponent(n)+"="+(e+"").replace(/[^!#-+\--:<-\[\]-~]/g,encodeURIComponent);return e+=";path=/",e+=t,c.enableSecureCookie&&q.isHTTPS(c.reportURI)&&(e+=";Secure",e+=";SameSite=None"),e+=r?";expires="+r.toUTCString():""}this.get=function(n){var e,t=f[n];return void 0===t&&(e=n,t=(e=new RegExp("[,; ]"+e+"=([^\\s,;]*)","gi").exec(";"+u.cookie))&&e[1]||null,f[n]=t),null===t?U:t},this.set=function(n,e,t){if(f[n]=e,void 0!==s)u.cookie=d(n,e,s,t);else{for(var r,i=!1,o=function(){if("fqdn"===c.domainBy)return[""];var n,e=[],t=u.location.host.split(":")[0]||"",r=t.split(".");if(r.length<2)return[""];if(2===r.length)return[t];if(2<=c.tldSegmentCount&&c.tldSegmentCount<=r.length)return["."+r.slice(-c.tldSegmentCount).join(".")];for(n=2;n<r.length;n++)e.push("."+r.slice(-n).join("."));return e}(),a=0;a<o.length;a++)if(r=o[a]?";domain="+o[a]:"",u.cookie=d(n,e,r,t),-1!==u.cookie.indexOf(n)&&-1!==u.cookie.indexOf(e)){s=r,o[a],i=!0;break}i||(s="")}}}function kt(o,n,a,e,t,u,r){e=e||{},u=E.isNumber(u)&&0<u?u:1825;var c="cls_v_expr";function i(n){var e=n,t=!1,r=!1,i=!1;if(e)e!==a.get(R.cookies.visitor)&&(i=r=!0);else if(e=a.get(R.cookies.visitor)){if(!(n=(n=o.get(c))&&parseInt(n))||n!==u){r=i=!0;try{o.set(c,u)}catch(n){logger.error("Error while setting _cls_v expiration date. Exception: "+n.message,n)}}}else r=t=!0,e=q.uuid();return r&&a.set(R.cookies.visitor,e,q.dateFromNow(24*u*60*60*1e3)),{isNew:t,visitorId:e,valueChanged:i}}var s={};t||(g=i(e.visitorId),s.visitorId=g.visitorId,s.changed=g.valueChanged);var f,d,l,h,v,m,g=(f=t&&!r,d=e.sessionId,l=g&&g.isNew,m=v=!1,f?(h=q.uuid()+":"+(l?"0":"1"),m=v=!0):(h=d)?h!==a.get(R.cookies.session)&&(m=v=!0):(h=a.get(R.cookies.session))||(h=q.uuid()+":"+(l?"0":"1"),v=!0),v&&(a.set(R.cookies.session,h),n.emit("newSessionSet")),{sessionId:h,valueChanged:m,isExist:!v});return s.sessionId=g.sessionId,s.isSessionIdExist=g.isExist,s.changed=s.changed||g.valueChanged,s}function xt(n,e,t){var r=E.isNumber(n)&&E.isNumber(e);return r||_n.setErrorOnEvent(state.currentlyEncodedPageEvent,_n.types.WINDOW_SIZE_NOT_VALID_ERR,"Non valid values for window size for "+t+": x="+n+" y="+e),r?{width:n,height:e}:null}function Mt(n){var e=q.getClassList(n);if(e)for(var t=0;t<e.length;t++)if(q.startsWith(e[t],Pn.byClassPrefix))return"."+e[t];return U}function Rt(n,e,t){this.url=e,this.timestamp=t,this.type=n}function At(n,e){this.x=n,this.y=e}function Nt(n,i){n=n||{};var o=q.immutableSet("password","text","number","file","url","search","email","date","time","tel","range","month","week","datetime","datetime-local","color","radio");return n.extractElementValue=function(n,e){var t=e.nodeName;if("INPUT"===t){var r=e.type;if(o[r])return i.censor(e);if("checkbox"===r)return e.checked?"true":"false"}else{if("TEXTAREA"===t)return i.censor(e);if("SELECT"===t){t=e.options;if(!E.isUndefined(t)&&"number"==typeof t.length&&0<t.length){if(!E.isUndefined(e.multiple)&&e.multiple)return"["+function(n){for(var e=[],t=0;t<n.length;t++){var r=n[t];r.selected&&e.push(i.censor(r,!0))}return e}(t).join(",")+"]";if(!E.isUndefined(e.selectedIndex)&&!E.isUndefined(t[e.selectedIndex]))return i.censor(t[e.selectedIndex],!0)}}}},n.extractElementSource=function(n,e){e=e.src||e.href;return E.isUndefined(e)||null==e?void 0:e},n.extractLocationHash=function(n,e){return q.getLocationUrlSplitByHash().hash},n.extractScrollValue=function(n,e){if("#document"!==e.nodeName)return new At(e.scrollLeft,e.scrollTop);e=q.getScrollTopLeft();return new At(e.left,e.top)},n.extractScrollReach=function(n,e){if("#document"===e.nodeName)return{top:j.documentElement.scrollTop,height:j.documentElement.scrollHeight,domElementsCount:j.getElementsByTagName("*").length}},n.extractMouseMoveValue=function(n,e){return[q.getCoordinate(n)]},n}function Dt(n){if("object"==typeof console)for(var e in n)!function(n,e){var t;"function"==typeof console[n]&&(t=console[n],console[n]=function(){var n=Array.prototype.slice.call(arguments);t.apply(console,n),e(n)})}(e,n[e])}function _t(r){var i=null;this.setNext=function(n){i=n},this.handle=function(n,e,t){r&&t&&(n.events=Bn.truncateEventsForUnload(n.events)),i.handle(n,e,t)}}function Ot(i){var r=null;this.setNext=function(n){r=n},this.handle=function(n,e,t){!function(n,e){if(e&&i)for(var t=n.events,r=0;r<t.length;r++)t[r].domSnapshot&&delete t[r].domSnapshot}(n,t),r.handle(n,e,t)}}function Lt(c){c=c||5e4;var r=null,s={},f={};this.setNext=function(n){r=n},this.handle=function(n,e,t){!function(n,e){var t,r,i,o,a=n.encodedEvents,u=n.metadata.pageId;for(s[u]=s[u]||1,t=0;t<a.length;t++)o=(r=a[t]).length+R.encoding.delimiters.events.length,(!i||i.estimatedEncodedLength+o>c)&&(i&&(i.endIndex=t),i={startIndex:t,metadata:n.metadata,encodedEvents:[],eventSetId:n.id,estimatedEncodedLength:0,sn:s[u]},f[u]&&(i.storage=!0),s[u]++,e.push(i)),i.encodedEvents.push(r),i.estimatedEncodedLength+=o;i&&(i.endIndex=t)}(n,e),r.handle(n,e,t)},this.onRestoreState=function(n,e){q.assign(s,n),q.assign(f,e)}}function Ft(i,o){var r=null;this.setNext=function(n){r=n},this.handle=function(n,e,t){!function(n,e){for(var t=n.metadata.pageId,r=0;r<e.length;r++)i[t]=i[t]||{},i[t][e[r].sn]={startIndex:e[r].startIndex,endIndex:e[r].endIndex,eventSetId:e[r].eventSetId,sn:e[r].sn}}(n,e),r.handle(n,e,t)},this.onReporterMessage=function(n,e,t,r){t?t&&i[e]&&i[e][n]&&(o(e,i[e][n],t),delete i[e][n]):o(e,i[e][n],t,r)}}function Pt(u,c){var s,f=null;this.setNext=function(n){f=n},this.handle=function(n,e,t){for(var r,i,o=[],a=0;a<n.events.length;a++)r=(i=n.events[a]).selectorExpression||R.encoding.rootSelector,(s=function(e,n){try{return u.encodeEvent(e,n)}catch(n){logger.error("ERROR: while encoding event: "+e.type+" . Exception: ",n.stack||n.message),c&&(c.encodingErrors=c.encodingErrors||[],c.encodingErrors.length<100&&c.encodingErrors.push(n.message))}}(i,r))&&o.push(s);n.encodedEvents=o,f.handle(n,e,t)}}function Bt(n,e,t,r,i){for(var o=new Lt(n.config.maxReportSize),a=[new _t(i.truncateEventsWithUnload),new Ot(i.domOmitAfterUnload),new Pt(t,r),o,e,new Ht],u=0;u<a.length;u++)a[u].setNext(a[u+1]);this.handle=function(n,e){for(var t=[],r=0;r<n.length;r++)a[0].handle(n[r],t,e);return t},this.restoreState=function(n,e){o.onRestoreState(n,e)}}function jt(t,n,e,r,i){var o={};function a(n){n.data&&o[n.data.name]&&o[n.data.name](n.data.data)}function u(n,e){o[n]=e}function c(n,e){t.postMessage({name:n,data:e||{}})}function s(n){c("GBX_EventLog",n.toJSON())}t.addEventListener("message",a,!1),u("GBX_Inspection",function(){n.extensionInspectMode=!0}),u("GBX_StopInspection",function(){n.extensionInspectMode=!1}),this.initialize=function(){j.querySelector("meta[name='gb-extension']")&&(e.on("extensionEvent",s,null,-1),c("GBD_initData",{detectorConfig:i,version:n.version}))},this.removeListener=function(){t.removeEventListener("message",a,!1)}}function Ut(t,r){var i=null;this.setNext=function(n){i=n},this.handle=function(n,e){r&&r.extensionInspectMode||(t.emit("extensionEvent",n.event),i.handle(n,e))},this.onPipelineTick=function(){}}function Ht(){this.setNext=function(){},this.handle=function(){},this.onPipelineTick=function(){}}function Vt(n){var r=null,i=U,e=0,o=[];function t(){i=U,o=[]}function a(n){return new Ve(++e,n)}n.on("recordingStopped",function(){t()}),n.on("session:setSessionId",function(e){o.length&&o.map(function(n){n.metadata&&n.metadata.sessionId&&(n.metadata.sessionId=e)})}),this.setNext=function(n){r=n},this.handle=function(n,e){var t;E.contains(R.nobelEventTypes,n.event.type)?((t=a(n.metadata)).events.push(n.event),o.push(t),i=U):(i&&i.metadata===n.metadata||(i=a(n.metadata),o.push(i)),i.events.push(n.event)),r.handle(n,e)},this.pull=function(){var n=o;return t(),n},this.onPipelineTick=function(){}}function qt(n,t){var r,e,i,o=null;function a(){q.currentTimestamp()-e<H.maxTimeForIdleEvent&&n.emit("reporter:idle",{idleBaseTime:e,latestEventTime:r})}e=r=q.currentTimestamp(),-1!==t&&(i=setInterval(a,t)),this.setNext=function(n){o=n},this.handle=function(n,e){-1!==t&&(clearInterval(i),i=setInterval(a,t),r=q.currentTimestamp()),o.handle(n,e)},this.onPipelineTick=function(){}}function zt(n,e){var r,i={},o=!1;function a(){return{sessionId:i.sessionId,subSessionId:i.subSessionId,visitorId:i.visitorId,pageId:i.pageId,pssn:i.pssn,referrer:i.referrer,subPage:i.subPage,segment:i.segment,reportURI:e,integrationId:i.integrationId}}n.on("init:preloaded",function(n){(i={}).sessionId=n.sessionId,i.visitorId=n.visitorId,i.pageId=n.pageId}),n.on("session:new",function(n){(i={}).sessionId=n.sessionId,i.visitorId=n.visitorId,i.pageId=n.pageId}),n.on("session:newSubSessionId",function(n){(i=a()).pssn=n.pageSnapshotSN,i.subSessionId=n.subSessionId}),n.on("pageSnapshot:report",function(n){(i=a()).pssn=n.seq}),n.on("session:setSessionId",function(n){(i=a()).sessionId=n}),V.on("remoteClseConf",function(n){(i=a()).integrationId=n}),V.on("newSessionSet",function(){(i=a()).integrationId=U}),this.setNext=function(n){r=n},this.handle=function(n,e){var t=E.contains(R.nobelEventTypes,n.event.type);(o||t||i.referrer!==n.event.referrer||i.subPage!==n.event.subPage||i.segment!==n.event.segment)&&(o=t?!0:o&&!1,(i=a()).referrer=n.event.referrer,i.subPage=n.event.subPage,i.segment=n.event.segment),n.metadata=i,r&&r.handle(n,e)},this.onPipelineTick=function(){}}function Wt(r){var i,o,a=null,u=!1,c=q.immutableSet("mousemove","resize","scroll");this.setNext=function(n){a=n},this.handle=function(n,e){var t=r(o,i,n.event);o=i,i=n.event,!t||n.event.domSnapshot&&n.event.domSnapshot.domChanges?(o&&c[o.type]&&u&&(u=!1,a.handle({event:o},e)),a.handle(n,e)):u=!0},this.onPipelineTick=function(n){u&&100<q.currentTimestamp()-i.timestamp&&(u=!1,a.handle({event:i},n),i=o=U)}}function Gt(n,e,t){var r,i,o,a,u,c,s,f,d,l,h,v,m,g,p,y,w,b,E=null,C=q.compositeFunctionBuilder().add(t.domRecordEnabled?(m=On,g=t,p=!1,y=-1,w=q.immutableSet.apply(null,R.snapshotApplicableEventType),b=q.immutableSet("pageUpdate","mousedown","touchstart","drag","keydown","unload"),function(n){return-1!==g.domExpireSnapshotAfter&&"pageSnapshot"!==n.type&&-1!==y&&n.timestamp-y>g.domExpireSnapshotAfter&&(I().reset(),m.useCurrentTimeForPagesnapshot=!0),(p=p||b[n.type])&&(w[n.type]||"keydown"===n.type&&n.value&&(13===n.value.unicode||9===n.value.unicode))&&(n.domSnapshot=I().getDomSnapshot()),"pageSnapshot"!==n.type&&(y=n.timestamp),!("pageUpdate"===n.type&&!n.domSnapshot)&&!I().getDomMasker().isDomMasked(n.element,Jn.SELF_OR_ANY_PARENT,Kn.OMIT)}):U).add((h=He.prototype.SELECTOR_ACTION_COUNT,v={},function(n){var e;return n.selectorExpression&&(void 0===v[n.selectorExpression]&&(v[n.selectorExpression]=0),e=++v[n.selectorExpression],n.setExtraInfo(h,e)),!0})).add((o={},a={},u={},c={},l=d=f=!(s={}),(e=e).on("beacon:sending",function(n){o[n]=!0}),e.on("beacon:sent",function(n){delete o[n]}),e.on("beacon:storageAdded",function(n){a[n]=!0}),e.on("beacon:storageRemoved",function(n){delete a[n]}),e.on("beacon:failed",function(n){s[n.sn]=n.status}),e.on("beacon:storageFlushFail",function(n){u[n]=!0}),e.on("beacon:sizeExceed",function(n){c[n]=!0}),e.on("beacon:sendingFromStorage",function(){f=!0}),e.on("beacon:failedSendingFromStorage",function(){d=!0}),e.on("devToolsVisibilityChanged",function(n){i=n.size}),e.on("worker:init",function(n){l=!!n}),function(n){return"unload"===n.type&&(S(n,o,He.prototype.DEBUG_UNCONFIRMED_BEACONS),S(n,a,He.prototype.DEBUG_STORAGE_PENDING),S(n,u,He.prototype.FAILED_STORAGE_FLUSH_BEACONS),S(n,c,He.prototype.STORAGE_SIZE_EXCEED),T(n,s,He.prototype.RETRIED),f&&n.setExtraInfo(He.prototype.FAILED_SEND_FROM_STORAGE,!0),d&&n.setExtraInfo(He.prototype.SENDING_FROM_STORAGE,!0),i&&n.setExtraInfo(He.prototype.DEVTOOLS_VALUES,i),n.setExtraInfo(He.prototype.USING_WORKER,l)),!0})).add((r=On.logicalSegmentTracker,function(){return r.onBeforeEmittingPageEvent(),!0})).buildBooleanAnd();function S(n,e,t){e=Object.keys(e);e.length&&n.setExtraInfo(t,e.join(","))}function T(n,e,t){var r=Object.keys(e);r.length&&(function(n,e){for(var t=0;t<n.length;t++)n[t]="sn_"+n[t]+"_status_"+e[n[t]]}(r,e),n.setExtraInfo(t,r.join(",")))}function I(){return m.plugins.domRecordingPlugin}this.setNext=function(n){E=n},this.handle=function(n,e){C(n.event)&&E.handle(n,e)},this.onPipelineTick=function(){}}function Xt(n,e,t,r,i){for(var o={stats:r},a=[new Wt(Bn.diluteEvents.gbBind(Bn)),new Gt(0,e,i),new zt(e,i.reportURI),new Ut(e,On),new qt(e,i.idleEventTimeInterval),t,new Ht],u=0;u<a.length;u++)a[u].setNext(a[u+1]);setInterval(function(){for(var n=0;n<a.length;n++)a[n].onPipelineTick(o)},5e3),e.on("saveEvent",function(n){n={event:n};try{a[0].handle(n,o),"mousedown"===n.event.type&&i.domForceUpdateOnClick&&setTimeout(function(){e.emit("pageUpdate")},100)}catch(n){logger.error("Failed handling page event'. Error: "+n.message,n)}})}function Jt(i,o,a,u,c,n,s,f,d){var l,h=[];function v(n){var e,t,r=(new Date).getTime();-1!==d&&l&&r-l<d?(t=n,e=d-((e=r)-l),setTimeout(g.bind(null,h.shift(),t),e),l+=d):(l=r,g(h.shift(),n))}function m(){h.length?v():f++}function g(n,e){var t,r;n&&(t=n.beacon,r=n.queryParams,t.storage&&(r.storage=!0),n=o.encodeBeacon(R.beaconVersion,t.metadata,t.encodedEvents,t.sn),e&&f--,i.emit("beacon:sending",t.sn),a.dispatch(n,t.metadata,t.sn,r,m),s(t.sn,n.length),t.sn,t.metadata.pageId,t.encodedEvents.length)}-1===f&&(f=1e3),i.on("removeFromStorage",n.untrack),this.restoreState=function(n,e){u.restoreState(n,e)},this.encodeAndDispatch=function(n,e,t){try{var r,i,o=c?{aid:e}:{},a=function(n,e){for(var t=[],r=0;r<n.length;r++)n[r].encodedEvents.length&&t.push({beacon:n[r],queryParams:e});return t}(u.handle(n,t),o);for(a.length&&(h=h.concat(a)),i=Math.min(h.length,f),r=0;r<i;r++)v(!0),i=Math.min(h.length,f)}catch(n){logger.error("Error while flushing beacons. message:",n.message)}}}function Kt(t,r){this.set=function(n,e){try{t[n]=r.encode(e)}catch(n){logger.error("error: failed writing to storage. message:",n.message),V.emit("clsDebug","error writing to storage, in StorageWriter. Exception message: "+n.message)}},this.getAndClear=function(n){try{var e=t[n];if(t.removeItem(n),e)return r.decode(e)}catch(n){logger.error("error: failed reading from storage: "+n.message,n)}return U}}function Qt(t,e,r,o,a,i,u,c,s){var f,d,n=!1,l=!1,h="",v=-1,m=!(s.reportPreferSendBeaconAPI&&ht.isSupported()),g={};function p(){return n&&l&&d}function y(n,e){v=Math.max(v,n),c.count++,c.flushedBytes+=e}function w(){if(p())try{var n=a.pull();n.length&&(b(n),Bn.notifyEventsFlush())}catch(n){logger.error("ERROR: while flushing pending events. Exception: ",n.stack||n.message)}}function b(n){o.track(n),d.encodeAndDispatch(n,h)}function E(){try{var n=u.getAndClear(Kt.KEY_NAME_SN),e=u.getAndClear(Kt.KEY_NAME_EST);n&&e&&e.length&&(d.restoreState(n,function(n){for(var e={},t=0;t<n.length;t++)e[n[t].metadata.pageId]=!0;return e}(e)),t.emit("beacon:sendingFromStorage"),b(e))}catch(n){t.emit("beacon:failedSendingFromStorage"),logger.error("error: could not send pending storage reports. message:",n.message)}}function C(){var n;E(),(n=s.reportByPost?s.reportPostInterval:s.reportInterval)&&!f&&(f=setInterval(w,n))}function S(n){try{g[n.data.pageId].postMessage({messageId:n.data.messageId,type:"eventSet"}),p()?b(n.data.eventSets):(logger.error("Cannot flush event sets of a child iframe as the Flusher is not ready."),t.emit("clsDebug","cannot flush child iframe's events: dispatcher not set (waiting for worker?)."))}catch(n){logger.error("ERROR: while flushing event sets of a child iframe. Exception: ",n.stack||n.message)}}t.on("worker:init",function(n){d=n?new $t(n,o,y,t):new Jt(t,e,r,i,m,o,y,s.reportMaxConcurrency,s.reportTimingBetweenBeacons),p()&&C()}),t.on("corsReady",function(){l=!0,p()&&C()}),t.on("corsReset",function(){l=!1}),t.on("encryptionReady",function(){n=!0,p()&&C()}),t.on("sendStoragePendingReports",E),t.on("event:unload",function(){try{var n,e,t,r,i=a.pull();s.storageBackedReporting?(n=o.packageEventSets(),e=[],Array.prototype.push.apply(e,n.eventSets),Array.prototype.push.apply(e,i),n.sn[i[0].metadata.pageId]=n.sn[i[0].metadata.pageId]||1,n.eventSets=Ve.reduceByMetadata(e),t=u.getAndClear(Kt.KEY_NAME_EST),(r=u.getAndClear(Kt.KEY_NAME_SN))&&q.assign(n.sn,r),t&&Array.prototype.push.apply(n.eventSets,t),u.set(Kt.KEY_NAME_EST,n.eventSets),u.set(Kt.KEY_NAME_SN,n.sn)):i.length&&p()&&b(i)}catch(n){logger.error("Flusher error: handling 'unload' event raised an error.",n.message)}},U,1e3),t.on("forceFlush",w),t.on("analyzerId",function(n){h=n}),t.on("iframePortReceived",function(n){p()&&E(),g[n.pageId]=n.port,n.port.onmessage=S}),this.flush=function(){w()}}function Yt(e,r,i,t,o,a){var u,c=1,s={};function f(n){try{var e=t.pull();e.length&&(d(e,n),Bn.notifyEventsFlush())}catch(n){logger.error("ERROR: while flushing pending events. Exception: ",n.stack||n.message)}}function d(n,e){try{var t;s[c]=n,!e||e&&!a.storageBackedReporting?(i.send({eventSets:n,messageId:c,pageId:r().page.id}),c++):(t=(o.getAndClear(Kt.KEY_NAME_EST)||[]).concat(function(n){var e,t=[];for(e in n)n.hasOwnProperty(e)&&(t=t.concat(n[e]));return t}(s)),o.set(Kt.KEY_NAME_EST,t),s={})}catch(n){logger.error("Exception while flushing events. message:",n.message)}}function l(n){var e;"ack"===n.data.type?(f(),(e=a.reportByPost?a.reportPostInterval:a.reportInterval)&&!u&&(u=setInterval(f,e))):delete s[n.data.messageId]}e.on("init:loaded",function(){var n=i.initPorts(l);e.emit("frame:port",{args:{pageId:r().page.id},transferable:n})}),e.on("event:unload",f.gbBind(null,!0)),e.on("forceFlush",f),e.on("sendStoragePendingReports",function(){try{var n=o.getAndClear(Kt.KEY_NAME_EST);n&&n.length&&(e.emit("beacon:sendingFromStorage"),d(n,!1))}catch(n){e.emit("beacon:failedSendingFromStorage"),logger.error("error: could not send pending storage reports. message:",n.message)}}),this.flush=function(){u&&f()}}function $t(r,e,t,i){r.addEventListener("message",function(n){n=n.data;"beaconSent"===n.type?t(n.sn,n.encodedLength):"onBeaconResponse"===n.type?n.success?(e.untrack({pageId:n.pageId,beaconData:n.beaconData}),i.emit("beacon:sent",n.sn)):i.emit("beacon:failed",{sn:n.sn,status:n.requestStatus}):"newConfig"===n.type&&i.emit("handleGatewayResponse",n.config)}),i.on("updateSafariQueryString",function(n){r.postMessage({type:"updateQueryString",args:[n]})}),i.on("confHashChange",function(n){r.postMessage({type:"confHashChange",args:[n]})}),this.restoreState=function(n,e){r.postMessage({type:"restoreState",args:[n,e]})},this.encodeAndDispatch=function(n,e,t){n=n.map(function(n){return n.toJSON?n.toJSON():n});r.postMessage({type:"encodeAndDispatch",args:[n,e,t]})}}function Zt(o){var a=[];function t(e,n){for(var t,r=[],i=0;i<a.length;i++)try{jn.uriContainsAnyOf(e,[a[i].rule.urlMatcher])&&(t=jn.tryParseValueMap(n,a[i].keySet))&&r.push({urlMatcher:a[i].rule.urlMatcher,valueMap:t})}catch(n){logger.error("Error while parsing request for  "+e+" for third party integration: "+n.message,n)}r.length&&o.emit("3rdPartyAttribute",r)}o.on("newRemoteConfig",function(n){if(n.thirdPartyAttributeRules)for(var e=0;e<n.thirdPartyAttributeRules.length;e++)(t=n.thirdPartyAttributeRules[e]).urlMatcher&&t.attributes&&t.attributes.length&&a.push({rule:n.thirdPartyAttributeRules[e],keySet:q.immutableSet.apply(null,n.thirdPartyAttributeRules[e].attributes||[])});var t}),o.on("ajax:send",function(n){"POST"===n.method&&"string"==typeof n.requestContent&&t(n.url,n.requestContent)}),this.intercept=function(n){var e=(n.src||"").split("?")[1];e&&t(n.src,e)}}function nr(i,o,a,logger,c,u){function s(n,e,t){for(var r=n,i=0;i<e.length;i++)if(!(r=r[e[i]]))return null;return function(n,e){var t,r,i,o,a=[];for(n instanceof Array||(n=[n]),t=0;t<n.length;t++)if(i=n[t][e])for(r=0;r<i.length;r++){var u=i[r].responseTokens;(o=u)&&o["experience.id"]&&o["experience.name"]&&o["activity.id"]&&o["activity.name"]?a.push({variantId:u["experience.id"],variantName:u["experience.name"],experimentId:u["activity.id"],experimentName:u["activity.name"]}):c.abTesting.missingFields++}return a}(r,t)}(c=c||{}).abTesting={missingFields:0,success:0},function(){try{var n=i[u];if(n&&n.length){for(var e=[],t=0;t<n.length;t++){var r=n[t];r&&r.RecipeId&&r.RecipeName&&r.CampaignId&&r.CampaignName&&e.push({variantId:r.RecipeId,variantName:r.RecipeName,experimentId:r.CampaignId,experimentName:r.CampaignName})}e.length&&o.emit("abTesting",{provider:"adobe",offers:e})}}catch(n){logger.error("error during abTesting data extraction from global object. message:",n.message),o.emit("clsDebug","error during abTesting data extraction from global object. message:"+n.message)}}(),o.on("ajax:end",function(n){try{if(200<=n.status&&n.status<=202&&n.resContentType&&-1<n.resContentType.indexOf("application/json")){var e,t,r;if(n.responseType&&"text"!==n.responseType){if("json"!==n.responseType)return;t=n.response}else t=JSON.parse(n.responseText);for(e=0;e<a.length;e++)if(new RegExp(a[e].urlMatcher,"i").test(n.url)&&(r=s(t,a[e].path,a[e].tokenContainer))&&r.length){o.emit("abTesting",{provider:"adobe",offers:r}),c.abTesting.success++;break}}}catch(n){}})}function er(f,d,logger,e){var l;function t(){if(f.optimizely&&f.optimizely.get&&!l){var n=f.optimizely.get("state"),e=n.getActiveExperimentIds();if(e&&e.length){var t,r=[],i=n.getVariationMap(),o=n.getExperimentStates();for(l=!0,t=0;t<e.length;t++){var a,u,c,s=e[t];i[s]&&(a=i[s].id,u=i[s].name),o[s]&&(c=o[s].experimentName),a&&s&&(r.push({variantId:a,variantName:u||a,experimentId:s,experimentName:c||s}),JSON.stringify({variantId:a,variantName:u||a,experimentId:s,experimentName:c||s}))}r.length&&d.emit("abTesting",{provider:"optimizely",offers:r})}}}q.waitForObjDefined(f,"optimizely",t),e.optimizelyCheckOnSegmentLoad&&d.on("segmentChanged",function(){l=!1}),d.on("ajax:end",function(n){e.optimizelyUrl&&-1<n.url.indexOf(e.optimizelyUrl)&&n.status<400&&0<n.status&&setTimeout(t,10)})}function tr(e,n,logger,t){var r,i=t.adobeRsid,o=t.adobeEVarNumber,a=!1;function u(){var n;e.s_gi&&i?(n=e.s_gi(i))&&o&&r?(n["eVar"+o]=r,n.t?n.t():logger.error("## AdobeAnalyticsInterceptor -> callAppMeasurementAPI() -> t function not exist")):logger.error("## AdobeAnalyticsInterceptor -> callAppMeasurementAPI() -> trackerObj not exist"):logger.error("## AdobeAnalyticsInterceptor -> callAppMeasurementAPI() -> s_gi function not exist")}n.on("invalidateSession",function(){a=!1}),n.on("remoteClseConf",function(n){n&&!a&&(a=!0,r=n,e.AppMeasurement?u():q.waitingInterval(e,"AppMeasurement",u,1e3,t.adobeAPIMaxAttempts))})}function rr(e,n,logger,t){var r,i=t.googleDimensionIndex,o=t.gaMeasurementId,a=!1,u="dimension",c="gbSessionId",s="Glassbox_Integration";function f(){var n;0<=i&&r&&o?e.gtag?((n={custom_map:{},send_page_view:!1}).custom_map[u+i]=c,e.gtag("config",o,n),(n={non_interaction:!0})[c]=r,e.gtag("event",s,n)):e.ga&&(e.ga("create",o,"auto"),e.ga("set","cd"+i,r),(n={non_interaction:!0})["cd"+i]=c,e.ga("send",s,n)):logger.error("## googleAnalyticsInterceptor -> callGoogleAnalyticsAPI() -> dimensionIndex or clse not exist")}n.on("invalidateSession",function(){a=!1}),n.on("remoteClseConf",function(n){n&&!a&&(a=!0,r=n,e.gtag||e.ga?f():(q.waitingInterval(e,"gtag",f,1e3,t.googleAPIMaxAttempts),q.waitingInterval(e,"ga",f,1e3,t.googleAPIMaxAttempts)))})}function ir(o,n,a,e){var t={};function r(){!function(){for(var n,e=o.document.querySelectorAll("script, img"),t=0;t<e.length;t++)for(n=0;n<a.length;n++)a[n].intercept.call(a[n],e[t])}(),function(){var i=o.Image;o.Image=function(n,e){for(var t=new i(n,e),r=0;r<a.length;r++)try{q.addEventHandler(t,"load",a[r].intercept.gbBind(a[r],t))}catch(n){logger.error("failed intercepting Image report via constructor. "+n.message,n)}return t};var r=o.document.createElement;o.document.createElement=function(){var n=r.apply(o.document,[].slice.call(arguments));if("string"==typeof arguments[0]){var e=arguments[0].toLowerCase();if("img"===e||"script"===e)for(var t=0;t<a.length;t++)try{q.addEventHandler(n,"load",a[t].intercept.gbBind(a[t],n))}catch(n){logger.error("failed intercepting native createElement method. "+n.message,n)}return n}}}()}this.initialize=function(){H.interceptABTesting&&H.interceptAjax&&nr(o,V,[{urlMatcher:"global-mbox",path:[],tokenContainer:"offers"},{urlMatcher:"tt.omtrdc",path:["execute","pageLoad"],tokenContainer:"options"},{urlMatcher:"tt.omtrdc",path:["execute","mboxes"],tokenContainer:"options"}],logger,t,e.abTestingGlobalObject),e.enableOptimizelyIntegration&&H.interceptAjax&&er(o,V,0,e),e.enableAdobeAnalyticsIntegration&&tr(o,V,logger,e),e.enableGoogleAnalyticsIntegration&&rr(o,V,logger,e),n.on("init:preloaded",r,U,10)},this.stats=function(){return t}}function or(f){f=f||{emptyStrings:!1};var d=q.immutableSet("number","string","boolean"),l={},i={};function h(n){return Array.isArray(n)&&d[typeof n[0]]}function v(n,e,t,r){if(t[e]||i[e]){if(l[r])return t[r]=""+n,t[e]&&(t[i[e]]=t[e],delete t[e]),1}else i[e]=r}function o(){l={},i={}}return{capture:function(n,e){var t,r,i={};for(o(),t=0;t<e.length;t++)(r=function(n,e){for(var t=n,r=e.split("."),i=0;i<r.length;i++){if((t=t[r[i]])===U||null===t||!f.emptyStrings&&"string"==typeof t&&!t)return null;if(Array.isArray(t)&&isNaN(parseInt(r[i+1]))&&i<r.length-1)return{array:t,arrayName:r[i],segments:r.slice(i+1,r.length)}}return l[r.join("_")]=!0,{object:t,name:r[r.length-1],fullSegments:r.join("_")}}(n,e[t]))&&(r.array?function(n,e,t,r){for(var i=0;i<n.length;++i){for(var o=e+"_"+i+"_"+t.join("_"),a=n[i],u=0;u<t.length&&a;++u)a=a[t[u]];a&&(d[typeof a]?r[o]=""+a:h(a)&&(r[o]=a.join(",")))}}(r.array,r.arrayName,r.segments,i):function n(e,t,r,i,o){var a,u,c=typeof e;if(d[c])(e||"string"!=c||f.emptyStrings)&&(v(e,t,r,o)||(r[t]=""+e));else if(h(e)){var s=e.join(",");v(s,t,r,o)||(r[t]=s)}else if(i&&"object"==c)for(a in e)e.hasOwnProperty(a)&&(l[u=(o||"")+"_"+a]=!0,n(e[a],a,r,!1,u))}(r.object,r.name,i,!0,r.fullSegments));return Object.keys(i).length?i:null},toFlatMap:function(n){if(!n||"object"!=typeof n)return null;o();var e={};return function n(e,t,r){var i,o=typeof e;if(d[o])(e||"string"!=o||f.emptyStrings)&&(v(e,t,r,t)||(r[t]=""+e));else if(h(e)){var a=e.join(",");v(a,t,r,t)||(r[t]=a)}else if("object"==o)for(i in t=t.length?t+".":t,e)e.hasOwnProperty(i)&&n(e[i],t+i,r)}(n,"",e),Object.keys(e).length?e:null}}}function ar(e,a,t){var r,u,n=!1,i="setEventCallback";function o(){n||(n=!0,r=e.usabilla_live,e.usabilla_live(i,c),e.usabilla_live=function(n,e){if(n!==i)return r.apply(null,arguments);u=e})}function c(n,e,t,r,i){try{var o;"Campaign:Page Switch"!==e&&"Feedback:Success"!==e||(o={source:"usabilla"},"Feedback:Success"===e?o.userData=i||{}:"Campaign:Page Switch"===e&&(o.userData=i.data||{},o.userData.id=t),i.type&&(o.userData.type=i.type),o.userData.action=e,a.emit("vocGetData",o)),u&&u.apply(null,arguments)}catch(n){logger.error("something went wrong while tried to parse usabilla event")}}e.usabilla_live?o():(t.waitForUsabillaObj&&q.waitForObjDefined(e,"usabilla_live",o),t.interceptUsabillaUrl&&a.on("ajax:end",function(n){-1<n.url.indexOf(t.interceptUsabillaUrl)&&n.status<400&&0<n.status&&setTimeout(function(){e.usabilla_live&&o()},100)}))}function ur(n,c,e){var s=e.vocObjectMap,t=[];function r(n){if(!s&&n.vocConfig&&(s=n.vocConfig,t.length))for(var e=0;e<t.length;++e)i(t[e])}function i(n){if(n&&n.source&&s[n.source]){var e,t,r,i,o={source:n.source,userData:{}},a=!1,u=s[n.source];for(e in n.userData)u[e]&&(t=o.userData,r=n.userData[e],"int"===(i=u[e]).type?t[i.name]=parseInt(r):"bool"===i.type?t[i.name]="boolean"==typeof r?r:"true"===r:t[i.name]=""+r,a=!0);a&&c.emit("reportVoC",o)}}function o(n){s?i(n):t.push(n)}this.initialize=function(){c.on("newRemoteConfig",r),c.on("vocGetData",o),e.collectUsabillaVoc&&ar(n,c,e)}}function cr(n,c,e){n=n||{};var s=(e=e||{}).visualName,i=e.visualNameDebug||!1,o=0<e.visualNameLimit?Math.min(e.visualNameLimit,e.visualName.maxLimit):e.visualName.maxLimit,f=q.immutableSet.apply(null,s.wrapperElementList||[]);function d(n,e,t){if(0<s.maxDistance){var r=n.getClientRects();if(r.length)for(var i=0;i<r.length;i++)if(r[i].left-e<s.maxDistance&&e-r[i].right<s.maxDistance&&t-r[i].bottom<s.maxDistance&&r[i].top-t<s.maxDistance)return}return 1}var a,u,l,h=(a=e.noIdSelectorsForClassNames||[],u=e.noIdSelectorsForIDs||[],l=e.noIdSelectorsForAttrs||[],function(n){if(0===a.length&&0===u.length&&0===l.length)return!0;var e=n.getAttribute("id");if(e)for(i=0;i<u.length;i++){var t=u[i];if(t&&0<=e.indexOf(t))return!1}for(var r=q.getClassList(n),i=0;i<a.length;i++)if(0<=E.indexOf(r,a[i]))return!1;for(i=0;i<l;i++)if(n.hasAttribute(l[i]))return!1;return!0});function v(n,e,t){var r=n.tagName;if("TD"===r)return null;if("TEXTAREA"!==r){var i=q.getAttributeForElement(n,"class");if(i&&E.contains(s.filterInlineTextByClassName,i))return null;var o,i=null;if(s.by.labelTag&&"LABEL"===n.tagName&&(i=n),"SPAN"!==r&&"DIV"!==r||1===n.childElementCount&&(o=n.firstElementChild)&&"A"===o.tagName&&0===o.childElementCount&&(i=o),(i=!(i=i||function(n){for(var e=s.maxParentLevel+1;n&&e--;){if(f[n.tagName])return n;n=n.parentNode}return null}(n))&&0===n.childElementCount?n:i)||1===n.childElementCount&&(0!==(o=n.firstElementChild).childElementCount||e&&t&&d(o,e,t)||(i=n)),i)try{var a=c(),u=(a?a.cloneNode(i):i).innerText;return q.trim(u)}catch(n){}return null}}return n.extractVisualName=function(n,e,t){var r=null;if(!n||!q.isElement(n))return r;if(E.contains(s.filterNamingByTagName,n.tagName.toLocaleLowerCase()))return r;return(r=q.getAttributeForElement(n,s.CLS_NAME_ATTR))&&0,!r&&s.by.title&&(r=q.getAttributeForElement(n,"title"))&&0,!r&&s.by.alt&&(r=q.getAttributeForElement(n,"alt"))&&0,!r&&s.by.ariaLabel&&(r=q.getAttributeForElement(n,"aria-label"))&&0,r||!s.by.inputConsts&&!s.by.inputButtonsValue||(r=function(n){var e;if("INPUT"===n.tagName){var t=n.type.toLocaleLowerCase();if(!(e=("button"===t||"submit"===t||"reset"===t)&&s.by.inputButtonsValue?n.value:e)&&s.by.inputConsts)switch(t){case"password":e="Password";break;case"button":case"submit":case"image":e="Submit";break;case"file":e="Choose File";break;case"reset":e="Reset"}}return(e=e&&q.trim(e))||null}(n))&&0,!r&&s.by.name&&(r=q.getAttributeForElement(n,"name"))&&0,!r&&s.by.inlineText&&(r=v(n,e,t))&&0,!r&&s.by.id&&h(n)&&(r=q.getAttributeForElement(n,"id"))&&0,!r&&s.by.placeholder&&(r=q.getAttributeForElement(n,"placeholder"))&&0,!r&&s.by.parent&&(r=function(n){if(!E.contains(s.elementListToCheckParent,n.tagName.toLocaleLowerCase()))return null;var e=null,n=n.parentElement;return(e=n&&("a"===n.tagName.toLocaleLowerCase()||"button"===n.tagName.toLocaleLowerCase())?q.getAttributeForElement(n,"title")||q.getAttributeForElement(n,"alt")||q.getAttributeForElement(n,"aria-label")||q.getAttributeForElement(n,"name")||q.getAttributeForElement(n,"id"):e)||null}(n))&&0,!r&&s.by.child&&(r=function(n,e,t){if(!E.contains(s.elementListToCheckChild,n.tagName.toLocaleLowerCase()))return null;if(1===n.childElementCount){var r=n.firstElementChild;if(e&&t&&d(r,e,t))return null;r=q.getAttributeForElement(r,"title")||q.getAttributeForElement(r,"alt")||q.getAttributeForElement(r,"aria-label")||q.getAttributeForElement(r,"name")||q.getAttributeForElement(r,"id")}return r||null}(n,e,t))&&0,r&&r.length>o&&(r=r.substr(0,o).concat("...")),i&&(n.tagName,n.type),r},n}function sr(e,t,r){var i,o,a=!1,u=!1,c=!1,s={state:"init"};function f(n){"ready"===n.data.type?(u=!0,clearTimeout(o),c&&d("ready")):t.emit(n.data)}function d(n){a||(a=!0,s.state=n,t.emit("worker:init",i))}function l(){try{var n=(r.enableSessionizingByCors||A.isCorsReporting())&&!r.reportDisableCors;(i=new Worker(R.detectorScript.src+"?worker")).addEventListener("message",f),i.postMessage({type:"init",args:[r,n,O.getKeyInfo()]}),s.state="started"}catch(n){s.error=n.message,logger.error("Failed starting web worker. "+n.message)}}function h(){c=!0,u?d("ready"):setTimeout(d.gbBind(null,"timeout"),1e3)}this.initialize=function(){var n=!1;r.reportUseWorker&&!r.reportPreferSendBeaconAPI||(s.waivingReason="disabled",n=!0),!n&&e!==e.top&&r.reportViaTopWindow&&(s.waivingReason="non-top-window",n=!0),n||e.Worker||(s.waivingReason="not-supported",n=!0),n||R.detectorScript||(s.waivingReason="no-script",n=!0),n?t.emit("worker:init",U):(t.on("init:preloaded",l),t.on("init:loaded",h))},this.stats=function(){return s}}function fr(e){var t=fr.extractTLD(e);function o(n){throw new SyntaxError("Illegal ajax predicate syntax: "+n)}var a={always:function(){return function(){return!0}},never:function(){return function(){return!1}},fqdn:function(){return function(n){n=q.extractHostname(n.url);return!n||n===e}},tld:function(){return function(n){n=q.extractHostname(n.url);return!n||fr.extractTLD(n)===t}},statusgte:function(n){n||o("Missing required argument 'status'.");var e=parseInt(n);return function(n){return n.status>=e}},urimatches:function(n){n||o("Missing required argument 'pattern'.");var e=new RegExp(n);return function(n){return!1!==e.test(n.url)}},hostmatches:function(n){n||o("Missing required argument 'pattern'.");var t=new RegExp(n),r=window.location.hostname;return function(n){var e=q.extractHostname(n.url),n=j.querySelector("base"),n=n?q.extractHostname(n.href):null;return!1!==t.test(e=e||n||r)}},not:function(n){n||o("Missing required arguments.");var e=r(n);return 1!==e.length&&o("Expecting single argument."),function(n){return!e[0](n)}},and:function(n){n||o("Missing required arguments.");var t=r(n);return function(n){for(var e=0;e<t.length;e++)if(!t[e](n))return!1;return!0}},or:function(n){n||o("Missing required arguments.");var t=r(n);return function(n){for(var e=0;e<t.length;e++)if(t[e](n))return!0;return!1}}};function u(n){var e=n.indexOf("(");if(-1<e){for(var t=-1,r=1,i=e+1;i<n.length;i++)if("("===n.charAt(i)&&r++,")"===n.charAt(i)&&0==--r){t=i;break}return-1===t&&o("Missing closing ')'."),[q.trim(n.substring(0,e).toLowerCase()),q.trim(n.substring(e+1,t))]}return[n.toLowerCase()]}function r(n){for(var e,t=[],r=(n||"").split(","),i=0;i<r.length;i++)e=u(q.trim(r[i])),a[e[0]]||o("Unsupported predicate type '"+e[0]+"'."),t.push(a[e[0]](e[1]));return t}a.true=a.always,a.false=a.never,this.create=function(n){if(!n)return a.never();n=u(n);return a[n[0]]||o("Unsupported predicate type '"+n[0]+"'."),a[n[0]](n[1])}}function dr(u,n,e,c){var s={},f=fr.extractTLD(e),d=function(){return!1},l=u.location.pathname;function h(n){return s[dr.getEntryKey(n)]}return n.on("segmentChanged",function(n){l=n.current}),n.on("event:unload",function(){q.isEmpty(s)||n.emit("ajax:reportStats",function(n){var e,t=[];for(e in n)n.hasOwnProperty(e)&&t.push(n[e]);return t}(s))}),{initConfig:function(n){try{if(c.ajaxRecordStats)return d=n.create(c.ajaxRecordStats),!0}catch(n){logger.error("Error while parsing Ajax predicates from configuration. interception disabled. error:"+n)}return!1},onSend:function(n){var e,t,r,i,o,a;d(n)&&(e={},a=c.ajaxStatsQueryParams&&q.parseQuery(n.url.split("?")[1]),n.queryHash=function(e,t){if(!e)return 0;var r=0;return c.ajaxStatsQueryParams.forEach(function(n){e[n]&&(t[n]=e[n],r=31*(r=31*r+q.hashcode(n))+q.hashcode(e[n]))}),r}(a,e),n.segment=l,(o=h(n))||(t=u.location.href,r=q.extractHostname(n.url)||u.location.hostname,i=q.extractPath(n.url.split("?")[0]),o={fields:{segment:l,sameTLD:0===(a=r).indexOf("/")||f===fr.extractTLD(a),method:n.method,hostname:r,path:i,refHost:q.extractHostname(t),refPath:q.extractPath(t.split("?")[0]),api:n.api},counters:{},queryParams:e},n=n,o=o,s[dr.getEntryKey(n)]=o))},onLoadEnd:function(n){var e,t,r,i,o,a,u,c,s=h(n);s&&(e=n.resContentType,t=n.reqContentType,0===(c=n.status)&&(c=n.aborted?1:c),r=n,i=s.counters,o=c,a=r.duration,u=parseInt(r.contentLength),n=r.requestLength||0,++(c=(c=i[o])||{count:0,sumDuration:0,sumResponseBytes:0,sumRequestBytes:0,sumTtfb:0,sumDownloadTime:0}).count,c.sumDuration=c.sumDuration+a,c.sumResponseBytes=c.sumResponseBytes+(u||0),c.sumRequestBytes=c.sumRequestBytes+(n||0),c.sumTtfb=c.sumTtfb+(r.ttfb||0),c.sumDownloadTime=c.sumDownloadTime+(r.downloadTime||0),i[o]=c,s=s,t=t,(e=e)&&(s.fields.responseContentType=e),t&&(s.fields.requestContentType=t))}}}function lr(u,c,s,f,t,n,r){var d={},l=!0;"true"===n.get("api_breach")&&(l=!1,s.emit("clsDebug","apiCallBreach activate from local storage"));var h=r.ajaxCaptureRequestCookie||!1;s.on("event:unload",function(){for(var n in d)d.hasOwnProperty(n)&&(d[n].status=0,e(d[n]))},null,-1),s.on("apiCallBreach",function(){l=!1}),s.on("apiCallBreachCanceled",function(){l=!0});var n=function(){return!1},v=n,m=n,g=n,p=n,y=n;function w(n,e,t,r,i,o){var a={};return a.startedAt=n.startTime,a.endedAt=n.endTime,a.url=pr.safeEncodeURI(n.url),a.method=n.method,a.requestContent=null,t&&(a.requestContent="string"==typeof n.requestContent?n.requestContent:null),a.requestHeaders=null,e&&(a.requestHeaders=function(n){var e=n.requestHeaders||[];if(h&&(f.extractHostname(n.url)===u.location.host||f.isHostRelativeUrl(n.url)))try{var t=c.cookie;t&&e.push("cookie: "+t)}catch(n){}n.masking&&n.masking.request&&e.push("X-Glassbox-JSMasking: "+n.masking.request);return e.join("\r\n")}(n)||(n.requestContent?"Content-Type: text/plain;charset=utf-8":null)),a.responseHeaders=r,a.responseContent=i,a.responseCompressed=o,a.api=n.api,a.sn=n.sn,a}function e(n){if(delete d[n.uuid],!n.recordingLimitExceeded){var e=l&&g(n),t=l&&(e||m(n)),r=l&&y(n),i=l&&(r||p(n));if(!(i||t||v(n)))return!1;var o=e&&n.hasGzipContentEncoding(),a=e?n.captureContent():null;o&&(a=(e=a)?f.pako.gzip(e):null);var u=w(n,i,r,t?n.fixHeaders():null,a,o);u.lastFocusedSelectorInfo=n.lastFocusedSelectorInfo,u.status=n.status,u.statusText=n.statusText,u.aborted=n.aborted,u.resContentType=n.resContentType,u.reqContentType=n.reqContentType||"text/plain;charset=utf-8",u.requestLength=n.requestLength,u.contentLength=n.contentLength,u.ttfb=n.ttfb,u.downTime=n.downloadTime,i||r||t||a||(u.containOnlyMetaData=!0),setTimeout(function(){s.emit("ajax:loadend",u)},0)}}return{initConfig:function(n){var e=!1;return r.ajaxRecordMetadata&&(v=n.create(r.ajaxRecordMetadata),e=!0),r.ajaxRecordResponseHeaders&&(m=n.create(r.ajaxRecordResponseHeaders),e=!0),r.ajaxRecordResponseBody&&(g=n.create(r.ajaxRecordResponseBody),e=!0),r.ajaxRecordRequestHeaders&&(p=n.create(r.ajaxRecordRequestHeaders),e=!0),r.ajaxRecordRequestBody&&(y=n.create(r.ajaxRecordRequestBody),e=!0),e},onLoad:function(n){n.recordingLimitExceeded||s.emit("ajax:load",w(n))},onError:function(n){n.recordingLimitExceeded||s.emit("ajax:error",w(n))},onSend:function(n){var e;t.allow()?(e=w(d[n.uuid]=n,n.requestHeaders,n.requestContent),n.requestContent&&(e.data=n.requestContent)):n.recordingLimitExceeded=!0},onLoadEnd:e}}function hr(n,e,t,r,i){for(var o in this.api="fetch",this.url=n,this.startTime=r,this.lastFocusedSelectorInfo=i,this.uuid=t,this.init=e||{},this.method=e.method,this.requestHeaders=[],this.masking={},this.sn=pr.nextSn(),e.headers)e.headers.hasOwnProperty(o)&&(this.requestHeaders.push(o+": "+e.headers[o]),"content-type"===o.toLowerCase()&&(this.reqContentType=e.headers[o]))}function vr(n,e,t,r,i,o){this.xhr=n,this.uuid=i,this.requestHeaders=[],this.method=t,this.url=e,this.async=r,this.api="xhr",this.ajaxMasker=o,this.masking={},this.sn=pr.nextSn()}function mr(a,u,c,s,f,d,l){if(!a.fetch)return!1;function h(n){return!n||n.includes("json")||n.includes("text")}function v(n){d.getPerformanceResourceEntry(n.url,n),u("onLoadEnd",n)}var e=a.fetch;a.fetch=function(){var n=!1;1<arguments.length&&arguments[1]&&arguments[1].cls_own&&(n=arguments[1].cls_own,delete arguments[1],arguments.length=1);var o=function(n,e){try{var t="object"==typeof n[0]?n[0].url||""+n[0]:n[0],r="object"==typeof n[1]?n[1]:"object"==typeof n[0]?n[0]:{};if(f(t,e)){var i=a.document.activeElement?c.getSelectorInfo(a.document.activeElement):null,o=new hr(s.mask(t),r,d.uuid(),d.currentTimestamp(),i);return r.body&&h(o.reqContentType)&&(o.reqContentType&&o.reqContentType.includes("json")?o.requestContent=l.getJsonContent(o,"request",r.body):o.requestContent=l.maskText(o,"request",r.body),o.requestLength=o.requestContent.length),u("onSend",o),u("onLoadStart",o),o}}catch(n){logger.error("Error while processing fetch request. Error: "+n.message,n)}}(arguments,n);return o?Promise.resolve(e.apply(a,arguments).then(function(n){try{var e,t;n.bodyUsed||(e=n.clone(),i=e,(r=o).resHeaders=i.headers,r.endTime=d.currentTimestamp(),r.duration=r.endTime-r.startTime,r.status=i.status,r.statusText=i.statusText,r.resContentType=i.headers.get("Content-Type"),r.contentLength=i.headers.get("Content-Length"),r.responseText=null,h(t=e.headers.get("Content-Type"))&&e.ok?(t&&t.includes("json")?e.json().then(function(n){o.responseText=l.getJsonContent(o,"response",n),v(o)}):e.text().then(function(n){o.responseText=l.maskText(o,"response",n),v(o)})).catch(function(){v(o)}):v(o))}catch(n){logger.error("Error while processing fetch request.",n)}var r,i;return n}).catch(function(n){var e,t;return t=n,(e=o).status=0,e.statusText=t.stack,e.duration=d.currentTimestamp()-e.startTime,e.endTime=d.currentTimestamp(),v(e),Promise.reject(n)})):e.apply(a,arguments)}}function gr(n,e,t,r,i,o,a,u){a=a.hookProto(XMLHttpRequest.prototype);function c(n){n.adapter.consumed||(n.adapter.onCompleted(),o.getPerformanceResourceEntry(n.adapter.url,n.adapter),e("onLoadEnd",n.adapter))}function s(){e("onLoad",this.adapter)}function f(){e("onError",this.adapter)}function d(){this.adapter.startTime=o.currentTimestamp(),this.adapter.lastFocusedSelectorInfo=n.document.activeElement?t.getSelectorInfo(n.document.activeElement):null,e("onLoadStart",this.adapter)}function l(){this.adapter&&c(this)}return"onloadend"in new XMLHttpRequest&&(!!(a.setHookBefore("open",function(){var n="object"==typeof arguments[1]?arguments[1].toString():arguments[1];i(n,this.cls_own)&&(n=r.mask(n),this.adapter=new vr(this,n,arguments[0],arguments[2],o.uuid(),u),this.addEventListener("load",s,!1),this.addEventListener("error",f,!1),this.addEventListener("loadstart",d,!1),this.addEventListener("loadend",l,!1))})&&a.setHookBefore("send",function(){var n;this.adapter&&(arguments[0]&&("string"==typeof arguments[0]||0<arguments.length&&(!(n=this.adapter.reqContentType)||0<=n.indexOf("json")||0<=n.indexOf("text")))&&(n=arguments[0],n=this.adapter.reqContentType&&0<=this.adapter.reqContentType.indexOf("json")?u.getJsonContent(this.adapter,"request",n):u.maskText(this.adapter,"request",n),this.adapter.requestContent=n,this.adapter.requestLength=n.length),e("onSend",this.adapter))})&&a.setHookBefore("abort",function(){this.adapter&&(this.adapter.aborted=!0,this.status?c(this):(this.adapter.aborted=!0,e("onAbort",this.adapter)))})&&a.setHookBefore("setRequestHeader",function(){this.adapter&&arguments[1]&&(this.adapter.requestHeaders.push(arguments[0]+": "+arguments[1]),"Content-Type"===arguments[0]&&(this.adapter.reqContentType=arguments[1]))}))||(a.revert(),!1))}function pr(i,o,n,a,e,u,c,s,f,d){var t,r,l=[lr(i,i.document,n,q,e,new St(i.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),f),dr(i,n,c,f),(t=n,r=f,{initConfig:function(){return r.interceptThirdPartyAttributes||r.struggleCaptureAjaxErrors||r.recordSpaLoadTime||r.interceptABTesting||r.struggleCaptureDeadClick||r.enableOptimizelyIntegration},onSend:function(n){t.emit("ajax:send",n)},onLoadEnd:function(n){t.emit("ajax:end",n)},onError:function(n){t.emit("ajax:loadError",n)}})],h=[];function v(n,e){for(var t=0;t<h.length;++t)h[t][n]&&h[t][n](e)}function m(n,e){if(!n)return!1;if(e)return!1;if(q.startsWith(n,"data:"))return!1;if(0<=n.indexOf(f.reportURI))return!1;for(var t=n.toLowerCase(),r=0;r<d.length;r++)if(0<=t.indexOf(d[r]))return!1;return!0}this.initialize=function(){try{var n,e=new fr(c);for(u.init(e),n=0;n<l.length;++n)l[n].initConfig(e)&&h.push(l[n])}catch(n){return logger.error("Error while parsing Ajax predicates from configuration. interception disabled. error:"+n),!1}return t=mr(i,v,a,s,m,q,u),r=gr(i,v,a,s,m,q,o,u),!(!t&&!r);var t,r}}function yr(){return parseInt(Wn.get("xhr.cnt")||"0")}function wr(r,i,o){var a=0,u={};this.untrack=function(n){try{var e,t;u[n.pageId]=Math.max(u[n.pageId]||1,n.beaconData.sn),i[n.pageId]&&(e=n.beaconData.eventSetId,(t=i[n.pageId][e].events).length&&(a-=n.beaconData.endIndex-n.beaconData.startIndex,t.splice(n.beaconData.startIndex,n.beaconData.endIndex-n.beaconData.startIndex),r.emit("beacon:storageRemoved",n.beaconData.sn),t.length||delete i[n.pageId][e]))}catch(n){logger.error("Failed removing form memory. Exception message:"+n.message,n)}},this.track=function(n){for(var e,t,r=0;r<n.length;r++)0<(e=o-a)&&(t=n[r],i[t.metadata.pageId]=i[t.metadata.pageId]||{},(i[t.metadata.pageId][t.id]=t).events.length<=e?a+=t.events.length:(a=o,t.events.splice(e)))},this.packageEventSets=function(){var n=function(){var n,e,t={sn:{},eventSets:[]};for(n in i)if(i.hasOwnProperty(n))for(e in t.sn[n]=u[n]!==U?u[n]+1:1,i[n])i[n].hasOwnProperty(e)&&t.eventSets.push(i[n][e]);return t}();return i={},n}}function br(f,d,l,logger,h,v,m,g){function p(n,e,t,r,i,o){var a,u=!1,c=l.createXMLHTTPObject(!1,n=n||"");if(!c)return logger.error("Failed creating an XMLHttpRequest object"),u=!0,void o();function s(){m.reportPostRetry&&r?(r--,h(e,i,!1,c.status),c.status,c.statusText,p(n,e,t,r,i,o)):(c.abort(),g.emit("clsDebug",function(){var n="Failed POST data for Beacon, sn:"+e+", status:"+c.status;c.statusText&&(n+=", statusText:"+c.statusText);c.requestData&&(n+=", ContentLength:"+c.requestData.length);return n}()),u=!0,o())}m.reportAddUriParamAPI&&(t.extraInfo=t.extraInfo||{},t.extraInfo.api=c.report_api||"xhr"),a=d.apply(t.metadata.reportURI,t.metadata,t.sn,t.extraInfo),r===U&&(r=m.reportMaxRetries),c.onreadystatechange=function(){4===c.readyState?(200===c.status?function(){h(e,i,!0);var n=c.getResponseHeader("Content-Type");n&&-1!==n.indexOf("application/json")&&v(c.response),u=!0,o()}:s)():0===c.readyState&&(m.reportPostRetry&&r?p(n,e,t,--r,i,o):(c.abort(),u=!0,o()))};try{c.open("POST",a,!0),c.onprogress=function(){},c.ontimeout=function(){},c.onerror=function(){},c.withCredentials=!0,f.visitXhr(c),setTimeout(function(){-1!==m.reportAbortAfter&&setTimeout(function(){4!==c.readyState&&(c.abort(),u||o())},m.reportAbortAfter);try{c.send(n)}catch(n){logger.error("Failed sending (in) POST request ("+e+") to url "+a+": "+n.message,n)}},0)}catch(n){logger.error("Failed sending POST request ("+e+") to url "+a+": "+n.message,n),u=!0,o()}}this.name="POST",this.config={maxReportSize:m.maxPostReportSize},this.dispatch=function(n,e,t,r,i){p(n,t,{metadata:e,sn:t,extraInfo:r},U,e.pageId,i)}}function Er(c,o,s,logger,f,d,l,h){var v=0;function m(n,e,t,r,i,o){try{var a=!1;if(3===v)return l.stop(),void logger.error("Stopped recording after exceeding errors limit");n=n||"";var u=s.createRequest(t);if(!u)return logger.error("Failed creating request object"),v++,a=!0,void o();r===U&&(r=h.reportMaxRetries),u.onreadystatechange=function(){2===u.readyState?u.success?function(){f(e,i,!0);var n=u.responseContentType;n&&-1!==n.indexOf("application/json")&&d(u.response),a=!0,o()}():h.reportPostRetry&&r?(r--,f(e,i,!1,u.status),m(n,e,t,r,i,o)):(a=!0,o()):3===u.readyState&&(h.reportPostRetry&&r?m(n,e,t,--r,i,o):(a=!0,o()))},-1!==h.reportAbortAfter&&setTimeout(function(){2!==u.readyState&&(u.abort(),a||o())},h.reportAbortAfter),u.send(n,c.getContentType(),h.reportCompress)}catch(n){v++,logger.error("Failed creating or handling request with beacon ("+e+") to url "+t+": "+n.message,n),a=!0,o()}}this.name="ExternalReporter",this.config={maxReportSize:h.maxPostReportSize},this.dispatch=function(n,e,t,r,i){m(n,t,o.apply(e.reportURI,e,t,r),U,e.pageId,i)}}function Cr(e,t,r){var i="session_breach",o="api_breach";this.handleResponse=function(n){!function(n){if(n)try{n.sessionQuotaBreach?(t.set(i,"true"),r.stop(),e.emit("quotaBreach"),e.emit("clsDebug","quotaBreach activate from gateway handler")):(t.remove(i),r.isStopped()&&r.start()),n.apiCallQuotaBreach?(t.set(o,"true"),e.emit("apiCallBreach"),e.emit("clsDebug","apiCallBreach activate from gateway handler")):(t.remove(o),e.emit("apiCallBreachCanceled"))}catch(n){logger.error("Exception during quota breach handling. Error: "+n.message,n)}}(n)}}function Sr(e,t){this.handleResponse=function(n){!function(n){if(n)try{n.clss&&(t(n.clss),e.emit("clsDebug","CLS_S was set by cligate gateway handler"))}catch(n){logger.error("Exception during Setting CLS_S by cligate gateway handler. Error: "+n.message,n)}}(n)}}function Tr(t,o,i,n,a,u,c,s,f){var d={INIT:0,HELPING:1,READY:2},l=5e3,h="cors_ready",v=[R.cookies.session,R.cookies.visitor],m=(f=f||{}).reportCorsTakeNativeCookies||[],g="prev_native_cookies",e=!0,p=d.INIT,y=-1,w=-1;function b(n,e){for(var t,r=0;r<n.length;r++)(t=u.get(n[r]))&&e.push(n[r]+"="+encodeURIComponent(t))}function r(n){var e=[];if(b(v,e),b(m,e),0!==e.length){var t=o.currentTimestamp();p=d.HELPING;var n=f.reportURI+"?"+e.join("&")+"&pv=2"+(n||!f.enableSessionizingByCors?"&f_cls_s=true":""),r=i();return r.onreadystatechange=function(){if(4===r.readyState){var n;if(y=o.currentTimestamp()-t,w=r.status,200===r.status){if(a.set(h,!0),r.response)try{n=JSON.parse(r.response),c.handleResponse(n.usage),s.handleResponse(n)}catch(n){logger.error("Failed parsing JSON of response: "+n.message,n)}}else r.status;S()}else 0===r.readyState&&S()},r.open("GET",n,!0),r.withCredentials=!0,r.setTimeout=l,r.send(),1}}function E(){try{for(var n=0,e=[],n=0;n<m.length;n++)e.push({key:m[n],value:u.get(m[n])});t.emit("updateSafariQueryString",e)}catch(n){logger.error("Failed handling Safari native cookies. Exception message:"+n.message,n)}}function C(){if(!e)return S();if(f.enableSessionizingByCors)return T(),void(o.isSafari(window.navigator.userAgent)&&E());if(m.length)if(o.isSafari(window.navigator.userAgent))E();else if(f.resetCorsOnNativeCookieChange&&function(){var n,e,t,r=!1,i=[];try{for(t=(t=a.get(g))?JSON.parse(t):[],n=0;n<m.length;n++)e=u.get(m[n]),i.push(e),e!==t[n]&&(r=!0);r&&a.set(g,o.arrayToJsonSafe(i))}catch(n){return void logger.error("Failed detecting native cookies change. Exception message:"+n.message,n)}return r}())return T();return!a.get(h)&&r()?void 0:S()}function S(){p=d.READY,t.emit("corsReady")}function T(n){e&&(t.emit("corsReset"),a.set(h,""),p=d.INIT,w=y=-1,r(n))}this.initialize=function(){e=(f.enableSessionizingByCors||n.isCorsReporting())&&!f.reportDisableCors,t.on("init:loaded",C)},this.onCookieChanged=function(n){T(n)},this.stats=function(){return{enabled:e,state:p,requestDuration:y,requestStatus:w}}}function Ir(t){var r;this.send=function(n){try{var e=n.eventSets.map(function(n){return n.toJSON?n.toJSON():n});n.eventSets=e,r.postMessage(n)}catch(n){logger.error("error: could not send via port. message:",n.message)}},this.initPorts=function(n){var e=new t.MessageChannel;return(r=e.port1).onmessage=n,e.port2}}function kr(n,e,t){t=q.optionsWithDefaults(t,{pageNameEnabled:!1});var r,i,o,a,u,c={};function s(){var n=i.resolve();n&&(r=n,c.pageNameCurrent=r,e.emit("pageNameResolved",r))}t.pageNameEnabled?(c.pageName="enabled",o=n,t={selectors:t.pageNameByElements},a=(t=t||{}).selectors||[],u=q.immutableSet.apply(null,a),i={resolve:function(){for(var n,e=0;e<a.length;e++)if(u[a[e]])try{if(n=o.querySelector(a[e]))return n.textContent}catch(n){u[a[e]]=!1}}},e.on("init:loaded",s),e.on("frame:load",s),e.on("parentWindowInfo",function(n){n.parentPageName&&(r=n.parentPageName,c.pageNameCurrent=r,e.emit("pageNameResolved",r))})):c.pageName="disabled",this.initialize=function(){return!0},this.stats=function(){return c}}function xr(n){!function(n){"use strict";var t,e,r=function(){return"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)},c=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:n,value:e,delta:0,entries:[],id:r(),isFinal:!1}},s=function(n,e){try{if(PerformanceObserver.supportedEntryTypes.includes(n)){var t=new PerformanceObserver(function(n){return n.getEntries().map(e)});return t.observe({type:n,buffered:!0}),t}}catch(n){}},i=!1,o=!1,a=function(n){i=!n.persisted},u=function(){addEventListener("pagehide",a),addEventListener("beforeunload",function(){})},f=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o||(u(),o=!0),addEventListener("visibilitychange",function(n){var e=n.timeStamp;"hidden"===j.visibilityState&&t({timeStamp:e,isUnloading:i})},{capture:!0,once:n})},d=function(n,e,t,r){var i;return function(){t&&e.isFinal&&t.disconnect(),e.value>=0&&(r||e.isFinal||"hidden"===j.visibilityState)&&(e.delta=e.value-(i||0),(e.delta||e.isFinal||void 0===i)&&(n(e),i=e.value))}},l=function(){return void 0===t&&(t="hidden"===j.visibilityState?0:1/0,f(function(n){var e=n.timeStamp;return t=e},!0)),{get timeStamp(){return t}}},h=function(){return e||(e=new Promise(function(e){return["scroll","keydown","pointerdown"].map(function(n){addEventListener(n,e,{once:!0,passive:!0,capture:!0})})})),e};n.getCLS=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=c("CLS",0),i=function(n){n.hadRecentInput||(r.value+=n.value,r.entries.push(n),t())},o=s("layout-shift",i);o&&(t=d(n,r,o,e),f(function(n){var e=n.isUnloading;o.takeRecords().map(i),e&&(r.isFinal=!0),t()}))},n.getFCP=function(n){var e,t=c("FCP"),r=l(),i=s("paint",function(n){"first-contentful-paint"===n.name&&n.startTime<r.timeStamp&&(t.value=n.startTime,t.isFinal=!0,t.entries.push(n),e())});i&&(e=d(n,t,i))},n.getFID=function(n){var t=c("FID"),r=l(),e=function(n){n.startTime<r.timeStamp&&(t.value=n.processingStart-n.startTime,t.entries.push(n),t.isFinal=!0,o())},i=s("first-input",e),o=d(n,t,i);i?f(function(){i.takeRecords().map(e),i.disconnect()},!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay(function(n,e){e.timeStamp<r.timeStamp&&(t.value=n,t.isFinal=!0,t.entries=[{entryType:"first-input",name:e.type,target:e.target,cancelable:e.cancelable,startTime:e.timeStamp,processingStart:e.timeStamp+n}],o())})},n.getLCP=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=c("LCP"),i=l(),o=function(n){var e=n.startTime;e<i.timeStamp?(r.value=e,r.entries.push(n)):r.isFinal=!0,t()},a=s("largest-contentful-paint",o);if(a){t=d(n,r,a,e);var u=function(){r.isFinal||(a.takeRecords().map(o),r.isFinal=!0,t())};h().then(u),f(u,!0)}},n.getTTFB=function(e){var n,t=c("TTFB");n=function(){try{var n=performance.getEntriesByType("navigation")[0]||function(){var n=performance.timing,e={entryType:"navigation",startTime:0};for(var t in n)"navigationStart"!==t&&"toJSON"!==t&&(e[t]=Math.max(n[t]-n.navigationStart,0));return e}();t.value=t.delta=n.responseStart,t.entries=[n],t.isFinal=!0,e(t)}catch(n){}},"complete"===j.readyState?setTimeout(n,0):addEventListener("pageshow",n)},Object.defineProperty(n,"__esModule",{value:!0})}(n.webVitals={})}function Mr(n,t,e,r,i,o){var a;function u(n){if(n)for(var e in n)"hash"!==e&&(o[e]=n[e])}n.detectorScript&&n.detectorScript.src&&o.configPath&&(function(){var n,e=t.get("js.conf");if(e)try{n=r.decode(e),a=n.hash,u(n)}catch(n){logger.error("failed parsing JSON of external configuration: "+n.message,n)}}(),n=q.extractOrigin(n.detectorScript.src),e(q.joinPath(n,o.configPath),function(n){var e;try{e=JSON.parse(n)}catch(n){return void logger.error("Failed parsing external configuration JSON: "+n.message,n)}void 0!==a&&void 0!==e.hash&&a===e.hash||(t.set("js.conf",r.encode(e)),u(e),a=e.hash)},function(n){i.emit("clsDebug",n)}))}function Rr(e){this.encode=function(n){return n.constructor===Array?e.encode(q.arrayToJsonSafe(n)):e.encode(JSON.stringify(n))},this.decode=function(n){return JSON.parse(e.decode(n))}}function Ar(n,f){var e=(n=n||{}).domMaskingMode===R.censorMode.WhiteList,t=n.valueMaskingMode===R.censorMode.WhiteList;function r(n,e,t,r,i,o){var a,u,c=[],s=[];if(t)for(a=0;a<t.length;a++)s.push(t[a]);if(n)for(a=0;a<n.length;a++)1===(c=(u=CSS.escape(n[a])).split("\\*")).length?s.push("#"+u):2===c.length?s.push(Ar.prepareWildCardSelector(c,"id")):f.printErrorMsg("more than one wildcard in id list");if(e)for(a=0;a<e.length;a++)1===(c=(u=CSS.escape(e[a])).split("\\*")).length?s.push("."+u):2===c.length?s.push(Ar.prepareWildCardSelector(c,"class")):f.printErrorMsg("more than one wildcard in class list");if(0===s.length)return o&&i?(s.push("["+i+"]"),s):null;if(r)return s.map(function(n){var e=n.split("][");return 2===e.length?":not("+e[0]+"]):not(["+e[1]+")":":not("+n+")"}).join("");o=i?Nr(s,i,o):s.join(",");return f.validateSelector(o)?o:null}this._domMaskingMode=n.domMaskingMode,this._maskedAttributes=q.immutableSet.apply(null,n.domMaskedAttributes),this._maskedAttributesTags=q.immutableSet.apply(null,(n.domMaskAttributesTags||[]).map(function(n){return n.toUpperCase()})),this._maskDataAttributes=!!n.domMaskDataAttributes,this._ignoreMaskByAttribute=n.domMaskIgnoreAttribute,this._selectorsByMaskingType={},this._selectorsByMaskingType[Kn.TEXT]={selector:r(n.domMaskIds,n.domMaskClasses,n.domMaskSimpleSelector,!1,n.domMaskIgnoreAttribute,e),doInvert:this._domMaskingMode===R.censorMode.WhiteList},this._selectorsByMaskingType[Kn.OMIT]={selector:r(n.domOmitIds,n.domOmitClasses),doInvert:!1},this._selectorsByMaskingType[Kn.VALUE_ATTRIBUTE]={selector:"input"+r(n.valueMaskIds,["cls_mask"].concat(n.valueMaskClasses||[]),!1,t,n.valueMaskIgnoreAttribute,e),doInvert:!1},this._selectorsByMaskingType[Kn.ATTRIBUTE]={selector:function(n,e,t){if(0===n.length||0===e.length)return null;var r,i,o=[];for(r=0;r<e.length;r++)for(i=0;i<n.length;i++)o.push(e[r]+"["+n[i]+"]");return t?Nr(o,t,!1):o.join(",")}(n.domMaskedAttributes||[],n.domMaskAttributesTags||[],n.domMaskIgnoreAttribute),doInvert:!1},this._unmaskableTags=q.immutableSet("TITLE","SCRIPT")}function Nr(n,e,t){e=1===n.length?t?(n.push("["+e+"]"),n.join(",")):(n[0]=n[0]+":not(["+e+"])",n):t?n.push("["+e+"]").join(","):n.join(":not(["+e+"]),");return e}function Dr(){var n=H.valueMaskingMode===R.censorMode.WhiteList,e=H.domMaskingMode===R.censorMode.WhiteList;return new Ar({valueMaskingMode:H.valueMaskingMode,valueMaskIds:n?H.maskWhitelistValueById:H.maskBlacklistValueById,valueMaskClasses:n?H.maskWhitelistValueByClass:H.maskBlacklistValueByClass,valueMaskIgnoreAttribute:H.valueMaskIgnoreAttribute,domMaskingMode:H.domMaskingMode,domMaskIds:e?H.domWhitelistMaskContentById:H.domBlacklistMaskContentById,domMaskClasses:e?H.domWhitelistMaskContentByClass:H.domBlacklistMaskContentByClass,domOmitIds:H.domMaskOmitById||H.domOmitById,domOmitClasses:H.domMaskOmitByClass||H.domOmitByClass,domMaskedAttributes:H.domMaskedAttributes,domMaskDataAttributes:H.domMaskDataAttributes,domMaskAttributesTags:H.domMaskAttributesByTag,domMaskIgnoreAttribute:H.domMaskIgnoreAttribute,domMaskSimpleSelector:e?H.domWhitelistMaskSimpleSelector:H.domBlacklistMaskSimpleSelector},et())}function _r(n){this._cookieMaskSet=n&&n.cookieMask?q.immutableSet.apply(null,n.cookieMask):null}function Or(n,e,t,o,r){this._encryptionSelector=function(n,e){var t,r=[];if(n)for(t=0;t<n.length;t++)r.push("#"+n[t]);if(e)for(t=0;t<e.length;t++)r.push("."+e[t]);if(0===r.length)return null;var i=r.join(",");return o.validateSelector(i)?i:null}((r=r||{}).domEncryptIds,r.domEncryptClasses),this._unEncryptableTags=q.immutableSet("TITLE","SCRIPT"),this._encryptionUtils=e,this._maskingUtils=t,this._events=n,this._shouldFallback=!1}function Lr(i){var o,a=i.length;this.onStart=function(n,e){for(o=0;o<a;o++)i[o].onStart(n,e)},this.onEnterElement=function(n,e){var t,r;for(o=0;o<a;o++)r=i[o].onEnterElement(n,e),t=t||r;return t},this.onLeaveElement=function(n,e){for(o=0;o<a;o++)i[o].onLeaveElement(n,e)},this.onEnd=function(){for(o=0;o<a;o++)i[o].onEnd()}}function Fr(n,e){this._node=n,this._predicate=e,this._childIndex=-1}function Pr(m,t,g,r,p,i,y,w,b,E,o,C){var S=!!m.ShadowRoot;this.clone=function(n,u,c,s){var f={},d=0,l=g.clonerDoc.createElement("gb-root"),h=r.createFuse(),v=!C||s||s===U;if(i.visit(n,function(n,e){if(h.blown)return!0;!v&&(n&&n.nodeType===Node.TEXT_NODE||C&&!s&&q.isVisible(n))&&(v=!0);var t,r=!0,i=p.idOf(n);if(S&&n instanceof m.ShadowRoot?t=g.clonerDoc.createElement("gb-shadow"):(t=u&&u(n,e)||y&&y(n,e))?r=!1:t=g.cloneNode(n),t){if(c&&c(t,n),w&&w(t,n),b&&n&&n.getRootNode&&n.nodeType!==Node.DOCUMENT_NODE){var o=function(r,i,o,a){var u=[];{var n,c;r.getRootNode().adoptedStyleSheets&&(r===r.getRootNode()||r.adoptedStyleSheets||"HEAD"===r.nodeName)&&(n=r.adoptedStyleSheets||r.getRootNode().adoptedStyleSheets,c=r===r.getRootNode()?i:o.idOf(r),n&&n.length&&n.forEach(function(n){var e=q.createAssociatedCss(n,i,c),t=o.idOf(e);n._gbRemoveId&&e.setAttribute("gbRemoveId",n._gbRemoveId),n.gbRealId=c,n._gbRemoveId=t,e.setAttribute("gbid",n._gbRemoveId),n.gbAssociateIds&&!n.gbAssociateIds[i]?n.gbAssociateIds[i]=!0:n.gbAssociateIds||(n.gbAssociateIds={},n.gbAssociateIds[i]=!0),a[i]=r.getRootNode(),u.push(e)}))}return u}(n,i,p,E);if(o.length)for(var a=0;a<o.length;++a)t.appendChild(o[a])}(n.shadowRoot||n.childNodes&&n.childNodes.length)&&(f[i]=t);i=n.parentNode||n.host;(i&&f[p.idOf(i)]||l).appendChild(t)}return n&&n.nodeType===Node.ELEMENT_NODE&&d++%100==0&&h.onElementsCloned(d),r&&!h.blown}),1<l.childNodes.length&&(t.emit("clsDebug","Error: NodeCloner, cloneRoot.childNodes have more then one child"),o))for(var e=0;e<l.childNodes.length;++e)if("HTML"===l.childNodes[e].nodeName)return l.childNodes[e];return v?l.lastChild:{error:"page is empty or not visible"}}}function Br(c,s,f){f=q.optionsWithDefaults(f,{crossShadow:!1}),this.visit=function(n,e,t){var r,i=t?"children":"childNodes",o=n,a=[o],u={};for(s.onStart(n,u);a.length;)if((o=a.pop()).isParentMarker)s.onLeaveElement(o.parent,u);else if(c(o)&&!1!==e(o,u)){if(o[i]&&o[i].length)for(s.onEnterElement(o,u)&&a.push({parent:o,isParentMarker:!0}),r=o[i].length-1;0<=r;r--)a.push(o[i][r]);f.crossShadow&&o.shadowRoot&&a.push(o.shadowRoot)}s.onEnd()}}function jr(r,n,i){i=q.optionsWithDefaults(i,{expireAfter:100,byCtor:[]});var o={};n.on("domTrackingStarted",function(){setTimeout(function(){o={}},i.expireAfter)}),this.clonerHook=function(n,e){for(var t=0;t<i.byCtor.length;t++)if(e instanceof r[i.byCtor[t]]){o[i.byCtor[t]]||(o[i.byCtor[t]]=[]),o[i.byCtor[t]].push(e);break}},this.consumeByCtor=function(n){var e=o[n];return delete o[n],e||[]}}function Ur(n,e){n.rules&&0<n.rules.length&&(q.ensureProperty(e,"cssRuleChanges").rules=n.rules)}function Hr(n,e){n.rules&&0<n.rules.length&&(q.ensureProperty(e,"animationApply").rules=n.rules)}function Vr(n,e,t,r,i){if(void 0!==r.characterDataChild){var o=function(n,e){for(var t,r=-1,i={nodeIndex:-1,hasElements:!1,mergedTextContent:""};t=n.next();)r++,t.nodeType!==Node.TEXT_NODE?i.hasElements=!0:i.mergedTextContent+=t.textContent,t===e&&(i.nodeIndex=r);return i}(n(r.element),r.characterDataChild);if(0<=o.nodeIndex){n=o.hasElements?r.characterDataChild.textContent:o.mergedTextContent;e&&e.isDomMasked(r.element,Jn.SELF_OR_ANY_PARENT,Kn.TEXT)?n=z.censorValueOf(n):t&&t.isDomEncrypted(r.element,Jn.SELF_OR_ANY_PARENT)&&(n=t.encrypt(n));r=q.ensureProperty(i,"domChanges",r.id);return r.characterData={value:n,child:o.hasElements?o.nodeIndex:0},r}}}function qr(u,n){n=n||{};var c=q.immutableSet("checkbox","radio"),s=q.immutableSet.apply(null,n.ignoredFormElement||[]);var f={INPUT:"inputs",SELECT:"selects",TEXTAREA:"textareas"};return function(n,e){var t;if((i=n.element,!s[q.getElementId(i)])&&(n.properties&&0<n.properties.length)){var r,i=f[n.element.tagName];if(i){for(var o=q.ensureProperty(e,i,n.id),a=0;a<n.properties.length;a++)r=n.element,t=n.properties[a],o[r="SELECT"===r.tagName?"selectedIndex":"INPUT"===r.tagName&&c[r.getAttribute("type")||""]?"checked":t]=(t=n.element,r=r,u&&"value"===r?u.censor(t):t[r]);return o}}}}function zr(n,t){var r,e;n.WebSocket&&(r=n.WebSocket,((e=function(n,e){n=e?new r(n,e):new r(n);try{n.addEventListener("message",t)}catch(n){logger.error("failed intercepting WebSocket constructor: "+n.message,n)}return n}).prototype=r.prototype).constructor=r,e.CONNECTING=0,e.OPEN=1,e.CLOSING=2,e.CLOSED=3,n.WebSocket=e)}function Wr(t,r,i,o,a,u){var n,e=!1,c=!1,s=null,f=q.immutableSet.apply(null,u.domIgnoreAttributes||[]);function d(n){for(var e=0;e<n.length;e++)if(a(n[e]))return;return 1}void 0!==t.MutationObserver?s=t.MutationObserver:void 0!==t.WebKitMutationObserver&&(s=t.WebKitMutationObserver);function l(n){if("attributes"!==n.type||!f[n.attributeName]){var e=n.target;if(a(e)&&q.isAttachedToDOM(e)){if("characterData"===n.type&&e instanceof CharacterData&&(e=e.parentNode||e),"childList"===n.type){if(d(n.addedNodes)&&d(n.removedNodes))return;var t=function(n){for(var e=[],t=0;t<n.length;t++)q.isAttachedToDOM(n[t])&&e.push(n[t]);return e.length===n.length?U:e}(n.addedNodes);if(t){if(!t.length&&!n.removedNodes.length)return;n={type:n.type,target:n.target,actualTarget:n.actualTarget,addedNodes:t,removedNodes:n.removedNodes}}}n.actualTarget=e,i.throttle(n)||"attributes"===n.type&&"class"===n.attributeName&&n.target.classList&&n.target.classList.value===n.oldValue||(0<=u.delayDomMutationEvent?setTimeout(function(){r.emit("domMutation",n)},u.delayDomMutationEvent):r.emit("domMutation",n))}}}var h={attributes:!0,childList:!0,characterData:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:u.domTamperingDetectionEnabled||!1};function v(){n&&n.disconnect()}u.domFilterAttributes&&u.domFilterAttributes.length&&(h.attributeFilter=u.domFilterAttributes),r.on("quotaBreach",function(){c=!0,v()}),this.getName=function(){return"MutationObserver based"},this.supported=function(){return null!==s},this.start=function(){if(!c&&!e){if(!n){if(!s)throw new Error("cannot start DomObserver: native interface not supported by the browser.");n=new s(function(n){n.forEach(l)})}n.observe(o,h),e=!0}},this.stop=function(){v()},this.n=function(){if(s&&t.navigator.userAgent.match(/Trident\/(\d+)/)){var n=new s(function(n){});n.observe(o,{childList:!0,subtree:!0});var e=(new DOMParser).parseFromString("<?xml version='1.0' encoding='UTF-8'?><test><![CDATA[-5153879911146088898:4982669000430465522]]></test>","text/xml");return n.disconnect(),1<e.firstChild.childNodes.length}return!1}}function Gr(u,c,e,s){var t=!1,r=!1,i=function(n){var e,t,r,i=[],o=[],a=n.type;if("DOMNodeInserted"===n.type){if(e="childList",(t=n.target.parentNode)&&(i.push(n.target),!s(n.target)))return}else if("DOMNodeRemoved"===n.type){if(e="childList",(t=n.target.parentNode)&&(o.push(n.target),!s(n.target)))return}else if("DOMCharacterDataModified"===n.type)e="characterData",t=n.target.parentNode;else{if("DOMAttrModified"!==n.type)return;e="attributes",t=n.target,r=n.attrName}s(t)&&t&&(o={origType:a,type:e,target:n.target,actualTarget:t,attributeName:r,addedNodes:i,removedNodes:o},c.throttle(o)||u.emit("domMutation",o))};function n(){t&&(e.removeEventListener("DOMNodeInserted",i,!1),e.removeEventListener("DOMCharacterDataModified",i,!1),e.removeEventListener("DOMNodeRemoved",i,!1),e.removeEventListener("DOMAttrModified",i,!1))}u.on("quotaBreach",function(){r=!0,n()}),this.getName=function(){return"DOM events based"},this.supported=function(){return"undefined"!=typeof MutationEvent},this.start=function(){var n;r||t||(n=e,q.addEventHandler(n,"DOMNodeInserted",i,!1),q.addEventHandler(n,"DOMCharacterDataModified",i,!1),q.addEventHandler(n,"DOMNodeRemoved",i,!1),q.addEventHandler(n,"DOMAttrModified",i,!1),t=!0)},this.stop=function(){n()},this.isActive=function(){return t}}function Xr(e,t,r){var i;t.on("init:loaded",function(){i=r.maskTitle?q.transformTextSegments(e.title,z.censorValueOf):e.title}),t.on("domMutation",function(){var n;n=!i||i===e.title||r.maskTitle&&q.transformTextSegments(e.title,z.censorValueOf)===i,i=r.maskTitle?q.transformTextSegments(e.title,z.censorValueOf):e.title,n||setTimeout(function(){t.emit("titleChanged")},0)})}function Jr(n,o,a,u,c,s,f,d){var l="page is empty or not visible",h=o.doctype?(o.doctype,(n.XMLSerializer?(new XMLSerializer).serializeToString(o.doctype):"<!DOCTYPE html>")+"\n"):"";this.take=function(n,e){if(null===o.body)return U;q.currentTimestamp();try{var t=a.cloneNode(o.documentElement,f,s,e);if(t.error===l)return{error:this.lastError=l};var r=h+t.outerHTML,i=u?u.maskCookie(o.cookie):o.cookie;return new Kr(r,c.mask(o.referrer),n,i,o.characterSet,d)}catch(n){return logger.error("could not obtain page snapshot. error: "+n),this.lastError=n,U}finally{q.currentTimestamp()}}}function Kr(n,e,t,r,i,o){this.html=n,this.referrer=o?e.replace(/\s/g,"%20"):e,this.seq=t,this.charset=i,this.cookie=r}function Qr(c,s,f){f=f||{},c=c||[];var d=0;this.getSnapshot=function(){for(var n,e,t,r,i,o={timestamp:d++,propertiesMode:"modifiedOnly",version:f.tokenizationVersion},a=0,u=0;u<c.length;u++){for(n in i=0,e=(r=c[u]).tracker.track())t=e[n],function(n,e,t){if(!e.removed){for(var r,i=!1,o=0;o<n.length;o++)(r=n[o](e,t))&&!i&&(r.selector=s.getSelectorInfo(e.element,!1).selector,i=!0);return 1}}(r.providers,t,o)&&i++;a+=i}return o=0===a?U:o},this.start=function(){for(var n=0;n<c.length;n++)c[n].tracker.start()},this.addBundle=function(n){c.push(n)},this.removeBundle=function(n){for(var e=c.length-1;0<=e;e--)if(c[e].tracker.getTarget()===n){c.splice(e,1);break}}}function Yr(n,e,t){this.element=n,this.id=e,this.addedNodes={},this.adoptedStyles=[],this._nodeCache=t}function $r(n,o){var i={},a={},u=0;function c(n){var e=o.idOf(n),t=i[e];return t||(t=new Yr(n,e,o),i[e]=t),t}function e(n){var e=u++,t=c(n.actualTarget);if("characterData"===n.type)t.characterDataChild=n.target;else if("childList"===n.type){if(t.childListOrdinal=e,n.addedNodes.length)for(var r,i=0;i<n.addedNodes.length;i++)r=o.idOf(n.addedNodes[i]),a[r]=!0,t.onNodeAdded(r),n.adoptedStyle&&t.adoptedStyles.push(n.addedNodes[i])}else"attributes"===n.type&&(t.attributes||(t.attributes={}),t.attributes[n.attributeName]=e)}n.on("shadow:rootAttached",function(n){var e=o.idOf(n),n=c(n.host);n.childListOrdinal=u++,a[e]=!0,n.onNodeAdded(e)}),this.start=function(){n.on("domMutation",e)},this.track=function(){var n=i;return function(){var n,e,t,r=0;for(n in i)if(i.hasOwnProperty(n)&&!(t=i[n]).removed){for(e=t.element;e.parentNode;){if(a[o.idOf(e)]){r++,t.removed=!0;break}e=e.parentNode}t.removed||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE||e.nodeType===Node.DOCUMENT_NODE||(t.removed=!0,r++)}}(),u=0,i={},a={},n},this.getTarget=function(){return!1}}function Zr(l,h,v){var m=!0,g={};v=q.immutableSet.apply(null,v||[]);this.start=function(){},this.track=function(){for(var n,e,t,r,i,o,a,u,c={},s={},f=l.querySelectorAll("input,select,textarea"),d=0;d<f.length;d++)(a=f[d]).id&&v[a.id]||"hidden"===a.getAttribute("type")||(n=h.idOf(f[d]),e=f[d],t=n,r=c,a=o=i=void 0,(a=Zr.propertyForElement(e))&&(i=(g[t]||{})[a],o=e[a],(m?o!==Zr.defaultValue(e,a):i!==o)&&(r[t]||(r[t]=new Yr(e,t,h),r[t].properties=[]),r[t].properties.push(a)),(r={})[a]=o,g[t]=r),s[n]=!0);for(u in g)s[u]||delete g[u];return m=!1,c},this.getTarget=function(){return l}}function ni(n,r){var e,i,t,o,a=[];e=n.CSSStyleSheet.prototype,i=e.insertRule,e.insertRule=function(){var n=i.apply(this,arguments);try{var e=arguments[0];this.gb_css_rules?this.gb_css_rules+=e:this.gb_css_rules=e;var t=r.idOf(this.ownerNode);a.push({selector:""+t,type:"added",rule:e,index:n})}catch(n){logger.error("Exception occurred during CSS insertRule interception. Error: "+n.message,n)}return n},t=n.CSSStyleSheet.prototype,o=t.deleteRule,t.deleteRule=function(){try{var n,e=arguments[0];this.cssRules[e]!==U&&(n=r.idOf(this.ownerNode),a.push({selector:""+n,type:"deleted",index:e}))}catch(n){logger.error("Exception occurred during CSS deleteRule interception. Error: "+n.message,n)}return o.apply(this,arguments)},this.start=function(){},this.track=function(){var n={};return a.length&&(n.cssRules={rules:a}),a=[],n},this.getTarget=function(){return!1}}function ei(n,t){var e,r,i,o,a=[],u={};n.Animation&&(i=n.Animation.prototype,(o=i.play)&&(i.play=function(){var n,e=o.apply(this,arguments);try{this.effect&&(n=t.idOf(this.effect.target),u[n]&&a.push({selector:""+n,type:"animate",rule:[u[n],this.effect.getTiming()]}))}catch(n){logger.error("Exception occurred during animation interception. Error: "+n.message,n)}return e}),e=HTMLElement.prototype,r=e.animate,e.animate=function(){var n=r.apply(this,arguments);try{var e=t.idOf(this);u[e]=arguments[0]}catch(n){logger.error("Exception occurred during animation interception. Error: "+n.message,n)}return n}),this.start=function(){},this.track=function(){var n={};return a.length&&(n.cssRules={rules:a}),a=[],n},this.getTarget=function(){return!1}}function ti(n,e,t,r,i,o,a,u,c){var s=function(t){t=q.optionsWithDefaults(t,{denyTagNames:[],acceptIfTextContentMatches:{},denyIdsByTagName:{},denyComments:!0,denyHeadTagNames:[],denyIds:[],denyClasses:[],denyObjectElementsByType:[],tagsToCheckLength:[],maxTextLength:-1});var r,i,o,a,u,c,s,n=function(){var n,e={};for(n in t.denyIdsByTagName)e[n]=q.immutableSet.apply(null,t.denyIdsByTagName[n]);return e}(),e=function(){var n,e={};for(n in t.acceptIfTextContentMatches)e[n]=new RegExp(t.acceptIfTextContentMatches[n]);return e}(),f=q.immutableSet.apply(null,t.denyTagNames),d=q.immutableSet.apply(null,t.denyHeadTagNames),l=q.immutableSet.apply(null,t.denyIds),h=q.immutableSet.apply(null,t.denyObjectElementsByType),v=q.immutableSet.apply(null,t.tagsToCheckLength);return r=f,i=d,o=n,a=e,u=l,c=t.denyClasses,s=h,function(n){if(t.maxTextLength&&-1<t.maxTextLength&&v[n.tagName]&&n.innerHTML.length>t.maxTextLength)return!1;if(n.parentNode&&"HEAD"===n.parentNode.tagName&&i[n.tagName])return!1;if(u[n.id]||"OBJECT"===n.tagName&&s[n.getAttribute("type")]||q.hasOneOfClassNames(n,c))return!1;if(r[n.tagName]){var e=a[n.tagName];if(!e||!e.exec(n.textContent))return!1}return(!n||n.nodeType!==Node.COMMENT_NODE||!t.denyComments)&&(!o[n.tagName]||"undefined"===n.id||!o[n.tagName][n.id])}}({denyComments:!c.domKeepComments,denyTagNames:["SCRIPT","NOSCRIPT","DOM-IF"],denyIdsByTagName:c.domIgnoredFormElements?{INPUT:c.domIgnoredFormElements}:{},acceptIfTextContentMatches:c.domKeepScriptMatching?{SCRIPT:c.domKeepScriptMatching}:{},denyHeadTagNames:["IFRAME","FRAME","FRAMESET"],denyIds:c.domMaskOmitById||c.domOmitById,denyClasses:c.domMaskOmitByClass||c.domOmitByClass,denyObjectElementsByType:c.domOmitObjectElementsByType,tagsToCheckLength:c.tagsToCheckLength,maxTextLength:c.tagMaxLength}),f=[];f.push(o.createContextUpdater(t)),f.push(a.createContextUpdater(t));var d,l,h,o=new Br(s,new Lr(f),{crossShadow:c.recordShadowDom}),f=q.compositeFunctionBuilder(!0);c.domCompressRepetitiveElements.length&&f.add(function(u,n){var c=1,s={};n=n.map(function(n){return n.toUpperCase()});var f=q.immutableSet.apply(null,n);return function(n){var e;if(n.tagName&&(e=n.tagName.toUpperCase()),f[e])try{var t,r,i=n.outerHTML,o=s[i];if(o)(r=n.ownerDocument.createElement(e)).setAttribute("gb-clone",o);else{for(s[i]=c,(r=n.ownerDocument.createElement(e)).innerHTML=n.innerHTML,t=0;t<n.attributes.length;t++){var a=n.attributes[t];r.setAttribute(a.name,a.value)}r.setAttribute("gb-proto",c.toString()),c++}return r}catch(n){logger.error("Error while handling repetitive element: "+n.message,n),u.emit("clsDebug","error while handling repetitive element. Exception message: "+n.message)}}}(e,c.domCompressRepetitiveElements)),f.add(ii),f.add(ai),(c.struggleCaptureHorizontalScrollbar||c.struggleCaptureBlankPage)&&f.add(i.clonerHook),f.add((d=z,l=a,function(n,e){if(n){if(n.nodeType===Node.TEXT_NODE&&e&&e.maskText)return n.ownerDocument.createTextNode(q.transformTextSegments(n.textContent,d.censorValueOf));if(n.nodeType===Node.TEXT_NODE&&e&&e.encryptText){e=l.encrypt(n.textContent);return n.ownerDocument.createTextNode(e)}}})),c.maskTitle&&f.add((h=z,function(n){if("TITLE"===n.nodeName){var e=n.ownerDocument.createElement("title");return e.textContent=q.transformTextSegments(n.textContent,h.censorValueOf),e}}));var v,m,g,p,y,w,b,E,a=q.compositeFunctionBuilder(!0).add(function(n,e,t,r){t&&t.nodeType===Node.ELEMENT_NODE&&t.setAttribute(n,r[e])}.gbBind(null,"gbid",F.GB_ID_FIELD_NAME));(c.valueMaskingMode===R.censorMode.WhiteList||c.maskBlacklistValueByClass.length||c.maskBlacklistValueById.length||c.valueMaskByCategories.length||c.valueBlacklistMaskSimpleSelector.length||(c.valueEncryptionMode===R.censorMode.WhiteList||c.valueEncryptById.length||c.valueEncryptByClass.length))&&(a.add((m=r,function(n){"INPUT"===n.tagName&&n.getAttribute("value")&&n.setAttribute("value",m.censor(n))})),f.add((v=r,function(n){if("TEXTAREA"===n.tagName&&n.firstChild){var e,t=n.firstChild.textContent;if(t&&(e=v.censor(n))!==n.firstChild.textContent){n=n.cloneNode(!0);return n.firstChild.textContent=e,n.maskContent=!0,n}}}))),c.domMaskAttributesByTag.length&&(c.domMaskedAttributes.length||c.domMaskDataAttributes)&&a.add((g=z,k={domMaskedAttributes:c.domMaskedAttributes,domMaskAttributesTags:c.domMaskAttributesByTag,domMaskIgnoreAttribute:c.domMaskIgnoreAttribute,domMaskDataAttributes:c.domMaskDataAttributes},p={IMG:"data:image/gif;base64,"},y=q.immutableSet.apply(null,k.domMaskedAttributes),w=q.immutableSet.apply(null,(k.domMaskAttributesTags||[]).map(function(n){return n.toUpperCase()})),b=!!k.domMaskDataAttributes,E=k.domMaskIgnoreAttribute,function(n){if(w[n.tagName]&&"function"==typeof n.getAttribute&&!n.hasAttribute(E)){var e,t,r;for(e in y)!y.hasOwnProperty(e)||(t=n.getAttribute(e))&&(p[n.tagName]&&"src"===e?n.setAttribute(e,p[n.tagName]):n.setAttribute(e,g.censorValueOf(t)));if(b)if(n.dataset)for(r in n.dataset)n.dataset[r]=g.censorValueOf(n.dataset[r])}})),c.removeBase64ImageDataTagNames&&0<c.removeBase64ImageDataTagNames.length&&a.add(ui(q.immutableSet.apply(null,c.removeBase64ImageDataTagNames)));var C,S,T,I,k=q.isIE(n.navigator.userAgent),k=(C=e,S={maxElements:k?c.domFuseElementCountIE:c.domFuseElementCount,maxDuration:k?c.domFuseDurationIE:c.domFuseDuration},T=0<((S=S||{}).maxElements||0),I=0<(S.maxDuration||0),{createFuse:function(){return{blown:!1,createdAt:new Date,elementCount:-1,duration:-1,onElementsCloned:M}}});function x(n,e){var t;n.blown||(t=-1!==n.duration?n.duration:new Date-n.createdAt,n.elementCount,n.blown=!0,C.emit("dom:fuseBlown",{reason:e,duration:t,elements:n.elementCount,maxDuration:S.maxDuration||-1,maxElements:S.maxElements||-1}),C.emit("clsDebug","DOM cloning fuse blown. reason:"+e+" elements:"+n.elementCount+" duration:"+t))}function M(n){this.blown||(this.elementCount=n,I&&(this.duration=new Date-this.createdAt,this.duration>=S.maxDuration)?x(this,"duration"):T&&this.elementCount>=S.maxElements&&x(this,"elementCount"))}u=new Pr(n,e,function(n,t,e,r){var i,o,a=U;try{a=r?new RegExp(r,"i"):U}catch(n){}return n=a&&a.test(n.navigator.userAgent)||e.isSafari(n.navigator.userAgent)||e.isChromeOnIos(n.navigator.userAgent)?(i=n.document.implementation.createHTMLDocument("cloner-doc"),o=j.documentElement.namespaceURI,function(n){var e;return n&&n.nodeType===Node.ELEMENT_NODE?(e=n.namespaceURI!==o?i.createElementNS(n.namespaceURI,n.tagName.toLowerCase()):i.createElement(n.tagName),Array.prototype.slice.call(n.attributes).forEach(function(n){try{e.setAttribute(n.name,n.value)}catch(n){}})):e=i.importNode(n,!1),e}):e.isIE(n.navigator.userAgent)?(i=n.document,function(e){try{return e.cloneNode(!1)}catch(n){t.emit("clsDebug","failed to clone node "+e.nodeName)}}):(i=n.document.implementation.createHTMLDocument("cloner-doc"),function(n){return i.importNode(n,!1)}),{clonerDoc:i,cloneNode:n}}(n,e,q,c.forceRenderingFixForUA),k,t,o,f.build(),a.build(),c.enableAdoptedCss,u,c.checkForHtmlOnly,c.checkVisibility);this.isNodeAccepted=s,this.createChildNodesIterator=function(n){return new Fr(n,s)},this.visit=o.visit.gbBind(o),this.cloneNode=u.clone.gbBind(u)}function ri(n,o,c){var s={},f={},d={throttledMutations:0,throttledAddedNodes:0};function l(n){var e=c.idOf(n);if(s[e]){delete s[e];for(var t=[],r=n.childNodes||[],i=0;i<r.length;i++)r[i]._gbPending&&(delete r[i]._gbPending,t.push(r[i]));o.emit("domMutation",{origType:"childList",type:"childList",target:n,actualTarget:n,addedNodes:t,removedNodes:[]})}}this.throttle=function(n){var e,t,r,i=c.idOf(n.actualTarget),o=q.isVisible(n.actualTarget);if("childList"!==n.type||(e=n.actualTarget,t=n.addedNodes,r=n.removedNodes,e.ownerDocument.head.contains(e)||a(t||[])||a(r||[]))||o)return f[i]&&o&&function(n,e){for(var t,r,i=[n];i.length;)if(e(n=i.shift()),r=c.idOf(n),n.children&&f[r])for(delete f[r],t=0;t<n.children.length;t++)i.push(n.children[t])}(n.actualTarget,l),!1;function a(n){for(var e=0;e<n.length;e++)if("STYLE"===n[e].tagName)return 1}for(var u=0;u<n.addedNodes.length;u++)n.addedNodes[u]._gbPending=!0;return s[i]=!0,d.throttledAddedNodes+=n.addedNodes.length,d.throttledMutations++,function(n){for(;n;)f[c.idOf(n)]=!0,n=n.parentNode}(n.actualTarget),!0}}function ii(n){if("LINK"===n.tagName&&"import"===n.getAttribute("rel")){for(var e,t,r,i,o=n.import,a=[],u="",c={};o;){if((r=o.querySelectorAll("style")).length)for(e=0;e<r.length;e++)u+=r[e].textContent;for(i=o.querySelectorAll("link[rel='import']"),t=0;t<i.length;t++)i[t].import&&!c[i[t].href]&&(a.push(i[t].import),c[i[t].href]=!0);o=a.pop()}if(u){var s=n.ownerDocument.createElement("style");return s.textContent=u,s.setAttribute("gb-imported-from",n.href),s}}}function oi(n){if("STYLE"===n.tagName&&n.ownerDocument){var e=n.ownerDocument.createElement("style");if(n.sheet){var t,r=n.sheet.cssRules,i="";if(r&&r.length)for(t=0;t<r.length;t++)"string"==typeof r[t].cssText&&(i+=r[t].cssText);e.textContent=i}return e}}function ai(n){if("STYLE"===n.tagName){var e=n.ownerDocument.createElement("style");if(e.textContent=(n.textContent||"")+(n.gb_css_rules||""),!e.textContent&&n.sheet){var t,r=n.sheet.cssRules;if(r&&r.length)for(t=0;t<r.length;t++)"string"==typeof r[t].cssText&&(e.textContent+=r[t].cssText)}return e}}function ui(i){i=i||{};var o=/(url\()?"?data:image\/\.?(png|jpe?g);[a-zA-Z0-9\D]*;?base64/,a=/(background-image:)( *)(url\()?(&quot;)?"?data:image\/\.?(png|jpe?g);[a-zA-Z0-9\D]*;?(base64,).*(\s)*?(?=\))\)*;*/;return function(n,e,t){if(i[n.tagName]){if("IMG"===n.tagName&&n.src)return o.test(n.src)?t?"":(n.src="",void n.setAttribute("gb-dataremoved","")):n.src;if("STYLE"===n.tagName&&o.test(n.innerText))return t?n.innerText.replace(a,"").replace(/(\r\n|\n|\r)/gm,""):(n.innerText=n.innerText.replace(a,"").replace(/(\r\n|\n|\r)/gm,""),void n.setAttribute("gb-dataremoved",""));var r=n.getAttribute("style");return r?a.test(r)?t?r.replace(a,""):(n.style.backgroundImage="",void n.setAttribute("gb-dataremoved","")):r:void 0}}}function ci(n,e){var t,r;"SELECT"===n.tagName&&(t=e.selectedIndex,(r=n.getElementsByTagName("option")).length?r[t]&&r[t].setAttribute("selected",""):(r=e.getElementsByTagName("option"))[t]&&(r[t]._gbselected=!0)),"OPTION"===n.tagName&&e._gbselected&&n.setAttribute("selected","")}function si(e){return{tokenForClonedNode:function(n){return(n&&n.nodeType===Node.TEXT_NODE?"text:":"el:")+(n=n,q.DOMElement2Str(n))},tokenForNode:function(n){return n&&n.nodeType===Node.TEXT_NODE?"text-ref:"+q.hashcode(n.textContent):"id:"+e.idOf(n)}}}function fi(n,e,t,r,i){var o=(i=i||{}).domThrottle||i.domThrottleIEOnly&&n.MSInputMethodContext&&n.document.documentMode?new ri(0,e,F):{throttle:function(){return!1}};function a(n){return r(n)&&(!i.domIgnoreChangesByClass.length||!q.hasOneOfClassNames(n,i.domIgnoreChangesByClass))&&(!i.domIgnoreChangesById.length||i.domIgnoreChangesById.indexOf(q.getElementId(n))<0)}var u=new Wr(n,e,o,t,a,{domTamperingDetectionEnabled:i.domTamperingDetectionEnabled,delayDomMutationEvent:i.delayDomMutationEvent,domFilterAttributes:i.domFilterAttributes,domIgnoreAttributes:i.domIgnoreAttributes});return u.supported()?!i.domIE11ForceMutationObserver&&u.n()&&(u=new Gr(e,t,a)):u=i.semiDomEnabled?U:new Gr(e,o,t,a),u}function di(a,u,c){var r,n;function i(n,e){var t,r,i,o;n&&e&&e[0]&&e[0].length&&(t=e[0],r=[],e=n.nodeType===Node.DOCUMENT_NODE?n.getElementsByTagName("HEAD")[0]:n,i=u.idOf(e),o=n===e?i:u.idOf(n),t.forEach(function(n){var e=q.createAssociatedCss(n,i,o),t=u.idOf(e);n._gbRemoveId&&e.setAttribute("gbRemoveId",n._gbRemoveId),n.gbRealId=o,n._gbRemoveId=t,e.setAttribute("gbid",n._gbRemoveId),n.gbAssociateIds&&!n.gbAssociateIds[i]?n.gbAssociateIds[i]=!0:n.gbAssociateIds||(n.gbAssociateIds={},n.gbAssociateIds[i]=!0),r.push(e)}),c[i]=e,a.emit("domMutation",{type:"childList",target:e,actualTarget:e,addedNodes:r,removedNodes:[],adoptedStyle:!0}))}window.CSSStyleSheet&&(function(n,e){var t=Object.getOwnPropertyDescriptor(n,"adoptedStyleSheets")&&Object.getOwnPropertyDescriptor(n,"adoptedStyleSheets").set,r=Object.getOwnPropertyDescriptor(e,"adoptedStyleSheets")&&Object.getOwnPropertyDescriptor(e,"adoptedStyleSheets").set;t&&Object.defineProperty(n,"adoptedStyleSheets",{set:function(){var n=t.apply(this,arguments);try{i(this,arguments)}catch(n){logger.error("error during method 'adoptedStyleSheets' hook invocation. error: "+n.message,n)}return n}});r&&Object.defineProperty(e,"adoptedStyleSheets",{set:function(){var n=r.apply(this,arguments);try{i(this,arguments)}catch(n){logger.error("error during method 'adoptedStyleSheets' hook invocation. error: "+n.message,n)}return n}})}(window.Document.prototype,window.ShadowRoot.prototype),(r=window.CSSStyleSheet.prototype.replaceSync)&&(window.CSSStyleSheet.prototype.replaceSync=function(){var n=r.apply(this,arguments);try{if(arguments){var e,t=this.gbAssociateIds;if(t)for(id in t)c[id]&&((e=q.createAssociatedCss(this,id,this.gbRealId)).setAttribute("gbremoveid",this._gbRemoveId),this._gbRemoveId=u.idOf(e),e.setAttribute("gbid",this._gbRemoveId),a.emit("domMutation",{type:"childList",actualTarget:c[id],addedNodes:[e],removedNodes:[],adoptedStyle:!0}))}}catch(n){logger.error("error during method 'CSSStyleSheet.replaceSync' hook invocation. error: "+n.message,n)}return n}),(n=window.CSSStyleSheet.prototype.replace)&&(window.CSSStyleSheet.prototype.replace=function(){return Promise.resolve(n.apply(this,arguments).then(function(n){var e,t=n.gbAssociateIds;if(t)for(id in t)c[id]&&((e=q.createAssociatedCss(n,id,n.gbRealId)).setAttribute("gbremoveid",n._gbRemoveId),n._gbRemoveId=u.idOf(e),e.setAttribute("gbid",n._gbRemoveId),a.emit("domMutation",{type:"childList",actualTarget:c[id],addedNodes:[e],removedNodes:[],adoptedStyle:!0}))}).catch(function(n){return logger.error("error during method 'CSSStyleSheet.replace' hook invocation. error: "+n),Promise.reject(n)}))}))}function li(t,i,o,n,e,r,a,u,c,s,f,d,l){var h,v,m=new Qr((g=si(e),g=[{name:"DOM-mutations",tracker:new $r(V,e),providers:[Vr.gbBind(null,n.createChildNodesIterator,r,a),function(n,e,t,r,i){var o=r.attributes?Object.keys(r.attributes):[];if(o&&0<o.length){var a,u,c,s,f={};for(t&&t.removeBase64ImageDataTagNames&&0<t.removeBase64ImageDataTagNames.length&&(c=ui(s=q.immutableSet.apply(null,t.removeBase64ImageDataTagNames))),a=0;a<o.length;a++)u=r.element.getAttribute(o[a]),"INPUT"===r.element.tagName&&"value"===o[a]?u="password"===r.element.getAttribute("type")?z.censorValueOf(u):n.censor(r.element):e.isAttributeMasked(r.element,o[a])?u=z.censorValueOf(u):("style"===o[a]||"src"===o[a])&&c&&s[r.element.tagName]&&""===(u=c(r.element,null,!0))&&"src"===o[a]&&(f["gb-dataremoved"]={value:"",ordinal:o.length+1}),f[o[a]]={value:u,ordinal:r.attributes[o[a]]};i=q.ensureProperty(i,"domChanges",r.id);return i.attributes=f,i}}.gbBind(null,c,r,{removeBase64ImageDataTagNames:l.removeBase64ImageDataTagNames}),function(n,e,t,r,i,o,a){if(void 0!==o.childListOrdinal&&!i.isDomMasked(o.element,Jn.SELF_OR_ANY_PARENT,Kn.OMIT)){for(var u,c,s=[],f=r(o.element);u=f.next();)c=e.idOf(u),o.addedNodes&&o.addedNodes[c]?(c=n.cloneNode(u),s.push(t.tokenForClonedNode(c))):s.push(t.tokenForNode(u));r=o.element.shadowRoot;r&&o.addedNodes[e.idOf(r)]&&s.push(t.tokenForClonedNode(n.cloneNode(r))),!r&&o.adoptedStyles&&o.adoptedStyles.length&&o.adoptedStyles.forEach(function(n){s.push(t.tokenForClonedNode(n))});a=q.ensureProperty(a,"domChanges",o.id);return a.children={ordinal:o.childListOrdinal,childList:s},a}}.gbBind(null,n,e,g,n.createChildNodesIterator,r)]},{name:"property",tracker:new Zr(j,e,l.ignoredFormElements),providers:[qr(c,{ignoredFormElement:l.ignoredFormElements})]}],l.recordCssRules&&g.push({name:"css",tracker:new ni(t,e),providers:[Ur]}),l.recordAnimation&&g.push({name:"animate",tracker:new ei(t,e),providers:[Hr]}),g),l.includeSelectorOnUpdate?new bt(H):{getSelectorInfo:function(){return{}}},{tokenizationVersion:"2"}),g=q.compositeFunctionBuilder().add(function(n,e){"INPUT"===n.tagName&&(e.value&&n.setAttribute("value",e.value),e.checked&&n.setAttribute("checked",""))}.gbBind(null)).add((h=z,function(n,e){"TEXTAREA"===n.tagName&&e.firstChild&&e.value!==e.firstChild.textContent&&(n.maskContent?n.firstChild.textContent=h.censorValueOf(e.value):n.firstChild.textContent=e.value)})).add(ci);t.ShadowRoot&&l.recordShadowDom&&(v=new jr(t,i,{byCtor:["ShadowRoot"]}),g.add(v.clonerHook.gbBind(v)));var p=new Jr(t,j,n,new _r({cookieMask:l.maskCookies}),W,g.build(),l.preciseStyleSheetCloning?oi:ai,l.encodeReferrer),y={snapshotDuration:-1,domUpdateDuration:-1,domUpdateCount:0,domObserver:o?o.getName():"NONE"},w=!!o;l=l||{},f=f||function(){};function b(){O=0,_=N=A=!1}function E(){b(),B(_=!0)}function C(n){var e=!1;_=!(D=!1),l.delaySnapshotAfterElementFound&&-1<l.delaySnapshotAfterElementFound&&setTimeout(function(){e||(e=!0,B())},l.delaySnapshotAfterElementFound),l.delaySnapshotAfterElementFound&&-1!==l.delaySnapshotAfterElementFound||B(!0)}function S(n){if(!R)return U;for(var e=0;e<l.ajaxTriggers.length;e++)if(-1!==n.url.indexOf(l.ajaxTriggers[e]))return n.url,void E()}function T(n){if(!R)return U;-1!==l.triggers.indexOf(n.selectorExpression)&&(n.selectorExpression,E())}function I(){w&&(o.start(),!R||A||N||void 0===l.onLoadTimeoutReport||-1===l.onLoadTimeoutReport||setTimeout(B,l.onLoadTimeoutReport))}function k(){if(!R)return U;if(l.snapshotImmediatePages&&l.snapshotImmediatePages.length)for(var n=t.location.href,e=0;e<l.snapshotImmediatePages.length;++e)if(q.isStringMatch(l.snapshotImmediatePages[e],n)){B(_=!0);break}}function x(){++F%l.updateOnWsCount==0&&i.emit("pageUpdate")}var M,R=!1,A=!1,N=!1,D=!1,_=!1,O=0,L=0,F=0,P=(M=null,function(){if(l.allowWaitForElementsUrls&&l.allowWaitForElementsUrls.length&&null===M)for(var n=0;n<l.allowWaitForElementsUrls.length;++n)if(q.isStringMatch(l.allowWaitForElementsUrls[n],t.location.href)){M=!0;break}return M=!!M}),B=function(n){if(!N&&!A&&!D)try{if(l.snapshotWaitForElement&&l.snapshotWaitForElement.length&&!_&&P())return q.waitForElementsOnPage(l.snapshotWaitForElement,C,l.elMustBeShown),!(D=!0);w&&o.start();var e=(t=n,r=new Date,(t=p.take(L,!!t))&&!t.error&&(y.snapshotDuration=new Date-r,L++,i.emit("pageSnapshot:report",t),i.emit("pageSnapshot:save",t)),t);e&&!e.error?("hidden"===j.visibilityState&&i.emit("clsDebug","Error: snapshot was taken while document was hidden"),m.start(),A=!0,i.emit("domTrackingStarted")):(f("pageSnapshotError("+ ++O+")",p.lastError),3<=O?(e.error&&B(!0),N=!0):l.reTakeSnapshotAfterTime&&0<l.reTakeSnapshotAfterTime&&setTimeout(B,l.reTakeSnapshotAfterTime))}catch(n){f("startingError",n),logger.error("error during DOM recording plugin starting. error: "+n)}var t,r;return A};this.initialize=function(n){return n.on("event:mousedown",T),n.on("ajax:send",S),n.on("init:loaded",I),n.on("session:new",E),n.on("init:domready",k),-1!==l.updateOnWsCount&&zr(t,x),l.compressionEnabled,l.enableAdoptedCss&&t.ShadowRoot&&di(n,e,d),R=!0},this.stats=function(){return y},this.getDomSnapshot=function(){if(!R)return U;if(N)return U;if(!B())return U;if(!w)return U;var n=new Date,e=m.getSnapshot();return y.domUpdateDuration+=new Date-n,y.domUpdateCount++,e},this.ensureStarted=B,this.isSemiDomActivated=function(){return!w},this.isStarted=function(){return A},this.reset=b,this.getNodeCloner=function(){return n},this.getDomMasker=function(){return r},this.getDomEncryptor=function(){return a},this.getNodeVisitor=function(){return n},this.consumeCapturedNodes=function(n){return v?v.consumeByCtor(n):[]},this.nodeAcceptancePredicate=n.isNodeAccepted.gbBind(n),this.getSnapshotAccumulator=function(){return m}}function hi(u,c,s,r){var t,r=q.optionsWithDefaults(r,{graceTime:2e3,ignorableTags:["TITLE","STYLE","SCRIPT"]}),i=q.immutableSet.apply(null,r.ignorableTags),f={},d=5,l=0,o=!1,a=!1;function h(){t=q.currentTimestamp()}var v=!1;function m(n){var e;!n.target||"characterData"!==n.type||(e=n.target).nodeType===Node.TEXT_NODE&&i[e.parentNode.nodeName]||((e=function(){var n=!1,e=j.querySelector("title");(j.documentElement.className.match("translated-rtl")||j.documentElement.className.match("translated-ltr"))&&(n=!0);e&&e.getAttribute&&e.getAttribute("_msthash")&&e.getAttribute("_msttexthash")&&e.getAttribute("_msthidden")&&(n=!0);return n}())===!!n.target.gbTranslated||n.target.gbCheckedTrans?e===n.target.gbTranslated&&(n.target.gbCheckedTrans=U):(n.target.gbTranslated=e,n.target.gbCheckedTrans=!0),e=n.target.data,o=o||(t=t||q.currentTimestamp(),q.currentTimestamp()-t>=r.graceTime),!n.target.gbCheckedTrans&&(a||v)&&o&&l<d&&f[s.idOf(n.target)]!==e&&n.oldValue.replace(/\s/g,"")!==e.replace(/\s/g,"")&&(++l,c.emit("domTampered",{element:n.target.parentNode,newText:e,prevText:n.oldValue})),a=!0)}function g(e){var t,n=j.implementation.createHTMLDocument("test");(t=new MutationObserver(function(n){t&&t.disconnect(),"characterData"!==n[0].type&&e()})).observe(n,{attributes:!1,childList:!0,characterData:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1}),n.body.innerText="text1"}c.on("devToolsVisibilityChanged",function(n){v=n.value}),this.initialize=function(){if(r.domTamperingIgnorePages&&r.domTamperingIgnorePages.length)for(var n=0;n<r.domTamperingIgnorePages.length;++n)if(q.isStringMatch(r.domTamperingIgnorePages[n],u.location.href))return;var e=!(!q.isChromeDesktop()&&!q.isChromeOnIos()||u.opr);function t(){function n(){l<d&&(f[s.idOf(this)]=this.data)}function e(){this&&this.nodeType===Node.TEXT_NODE&&l<d&&(f[s.idOf(this)]=this.data)}function t(){1===this.childNodes.length&&this.childNodes[0].nodeType===Node.TEXT_NODE&&(f[s.idOf(this.childNodes[0])]=this.childNodes[0].data)}var r,i,o,a;r=kn.hookProto(u.CharacterData.prototype),i=kn.hookProto(u.Text.prototype),o=kn.hookProto(u.Node.prototype),a=kn.hookProto(u.HTMLElement.prototype),r.setHookAfter("replaceData",n),r.setHookAfter("appendData",n),r.setHookAfter("insertData",n),r.setHookAfter("deleteData",n),r.hookSetPropertyAfter("data",n),i.setHookAfter("splitText",n),o.hookSetPropertyAfter("textContent",e),o.hookSetPropertyAfter("nodeValue",e),i.setHookAfter("replaceWholeText",n),q.isIE()&&(a.hookSetPropertyAfter("innerText",t),a.hookSetPropertyAfter("innerHTML",t)),c.on("domMutation",m)}c.on("init:domready",h),e?(e=q.getChromeVersion())&&e<70||g(t):t()}}function vi(t){var r=[];return{name:"postMessage",sendMessageWithTransferable:function(n,e,t){var r=e.value.transferable;return delete e.value.transferable,n.postMessage(e,t,[r])},sendMessage:function(n,e,t){return n.postMessage(e,t)},onMessage:function(e){function n(n){e(n)&&n.stopImmediatePropagation()}return r.push(n),q.addEventHandler(t,"message",n)},close:function(){for(var n=0;n<r.length;n++)t.removeEventListener("message",r[n]);r=[]}}}function mi(r,n,i){var t=[],o=r.location.origin||q.extractOrigin(r.location.href);return n.triggerMessage=function(n){for(var e=0;e<t.length;e++)t[e](n)},{name:"direct",sendMessage:function(n,e){var t;!function(n){try{return void n.location.href}catch(n){return 1}}(n)?(t=n[i])&&t.triggerMessage?setTimeout(function(){t.triggerMessage({source:r,data:e,origin:o})},0):iframeHelper.logError("failed sending message over direct channel: remote facade is invalid."):iframeHelper.logError("failed sending message over direct channel: cross origin.")},onMessage:function(n){t.push(n)},close:function(){t=[]}}}function gi(r,e,i,o){var a={};function u(n){return!iframeHelper.isCrossOriginFrame(n,e.location.origin)&&function(n){try{return n.contentWindow.location.href,!0}catch(n){return!1}}(n)}function t(n){n.contentWindow.addEventListener("unload",function(){i.emit("frame:unload",{sameOrigin:u(n),frame:n})})}function c(n){var e=u(n.target);e&&t(n.target),i.emit("frame:load",{sameOrigin:e,frame:n.target})}function s(n,e){a[o.idOf(n)]={visible:"none"!==r.getComputedStyle(n).display,sameOrigin:e}}i.on("frame:domChange",function(n){var e,t;"style"===n.attributeName&&(e="none"!==r.getComputedStyle(n.target).display,t=o.idOf(n.target),a[t]||s(n.target,u(n.target)),a[t].visible!==e&&i.emit("frame:visibilityChange",{visible:e,frame:n.target,sameOrigin:a[t].sameOrigin}),a[t].visible=e)}),this.wireFrame=function(n){var e=u(n);return n._gbWired||(n.addEventListener("load",c),s(n,e),e&&t(n),n._gbWired=!0,i.emit("frame:wired",{sameOrigin:e,frame:n})),e}}function pi(e,n,t,r,i){i=q.optionsWithDefaults(i,{skipHidden:!0,forceDirectChannel:!1,skipWhenLocationContains:[],injectionMode:R.iframesAutoInjectMode.BlackList});var o,a,u,c,s=(o=t.getAttribute("id"),a=q.toAbsoluteUrl(t.getAttribute("src")),function(n){n=n.createElement("script");return n.setAttribute("type","text/javascript"),o&&n.setAttribute("id",o),n.setAttribute("src",a),n.setAttribute("data-clsautoinjected","true"),n}),f=(u=n,function(){var n=q.shallowExtend({},u);return n.storageBackedReporting=!0,n.iframesParentOrigin=e.location.origin||q.extractOrigin(e.location.href),i.forceDirectChannel&&(n.iframesDirectChannel=!0),n.idleEventTimeInterval=-1,n});function d(n){return(!i.skipHidden||!re.hidden(n))&&(!(!n.contentDocument||!n.contentDocument.body.hasChildNodes())&&("about:blank"!==n.contentWindow.location.href&&(function(n,e){for(var t=e===R.iframesAutoInjectMode.BlackList,r=0;r<i.skipWhenLocationContains.length;r++)if(0<=n.indexOf(i.skipWhenLocationContains[r]))return t;return!t}(n.contentWindow.location.href,i.injectionMode)?(n.contentWindow.location.href,!1):"complete"===n.contentDocument.readyState)))}function l(e){try{return d(e)&&(!(t=(n=e).contentWindow)[r]&&(t._cls_config_forced=f(),t.document.head.appendChild(s(t.document)),n._gbInjected=!0,c&&setTimeout(c.gbBind(null,n,!0),0),!0))}catch(n){return iframeHelper.logError("failed injecting frame window. error:"+n),c&&c(e,!1),!1}var n,t}this.inject=l,this.setInjectionCallback=function(n){c=n}}function yi(n,e){var t,r={};e.onMessage(function(e){var n=e.data.message;if(n=r[n]){try{t=e.ports&&e.ports[0],n(e.source,e.data.value,e.origin,t)}catch(n){iframeHelper.logError("message (origin:"+e.origin+") handler raised an error.",n)}return!0}return!1}),this.onMessage=function(n,e){r[n]=e}}function wi(n,o,a){a=a||"*";var u=q.immutableSet("javascript:","data:");this.send=function(n,e,t,r){var i;r=(i=r)&&!u[i]?r:a,t.transferable?o.sendMessageWithTransferable(n,{message:e,value:t},r):o.sendMessage(n,{message:e,value:t},r)}}function bi(i,r,n,o,a){a=q.optionsWithDefaults(a,{mscThrottle:300,disabled:!1});var u=!1,c={},s=a.framesetRecordEnabled?"iframe,frame":"iframe";function f(n,e,t){n&&i!==n&&r.send(n,"frame:notification",e,t)}function d(n,e){if(e.propagate)for(var t=i.document.querySelectorAll(s),r=0;r<t.length;r++)n!==t[r].contentWindow&&t[r]._gbHandshakeCompleted&&f(t[r].contentWindow,{type:e.type,args:e.args,propagate:!0});e.bubble&&u&&f(i.parent,{type:e.type,args:e.args,bubble:!0,propagate:!0})}n.onMessage("frame:notification",function(n,e,t,r){e.type,!function(n){if("onFramePort"!==n){var e=q.currentTimestamp(),t=c[n];if(t&&e-t<a.mscThrottle)return 1;c[n]=e}}(e.type)?(r&&(r.postMessage({type:"ack"}),e.args&&(e.args.port=r)),o[e.type]&&o[e.type](e.args),d(n,e)):(e.type,i.location.href)}),this.onParentHandshake=function(){u=!0},this.notify=function(n,e,t){a.disabled||f(n,{type:e.type,args:e.args,transferable:e.transferable},t)},this.notifyAll=function(n){a.disabled||d(U,{type:n.type,args:n.args,propagate:!0,bubble:!0})}}function Ei(n,e,t,r,i,o,a){this.domTrackingStarted=function(){e().ensureStarted()},this.pageUpdate=function(){t()},this.forceFlush=function(){n.emit("forceFlush")},this.onPossibleBlackoutEnter=i.onPossibleBlackoutEnter,this.onPossibleBlackoutLeave=i.onPossibleBlackoutLeave,this.forceBlackoutEnter=r.forceBlackoutEnter,this.forceBlackoutLeave=r.forceBlackoutLeave,this.queryParamUpdate=o,this.onFramePort=a}function Ci(t,o,n){var a={IFRAME:!0,FRAME:!!n},u=n?"iframe,frame":"iframe";function c(n){o.emit("frame:detected",n)}function r(n){if("childList"===n.type){for(var e=[],t=0;t<n.addedNodes.length;t++)a[n.addedNodes[t].tagName]?e.push(n.addedNodes[t]):"function"==typeof n.addedNodes[t].getElementsByTagName&&Array.prototype.push.apply(e,n.addedNodes[t].querySelectorAll(u));for(t=0;t<e.length;t++)c(e[t]);e.length&&e.length}else"attributes"===n.type&&a[n.actualTarget.tagName]&&(a[n.actualTarget.tagName]||"function"==typeof n.actualTarget.getElementsByTagName&&0<n.actualTarget.querySelectorAll(u).length)&&(r=n.actualTarget,i=n.attributeName,o.emit("frame:domChange",{target:r,attributeName:i}));var r,i}this.start=function(){for(var n=t.querySelectorAll(u),e=0;e<n.length;e++)c(n[e]);n.length,o.on("domMutation",r)}}function Si(u,c,s,f,n,d,l,r){var i,h,o,v=(r=r||{containerIdAttribute:"gb_cid",mscTimeout:r.mscTimeout||2e3}).framesetRecordEnabled?"iframe,frame":"iframe";this.perform=function(n,e,t){i=e,f.send(n,"child:hello",{pageId:c.id}),-1!==r.mscTimeout&&(o=setTimeout(t,r.mscTimeout))},this.setParentCallback=function(n){h=n},n.onMessage("child:hello",function(n,e,t){for(var r,i=u.querySelectorAll(v),o=0;o<i.length;o++)if(n===i[o].contentWindow){r=i[o];break}if(!r)return e.pageId,void(h&&h());var a=d(r);h&&h(a,e.pageId),r._gbHandshakeCompleted=!0,f.send(r.contentWindow,"parent:hello",{sessionId:l.sessionId,visitorId:l.visitorId,containerId:a,parentPageId:c.id,parentPageName:c.name,parentUnderBlackout:s.isUnderBlackout()},t)}),n.onMessage("parent:hello",function(n,e,t){o&&clearTimeout(o),e.containerId,e.parentPageId,(!!e.parentUnderBlackout).toString(),i&&i(e,t),i=U})}function Ti(e,t,r){r=q.optionsWithDefaults(r,{suspendReportingWhenLocationContains:[]});var n,i=(n=0,{increase:function(){return++n},decrease:function(){return--n}});function o(n){for(var e=0;e<r.suspendReportingWhenLocationContains.length;e++)if(0<=n.indexOf(r.suspendReportingWhenLocationContains[e]))return 1}function a(n){!0===n.visible&&t.isUnderBlackout()||n.sameOrigin&&o(n.frame.contentWindow.location.href)&&1===i.increase()&&e.emit("frame:blackoutEnter",n.frame)}function u(n){(!1!==n.visible||t.isUnderBlackout())&&n.sameOrigin&&o(n.frame.contentWindow.location.href)&&0===i.decrease()&&e.emit("frame:blackoutLeave",n.frame)}e.on("frame:wired",a),e.on("frame:load",a),e.on("frame:unload",u),e.on("frame:visibilityChange",function(n){(n.visible?a:u)(n)})}function Ii(n){var e,t=(e=0,{increase:function(){return++e},decrease:function(){return--e}});this.onPossibleBlackoutEnter=function(){1===t.increase()&&n.emit("notifyAll:blackoutEnter")},this.onPossibleBlackoutLeave=function(){0===t.decrease()&&n.emit("notifyAll:blackoutLeave")}}function ki(e,t,n,r,i,o,a,u,c,s,f,d,l){l=l||{};var h,v,m={detected:0,injected:0,injectionFailed:0,handshakesWithChildren:{success:0,error:0},handshakeWithParent:{startedAt:-1,completedAt:-1,timeout:!1}},g=e.top!==e;function p(){v&&a.notifyAll({type:"pageUpdate"})}function y(n,e){(h=n).origin=e,t.emit("parentWindowInfo",h),n.parentUnderBlackout&&u.forceBlackoutEnter(),m.handshakeWithParent.completedAt=q.currentTimestamp(),m.handshakeWithParent.info=h,a.onParentHandshake(),d(n.parentPageId,n.containerId),h.containerId,h.parentPageId,h.sessionId}function w(){t.emit("clsDebug","handshake timeout"),m.handshakeWithParent.timeout=!0,d()}o&&o.setInjectionCallback(function(n,e){e?m.injected++:m.injectionFailed++}),c.setParentCallback(function(n,e){m.handshakesWithChildren.success+=n?1:0,m.handshakesWithChildren.error+=n?0:1,v&&t.emit("pageUpdate")}),this.initialize=function(){g||d()},this.stats=function(){return m},o&&l.skipHidden&&t.on("frame:visibilityChange",function(n){l.autoInject&&!n.frame._gbInjected&&n.visible&&o.inject(n.frame)}),t.on("saveEvent",function(n){v&&"pageUpdate"!==n.type&&-1!==R.snapshotApplicableEventType.indexOf(n.type)&&p()}),t.on("frame:detected",function(n){f(n);var e=i.wireFrame(n);l.autoInject&&o&&e&&o.inject(n),m.detected++}),t.on("frame:domChange",function(){t.emit("pageUpdate"),p()}),t.on("init:loaded",function(){r.start(),g&&(m.handshakeWithParent.startedAt=q.currentTimestamp(),c.perform(e.parent,y,w))}),t.on("domTrackingStarted",function(){v=!0,h&&a.notify(e.parent,{type:"domTrackingStarted"},h.origin)}),t.on("frame:unload",function(n){n.frame._gbInjected=!1,setTimeout(function(){t.emit("sendStoragePendingReports")},1e3)}),t.on("frame:load",function(n){var e=n.frame;o&&l.autoInject&&n.sameOrigin&&!o.inject(e)||e.src}),t.on("frame:blackoutEnter",function(){e===e.top?n.onPossibleBlackoutEnter():a.notify(e.top,{type:"onPossibleBlackoutEnter"})}),t.on("frame:blackoutLeave",function(){e===e.top?n.onPossibleBlackoutLeave():a.notify(e.top,{type:"onPossibleBlackoutLeave"})}),t.on("frame:port",function(n){a.notify(e.top,{type:"onFramePort",args:n.args,transferable:n.transferable})}),t.on("notifyAll:blackoutEnter",function(){t.emit("local:forceBlackoutEnter"),a.notifyAll({type:"forceBlackoutEnter"})}),t.on("notifyAll:blackoutLeave",function(){t.emit("local:forceBlackoutLeave"),a.notifyAll({type:"forceBlackoutLeave"})}),t.on("iFramesForceFlush",function(){a.notifyAll({type:"forceFlush"})}),t.on("session:new",function(n){a.notifyAll({type:"queryParamUpdate",args:n})})}function xi(u,r,c,i,n){var o,a={},s={},f=null,d=null,l=null,t={},h=n.maxFocusTime||3e4;function v(n){for(;n;){if("FORM"===n.tagName)return q.isVisible(n)?n:null;n=n.parentNode||n.host}return null}return{handleSubmit:function(n){var e,t=v(n.element);t&&(e=r.idOf(t),t&&s[e]&&delete s[e],a[e]?(a[e].count=++a[e].count,a[e].endEventId=n.id,a[e].relatedEvent=n):a[e]={count:1,startEventId:n.id,relatedEvent:n},1<a[e].count&&c({element:t,dataToEncode:{type:"formResubmitted",count:a[e].count,startEventRelatedId:a[e].startEventId,endEventRelatedId:a[e].endEventId},relatedEvent:a[e].relatedEvent}))},handleKeyup:function(n){var e;"INPUT"!==n.element.tagName&&"TEXTAREA"!==n.element.tagName||((n=(e=n).element)._gbMaxChars&&!t[r.idOf(n)]&&(t[r.idOf(n)]=!0,c({element:n,dataToEncode:{type:"inputCharsExceeded",eventRelatedId:e.id},relatedEvent:e})),e=parseInt(n.getAttribute("maxLength")),n._gbMaxChars=e<=n.value.length)},handleFocus:function(n){var e,t=v(n.element);t&&(e=r.idOf(t),s[e]||(s[e]={selector:i.getSelectorInfo(t),eventId:n.id,relatedEvent:n})),function(n,e){var t,r,i,o,a=n.element;if("radio"===a.type){if(a.name===l)return;l=a.name}else l=null;f&&e===d&&(f&&a.getAttribute("tabindex")&&f.getAttribute("tabindex")&&a.getAttribute("tabindex")<f.getAttribute("tabindex")?c({element:a,dataToEncode:{type:"formZigzag",reason:"tabindex",eventRelatedId:n.id},relatedEvent:n}):(t=a.getBoundingClientRect(),r=f&&f.getBoundingClientRect(),i=t.top-r.top==0,t.top-r.top<0?c({element:a,dataToEncode:{type:"formZigzag",reason:"vertical",eventRelatedId:n.id},relatedEvent:n}):(o="rtl"===u.getComputedStyle(a).getPropertyValue("direction")||"rtl"===u.getComputedStyle(j.body).getPropertyValue("direction"),i&&!o&&t.left-r.left<0?c({element:a,dataToEncode:{type:"formZigzag",reason:"horizontal",eventRelatedId:n.id},relatedEvent:n}):i&&o&&0<t.right-r.right&&c({element:a,dataToEncode:{type:"formZigzag",reason:"horizontal-rtl",eventRelatedId:n.id},relatedEvent:n})))),d=e,f=a}(n,t);t=n.extraInfo&&Math.floor(n.extraInfo.focusTime||0);h<t&&c({element:f,dataToEncode:{type:"longFocusTime",duration:t,eventRelatedId:n.id},relatedEvent:o}),o=n},handleUnload:function(){!function(){for(var n in s)s.hasOwnProperty(n)&&c({elementSelector:s[n].selector,dataToEncode:{type:"uncompletedForm",eventRelatedId:s[n].eventId},relatedEvent:s[n].relatedEvent})}()}}}function Mi(t,r,n,i){i=q.optionsWithDefaults(i,{horizontalScrollbar:!0,blankPage:!0});var o=0,a=!0;function u(n,e){e.struggleHorizScrollCount=e.struggleHorizScrollCount||0,e.struggleHorizScrollCount<3&&o<5&&n&&n.nodeType===Node.ELEMENT_NODE&&n.firstElementChild&&function(n){if(n.scrollWidth>n.clientWidth){n=t.getComputedStyle(n);return"scroll"===n.overflow||"scroll"===n.overflowX||"auto"===n.overflow||"auto"===n.overflowX}}(n)&&q.isVisible(n)&&q.isInPageView(n)&&(e.struggleHorizScrollCount++,o++,r({element:n,dataToEncode:{type:"horizontalScrollbar"}}))}return n.on("pageSnapshot:report",function(){a&&i.blankPage&&r({dataToEncode:{type:"blankPage"}})}),{handleNode:function(n,e){i.horizontalScrollbar&&u(n,e),i.blankPage&&(e=n,a&&e&&e.nodeType===Node.TEXT_NODE&&((n=e.textContent)&&n.trim()&&q.isVisible(e.parentNode)&&(a=!1)))}}}function Ri(n,e,t,r,i){var o=[],a=Et(i.document);r.domRecordEnabled&&r.interceptAjax&&r.struggleCaptureDeadClick&&(i=function(a,n,r,i,o){var u,e,c=o.deadClickTimeout,s={INPUT:!0,SELECT:!0,TEXTAREA:!0,HTML:!0};if(o.additionalTagNamesToIgnore&&o.additionalTagNamesToIgnore.length)for(e=0;e<o.additionalTagNamesToIgnore.length;++e)s[o.additionalTagNamesToIgnore[e]]=!0;function t(){clearTimeout(u)}return n.on("domMutation",t),n.on("segmentChanged",t),n.on("event:change",t),n.on("ajax:send",t),n.on("pageError",t),n.on("event:unload",t),{handleClick:function(n){var e,t;clearTimeout(u),s[n.element.tagName]||function(n){var e=a.getComputedStyle(n.element).overflow;if("scroll"===(e=e&&e.toLowerCase())||"auto"===e)try{var t=n.element.getBoundingClientRect(),r=t.right-t.width,i=a.getComputedStyle(n.element).direction;if("ltr"===i){if(n.value.coordinate.x>r+n.element.clientWidth)return 1}else if("rtl"===i&&n.value.coordinate.x<r+t.width-n.element.clientWidth)return 1;var o=t.bottom-t.height;if(n.value.coordinate.y>o+n.element.clientHeight)return 1}catch(n){logger.error("Error while intercepting dead click. Error: "+n.message,n)}}(n)||(e=n.id,t=n,u=setTimeout(function(){!function(n){var e,t=o.elementsToIgnoreBySelector;if(t&&t.length)for(e=0;e<t.length;++e)if(i.matches(n,t[e]))return 1}(n.element)&&r({element:n.element,dataToEncode:{type:"deadClick",eventRelatedId:e},relatedEvent:t})},c))}}}(i,e,t,a,{deadClickTimeout:r.struggleDeadClickInterval||1e3,elementsToIgnoreBySelector:r.struggleDeadClickIgnoreBySelector||[],additionalTagNamesToIgnore:r.struggleDeadClickIgnoreByTagNames||[]}),o.push(i.handleClick.gbBind(i)));var u,c,s,f,d,l,h,v,m,g,p,y,w,b,a=(u=n,c=t,s=a,a={timeBetweenClicks:r.struggleRageClickInterval,minimumClicksToRage:r.struggleRageClickMinCount,elementsToIgnoreBySelector:r.struggleRageClickIgnoreBySelector},d=a.timeBetweenClicks||3e3,l=a.minimumClicksToRage||5,h=a.elementsToIgnoreBySelector||[],v={},m=1,{handleClick:function(e){if(0<h.length)for(var n=0;n<h.length;n++)if(s.matches(e.element,h[n]))return;var t=u.idOf(e.element);v[t]?(v[t].times.push({time:e.timestamp,eventId:e.id}),v[t].times.length>=l&&(v[t].times=v[t].times.filter(function(n){return e.timestamp-n.time<d})),v[t].times.length>=l?(e.indexInRage=l+v[t].count,e.rageSequence=m,v[t].isRage||c({element:e.element,dataToEncode:{type:"rageClick",startEventRelatedId:v[t].times[0].eventId,endEventRelatedId:e.id,rageSequence:m},relatedEvent:e}),v[t].isRage=!0,v[t].count=v[t].count+1):v[t].isRage&&((v={})[t]={},v[t].times=[],v[t].times.push({time:e.timestamp,eventId:e.id}),v[t].count=0,++m)):(v[t]={},v[t].times=[],v[t].times.push({time:e.timestamp,eventId:e.id}),v[t].count=0),f&&v[f]&&v[f].isRage&&!v[t].isRage&&(v[f].isRage=!1,v[f].count=0,++m),f=t}});return o.push(a.handleClick.gbBind(a)),r.struggleCaptureErrorClick&&(e=e,g=t,r={errorClickTimeout:r.struggleErrorClickInterval||1e3},w=[],b=r.errorClickTimeout,e.on("pageError",function(n){p&&(n.eventLimitExceeded=!1,w.push(n.error),y=!0)},U,-1),o.push((e={handleClick:function(n){clearTimeout(p);var e=n.id,t=n;p=setTimeout(function(){y&&(y=!1,g({element:n.element,dataToEncode:{eventRelatedId:e,type:"errorClick"},errors:w,relatedEvent:t}),w=[])},b)}}).handleClick.gbBind(e))),{handleClick:function(e){o.forEach(function(n){n(e)})}}}function Ai(t,r,n){var i=!1,e=!1;function o(){n()&&i&&!e&&r({element:j,dataToEncode:{type:"backForward"}})}return{handlePageLoad:function(){!function(){var n=t.performance.getEntriesByType?t.performance.getEntriesByType("navigation"):[];if(0<n.length)for(var e=0;e<n.length;e++){if("reload"===n[e].type)return r({element:j,dataToEncode:{type:"reload"}});if("back_forward"===n[e].type)return i=!0,o()}t.performance.navigation&&t.PerformanceNavigation&&(t.performance.navigation.type===t.PerformanceNavigation.TYPE_RELOAD&&r({element:j,dataToEncode:{type:"reload"}}),t.performance.navigation.type===t.PerformanceNavigation.TYPE_BACK_FORWARD&&(i=!0,o()))}()},handleCookieSet:function(){o()}}}function Ni(n){me?ue.emit("reportStruggle",n):setTimeout(function(){ue.emit("reportStruggle",n)},0)}function Di(){ye.handlePageLoad()}function _i(){ue.off("sessionCookieSet",_i),ye.handleCookieSet()}function Oi(n){ge.handleSubmit(n)}function Li(n){ge.handleKeyup(n)}function Fi(n){ge.handleFocus(n)}function Pi(){me=!0,ge.handleUnload()}function Bi(n){pe.handleClick(n)}function ji(n){we.checkXhr(n)}function Ui(e,n,t){t=t||{consoleMessage:""};var r=!1,i=e.document.createElement("div"),o=e.outerHeight,a=e.outerWidth;function u(n){r||n&&(e.outerHeight!==o?(o=e.outerHeight,1):e.outerWidth!==a&&(a=e.outerWidth,1))||e.console.log(i)}i.textContent=t.consoleMessage,Object.defineProperty(i,"id",{get:function(){r||(r=!0,n.emit("devToolsVisibilityChanged",{value:!0,size:"oh_"+e.outerHeight+"_ih_"+e.innerHeight+"_ow_"+e.outerWidth+"_iw_"+e.innerWidth}))}}),this.startDetecting=function(){n.on("event:unload",u.gbBind(null,!1)),n.on("init:preloaded",u.gbBind(null,!1)),n.on("window:resize",u.gbBind(null,!0))}}function Hi(o){this.getSelectorInfo=function(n,e,t){if(!n||"function"!=typeof n.getRootNode)return{selector:o.getSelectorInfo(n,e,t).selector};for(var r=[];n;)r.unshift(o.getSelectorInfo(n,e,t).selector),n=(n.getRootNode()||{}).host;var i={selector:r.splice(r.length-1)[0]};return r.length&&(i.hostSelectorPath=r.join(",")),i}}function Vi(t,r,i){var o="_gbHasShadow",a="_gbHasObserver",u={initialShadowRootCount:0,hookInvocationsCount:0,totalShadowRootCount:0,totalShadowRootRemoved:0};function c(n){for(;n&&!n[o];)n[o]=!0,n=n.parentNode||n.host}function e(n){var e=t.Element.prototype[n];e&&(t.Element.prototype[n]=function(){var n=e.apply(this,arguments);try{q.isAttachedToDOM(this)&&r.emit("shadow:rootAttached",n),r.emit("shadow:rootDetected",n),this[a]=!0,c(this),u.hookInvocationsCount++,u.totalShadowRootCount++}catch(n){n.message}return n})}r.on("domMutation",function(n){if("childList"===n.type){for(var e=0;e<n.addedNodes.length;e++)n.addedNodes[e][o]&&i.visit(n.addedNodes[e],function(n){n.shadowRoot&&!n[a]&&r.emit("shadow:rootDetected",n.shadowRoot)},Br.SHOW_ELEMENTS);for(e=0;e<n.removedNodes.length;e++)n.removedNodes[e][o]&&i.visit(n.removedNodes[e],function(n){n.shadowRoot&&(r.emit("shadow:rootRemoved",n.shadowRoot),u.totalShadowRootCount--,u.totalShadowRootRemoved++)},Br.SHOW_ELEMENTS)}}),this.startObservingShadowRoots=function(n){!function(n){for(var e=0;e<n.length;e++)c(n[e]),r.emit("shadow:rootDetected",n[e]),u.initialShadowRootCount++,u.totalShadowRootCount++}(n||[]),["attachShadow","createShadowRoot"].forEach(e),u.initialShadowRootCount},this.stats=function(){return u}}function qi(t,n,r,i,o,a,u){var c={},s=F,e=new Vi(t,r,o.getNodeVisitor());r.on("shadow:rootDetected",function(n){var e=fi(t,r,n,o.nodeAcceptancePredicate,{semiDomEnabled:u.semiDomEnabled,domIE11ForceMutationObserver:u.domIE11ForceMutationObserver,domTamperingDetectionEnabled:u.domTamperingDetectionEnabled,domFilterAttributes:u.domFilterAttributes,domIgnoreAttributes:u.domIgnoreAttributes,domIgnoreChangesById:H.domIgnoreChangesById,domIgnoreChangesByClass:H.domIgnoreChangesByClass});c[s.idOf(n)]=e,o.getSnapshotAccumulator().addBundle({name:"property",tracker:new Zr(n,s,a,u.domIgnoredFormElements),providers:[qr(i,{ignoredFormElement:u.domIgnoredFormElements})]}),e.start()}),r.on("shadow:rootRemoved",function(n){var e=s.idOf(n);c[e]&&(c[e].stop(),delete c[e]),o.getSnapshotAccumulator().removeBundle(n)}),r.on("domTrackingStarted",function(){e.startObservingShadowRoots(o.consumeCapturedNodes("ShadowRoot"))}),this.initialize=function(){},this.stats=function(){return e.stats()}}function zi(e,t,r){var i={url:e};if(window.fetch)return fetch(e,{cls_own:!0}).then(function(n){n.ok?(i.type=n.headers.get("Content-Type"),n.arrayBuffer().then(function(n){i.content=q.pako.gzip(n),t(i)}).catch(function(n){logger.error("Failed getting resource data by fetch for url : "+e+" error:"+n.message),i.error="status:"+n.message,t(i)})):(logger.error("Failed getting resource data by fetch for url : "+e+" status:"+n.status+"  "+n.statusText),0===n.status?r(i.url):(i.error="status:"+n.status+"  "+n.statusText,t(i)))}).catch(function(n){logger.error("Failed getting resource data by fetch for url : "+e+" error:"+n.message),i.error="status: "+n.message,t(i)}),!0;try{var o=new XMLHttpRequest;return o?(o.onreadystatechange=function(){var n;4===o.readyState&&(200===o.status?(n=o.getResponseHeader("Content-Type"),i.type=n,i.content=q.pako.gzip(o.response),t(i)):0===o.status?r(i.url):(logger.error("Failed getting resource data by Ajax for url : "+e+" status:"+o.status+"  "+o.statusText),i.error="status: "+o.statusText+" ("+o.status+")",t(i)))},o.cls_own=!0,o.open("GET",e,!0),o.responseType="arraybuffer",o.send(),!0):!1}catch(n){return logger.error(s+n.message,n),console.log("Failed getting resource data by Ajax for url: "+e+": "+n.message,n),!1}}function Wi(u,c,t,e,s,f,d,r){var n,l,i;function h(){var n,e=c.get("res.pending");if(c.remove("res.pending"),e)try{n=s.decode(e)}catch(n){logger.error("Failed parsing JSON for pending resources: "+n.message,n)}return n}function o(n){r.countRecorded++,e.emit("saveResourceEvent",n)}function a(n){r.countCorsDenied++,e.emit("saveCorsDeniedEvent",n)}function v(){var n,e=d.electAmount,t=d.maxPendingResources;if(c.get("res.all")&&(n=!0,e=Number.MAX_VALUE,t=Number.MAX_VALUE),n=n||Math.random()<d.electProbability){for(var r,i=function(n){for(var e=[],t=0;t<n.length;t++){var r=n[t];f(r.name)||(l[n[t].initiatorType]||!d.resourceRecordCssOnly&&"xmlhttprequest"===n[t].initiatorType&&-1<n[t].name.indexOf(".svg"))&&e.push(r)}return e}(i=u.performance.getEntriesByType("resource")),o=h()||[],a=0;a<e&&0<i.length&&!(o.length>=t);a++)r=Math.floor(Math.random()*i.length),o.push(i[r].name),i.splice(r,1);c.set("res.pending",s.encode(o))}}(n=r||{}).countRecorded=0,n.countCorsDenied=0,n.recordingAll=!!c.get("res.all"),r=n,l=d.resourceRecordCssOnly?q.immutableSet("link","css"):q.immutableSet("link","css","font","img","input"),d.electResourcesOnClear&&(u.Performance.prototype.clearResourceTimings?(i=u.Performance.prototype.clearResourceTimings,u.Performance.prototype.clearResourceTimings=function(){try{v()}catch(n){logger.error("faild to run hook on Performance.clearResourceTimings: "+n)}i.apply(this,arguments)}):u.Performance.prototype.webkitClearResourceTimings&&(i=u.Performance.prototype.webkitClearResourceTimings,u.Performance.prototype.webkitClearResourceTimings=function(){try{v()}catch(n){logger.error("faild to run hook on Performance.webkitClearResourceTimings: "+n)}i.apply(this,arguments)})),this.fetchResources=function(){var n=h();if(n)for(var e=0;e<n.length;e++)if(!t(n[e],o,a)){logger.error("Failed executing an XHR request for fetching a resource. Breaking the fetch loop.");break}},this.electResources=v,this.recordAllResources=function(){c.set("res.all","true")},this.stopRecordAllResources=function(){c.remove("res.all")}}function Gi(n,e,t){var r,i,o,a,u,c,s={};H.resourcesRecordEnabled&&void 0!==n.XMLHttpRequest&&(i=new Wi(n,new St(n.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),zi,e,t,(o=H.resourcesRecordAllowCors,a=H.resourceIgnoreWhenUrlContains,function(n){if(!q.startsWith(n,"http")||!o&&q.extractOrigin(n)!==window.location.origin)return!0;for(var e=0;e<a.length;e++)if(-1!==n.indexOf(a[e]))return!0;return!1}),{electProbability:H.resourcesRecordChance,electAmount:H.resourcesRecordCount,maxPendingResources:5,resourceRecordCssOnly:H.resourceRecordCssOnly},s),e.on("init:loaded",function(){setTimeout(i.fetchResources.gbBind(i),5e3)}),e.on("event:unload",i.electResources.gbBind(i))),H.resourceTimingRecordEnabled&&$e(H.resourceTimingRecordEnabledByChance,D,"performanceRecord")&&(r=new Xi(n,V,[{type:"resource",properties:["name","startTime","requestStart","responseStart","responseEnd","duration","decodedBodySize","loadMode","nextHopProtocol","initiatorType","transferSize","redirectStart","fetchStart","domainLookupStart","domainLookupEnd","redirectEnd","connectStart","resourceType","entryType","connectEnd","secureConnectionStart","isSuccessful"],filterBy:"initiatorType",validFilterValues:H.resourceTimingRecordAjax?q.immutableSet("link","css","font","img","input","body","script","xmlhttprequest","fetch","beacon"):q.immutableSet("link","css","font","img","input","body","script")}],H.reportURI),e.on("init:loaded",r.reportMeasurements.gbBind(r,!1,"pageload")),e.on("segmentChanged",r.reportMeasurements.gbBind(r,!1,"segment")),e.on("event:unload",r.reportMeasurements.gbBind(r,!1,"unload"))),(r||i)&&(H.electResourcesOnClear&&(n.Performance.prototype.clearResourceTimings?(u=n.Performance.prototype.clearResourceTimings,n.Performance.prototype.clearResourceTimings=function(){try{r&&r.reportMeasurements(!0,"clearResources"),i&&i.electResources()}catch(n){logger.error("faild to run hook on Performance.clearResourceTimings: "+n)}u.apply(this,arguments)}):n.Performance.prototype.webkitClearResourceTimings&&(c=n.Performance.prototype.webkitClearResourceTimings,n.Performance.prototype.webkitClearResourceTimings=function(){try{r&&r.reportMeasurements(!0,"clearResources"),i&&i.electResources()}catch(n){logger.error("failed to run hook on Performance.webkitClearResourceTimings: "+n)}c.apply(this,arguments)})),H.isCheckResourceBuffer&&function(e,t){t=q.optionsWithDefaults(t,{resourceBufferCheckTime:5e3,maxPerformanceBuffer:140,resourceBufferIncreaseBy:100});var r=150,i=t.maxResourcesBeforeFlush;e.performance&&(Object.getOwnPropertyDescriptor(e.Performance.prototype,"onresourcetimingbufferfull")?e.performance.onresourcetimingbufferfull=o:e.PerformanceObserver?new e.PerformanceObserver(n).observe({entryTypes:["resource"]}):setInterval(n,t.resourceBufferCheckTime));function n(){var n=e.performance.getEntriesByType("resource");n&&n.length>=i&&o()}function o(){var n;t.resourceBufferIncreaseBy&&0<t.resourceBufferIncreaseBy&&e.performance.setResourceTimingBufferSize?(n=e.performance.getEntriesByType("resource").length,r<n&&(r=n),r+=t.resourceBufferIncreaseBy,i+=t.resourceBufferIncreaseBy,e.performance.setResourceTimingBufferSize(r)):e.performance.clearResourceTimings()}}(n,{resourceBufferCheckTime:H.resourceBufferCheckTime,maxResourcesBeforeFlush:H.maxResourcesBeforeFlush,resourceBufferIncreaseBy:H.resourceBufferIncreaseBy})),this.initialize=function(){},this.startRecordingAll=function(){i?(console.log("Entering full resources recording mode."),i.recordAllResources()):console.log("Please allow resource recording first.")},this.stopRecordingAll=function(){i?(console.log("Exiting full resources recording mode."),i.stopRecordAllResources()):console.log("Please allow resource recording first.")},this.stats=function(){return s}}function Xi(l,i,o,t){var a,u,h={},v={},r="media",c="img",s="font",m="css",f="js",d="ajax",g="other",p=q.immutableSet("png","gif","jpg","jpeg","svg","tif","tiff","bmp","webp"),y=q.immutableSet("woff","woff2","ttf","otf","eot"),w=q.immutableSet("xmlhttprequest","fetch","beacon"),b=q.immutableSet("css");function E(n,e){n=n.split("."),n=n[n.length-1].toLowerCase();return-1<n.indexOf("?")&&(n=n.split("?")[0]),"script"===e?f:"video"===e||"audio"===e?r:"img"===e||"svg"===e?c:w[e]?d:"link"===e||"css"===e||"other"!==e?p[n=n]?c:y[n]?s:b[n]?m:g:g}function C(n){var e;n.hostname=q.extractHostname(n.name),n.path=q.extractPath(n.name),e=n.path.split("/"),n.fileName=e[e.length-1]}function S(n,e,t){for(var r,i={},o=0;o<e.length;o++)n[e[o]]!==U&&(i[e[o]]=n[e[o]]);return"resource"===t&&"document"!==i.name&&((r=i).name&&(r.resourceType||(t=E(r.name,r.initiatorType))&&(r.resourceType=t.toLowerCase()),C(r),r.isSameTLD=fr.extractTLD(l.location.host)===fr.extractTLD(r.hostname)),r.nextHopProtocol&&(r.protocol=r.nextHopProtocol),delete r.nextHopProtocol,r.isFromCache=0===r.transferSize),delete(r=n).loadMode,delete r.isSuccessful,delete r.resourceType,i}function T(n){if(n){var e=n.name;return-1===e.indexOf(t)&&(!h[e]||h[e].startTime!==n.startTime)}}function I(n,e,t,r,i){var o,a,u=[],c=l.performance.getEntriesByType(e),u=r&&i?c.filter(function(n){return i[n[r]]!==U}):c;if("resource"===e){var s=function(){for(var n={},e=l.document.querySelectorAll('script[src][async],script[src][defer],link[rel="preload"],img[loading]'),t=0;t<e.length;t++)switch(e[t].tagName){case"SCRIPT":n[e[t].src]=e[t].async?"async":e[t].defer?"defer":"sync";break;case"LINK":n[e[t].href]="preload";break;case"IMG":n[e[t].src]="lazy"}return n}();for(!function(){for(var n,e=l.document.querySelectorAll('link[rel="stylesheet"]'),t=0;t<e.length;t++)n=e[t].href||e[t].name,v[n]=!0}(),"function"==typeof l.performance.getEntriesByType&&l.performance.getEntriesByType("navigation")[0]?u.push(l.performance.getEntriesByType("navigation")[0]):q.isSafari(l.navigator.userAgent)&&u.push({startTime:0,connectEnd:(c=l.performance.timing).connectEnd,connectStart:c.connectStart,domainLookupEnd:c.domainLookupEnd,domainLookupStart:c.domainLookupStart,entryType:"navigation",fetchStart:c.fetchStart,initiatorType:"navigation",name:l.location.href,redirectEnd:c.redirectEnd,redirectStart:c.redirectStart,requestStart:c.requestStart,responseEnd:c.responseEnd,responseStart:c.responseStart,secureConnectionStart:c.secureConnectionStart}),o=0;o<u.length;o++)T(u[o])&&("script"===(a=u[o]).initiatorType?a.loadMode=s[a.name]||"sync":"link"!==a.initiatorType&&"img"!==a.initiatorType||(s[a.name]&&(a.loadMode=s[a.name]),"link"===a.initiatorType&&v[a.name]&&(a.resourceType=m)),a.isSuccessful=!(0<a.transferSize&&0===a.duration));v={}}for(n[e]=[],o=0;o<u.length;o++){var f,d=u[o];T(d)&&(f=S(d,t,e),h[d.name]={startTime:d.startTime},"navigation"!==f.initiatorType&&"navigation"!==f.entryType||((d=f).initiatorType=d.initiatorType||d.entryType,d.isSuccessful=!0,d.isSameTLD=!0,d.resourceType="other",d.duration=d.duration||d.responseEnd-d.redirectStart,"document"===d.name&&(d.name=l.location.href||d.name,C(d))),n[e].push(f))}}l.navigator.connection&&(a=l.navigator.connection.effectiveType,u=l.navigator.connection.rtt),this.reportMeasurements=function(n,e){try{var t={};0;for(var r=0;r<o.length;r++)I(t,o[r].type,o[r].properties,o[r].filterBy,o[r].validFilterValues);n&&(h={}),a&&(t.ect=a),u&&(t.rtt=u),t.pagePerformance=l.performance.timing,t.version=1,t.causedBy=e,i.emit("resourcesWaterfall",t)}catch(n){logger.error("Exception while trying to report resources waterfall. Error: "+n.message,n),i.emit("clsDebug","error trying to report resources waterfall. Exception message: "+n.message)}}}function Ji(n,e){var t,r,i={},o=0,a=0;n.navigator.connection&&(t=n.navigator.connection.effectiveType,r=n.navigator.connection.rtt),this.track=function(){try{this.webVitals.getCLS(function(n){o++,n.value!==U&&(i[n.name]=n.value)},!0)}catch(n){logger.error("failed getting CLS. Is browser supported by lib? "+n.message,n)}try{this.webVitals.getFCP(function(n){n.value!==U&&(i[n.name]=n.value)})}catch(n){logger.error("failed getting FCP. Is browser supported by lib? "+n.message,n)}try{this.webVitals.getFID(function(n){n.value!==U&&(i[n.name]=n.value)})}catch(n){logger.error("failed getting FID. Is browser supported by lib? "+n.message,n)}try{this.webVitals.getLCP(function(n){a++,0<n.value&&n.value!==U&&(i[n.name]=n.value)},!0)}catch(n){logger.error("failed getting LCP. Is browser supported by lib? "+n.message,n)}try{this.webVitals.getTTFB(function(n){n.value!==U&&(i[n.name]=n.value)})}catch(n){logger.error("failed getting TTFB. Is browser supported by lib? "+n.message,n)}},this.report=function(){var n={};i.NCLS=o,i.NLCP=a,t&&(n.ect=t),r&&(n.rtt=r),n.webVitals=JSON.stringify(i),e.emit("webVitals",n)}}function Ki(r,n,e,t,i){var o,a=["always","never","fqdn","tld","statusGte"];n.on("init:loaded",function(){o&&o.onLoadCheck(),"undefined"!=typeof jQuery&&void 0!==jQuery.validator&&new Yi(n).intercept()}),n.on("init:preloaded",function(){i.domFormValidationTracking&&function(){var n=i.ignorablePages.filter(function(n){for(var e=0;e<a.length;++e)if(-1!==n.indexOf(a[e]))return!1;return!0});if(n&&n.length)for(var e=new fr(r.location.hostname),t=0;t<n.length;++t)if(e.create(n[t])({url:r.location.href}))return;return 1}()&&(o=new Qi(r,n,q,e,t,{redComponentMin:i.redComponentMin,redComponentDelta:i.redComponentDelta,submitIds:i.submitIds,allowFormLevel:i.allowFormLevel,considerBG:i.considerBG,additionalTagNames:i.additionalTagNames,ignorableText:i.ignorableText,ignorableTags:i.ignorableTags,urlsRegexToCheck:i.urlsRegexToCheck,titleRegexStringToCheck:i.titleRegexStringToCheck}),n.on("event:mousedown",function(n){o.intercept(n.element)}),n.on("element:focus",function(n){o.intercept(n)}))}),this.initialize=function(){}}function Qi(r,t,i,s,e,f){var o=function(n){for(var e=[],t=0;t<n.length;t++)e.push(n[t].toLowerCase());return e}((f=i.optionsWithDefaults(f,{redComponentMin:120,redComponentDelta:80,minTextLen:10,submitIds:[],ignoreNodesVisibility:!1,allowFormLevel:!0,considerBG:!0,additionalTagNames:[],ignorableText:["characters left","characters remaining"],urlsRegexToCheck:[],titleRegexStringToCheck:[]})).ignorableText),a=i.immutableSet.apply(null,f.submitIds),u=i.immutableSet.apply(null,f.additionalTagNames),c=i.immutableSet.apply(null,f.ignorableTags),d=i.immutableSet("INPUT","SELECT","TEXTAREA"),l='input:not([type="hidden"]),select,textarea',h=2,v=!1,m={},g={};function p(n){for(;n;){if("FORM"===n.tagName||u[n.tagName])return i.isVisible(n)?n:null;n=n.parentNode||n.host}return null}function y(n,e){setTimeout(function(){t.emit("formValidationError",{element:n,message:e})},0)}function w(n,t){e.visit(n,function(n){if(n)if(n.nodeType===Node.TEXT_NODE&&(e=n,!m[s.idOf(e)]&&function(n){return!function(n){var e;for(n=n.replace(/\s+/g," ").toLowerCase(),e=0;e<o.length;e++)if(-1!==n.indexOf(o[e]))return!0;return!1}(n.textContent)&&n.textContent.trim().length>f.minTextLen}(e)&&function(n){if(c[n.parentNode.tagName])return!1;function e(n){n=n.match(/\d+/g);return n&&parseInt(n[0])>f.redComponentMin&&n[0]>Math.max(parseInt(n[1]),parseInt(n[2]))+f.redComponentDelta}n=r.getComputedStyle(n.parentNode);return e(n.color)||f.considerBG&&e(n.backgroundColor)}(e)))t.push(n);else if(n.nodeType===Node.ELEMENT_NODE&&!f.ignoreNodesVisibility&&(n=n,!i.isVisible(n)||"hidden"===r.getComputedStyle(n).visibility))return!1;var e},Br.SHOW_ALL)}t.on("domMutation",function(n){if(v){var e=p(n.actualTarget);if(e){for(var t,r,i,o,a="childList"===(n=n).type?n.addedNodes:"attributes"===n.type?[n.actualTarget]:[],u=[],c=0;c<a.length;c++)w(a[c],u);for(c=0;c<u.length;c++)t=function(n,e){for(var t=(n=n.parentNode).previousElementSibling;t;){if(d[t.tagName])return t;t=t.previousElementSibling}for(var r,i=h,o=n.parentElement;o&&i--;){if(1===(r=o.querySelectorAll(l)).length)return r[0];if(1<r.length)break;if(o===e)break;o=o.parentNode}return e}(u[c],e),!f.allowFormLevel&&t===e||d[t.tagName]&&(r=t,o=i=void 0,i=s.idOf(r),o=void 0===g[i]||g[i]!==r.value,g[i]=r.value,!o)||(m[s.idOf(u[c])]=!0,y(t,u[c].textContent.trim()))}}}),this.intercept=function(n){(v=a[n.id]||!!p(n))&&(m={})},this.onLoadCheck=function(){var n;if(f.urlsRegexToCheck.length)for(n=0;n<f.urlsRegexToCheck.length;++n)if(i.isStringMatch(f.urlsRegexToCheck[n],r.location.href))return void y(j.body,"url contain form validation signs: "+f.urlsRegexToCheck[n]);if(f.titleRegexStringToCheck.length)for(n=0;n<f.titleRegexStringToCheck.length;++n)if(i.isStringMatch(f.titleRegexStringToCheck[n],r.document.title))return void y(j.body,"title contain form validation signs: "+f.titleRegexStringToCheck[n])}}function Yi(c){var s=1;this.showErrorsLRU=new gt(20),this.intercept=function(){var u=jQuery.validator.prototype.showErrors;jQuery.validator.prototype.showErrors=function(n){try{if(this.errorList&&0<this.errorList.length)for(var e=0;e<this.errorList.length;e++){var t=this.errorList[e].element,r=this.errorList[e].message,i="SAME - NOT REPORTING";t.gbLocalId||(t.gbLocalId=s,s++);var o,a=this.showErrorsLRU.set(t.gbLocalId,r);null===a||E.isUndefined(a)?i="NEW":a!==r?i="UPDATE":a!==r||(o=this.errorsFor(t))&&0<o.length&&!E.isUndefined(o[0].innerHTML)&&(o[0].innerHTML===r&&jQuery(o[0]).is(":visible")||(i="SHOW")),"NEW"!==i&&"UPDATE"!==i&&"SHOW"!==i||c.emit("formValidationError",{element:t,message:0<r.length?r:"NONE"})}}catch(n){logger.error("Failed intercepting showErrors for validation error report. "+n.message,n)}u.call(this,n)}}}function $i(n,e,t,r){var i=q.immutableSet.apply(null,r.domMaskedAttributes),o=q.immutableSet.apply(null,r.domMaskAttributesByTag),a=r.domMaskIgnoreAttribute;function u(){return!("value"!==this.accessor||!n.isDomMasked(this.elem,Jn.SELF,Kn.VALUE_ATTRIBUTE))||(!!n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.OMIT)||!(!i[this.accessor]||!o[this.elem.tagName.toLowerCase()]||this.elem.hasAttribute&&this.elem.hasAttribute(a)))}function c(){if(n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.OMIT))return!0;if(t&&"value"===this.accessor){if(r.valueMaskIgnoreAttribute&&this.elem&&this.elem.nodeType===Node.ELEMENT_NODE&&this.elem.hasAttribute(r.valueMaskIgnoreAttribute))return!1;if(t.isCensored(this.elem))return!0}return("innerText"!==this.accessor&&"textContent"!==this.accessor&&"innerHTML"!==this.accessor&&"outerHTML"!==this.accessor||!a||!function(n){for(;n;){if(n.nodeType===Node.ELEMENT_NODE&&n.hasAttribute(a))return 1;n=n.parentNode}}(this.elem))&&(!("innerText"!==this.accessor&&"textContent"!==this.accessor||!(n.isDomMasked(this.elem,Jn.SELF_OR_ANY_CHILD,Kn.TEXT)||n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.TEXT)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_CHILD)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_PARENT)))||(!("innerHTML"!==this.accessor||!(n.isDomMasked(this.elem,Jn.SELF_OR_ANY_CHILD,Kn.TEXT,Kn.ATTRIBUTE)||n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.TEXT,Kn.ATTRIBUTE)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_CHILD)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_PARENT)))||!("outerHTML"!==this.accessor||!(n.isDomMasked(this.elem,Jn.SELF_OR_ANY_CHILD,Kn.TEXT,Kn.ATTRIBUTE)||n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.TEXT,Kn.ATTRIBUTE)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_CHILD)||e.isDomEncrypted(this.elem,Jn.SELF_OR_ANY_PARENT)))))}function s(){return!!n.isDomMasked(this.elem,Jn.SELF_OR_ANY_PARENT,Kn.OMIT)}return{attribute:function(n,e){return{accessor:e,elem:n,val:n.getAttribute&&n.getAttribute(e),isMasked:u}},property:function(n,e){return{accessor:e,elem:n,val:""+(n[e]||""),isMasked:c}},constant:function(n,e){return{elem:n,val:e,isMasked:s}}}}function Zi(n,e){n.on("newRemoteConfig",function(n){n.attributeRules&&e.processRules(n.attributeRules)}),this.initialize=function(){},this.stats=function(){return e.getStats()},this.evaluateAttributes=function(){e.evaluateAttributes()}}function no(n,e,t,r){this._elementResolver=e,this._accessors=t,this._rule=n,this._urlRegexp=r,this._isHierarchical=-1!==n.selector.indexOf(">")}function eo(t,r,i){var o;t.on("init:preloaded",function(){(o=function(){var n,e=i.get("app.conf");if(e)try{n=r.decode(e)}catch(n){logger.error("Failed parsing JSON for configuration: "+n.message,n)}return n}()||{}).configuration&&t.emit("newRemoteConfig",o.configuration)}),t.on("worker:init",function(){o&&o.configuration&&t.emit("confHashChange",o.configuration.hash)}),this.handle=function(n,e){o&&(o.configuration&&o.configuration.hash!==n.hash||o.appId!==e)&&(i.set("app.conf",r.encode({configuration:n,appId:e})),o.configuration=n,o.appId=e,n&&t.emit("newRemoteConfig",n),t.emit("confHashChange",n.hash))}}function to(t,n){var r;t.on("init:loaded",function(){(r=n[to.KEY_NAME])&&t.emit("analyzerId",r)},U,-1),t.on("event:unload",function(){try{r&&(n[to.KEY_NAME]=r)}catch(n){logger.error("error: could not set aid to storage. "+n.message)}}),this.handle=function(n,e){n&&(r=n,t.emit("analyzerId",r))}}function ro(e,t,r){var i;e.on("init:preloaded",function(){(i=function(){var n,e=r.get("app.clse");if(e)try{n=t.decode(e)}catch(n){logger.error("Failed parsing JSON for configuration: "+n.message,n)}return n}()||{}).clse&&e.emit("remoteClseConf",i.clse)}),e.on("worker:init",function(){i&&i.clse&&e.emit("clseChange",i.clse)}),this.handle=function(n){!n||!n.clse||i.clse&&i.clse===n.clse||(r.set("app.clse",t.encode({clse:n.clse})),e.emit("remoteClseConf",n.clse))},e.on("newSessionSet",function(){r.get("app.clse")&&r.remove("app.clse")})}function io(n,o){n.on("handleGatewayResponse",function(n){var e;try{e=JSON.parse(n)}catch(n){return void logger.error("Failed parsing JSON of response: "+n.message,n)}var t,r=e.conf||e,i=r.appId;for(t in r)r.hasOwnProperty(t)&&o[t]&&o[t].handle(r[t],i);e.clse&&o.clse.handle(e.clse)}),this.initialize=function(){}}function oo(n){for(var e=0;e<Me.length;e++)Te.hasOwnProperty(Me[e])&&(n[Me[e]]=Te[Me[e]]);return n}!e&&function(n,e){if(void 0===n[e])return void 0===n.NodeFilter;void 0!==n.console&&"function"==typeof n.console.log&&console.log("WARNING[EyeView-1301]: detector script has been loaded more than once. Please fix to have a single detector loading. (Extra script loading will be ignored)");return!0}(n,i)||(r=self,o=j,(a={beaconVersion:"2"}).detectorVersion=t,a.mouseEvents=r&&r.PointerEvent?{down:"pointerdown",up:"pointerup"}:{down:"mousedown",up:"mouseup"},a.eventTypes=[a.mouseEvents.down,a.mouseEvents.up,"touchstart","touchend","scroll","change","blur","focusout","keydown","keyup","submit","reset","load","unload","ajaxComplete","hashchange","navigation","popstate","focus","focusin","mouseenter","mousemove","error","beforeunload","resize","pagehide","dragstart","dragend"],a.snapshotApplicableEventType=["pageUpdate","change","mousedown","scroll","touchstart","touchend","blur","submit","drag","dragstart","dragend","formValidationError","navigation","unload","beforeunload","segmentChanged","domTampered"],a.reportBase64URLs=!1,a.nobelEventTypes=["pageSnapshot"],a.socialNobelEventTypes=["resourceContent"],a.encryptionPrefix="__ENC_",a.encodeSelectors=!0,a.encodeEventTypes=!0,a.useClassesInSelectors=!1,a.encoding={numberBase:36,rootSelector:"-",delimiters:{versionPayload:";",pages:"~~~",events:"~~",eventParts:"~",pageIdEvents:"_"},domSnapshotPrefix:"D",domSnapshotRefPrefix:"r",domSnapshotCompressedPrefix:"d",domSnapshotPlainPrefix:"P",valueEncodedPrefix:"E",valueNotEncodedPrefix:"N"},a.cookies={session:"_cls_s",visitor:"_cls_v",sub_session:"_cls_subs",supportMode:"_cls_sm"},a.censorMode={BlackList:"blacklist",WhiteList:"whitelist"},a.iframesAutoInjectMode={BlackList:"blacklist",WhiteList:"whitelist"},a.Storage={BoundKeyPrefix:"gb.",UnboundKeyPrefix:"gb_unbound."},a.detectorScript=o?function(n,e){if(n)return!n.hasAttribute(e)&&o.querySelector("["+e+"]")||n;e=o.querySelector("["+e+"]");return e=(e=r&&!e&&r._cls_config&&r._cls_config.detectorTagId?o.getElementById(r._cls_config.detectorTagId):e)||o.getElementById("_cls_detector")}(o.currentScript,"data-clsconfig"):U,R=a,void 0!==(H={})&&Le(H),R.setup="dom",void 0!==H&&Fe(H),R.dictionary={eventTypes:{change:0,document:2,mousedown:3,touchstart:4,touchend:5,focusout:6,blur:7,unload:9,submit:10,reset:11,mouseup:12,drag:13,scroll:14,popstate:15,keydown:16,keyup:17,keypress:18,scrollReach:19,timing:20,idle:21,ajaxRequest:22,formValidationError:23,hashchange:25,botDetection:26,mouseenter:27,navigation:28,mousemove:29,error:30,thirdparty:31,custom:32,hover:33,thirdpartymap:34,performance:35,resource:36,clsdebug:37,resize:38,thirdPartyAttribute:39,ajaxStats:40,ajaxLimitReached:41,pageSnapshot:91,pageUpdate:92,resourceContent:93,corsDeniedResource:94,blackout:101,segmentChanged:102,titleChanged:103,devToolsVisibilityChanged:104,domTampered:105,webStruggle:106,voc:107,clientAttribute:110,waterfall:111,lastSegment:112,webVitals:113,resourcesWaterfall:114,abTesting:120,customMap:121},elements:{DIV:0,SPAN:1,INPUT:2,FORM:3,SELECT:4,TEXTAREA:5,TABLE:6,TR:7,TD:8,IFRAME:9,TBODY:10,THEAD:11,LABEL:12},encodingTypes:{cd_number:0,cd_boolean:1,cd_string:2,cd_coordinate:3,cd_navtiming:4},performanceTimingEvents:{navigationStart:1,redirectStart:2,fetchStart:4,domainLookupStart:5,connectStart:7,secureConnectionStart:8,requestStart:10,responseStart:13,domLoading:15,domContentLoadedEventStart:17,domComplete:19,loadEventStart:20,loadEventEnd:21},encode:function(n,e){e=e[n];return e!==U?e:n},encodeEventType:function(n){return R.dictionary.encode(n,R.dictionary.eventTypes)},encodeNodeName:function(n){return R.dictionary.encode(n,R.dictionary.elements)},encodeEncodingType:function(n){return R.dictionary.encode(n,R.dictionary.encodingTypes)},encodePerformanceTimingMeasurement:function(n){return R.dictionary.encode(n,R.dictionary.performanceTimingEvents)}},function(n){if(n.CSS&&n.CSS.escape)return n.CSS.escape;var e=function(n){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");var e=String(n);var t=e.length;var r=-1;var i;var o="";var a=e.charCodeAt(0);while(++r<t){i=e.charCodeAt(r);if(i==0){o+="�";continue}if(i>=1&&i<=31||i==127||r==0&&i>=48&&i<=57||r==1&&i>=48&&i<=57&&a==45){o+="\\"+i.toString(16)+" ";continue}if(r==0&&t==1&&i==45){o+="\\"+e.charAt(r);continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){o+=e.charAt(r);continue}o+="\\"+e.charAt(r)}return o};if(!n.CSS)n.CSS={};n.CSS.escape=e}(self),u=Object.prototype.toString,E={isFunction:function(n){return"function"==typeof n},isNumber:function(n){return"number"==typeof n||"[object Number]"===u.call(n)},isBoolean:function(n){return"boolean"==typeof n||"[object Boolean]"==u.call(n)},isString:function(n){return"string"==typeof n||"[object String]"===u.call(n)},isUndefined:function(n){return void 0===n},last:function(n){return n&&n[n.length-1]},forOwn:function(n,e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)},indexOf:c=Pe("indexOf"),pluck:function(n,e){return n?n.map(function(n){return n[e]}):[]},reduce:Pe("reduce"),contains:"function"==typeof Array.prototype.includes?Pe("includes"):function(n,e,t){return-1<c(n,e,t)},forEach:Pe("forEach")},f=E,d=self,l=(l=void 0!==H?H:{})||{},logger={isConsoleSupported:function(){return!f.isUndefined(d.console)&&f.isFunction(d.console.log)},error:function(){this.log.apply(this,arguments)},log:function(){var n;!f.isUndefined(l.debugMode)&&l.debugMode&&((n=Array.prototype.slice.call(arguments,0)).unshift(q.currentTimestamp()),On&&On.page&&On.page.frame&&n.push(" (in frame "+On.page.id+")"),this.isConsoleSupported()?console.log.apply(console,n):f.isUndefined(d.console.log)||(n=n.join(" "),console.log(n)))},trace:function(){l.traceMode&&this.log.apply(this,arguments)}},s="error was detected ",V=new function(n){var o={},a=[];function i(n,e){return n[2]<e[2]?-1:n[2]>e[2]?1:0}(n=n||this).on=function(n,e,t,r){r===U&&(r=0),(o[n]=o[n]||[]).push([e,t,r]),o[n].sort(i)},n.off=function(n,e){for(var t=(o=!n?{}:o)[n]||a,r=t.length=e?t.length:0;r--;)e==t[r][0]&&t.splice(r,1)},n.emit=function(n){for(var e,t=o[n]||a,r=0<t.length?t.slice(0,t.length):t,i=0;e=r[i++];)e[0].apply(e[1],a.slice.call(arguments,1))}},q=function(r,u,c,s){s=s||{};var e,i,o={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",unload:"img",abort:"img",readystatechange:"XMLHttpRequest"},a="function"==typeof Object.assign?Object.assign:function(){var n=arguments[0];if(null===n||n===U)throw new TypeError("Cannot convert undefined or null to object");for(var e,t,r=Object(n),i=1;i<arguments.length;i++)if(null!==(e=arguments[i])&&e!==U)for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r},t={INPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,BUTTON:!0,A:!0},f=c&&c.createElement("a"),d=u&&u.console&&u.console.time&&u.console.timeEnd&&u.console.timeStamp,l=r.isFunction(u.String.prototype.startsWith),h=u&&c&&function(){if(u.Event&&u.Event.prototype&&u.Event.prototype.composedPath)return function(n){return n.composedPath()[0]};var e,t,r=!1;try{var n=u.navigator.userAgent;!1===/Trident|MSIE/i.test(n)&&!function n(){c.body?(e=c.createElement("iframe"),c.body.appendChild(e),r=!0,t=e.contentWindow.Event.prototype.composedPath,c.body.removeChild(e)):c.addEventListener("DOMContentLoaded",function(){n()})}()}catch(n){r&&(c.body.removeChild(e),r=!1)}return function(n){return t?t.call(n)[0]:n.target}}(),v=u.Node&&u.Node.prototype.hasOwnProperty("isConnected");return{currentTimestamp:r.isFunction(Date.now)&&r.isNumber(Date.now())?Date.now:function(){return(new Date).getTime()},isElement:function(n){return"hasAttribute"in n},isDOMElement:function(n){return"object"==typeof HTMLElement?n instanceof HTMLElement:n&&"object"==typeof n&&null!==n&&1===n.nodeType&&"string"==typeof n.nodeName},isEditableInput:function(n){if(!n)return!1;if("INPUT"!==n.tagName)return!0;n=(n.getAttribute("type")||"").toLowerCase();return"button"!==n&&"submit"!==n&&"reset"!==n},isOldIE:function(){return!c.addEventListener},hasTouch:function(){return!!navigator.maxTouchPoints||!!navigator.msMaxTouchPoints||(u.matchMedia?u.matchMedia("(any-pointer: coarse)").matches:"ontouchstart"in u)},isMobile:function(){var n=navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|Windows Phone|IEMobile|Opera Mini|Mobile|mobile|Tablet|CriOS/i.test(n)},isChromeDesktop:function(){var n=navigator.userAgent,n=/Chrome/i.test(n);return!this.isMobile()&&n},isSafari:function(n){var e=n||navigator.userAgent,n=/Safari/i.test(e),e=/Chrome/i.test(e);return n&&!e},isIE:function(n){n=n||navigator.userAgent;return/Trident|MSIE/i.test(n)},isChromeOnIos:function(n){n=n||navigator.userAgent;return/CriOS/i.test(n)},getChromeVersion:function(n){try{var e=(n||navigator.userAgent).match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)}catch(n){return!1}},getAttributeForElement:function(n,e){return n&&this.isElement(n)?(n.hasAttribute(e.toLocaleLowerCase())?t=n.getAttribute(e.toLocaleLowerCase()):n.hasAttribute(e.toLocaleUpperCase())&&(t=n.getAttribute(e.toLocaleUpperCase())),(t=t&&this.trim(t))||null):null;var t},getElementId:function(n){return n&&n.id?r.isString(n.id)||"function"!=typeof n.getAttribute?n.id:n.getAttribute("id"):null},isDuplicateElementId:function(n){if(!s.duplicateIdCheck)return!1;try{return"querySelectorAll"in c?1<c.querySelectorAll("[id='"+n+"']").length:!1}catch(n){return!1}},getMouseEnterTarget:function(){return"onmouseenter"in c?c:"onmouseenter"in u?u:c.body},hasTimingAPI:function(){return!r.isUndefined(u.performance)&&!r.isUndefined(u.performance.timing)},startsWith:function(n,e){return!(!r.isString(n)||!r.isString(e))&&(l?n.startsWith(e):n.slice(0,e.length)===e)},truncateStr:function(n,e,t){var r=n;return n&&n.length>e&&(r=n.substr(0,e),t&&(r=r.concat("..."))),r},getCoordinate:function(n){var e=n.changedTouches||n.touches,t=e&&0<e.length?e[0]:n,e=this.extractElementFromEvent(n);return this.isHybrid()||"HTML"===e.nodeName.toUpperCase()?new At(t.clientX,t.clientY):r.isUndefined(t.pageX)||r.isUndefined(t.pageY)?new At(n.clientX+c.body.scrollLeft+c.documentElement.scrollLeft,n.clientY+c.body.scrollTop+c.documentElement.scrollTop):new At(t.pageX,t.pageY)},getScrollTopLeft:function(){try{var n=null!==u.top&&u.top!==u.self?u.top:u;return{top:void 0!==n.pageYOffset?n.pageYOffset:(n.document.documentElement||n.document.body.parentNode||n.document.body).scrollTop,left:void 0!==n.pageXOffset?n.pageXOffset:(n.document.documentElement||n.document.body.parentNode||n.document.body).scrollLeft}}catch(n){return logger.error("Failed getting scroll values: "+n.message,n),{top:0,left:0}}},getElementXYCoordinates:function(n){if(!n)return null;if(!("getBoundingClientRect"in n))return null;var e=n.getBoundingClientRect(),n=this.getScrollTopLeft();return new At(Math.round(e.left+n.left),Math.round(e.top+n.top))},isSameCoordinates:function(n,e){return n.x===e.x&&n.y===e.y},isCoordinatesDistLargerThan:function(n,e,t){return Math.abs(n.x-e.x)>t||Math.abs(n.y-e.y)>t},getCurrentScrollReach:function(){try{var n=null!==u.top&&u.top!==u.self?u.top:u;return(void 0!==n.pageYOffset?n.pageYOffset:(n.document.documentElement||n.document.body.parentNode||n.document.body).scrollTop)+(n.innerHeight||n.document.documentElement.clientHeight||n.document.body.clientHeight)}catch(n){return 0}},getWindowSize:function(){return r.isNumber(u.innerWidth)&&r.isNumber(u.innerHeight)?this.validateSize(u.innerWidth,u.innerHeight):!r.isUndefined(c.body)&&r.isNumber(c.body.offsetWidth)&&r.isNumber(c.body.offsetHeight)?this.validateSize(c.body.offsetWidth,c.body.offsetHeight):null},getScreenSize:function(){return this.validateSize(screen.width,screen.height)},validateSize:function(n,e){return r.isNumber(n)&&r.isNumber(e)?{width:n,height:e}:null},indexOfNode:function(n,e,t){for(var r=t||0;r<n.length;r++)if(n[r]===e)return r;return-1},getLocationUrlSplitByHash:function(n){var e=q.decodeUri(n,u.location.href),n=e.indexOf("#");return-1===n?{url:e,withoutHash:e,hash:null}:{url:e,withoutHash:e.slice(0,n),hash:e.slice(n+1,e.length)}},getHashFromUrl:function(n){var e=n.indexOf("#");return-1===e?"":n.slice(e+1,n.length)},stripHash:function(n){var e=n.indexOf("#");return-1===e?n:n.slice(0,e)},getReferrerUrlWithoutHash:function(){var n=u.document.referrer;if(!n||0===n.length)return null;var e=n.indexOf("#");return-1!==e?n.slice(0,e):n},decodeUri:function(n,e){if(n)try{return decodeURIComponent(e)}catch(n){return e}return e},encodeAsBase:function(n,e){return n.toString(e)},uuid:function(){var t=(new Date).getTime(),r=u.performance&&u.performance.now&&1e3*u.performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var e=16*Math.random();return 0<t?(e=(t+e)%16|0,t=Math.floor(t/16)):(e=(r+e)%16|0,r=Math.floor(r/16)),("x"===n?e:3&e|8).toString(16)})},addEventHandler:function(n,e,t,r){n.addEventListener?n.addEventListener(e,t,r):n.attachEvent&&n.attachEvent("on"+e,t)},removeEventHandler:function(n,e,t){r.isUndefined(n.removeEventListener)?r.isUndefined(n.detachEvent)||n.detachEvent("on"+e,t):n.removeEventListener(e,t,!0)},extractElementFromEvent:function(n){n=((n=void 0===n?u.event:n).target.shadowRoot?h(n):n.target)||n.srcElement;return null==n?null:3===n.nodeType?n.parentNode:n},isEventSupported:function(n){var e="on"+n;if(e in u||e in u.document)return!0;var t=c.createElement(o[e]||"div"),n=e in t;return n||(t.setAttribute(e,"return;"),n=r.isFunction(t[e])),t=null,n},isConsoleSupported:function(){return!r.isUndefined(u.console)&&r.isFunction(u.console.log)},getReason:function(n){return r.isString(n)?"("+n+")":"(not specified)"},hashcode:function(n){var e=0;if(0===n.length)return e;for(var t=0;t<n.length;t++){e=(e<<5)-e+n.charCodeAt(t);e&=e}return e},trim:function(n){return"function"!=typeof String.prototype.trim?n.replace(/^\s+|\s+$/g,""):n.trim()},time:function(n){s.timingMode&&d&&u.console.time(n)},timeEnd:function(n){s.timingMode&&d&&u.console.timeEnd(n)},timeStamp:function(n){s.timingMode&&d&&u.console.timeStamp(n)},hasOneOfClassNames:function(n,e){var t;return n.classList?(t=n.classList,e.some(function(n){return t.contains(n)})):(t=this.getClassList(n),e.some(function(n){return-1<t.indexOf(n)}))},getMatchingClassName:function(n,e){for(var t=" "+q.getClass(n)+" ",r=0;r<e.length;r++)if(-1<t.indexOf(" "+e[r]+" "))return e[r]},getClass:function(n){return n.getAttribute&&n.getAttribute("class")||""},getClassList:function(n){if(n.classList)return n.classList;n=this.getClass(n);return n?n.split(" "):[]},hasClassName:function(n,e){var t=this.getClassList(n);return t.indexOf?-1<this.getClassList(n).indexOf(e):t.contains(e)},getHybridType:function(){return"undefined"==typeof eyeViewHybridBridge?null:eyeViewHybridBridge.getHybridType()},isHybrid:function(){return"undefined"!=typeof eyeViewHybridBridge},isHybridAndroid:function(){return this.isHybrid()&&this.getHybridType()===eyeViewHybridBridge.HYBRID_ANDROID},isHybridIOS:function(){return this.isHybrid()&&this.getHybridType()===eyeViewHybridBridge.HYBRID_IOS},immutableSet:function(){for(var n={},e=0;e<arguments.length;e++)n[arguments[e]]=!0;return n},DOMElement2Str:function(n){return n instanceof CharacterData?n.textContent:n.outerHTML},dateFromNow:function(n){return new Date(this.currentTimestamp()+n)},getRootNode:function(n){if(!n)return n;if(n.getRootNode)return n.getRootNode();var e=n;for(n=n.parentNode;n;)n=(e=n).parentNode;return e||n},isAttachedToDOM:function(n){if(!n)return!1;if(v)return n.isConnected;var e=n.ownerDocument;if(n.getRootNode)return e===n.getRootNode({composed:!0});for(;n;){if(n===e)return!0;n=n.parentNode||n.host}return!1},isVisible:function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects&&n.getClientRects().length)},isInPageView:function(n){n=n.getBoundingClientRect();return-10<=n.top&&-10<=n.left},ensureProperty:function(n){for(var e=Array.prototype.slice.call(arguments,1),t=n,r=0;r<e.length;r++)t.hasOwnProperty(e[r])||(t[e[r]]={}),t=t[e[r]];return t},shallowExtend:function(n,e){if(!n)return n;for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},isEmpty:function(n){for(var e in n)if(n.hasOwnProperty(e))return!1;return!0},assign:function(n,e,t,r){return a.call(null,n,e,t,r)},getPerformanceResourceEntry:function(n,e){u.performance&&u.performance.getEntriesByName&&((n=performance.getEntriesByName(q.toAbsoluteUrl(n)))&&n.length&&(n.sort(function(n,e){return n.startTime-e.startTime}),(n=n[n.length-1])&&(e.downloadTime=n.duration?Math.floor(n.duration):U,e.ttfb=n.responseStart?Math.floor(n.responseStart-n.startTime):U)))},extractHostname:function(n){if(!n)return"";var e=n.indexOf("//"),t=n.indexOf("/");if(-1!==e&&e<7&&e===t){t=n.indexOf("/",e+2);return n.substring(e+2,-1!==t?t:U)}return""},isHTTPS:function(n){if(!n)return!1;var e=n.indexOf("://");return-1!==e&&"https"===n.substring(0,e).toLowerCase()},isHostRelativeUrl:function(n){return!n||!("//"===n.substring(0,2)||-1<n.indexOf("://"))},extractPath:function(n){if(!n)return"";f.href=n;n=f.pathname;return n="/"!==n.charAt(0)?"/"+n:n},joinPath:function(n,e){var t="/"===n.charAt(n.length-1),r="/"===e.charAt(0);return t&&r?n+e.substring(1):t||r?n+e:n+"/"+e},extractOrigin:function(n){if(!n)return"";if(f.href=n,f.origin)return f.origin;var e=n.indexOf("://"),e=-1!==e&&-1!==n.indexOf(":",e+3);return f.hostname?f.protocol+"//"+f.hostname+(e&&f.port?":"+f.port:""):""},toAbsoluteUrl:function(n){return f.href=n,f.href},arrayToJsonSafe:function(n){return(e=e||("function"==typeof Array.prototype.toJSON?function(n){var e=Array.prototype.toJSON;delete Array.prototype.toJSON;n=JSON.stringify(n);return Array.prototype.toJSON=e,n}:JSON.stringify))(n)},parseQuery:function(n){var e={};if(n)for(var t,r=n.split("&"),i=0;i<r.length;i++)if((t=r[i].split("="))[0])try{e[t[0]]=t[1]?decodeURIComponent(t[1]):""}catch(n){}return e},optionsWithDefaults:function(n,e){for(var t in n=n||{},e=e||{})e.hasOwnProperty(t)&&(n[t]=(void 0!==n[t]?n:e)[t]);return n},strToBytes:function(n){for(var e=new ArrayBuffer(n.length),t=new Uint8Array(e),r=0;r<n.length;r++)t[r]=n.charCodeAt(r);return e},strToUTF8Bytes:function(n){for(var e=[],t=0,r=0;r<n.length;r++){var i=n.charCodeAt(r);i<128?e[t++]=i:(i<2048?e[t++]=i>>6|192:(55296==(64512&i)&&r+1<n.length&&56320==(64512&n.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&n.charCodeAt(++r)),e[t++]=i>>18|240,e[t++]=i>>12&63|128):e[t++]=i>>12|224,e[t++]=i>>6&63|128),e[t++]=63&i|128)}return e},compositeFunctionBuilder:function(t){var r=[];return{add:function(n){return"function"==typeof n&&r.push(n),this},build:function(){return r.length?function(){for(var n,e=0;e<r.length;e++)if(n=r[e].apply(null,arguments),t&&n)return n}:U},buildBooleanAnd:function(){return r.length?function(){for(var n=!0,e=0;e<r.length;e++)n=n&&r[e].apply(null,arguments);return n}:function(){return!0}}}},transformTextSegments:function(n,e){for(var t,r=0,i="",o=/\s+/gi;t=o.exec(n);)i+=e(n.substring(r,t.index)),i+=t[0],r=t.index+t[0].length;return i+=e(n.substring(r))},waitForObjDefined:function(n,e,t,r){var i=!1;n[e]?t():Object.defineProperty(n,e,{configurable:!0,enumerable:!0,writeable:!0,get:function(){return this["_"+e]},set:function(n){this["_"+e]=n,i||(r&&(i=!0),t())}})},waitingInterval:function(n,e,t,r,i){r=r||1e3,i=void 0!==i?i:5;i&&(n&&n[e]?t():(i=q.waitingInterval.gbBind(null,n,e,t,r,--i),setTimeout(i,r)))},elementMatches:function(){if(!u.Element)return function(){return!1};var n=u.Element.prototype;return n.matches||(n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(n){for(var e=(this.document||this.ownerDocument).querySelectorAll(n),t=e.length;0<=--t&&e.item(t)!==this;);return-1<t}),function(n,e){return n.matches(e)}}(),createAssociatedCss:function(n,e,t){var r=c.createElement("gb_adoptedStyle");r.setAttribute("gbrealid",t),r.setAttribute("gbAssociateId",e),r.setAttribute("gb-ignore",""),r.setAttribute("style","display: none");for(var i=n.cssRules,o="",a=0;a<i.length;a++)"string"==typeof i[a].cssText&&(o+=i[a].cssText);return r.textContent=o,r},arrayToLowerCase:function(n){return(n||[]).map(function(n){return n.toLowerCase()})},isElementShown:function(n){var e=getComputedStyle(n),t=n.getBoundingClientRect();return!("none"===e.display||"visible"!==e.visibility||e.opacity<.5||n.offsetWidth*n.offsetHeight+t.height*t.width<s.minAreaTocountElementAsShown)},waitForElementsOnPage:function(n,i,o){n.some(function(n){var e=c.querySelectorAll(n),t=!1;if(e.length){if(o)for(var r=0;r<e.length;++r)q.isElementShown(e[r])&&(t=!0);o&&!t||setTimeout(function(){i(e[0])},1)}return!(!e.length||o&&!t)})||setTimeout(q.waitForElementsOnPage.bind(null,n,i,o),s.waitForElementTime||1e3)},isStringMatch:function(n,e){var t;try{n=n.replace(/[-\/\\^$+?()|[\]{}]/g,"\\$&"),t=new RegExp("^"+n.split("*").join(".*")+"$")}catch(n){return logger.error("Exception occurred during parsing regular expression. Error: "+n.message,n),!1}if(t)return t.test(e)},isClickable:function(n){return!(!n||!n.tagName)&&(!!function(n){for(var e=11;e&&n;){if("BODY"===n.tagName||"HTML"===n.tagName)return;if(t[n.tagName])return 1;n=n.parentNode||n.host,e--}}(n)||("function"==typeof n.getAttribute&&!!n.getAttribute("onclick")||"function"==typeof n.onclick||!!n.getAttribute("href")))},generateTabId:function(){try{var n,e,t,r,i,o=u.sessionStorage["gb.btabid"],a=u.sessionStorage["gb.unloaded"];return void 0!==o&&void 0!==a||(n=!1,s.passTabIdViaWinName&&u.name&&-1<u.name.indexOf("gb.btabid")&&(3===(e=u.name.split(";")).length&&(t=e[0].split("=")[1],r=e[1].split("=")[1],i=e[2].split("=")[1],(c.referrer&&q.getUpperLevelDomain(URL?new URL(c.referrer).host:q.extractHostname(c.referrer))===q.getUpperLevelDomain(u.location.host)||i&&q.getUpperLevelDomain(i)===q.getUpperLevelDomain(u.location.host))&&t&&"undefined"!==t&&On.sessionId===r&&(u.sessionStorage["gb.btabid"]=o=t,n=!0)),u.name=""),n||(o=q.uuid(),u.sessionStorage["gb.btabid"]=o)),delete u.sessionStorage["gb.unloaded"],o}catch(n){return-1<u.name.indexOf("gb.btabid")&&(u.name=""),u.sessionStorage["gb.btabid"]=q.uuid(),u.sessionStorage["gb.btabid"]}},getUpperLevelDomain:function(n){if(!n)return"";var e=n.split(".");return e.length<=2?n:(e.shift(),e.join("."))},isInfiniteScrollDetected:(i=!1,function(n,e){if(!n.scrollReach.height||!n.scrollReach.domElementsCount)return!1;var t=e.value.domElementsCount-n.scrollReach.domElementsCount,r=e.value.height-n.scrollReach.height;return!!(i=i||e.timestamp>n.documentEvent.timestamp+n.config.infiniteScrollDetectionWaitTime)&&(!(t<n.config.infiniteScrollDetectionGrowElementsCount)&&!(r<n.config.infiniteScrollDetectionGrowPixels))})}}(E,self,j,void 0!==H?H:{}),function(){(("undefined"!==typeof q?q:{})||window||this).pako=function r(i,o,a){function u(t,n){if(!o[t]){if(!i[t]){var e="function"==typeof require&&require;if(!n&&e)return e(t,!0);if(c)return c(t,!0);e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e=o[t]={exports:{}};i[t][0].call(e.exports,function(n){var e=i[t][1][n];return u(e||n)},e,e.exports,r,i,o,a)}return o[t].exports}for(var c="function"==typeof require&&require,n=0;n<a.length;n++)u(a[n]);return u}({1:[function(n,e,t){"use strict";var a=n("./zlib/deflate"),u=n("./utils/common"),c=n("./utils/strings"),r=n("./zlib/messages"),i=n("./zlib/zstream"),s=Object.prototype.toString,f=0,o=-1,d=0,l=8;function h(n){if(!(this instanceof h))return new h(n);this.options=u.assign({level:o,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},n||{});var e=this.options;if(e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0,(n=a.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy))!==f)throw new Error(r[n]);if(e.header&&a.deflateSetHeader(this.strm,e.header),e.dictionary){e="string"==typeof e.dictionary?c.string2buf(e.dictionary):"[object ArrayBuffer]"===s.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary;if((n=a.deflateSetDictionary(this.strm,e))!==f)throw new Error(r[n]);this._dict_set=!0}}function v(n,e){e=new h(e);if(e.push(n,!0),e.err)throw e.msg||r[e.err];return e.result}h.prototype.push=function(n,e){var t,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;r=e===~~e?e:!0===e?4:0,"string"==typeof n?i.input=c.string2buf(n):"[object ArrayBuffer]"===s.call(n)?i.input=new Uint8Array(n):i.input=n,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new u.Buf8(o),i.next_out=0,i.avail_out=o),1!==(t=a.deflate(i,r))&&t!==f)return this.onEnd(t),!(this.ended=!0)}while(0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(c.buf2binstring(u.shrinkBuf(i.output,i.next_out))):this.onData(u.shrinkBuf(i.output,i.next_out))),(0<i.avail_in||0===i.avail_out)&&1!==t);return 4===r?(t=a.deflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===f):2!==r||(this.onEnd(f),!(i.avail_out=0))},h.prototype.onData=function(n){this.chunks.push(n)},h.prototype.onEnd=function(n){n===f&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg},t.Deflate=h,t.deflate=v,t.deflateRaw=function(n,e){return(e=e||{}).raw=!0,v(n,e)},t.gzip=function(n,e){return(e=e||{}).gzip=!0,v(n,e)}},{"./utils/common":2,"./utils/strings":3,"./zlib/deflate":6,"./zlib/messages":7,"./zlib/zstream":9}],2:[function(n,e,t){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(n){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var t=e.shift();if(t){if("object"!=typeof t)throw new TypeError(t+"must be non-object");for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])}}return n},t.shrinkBuf=function(n,e){return n.length===e?n:n.subarray?n.subarray(0,e):(n.length=e,n)};var i={arraySet:function(n,e,t,r,i){if(e.subarray&&n.subarray)n.set(e.subarray(t,t+r),i);else for(var o=0;o<r;o++)n[i+o]=e[t+o]},flattenChunks:function(n){for(var e,t,r,i=0,o=0,a=n.length;o<a;o++)i+=n[o].length;for(r=new Uint8Array(i),o=e=0,a=n.length;o<a;o++)t=n[o],r.set(t,e),e+=t.length;return r}},o={arraySet:function(n,e,t,r,i){for(var o=0;o<r;o++)n[i+o]=e[t+o]},flattenChunks:function(n){return[].concat.apply([],n)}};t.setTyped=function(n){n?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,o))},t.setTyped(r)},{}],3:[function(n,e,t){"use strict";var c=n("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(n){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(n){o=!1}for(var s=new c.Buf8(256),r=0;r<256;r++)s[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function f(n,e){if(e<65537&&(n.subarray&&o||!n.subarray&&i))return String.fromCharCode.apply(null,c.shrinkBuf(n,e));for(var t="",r=0;r<e;r++)t+=String.fromCharCode(n[r]);return t}s[254]=s[254]=1,t.string2buf=function(n){for(var e,t,r,i,o=n.length,a=0,u=0;u<o;u++)55296==(64512&(t=n.charCodeAt(u)))&&u+1<o&&56320==(64512&(r=n.charCodeAt(u+1)))&&(t=65536+(t-55296<<10)+(r-56320),u++),a+=t<128?1:t<2048?2:t<65536?3:4;for(e=new c.Buf8(a),u=i=0;i<a;u++)55296==(64512&(t=n.charCodeAt(u)))&&u+1<o&&56320==(64512&(r=n.charCodeAt(u+1)))&&(t=65536+(t-55296<<10)+(r-56320),u++),t<128?e[i++]=t:(t<2048?e[i++]=192|t>>>6:(t<65536?e[i++]=224|t>>>12:(e[i++]=240|t>>>18,e[i++]=128|t>>>12&63),e[i++]=128|t>>>6&63),e[i++]=128|63&t);return e},t.buf2binstring=function(n){return f(n,n.length)},t.binstring2buf=function(n){for(var e=new c.Buf8(n.length),t=0,r=e.length;t<r;t++)e[t]=n.charCodeAt(t);return e},t.buf2string=function(n,e){for(var t,r,i=e||n.length,o=new Array(2*i),a=0,u=0;u<i;)if((t=n[u++])<128)o[a++]=t;else if(4<(r=s[t]))o[a++]=65533,u+=r-1;else{for(t&=2===r?31:3===r?15:7;1<r&&u<i;)t=t<<6|63&n[u++],r--;1<r?o[a++]=65533:t<65536?o[a++]=t:(t-=65536,o[a++]=55296|t>>10&1023,o[a++]=56320|1023&t)}return f(o,a)},t.utf8border=function(n,e){for(var t=(e=(e=e||n.length)>n.length?n.length:e)-1;0<=t&&128==(192&n[t]);)t--;return!(t<0)&&0!==t&&t+s[n[t]]>e?t:e}},{"./common":2}],4:[function(n,e,t){"use strict";e.exports=function(n,e,t,r){for(var i=65535&n|0,o=n>>>16&65535|0,a=0;0!==t;){for(t-=a=2e3<t?2e3:t;o=o+(i=i+e[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],5:[function(n,e,t){"use strict";var u=function(){for(var n=[],e=0;e<256;e++){for(var t=e,r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;n[e]=t}return n}();e.exports=function(n,e,t,r){var i=u,o=r+t;n^=-1;for(var a=r;a<o;a++)n=n>>>8^i[255&(n^e[a])];return-1^n}},{}],6:[function(n,e,t){"use strict";var u,d=n("../utils/common"),c=n("./trees"),l=n("./adler32"),h=n("./crc32"),r=n("./messages"),s=0,f=4,v=0,m=-2,g=-1,p=4,i=2,y=8,w=9,o=286,a=30,b=19,E=2*o+1,C=15,S=3,T=258,I=T+S+1,k=42,x=113,M=1,R=2,A=3,N=4;function D(n,e){return n.msg=r[e],e}function _(n){return(n<<1)-(4<n?9:0)}function O(n){for(var e=n.length;0<=--e;)n[e]=0}function L(n){var e=n.state,t=e.pending;0!==(t=t>n.avail_out?n.avail_out:t)&&(d.arraySet(n.output,e.pending_buf,e.pending_out,t,n.next_out),n.next_out+=t,e.pending_out+=t,n.total_out+=t,n.avail_out-=t,e.pending-=t,0===e.pending&&(e.pending_out=0))}function F(n,e){c._tr_flush_block(n,0<=n.block_start?n.block_start:-1,n.strstart-n.block_start,e),n.block_start=n.strstart,L(n.strm)}function P(n,e){n.pending_buf[n.pending++]=e}function B(n,e){n.pending_buf[n.pending++]=e>>>8&255,n.pending_buf[n.pending++]=255&e}function j(n,e){var t,r,i=n.max_chain_length,o=n.strstart,a=n.prev_length,u=n.nice_match,c=n.strstart>n.w_size-I?n.strstart-(n.w_size-I):0,s=n.window,f=n.w_mask,d=n.prev,l=n.strstart+T,h=s[o+a-1],v=s[o+a];n.prev_length>=n.good_match&&(i>>=2),u>n.lookahead&&(u=n.lookahead);do{if(s[(t=e)+a]===v&&s[t+a-1]===h&&s[t]===s[o]&&s[++t]===s[o+1]){for(o+=2,t++;s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&s[++o]===s[++t]&&o<l;);if(r=T-(l-o),o=l-T,a<r){if(n.match_start=e,u<=(a=r))break;h=s[o+a-1],v=s[o+a]}}}while((e=d[e&f])>c&&0!=--i);return a<=n.lookahead?a:n.lookahead}function U(n){var e,t,r,i,o,a,u,c,s,f=n.w_size;do{if(s=n.window_size-n.lookahead-n.strstart,n.strstart>=f+(f-I)){for(d.arraySet(n.window,n.window,f,f,0),n.match_start-=f,n.strstart-=f,n.block_start-=f,e=t=n.hash_size;r=n.head[--e],n.head[e]=f<=r?r-f:0,--t;);for(e=t=f;r=n.prev[--e],n.prev[e]=f<=r?r-f:0,--t;);s+=f}if(0===n.strm.avail_in)break;if(o=n.strm,a=n.window,u=n.strstart+n.lookahead,c=s,s=void 0,s=o.avail_in,t=0===(s=c<s?c:s)?0:(o.avail_in-=s,d.arraySet(a,o.input,o.next_in,s,u),1===o.state.wrap?o.adler=l(o.adler,a,s,u):2===o.state.wrap&&(o.adler=h(o.adler,a,s,u)),o.next_in+=s,o.total_in+=s,s),n.lookahead+=t,n.lookahead+n.insert>=S)for(i=n.strstart-n.insert,n.ins_h=n.window[i],n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+1])&n.hash_mask;n.insert&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+S-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,n.insert--,!(n.lookahead+n.insert<S)););}while(n.lookahead<I&&0!==n.strm.avail_in)}function H(n,e){for(var t,r;;){if(n.lookahead<I){if(U(n),n.lookahead<I&&e===s)return M;if(0===n.lookahead)break}if(t=0,n.lookahead>=S&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+S-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),0!==t&&n.strstart-t<=n.w_size-I&&(n.match_length=j(n,t)),n.match_length>=S)if(r=c._tr_tally(n,n.strstart-n.match_start,n.match_length-S),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=S){for(n.match_length--;n.strstart++,n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+S-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart,0!=--n.match_length;);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+1])&n.hash_mask;else r=c._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(r&&(F(n,!1),0===n.strm.avail_out))return M}return n.insert=n.strstart<S-1?n.strstart:S-1,e===f?(F(n,!0),0===n.strm.avail_out?A:N):n.last_lit&&(F(n,!1),0===n.strm.avail_out)?M:R}function V(n,e){for(var t,r,i;;){if(n.lookahead<I){if(U(n),n.lookahead<I&&e===s)return M;if(0===n.lookahead)break}if(t=0,n.lookahead>=S&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+S-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=S-1,0!==t&&n.prev_length<n.max_lazy_match&&n.strstart-t<=n.w_size-I&&(n.match_length=j(n,t),n.match_length<=5&&(1===n.strategy||n.match_length===S&&4096<n.strstart-n.match_start)&&(n.match_length=S-1)),n.prev_length>=S&&n.match_length<=n.prev_length){for(i=n.strstart+n.lookahead-S,r=c._tr_tally(n,n.strstart-1-n.prev_match,n.prev_length-S),n.lookahead-=n.prev_length-1,n.prev_length-=2;++n.strstart<=i&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+S-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),0!=--n.prev_length;);if(n.match_available=0,n.match_length=S-1,n.strstart++,r&&(F(n,!1),0===n.strm.avail_out))return M}else if(n.match_available){if((r=c._tr_tally(n,0,n.window[n.strstart-1]))&&F(n,!1),n.strstart++,n.lookahead--,0===n.strm.avail_out)return M}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(r=c._tr_tally(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<S-1?n.strstart:S-1,e===f?(F(n,!0),0===n.strm.avail_out?A:N):n.last_lit&&(F(n,!1),0===n.strm.avail_out)?M:R}function q(n,e,t,r,i){this.good_length=n,this.max_lazy=e,this.nice_length=t,this.max_chain=r,this.func=i}function z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new d.Buf16(2*E),this.dyn_dtree=new d.Buf16(2*(2*a+1)),this.bl_tree=new d.Buf16(2*(2*b+1)),O(this.dyn_ltree),O(this.dyn_dtree),O(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new d.Buf16(C+1),this.heap=new d.Buf16(2*o+1),O(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new d.Buf16(2*o+1),O(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function W(n){var e;return n&&n.state?(n.total_in=n.total_out=0,n.data_type=i,(e=n.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?k:x,n.adler=2===e.wrap?0:1,e.last_flush=s,c._tr_init(e),v):D(n,m)}function G(n){var e=W(n);return e===v&&((n=n.state).window_size=2*n.w_size,O(n.head),n.max_lazy_match=u[n.level].max_lazy,n.good_match=u[n.level].good_length,n.nice_match=u[n.level].nice_length,n.max_chain_length=u[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=S-1,n.match_available=0,n.ins_h=0),e}function X(n,e,t,r,i,o){if(!n)return m;var a=1;if(e===g&&(e=6),r<0?(a=0,r=-r):15<r&&(a=2,r-=16),i<1||w<i||t!==y||r<8||15<r||e<0||9<e||o<0||p<o)return D(n,m);8===r&&(r=9);var u=new z;return(n.state=u).strm=n,u.wrap=a,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=i+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+S-1)/S),u.window=new d.Buf8(2*u.w_size),u.head=new d.Buf16(u.hash_size),u.prev=new d.Buf16(u.w_size),u.lit_bufsize=1<<i+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new d.Buf8(u.pending_buf_size),u.d_buf=+u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=e,u.strategy=o,u.method=t,G(n)}u=[new q(0,0,0,0,function(n,e){var t=65535;for(t>n.pending_buf_size-5&&(t=n.pending_buf_size-5);;){if(n.lookahead<=1){if(U(n),0===n.lookahead&&e===s)return M;if(0===n.lookahead)break}n.strstart+=n.lookahead,n.lookahead=0;var r=n.block_start+t;if((0===n.strstart||n.strstart>=r)&&(n.lookahead=n.strstart-r,n.strstart=r,F(n,!1),0===n.strm.avail_out))return M;if(n.strstart-n.block_start>=n.w_size-I&&(F(n,!1),0===n.strm.avail_out))return M}return n.insert=0,e===f?(F(n,!0),0===n.strm.avail_out?A:N):(n.strstart>n.block_start&&(F(n,!1),n.strm.avail_out),M)}),new q(4,4,8,4,H),new q(4,5,16,8,H),new q(4,6,32,32,H),new q(4,4,16,16,V),new q(8,16,32,32,V),new q(8,16,128,128,V),new q(8,32,128,256,V),new q(32,128,258,1024,V),new q(32,258,258,4096,V)],t.deflateInit=function(n,e){return X(n,e,y,15,8,0)},t.deflateInit2=X,t.deflateReset=G,t.deflateResetKeep=W,t.deflateSetHeader=function(n,e){return!n||!n.state||2!==n.state.wrap?m:(n.state.gzhead=e,v)},t.deflate=function(n,e){var t,r,i,o;if(!n||!n.state||5<e||e<0)return n?D(n,m):m;if(t=n.state,!n.output||!n.input&&0!==n.avail_in||666===t.status&&e!==f)return D(n,0===n.avail_out?-5:m);if(t.strm=n,a=t.last_flush,t.last_flush=e,t.status===k&&(2===t.wrap?(n.adler=0,P(t,31),P(t,139),P(t,8),t.gzhead?(P(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),P(t,255&t.gzhead.time),P(t,t.gzhead.time>>8&255),P(t,t.gzhead.time>>16&255),P(t,t.gzhead.time>>24&255),P(t,9===t.level?2:2<=t.strategy||t.level<2?4:0),P(t,255&t.gzhead.os),t.gzhead.extra&&t.gzhead.extra.length&&(P(t,255&t.gzhead.extra.length),P(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(n.adler=h(n.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=69):(P(t,0),P(t,0),P(t,0),P(t,0),P(t,0),P(t,9===t.level?2:2<=t.strategy||t.level<2?4:0),P(t,3),t.status=x)):(o=y+(t.w_bits-8<<4)<<8,o|=(2<=t.strategy||t.level<2?0:t.level<6?1:6===t.level?2:3)<<6,0!==t.strstart&&(o|=32),o+=31-o%31,t.status=x,B(t,o),0!==t.strstart&&(B(t,n.adler>>>16),B(t,65535&n.adler)),n.adler=1)),69===t.status)if(t.gzhead.extra){for(r=t.pending;t.gzindex<(65535&t.gzhead.extra.length)&&(t.pending!==t.pending_buf_size||(t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),L(n),r=t.pending,t.pending!==t.pending_buf_size));)P(t,255&t.gzhead.extra[t.gzindex]),t.gzindex++;t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=73)}else t.status=73;if(73===t.status)if(t.gzhead.name){r=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),L(n),r=t.pending,t.pending===t.pending_buf_size)){i=1;break}}while(i=t.gzindex<t.gzhead.name.length?255&t.gzhead.name.charCodeAt(t.gzindex++):0,P(t,i),0!==i);t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),0===i&&(t.gzindex=0,t.status=91)}else t.status=91;if(91===t.status)if(t.gzhead.comment){r=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),L(n),r=t.pending,t.pending===t.pending_buf_size)){i=1;break}}while(i=t.gzindex<t.gzhead.comment.length?255&t.gzhead.comment.charCodeAt(t.gzindex++):0,P(t,i),0!==i);t.gzhead.hcrc&&t.pending>r&&(n.adler=h(n.adler,t.pending_buf,t.pending-r,r)),0===i&&(t.status=103)}else t.status=103;if(103===t.status&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&L(n),t.pending+2<=t.pending_buf_size&&(P(t,255&n.adler),P(t,n.adler>>8&255),n.adler=0,t.status=x)):t.status=x),0!==t.pending){if(L(n),0===n.avail_out)return t.last_flush=-1,v}else if(0===n.avail_in&&_(e)<=_(a)&&e!==f)return D(n,-5);if(666===t.status&&0!==n.avail_in)return D(n,-5);if(0!==n.avail_in||0!==t.lookahead||e!==s&&666!==t.status){var a=2===t.strategy?function(n,e){for(var t;;){if(0===n.lookahead&&(U(n),0===n.lookahead)){if(e===s)return M;break}if(n.match_length=0,t=c._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,t&&(F(n,!1),0===n.strm.avail_out))return M}return n.insert=0,e===f?(F(n,!0),0===n.strm.avail_out?A:N):n.last_lit&&(F(n,!1),0===n.strm.avail_out)?M:R}(t,e):3===t.strategy?function(n,e){for(var t,r,i,o,a=n.window;;){if(n.lookahead<=T){if(U(n),n.lookahead<=T&&e===s)return M;if(0===n.lookahead)break}if(n.match_length=0,n.lookahead>=S&&0<n.strstart&&(r=a[i=n.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){for(o=n.strstart+T;r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o;);n.match_length=T-(o-i),n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=S?(t=c._tr_tally(n,1,n.match_length-S),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(t=c._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),t&&(F(n,!1),0===n.strm.avail_out))return M}return n.insert=0,e===f?(F(n,!0),0===n.strm.avail_out?A:N):n.last_lit&&(F(n,!1),0===n.strm.avail_out)?M:R}(t,e):u[t.level].func(t,e);if(a!==A&&a!==N||(t.status=666),a===M||a===A)return 0===n.avail_out&&(t.last_flush=-1),v;if(a===R&&(1===e?c._tr_align(t):5!==e&&(c._tr_stored_block(t,0,0,!1),3===e&&(O(t.head),0===t.lookahead&&(t.strstart=0,t.block_start=0,t.insert=0))),L(n),0===n.avail_out))return t.last_flush=-1,v}return e!==f?v:t.wrap<=0?1:(2===t.wrap?(P(t,255&n.adler),P(t,n.adler>>8&255),P(t,n.adler>>16&255),P(t,n.adler>>24&255),P(t,255&n.total_in),P(t,n.total_in>>8&255),P(t,n.total_in>>16&255),P(t,n.total_in>>24&255)):(B(t,n.adler>>>16),B(t,65535&n.adler)),L(n),0<t.wrap&&(t.wrap=-t.wrap),0!==t.pending?v:1)},t.deflateEnd=function(n){var e;return n&&n.state?(e=n.state.status)!==k&&69!==e&&73!==e&&91!==e&&103!==e&&e!==x&&666!==e?D(n,m):(n.state=null,e===x?D(n,-3):v):m},t.deflateSetDictionary=function(n,e){var t,r,i,o,a,u,c,s=e.length;if(!n||!n.state)return m;if(2===(o=(t=n.state).wrap)||1===o&&t.status!==k||t.lookahead)return m;for(1===o&&(n.adler=l(n.adler,e,s,0)),t.wrap=0,s>=t.w_size&&(0===o&&(O(t.head),t.strstart=0,t.block_start=0,t.insert=0),c=new d.Buf8(t.w_size),d.arraySet(c,e,s-t.w_size,t.w_size,0),e=c,s=t.w_size),a=n.avail_in,u=n.next_in,c=n.input,n.avail_in=s,n.next_in=0,n.input=e,U(t);t.lookahead>=S;){for(r=t.strstart,i=t.lookahead-(S-1);t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+S-1])&t.hash_mask,t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,--i;);t.strstart=r,t.lookahead=S-1,U(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=S-1,t.match_available=0,n.next_in=u,n.input=c,n.avail_in=a,t.wrap=o,v},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":2,"./adler32":4,"./crc32":5,"./messages":7,"./trees":8}],7:[function(n,e,t){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],8:[function(n,e,t){"use strict";var i=n("../utils/common"),u=0,c=1;function r(n){for(var e=n.length;0<=--e;)n[e]=0}var o=0,a=29,s=256,f=s+1+a,d=30,l=19,g=2*f+1,p=15,h=16,v=7,m=256,y=16,w=17,b=18,E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],C=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],I=new Array(2*(f+2));r(I);var k=new Array(2*d);r(k);var x=new Array(512);r(x);var M=new Array(256);r(M);var R=new Array(a);r(R);var A,N,D,_=new Array(d);function O(n,e,t,r,i){this.static_tree=n,this.extra_bits=e,this.extra_base=t,this.elems=r,this.max_length=i,this.has_stree=n&&n.length}function L(n,e){this.dyn_tree=n,this.max_code=0,this.stat_desc=e}function F(n){return n<256?x[n]:x[256+(n>>>7)]}function P(n,e){n.pending_buf[n.pending++]=255&e,n.pending_buf[n.pending++]=e>>>8&255}function B(n,e,t){n.bi_valid>h-t?(n.bi_buf|=e<<n.bi_valid&65535,P(n,n.bi_buf),n.bi_buf=e>>h-n.bi_valid,n.bi_valid+=t-h):(n.bi_buf|=e<<n.bi_valid&65535,n.bi_valid+=t)}function j(n,e,t){B(n,t[2*e],t[2*e+1])}function U(n,e){for(var t=0;t|=1&n,n>>>=1,t<<=1,0<--e;);return t>>>1}function H(n,e,t){for(var r,i=new Array(p+1),o=0,a=1;a<=p;a++)i[a]=o=o+t[a-1]<<1;for(r=0;r<=e;r++){var u=n[2*r+1];0!==u&&(n[2*r]=U(i[u]++,u))}}function V(n){for(var e=0;e<f;e++)n.dyn_ltree[2*e]=0;for(e=0;e<d;e++)n.dyn_dtree[2*e]=0;for(e=0;e<l;e++)n.bl_tree[2*e]=0;n.dyn_ltree[2*m]=1,n.opt_len=n.static_len=0,n.last_lit=n.matches=0}function q(n){8<n.bi_valid?P(n,n.bi_buf):0<n.bi_valid&&(n.pending_buf[n.pending++]=n.bi_buf),n.bi_buf=0,n.bi_valid=0}function z(n,e,t,r){var i=2*e,o=2*t;return n[i]<n[o]||n[i]===n[o]&&r[e]<=r[t]}function W(n,e,t){for(var r=n.heap[t],i=t<<1;i<=n.heap_len&&(i<n.heap_len&&z(e,n.heap[i+1],n.heap[i],n.depth)&&i++,!z(e,r,n.heap[i],n.depth));)n.heap[t]=n.heap[i],t=i,i<<=1;n.heap[t]=r}function G(n,e,t){var r,i,o,a,u=0;if(0!==n.last_lit)for(;r=n.pending_buf[n.d_buf+2*u]<<8|n.pending_buf[n.d_buf+2*u+1],i=n.pending_buf[n.l_buf+u],u++,0==r?j(n,i,e):(j(n,(o=M[i])+s+1,e),0!==(a=E[o])&&B(n,i-=R[o],a),j(n,o=F(--r),t),0!==(a=C[o])&&B(n,r-=_[o],a)),u<n.last_lit;);j(n,m,e)}function X(n,e){var t,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,u=e.stat_desc.has_stree,c=e.stat_desc.elems,s=-1;for(n.heap_len=0,n.heap_max=g,t=0;t<c;t++)0!==o[2*t]?(n.heap[++n.heap_len]=s=t,n.depth[t]=0):o[2*t+1]=0;for(;n.heap_len<2;)o[2*(i=n.heap[++n.heap_len]=s<2?++s:0)]=1,n.depth[i]=0,n.opt_len--,u&&(n.static_len-=a[2*i+1]);for(e.max_code=s,t=n.heap_len>>1;1<=t;t--)W(n,o,t);for(i=c;t=n.heap[1],n.heap[1]=n.heap[n.heap_len--],W(n,o,1),r=n.heap[1],n.heap[--n.heap_max]=t,n.heap[--n.heap_max]=r,o[2*i]=o[2*t]+o[2*r],n.depth[i]=(n.depth[t]>=n.depth[r]?n.depth[t]:n.depth[r])+1,o[2*t+1]=o[2*r+1]=i,n.heap[1]=i++,W(n,o,1),2<=n.heap_len;);n.heap[--n.heap_max]=n.heap[1],function(n,e){for(var t,r,i,o,a,u=e.dyn_tree,c=e.max_code,s=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,l=e.stat_desc.extra_base,h=e.stat_desc.max_length,v=0,m=0;m<=p;m++)n.bl_count[m]=0;for(u[2*n.heap[n.heap_max]+1]=0,t=n.heap_max+1;t<g;t++)h<(m=u[2*u[2*(r=n.heap[t])+1]+1]+1)&&(m=h,v++),u[2*r+1]=m,c<r||(n.bl_count[m]++,o=0,l<=r&&(o=d[r-l]),a=u[2*r],n.opt_len+=a*(m+o),f&&(n.static_len+=a*(s[2*r+1]+o)));if(0!==v){do{for(m=h-1;0===n.bl_count[m];)m--}while(n.bl_count[m]--,n.bl_count[m+1]+=2,n.bl_count[h]--,0<(v-=2));for(m=h;0!==m;m--)for(r=n.bl_count[m];0!==r;)c<(i=n.heap[--t])||(u[2*i+1]!==m&&(n.opt_len+=(m-u[2*i+1])*u[2*i],u[2*i+1]=m),r--)}}(n,e),H(o,s,n.bl_count)}function J(n,e,t){var r,i,o=-1,a=e[1],u=0,c=7,s=4;for(0===a&&(c=138,s=3),e[2*(t+1)+1]=65535,r=0;r<=t;r++)i=a,a=e[2*(r+1)+1],++u<c&&i===a||(u<s?n.bl_tree[2*i]+=u:0!==i?(i!==o&&n.bl_tree[2*i]++,n.bl_tree[2*y]++):u<=10?n.bl_tree[2*w]++:n.bl_tree[2*b]++,o=i,s=(u=0)===a?(c=138,3):i===a?(c=6,3):(c=7,4))}function K(n,e,t){var r,i,o=-1,a=e[1],u=0,c=7,s=4;for(0===a&&(c=138,s=3),r=0;r<=t;r++)if(i=a,a=e[2*(r+1)+1],!(++u<c&&i===a)){if(u<s)for(;j(n,i,n.bl_tree),0!=--u;);else 0!==i?(i!==o&&(j(n,i,n.bl_tree),u--),j(n,y,n.bl_tree),B(n,u-3,2)):u<=10?(j(n,w,n.bl_tree),B(n,u-3,3)):(j(n,b,n.bl_tree),B(n,u-11,7));o=i,s=(u=0)===a?(c=138,3):i===a?(c=6,3):(c=7,4)}}r(_);var Q=!1;function Y(n,e,t,r){B(n,(o<<1)+(r?1:0),3),r=e,e=t,t=!0,q(n=n),t&&(P(n,e),P(n,~e)),i.arraySet(n.pending_buf,n.window,r,e,n.pending),n.pending+=e}t._tr_init=function(n){Q||(function(){for(var n,e,t,r=new Array(p+1),i=0,o=0;o<a-1;o++)for(R[o]=i,n=0;n<1<<E[o];n++)M[i++]=o;for(M[i-1]=o,o=t=0;o<16;o++)for(_[o]=t,n=0;n<1<<C[o];n++)x[t++]=o;for(t>>=7;o<d;o++)for(_[o]=t<<7,n=0;n<1<<C[o]-7;n++)x[256+t++]=o;for(e=0;e<=p;e++)r[e]=0;for(n=0;n<=143;)I[2*n+1]=8,n++,r[8]++;for(;n<=255;)I[2*n+1]=9,n++,r[9]++;for(;n<=279;)I[2*n+1]=7,n++,r[7]++;for(;n<=287;)I[2*n+1]=8,n++,r[8]++;for(H(I,f+1,r),n=0;n<d;n++)k[2*n+1]=5,k[2*n]=U(n,5);A=new O(I,E,s+1,f,p),N=new O(k,C,0,d,p),D=new O(new Array(0),S,0,l,v)}(),Q=!0),n.l_desc=new L(n.dyn_ltree,A),n.d_desc=new L(n.dyn_dtree,N),n.bl_desc=new L(n.bl_tree,D),n.bi_buf=0,n.bi_valid=0,V(n)},t._tr_stored_block=Y,t._tr_flush_block=function(n,e,t,r){var i,o,a=0;0<n.level?(2===n.strm.data_type&&(n.strm.data_type=function(n){for(var e=4093624447,t=0;t<=31;t++,e>>>=1)if(1&e&&0!==n.dyn_ltree[2*t])return u;if(0!==n.dyn_ltree[18]||0!==n.dyn_ltree[20]||0!==n.dyn_ltree[26])return c;for(t=32;t<s;t++)if(0!==n.dyn_ltree[2*t])return c;return u}(n)),X(n,n.l_desc),X(n,n.d_desc),a=function(n){var e;for(J(n,n.dyn_ltree,n.l_desc.max_code),J(n,n.dyn_dtree,n.d_desc.max_code),X(n,n.bl_desc),e=l-1;3<=e&&0===n.bl_tree[2*T[e]+1];e--);return n.opt_len+=3*(e+1)+5+5+4,e}(n),i=n.opt_len+3+7>>>3,(o=n.static_len+3+7>>>3)<=i&&(i=o)):i=o=t+5,t+4<=i&&-1!==e?Y(n,e,t,r):4===n.strategy||o===i?(B(n,2+(r?1:0),3),G(n,I,k)):(B(n,4+(r?1:0),3),function(n,e,t,r){var i;for(B(n,e-257,5),B(n,t-1,5),B(n,r-4,4),i=0;i<r;i++)B(n,n.bl_tree[2*T[i]+1],3);K(n,n.dyn_ltree,e-1),K(n,n.dyn_dtree,t-1)}(n,n.l_desc.max_code+1,n.d_desc.max_code+1,a+1),G(n,n.dyn_ltree,n.dyn_dtree)),V(n),r&&q(n)},t._tr_tally=function(n,e,t){return n.pending_buf[n.d_buf+2*n.last_lit]=e>>>8&255,n.pending_buf[n.d_buf+2*n.last_lit+1]=255&e,n.pending_buf[n.l_buf+n.last_lit]=255&t,n.last_lit++,0===e?n.dyn_ltree[2*t]++:(n.matches++,e--,n.dyn_ltree[2*(M[t]+s+1)]++,n.dyn_dtree[2*F(e)]++),n.last_lit===n.lit_bufsize-1},t._tr_align=function(n){B(n,2,3),j(n,m,I),16===(n=n).bi_valid?(P(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):8<=n.bi_valid&&(n.pending_buf[n.pending++]=255&n.bi_buf,n.bi_buf>>=8,n.bi_valid-=8)}},{"../utils/common":2}],9:[function(n,e,t){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[1])(1)}(),function(e,n){"use strict";function t(n){var e=n.charCodeAt(0);return e<128?n:e<2048?l(192|e>>>6)+l(128|63&e):l(224|e>>>12&15)+l(128|e>>>6&63)+l(128|63&e)}function r(n){return n.replace(/[^\x00-\x7F]/g,t)}function i(n){var e=[0,2,1][n.length%3],n=n.charCodeAt(0)<<16|(1<n.length?n.charCodeAt(1):0)<<8|(2<n.length?n.charCodeAt(2):0);return[f.charAt(n>>>18),f.charAt(n>>>12&63),2<=e?"=":f.charAt(n>>>6&63),1<=e?"=":f.charAt(63&n)].join("")}function o(n){return h(r(n))}function a(n,e){return e?o(n).replace(/[+\/]/g,function(n){return"+"==n?"-":"_"}):o(n)}function u(n){return l(n.length<3?(31&n.charCodeAt(0))<<6|63&n.charCodeAt(1):(15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2))}function c(n){return n.replace(m,u)}function s(n){return n=n.replace(/[-_]/g,function(n){return"-"==n?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""),c(v(n))}var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=function(n){for(var e={},t=0,r=n.length;t<r;t++)e[n.charAt(t)]=t;return e}(f),l=String.fromCharCode,h="function"==typeof e.btoa?function(n){return e.btoa(n)}:function(n){return n.replace(/[\s\S]{1,3}/g,i)},v="function"==typeof e.atob?function(n){return e.atob(n)}:function(n){return n.replace(/[\s\S]{1,4}/g,g)},m=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}/g,g=function(n){var e=n.length,t=e%4,n=(0<e?d[n.charAt(0)]<<18:0)|(1<e?d[n.charAt(1)]<<12:0)|(2<e?d[n.charAt(2)]<<6:0)|(3<e?d[n.charAt(3)]:0),n=[l(n>>>16),l(n>>>8&255),l(255&n)];return n.length-=[0,0,2,1][t],n.join("")};n.Base64={atob:v,btoa:h,fromBase64:s,toBase64:a,bytesToBase64:function(n){for(var e,t="",r=0;r<n.length;r+=3)e=(252&n[r])>>2,t+=f.charAt(e),e=(3&n[r])<<4,r+1<n.length?(e|=(240&n[r+1])>>4,t+=f.charAt(e),e=(15&n[r+1])<<2,r+2<n.length?(e|=(192&n[r+2])>>6,t+=f.charAt(e),e=63&n[r+2],t+=f.charAt(e)):(t+=f.charAt(e),t+="=")):(t+=f.charAt(e),t+="==");return t},utob:r,encode:a,encodeURI:function(n){return a(n,!0)},btou:c,decode:s}}(self,void 0!==q?q:{}),void 0!==n&&(m=Be(H)),je.prototype={toJSON:function(){if(!(this instanceof je))throw new Error("Illegal invocation");return Ue(this,this)}},He.prototype=(h=Object.create(je.prototype),He.prototype.constructor=He,h.toString=function(){return this.type},h.setExtraInfo=function(n,e){E.isUndefined(e)||(this.extraInfo[n]=e)},h.getExtraInfo=function(n){if(E.isUndefined(this.extraInfo))return null;n=this.extraInfo[n];return void 0===n?null:n},h.setDebugInfo=function(n){E.isUndefined(this.debugInfo)&&(this.debugInfo={}),this.debugInfo=n},h.getDebugInfo=function(){return this.debugInfo},h.getSubPage=function(){return this.subPage},h.addHybridActionDataItem=function(n,e){E.isUndefined(e)?logger.error("Failed setting value for hybrid action data item: "+n+". Value is undefined"):(E.isUndefined(this.hybridActionData)&&(this.hybridActionData={}),this.hybridActionData[n]=e)},h.getdHybridActionData=function(){return this.hybridActionData},h.nextId=1,h),He.fromJSON=function(n){return n.constructor=He,Object.setPrototypeOf(n,He.prototype),n},He.prototype.FOCUS_TIME_ATTR="focusTime",He.prototype.AUTO_COMPLETE_ATTR="autoComplete",He.prototype.VISUAL_NAME="visualName",He.prototype.PAGE_NAME="pageName",He.prototype.WINDOW_DEPTH="windowDepth",He.prototype.CONTAINER_ID="containerId",He.prototype.PARENT_PAGE_ID="parentPageId",He.prototype.HISTORY_LENGTH="historyLen",He.prototype.TIME_SINCE_LAST_EVENT="timeSinceLastIdle",He.prototype.COORDINATE_ATTR="coordinate",He.prototype.SCROLL_REACH="scrollReach",He.prototype.MOVES_TRUNCATED="truncated",He.prototype.LOST_EVENTS_NUM="lostEvents",He.prototype.TP_INTEGRATION_TYPE="tpIntegrationType",He.prototype.EXTERNAL_ID="externalId",He.prototype.SYNC_COORDINATE="syncCoordinates",He.prototype.RAGE_SEQUENCE="rageSequence",He.prototype.INDEX_IN_RAGE="indexInRage",He.prototype.ZOOM="zoom",He.prototype.MOBILE_HYBRID_ID="mobileHybridId",He.prototype.DETECTOR_CONFIG_ID="detectorCfg",He.prototype.AUTO_MASKING="autoMasking",He.prototype.SCROLL_DEBOUNCED="scrollDebounced",He.prototype.HOST_SELECTOR_PATH="hostSelectorPath",He.prototype.SNAPSHOT_FUSE="snapshotFuse",He.prototype.EFFECTIVE_CONNECTION_TYPE="ect",He.prototype.RTT="rtt",He.prototype.PROVIDER_NAME="providerName",He.prototype.METADATA_ONLY="MetaDataOnly",He.prototype.IS_FIRST_CLICK="isFirstClick",He.prototype.IS_CLICKABLE="isClickable",He.prototype.SELECTOR_ACTION_COUNT="selectorActionCount",He.prototype.EVENT_ID="eventId",He.prototype.DEBUG_UNCONFIRMED_BEACONS="unconfirmedBeacons",He.prototype.FINAL_CANCELLATION="finalCancellation",He.prototype.ABORT_ON_TIMEOUT="abortOnTimeout",He.prototype.DEBUG_STORAGE_PENDING="storagePendingBeacons",He.prototype.FAIL_REQUEST_STATUS="failedWithStatus",He.prototype.FAILED_STORAGE_FLUSH_BEACONS="failedStorageFlushBeacons",He.prototype.STORAGE_SIZE_EXCEED="storageSizeExceed",He.prototype.FAILED_SEND_FROM_STORAGE="failedSendFromStorage",He.prototype.SENDING_FROM_STORAGE="sendingFromStorage",He.prototype.RETRIED="failed",He.prototype.DEVTOOLS_VALUES="devToolsValues",He.prototype.DEBUG_PAGE_SN="pageSn",He.prototype.DEBUG_BROWSER_TAB_ID="browserTabId",He.prototype.USING_WORKER="usingWorker",He.prototype.NAVIGATION_TIMING="navigationTiming",He.prototype.CURRENT_VALUE="currentValue",He.prototype.OLD_VALUE="oldValue",He.prototype.ERROR_DATA="errorData",void 0!==m&&(He.prototype.extraInfoAttrs=[{name:He.prototype.FOCUS_TIME_ATTR,encodeName:"ft",encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.AUTO_COMPLETE_ATTR,encodeName:"ac",encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.VISUAL_NAME,encodeName:"vn",encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.PAGE_NAME,encodeName:He.prototype.PAGE_NAME,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.WINDOW_DEPTH,encodeName:He.prototype.WINDOW_DEPTH,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.CONTAINER_ID,encodeName:He.prototype.CONTAINER_ID,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.PARENT_PAGE_ID,encodeName:He.prototype.PARENT_PAGE_ID,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.HISTORY_LENGTH,encodeName:He.prototype.HISTORY_LENGTH,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.TIME_SINCE_LAST_EVENT,encodeName:"tl",encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.COORDINATE_ATTR,encodeName:"co",encodeFunc:m.encodeCoordinate64,encodeCode:R.dictionary.encodeEncodingType("cd_coordinate")},{name:He.prototype.SCROLL_REACH,encodeName:"sr",encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.MOVES_TRUNCATED,encodeName:"tr",encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.LOST_EVENTS_NUM,encodeName:"le",encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.TP_INTEGRATION_TYPE,encodeName:"tp",encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.EXTERNAL_ID,encodeName:"ei",encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.SYNC_COORDINATE,encodeName:"sy",encodeFunc:m.encodeCoordinate64,encodeCode:R.dictionary.encodeEncodingType("cd_coordinate")},{name:He.prototype.RAGE_SEQUENCE,encodeName:He.prototype.RAGE_SEQUENCE,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.INDEX_IN_RAGE,encodeName:He.prototype.INDEX_IN_RAGE,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.ZOOM,encodeName:"zo",encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.MOBILE_HYBRID_ID,encodeName:He.prototype.MOBILE_HYBRID_ID,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.DETECTOR_CONFIG_ID,encodeName:He.prototype.DETECTOR_CONFIG_ID,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.AUTO_MASKING,encodeName:He.prototype.AUTO_MASKING,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.SCROLL_DEBOUNCED,encodeName:He.prototype.SCROLL_DEBOUNCED,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.HOST_SELECTOR_PATH,encodeName:He.prototype.HOST_SELECTOR_PATH,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.SELECTOR_ACTION_COUNT,encodeName:He.prototype.SELECTOR_ACTION_COUNT,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.EVENT_ID,encodeName:He.prototype.EVENT_ID,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.DEBUG_UNCONFIRMED_BEACONS,encodeName:He.prototype.DEBUG_UNCONFIRMED_BEACONS,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.FINAL_CANCELLATION,encodeName:He.prototype.FINAL_CANCELLATION,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.ABORT_ON_TIMEOUT,encodeName:He.prototype.ABORT_ON_TIMEOUT,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.DEBUG_STORAGE_PENDING,encodeName:He.prototype.DEBUG_STORAGE_PENDING,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.FAIL_REQUEST_STATUS,encodeName:He.prototype.FAIL_REQUEST_STATUS,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.FAILED_STORAGE_FLUSH_BEACONS,encodeName:He.prototype.FAILED_STORAGE_FLUSH_BEACONS,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.STORAGE_SIZE_EXCEED,encodeName:He.prototype.STORAGE_SIZE_EXCEED,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.FAILED_SEND_FROM_STORAGE,encodeName:He.prototype.FAILED_SEND_FROM_STORAGE,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.SENDING_FROM_STORAGE,encodeName:He.prototype.SENDING_FROM_STORAGE,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.RETRIED,encodeName:He.prototype.RETRIED,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.DEVTOOLS_VALUES,encodeName:He.prototype.DEVTOOLS_VALUES,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.DEBUG_PAGE_SN,encodeName:He.prototype.DEBUG_PAGE_SN,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.DEBUG_BROWSER_TAB_ID,encodeName:He.prototype.DEBUG_BROWSER_TAB_ID,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.USING_WORKER,encodeName:He.prototype.USING_WORKER,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.NAVIGATION_TIMING,encodeName:He.prototype.NAVIGATION_TIMING,encodeFunc:m.encodeNavigationTiming.gbBind(null,"_"),encodeCode:R.dictionary.encodeEncodingType("cd_navtiming")},{name:He.prototype.OLD_VALUE,encodeName:He.prototype.OLD_VALUE,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.CURRENT_VALUE,encodeName:He.prototype.CURRENT_VALUE,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.SNAPSHOT_FUSE,encodeName:He.prototype.SNAPSHOT_FUSE,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.EFFECTIVE_CONNECTION_TYPE,encodeName:He.prototype.EFFECTIVE_CONNECTION_TYPE,encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.RTT,encodeName:He.prototype.RTT,encodeFunc:m.encodeNumber,encodeCode:R.dictionary.encodeEncodingType("cd_number")},{name:He.prototype.PROVIDER_NAME,encodeName:"pn",encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.ERROR_DATA,encodeName:"ed",encodeFunc:m.encodeString,encodeCode:R.dictionary.encodeEncodingType("cd_string")},{name:He.prototype.METADATA_ONLY,encodeName:He.prototype.METADATA_ONLY,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.IS_FIRST_CLICK,encodeName:He.prototype.IS_FIRST_CLICK,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")},{name:He.prototype.IS_CLICKABLE,encodeName:He.prototype.IS_CLICKABLE,encodeFunc:m.encodeBoolean,encodeCode:R.dictionary.encodeEncodingType("cd_boolean")}]),Ve.prototype=(h=Object.create(je.prototype),Ve.prototype.constructor=Ve,h.toString=function(){return"EventSet {id:"+this.id+" Events:"+this.events.length+"}"},h),Ve.fromJSON=function(n){return n.constructor=Ve,Object.setPrototypeOf(n,Ve.prototype),n.events.forEach(function(n){He.fromJSON(n)}),n},Ve.reduceByMetadata=function(n){for(var e,t=1,r={},i=0;i<n.length;i++)n[i].metadata._id=n[i].metadata._id||t++,r[e=n[i].metadata._id]?Array.prototype.push.apply(r[e].events,n[i].events):r[e]=n[i];var o=[];for(e in r)r.hasOwnProperty(e)&&o.push(r[e]);return o},void 0!==n&&(v=function(n,o){var e;if("string"==typeof(n="object"==typeof n.glassboxMobileBridge&&"function"==typeof n.glassboxMobileBridge.getContext?n.glassboxMobileBridge.getContext():U))try{e=JSON.parse(n)}catch(n){}return{sessionId:(e=e||{}).sessionId,config:e.config||{},override:function(n,e,t){var r=n,i=e,e="reportURI";return"mobileReportURI"!==n&&e!==n||(t=t[e])!==U&&(r=e,e=o.extractOrigin(t),t=0===i.indexOf("http")?o.extractPath(i):i,i=e.concat(t)),{key:r,value:i}}}}(n,q)),ze.prototype.add=function(n,e){return this._updates.push({ref:e,update:n}),this},qe.INITIAL_COMPRESSION_FACTOR=.25,qe.MINIMAL_COMPRESSION_FACTOR=.05,(g={idle:"encodeNumber",document:"encodePageDetails",segmentChanged:"encodeSegmentChanged",lastSegment:"encodeSegmentChanged",pageSnapshot:"encodePageSnapshotData",devToolsVisibilityChanged:"encodeBoolean",webStruggle:"encodeStruggles",ajaxRequest:"encodeAjaxRequest",ajaxStats:"encodeJson",hover:"encodeHoverEvent",custom:"encodeKeyValue",customMap:"encodeNameKVMap",thirdpartymap:"encodeKVMap",thirdPartyAttribute:"encodeThirdPartyAttributes",abTesting:"encodeABTesting",resourceContent:"encodeResourceContent",clientAttribute:"encodeKeyValue",resourcesWaterfall:"encodeJson",performance:"encodePerformanceTimings",webVitals:"encodeString",timing:"encodeTimings",resize:"encodeResize",submit:"encodeHashCode",touchmove:"encodeClickDetails",touchend:"encodeClickDetails",drag:"encodeClickDetails",mousemove:"encodeMouseMove",mouseover:"encodeHoverEvent",scroll:"encodeCoordinate",scrollReach:"encodeScrollReach",keydown:"encodeKeyEvent",keypress:"encodeKeyEvent",voc:"encodeJson"})[R.mouseEvents.up]="encodeClickDetails",Xe.COMPRESSED_INDICATION_CHARSET="ISO-8859-15",Xe.MINIMAL_COMPRESSION_FACTOR=.05,e?Ke(n,i):(p=",",void 0!==R&&R.detectorScript&&(p=R.detectorScript.getAttribute("data-clsarraydelim")||p),y=function(n,e){if("TRUE"===n.toUpperCase())return!0;if("FALSE"===n.toUpperCase())return!1;throw"cannot parse boolean from '"+n+"'"},w=function(n){var e=(-1===n.indexOf(".")?parseInt:parseFloat)(n);if(isNaN(e))throw"cannot parse number from '"+n+"'";return e},b=function(n){return n},C=function(n){return null==n?[]:n.split(p)},S=function(n){return(Array.isArray?Array.isArray(n):n instanceof Array)?null:"array is expected"},T=function(n,e){for(var t=0;t<e.length;t++)if(typeof e[t]!==n)return"array element type mismatch. expected:"+n+" actual:"+typeof e[t];return null},I=function(){var r=arguments;return function(n){for(var e=0;e<r.length;e++){var t=r[e](n);if(null!=t)return t}return null}},Qe.prototype.ignore=function(n){this[n.toLowerCase()]={name:n,ignore:!0}},k={options:{caseSensitive:!0,errorOnUnknown:!(Qe.newBuilder=function(){var t=new Qe;return{bool:function(n,e){return t.add("boolean",!1,y,null,n,e),this},num:function(n,e){return t.add("number",!1,w,null,n,e),this},str:function(n,e){return t.add("string",!0,b,null,n,e),this},strarray:function(n,e){return t.add("object",!0,C,I(S,function(n){return T("string",n)}),n,e),this},objarray:function(n,e){return t.add("object",!0,C,I(S,function(n){return T("object",n)}),n,e),this},ignore:function(n){return t.ignore(n),this},build:function(){return t}}})},validate:function(n,e){var t=new Ye;if(this.parsingError)return t.addError(k.parsingError),t;e=e||{};var r,i,o,a,u=n.requiredFieldsMask();for(r in e)e.hasOwnProperty(r)&&((i=n[r.toLowerCase()])?i.ignore||(i.name!==r&&k.options.caseSensitive?(t.addError("unknown configuration field (did you mean '"+i.name+"'?).",r),delete u[i.name]):null!==(o=e[r])&&o!==U?typeof o===i.type?(i.required&&delete u[i.name],!i.validator||(a=i.validator(o))&&t.addError("value violation, "+a,r)):t.addError("value type mismatch. expected:"+i.type+" actual:"+typeof o,r):i.nullable||t.addError("value cannot be null, value of "+i.type+" type is expected.",r)):(k.options.errorOnUnknown?t.addError:t.addWarning).call(t,"unknown configuration field",r));for(r in u)u.hasOwnProperty(r)&&t.addError("missing required field",r);return t},onParsingError:function(n){k.parsingError=n}},Ye.prototype.addError=function(n,e){this.errors.push({field:e,reason:n})},Ye.prototype.addWarning=function(n,e){this.warnings.push({field:e,reason:n})},Ye.prototype.toString=function(){function n(n){var e="",t=0;return t<n.length?e+("\n"+(n[t].field?"'"+n[t].field+"': ":"")+n[t].reason):e}var e="\n"+this.errors.length+" error(s):";return e+=n(this.errors),e+="\n"+this.warnings.length+" warning(s):",e+=n(this.warnings)},e=function(n,e,t,r,i){function o(n){return"function"!=typeof String.prototype.trim?n.replace(/^\s+|\s+$/g,""):n.trim()}n=n||{};for(var a=null!=t?t.split(e):[],u=0;u<a.length;u++){var c=a[u].split("=");if(2===c.length){var s,f=o(c[0]),d=o(c[1]),c=n[f.toLowerCase()];(!c||void 0===(s=c.parser))&&(s=b);try{r[f]=s(d)}catch(n){i&&i("'"+f+"': "+n)}}}},x=Qe.newBuilder().ignore("injectionTime").ignore("visualName").ignore("detectionScriptURI").str("reportURI",!0).str("configPath",!1).bool("recordMouseMoves",!1).bool("recordScrolls",!1).bool("recordScrollReach",!1).bool("recordErrors",!1).bool("reportValidationErrors",!1).bool("domFormValidationTracking",!1).num("domFormValidationRedComponentMin",!1).num("domFormValidationRedComponentDelta",!1).strarray("domFormValidationSubmissionIds",!1).strarray("domFormValidationIgnorableText",!1).strarray("domFormValidationAdditionalTagNames",!1).strarray("domFormValidationIgnorableTags",!1).strarray("domFormValidationIgnorePagesPredicates",!1).strarray("domFormValidationCheckUrls",!1).strarray("domFormValidationTitlesToCheck",!1).num("idleEventTimeInterval",!1).bool("botDetection",!1).bool("recordHovers",!1).bool("reportByPost",!1).num("maxPostReportSize",!1).num("reportPostInterval",!1).bool("reportPostRetry",!1).num("reportMaxRetries",!1).num("reportAbortAfter",!1).bool("reportUseWorker",!1).bool("DOMBeaconImg",!1).num("reportInterval",!1).num("maxReportSize",!1).strarray("maskList",!1).strarray("maskWhitelistValueById",!1).strarray("maskBlacklistValueById",!1).strarray("maskClassList",!1).strarray("maskWhitelistValueByClass",!1).strarray("maskBlacklistValueByClass",!1).strarray("valueWhitelistMaskSimpleSelector",!1).strarray("valueBlacklistMaskSimpleSelector",!1).str("valueMaskIgnoreAttribute",!1).bool("maskTitle",!1).strarray("encryptionList",!1).strarray("encryptionClassList",!1).strarray("valueEncryptById",!1).strarray("valueEncryptByClass",!1).str("externalIdAttr",!1).str("valueMaskingCharNumericLike",!1).str("valueMaskingCharNumeric",!1).strarray("valueMaskByCategories",!1).bool("useIdSelectors",!1).bool("useNameInFormSelectors",!1).bool("preferNamesInFormSelectors",!1).strarray("noIdSelectorsForClassNames",!1).strarray("noIdSelectorsForIDs",!1).strarray("noIdSelectorsForAttrs",!1).bool("noMetaTagInSelector",!1).bool("SCIntegration",!1).strarray("SCIntegrationURLsContainList",!1).strarray("SCIntegrationKeyList",!1).bool("interceptThirdPartyAttributes",!1).bool("interceptABTesting",!1).str("abTestingGlobalObject",!1).bool("enableOptimizelyIntegration",!1).bool("optimizelyCheckOnSegmentLoad",!1).str("optimizelyUrl",!1).bool("enableAdobeAnalyticsIntegration",!1).str("adobeRsid",!1).str("adobeEVarNumber",!1).num("adobeAPIMaxAttempts",!1).bool("enableGoogleAnalyticsIntegration",!1).num("googleDimensionIndex",!1).str("googleMeasurementId",!1).num("googleAPIMaxAttempts",!1).bool("reportAllResourcesLoad",!1).bool("reportExternalResources",!1).strarray("ignoreReportResourcesByTagNames",!1).num("reportMaxConcurrency",!1).num("reportTimingBetweenBeacons",!1).str("externalReporterObject",!1).bool("debugMode",!1).bool("traceMode",!1).bool("suppressMouseMovesDebug",!1).bool("visualNameDebug",!1).bool("timingMode",!1).num("minDragPixels",!1).bool("reportVisualNames",!1).num("titleCharsLimit",!1).num("maxTimeForIdleEvent",!1).num("validationValueForRenderTime",!1).bool("reportDebugInfo",!1).str("externalIdByClassesOnPrefix",!1).bool("supportNativeAutoComplete",!1).bool("recordEnterForInputs",!1).bool("recordTypingAll",!1).strarray("recordTypingForAttrs",!1).strarray("recordTypingForClasses",!1).strarray("recordTypingForIDs",!1).num("mmMaxMovesWithUnload",!1).num("mmMaxMovesInEventNoTimes",!1).num("mmMaxMovesInEventWithTimes",!1).num("mmMinStallingMoveTime",!1).num("mmMaxInMemoryMoves",!1).bool("mmDebug",!1).num("mhDeepLevel",!1).num("mhMaxListSize",!1).num("mhMaxInMemeoryHovers",!1).bool("mhDebug",!1).num("minStallingScrollTime",!1).bool("scrollDebug",!1).bool("clsDebug",!1).num("clsDebugCharsLimit",!1).num("clsDebugMaxReports",!1).bool("domRecordEnabled",!1).bool("recordShadowDom",!1).strarray("domNewPageTriggers",!1).strarray("pageSnapshotTriggers",!1).num("domStartAfter",!1).strarray("snapshotImmediatePages",!1).num("domUpdateEveryWsMsgIn",!1).bool("domForceUpdateOnClick",!1).num("domRecordEnabledByChance",!1).str("domReportURI",!1).bool("domCompress",!1).strarray("domNewPageAjaxTriggers",!1).strarray("domIgnoredFormElements",!1).bool("domIncludeSelectorOnUpdate",!1).bool("semiDomEnabled",!1).bool("domRecordCssRules",!1).strarray("domCompressRepetitiveElements",!1).bool("recordAnimation",!1).bool("domPreciseStyleSheetCloning",!1).bool("domThrottleChanges",!1).strarray("ignorableElementIds",!1).bool("recordAjaxCallsAnyway",!1).bool("truncateEventsWithUnload",!1).bool("mmRecordTimes",!1).num("mmDiluteMinPixels",!1).bool("reportHybrid",!1).str("customTLD",!1).num("enabledByChance",!1).strarray("domCloningBannedIds",!1).strarray("domCloningBannedClasses",!1).str("reportEncoding",!1).bool("reportCompress",!1).bool("cordovaSdkReporting",!1).str("maskingMode",!1).str("valueMaskingMode",!1).str("domMaskingMode",!1).str("encryptionMode",!1).str("valueEncryptionMode",!1).strarray("reportAddUriParams",!1).bool("recordConsoleErrors",!1).strarray("domMaskContentById",!1).strarray("domBlacklistMaskContentById",!1).strarray("domWhitelistMaskContentById",!1).strarray("domMaskContentByClass",!1).strarray("domBlacklistMaskContentByClass",!1).strarray("domWhitelistMaskContentByClass",!1).strarray("domOmitById",!1).strarray("domOmitByClass",!1).strarray("domOmitObjectElementsByType",!1).strarray("domMaskOmitById",!1).strarray("domMaskOmitByClass",!1).strarray("domIgnoreChangesById",!1).strarray("domIgnoreChangesByClass",!1).strarray("domMaskedAttributes",!1).bool("domMaskDataAttributes",!1).strarray("domMaskAttributesByTag",!1).str("domMaskIgnoreAttribute",!1).strarray("domMaskSimpleSelector",!1).strarray("domBlacklistMaskSimpleSelector",!1).strarray("domWhitelistMaskSimpleSelector",!1).strarray("tagsToCheckLength",!1).num("tagMaxLength",!1).strarray("domEncryptById",!1).strarray("domEncryptByClass",!1).str("encryptionPublicKey",!1).str("encryptionKeyId",!1).num("encryptionTimeout",!1).bool("reportPreferSendBeaconAPI",!1).bool("domKeepComments",!1).str("domKeepScriptMatching",!1).num("domExpireSnapshotAfter",!1).bool("reportCorsForceSafelistedHeaders",!1).bool("reportDisableCors",!1).bool("enableSessionizingByCors",!1).strarray("reportCorsTakeNativeCookies",!1).str("clsByNativeCookie",!1).num("visitorDaysToExpiration",!1).bool("resetCorsOnNativeCookieChange",!1).strarray("maskCookies",!1).strarray("maskQueryParameters",!1).strarray("maskUrlPath",!1).strarray("reportStorageBackedForUA",!1).bool("reportViaTopWindow",!1).bool("reportAddUriParamAPI",!1).bool("storageBackedReporting",!1).bool("externalReporting",!1).bool("domOmitAfterUnload",!1).bool("duplicateIdCheck",!1).strarray("domPartialWhenLocationContains",!1).strarray("domFilterAttributes",!1).strarray("domIgnoreAttributes",!1).strarray("blackoutWhenLocationContains",!1).bool("iframesAutoInject",!1).str("iframesAutoInjectMode",!1).bool("iframesRecordEnabled",!1).bool("framesetRecordEnabled",!1).str("iframesParentOrigin",!1).num("iframesHandshakeTimeout",!1).bool("iframesDebugEnabled",!1).bool("iframesSkipHidden",!1).bool("iframesDisableNotifications",!1).bool("iframesDirectChannel",!1).strarray("iframesDirectChannelWhenUriContains",!1).strarray("iframesSkipWhenLocationContains",!1).strarray("iframesBlackoutWhenLocationContains",!1).bool("blackoutIdleReporting",!1).bool("reportIncludeReferrer",!1).str("mobileHybridId",!1).bool("interceptAjax",!1).bool("ajaxDebug",!1).bool("ajaxHashRecurrentUrls",!1).str("ajaxRecordMetadata",!1).str("ajaxRecordResponseBody",!1).str("ajaxRecordResponseHeaders",!1).str("ajaxRecordRequestBody",!1).str("ajaxRecordRequestHeaders",!1).str("ajaxRecordStats",!1).strarray("ajaxStatsQueryParams",!1).num("ajaxRecordSessionLimit",!1).bool("ajaxCaptureRequestCookie",!1).objarray("ajaxMaskRequestBody",!1).objarray("ajaxMaskResponseBody",!1).bool("reportCreateSubSessionCookie",!1).bool("resourcesRecordEnabled",!1).bool("resourceRecordCssOnly",!1).bool("resourcesRecordAllowCors",!1).num("resourcesRecordCount",!1).num("resourcesRecordChance",!1).bool("electResourcesOnClear",!1).strarray("resourceIgnoreWhenUrlContains",!1).bool("resourceTimingRecordEnabled",!1).num("resourceTimingRecordEnabledByChance",!1).bool("webVitalsRecordEnabled",!1).bool("resourceTimingRecordAjax",!1).num("resourceBufferCheckTime",!1).num("maxResourcesBeforeFlush",!1).num("resourceBufferIncreaseBy",!1).bool("isCheckResourceBuffer",!1).bool("clientAttributesEnabled",!1).num("clientAttributeMaxLength",!1).bool("domIE11ForceMutationObserver",!1).str("detectorTagId",!1).bool("cookieAssignFQDN",!1).num("cookieTLDSegmentCount",!1).bool("enableSecureCookie",!1).str("sessionIdByQueryParam",!1).str("visitorIdByQueryParam",!1).str("domIdentifyingAttribute",!1).bool("sendStateInfo",!1).num("debounceScrolls",!1).bool("domHashTokens",!1).bool("ccAutoMask",!1).bool("ccAutoMaskByContent",!1).strarray("ccAutoMaskFields",!1).num("ccAutoMaskKeepLastDigits",!1).bool("ccForceMaskContainer",!1).str("domTokenizationVersion",!1).strarray("captureGlobalObjects",!1).bool("captureGlobalObjectsEmptyStrings",!1).bool("captureGlobalObjectsOnSegmentChange",!1).bool("domIEForceStyleCopyByRules",!1).bool("domFormValidationAllowFormLevel",!1).strarray("segmentationTriggerBySimpleSelector",!1).strarray("segmentationLabelBySimpleSelector",!1).str("segmentationLabelByAttribute",!1).str("segmentationTitleByAttribute",!1).str("segmentationPrefix",!1).str("segmentationIgnoreWhenLocationContains",!1).bool("segmentationParallelMechanism",!1).str("segmentationInitialLabelSelector",!1).bool("segmentationForceTryEnterSegment",!1).bool("recordSpaLoadTime",!1).bool("collectStruggles",!1).bool("collectFormStruggles",!1).num("struggleMaxLongFocusTime",!1).num("struggleRageClickInterval",!1).num("struggleRageClickMinCount",!1).strarray("struggleRageClickIgnoreBySelector",!1).strarray("struggleDeadClickIgnoreBySelector",!1).strarray("struggleDeadClickIgnoreByTagNames",!1).bool("struggleCaptureDeadClick",!1).num("struggleDeadClickInterval",!1).bool("struggleCaptureErrorClick",!1).num("struggleErrorClickInterval",!1).bool("struggleCaptureAjaxErrors",!1).bool("struggleCaptureHorizontalScrollbar",!1).bool("struggleCaptureBlankPage",!1).bool("domTamperingDetectionEnabled",!1).num("domTamperingGraceTime",!1).strarray("domTamperingIgnorePages",!1).strarray("domTamperingIgnorableTags",!1).bool("devToolsDetectionEnabled",!1).str("devToolsDetectionMessage",!1).bool("domThrottleChanges",!1).bool("domThrottleChangesIE11Only",!1).num("visualNameLimit",!1).num("maxRecordedCountPerError",!1).bool("useExtension",!1).str("forceRenderingFixForUA",!1).bool("pageNameResolvingEnabled",!1).strarray("pageNameResolvingByElements",!1).num("domFuseDuration",!1).num("domFuseElementCount",!1).num("domFuseDurationIE",!1).num("domFuseElementCountIE",!1).strarray("removeBase64ImageDataTagNames",!1).num("delayDomMutationEvent",!1).bool("enableAdoptedCss",!1).bool("checkForHtmlOnly",!1).strarray("snapshotWaitForElement",!1).bool("snapshotWaitForElementMustShown",!1).strarray("allowWaitForElementsUrls",!1).num("delaySnapshotAfterElementFound",!1).num("waitForElementTime",!1).num("minAreaTocountElementAsShown",!1).bool("checkVisibility",!1).num("reTakeSnapshotAfterTime",!1).str("gbconsoledomain",!1).bool("collectVoc",!1).ignore("vocObjectMap").bool("collectUsabillaVoc",!1).bool("waitForUsabillaObj",!1).str("interceptUsabillaUrl",!1).bool("decodeUri",!1).bool("decodUri",!1).bool("isDetectorDom",!1).bool("enableSessionCamApi",!1).bool("enableEncodeSnapshotReferrer",!1).bool("passTabIdViaWinName",!1).num("infiniteScrollDetectionWaitTime",!1).num("infiniteScrollDetectionGrowElementsCount",!1).num("infiniteScrollDetectionGrowPixels",!1).build(),R.detectorScript&&(Qn=R.detectorScript.getAttribute("data-clsdelim")||";",(P=R.detectorScript.getAttribute("data-clsconfig"))&&e(x,Qn,P,H,k.onParsingError)),Qn=window._cls_config||window._config||{},Ze(H,Qn),Ze(H,window._cls_config_forced),(H.maskingMode||nt(H.domMaskContentById,H.domMaskContentByClass,H.domMaskSimpleSelector,H.maskList,H.maskClassList))&&(nt(H.domBlacklistMaskContentById,H.domWhitelistMaskContentById,H.domBlacklistMaskContentByClass,H.domWhitelistMaskContentByClass,H.domBlacklistMaskSimpleSelector,H.domWhitelistMaskSimpleSelector,H.maskBlacklistValueById,H.maskWhitelistValueById,H.maskBlacklistValueByClass,H.maskWhitelistValueByClass)&&(q.isIE()?console.log("Bad mixed configuration combination, old and new masking configuration!"):console.log("%c Bad mixed configuration combination, old and new masking configuration!","color: white; background: red"),H.isMixMasking=!0),H.valueMaskingMode=H.maskingMode||H.valueMaskingMode||R.censorMode.BlackList,H.domBlacklistMaskContentById=H.domMaskContentById||[],H.domWhitelistMaskContentById=H.domMaskContentById||[],H.domBlacklistMaskContentByClass=H.domMaskContentByClass||[],H.domWhitelistMaskContentByClass=H.domMaskContentByClass||[],H.domBlacklistMaskSimpleSelector=H.domMaskSimpleSelector||[],H.domWhitelistMaskSimpleSelector=H.domMaskSimpleSelector||[],H.maskBlacklistValueById=H.maskList||[],H.maskWhitelistValueById=H.maskList||[],H.maskBlacklistValueByClass=H.maskClassList||[],H.maskWhitelistValueByClass=H.maskClassList||[]),H.valueMaskingMode=H.valueMaskingMode||R.censorMode.WhiteList,H.domPreciseStyleSheetCloning=H.domPreciseStyleSheetCloning||!!H.domIEForceStyleCopyByRules,H.reportPostRetry=H.reportPostRetry||!!H.postRetry,(H.encryptionMode||nt(H.encryptionList,H.encryptionClassList))&&(H.valueEncryptionMode=H.encryptionMode||H.valueEncryptionMode||R.censorMode.BlackList,H.valueEncryptById=H.encryptionList||[],H.valueEncryptByClass=H.encryptionClassList||[]),H.decodUri!==U&&(H.decodeUri=H.decodUri),H.reportAddUriParamAPI&&(H.reportAddUriParams=H.reportAddUriParams||[],H.reportAddUriParams.push("api")),H.visualName&&H.visualName.eventsToCalcDistance&&H.visualName.eventsToCalcDistance.length&&(H.visualName.eventsToCalcDistance=q.immutableSet.apply(null,H.visualName.eventsToCalcDistance)),function(n){var e=H.reportToStorageAfterUnload,t=H.reportPreferSendBeaconAPI&&"function"!=typeof navigator.sendBeacon;if(!e&&H.reportStorageBackedForUA&&!t)for(var r=0;r<H.reportStorageBackedForUA.length;r++)try{if(new RegExp(H.reportStorageBackedForUA[r],"gi").exec(n.navigator.userAgent)){e=!0;break}}catch(n){}e&&(H.storageBackedReporting=!0)}(window),P=window,H.externalReporterObject&&P[H.externalReporterObject]&&(H.externalReporting=!0,H.reportDisableCors=!0,H.reportUseWorker&&(H.reportUseWorker=!1)),Ze(H,v.config,v.override),H.domRecordEnabled&&void 0!==H.domRecordEnabledByChance&&(M=new It(j,U),Ce=new Tt(window.localStorage,{keysPrefix:R.Storage.BoundKeyPrefix,sessionIdFunc:function(){return M.get(R.cookies.session)}}),$e(H.domRecordEnabledByChance,Ce,"dom")?(H.domRecordEnabled=!0,H.domReportURI&&(H.reportURI=H.domReportURI)):H.domRecordEnabled=!1,H.domRecordEnabledByChance),z={MASKING_CHAR:"*",censorValueOf:function(n,e,t){return n=""+(n||""),0<(e||0)?(e=Math.min(n.length,e),new Array(n.length-e+1).join(t||z.MASKING_CHAR)+n.substring(n.length-e)):new Array(n.length+1).join(t||z.MASKING_CHAR)},isAvailable:function(){return!0}},ct.prototype={isCensored:function(n){return!!st.call(this,n).doMask},censor:function(n){var e=st.call(this,n);return e.doMask?(this.cb&&this.cb(n,e.cause),this.maskingUtils.censorValueOf(n.value,e.keepLastDigits,e.maskingChar)):n.value},isAvailable:function(){return!0}},ft.getMatchingAttributeFromRegexpArray=function(n,e){for(var t=0;t<e.length;t++)if(e[t].test(n))return e[t]},ft.checkSelector=function(n,e){for(var t=0;t<e.length;++t)if(n&&n.nodeType===Node.ELEMENT_NODE&&q.elementMatches(n,e[t]))return e[t]},ft.prototype.isCensored=function(n,e){var t,r="",i=e?n.parentElement:n;if(!q.isEditableInput(i))return!1;if(i.hasAttribute(this._options.valueCensorIgnoreAttribute))return!1;e=this._options.valueCensorshipMode===this._envCensorMode.WhiteList;return e&&(r="whitelist"),i.hasAttribute(this._censorAttribute)?(e=!0)&&(r="censor attribute "+this._censorAttribute):q.hasClassName(i,this._censorAttribute)?(e=!0)&&(r="class with censor attribute "+this._censorAttribute):this._valueCensorIdsWithoutwildcards.length&&E.contains(this._valueCensorIdsWithoutwildcards,q.getElementId(i))?(t=this._valueCensorIdsWithoutwildcards.indexOf(q.getElementId(i)),(e=!e)&&(r="id matches "+this._valueCensorIdsWithoutwildcards[t])):this._valueCensorClassesWithoutwildcards.length&&q.hasOneOfClassNames(i,this._valueCensorClassesWithoutwildcards)?(e=!e)&&(r="class matches "+q.getMatchingClassName(i,this._valueCensorClassesWithoutwildcards)):this._valueCensorSelectorsWithoutwildcards.length?(t=ft.checkSelector(i,this._valueCensorSelectorsWithoutwildcards))&&(e=!e)&&(r="selector matches "+t):this._regexpValueCensorIds.length?(t=ft.getMatchingAttributeFromRegexpArray(q.getElementId(i),this._regexpValueCensorIds))&&(e=!e)&&(r="id matches "+t):this._regexpValueCensorClasses.length&&(t=ft.getMatchingAttributeFromRegexpArray(q.getClass(i),this._regexpValueCensorClasses))&&(e=!e)&&(r="class matches "+t),!e||(n=n.getAttribute("gbid")||n._gbid)&&!this.maskedElementsAlreadyLogged[n]&&(this.bus.emit("clsDebug","element with gbid "+n+": value masking reason - "+r),this.maskedElementsAlreadyLogged[n]=!0),e},ft.prototype.censor=function(n,e){return this.isCensored(n,e)?this._censorValueOf(n.value):n.value},ft.prototype.isAvailable=function(){return this._isAvailable()},A=new function(o,a,u){var n=function(){if(-1===(a||"").indexOf("://"))return!1;var n=o.createElement("a");if(n.href=a,(/:\d+/gi.test(a)?n.port:"")!==o.location.port)return!0;if(u)return n.hostname!==o.location.hostname;for(var e=o.location.hostname.split("."),t=n.hostname.split("."),r=e.length<=2,i=!1;e.length&&t.length&&!i;)i=e.pop()!==t.pop();n=(i?1:0)+Math.max(e.length,t.length);return r?0!==n:1<n}();this.isCorsReporting=function(){return n}}(j,H.reportURI,H.cookieAssignFQDN),N=new It(j,{domainBy:H.cookieAssignFQDN?"fqdn":"tld",tldSegmentCount:H.cookieTLDSegmentCount,reportURI:H.reportURI,enableSecureCookie:H.enableSecureCookie}),D=new Tt(window.localStorage,{keysPrefix:R.Storage.BoundKeyPrefix,sessionIdFunc:function(){return N.get(R.cookies.session)}}),Tn=window,_=(In=H).recordShadowDom&&Tn.ShadowRoot&&void 0!==Hi?new Hi(new bt(In)):new bt(In),O=new function(t,e,n,r,i,o){o=o||{};var a,u,c,s,f,d,l=0<(i.valueEncryptById||[]).length||0<(i.valueEncryptByClass||[]).length||0<(i.domEncryptById||[]).length||0<(i.domEncryptByClass||[]).length||i.valueEncryptionMode===R.censorMode.WhiteList,i=l&&!(!o.publicKey||!o.keyId),h=!1,v=!1,m=!1,g=[];function p(n){b(u=q.Base64.bytesToBase64(new Uint8Array(n))),!m&&v&&w()}function y(n){g.push(n),b(),v&&g.length&&e.emit("clsDebug","Error: "+g.join(". Error: "))}function w(){n.set("hybrid.key",u),n.set("symmetric.key",q.Base64.bytesToBase64(new Uint8Array(a))),n.set("public.key.hash",q.hashcode(o.publicKey)),m=!0}function b(n){h||(q.currentTimestamp(),h=!0,(u=n)&&(c=o.keyId+"_"+u),setTimeout(function(){e.emit("encryptionReady")},0))}if(i)try{q.currentTimestamp(),s=n.get("symmetric.key"),f=n.get("hybrid.key"),d=""+q.hashcode(o.publicKey)===n.get("public.key.hash"),s&&f&&d?(a=new Uint8Array(q.strToBytes(q.Base64.atob(s))),b(f)):(e.on("init:loaded",function(){v=!0,!m&&a&&u&&w(),g.length&&e.emit("clsDebug","Error: "+g.join(". Error: "))}),function(){var n=r(t);if(n){var e=q.strToBytes(q.Base64.atob(o.publicKey));return a=new Uint8Array(16),n.getRandomValues(a),n.executeEncryptionFlow(e,a,p,y),1}y("Current browser does not support crypto interface.")}()&&setTimeout(function(){b()},o.timeout))}catch(n){y(n.message||"unknown exception during encryption")}else l?(y("encryption is not well configured"),console.error("[EyeView-403]: Encryption configuration error: missing encryption key settings. Sensitive data might be recorded.")):b();this.isEncryptionConfigured=function(){return!!l},this.canUseEncryption=function(){return!!c&&!!(t.crypto&&(t.crypto.subtle||t.crypto.webkitSubtle)||t.msCrypto&&t.msCrypto.subtle)},this.getEncryptionKey=function(){return c?a:U},this.getKeyInfo=function(){return c||U},this.stringIsEncrypted=function(n){return q.startsWith(n,R.encryptionPrefix)}}(window,V,D,function(n){return n.crypto&&(n.crypto.subtle||n.crypto.webkitSubtle)?new it(n):n.msCrypto&&n.msCrypto.subtle?new tt(n):null},H,{publicKey:H.encryptionPublicKey,keyId:H.encryptionKeyId,timeout:H.encryptionTimeout}),window,Sn=O,Qn={censorValueOf:function(n){var e=Sn.getEncryptionKey(),e=Sn.AES_CBC.encrypt(new Uint8Array(q.strToUTF8Bytes(n)),e,!0);return R.encryptionPrefix+q.Base64.bytesToBase64(e,!0)+"_"},isAvailable:function(){return Sn.canUseEncryption()}},L=new function(n,e){var o=e.handlers;function a(n){return o[n]=e.fallbackHandlers[n]||o[n],o[n]}this.censor=function(e,t){for(var n,r=e.value,i=0;i<o.length;i++){(n=o[i]).isAvailable()||(n=a(i));try{r=n.censor(e,t)}catch(n){logger.error("failed censoring value, switching to fallback: "+n.message,n),r=a(i).censor(e,t)}if(r!==e.value)return r}return r},this.isCensored=function(n,e){for(var t=0;t<o.length;t++)if(o[t].isCensored(n,e))return!0;return!1}}(window,(K=O,Q=Qn,Y=V,yn=et(),wn=($=H).valueMaskingMode===R.censorMode.WhiteList,bn=$.ccForceMaskContainer?ut(Y):{markOwnerAndInputs:function(){}},Cn=[],(En=[]).push(new ct(z,[function(n){return{doMask:"INPUT"===n.tagName&&"password"===n.type,cause:"password"}},(Z={enabled:$.ccAutoMask,byContent:$.ccAutoMaskByContent,byAttributes:$.ccAutoMaskFields,keepLastDigits:$.ccAutoMaskKeepLastDigits},en=0<(Z=q.optionsWithDefaults(Z,{enabled:!0,byContent:!0,byAttributes:["cc-number","cc-csc"],byCommonProps:["class","id","name"]})).keepLastDigits?Z.keepLastDigits:U,tn=q.immutableSet.apply(null,Z.byAttributes),rn={doMask:!1},on=/[\s\d]+/gi,an=/\d{12,19}/g,un=/(credit.*card)|((credit|card|cc).*num)/gi,nn=[0,2,4,6,8,1,3,5,7,9],cn=function(n){for(var e,t=n.length,r=1,i=0;t;)e=parseInt(n.charAt(--t),10),i+=(r^=1)?nn[e]:e;return i&&i%10==0},function(e){if(!Z.enabled)return rn;var n=e.getAttribute("autocomplete")||e.getAttribute("x-autocompletetype")||"";if(tn[n])return{doMask:!0,keepLastDigits:"cc-number"===n?en:U,cause:"cc"};if(Z.byContent){n=e.value||"";if(n.match(on)&&(n=n.trim().split(/\s+/).join(""))&&n.match(an)&&cn(n))return{doMask:!0,keepLastDigits:en,cause:"cc"}}return Z.byCommonProps&&Z.byCommonProps.some(function(n){return(e.getAttribute(n)||"").match(un)})?{doMask:!0,keepLastDigits:en,cause:"cc"}:rn}),at(ot({valueMaskByCategories:$.valueMaskByCategories,valueMaskingCharNumeric:$.valueMaskingCharNumeric,valueMaskingCharNumericLike:$.valueMaskingCharNumericLike}))],function(n,e){"cc"===e&&bn.markOwnerAndInputs(n),On.onAutoMaskingApplied(n,e)})),Cn.push(U),En.push((sn=Y,fn=z,dn={valueCensorIds:wn?$.maskWhitelistValueById:[],valueCensorClasses:wn?$.maskWhitelistValueByClass:[],valueCensorSimpleSelector:wn?$.valueWhitelistMaskSimpleSelector:[],valueCensorIgnoreAttribute:$.valueMaskIgnoreAttribute},ln={},hn=[],vn=[],mn=[],gn=[],(pn=dn||{}).valueCensorIds&&lt(pn.valueCensorIds,hn,mn),pn.valueCensorClasses&&lt(pn.valueCensorClasses,vn,gn),{isCensored:function(n,e){var t=e?n.parentElement:n,e=!!t._gbForceMasking;return!(e=t.hasAttribute(pn.valueCensorIgnoreAttribute)||hn.length&&E.contains(hn,q.getElementId(t))||vn.length&&q.hasOneOfClassNames(t,vn)||mn.length&&ft.getMatchingAttributeFromRegexpArray(q.getElementId(t),mn)||gn.length&&ft.getMatchingAttributeFromRegexpArray(q.getClass(t),gn)?!1:e)||(n=n._gbid||n.getAttribute("gbid"))&&!ln[n]&&(sn.emit("clsDebug","element with gbid "+n+": value masking reason - forcedMaskingHandler"),ln[n]=!0),e},censor:function(n,e){return this.isCensored(n,e)?fn.censorValueOf(n.value):n.value},isAvailable:function(){return!0}})),Cn.push(U),K.isEncryptionConfigured()&&(En.push(new ft(Y,Q,R.censorMode,"cls_encrypt",{name:"encryption",valueCensorshipMode:$.valueEncryptionMode,valueCensorIds:$.valueEncryptById,valueCensorClasses:$.valueEncryptByClass,autoCensorPredicate:U},yn)),Cn.push(new ft(Y,z,R.censorMode,"cls_encrypt",{name:"masking_fallback",valueCensorshipMode:$.valueEncryptionMode,valueCensorIds:$.valueEncryptById,valueCensorClasses:$.valueEncryptByClass,valueCensorIgnoreAttribute:$.valueMaskIgnoreAttribute},yn))),En.push(new ft(Y,z,R.censorMode,"cls_mask",{name:"masking",valueCensorshipMode:$.valueMaskingMode,valueCensorIds:wn?$.maskWhitelistValueById:$.maskBlacklistValueById,valueCensorClasses:wn?$.maskWhitelistValueByClass:$.maskBlacklistValueByClass,valueCensorSimpleSelectors:wn?$.valueWhitelistMaskSimpleSelector:$.valueBlacklistMaskSimpleSelector,valueCensorIgnoreAttribute:$.valueMaskIgnoreAttribute},yn)),Cn.push(U),{handlers:En,fallbackHandlers:Cn})),G=0,J=function(){return++G},F={idOf:function(n,e){return n?e?n[X]:dt(n):null},selectorFor:function(n){return{selector:""+dt(n)}},GB_ID_FIELD_NAME:X="_gbid"},W=function(c,s){c&&c.length&&(c=q.arrayToLowerCase(c)),s&&s.length&&(s=q.arrayToLowerCase(s));var f=q.immutableSet.apply(null,c),d=q.immutableSet.apply(null,s);function e(n){if(!c.length&&!s.length||!n)return n;var e=n.split("?");if(e[0]&&0<Object.keys(d).length){for(var t=e[0].split("/"),r=1;r<t.length;r++)d[t[r]]&&t[r+1]&&(t[r+1]=z.censorValueOf(t[r+1]));e[0]=t.join("/")}if(!e[1])return e[0]+(n.indexOf("?")===n.length-1?"?":"");var i,o,a=[],u=e[1].split("&");for(r=0;r<u.length;r++)1<(o=u[r].split("=")).length?(i=o[0],o=f[i.toLowerCase()]?z.censorValueOf(o[1]):o[1],a.push(i+"="+o)):a.push(u[r]);return e[0]+"?"+a.join("&")}return{mask:function(n){n=n.split("#");return e(n[0])+(1<n.length?"#"+e(n[1]):"")}}}(H.maskQueryParameters,H.maskUrlPath),P={setListener:function(n){B=n},clonerHook:function(n,e){B&&B(n,e)}},kn={hookProto:function(i){var o={};return{setHookBefore:function(e,n){var t=i[e];return!!t&&(i[e]=function(){try{n.apply(this,arguments)}catch(n){logger.error("error during method '"+e+"' hook invocation. error: "+n.message,n)}return t.apply(this,arguments)},o[e]=t,!0)},setHookAfter:function(e,t){var r=i[e];return!!r&&(i[e]=function(){var n=r.apply(this,arguments);try{t.apply(this,arguments)}catch(n){logger.error("error during method '"+e+"' hook invocation. error: "+n.message,n)}return n},o[e]=r,!0)},hookSetPropertyAfter:function(e,t){var r=Object.getOwnPropertyDescriptor(i,e)?Object.getOwnPropertyDescriptor(i,e).set:null;return!!r&&(Object.defineProperty(i,e,{set:function(){var n=r.apply(this,arguments);try{t.apply(this,arguments)}catch(n){logger.error("error during method '"+e+"' hook invocation. error: "+n.message,n)}return n}}),o[e]=r,!0)},revert:function(){for(var n in o)o.hasOwnProperty(n)&&(i[n]=o[n])}}}},Mn=j,Rn=void 0!==H&&H.scrollDebug,xn={scroll:function(n,e){function r(){s&&(d++,s(),s=null,u&&console.log("SCROLL DEBUG: bounced invocation #"+d))}var i,o,a,u,c,s,f,d;return i=Mn,o=e,a=n,u=Rn,d=f=0,An={debouncedHandler:function(n){var e,t;clearTimeout(c),s=a.gbBind(this,n),t=n.target,(e=t===i?i.documentElement:t)._gb_scrollInfo||(e._gb_scrollInfo={lastScrollTop:e.scrollTop,lastVDelta:0}),t=(n=e).scrollTop-n._gb_scrollInfo.lastScrollTop,e=t*n._gb_scrollInfo.lastVDelta<0,n._gb_scrollInfo.lastVDelta=t,n._gb_scrollInfo.lastScrollTop=n.scrollTop,e?r():(c=setTimeout(r,o),f++,u&&f%20==0&&console.log("SCROLL DEBUG: de-bouncer - called:",d," of total:",f))},bounce:r}},bounceAll:function(n){An&&"scroll"!==n&&An.bounce()}},ht.prototype.open=function(n,e){this._url=e,this.readyState=XMLHttpRequest.OPENED,this.onreadystatechange&&this.onreadystatechange()},ht.prototype.send=function(n){var e;this.readyState=XMLHttpRequest.LOADING,n=this._contentType?(e={type:this._contentType},new Blob([n],e)):n,this.status=navigator.sendBeacon(this._url,n)?200:ht.BEACON_ERROR_STATUS,200!==this.status&&logger.error("failed posting new beacon using sendBeacon API. payload:  contentType:"+this._contentType),this.readyState=XMLHttpRequest.DONE,this.onreadystatechange&&this.onreadystatechange()},ht.prototype.setRequestHeader=function(n,e){"Content-Type"===n&&(this._contentType=e)},ht.prototype.getResponseHeader=function(){return null},ht.canSend=(Nn=/chrome/.test(navigator.userAgent.toLowerCase()),function(n){return!(Nn&&n&&n.length>ht.CHROME_PAYLOAD_LIMIT)}),ht.isSupported=function(){return"function"==typeof navigator.sendBeacon},ht.CHROME_PAYLOAD_LIMIT=61440,ht.BEACON_ERROR_STATUS=400,vt.prototype.open=function(n,e){-1===e.indexOf("://")&&(e=location.protocol+"//"+location.hostname+(e.startsWith("/")?"":"/")+e),this.xdr.open(n,e),this.readyState=XMLHttpRequest.OPENED,this.onreadystatechange&&this.onreadystatechange()},vt.prototype.send=function(n){this.xdr.send(n),this.readyState=XMLHttpRequest.LOADING,this.onreadystatechange&&this.onreadystatechange()},vt.prototype.setRequestHeader=function(){},vt.prototype.getResponseHeader=function(){return null},Dn=mt(self,H.reportPreferSendBeaconAPI,H.clientAttributesEnabled||H.interceptThirdPartyAttributes,H.cordovaSdkReporting),function(n){var r,i,e=this&&this.__extends||(r=function(n,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}r(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}),f=(i=Error,e(t,i),t);function t(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=i.apply(this,n)||this;return Object.create(Error.prototype,{name:{value:"IllegalArgumentError"}}),t}var y=function(){"use strict";var o,a,i=!1;function u(n,e){var t=o[(a[n]+a[e])%255];return t=0===n||0===e?0:t}var m,c,s,f,d=!1;function r(){function n(n){var e,t,r,i;for(n=o[255-a[i=n]],t=r=n=0===i?0:n,e=0;e<4;e++)r^=t=255&(t<<1|t>>>7);return r^=99}i||function(){o=[],a=[];for(var n,e=1,t=0;t<255;t++)n=128&(o[t]=e),e<<=1,e&=255,128==n&&(e^=27),e^=o[t],a[o[t]]=t;o[255]=o[0],a[0]=0,i=!0}(),m=[],c=[],s=[[],[],[],[]],f=[[],[],[],[]];for(var e=0;e<256;e++){var t=n(e);m[e]=t,c[t]=e,s[0][e]=u(2,t)<<24|t<<16|t<<8|u(3,t),f[0][t]=u(14,e)<<24|u(9,e)<<16|u(13,e)<<8|u(11,e);for(var r=1;r<4;r++)s[r][e]=s[r-1][e]>>>8|s[r-1][e]<<24,f[r][t]=f[r-1][t]>>>8|f[r-1][t]<<24}d=!0}function n(n,e){d||r();var h=new Uint32Array(e);h.set(m,512),h.set(c,768);for(var t=0;t<4;t++)h.set(s[t],4096+1024*t>>2),h.set(f[t],8192+1024*t>>2);var v=function(n,e){"use asm";var g=0,p=0,y=0,w=0,v=0,m=0,b=0,E=0,i=0,o=0,a=0,u=0,c=0,s=0,f=0,d=0,C=0,S=0,T=0,I=0,l=0;var k=new n.Uint32Array(e),h=new n.Uint8Array(e);function x(n,e,t,r,i,o,a,u){n=n|0;e=e|0;t=t|0;r=r|0;i=i|0;o=o|0;a=a|0;u=u|0;var c=0,s=0,f=0,d=0,l=0,h=0,v=0,m=0;c=t|0x400,s=t|0x800,f=t|0xc00;i=i^k[(n|0)>>2],o=o^k[(n|4)>>2],a=a^k[(n|8)>>2],u=u^k[(n|12)>>2];for(m=16;(m|0)<=r<<4;m=m+16|0){d=k[(t|i>>22&1020)>>2]^k[(c|o>>14&1020)>>2]^k[(s|a>>6&1020)>>2]^k[(f|u<<2&1020)>>2]^k[(n|m|0)>>2],l=k[(t|o>>22&1020)>>2]^k[(c|a>>14&1020)>>2]^k[(s|u>>6&1020)>>2]^k[(f|i<<2&1020)>>2]^k[(n|m|4)>>2],h=k[(t|a>>22&1020)>>2]^k[(c|u>>14&1020)>>2]^k[(s|i>>6&1020)>>2]^k[(f|o<<2&1020)>>2]^k[(n|m|8)>>2],v=k[(t|u>>22&1020)>>2]^k[(c|i>>14&1020)>>2]^k[(s|o>>6&1020)>>2]^k[(f|a<<2&1020)>>2]^k[(n|m|12)>>2];i=d,o=l,a=h,u=v}g=k[(e|i>>22&1020)>>2]<<24^k[(e|o>>14&1020)>>2]<<16^k[(e|a>>6&1020)>>2]<<8^k[(e|u<<2&1020)>>2]^k[(n|m|0)>>2],p=k[(e|o>>22&1020)>>2]<<24^k[(e|a>>14&1020)>>2]<<16^k[(e|u>>6&1020)>>2]<<8^k[(e|i<<2&1020)>>2]^k[(n|m|4)>>2],y=k[(e|a>>22&1020)>>2]<<24^k[(e|u>>14&1020)>>2]<<16^k[(e|i>>6&1020)>>2]<<8^k[(e|o<<2&1020)>>2]^k[(n|m|8)>>2],w=k[(e|u>>22&1020)>>2]<<24^k[(e|i>>14&1020)>>2]<<16^k[(e|o>>6&1020)>>2]<<8^k[(e|a<<2&1020)>>2]^k[(n|m|12)>>2]}function M(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,n,e,t,r)}function R(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;var i=0;x(0x0400,0x0c00,0x2000,l,n,r,t,e);i=p,p=w,w=i}function A(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,v^n,m^e,b^t,E^r);v=g,m=p,b=y,E=w}function N(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;var i=0;x(0x0400,0x0c00,0x2000,l,n,r,t,e);i=p,p=w,w=i;g=g^v,p=p^m,y=y^b,w=w^E;v=n,m=e,b=t,E=r}function D(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,v,m,b,E);v=g=g^n,m=p=p^e,b=y=y^t,E=w=w^r}function _(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,v,m,b,E);g=g^n,p=p^e,y=y^t,w=w^r;v=n,m=e,b=t,E=r}function O(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,v,m,b,E);v=g,m=p,b=y,E=w;g=g^n,p=p^e,y=y^t,w=w^r}function L(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;x(0x0000,0x0800,0x1000,l,i,o,a,u);u=~d&u|d&u+1;a=~f&a|f&a+((u|0)==0);o=~s&o|s&o+((a|0)==0);i=~c&i|c&i+((o|0)==0);g=g^n;p=p^e;y=y^t;w=w^r}function F(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;var i=0,o=0,a=0,u=0,c=0,s=0,f=0,d=0,l=0,h=0;n=n^v,e=e^m,t=t^b,r=r^E;i=C|0,o=S|0,a=T|0,u=I|0;for(;(l|0)<128;l=l+1|0){if(i>>>31)c=c^n,s=s^e,f=f^t,d=d^r;i=i<<1|o>>>31,o=o<<1|a>>>31,a=a<<1|u>>>31,u=u<<1;h=r&1;r=r>>>1|t<<31,t=t>>>1|e<<31,e=e>>>1|n<<31,n=n>>>1;if(h)n=n^0xe1000000}v=c,m=s,b=f,E=d}function t(n){n=n|0;l=n}function P(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;g=n,p=e,y=t,w=r}function B(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;v=n,m=e,b=t,E=r}function j(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;i=n,o=e,a=t,u=r}function U(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;c=n,s=e,f=t,d=r}function H(n,e,t,r){n=n|0;e=e|0;t=t|0;r=r|0;u=~d&u|d&r,a=~f&a|f&t,o=~s&o|s&e,i=~c&i|c&n}function r(n){n=n|0;if(n&15)return-1;h[n|0]=g>>>24,h[n|1]=g>>>16&255,h[n|2]=g>>>8&255,h[n|3]=g&255,h[n|4]=p>>>24,h[n|5]=p>>>16&255,h[n|6]=p>>>8&255,h[n|7]=p&255,h[n|8]=y>>>24,h[n|9]=y>>>16&255,h[n|10]=y>>>8&255,h[n|11]=y&255,h[n|12]=w>>>24,h[n|13]=w>>>16&255,h[n|14]=w>>>8&255,h[n|15]=w&255;return 16}function V(n){n=n|0;if(n&15)return-1;h[n|0]=v>>>24,h[n|1]=v>>>16&255,h[n|2]=v>>>8&255,h[n|3]=v&255,h[n|4]=m>>>24,h[n|5]=m>>>16&255,h[n|6]=m>>>8&255,h[n|7]=m&255,h[n|8]=b>>>24,h[n|9]=b>>>16&255,h[n|10]=b>>>8&255,h[n|11]=b&255,h[n|12]=E>>>24,h[n|13]=E>>>16&255,h[n|14]=E>>>8&255,h[n|15]=E&255;return 16}function q(){M(0,0,0,0);C=g,S=p,T=y,I=w}function z(n,e,t){n=n|0;e=e|0;t=t|0;var r=0;if(e&15)return-1;while((t|0)>=16){G[n&7](h[e|0]<<24|h[e|1]<<16|h[e|2]<<8|h[e|3],h[e|4]<<24|h[e|5]<<16|h[e|6]<<8|h[e|7],h[e|8]<<24|h[e|9]<<16|h[e|10]<<8|h[e|11],h[e|12]<<24|h[e|13]<<16|h[e|14]<<8|h[e|15]);h[e|0]=g>>>24,h[e|1]=g>>>16&255,h[e|2]=g>>>8&255,h[e|3]=g&255,h[e|4]=p>>>24,h[e|5]=p>>>16&255,h[e|6]=p>>>8&255,h[e|7]=p&255,h[e|8]=y>>>24,h[e|9]=y>>>16&255,h[e|10]=y>>>8&255,h[e|11]=y&255,h[e|12]=w>>>24,h[e|13]=w>>>16&255,h[e|14]=w>>>8&255,h[e|15]=w&255;r=r+16|0,e=e+16|0,t=t-16|0}return r|0}function W(n,e,t){n=n|0;e=e|0;t=t|0;var r=0;if(e&15)return-1;while((t|0)>=16){X[n&1](h[e|0]<<24|h[e|1]<<16|h[e|2]<<8|h[e|3],h[e|4]<<24|h[e|5]<<16|h[e|6]<<8|h[e|7],h[e|8]<<24|h[e|9]<<16|h[e|10]<<8|h[e|11],h[e|12]<<24|h[e|13]<<16|h[e|14]<<8|h[e|15]);r=r+16|0,e=e+16|0,t=t-16|0}return r|0}var G=[M,R,A,N,D,_,O,L];var X=[A,F];return{set_rounds:t,set_state:P,set_iv:B,set_nonce:j,set_mask:U,set_counter:H,get_state:r,get_iv:V,gcm_init:q,cipher:z,mac:W}}({Uint8Array:Uint8Array,Uint32Array:Uint32Array},e);return v.set_key=function(n,e,t,r,i,o,a,u,c){var s=h.subarray(0,60);h.subarray(256,316),s.set([e,t,r,i,o,a,u,c]);for(var f=n,d=1;f<4*n+28;f++){var l=s[f-1];(f%n==0||8===n&&f%n==4)&&(l=m[l>>>24]<<24^m[l>>>16&255]<<16^m[l>>>8&255]<<8^m[255&l]),f%n==0&&(l=l<<8^l>>>24^d<<24,d=d<<1^(128&d?27:0)),s[f]=s[f-n]^l}v.set_rounds(n+5)},v}return n.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},n.MAC={CBC:0,GCM:1},n.HEAP_DATA=16384,n}(),o=(a.prototype.AES_Encrypt_process=function(n){if(!(n instanceof Uint8Array))throw new TypeError("data isn't of expected type");for(var e,t,r,i,o,a,u=this.asm,c=this.heap,s=y.ENC[this.mode],f=y.HEAP_DATA,d=this.pos,l=this.len,h=0,v=n.length||0,m=0,g=0,p=new Uint8Array(l+v&-16);0<v;)t=d+l,r=n,i=h,o=v,a=void 0,a=(e=c).length-t,o=a<o?a:o,e.set(r.subarray(i,i+o),t),l+=g=o,h+=g,v-=g,(g=u.cipher(s,f+d,l))&&p.set(c.subarray(d,d+g),m),m+=g,g<l?(d+=g,l-=g):l=d=0;return this.pos=d,this.len=l,p},a.prototype.AES_Encrypt_finish=function(){var n=this.asm,e=this.heap,t=y.ENC[this.mode],r=y.HEAP_DATA,i=this.pos,o=this.len,a=16-o%16,u=o;if(this.hasOwnProperty("padding")){if(this.padding){for(var c=0;c<a;++c)e[i+o+c]=a;u=o+=a}else if(o%16)throw new f("data length must be a multiple of the block size")}else o+=a;var s=new Uint8Array(u);return o&&n.cipher(t,r+i,o),u&&s.set(e.subarray(i,i+u)),this.pos=0,this.len=0,s},a);function a(n,e,t,r,i,o){void 0===t&&(t=!0),this.pos=0,this.len=0,this.mode=r,this.heap=i||function(n,e){if(4095&(e=n?n.byteLength:e||65536)||e<=0)throw new Error("heap size must be a positive integer and a multiple of 4096");return n=n||new Uint8Array(new ArrayBuffer(e))}().subarray(y.HEAP_DATA),this.asm=o||new y(null,this.heap.buffer),this.pos=0,this.len=0;o=n.length;if(16!==o&&24!==o&&32!==o)throw new f("illegal key size");n=new DataView(n.buffer,n.byteOffset,n.byteLength);if(this.asm.set_key(o>>2,n.getUint32(0),n.getUint32(4),n.getUint32(8),n.getUint32(12),16<o?n.getUint32(16):0,16<o?n.getUint32(20):0,24<o?n.getUint32(24):0,24<o?n.getUint32(28):0),e!==U){if(16!==e.length)throw new f("illegal iv size");e=new DataView(e.buffer,e.byteOffset,e.byteLength);this.asm.set_iv(e.getUint32(0),e.getUint32(4),e.getUint32(8),e.getUint32(12))}else this.asm.set_iv(0,0,0,0);this.padding=t}function u(n,e,t,r){void 0===t&&(t=!0),this.aes=r||new o(n,e,t,"CBC")}n.AES_CBC=(u.encrypt=function(n,e,t,r){return new u(e,r,t=void 0===t?!0:t).encrypt(n)},u.prototype.encrypt=function(n){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var t=n.reduce(function(n,e){return n+e.length},0),r=new Uint8Array(t),i=0,o=0;o<n.length;o++)r.set(n[o],i),i+=n[o].length;return r}(this.aes.AES_Encrypt_process(n),this.aes.AES_Encrypt_finish())},u)}(O),gt.prototype.put=function(n,e){e={key:n,value:e};if(this._keymap[n]=e,this.tail?(this.tail.newer=e).older=this.tail:this.head=e,this.tail=e,this.size===this.limit)return this.shift();this.size++},gt.prototype.shift=function(){var n=this.head;return n&&(this.head.newer?(this.head=this.head.newer,this.head.older=U):this.head=U,n.newer=n.older=U,delete this._keymap[n.key]),n},gt.prototype.get=function(n,e){n=this._keymap[n];if(n!==U)return n===this.tail||(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=U,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n),e?n:n.value},gt.prototype.find=function(n){return this._keymap[n]},gt.prototype.set=function(n,e){var t,r=this.get(n,!0);return r?(t=r.value,r.value=e):t=(t=this.put(n,e))&&t.value,t},gt.prototype.toString=function(){for(var n="",e=this.head;e;)n+=String(e.key)+":"+e.value,(e=e.newer)&&(n+=" < ");return n},pt.MAX_ENTRIES=150,pt.DirectionType={BACK:1,FORWARD:2},pt.UrlType={FUlL_URL:1,HASH_ONLY:2},yt.EVENTS={BlackoutEnter:"BlackoutEnter",BlackoutLeave:"BlackoutLeave"},_n={severity:{ERROR:0,WARN:1,INFO:2,DEBUG:3},types:{GENERAL_ERR:{code:100,count:0},INVALID_TIMING_ERR:{code:101,count:0},TOP_WINDOW_SIZE_ERR:{code:102,count:0},WINDOW_SIZE_NOT_VALID_ERR:{code:103,count:0},KEREN_ERR:{code:104,count:0}},currentDebugInfo:null,registerError:function(n,e){_n.registerDebugInfo(_n.severity.ERROR,n,e)},registerErrorAndLog:function(n,e){_n.registerDebugInfoAndLog(_n.severity.ERROR,n,e)},registerDebugInfoAndLog:function(n,e,t){_n.registerDebugInfo(n,e,t)},registerDebugInfo:function(n,e,t){e.count++,null===_n.currentDebugInfo&&(_n.currentDebugInfo=new wt(n,e.code,e.count,t))},getRegisteredDebugInfo:function(n){var e=_n.currentDebugInfo;return null===e||E.isUndefined(e)?null:(n&&_n.clearDebugInfo(),e)},clearDebugInfo:function(){_n.currentDebugInfo=null},setRegisteredDebugInfoOnEvent:function(n){var e;null!==n.getDebugInfo()&&!E.isUndefined(n.getDebugInfo())||null!=(e=_n.getRegisteredDebugInfo(!0))&&n.setDebugInfo(e)},setErrorOnEvent:function(n,e,t){_n.setDebugInfoOnEvent(n,_n.severity.ERROR,e,t)},setErrorOnEventAndLog:function(n,e,t,r){_n.setDebugInfoOnEvent(n,_n.severity.ERROR,e,t)},setWarnOnEvent:function(n,e,t){_n.setDebugInfoOnEvent(n,_n.severity.WARN,e,t)},setDebugInfoOnEvent:function(n,e,t,r){null===n||E.isUndefined(n)?logger.error("Failed setting debug on non-existing event"):(r=new wt(e,t.code,t.count,r),n.setDebugInfo(r))}},On={env:R,config:H,utils:q,_:E,sessionId:U,visitorId:U,isSessionIdExist:U,externalIdResolver:(Pn=(Pn={byAttribute:H.externalIdAttr,byClassPrefix:H.externalIdByClassesOnPrefix})||{},{resolve:function(n){if(n.getAttribute){if(Pn.byClassPrefix){var e=Mt(n);if(e)return function(n,e){for(var t=n.parentElement,r=[e];t;)(e=Mt(t))&&r.unshift(e),t=t.parentElement;return r.join(" ")}(n,e)}if(Pn.byAttribute){n=n.getAttribute(Pn.byAttribute);if(n)return n}}return null}}),uaUtils:{captureWindowSize:function(){return E.isNumber(window.innerWidth)&&E.isNumber(window.innerHeight)?xt(window.innerWidth,window.innerHeight,"[inner]"):!E.isUndefined(j.body)&&E.isNumber(j.body.offsetWidth)&&E.isNumber(j.body.offsetHeight)?xt(j.body.offsetWidth,j.body.offsetHeight,"[offset]"):null},captureScreenSize:function(){return xt(window.screen.width,window.screen.height,"[screen]")}},debugHelper:(Ln=H,{visitLoadEvent:function(n){var e;Ln.sendStateInfo&&(Le(e={}),Fe(e),e={ver:Fn,config:function(n){var e,t,r={};for(e in Ln)Ln.hasOwnProperty(e)&&("object"==typeof Ln[e]?0<(Ln[e].length||0)&&(r[e]=Ln[e]):(t=""+Ln[e],""+n[e]!==t&&(100<t.length&&(t="[trimmed] "+t.substring(0,100)),r[e]=t)));return r}(e)},n.setExtraInfo(He.prototype.DETECTOR_CONFIG_ID,JSON.stringify(e)))},visitUnloadEvent:function(n){}}),page:{snapshotEmitted:!(Fn=t),snapshotFuseData:U,timing:{}},encryptionPendingEvents:[],bindings:{registered:[],unsupportedEventTypes:[]},plugins:{},reports:{events:[],resources:[]},state:{loaded:!(yt.ALWAYS_FALSE=function(){return!1}),handshakeDone:!1,encryptionReady:!1,stopped:!1,clickStart:U,clickStartType:U,scrolling:{},unloading:!1,maxScrollReach:0,typableElementsLRUMap:new gt(20),lastFocusData:{},mouseEnterReported:!1,hover:{hoverStartTimestamp:0,hoverElementList:[]},clsDebugCounter:0,dpr:window.devicePixelRatio},scrollReach:{top:0,height:null,isInfinite:!1},touchDetected:!1,firstClickFired:!1,ajaxUrls:new gt(20),historyManager:new pt(window,V,window.history),blackoutManager:new yt(window,V,H.blackoutWhenLocationContains),debugInfoHandler:_n,zoomType:{IN:1,OUT:2},version:R.detectorVersion,logicalSegmentTracker:new function(o,a,e,u){var t,n,c,i,s,f=!1;function r(n){n=n.join(",");return e.validateSelector(n)?n:null}function d(n,e,t){var r;if(n){if((r=n.getAttribute(u.labelByAttribute))&&r!==i)return i=r,u.parallelMechanism&&(s=!1===t?0:t++),e&&(f=!1,o.emit("logicalSegmentEntered",u.segmentationPrefix+r),(n=n.getAttribute(u.titleByAttribute))&&o.emit("titleChanged",n),v()),1;e&&(f=!0)}else e&&(f=!0)}function l(n,e,t){try{if(t&&u.initialLabelSelector)return void d(a.querySelector(u.initialLabelSelector),n,e);var r=a.querySelectorAll(c);if(t||r.length||!u.forceTryEnterSegment||(f=!0),!1!==e)d(r[e],n,e);else for(var i=0;i<r.length&&!d(r[i],n);i++);}catch(n){logger.error("Exception while trying to enter a new logical segment. Error: "+n.message,n),f=!1,o.emit("clsDebug","error trying to enter a new logical segment. Exception message: "+n.message)}}function h(n){setTimeout(l.gbBind(null,!0,n),0)}function v(){for(var n,e=0;e<u.triggerBySimpleSelector.length;e++)for(t=a.querySelectorAll(u.triggerBySimpleSelector[e]),n=0;n<t.length;n++)t[n]._gb_logical_listener||(q.addEventHandler(t[n],"click",h.bind(null,!!u.parallelMechanism&&e),!0),t[n]._gb_logical_listener=!0)}function m(){if(u.parallelMechanism&&!u.initialLabelSelector)return console.log('%c Must define "initialLabelSelector" in parallel mode! disabling Logical Segmentation.',"color: white; background: red"),void o.emit("clsDebug",'Missing "initialLabelSelector". Disabling Logical Segmentation.');n=r(u.triggerBySimpleSelector),c=r(u.labelBySimpleSelector),n&&c&&(v(),l(!1,!1,!0))}this.init=function(){m()},this.onBeforeEmittingPageEvent=function(){f&&l(!(f=!1),!!u.parallelMechanism&&s)}}(V,j,et(),{triggerBySimpleSelector:H.segmentationTriggerBySimpleSelector,labelBySimpleSelector:H.segmentationLabelBySimpleSelector,labelByAttribute:H.segmentationLabelByAttribute,titleByAttribute:H.segmentationTitleByAttribute,segmentationPrefix:H.segmentationPrefix,parallelMechanism:H.segmentationParallelMechanism,initialLabelSelector:H.segmentationInitialLabelSelector,forceTryEnterSegment:H.segmentationForceTryEnterSegment}),segmentManager:new function(t,a,u,r,c){c=c||{ignoreWhenLocationContains:U};var s=!1,e="",i=r.mask(q.stripHash(q.decodeUri(c.decodeUri,t.location.href))),f={startedAt:q.currentTimestamp(),value:q.decodeUri(c.decodeUri,t.location.pathname),type:"path"};function o(n){e=r.mask(q.decodeUri(c.decodeUri,t.location.hash)),d()||l("hash",n,e)}function d(){return c.ignoreWhenLocationContains&&0<=q.decodeUri(c.decodeUri,t.location.href).indexOf(c.ignoreWhenLocationContains)}function l(n,e,t){var r=q.currentTimestamp(),i=f.value,o=u.segmentChange(r),i={type:n,hint:e,current:q.decodeUri(c.decodeUri,t),last:i,lastDwell:r-f.startedAt};-1!==o&&(i.lastLoadTime=o),f.startedAt=r,f.type=n,f.value=t,s=!0,a.emit("segmentChanged",i)}a.on("init:loaded",function(){i=r.mask(q.stripHash(q.decodeUri(c.decodeUri,t.location.href))),t.location.hash&&o("load")}),a.on("navigation",function(n){var e;n.direction===pt.DirectionType.BACK?e="back":n.direction===pt.DirectionType.FORWARD&&(e="forward"),n.urlType===pt.UrlType.HASH_ONLY?o(e):(e=e,i=r.mask(q.stripHash(q.decodeUri(c.decodeUri,t.location.href))),d()||l("path",e,r.mask(q.decodeUri(c.decodeUri,t.location.pathname))))}),a.on("logicalSegmentEntered",function(n){var e=r.mask(q.joinPath(q.decodeUri(c.decodeUri,t.location.pathname),n));i=r.mask(q.joinPath(q.decodeUri(c.decodeUri,t.location.pathname),n)),l("path","logical",e)}),this.onUnload=function(){s&&a.emit("lastSegment",{last:f.value,lastDwell:q.currentTimestamp()-f.startedAt,lastLoadTime:f.lastLoadTime})},this.visitEvent=function(n){n.referrer=i,n.segment=f.value,n.subPage=e}}(j,V,new function(e,t,r){var i=50,o={pendingEvents:{},totalLoadTime:0,startTime:0,keepListen:!1},a=null,u=null,c=function(s,f,d,l){var h={IFRAME:!0,FRAME:!!l};function v(e){var n,t,r,i,o,a,u=!1,c=e.nodeName.toUpperCase();if(c.match(/^(IMG|IFRAME|IMAGE)$/)||l&&c.match(/^(FRAME)$/)||"LINK"===c&&e.rel&&e.rel.match(/\bstylesheet\b/i)){if(("LINK"!==c||!e.rel||!e.sheet)&&((n=d(e))&&e.src!==n.url&&(u=!0),(o=e.src||"function"==typeof e.getAttribute&&e.getAttribute("xlink:href")||e.href)&&!o.match(/^(about:|javascript:|data:)/i))){if(n&&n.url!==o&&(u=!0),"IMG"===c){if(e.naturalWidth&&!u||""!==e.getAttribute("src")&&e.complete)return;if("function"==typeof e.getAttribute&&""===e.getAttribute("src"))return}h[c]&&u||(n||s(e,o),a=function(n){f(n.target),q.removeEventHandler(e,"load",a),q.removeEventHandler(e,"error",a)},q.addEventHandler(e,"load",a),q.addEventHandler(e,"error",a))}}else e&&e.nodeType===Node.ELEMENT_NODE&&["IMAGE","IMG"].forEach(function(n){if((t=e.getElementsByTagName(n)).length)for(r=0,i=t.length;r<i;r++)v(t[r])},this)}return{checkMutation:function(n){var e,t,r;if("attributes"===n.type)v(n.target);else if("childList"===n.type){for(t=n.addedNodes.length,e=0;e<t;e++)v(n.addedNodes[e]);for(t=n.removedNodes.length,e=0;e<t;e++)r=n.removedNodes[e],h[r.nodeName.toUpperCase()]&&d(r)&&f(r)}}}}(function(n,e){o.pendingEvents[t.idOf(n)]={url:e}},function(n){h(t.idOf(n))},function(n){return o.pendingEvents[t.idOf(n)]},r.framesetRecordEnabled);function s(n){o.isRoutingStart&&(u=o.totalLoadTime),o.keepListen=!0,o.pendingEvents={},o.totalLoadTime=0,o.startTime=n,o.isRoutingStart||(e.on("ajax:send",d),e.on("ajax:end",l),e.on("ajax:loadError",l),e.on("domMutation",v),o.isRoutingStart=!0)}function f(){q.isEmpty(o.pendingEvents)&&(u=o.totalLoadTime,o.keepListen=!1)}function d(n){o.keepListen&&(o.pendingEvents[n.uuid]={url:n.url})}function l(n){o.keepListen&&h(n.uuid)}function h(n){o.pendingEvents[n]&&(o.totalLoadTime=q.currentTimestamp()-o.startTime,delete o.pendingEvents[n],q.isEmpty(o.pendingEvents)&&(n=i,a&&clearTimeout(a),a=setTimeout(f,n)))}function v(n){o.keepListen&&c.checkMutation(n)}this.segmentChange=function(n){return r.recordSpaLoadTime&&r.interceptAjax?(s(n),18e4<(u=null===u?window.performance.timing.domContentLoadedEventEnd-window.performance.timing.navigationStart:u)&&e.emit("clsDebug","Error: SPA load time exceed 180000 milliseconds, SPA load time:"+u),u):-1}}(V,F,{recordSpaLoadTime:H.recordSpaLoadTime,interceptAjax:H.interceptAjax,framesetRecordEnabled:H.framesetRecordEnabled}),W,{ignoreWhenLocationContains:H.segmentationIgnoreWhenLocationContains,decodeUri:H.decodeUri}),botDetector:new function(t,e,r){var i="bot.nh",o="bot.d",a={CLICKS_WITH_NO_MOUSE_MOVES:{code:"1",active:!0},NOT_TRUSTED_MOUSEEVENT:{code:"3",active:!0},INVALID_NAVIGATION_API_VALUES:{code:"4",active:!0},MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES:{code:"5",active:!0}},u={MANY_MOUSE_MOVES_BETWEEN_CLICKS:{code:"-1",active:!0}},c=!1,s=!1,f=null,d=null,l=0,h=100,v=0,m={robot:!1,human:!1},g=!1;function p(){n("mousemove",y),n("click",w),g=!1}function y(n){return c||(d=q.getCoordinate(n),l=q.currentTimestamp()),s&&v++,c=!0}function w(n){var e,t;return n.type===R.mouseEvents.down&&(e=n).type===R.mouseEvents.down&&(s=!0,t=q.getCoordinate(e),null!==f?u.MANY_MOUSE_MOVES_BETWEEN_CLICKS.active&&!q.isSameCoordinates(t,f)?10<=v&&function(n){n.code,m.human=!0,r.set(o,n.code),p()}(u.MANY_MOUSE_MOVES_BETWEEN_CLICKS):a.CLICKS_WITH_NO_MOUSE_MOVES.active&&q.isCoordinatesDistLargerThan(t,f,10)&&0===v&&b(a.CLICKS_WITH_NO_MOUSE_MOVES):c&&function(n){a.MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES.active&&(n=q.getCoordinate(n),null!==d&&q.isSameCoordinates(n,d)&&q.currentTimestamp()-l<h&&(n=r.get(i),E.isUndefined(n)?r.set(i,1):(n=parseInt(n),isNaN(n)&&(n=1),n++,r.set(i,n),b(a.MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES),a.MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES.active=!1)))}(e),v=0,f=t),n=n,a.NOT_TRUSTED_MOUSEEVENT.active&&"isTrusted"in n&&!1===n.isTrusted&&b(a.NOT_TRUSTED_MOUSEEVENT),!0}function n(e,n){try{q.removeEventHandler(t.body,e,n)}catch(n){logger.error("BotDetector failed to remove "+e+" listener. "+n.message(),n)}}function b(n){g&&(n.code,n.active=!1,r.set(o,n.code),m.robot=!0,p(),e.emit("botDetection",n.code))}this.init=function(){var n=r.get(o);n||(g=!0,q.addEventHandler(t.body,"mousemove",y,!0),q.addEventHandler(t.body,"click",w,!0))},this.isActive=function(){return g},this.notifyMouseAction=w}(j,V,D),pageInfo:function(n,e,t){var r;if(!t||e)return U;n.on("event:unload",function(){t["gb.unloaded"]=!0});try{r=function(){var e=t["gb.psn"]||"0";try{e=parseInt(e)+1}catch(n){e=1}return t["gb.psn"]=e}()}catch(n){}return{pageSn:r}}((window,V),window.top!==window,window.sessionStorage),ect:null,initialize:function(){var n,e;if(window.localStorage&&"true"===window.localStorage[R.Storage.UnboundKeyPrefix+"session_breach"]?(On.asStoppable().stop(),V.emit("quotaBreach"),V.emit("clsDebug","quotaBreach activate from local storage")):V.emit("clsDebug","Error: localStorage is not defined"),R.setup,On.version,On.setClientCookies(((H.visitorIdByQueryParam||H.sessionIdByQueryParam)&&(n=(e=q.parseQuery(j.location.search.substring(1)))[H.sessionIdByQueryParam],e=e[H.visitorIdByQueryParam]),v.sessionId&&(v.sessionId,n=v.sessionId),{sessionId:n=H.clsByNativeCookie?N.get(H.clsByNativeCookie):n,visitorId:e})),void 0!==H.enabledByChance&&!$e(H.enabledByChance,D,"recording"))return R.disabled=!0,void H.enabledByChance;window.navigator.connection&&(On.ect=window.navigator.connection.effectiveType);try{if(void 0!==x){var t=k.validate(x,H);if(0<t.errors.length)return void console.error("[EyeView-1401]: Detector configuration validation failure. validation report:"+t)}}catch(n){return void console.error("[EyeView-1402]: Error while validating Detector configuration:"+n+". Detector is DISABLED.")}try{On.checkSupportModeSession(),On.initializePageDetails(),On.registerPlugins(),V.on("clsDebug",On.saveClsDebugErrorEvent),V.on(yt.EVENTS.BlackoutEnter,On.onBlackoutEnter),V.on(yt.EVENTS.BlackoutLeave,On.onBlackoutLeave),this.asStoppable().isStopped(!0),On.updateScrollReach(),On.registerPreLoadEvents(),On.addDomReadyEventHandler(),V.on("3rdpartymap:scReport",On.saveThirdPartyMapEvent),V.on("3rdPartyAttribute",On.saveThirdPartyAttributeEvent),V.on("abTesting",On.saveABTesting),V.on("pageNameResolved",On.onPageNameResolved),V.on("encryptionReady",On.onEncryptionReady),V.on("dom:fuseBlown",On.onDomFuseBlown),V.emit("init:preloaded",{sessionId:On.sessionId,visitorId:On.visitorId,pageId:On.page.id}),On.saveDocumentLoadEvent(On.page.initializationTimestamp),On.page.id,On.page.urlWithoutHash;var r=window.document.readyState;j.body&&"complete"===r?On.onLoad():q.addEventHandler(window,"load",On.onLoad,!1)}catch(n){logger.error("ERROR: while initializing detector. Exception: ",n.stack||n.message),console.log("WARNING[EyeView-1302]: Failed initializing detector script - "+n.message),On.saveClsDebugErrorEvent("initialize",n)}H.reportValidationErrors&&V.on("formValidationError",On.saveValidationError),H.isMixMasking&&On.saveClsDebugErrorEvent("maskingConfiguration",{name:"masking configuration error",message:"mixed masking configuration"})},onEncryptionReady:function(){var n;for(On.state.encryptionReady=!0,n=0;n<On.encryptionPendingEvents.length;n++)V.emit("saveEvent",On.encryptionPendingEvents[n]);On.encryptionPendingEvents=[]},onBlackoutEnter:function(n){var e;window===window.top&&((e=On.createEventObject("blackout",q.currentTimestamp(),null)).value=n,On.saveEvent(e))},onBlackoutLeave:function(){On.savePageUpdate()},onLoad:function(){window.location.href;var n=q.currentTimestamp();On.state.loaded||(q.time("onLoadInitialization"),On.documentEvent&&0<j.title.length&&(void 0===On.page.title||0===On.page.title.length)&&(On.page.title=On.getPageTitle(),On.documentEvent.setExtraInfo(He.prototype.VISUAL_NAME,On.page.title)),!q.getLocationUrlSplitByHash(window.location.href).hash&&0<H.segmentationTriggerBySimpleSelector.length&&0<H.segmentationLabelBySimpleSelector.length&&""!==H.segmentationLabelByAttribute&&""!==H.segmentationTitleByAttribute&&On.logicalSegmentTracker.init(),H.botDetection&&!q.hasTouch()&&On.botDetector.init(),On.state.loaded=!0,On.page.loadTimestamp=n,On.trySendPerformanceEvent(),V.emit("init:loaded"),On.registerPostLoadEvents(),On.plugins.domRecordingPlugin&&Xr(j,V,H),V.emit("init:post_binding"),q.timeEnd("onLoadInitialization"),window.location.href)},registerPlugins:function(){var t=this;E.forOwn(On.plugins,function(n,e){n.initialize(V,t)})},registerPreLoadEvents:function(){var n=function(){return On.state.unloading},e=[{type:"beforeunload",interception:On.interceptUnload,target:window,logicalName:"unload",filter:n},{type:"pagehide",interception:On.interceptUnload,target:window,logicalName:"unload",filter:n},{type:"resize",internallyDispatchAs:"window",filter:On.filterResize,interception:On.interceptResize,target:window},{type:On.getChangeEventType(),valueExtraction:On.extractElementValue,interception:On.interceptFocusLost,filter:On.filterNonChangableEventsElements,logicalName:"change",target:j},{type:"reset",target:j},{type:"submit",valueExtraction:On.extractElementSource,target:j},{type:"keyup",target:j,internalOnly:!0},{type:On.getFocusInEventType(),internallyDispatchAs:"element",valueExtraction:On.extractElementValue,interception:On.interceptFocusIn,filter:On.filterNonTypableElements,target:j}];On.page.hasTouch?(e.push({type:"touchstart",interception:On.interceptTouchStart,target:j}),e.push({type:q.isHybridAndroid()?"touchmove":"touchend",interception:On.interceptClickEnd,target:j})):(e.push({type:R.mouseEvents.down,interception:On.interceptClickStart,target:j,logicalName:"mousedown"}),e.push({type:R.mouseEvents.up,interception:On.interceptClickEnd,target:j})),q.isMobile()||(e.push({type:"dragstart",interception:On.interceptDragStart,target:j}),e.push({type:"dragend",interception:On.interceptDragEnd,target:j})),"blur"!==On.getChangeEventType()&&e.push({preload:!0,type:"blur",valueExtraction:On.extractElementValue,interception:On.interceptBlur,filter:On.filterNonTypableElements,logicalName:"change",target:j}),H.recordMouseMoves&&e.push({type:"mousemove",valueExtraction:On.extractMouseMoveValue,encodeValue:!1,interception:On.interceptMouseMove,dontSendElement:!0,target:j}),H.recordHovers&&e.push({type:"mouseover",encodeValue:!1,filter:On.filterHovers,interception:On.interceptMouseOver,target:j}),H.recordScrolls&&e.push({type:"scroll",debounceBy:H.debounceScrolls,valueExtraction:On.extractScrollValue,filter:On.filterScrollElements,interception:On.interceptScroll,target:j}),H.recordScrollReach&&e.push({type:"scroll",logicalName:"scrollReach",debounceBy:H.debounceScrolls,valueExtraction:On.extractScrollReach,filter:On.filterScrollElements,interception:On.interceptScrollReach,target:j});n=q.getMouseEnterTarget();n!==j&&n!==window||e.push({type:"mouseenter",interception:On.interceptMouseEnter,target:n}),On.shouldListenToKeyEvents()&&(e.push({type:"keydown",interception:On.interceptKeyboard,target:j}),e.push({type:"keypress",interception:On.interceptKeyboard,target:j})),H.domRecordEnabled&&(V.on("pageSnapshot:save",On.savePageSnapshotEvent),V.on("pageUpdate",On.savePageUpdate)),H.resourcesRecordEnabled&&V.on("saveResourceEvent",On.saveResourceDataEvent),H.resourcesRecordAllowCors&&V.on("saveCorsDeniedEvent",On.saveCorsDeniedDataEvent),H.clientAttributesEnabled&&V.on("clientAttribute",On.saveClientAttributeEvent),H.resourceTimingRecordEnabled&&$e(H.resourceTimingRecordEnabledByChance,D,"performanceRecord")&&V.on("resourcesWaterfall",On.savePerformanceDataEvent),H.webVitalsRecordEnabled&&V.on("webVitals",On.saveWebVitalsEvent),On.page.hasTimingAPI&&!H.recordAjaxCallsAnyway||(V.on("ajax:load",On.recordAjaxResource),V.on("ajax:error",On.recordAjaxResource)),-1!==H.ajaxRecordSessionLimit&&V.on("ajax:limitReached",On.ajaxLimitReached),V.on("devToolsVisibilityChanged",On.saveDevToolsChangeEvent),V.on("domTampered",On.saveDomTamperedEvent),V.on("ajax:loadend",On.saveAjaxRequestEvent),V.on("ajax:reportStats",On.saveAjaxStatsEvent),V.on("segmentChanged",function(n){On.saveSegmentChangedEvent(n),On.firstClickFired=!1}),V.on("lastSegment",On.saveLastSegmentEvent),V.on("titleChanged",On.saveTitleChanged),V.on("botDetection",On.saveBotDetectionEvent),V.on("reporter:idle",On.saveIdleEvent),V.on("customEvent",On.saveCustomEvent),V.on("customMapEvent",On.saveCustomMapEvent),V.on("pageError",On.onPageError),V.on("parentWindowInfo",On.setClientCookies),V.on("reportStruggle",On.saveStruggle),V.on("reportVoC",On.saveVoc),V.on("invalidateSession",On.onInvalidateSession),On.bindPageEvents(e)},saveIdleEvent:function(n){var e=q.currentTimestamp(),t=On.createEventObject("idle",e,null);t.value=e-n.idleBaseTime,t.setExtraInfo(He.prototype.TIME_SINCE_LAST_EVENT,e-n.latestEventTime),On.saveEvent(t)},saveBotDetectionEvent:function(n){var e=On.createEventObject("botDetection",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},registerPostLoadEvents:function(){var n=[];On.state.mouseEnterReported||q.getMouseEnterTarget()!==j.body||n.push({type:"mouseenter",interception:On.interceptMouseEnter,target:j.body}),0<n.length&&On.bindPageEvents(n)},bindPageEvents:function(n){q.time("bindPageEvents"),E.forEach(n,function(n){On.registerEventBinding(n)}),On.bindings.registered.length,E.pluck(On.bindings.registered,"type"),On.bindings.unsupportedEventTypes.length&&On.bindings.unsupportedEventTypes.join(", "),q.timeEnd("bindPageEvents")},registerEventBinding:function(e){var n=e.target||window.document.body;if(E.isUndefined(n)||null==n)e.type;else try{On.handleElementsEvents(n,e)}catch(n){logger.error("Failed binding '"+e.type+"'. Error: "+n.message,n),window.console&&console.error(n)}},handleElementsEvents:function(n,e){var t=e.type;E.contains(R.eventTypes,t)&&(q.isEventSupported(t)?(e=On.createHandler(e),q.addEventHandler(n,t,e,!0),On.bindings.registered.push({type:t,el:n,handler:e})):On.bindings.unsupportedEventTypes.push(t))},createHandler:function(e){var n,t=function(n){if(xn.bounceAll(n.type),On.handleDOMEvent(n,e),"beforeunload"!==n.type)return!0};return 0<(e.debounceBy||0)&&((n=xn[e.type])?t=n(t,e.debounceBy).debouncedHandler:e.type),t},handleDOMEvent:function(e,n){try{if(e=e||window.event,!(E.isUndefined(e._cls_handled)||!0!==e._cls_handled||n&&"scrollReach"===n.logicalName))return;e._cls_handled=!0,q.time("handleDOMEvent_"+e.type);var t=q.extractElementFromEvent(e),r=q.getElementId(t);H.ignorableElementIds&&E.contains(H.ignorableElementIds,r)||On.handleEvent(e,t,n),q.timeEnd("handleDOMEvent_"+e.type)}catch(n){logger.error("ERROR: while handling "+e.type+" DOM event ",e," Exception: ",n.stack||n.message),On.saveClsDebugErrorEvent("handleDOMEvent",n,"event type="+e.type)}},assignSelectorInfo:function(n,e){n=_.getSelectorInfo(n);e.selectorExpression=n.selector||R.encoding.rootSelector,n.hostSelectorPath&&e.setExtraInfo(He.prototype.HOST_SELECTOR_PATH,n.hostSelectorPath)},handleEvent:function(n,e,t){var r,i,o;t.internallyDispatchAs&&V.emit(t.internallyDispatchAs+":"+t.type,e),E.isFunction(t.filter)&&t.filter(e,n)||(i=q.currentTimestamp(),r=n.type,q.time("handleEvent_"+r),(i=On.createEventObject(r,i,e)).domEvent=n,n=!E.isUndefined(t.dontSendElement)&&!0===t.dontSendElement,On.assignSelectorInfo(e,i),i.selectorExpression=n?R.encoding.rootSelector:i.selectorExpression,i.binding=t,E.isUndefined(t.encodeValue)||!1!==t.encodeValue||(i.shouldEncodeValue=!1),On.extractValue(i,t),On.extractExternalId(i,e),On.interceptReport(i,t),H.reportVisualNames&&i.report&&!n&&(o=H.visualName&&H.visualName.eventsToCalcDistance[i.type]?(o=i.getExtraInfo(He.prototype.COORDINATE_ATTR),On.extractVisualName(e,o.x,o.y)):On.extractVisualName(e))&&i.setExtraInfo(He.prototype.VISUAL_NAME,o),On.autoMaskingSignaled&&(i.setExtraInfo(He.prototype.AUTO_MASKING,On.autoMaskingSignaled),On.autoMaskingSignaled=null),t.internalOnly||On.saveEvent(i),V.emit("event:"+i.type,i),q.timeEnd("handleEvent"+r))},createEventObject:function(n,e,t){t=new He(n,e,t,On.page.id);return On.segmentManager.visitEvent(t),t},onDomReady:function(){On.page.timing.contentInteractiveTime=performance.now(),V.emit("init:domready")},onAutoMaskingApplied:function(n,e){var t=n._gbid||"function"==typeof n.getAttribute&&n.getAttribute("gbid");n.tagName,n.id,On.autoMaskingSignaled=e,V.emit("clsDebug","auto masking for element with gbid: "+t+". reason: "+e)},addDomReadyEventHandler:function(){"interactive"===j.readyState||"complete"===j.readyState?On.onDomReady():q.addEventHandler(window,"DOMContentLoaded",On.onDomReady,!0)},extractValue:function(e,n){try{var t;E.isUndefined(n.valueExtraction)||(t=n.valueExtraction(e.domEvent,e.element),E.isUndefined(t)||null==t||(e.value=t))}catch(n){logger.error("Failed extracting value for event "+e.type+" - "+n.name+": "+n.message,n),"clsdebug"!==e.type&&On.saveClsDebugErrorEvent("extractValue",n,"event type="+e.type)}},extractExternalId:function(n,e){e&&q.isElement(e)&&((e=this.externalIdResolver.resolve(e))&&n.setExtraInfo(He.prototype.EXTERNAL_ID,e))},interceptReport:function(e,n){if(!E.isUndefined(n.interception))try{e.report=n.interception(e)}catch(n){logger.error("Failed intercepting "+e.type+" event: "+n.message,n,e),"clsdebug"!==e.type&&On.saveClsDebugErrorEvent("interceptReport",n,"event type="+e.type)}},addEvent:function(n){On.config.debugMode&&On.reports.events.push(n)},getFocusInEventType:function(){return q.isOldIE()?"focusin":"focus"},getChangeEventType:function(){return q.isOldIE()?"onfocusout"in j?"focusout":"blur":"change"},startFocusTiming:function(n){var e=q.currentTimestamp(),t=On.state.lastFocusData.startTime;On.state.lastFocusData={element:n,startTime:e,prevFocusStartTime:t}},endFocusTiming:function(n){On.state.lastFocusData.element===n&&(n=q.currentTimestamp(),On.state.lastFocusData.focusTime=n-On.state.lastFocusData.startTime)},filterNonTypableElements:function(n,e){return null===n||(On.isChangebleElement(n)&&("focus"===e.type||"focusin"===e.type?On.startFocusTiming(n):"blur"===e.type&&On.endFocusTiming(n)),!On.isTypableElement(n))},filterNonChangableEventsElements:function(n,e){return null===n||null===e||(On.isChangebleElement(n)&&On.endFocusTiming(n),"change"!==e.type&&!On.isChangebleElement(n))},interceptFocusIn:function(n){return On.checkTypedContentHasChangedAndUpdate(n),!1},interceptFocusLost:function(n){return null!==n&&null!==n.element&&(On.state.lastFocusData.focusTime&&n.setExtraInfo(n.FOCUS_TIME_ATTR,On.state.lastFocusData.focusTime),V.emit("event:elementChange",n),!!On.isSelectableElement(n.element)||On.checkTypedContentHasChangedAndUpdate(n))},interceptBlur:function(n){return On.state.lastFocusData.focusTime&&n.setExtraInfo(n.FOCUS_TIME_ATTR,On.state.lastFocusData.focusTime),V.emit("event:elementChange",n),On.checkTypedContentHasChangedAndUpdate(n)},checkTypedContentHasChangedAndUpdate:function(n){var e="focus"===n.type||"focusin"===n.type,t="blur"===n.type||"focusout"===n.type,r=n.selectorExpression,i=n.value;if(null===i||E.isUndefined(i))return!1;var o={text:i,markAutoComplete:!1},a=On.state.typableElementsLRUMap.set(r,o),r=E.isUndefined(a);if(r&&t)return!1;if(e&&!r&&a.text!==i&&0<=i.toLocaleLowerCase().indexOf(a.text.toLocaleLowerCase())&&(o.markAutoComplete=!0),t&&!r&&a.markAutoComplete){o=On.state.lastFocusData.prevFocusStartTime;return!E.isUndefined(o)&&E.isNumber(o)&&On.state.lastFocusData.element===n.element?(t=q.currentTimestamp(),n.setExtraInfo(n.FOCUS_TIME_ATTR,t-o)):n.setExtraInfo(n.FOCUS_TIME_ATTR,-1),n.setExtraInfo(n.AUTO_COMPLETE_ATTR,!0),!0}return r||a.text!==i},isMouseEvent:function(n){return n===R.mouseEvents.down||n===R.mouseEvents.up},isTouchEvent:function(n){return"touchstart"===n||"touchend"===n||"touchmove"===n},interceptMouseEnter:function(n){if(On.state.mouseEnterReported)return!1;var e=q.getCoordinate(n.domEvent);return n.setExtraInfo(He.prototype.COORDINATE_ATTR,e),On.removeEventBinding("mouseenter"),On.state.mouseEnterReported=!0,On.page.hasTouch&&!On.touchDetected&&q.isChromeDesktop()&&(On.switchTouchToMouse(),On.page.hasTouch=!1),!0},switchTouchToMouse:function(){On.removeEventBinding("touchstart"),q.isHybridAndroid()?On.removeEventBinding("touchmove"):On.removeEventBinding("touchend");var n=[{type:R.mouseEvents.down,interception:On.interceptClickStart,target:j,logicalName:"mousedown"},{type:R.mouseEvents.up,interception:On.interceptClickEnd,target:j,logicalName:"mouseup"}];On.bindPageEvents(n)},filterHovers:function(e){try{if("undefined"==typeof jQuery||E.isUndefined(jQuery)||E.isUndefined(jQuery._data))return!0;for(var n=e,t=1,r=E.isNumber(H.mhDeepLevel)?H.mhDeepLevel:1;null!==n&&n!==j.body&&t<=r;){var i=jQuery._data(n,"events");if(i&&i.mouseover&&0<i.mouseover.length)return H.mhDebug&&n.id,On.addHoverElement(n),!0;t++,n=n.parentElement}}catch(n){logger.error("Exception while extracting hover information for element : ",e,n.message,n),On.saveClsDebugErrorEvent("filterHovers",n,"element="+(e?e.nodeName:"null"))}return!0},addHoverElement:function(n){On.state.hover.hoverElementList.length<H.mhMaxInMemeoryHovers&&(On.state.hover.hoverElementList.push(n),On.state.hover.hoverStartTimestamp=q.currentTimestamp())},cleanHoverElements:function(){H.mhDebug,On.state.hover.hoverElementList=[],On.state.hover.hoverStartTimestamp=0},filterResize:function(){return q.isOldIE()},interceptResize:function(n){var e=q.getWindowSize(),t=q.getScreenSize(),r=!1;return null===e||null===On.page.windowSize||On.page.windowSize.width===e.width&&On.page.windowSize.height===e.height||(On.page.windowSize=e,r=!0),null===t||null===On.page.screenSize||On.page.screenSize.width===t.width&&On.page.screenSize.height===t.height||(On.page.screenSize=t,r=!0),window.devicePixelRatio!==On.state.dpr&&(window.devicePixelRatio>On.state.dpr?n.setExtraInfo(n.ZOOM,On.zoomType.IN):n.setExtraInfo(n.ZOOM,On.zoomType.OUT),On.state.dpr=window.devicePixelRatio),n.value={},n.value.dpr=On.state.dpr,n.value.window=On.page.windowSize,n.value.screen=On.page.screenSize,r},interceptMouseOver:function(){return!1},interceptClickStart:function(n){return On.botDetector.isActive()&&On.isMouseEvent(n.type)&&On.botDetector.notifyMouseAction(n.domEvent),H.recordHovers&&On.saveHoverEvent(),On.state.clickStart=On.createClickDetailsObject(n),!(On.state.clickStartType="mousedown")},interceptTouchStart:function(n){return On.touchDetected=!0,On.state.clickStartType="touchstart",On.state.clickStart=On.createClickDetailsObject(n),!1},interceptClickEnd:function(n){On.botDetector.isActive()&&On.isMouseEvent(n.type)&&On.botDetector.notifyMouseAction(n.domEvent);var e=!1,t=On.state.clickStart,r=On.createClickDetailsObject(n);if("touchend"===n.type&&t&&r.elPosition&&r.elPosition.left&&Math.abs(parseInt(r.elPosition.left,10)-(parseInt(t.elPosition.left,10)||0))>H.minDragPixels||r.elPosition&&r.elPosition.right&&Math.abs(parseInt(r.elPosition.right,10)-(parseInt(t.elPosition.right,10)||0))>H.minDragPixels||r.elPosition&&r.elPosition.top&&Math.abs(parseInt(r.elPosition.top,10)-(parseInt(t.elPosition.top,10)||0))>H.minDragPixels||r.elPosition&&r.elPosition.bottom&&Math.abs(parseInt(r.elPosition.bottom,10)-(parseInt(t.elPosition.bottom,10)||0))>H.minDragPixels)On.handleDrag(n,t,r),e=!0;else if(t){if(q.isMobile())if(t&&(Math.abs(r.coordinate.x-t.coordinate.x)>H.minDragPixels||Math.abs(r.coordinate.y-t.coordinate.y)>H.minDragPixels))return!1;n.type=On.state.clickStartType,n.value=t,n.timestamp=t.timestamp,n.selectorExpression=t.selector,n.element=t.el,n.setExtraInfo(He.prototype.COORDINATE_ATTR,On.state.clickStart.coordinate),n.setExtraInfo(He.prototype.IS_FIRST_CLICK,!On.firstClickFired),On.firstClickFired||(On.firstClickFired=!0),n.setExtraInfo(He.prototype.IS_CLICKABLE,q.isClickable(n.element)),E.isUndefined(n.element)||(t=q.getElementXYCoordinates(n.element))&&n.setExtraInfo(He.prototype.SYNC_COORDINATE,t),q.isHybrid()&&n.addHybridActionDataItem("start",{x:On.state.clickStart.coordinate.x,y:On.state.clickStart.coordinate.y}),V.emit("event:click",n),n.rageSequence&&n.indexInRage&&(n.setExtraInfo(He.prototype.RAGE_SEQUENCE,n.rageSequence),n.setExtraInfo(He.prototype.INDEX_IN_RAGE,n.indexInRage)),e=!0}return On.state.clickStart=U,On.state.clickStartType=U,e},interceptDragStart:function(n){return On.state.clickStart=On.createClickDetailsObject(n),!(On.state.clickStartType="mousedown")},interceptDragEnd:function(n){var e=On.state.clickStart,t=On.createClickDetailsObject(n);return On.handleDrag(n,e,t),!0},handleDrag:function(n,e,t){var r={duration:e.timestamp?t.timestamp-e.timestamp:-1,start:e.coordinate,end:t.coordinate};n.type="drag",n.value=r,E.isUndefined(n.element)||(r=q.getElementXYCoordinates(e.el))&&n.setExtraInfo(He.prototype.SYNC_COORDINATE,r),q.isHybrid()&&(n.addHybridActionDataItem("start",{x:e.coordinate.x,y:e.coordinate.y}),n.addHybridActionDataItem("end",{x:t.coordinate.x,y:t.coordinate.y}))},interceptUnload:function(n){q.time("unload");var e=performance.now()-On.page.timing.contentInteractiveTime;On.page.timing.contentInteractiveTime&&e<5e3&&On.saveClsDebugErrorEvent("detector.js",{name:"fast unload",message:"Unload happened at "+e/1e3+" second"},""),On.state.unloading=!0,On.segmentManager.onUnload();var t=q.currentTimestamp();On.page.hasTimingAPI||(sessionStorage["gb.lastReferrer"]=m.encodeNumber(t)+"_"+q.Base64.encode(On.page.urlWithoutHash));e=t-On.page.initializationTimestamp;return n.setExtraInfo(n.FOCUS_TIME_ATTR,e),n.setExtraInfo(n.SCROLL_REACH,Math.round(On.state.maxScrollReach)),On.debugHelper.visitUnloadEvent(n),q.timeEnd("unload"),n.timestamp=t,H.passTabIdViaWinName&&sessionStorage["gb.btabid"]&&(window.name?On.saveClsDebugErrorEvent("detector.js",{name:"tabId",message:"window.name was already in use by someone else on this website"},""):window.name="gb.btabid="+sessionStorage["gb.btabid"]+";cls_s="+On.sessionId+";referrer="+j.location.host),!0},updateScrollReach:function(){On.state.maxScrollReach=Math.max(On.state.maxScrollReach,q.getCurrentScrollReach())},interceptScroll:function(n){return"#document"===n.element.nodeName&&On.updateScrollReach(),!0},updateScrollReachValues:function(n){n.value&&(On.scrollReach.height=n.value.height,On.scrollReach.top=Math.max(On.scrollReach.top,n.value.top),On.scrollReach.domElementsCount=n.value.domElementsCount)},shouldReportScrollReach:function(n){return(On.scrollReach.height!==n.value.height||On.scrollReach.top<n.value.top)&&(On.updateScrollReachValues(n),!0)},interceptScrollReach:function(n){var e=!1;return n.value&&"#document"===n.element.nodeName&&(!On.scrollReach.isInfinite&&q.isInfiniteScrollDetected(On,n)?(On.scrollReach.isInfinite=!0,On.updateScrollReachValues(n),e=!0):On.shouldReportScrollReach(n)&&(e=!0),n.value.isInfinite=On.scrollReach.isInfinite),e},filterScrollElements:function(n){return!(null!=n&&"MARQUEE"!==n.nodeName)},interceptMouseMove:function(n){return n.lastSingleMoveTimestamp=n.timestamp,n.setExtraInfo(n.FOCUS_TIME_ATTR,0),!0},createClickDetailsObject:function(n){var e={coordinate:q.getCoordinate(n.domEvent),el:n.element,selector:n.selectorExpression,timestamp:n.timestamp};return q.isMobile()&&(e.elPosition={left:n.element.style?n.element.style.left:"",right:n.element.style?n.element.style.right:"",top:n.element.style?n.element.style.top:"",bottom:n.element.style?n.element.style.bottom:""}),e},shouldListenToKeyEvents:function(){return H.recordEnterForInputs||On.recordAutoCompleteRelatedChars()},recordAutoCompleteRelatedChars:function(){return void 0===On.acCharsSupport&&(On.acCharsSupport=H.recordTypingAll||H.supportNativeAutoComplete||H.recordTypingForAttrs&&0<H.recordTypingForAttrs.length||H.recordTypingForClasses&&0<H.recordTypingForClasses.length||H.recordTypingForIDs&&0<H.recordTypingForIDs.length),On.acCharsSupport},resolveKeyData:function(n){var e=n.domEvent,t=n.element.value,r=n.element,i=e.keyCode||e.charCode;n.value={unicode:i};r=L.isCensored(r);return"keypress"===n.type?13!==i&&8!==i&&9!==i&&("0"!==e.charCode&&(r?n.value={unicode:42}:E.isUndefined(t)||null===t||(n.value.content=t+String.fromCharCode(i)),!0)):"keydown"===n.type&&(38===i||40===i||13===i||9===i?(r||(n.value.content=n.element.value),!0):8===i&&!E.isUndefined(t)&&null!==t&&!r&&(n.value.content=0<t.length?t.substring(0,t.length-1):"",!0))},interceptKeyboard:function(n){var e=n.element;if(!(e&&("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName||"BUTTON"===e.nodeName||"SELECT"===e.nodeName)))return!1;var t,r=n.domEvent.keyCode||n.domEvent.charCode,r=13===r||9===r;if(n.shouldEncodeValue=!1,r&&H.recordEnterForInputs)return On.resolveKeyData(n);if(H.supportNativeAutoComplete&&(e.hasAttribute("autocomplete")||e.hasAttribute("aria-autocomplete")&&"none"!==e.getAttribute("aria-autocomplete")||e.hasAttribute("class")&&q.hasClassName(e,"autocomplete")))return On.resolveKeyData(n);if(H.recordTypingAll)return On.resolveKeyData(n);if(H.recordTypingForAttrs&&0<H.recordTypingForAttrs.length)for(t=0;t<H.recordTypingForAttrs.length;t++)if(e.hasAttribute(H.recordTypingForAttrs[t]))return On.resolveKeyData(n);if(e.hasAttribute("class")&&H.recordTypingForClasses&&0<H.recordTypingForClasses.length&&q.hasOneOfClassNames(e,H.recordTypingForClasses))return On.resolveKeyData(n);var i=q.getElementId(e);if(i&&H.recordTypingForIDs&&0<H.recordTypingForIDs.length)for(t=0;t<H.recordTypingForIDs.length;t++)if(i===H.recordTypingForIDs[t])return On.resolveKeyData(n);return!1},recordAjaxResource:function(n){On.addResource("ajax",n.url,n.timestamp)},addResource:function(n,e,t){t=new Rt(n,e,t);return On.reports.resources.push(t),V.emit("timingResource",t),t},saveEvent:function(n){var e;On.blackoutManager.isUnderBlackout()&&("idle"!==n.type||"idle"===n.type&&!H.blackoutIdleReporting)||this.state.stopped||(e=On.renameEventType(n),On.addEvent(n),_n.setRegisteredDebugInfoOnEvent(n),H.debugMode&&(n.report||H.traceMode)&&On.shouldLog(n.type)&&On.logEvent(n,e),n.report&&(On.state.encryptionReady?V.emit("saveEvent",n):On.encryptionPendingEvents.push(n)))},shouldLog:function(n){return"mousemove"===n?!H.suppressMouseMovesDebug||H.mmDebug:"scroll"!==n||H.scrollDebug},renameEventType:function(n){var e=n.type;return E.isUndefined(n.binding)||E.isUndefined(n.binding.logicalName)||"drag"===n.type||(n.type=n.binding.logicalName),e},logEvent:function(n,e){H.debugMode&&((e=["saving event: "+(n.type===e?n.type:n.type+"("+e+")")+" selector: "+(n.selectorExpression||"")]).push("{value="),e.push(n.value||"NONE"),n.extraInfo&&(e.push("{ extraInfo="),e.push(n.extraInfo)),e.push("}"))},saveDocumentLoadEvent:function(n){var e=On.createEventObject("document",n,null);On.page.url=W.mask(On.page.url),On.page.urlWithoutHash=W.mask(On.page.urlWithoutHash),e.value=On.page,e.shouldEncodeValue=!1,On.page.screenSize=On.uaUtils.captureScreenSize(),On.page.windowSize=On.uaUtils.captureWindowSize(),On.page.title=On.getPageTitle(),On.page.title&&e.setExtraInfo(He.prototype.VISUAL_NAME,On.page.title),void 0!==iframeHelper&&e.setExtraInfo(He.prototype.WINDOW_DEPTH,iframeHelper.tryGetCurrentDepth(window)),e.setExtraInfo(He.prototype.HISTORY_LENGTH,window.history.length),On.pageInfo&&e.setExtraInfo(He.prototype.DEBUG_PAGE_SN,""+On.pageInfo.pageSn);n=q.generateTabId();e.setExtraInfo(He.prototype.DEBUG_BROWSER_TAB_ID,""+n),H.mobileHybridId&&e.setExtraInfo(He.prototype.MOBILE_HYBRID_ID,H.mobileHybridId),H.debounceScrolls&&e.setExtraInfo(He.prototype.SCROLL_DEBOUNCED,!0),On.ect&&e.setExtraInfo(He.prototype.EFFECTIVE_CONNECTION_TYPE,On.ect),On.documentEvent=e,this.debugHelper.visitLoadEvent(e),On.documentEventHook?On.documentEventHook(e,On.onParentHandshakeDone):On.onParentHandshakeDone()},trySendPerformanceEvent:function(){On.state.loaded&&On.state.handshakeDone&&On.resolvePageLoadTime(On.page)},onParentHandshakeDone:function(){On.state.handshakeDone=!0,On.documentEvent&&(On.saveEvent(On.documentEvent),V.emit("event:document")),On.trySendPerformanceEvent()},savePageUpdate:function(){var n=On.createEventObject("pageUpdate",q.currentTimestamp(),null);On.saveEvent(n)},onPageError:function(n){var e;n.eventLimitExceeded||((e=On.createEventObject("error",q.currentTimestamp(),null)).value=n.error,e.shouldEncodeValue=!0,On.saveEvent(e))},saveTitleChanged:function(n){var e=On.createEventObject("titleChanged",q.currentTimestamp(),null);e.value=On.getPageTitle(n),e.shouldEncodeValue=!0,On.saveEvent(e)},saveSegmentChangedEvent:function(n){var e=On.createEventObject("segmentChanged",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e),On.plugins.domRecordingPlugin&&On.plugins.domRecordingPlugin.isStarted()&&setTimeout(function(){On.savePageUpdate()},0)},saveLastSegmentEvent:function(n){var e=On.createEventObject("lastSegment",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},savePageSnapshotEvent:function(n){var e=On.useCurrentTimeForPagesnapshot?q.currentTimestamp():On.page.initializationTimestamp,e=On.createEventObject("pageSnapshot",e,null);e.value=n,e.shouldEncodeValue=!1;n=window.performance&&window.performance.timing;n&&e.setExtraInfo(He.prototype.NAVIGATION_TIMING,JSON.parse(JSON.stringify(n))),On.autoMaskingSignaled&&(e.setExtraInfo(He.prototype.AUTO_MASKING,On.autoMaskingSignaled),On.autoMaskingSignaled=null),On.page.snapshotFuseData&&e.setExtraInfo(He.prototype.SNAPSHOT_FUSE,JSON.stringify(On.page.snapshotFuseData)),On.saveEvent(e)},saveDevToolsChangeEvent:function(n){var e=On.createEventObject("devToolsVisibilityChanged",q.currentTimestamp(),null);e.value=n.value,On.saveEvent(e)},saveDomTamperedEvent:function(n){var e=On.createEventObject("domTampered",q.currentTimestamp(),null);e.element=n.element,void 0!==n.newText&&e.setExtraInfo(He.prototype.CURRENT_VALUE,n.newText),void 0!==n.prevText&&e.setExtraInfo(He.prototype.OLD_VALUE,n.prevText),On.assignSelectorInfo(n.element,e),On.saveEvent(e)},saveStruggle:function(n){var e,t,r=On.createEventObject("webStruggle",q.currentTimestamp(),null);n.errors&&(e=n.errors.join(";"),r.setExtraInfo(He.prototype.ERROR_DATA,e)),n.elementSelector?(r.selectorExpression=n.elementSelector.selector||R.encoding.rootSelector,n.elementSelector.hostSelectorPath&&r.setExtraInfo(He.prototype.HOST_SELECTOR_PATH,n.elementSelector.hostSelectorPath)):(r.element=n.element,On.assignSelectorInfo(n.element,r),H.reportVisualNames&&n.relatedEvent&&(t=H.visualName&&H.visualName.eventsToCalcDistance[n.relatedEvent.type]?(t=n.relatedEvent.getExtraInfo(He.prototype.COORDINATE_ATTR),On.extractVisualName(n.element,t.x,t.y)):On.extractVisualName(n.element))&&r.setExtraInfo(He.prototype.VISUAL_NAME,t)),r.value=n.dataToEncode,r.shouldEncodeValue=!1,On.saveEvent(r)},saveVoc:function(n){var e=On.createEventObject("voc",q.currentTimestamp(),null);e.value=n,On.saveEvent(e)},saveAjaxRequestEvent:function(n){var e=On.createEventObject("ajaxRequest",n.startedAt||q.currentTimestamp(),null);n.ajaxUrls=On.ajaxUrls,e.value=n,e.selectorExpression=n.lastFocusedSelectorInfo?n.lastFocusedSelectorInfo.selector:R.encoding.rootSelector,n.lastFocusedSelectorInfo&&n.lastFocusedSelectorInfo.hostSelectorPath&&e.setExtraInfo(He.prototype.HOST_SELECTOR_PATH,n.lastFocusedSelectorInfo.hostSelectorPath),n.containOnlyMetaData&&e.setExtraInfo(He.prototype.METADATA_ONLY,!0),e.shouldEncodeValue=!1,On.saveEvent(e)},ajaxLimitReached:function(){var n=On.createEventObject("ajaxLimitReached",q.currentTimestamp(),null);On.saveEvent(n)},saveAjaxStatsEvent:function(n){var e=On.createEventObject("ajaxStats",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},saveClsDebugErrorEvent:function(n,e,t){e=On.formatClsDebugMessage(n,e,t);0!==e.length&&((t=On.createEventObject("clsdebug",q.currentTimestamp(),null)).value=e,On.saveEvent(t))},formatClsDebugMessage:function(n,e,t){if(On.state.clsDebugCounter>=H.clsDebugMaxReports)return"";On.state.clsDebugCounter++;e=e?e.stack||e.name+": "+e.message:"";return"CLS Error in "+n+" "+(t?"{"+t+"} ":"")+(0<(e=q.truncateStr(e,H.clsDebugCharsLimit,!0)).length?": "+e:"")},saveValidationError:function(n){var e=On.createEventObject("formValidationError",q.currentTimestamp(),null);e.element=n.element,e.value=n.message,On.assignSelectorInfo(n.element,e),On.saveEvent(e)},saveHoverEvent:function(){var n=On.createEventObject("hover",On.state.hover.hoverStartTimestamp,null);if(0!==On.state.hover.hoverElementList.length){H.mhDebug&&On.state.hover.hoverElementList.length;var e=On.state.hover.hoverElementList;On.cleanHoverElements();for(var t,r={},i=[],o=e.length-1;0<=o;o--)if(t=e[o],r[t=_.getSelectorInfo(t).selector||R.encoding.rootSelector])H.mhDebug;else if(r[t]=!0,i.push(t),i.length>=H.mhMaxListSize){H.mhDebug;break}n.value=e,n.shouldEncodeValue=!1,On.saveEvent(n)}else H.mhDebug},saveCustomEvent:function(n){On.handleCustomEvent("custom",n)},saveCustomMapEvent:function(n){On.handleCustomEvent("customMap",n)},handleCustomEvent:function(n,e){n=On.createEventObject(n,q.currentTimestamp(),null);n.value=e,!E.isUndefined(e.domEl)&&q.isDOMElement(e.domEl)&&(n.element=e.domEl,On.assignSelectorInfo(e.domEl,n)),n.shouldEncodeValue=!1,On.saveEvent(n)},saveThirdPartyMapEvent:function(n){var e=On.createEventObject("thirdpartymap",q.currentTimestamp(),null);e.value=n.value,n.type&&e.setExtraInfo(He.prototype.TP_INTEGRATION_TYPE,n.type),n.element&&(e.element=n.element,On.assignSelectorInfo(n.element,e)),e.shouldEncodeValue=!1,On.saveEvent(e)},saveThirdPartyAttributeEvent:function(n){var e=On.createEventObject("thirdPartyAttribute",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},onDomFuseBlown:function(n){On.page.snapshotEmitted||(On.page.snapshotFuseData=n)},onPageNameResolved:function(n){On.page.name=n},saveABTesting:function(n){var e=On.createEventObject("abTesting",q.currentTimestamp(),null);e.setExtraInfo(He.prototype.PROVIDER_NAME,n.provider),e.value=n.offers,e.shouldEncodeValue=!1,On.saveEvent(e)},saveResourceDataEvent:function(n){var e=On.createEventObject("resourceContent",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},saveCorsDeniedDataEvent:function(n){var e=On.createEventObject("corsDeniedResource",q.currentTimestamp(),null);e.value=n,On.saveEvent(e)},saveClientAttributeEvent:function(n){var e=On.createEventObject("clientAttribute",q.currentTimestamp(),null);e.value=n,e.shouldEncodeValue=!1,On.saveEvent(e)},saveWebVitalsEvent:function(n){var e=On.createEventObject("webVitals",q.currentTimestamp(),null);e.value=n.webVitals,e.setExtraInfo(He.prototype.EFFECTIVE_CONNECTION_TYPE,n.ect),e.setExtraInfo(He.prototype.RTT,n.rtt),e.shouldEncodeValue=!1,On.saveEvent(e)},savePerformanceDataEvent:function(n){var e=On.createEventObject("resourcesWaterfall",q.currentTimestamp(),null);e.value={version:n.version,causedBy:n.causedBy,performance:n.pagePerformance,resources:n.resource},e.setExtraInfo(He.prototype.EFFECTIVE_CONNECTION_TYPE,n.ect),e.setExtraInfo(He.prototype.RTT,n.rtt),e.shouldEncodeValue=!1,On.saveEvent(e)},initializePageDetails:function(){q.time("initializePageDetails");var n=On.page;n.initializationTimestamp=q.currentTimestamp(),n.id=q.uuid(),n.frame=window.self!==top,n.frame&&(n.referrerWithoutHash=q.getReferrerUrlWithoutHash());var e=q.getLocationUrlSplitByHash(H.decodeUri);n.url=e.url,n.urlWithoutHash=e.withoutHash,n.hash=e.hash,n.hasTouch=q.hasTouch(),n.hasTimingAPI=q.hasTimingAPI(),n.title=On.getPageTitle(),q.timeEnd("initializePageDetails")},getPageTitle:function(n){n=q.truncateStr(n||j.title,H.titleCharsLimit,!0);return n=H.maskTitle?q.transformTextSegments(n,z.censorValueOf):n},resolvePageLoadTime:function(n){var e,t;n.hasTimingAPI?On.acquirePerformanceTiming():(t=sessionStorage["gb.lastReferrer"])&&(e=j.referrer.replace(/#.*/,""),t=t.split("_"),e===q.Base64.decode(t[1])&&(t=parseInt(t[0],36),n.timing.total=n.loadTimestamp-t,On.saveTimingEvent({page:n.timing})))},saveTimingEvent:function(n){var e=On.createEventObject("timing",q.currentTimestamp(),window.document);e.value=n,On.page.title&&e.setExtraInfo(He.prototype.VISUAL_NAME,On.page.title),On.saveEvent(e)},savePerformanceEvent:function(n){var e=On.createEventObject("performance",q.currentTimestamp(),window.document);window.performance&&window.performance.timing&&(e.value={perf:{timing:JSON.parse(JSON.stringify(window.performance.timing))},browserTime:n},window.performance.navigation&&(e.value.perf.navigation={redirectCount:window.performance.navigation.redirectCount,type:window.performance.navigation.type}),On.page.title&&e.setExtraInfo(He.prototype.VISUAL_NAME,On.page.title),On.page.name&&e.setExtraInfo(He.prototype.PAGE_NAME,On.page.name),On.ect&&e.setExtraInfo(He.prototype.EFFECTIVE_CONNECTION_TYPE,On.ect),e.shouldEncodeValue=!1,On.saveEvent(e))},acquirePerformanceTiming:function(){var n;0===window.performance.timing.loadEventEnd?window.setTimeout(On.acquirePerformanceTiming,300):(n=q.currentTimestamp()-On.page.initializationTimestamp,On.savePerformanceEvent(n))},isSessionCookieExist:function(){return On.isSessionIdExist},setClientCookies:function(n,e,t){n=kt(new St(window.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),V,N,n,e,H.visitorDaysToExpiration,t);n.isSessionIdExist&&(this.isSessionIdExist=!0),V.emit("sessionCookieSet"),t||!A.isCorsReporting()||!n.changed||(t=On.plugins.cors)&&t.onCookieChanged(e),n.visitorId&&(this.visitorId=n.visitorId),this.sessionId=n.sessionId},setSessionId:function(n){this.sessionId=n,On.setClientCookies({sessionId:n},!0,!0),V.emit("session:setSessionId",n)},onInvalidateSession:function(){V.emit("forceFlush"),On.setClientCookies(U,!0),On.sessionId,On.page.id=q.uuid(),On.page.snapshotEmitted=!1,On.page.snapshotFuseData=U,V.emit("session:new",{sessionId:On.sessionId,visitorId:On.visitorId,pageId:On.page.id,pageName:On.page.name})},registerPlugin:function(n,e){On.plugins[n]=e},removeEventBinding:function(n){for(var e=-1,t=0;t<On.bindings.registered.length;t++){var r=On.bindings.registered[t];r.type===n&&(q.removeEventHandler(r.el,n,r.handler),e=t)}0<=e&&On.bindings.registered.splice(e,1)},removeBindings:function(){E.forEach(On.bindings.registered,function(n){q.removeEventHandler(n.el,n.type,n.handler)}),On.bindings.registered=[],On.bindings.unsupportedEventTypes=[]},getEncoder:function(){return m},supportModeOn:function(n){n=n||!1,On.applySupportMode(),n&&D.set("supportMode",!0)},isSupportModeSession:function(){return void 0!==N.get(R.cookies.supportMode)||D.get("supportMode")},checkSupportModeSession:function(){On.isSupportModeSession()&&On.applySupportMode()},applySupportMode:function(){},asStoppable:function(){var e=this;return{isStopped:function(n){return n&&(e.state.stopped="true"===D.get("stopped")),e.state.stopped},start:function(){return!!e.state.stopped&&(e.state.stopped=!1,D.remove("stopped"),!0)},stop:function(){return!e.state.stopped&&(e.state.stopped=!0,V.emit("recordingStopped"),D.set("stopped","true"),!0)}}}},Rt.prototype.toString=function(){return this.url},At.prototype.toString=function(){return"("+this.x+","+this.y+")"},Bn={inMemoryMovesCounter:0,notifyEventsFlush:function(){Bn.inMemoryMovesCounter=0},diluteEvents:function(n,e,t){if(e){if("resize"===t.type)return!0;if("scroll"===t.type)return"scroll"===e.type||On.page.hasTouch&&"drag"===e.type?!(t.timestamp-e.timestamp>H.minStallingScrollTime)&&(t.selectorExpression=e.selectorExpression,H.scrollDebug&&e.type,!0):!("mousemove"!==e.type||1!==e.value.length||!n||"scroll"!==n.type)&&(!(t.timestamp-n.timestamp>H.minStallingScrollTime)&&(H.scrollDebug,!0));if("mousemove"===t.type&&"mousemove"!==e.type)return!0;if("mousemove"===t.type&&"mousemove"===e.type){var r=H.reportByPost?3e3:H.mmMaxMovesInEventWithTimes,n=H.reportByPost?3e3:H.mmMaxMovesInEventNoTimes;return H.mmRecordTimes&&e.value.length>=r||!H.mmRecordTimes&&e.value.length>=n?(H.mmDebug&&e.value.length,Bn.inMemoryMovesCounter++,!1):!E.isUndefined(H.mmMinStallingMoveTime)&&t.timestamp-e.lastSingleMoveTimestamp>H.mmMinStallingMoveTime?(H.mmDebug&&(t.timestamp,e.lastSingleMoveTimestamp),Bn.inMemoryMovesCounter++,!1):(Bn.checkExceededInMemoryMoves()?H.mmDebug&&H.mmMaxInMemoryMoves:Bn.diluteMoveEvents(e,t)&&Bn.inMemoryMovesCounter++,!0)}}return"mousemove"===t.type&&(Bn.inMemoryMovesCounter++,!0)},checkExceededInMemoryMoves:function(){var n=H.reportByPost?3e3:H.mmMaxInMemoryMoves;return Bn.inMemoryMovesCounter>=n},diluteMoveEvents:function(n,e){var t=E.last(n.value),r=e.value[0],i=e.timestamp-n.lastSingleMoveTimestamp,o=n.getExtraInfo(n.FOCUS_TIME_ATTR);return Math.abs(t.x-r.x)>H.mmDiluteMinPixels||Math.abs(t.y-r.y)>H.mmDiluteMinPixels?(r.t=i,e.setExtraInfo(e.FOCUS_TIME_ATTR,o+=i),e.timestamp=n.timestamp,n.value.push(r),e.value=n.value,H.mmDebug&&e.value,!0):(e.setExtraInfo(e.FOCUS_TIME_ATTR,o),e.timestamp=n.timestamp,e.value=n.value,e.lastSingleMoveTimestamp=n.lastSingleMoveTimestamp,H.mmDebug&&H.mmDiluteMinPixels,!1)},truncateEventsForUnload:function(n){for(var e=[],t=H.mmMaxMovesWithUnload,r=0,i=!1,o=0;o<n.length;o++){var a=n[o];if("mousemove"===a.type){if(r>=H.mmMaxMovesWithUnload){H.mmMaxMovesWithUnload,i=!0;continue}var u=a.value.length,c=Bn.truncateMouseMoveEvent(a,t-r);r+=c,c<u&&(i=!0)}"unload"===a.type&&i&&a.event.setExtraInfo(a.MOVES_TRUNCATED,!0),e.push(a)}return e},truncateMouseMoveEvent:function(n,e){var t=n.value.length;return t<e?t:(n.value=n.value.slice(0,e),e)}},On.checkElementChangebility=function(n){var e=n.nodeName,t=n.type,r=!1,i=!1;switch(e){case"SELECT":i=!0;break;case"TEXTAREA":r=!0;break;case"INPUT":if(null===t)break;switch(t){case"checkbox":case"radio":i=!0;break;case"text":case"password":case"number":case"file":case"url":case"search":case"email":case"date":case"time":case"tel":case"range":case"month":case"week":case"datetime":case"datetime-local":case"color":r=!0}}return{isTypable:r,isSelectable:i}},On.isTypableElement=function(n){return On.checkElementChangebility(n).isTypable},On.isSelectableElement=function(n){return On.checkElementChangebility(n).isSelectable},On.isChangebleElement=function(n){return On.isTypableElement(n)||On.isSelectableElement(n)},void 0!==On&&Nt(On,L),void 0!==On&&H.useExtension&&q.isChromeDesktop()&&On.registerPlugin("extensionManager",new jt(window,On,V,0,H)),Kt.KEY_NAME_EST=R.Storage.BoundKeyPrefix+"est",Kt.KEY_NAME_SN=R.Storage.BoundKeyPrefix+"sn",jn={uriContainsAnyOf:function(n,e){if(!n)return!1;for(var t=0;t<e.length;t++)if(0<=n.indexOf(e[t]))return!0;return!1},tryParseValueMap:function(n,e){for(var t,r,i={},o=n.split("&"),a=!1,u=0;u<o.length;u++)if(2===(t=o[u].split("=")).length)try{if(!e[r=decodeURIComponent(t[0])])continue;i[r]=decodeURIComponent(t[1]),a=!0}catch(n){logger.error("error was detected: "+n)}return a?i:U}},void 0!==On&&(Vn=[],H.interceptThirdPartyAttributes&&Vn.push(new Zt(V)),H.SCIntegration&&(H.SCIntegrationURLsContainList||[]).length&&(H.SCIntegrationKeyList||[]).length&&Vn.push(new function(r,i){var o=q.immutableSet.apply(null,(i=i||{}).keys||[]);this.intercept=function(e){var n,t=(e.src||"").split("?")[1];if(t)try{!jn.uriContainsAnyOf(e.src,i.urlTokens)||(n=jn.tryParseValueMap(t,o))&&r.emit("3rdpartymap:scReport",{value:n})}catch(n){logger.error("Error while checking image "+e.src+" for third party integration: "+n.message,n)}}}(V,{urlTokens:H.SCIntegrationURLsContainList,keys:H.SCIntegrationKeyList})),On.registerPlugin("SCIntegration",new ir(window,V,Vn,{enableOptimizelyIntegration:H.enableOptimizelyIntegration,optimizelyCheckOnSegmentLoad:H.optimizelyCheckOnSegmentLoad,optimizelyUrl:H.optimizelyUrl,abTestingGlobalObject:H.abTestingGlobalObject,enableAdobeAnalyticsIntegration:H.enableAdobeAnalyticsIntegration,adobeRsid:H.adobeRsid,adobeEVarNumber:H.adobeEVarNumber,adobeAPIMaxAttempts:H.adobeAPIMaxAttempts,enableGoogleAnalyticsIntegration:H.enableGoogleAnalyticsIntegration,googleDimensionIndex:H.googleDimensionIndex,googleAPIMaxAttempts:H.googleAPIMaxAttempts,gaMeasurementId:H.googleMeasurementId}))),void 0!==On&&(qn=[H.domRecordEnabled?"domTrackingStarted":"init:loaded"],H.captureGlobalObjectsOnSegmentChange&&qn.push("segmentChanged"),On.registerPlugin("ObjectCapture",new function(e,t,n,r,i){r=r||[];var o=n({emptyStrings:(i=i||{paths:[],captureEmptyStrings:!1}).captureEmptyStrings}),a={captured:[]};function u(n){n&&(t.emit("3rdpartymap:scReport",{value:n}),a.captured.push(n))}i.paths.length&&r.forEach(function(n){t.on(n,function(){u(o.capture(e,i.paths))})}),t.on("api:captureObject",function(n){u(o.toFlatMap(n))}),this.initialize=function(){return!0},this.stats=function(){return a}}(window,V,or,qn,{paths:H.captureGlobalObjects||[],captureEmptyStrings:H.captureGlobalObjectsEmptyStrings}))),void 0!==On&&H.collectVoc&&On.registerPlugin("VoCIntegration",new ur(window,V,{vocObjectMap:H.vocObjectMap,collectUsabillaVoc:H.collectUsabillaVoc,waitForUsabillaObj:H.waitForUsabillaObj,interceptUsabillaUrl:H.interceptUsabillaUrl})),void 0!==On&&cr(On,function(){return Un=Un||function(){if(!H.isDetectorDom)return null;var e=Dr();return{cloneNode:function(n){return e.isDomMasked(n,Jn.SELF_OR_ANY_PARENT,Kn.TEXT)?{innerText:z.censorValueOf(n.innerText)}:{innerText:n.innerText}}}}(),On.plugins.domRecordingPlugin?On.plugins.domRecordingPlugin.getNodeCloner():Un},H),void 0!==On&&On.registerPlugin("workerLoader",new sr(self,V,H)),fr.extractTLD=function(n){var e=n.split(".");return e.shift(),0<e.length?e.join("."):n},dr.getEntryKey=function(n){return n.url.split("?")[0]+"_"+n.method+"_"+n.segment+"_"+n.queryHash},hr.prototype.hasGzipContentEncoding=function(){if(this.resHeaders)for(var n=this.resHeaders.entries(),e=n.next();!e.done;){if("content-encoding"===e.value[0].toLowerCase()&&"gzip"===e.value[1].toLowerCase())return!0;e=n.next()}return!1},hr.prototype.captureContent=function(){return this.responseText},hr.prototype.fixHeaders=function(){if(!this.resHeaders||!this.resHeaders.forEach)return"";var t="";return this.resHeaders.forEach(function(n,e){"transfer-encoding"===e.toLowerCase()&&"chunked"===n.toLowerCase()||(t="content-length"===e.toLowerCase()?t+"X-Glassbox-Orig-Content-Length: "+n+"\r\n":t+e+": "+n+"\r\n")}),this.masking.response&&(t+="X-Glassbox-JSMasking: "+this.masking.response+"\r\n"),t},vr.prototype.hasGzipContentEncoding=function(){return null!==/content-encoding:\sgzip/gi.exec(this.resHeaders||"")},vr.prototype.captureContent=function(){return"json"===this.xhr.responseType||this.resContentType&&-1!==this.resContentType.indexOf("json")?this.ajaxMasker.getJsonContent(this,"response",this.xhr.response):"string"==typeof this.xhr.response?this.ajaxMasker.maskText(this,"response",this.xhr.response):null},vr.prototype.fixHeaders=function(){var n=(n=(this.resHeaders||"").replace(/transfer-encoding:\schunked/gi,"X-Glassbox-Orig-Transfer-Encoding: chunked")).replace(/content-length:/gi,"X-Glassbox-Orig-Content-Length:");return this.masking.response&&(n=n.trim(),n+="\r\nX-Glassbox-JSMasking: "+this.masking.response+"\r\n"),n},vr.prototype.onCompleted=function(){var n=q.currentTimestamp();this.consumed=!0,this.status=this.xhr.status,this.statusText=this.xhr.statusText,this.resHeaders=this.xhr.getAllResponseHeaders(),this.resContentType=this.xhr.getResponseHeader("Content-Type"),this.contentLength=this.xhr.getResponseHeader("Content-Length"),this.duration=n-this.startTime,this.endTime=n,this.responseType=this.xhr.responseType,this.response=this.xhr.response,this.responseText=this.xhr.responseType&&"text"!==this.xhr.responseType?U:this.xhr.responseText},pr.safeEncodeURI=function(e){try{return e===decodeURI(e)?encodeURI(e):e.replace(/\s/g,"%20")}catch(n){return encodeURI(e)}},pr.nextSn=(Hn=0,function(){return Hn++}),void 0!==On&&void 0!==H&&H.interceptAjax&&(Vn={allow:function(){return!0}},-1!==H.ajaxRecordSessionLimit&&(window,zn=V,Wn=D,Gn=H.ajaxRecordSessionLimit,Xn=Gn<=yr(),Vn={allow:function(){var n=yr(),e=++n<=Gn;return e||Xn||(zn.emit("ajax:limitReached"),Xn=!0),Wn.set("xhr.cnt",n),e}}),qn=new rt(new function(){function i(n){return new RegExp(n,"g")}function o(n,e){return z.censorValueOf(e,0,n)}function e(n,e){for(var t=[],r=0;r<n.length;++r)n[r].type.toLowerCase()===e&&(n[r].replace?t.push({search:i(n[r].search),replace:n[r].replace}):t.push({search:i(n[r].search),replaceChar:n[r].replaceChar||"*"}));return t}this.jsonField=function(n){var o=e(n,"jsonfield");return function(n,e,t){for(var r=0;r<o.length;++r)if(o[r].search.test(n)){var i=e+"";return t&&(t.masked=!0),o[r].replace||z.censorValueOf(i,0,o[r].replaceChar)}return e}},this.pattern=function(n){var r=e(n,"pattern");return function(n,e){for(var t=0;t<r.length;++t)n=r[t].replace?n.replace(r[t].search,r[t].replace):n.replace(r[t].search,o.gbBind(null,r[t].replaceChar||"*")),e&&(e.masked=!0);return n}}},{requestRules:H.ajaxMaskRequestBody,responseRules:H.ajaxMaskResponseBody}),On.registerPlugin("ajaxInterceptor",new pr(window,kn,V,_,Vn,qn,j.location.host,W,H,["adrum","dynatrace","appdynamics.com","tealeaf","/retail/discountinternet/portal/coex.asmx/keepalive","oauth/cc"]))),void 0!==On&&On.registerPlugin("errors",new function(n,t,e){var r=(e=e||{}).maxRecordedCountPerError||-1,i={interceptedErrors:0,interceptedConsoleErrors:0,limitExceededErrors:0,emittedPageEvents:0},o={},a=-1===r?function(){return!0}:function(n){n=n.substring(0,30);return o[n]=(o[n]||0)+1,o[n]<=r};function u(n){var e=!a(n);t.emit("pageError",{error:n,eventLimitExceeded:e}),e?i.emittedPageEvents++:i.limitExceededErrors++}function c(n){var e="";"string"==typeof n.message&&(e+=n.message),"string"==typeof n.url?e+="; URL: "+n.url:"string"==typeof n.filename&&(e+="; FILE: "+n.filename),"number"==typeof n.lineno&&(e+="; L: "+n.lineno),"number"==typeof n.colno&&(e+="; C: "+n.colno),e&&(i.interceptedErrors++,u(e))}function s(n){i.interceptedConsoleErrors++,u((n||[]).join(" "))}this.initialize=function(){e.recordErrors&&q.addEventHandler(n,"error",c),e.recordConsoleErrors&&Dt({error:s})},this.stats=function(){return i}}(window,V,H)),void 0!==On&&On.registerPlugin("cors",new Tr(V,q,Dn.createXMLHTTPObject,A,D,N,new Cr(V,new St(window.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),On.asStoppable()),new Sr(V,On.setSessionId),H)),void 0!==On&&On.registerPlugin("naming",new kr(j,V,{pageNameEnabled:H.pageNameResolvingEnabled,pageNameByElements:H.pageNameResolvingByElements||[]})),Mr(R,new St(window.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),function(e,t,r){try{var i=Dn.createXMLHTTPObject(!0);i||r("Failed creating XHR object for fetching external configuration"),i.onreadystatechange=function(){var n;4===i.readyState&&(200===i.status?(n=i.getResponseHeader("Content-Type"))&&-1!==n.indexOf("application/json")&&t(i.response):(n="Failed getting external configuration for url : "+e+" status:"+i.status+"  "+i.statusText,r(n)))},i.open("GET",e,!0),i.onprogress=function(){},i.ontimeout=function(){},i.onerror=function(){},setTimeout(function(){try{i.send()}catch(n){logger.error("Failed sending request to url "+e+": "+n.message,n)}},0)}catch(n){logger.error(s+n.message,n),console.log("Failed getting external configuration for url: "+e+": "+n.message,n),r(n.message)}},new Rr(q.Base64),V,H),Jn={SELF:{follow:function(n,e){return n&&n.nodeType===Node.ELEMENT_NODE&&q.elementMatches(n,e)}},SELF_OR_ANY_PARENT:{follow:function(n,e){for(var t=n;t;){if(t.nodeType===Node.ELEMENT_NODE&&q.elementMatches(t,e))return!0;t=t.parentNode}return!1}},SELF_OR_ANY_CHILD:{follow:function(n,e){if(n){if(n.nodeType===Node.ELEMENT_NODE&&q.elementMatches(n,e))return!0;if("function"==typeof n.querySelector)return!!n.querySelector(e)}return!1}}},Ar.prototype.isAttributeMasked=function(n,e){return!(!this._maskedAttributesTags[n.tagName]||!(this._maskedAttributes[e]||this._maskDataAttributes&&0===e.indexOf("data-"))||n.hasAttribute&&n.hasAttribute(this._ignoreMaskByAttribute))},Ar.prototype.isDomMasked=function(n,e){for(var t,r,i=Array.prototype.slice.call(arguments,2),o=0;o<i.length;o++){if(t=!!(t=this._selectorsByMaskingType[i[o]].selector)&&e.follow(n,t),r=this._selectorsByMaskingType[i[o]].doInvert,t)return!r;if(r)return!0}return!!r},Ar.prototype.createContextUpdater=function(i){var o=this,a=this._domMaskingMode===R.censorMode.WhiteList,u={},c=[];function s(n,e){c.push(n),e.maskText=n}return{onStart:function(n,e){if(s(!o._unmaskableTags[n.tagName]&&o.isDomMasked(n,Jn.SELF_OR_ANY_PARENT,Kn.TEXT),e),n.querySelectorAll){e=o._selectorsByMaskingType[Kn.TEXT].selector;if(e)for(var t=n.querySelectorAll(e),r=0;r<t.length;r++)u[i.idOf(t[r])]=!0}},onEnterElement:function(n,e){var t=c[c.length-1],r=i.idOf(n);if(u[r]){r=!a&&!o._unmaskableTags[n.tagName];if(r!==t)return s(r,e),!0}return!!(t&&o._unmaskableTags[n.tagName]||t&&n.hasAttribute&&n.hasAttribute(o._ignoreMaskByAttribute))&&(s(!1,e),!0)},onLeaveElement:function(n,e){c.pop(),e.maskText=c[c.length-1]},onEnd:function(){u={},c=[]}}},Kn={TEXT:"TEXT",ATTRIBUTE:"ATTRIBUTE",VALUE_ATTRIBUTE:"VALUE_ATTRIBUTE",OMIT:"OMIT"},Ar.prepareWildCardSelector=function(n,e){n=""===n[0]?"["+e+"$='"+n[1]+"']":""===n[1]?"["+e+"^='"+n[0]+"']":"["+e+"^='"+n[0]+"']["+e+"$='"+n[1]+"']";return n},_r.prototype.maskCookie=function(n){if(!n||!this._cookieMaskSet)return n;for(var e,t,r,i=n.split(";"),o=[],a=0;a<i.length;a++)-1!==(r=(e=i[a]).indexOf("="))?(t=e.substring(0,r).trim(),r=e.substring(r+1),o.push(t+"="+(r&&this._cookieMaskSet.hasOwnProperty(t)?z.censorValueOf(r):r))):o.push(e);return o.join("; ")},Or.prototype.isDomEncrypted=function(n,e){return e.follow(n,this._encryptionSelector)},Or.prototype.encrypt=function(e){if(this._shouldFallback)return q.transformTextSegments(e,this._maskingUtils.censorValueOf);if(!this._encryptionUtils.isAvailable())return this._shouldFallback=!0,logger.error("encryption not available, switching to fallback."),this._events.emit("clsDebug","encryption not available, switching to fallback"),q.transformTextSegments(e,this._maskingUtils.censorValueOf);try{return this._encryptionUtils.censorValueOf(e)}catch(n){return logger.error("failed encrypting text, switching to fallback: "+n.message,n),this._events.emit("clsDebug","Error: failed encrypting text. Switching to fallback"),this._shouldFallback=!0,q.transformTextSegments(e,this._maskingUtils.censorValueOf)}},Or.prototype.createContextUpdater=function(i){var o=this,a={},u=[];function c(n,e){u.push(n),e.encryptText=n}return{onStart:function(n,e){if(c(!o._unEncryptableTags[n.tagName]&&o.isDomEncrypted(n,Jn.SELF_OR_ANY_PARENT),e),n.querySelectorAll){e=o._encryptionSelector;if(e)for(var t=n.querySelectorAll(e),r=0;r<t.length;r++)a[i.idOf(t[r])]=!0}},onEnterElement:function(n,e){var t=u[u.length-1],r=i.idOf(n);if(a[r]){r=!o._unEncryptableTags[n.tagName];if(r!==t)return c(r,e),!0}return!(!t||!o._unEncryptableTags[n.tagName])&&(c(!1,e),!0)},onLeaveElement:function(n,e){u.pop(),e.encryptText=u[u.length-1]},onEnd:function(){a={},u=[]}}},Fr.prototype={next:function(){for(var n=this._node.childNodes[++this._childIndex];n&&!this._predicate(n);)n=this._node.childNodes[++this._childIndex];return n}},Br.SHOW_ALL=0,Br.SHOW_ELEMENTS=1,Kr.prototype.toString=function(){return"seq:"+this.seq+"referrer"+this.referrer+"charset:"+this.charset+"cookie-len"+(this.cookie?this.cookie.length:0)+(20<this.html.length?"html length: "+this.html.length:"html: "+this.html)},Yr.prototype.onNodeAdded=function(n){this.addedNodes[n]=!0},Zr.propertyForElement=function(n){if("SELECT"===n.tagName)return"selectedIndex";if("TEXTAREA"===n.tagName)return"value";if("INPUT"!==n.tagName)return U;n=n.getAttribute("type")&&n.getAttribute("type").toLowerCase();return!n||"checkbox"!==n&&"radio"!==n?"value":"checked"},Zr.defaultValue=function(n,e){if("checked"===e)return n.hasAttribute("checked");if("selectedIndex"===e){var t=n.querySelector("option[selected]");return t?t.index:null!==n.querySelector("option")?0:-1}n=n.getAttribute(e);return n||"value"!==e?n:""},void 0!==On&&H.domRecordEnabled&&(H.valueMaskingMode,R.censorMode.WhiteList,H.domMaskingMode,R.censorMode.WhiteList,$n={},Ee=Dr(),Se=new Or(V,Qn,z,et(),{domEncryptIds:H.domEncryptById,domEncryptClasses:H.domEncryptByClass}),Yn=new ti(window,V,F,L,P,Ee,Se,$n,H),Qn=fi(window,V,j,Yn.isNodeAccepted,{semiDomEnabled:H.semiDomEnabled,domIE11ForceMutationObserver:H.domIE11ForceMutationObserver,domTamperingDetectionEnabled:H.domTamperingDetectionEnabled,domThrottle:H.domThrottleChanges,domThrottleIEOnly:H.domThrottleChangesIE11Only,delayDomMutationEvent:H.delayDomMutationEvent,domFilterAttributes:H.domFilterAttributes,domIgnoreAttributes:H.domIgnoreAttributes,domIgnoreChangesById:H.domIgnoreChangesById,domIgnoreChangesByClass:H.domIgnoreChangesByClass}),Zn=function(n,e){for(var t=0;t<e.length;t++)if(-1!==n.indexOf(e[t]))return!0;return!1}(j.location.href,H.domPartialWhenLocationContains||[]),On.registerPlugin("domRecordingPlugin",new li(window,V,Qn,Yn,F,Ee,Se,0,L,0,function(n,e){On.saveClsDebugErrorEvent("domPlugin",{name:e,message:n})},$n,{triggers:H.domNewPageTriggers,ajaxTriggers:H.domNewPageAjaxTriggers,onLoadTimeoutReport:H.domStartAfter,updateOnWsCount:H.domUpdateEveryWsMsgIn,compressionEnabled:H.domCompress,ignoredFormElements:H.domIgnoredFormElements,recordCssRules:H.domRecordCssRules,maskCookies:H.maskCookies,recordShadowDom:H.recordShadowDom,preciseStyleSheetCloning:H.domPreciseStyleSheetCloning,includeSelectorOnUpdate:H.domIncludeSelectorOnUpdate,removeBase64ImageDataTagNames:H.removeBase64ImageDataTagNames,recordAnimation:H.recordAnimation,enableAdoptedCss:H.enableAdoptedCss,snapshotImmediatePages:H.snapshotImmediatePages,snapshotWaitForElement:H.snapshotWaitForElement,delaySnapshotAfterElementFound:H.delaySnapshotAfterElementFound,checkVisibility:H.checkVisibility,reTakeSnapshotAfterTime:H.reTakeSnapshotAfterTime,elMustBeShown:H.snapshotWaitForElementMustShown,allowWaitForElementsUrls:H.allowWaitForElementsUrls,encodeReferrer:H.enableEncodeSnapshotReferrer}))),void 0!==On&&(Yn=new Ft({},function(n,e,t,r){t?(V.emit("removeFromStorage",{pageId:n,beaconData:e}),V.emit("beacon:sent",e.sn)):V.emit("beacon:failed",{sn:e.sn,status:r})}),Zn=function(n){V.emit("handleGatewayResponse",n)},$n=Je(m,navigator,O,A.isCorsReporting(),H),Zn=H.externalReporting?new Er($n,new Ct(V,R.detectorVersion,H.reportAddUriParams,!0),window[H.externalReporterObject],logger,Yn.onReporterMessage.gbBind(Yn),Zn,On.asStoppable(),H):H.reportByPost||H.domRecordEnabled||"undefined"==typeof createHttpGetReporter?new br($n,new Ct(V,R.detectorVersion,H.reportAddUriParams,!0),Dn,logger,Yn.onReporterMessage.gbBind(Yn),Zn,H,V):createHttpGetReporter(),On.registerPlugin("reporter",new function(t,r,n,e,i){var o,a={count:0,flushedBytes:0,encodingErrors:[]},u=new Vt(t);function c(n){var e;o.flush(),i.reportCreateSubSessionCookie&&(e=q.uuid(),N.set(R.cookies.sub_session,e),n.cookie=j.cookie,t.emit("session:newSubSessionId",{pageSnapshotSN:n.seq,subSessionId:e}))}Xt(window,t,u,a,i),o=window!==window.top&&window.MessageChannel&&i.reportViaTopWindow?new Yt(t,function(){return On},new Ir(window),u,new Kt(window.sessionStorage,new Rr(q.Base64)),i):new Qt(t,r,e,new wr(V,{},1e3),u,new Bt(e,n,r,a,i),new Kt(window.sessionStorage,new Rr(q.Base64)),a,i),this.initialize=function(n,e){if(!E.isUndefined(i.reportURI)&&0!==i.reportURI.length)return i.reportByPost,r.name,i.reportCompress,r.supportsCompression,t.on("pageSnapshot:report",c),!0;console.log("ERROR[EyeView-1401]: Detector script is missing configuration for 'reportURI'. Please add it.")},this.stats=function(){return a}}(V,$n,Yn,Zn,H))),void 0===On||void 0===H||q.isMobile()||!H.domTamperingDetectionEnabled||"undefined"==typeof MutationObserver&&"undefined"==typeof WebKitMutationObserver||On.registerPlugin("domTamperingPlugin",new hi(window,V,F,{graceTime:H.domTamperingGraceTime,domTamperingIgnorePages:H.domTamperingIgnorePages,ignorableTags:H.domTamperingIgnorableTags})),ne=window,ee=void 0!==H&&H.iframesDebugEnabled,te=ne.top!==ne,iframeHelper={MAX_DEPTH_THRESHOLD:20,tryGetCurrentDepth:function(n){var e=0,t=n;try{for(;t.parent!=t&&e<=this.MAX_DEPTH_THRESHOLD;)t=t.parent,e++}catch(n){return logger.error("could not retrieve current window's depth (a CORS issue?). error:"+n),-1}return e>this.MAX_DEPTH_THRESHOLD?(this.MAX_DEPTH_THRESHOLD,-1):e},isCrossOriginFrame:function(n,e){try{if(!n.contentWindow)return!0;var t=n.getAttribute("src");if("about:blank"===t)return!1;if(!t)return!1;var r=q.extractOrigin(t);return r?e!==r:!1}catch(n){return!0}},isEmpty:function(n){return!(n.contentDocument&&n.contentDocument.body.hasChildNodes())},logError:function(){var n=Array.prototype.slice.call(arguments);return"string"==typeof n[0]&&(n[0]="[frame.debug] "+(te?"FRAME ("+ne.location.href+")":"TOP")+"  "+n[0]),ee?console.log.apply(console,n):logger.error(n)},logDebug:function(){var n=Array.prototype.slice.call(arguments);return"string"==typeof n[0]&&(n[0]="[frame.debug] "+(te?"FRAME ("+ne.location.href+")":"TOP")+"  "+n[0]),ee&&logger.log(n)}},re={hidden:function(n){return!(!n||!n.style||"none"!==n.style.display)}},void 0!==On&&H.iframesRecordEnabled&&(ie=function(n){return""+F.idOf(n)},oe=function(n,e,t,r){if((r=r||{}).directChannel)return mi(n,e,t);if(r.directChannelWhenUriContainer)for(var i=0;i<r.directChannelWhenUriContainer.length;i++)if(0<=n.location.href.indexOf(r.directChannelWhenUriContainer[i]))return mi(n,e,t);return vi(n)}(window,On,i,{directChannel:H.iframesDirectChannel,directChannelWhenUriContainer:H.iframesDirectChannelWhenUriContains}),On.registerPlugin("iframes",function(){Ti(V,On.blackoutManager,{suspendReportingWhenLocationContains:H.iframesBlackoutWhenLocationContains});var n=new Ii(V),e=new wi(window,oe,H.iframesParentOrigin),t=new yi(window,oe),r=new Ei(V,function(){return On.plugins.domRecordingPlugin},On.savePageUpdate.gbBind(On),On.blackoutManager,n,function(n){V.emit("parentWindowInfo",n)},function(n){V.emit("iframePortReceived",n)});return new ki(window,V,n,new Ci(j,V,H.framesetRecordEnabled),new gi(window,j,V,F),R.detectorScript?new pi(j,H,R.detectorScript,i,{skipHidden:H.iframesSkipHidden,forceDirectChannel:"direct"===oe.name,skipWhenLocationContains:H.iframesSkipWhenLocationContains,injectionMode:H.iframesAutoInjectMode}):U,new bi(window,e,t,r,{disabled:H.iframesDisableNotifications,framesetRecordEnabled:H.framesetRecordEnabled}),On.blackoutManager,new Si(j,On.page,On.blackoutManager,e,t,ie,On,{mscTimeout:H.iframesHandshakeTimeout,framesetRecordEnabled:H.framesetRecordEnabled}),0,ie,function(n,e,t){t=t||{containerIdKey:"containerId",parentPageIdKey:"pageId"};var r,i,o,a=!1;function u(){a||(o[t.containerIdKey]&&r.setExtraInfo(t.containerIdKey,o[t.containerIdKey]),o[t.parentPageIdKey]&&r.setExtraInfo(t.parentPageIdKey,o[t.parentPageIdKey]),i(),a=!0)}return n.on("event:unload",function(){r&&(o={},u())},U,-100),e.documentEventHook=function(n,e){r=n,i=e,o&&u()},function(n,e){o={parentPageId:n,containerId:e},r&&i&&u()}}(V,On,{parentPageIdKey:He.prototype.PARENT_PAGE_ID,containerIdKey:He.prototype.CONTAINER_ID}),{skipHidden:H.iframesSkipHidden,autoInject:H.iframesAutoInject})}())),void 0!==On&&void 0!==H&&H.collectStruggles&&On.registerPlugin("strugglesPlugin",(ae=window,ue=V,ce=F,se=P,fe=_,de=window!==window.top,le=On.isSessionCookieExist,ge={},pe=Ri(ce,ue,Ni,he=H,ae),ye=Ai(ae,Ni,le),we={checkXhr:function(n){(0===n.status&&!n.aborted||400<=n.status)&&ve({elementSelector:n.lastFocusedSelectorInfo,dataToEncode:{type:"ajaxError",xhrStatus:n.status,url:n.url,sn:n.sn}})}},de=Mi(ae,ve=Ni,ue,{horizontalScrollbar:he.struggleCaptureHorizontalScrollbar,blankPage:!de&&he.struggleCaptureBlankPage}),se.setListener(de.handleNode),{initialize:function(){ue.on("init:loaded",Di),ue.on("event:click",Bi),ue.on("ajax:end",ji),ue.on("sessionCookieSet",_i),he.collectFormStruggles&&(ge=xi(ae,ce,Ni,fe,{maxFocusTime:he.struggleMaxLongFocusTime}),ue.on("event:submit",Oi),ue.on("event:keyup",Li),ue.on("event:elementChange",Fi),ue.on("event:unload",Pi))}})),void 0!==On&&window===window.top&&H.devToolsDetectionEnabled&&!q.isMobile()&&(be=/firefox/i.test(navigator.userAgent)?new function(n,e){var t=!1,r=n.outerHeight,i=n.innerHeight,o=n.outerWidth,a=n.innerWidth;function u(){t||(n.outerHeight===r&&150<n.Math.abs(n.innerHeight-i)?(e.emit("devToolsVisibilityChanged",{value:!0,size:"oh_"+n.outerHeight+"_ih_"+n.innerHeight}),t=!0):n.outerWidth===o&&150<n.Math.abs(n.innerWidth-a)?(e.emit("devToolsVisibilityChanged",{value:!0,size:"ow_"+n.outerWidth+"_iw_"+n.innerWidth}),t=!0):n.outerHeight!==r?(r=n.outerHeight,i=n.innerHeight):(o=n.outerWidth,a=n.innerWidth))}this.startDetecting=function(){e.on("window:resize",u)}}(window,V):new Ui(window,V,{consoleMessage:H.devToolsDetectionMessage}),On.registerPlugin("devToolsTrackingPlugin",new function(n){n.startDetecting(),this.initialize=function(){}}(be))),H.recordShadowDom&&H.domRecordEnabled&&window.ShadowRoot&&(be=new bt(H),On.registerPlugin("shadowDomPlugin",new qi(window,0,V,L,On.plugins.domRecordingPlugin,be,{semiDomEnabled:H.semiDomEnabled,domIgnoredFormElements:H.domIgnoredFormElements,domIE11ForceMutationObserver:H.domIE11ForceMutationObserver}))),void 0!==On&&window.performance&&void 0!==window.performance.getEntriesByType&&void 0!==window.MutationObserver&&On.registerPlugin("resourceRecorderPlugin",new Gi(window,V,new Rr(q.Base64))),void 0!==On&&H.webVitalsRecordEnabled&&On.registerPlugin("webVitalsPlugin",new function(n){var e=new Ji(window,n);xr(e),n.on("init:loaded",e.track.bind(e)),n.on("event:unload",e.report.bind(e)),this.initialize=function(){}}(V)),H.reportValidationErrors&&On.plugins.domRecordingPlugin&&On.registerPlugin("formValidationPlugin",new Ki(window,V,F,On.plugins.domRecordingPlugin.getNodeVisitor(),{domFormValidationTracking:H.domFormValidationTracking,redComponentMin:H.domFormValidationRedComponentMin,redComponentDelta:H.domFormValidationRedComponentDelta,submitIds:H.domFormValidationSubmissionIds,allowFormLevel:H.domFormViolationsAllowFormLevel,considerBG:H.domFormValidationConsiderBG,additionalTagNames:H.domFormValidationAdditionalTagNames,ignorableText:H.domFormValidationIgnorableText,ignorableTags:H.domFormValidationIgnorableTags,ignorablePages:H.domFormValidationIgnorePagesPredicates,urlsRegexToCheck:H.domFormValidationCheckUrls,titleRegexStringToCheck:H.domFormValidationTitlesToCheck})),H.clientAttributesEnabled&&void 0!==On&&(Ee=(Ee=On.plugins.domRecordingPlugin&&On.plugins.domRecordingPlugin.getDomMasker())||{isDomMasked:function(){return!1}},Se=(Se=On.plugins.domRecordingPlugin&&On.plugins.domRecordingPlugin.getDomEncryptor())||{isDomEncrypted:function(){return!1}},On.registerPlugin("attributePlugin",new Zi(V,new function(f,d,i,o,a,l){var h={},v=[],u=["name","pageUrl","selector","accessorMethod","accessor"],e=!1,m={masked:0,reported:0,configured:0,configurationLastUpdatedAt:0,badRules:0,evalRoundsCount:0,evalDurationTotalMsc:0,evalDurationAverageMsc:0,reportsByRule:{},rulesList:[]};function t(n){for(var e,t=0;t<n.length;t++)(e=function(n){for(var e=0;e<u.length;e++)if(!n[u[e]])return;if(a[n.accessorMethod]&&o.isValidSelector(n.selector)){var t,r=n.pageUrl;n.pageHash&&(r+=("#"===n.pageHash.charAt(0)?"":"#")+n.pageHash);try{t=new RegExp("^"+r.split("*").join(".*")+"$")}catch(n){return void logger.error("Exception occurred during parsing regular expression. Error: "+n.message,n)}return n.selector=n.selector.replace(/\s*>\s*/g,">"),new i(n,o,a,t)}}(n[t]))&&v.push(e);m.configured=n.length,m.badRules=n.length-v.length}function c(n,e){try{for(var t,r=f.location.href,i={},o=0;o<v.length;o++){var a,u=Date.now(),c=v[o].evaluate(n,r,e,i,function(n){var e;return function(){return e=e||_.getSelectorInfo(n,!1).selector}}(n)),s=Date.now();m.evalDurationTotalMsc+=s-u,m.evalRoundsCount++,m.evalDurationAverageMsc=m.evalDurationTotalMsc/m.evalRoundsCount,t=v[o].getRuleName(),c&&c.val&&h[t]!==c.val&&(c.isMasked()?m.masked++:(a=v[o].getRuleMaxLength()||l.clientAttributeMaxLength,d.emit("clientAttribute",{name:t,val:c.val.substring(0,a)}),m.reportsByRule[t]=(m.reportsByRule[t]||0)+1,m.reported++),h[t]=c.val)}}catch(n){logger.error("Exception occurred during rule evaluation. Error: "+n.message,n)}}d.on("domMutation",function(n){var e="characterData"===n.type,t=!e&&"attributes"===n.type,r=e?n.target.parentNode:n.target;e||"childList"!==n.type||(e=1===n.addedNodes.length&&n.addedNodes[0].nodeType===Node.TEXT_NODE),r&&c(r,e||t)}),d.on("init:loaded",function(){c(f.document,!1),e=!0}),this.processRules=function(n){h={},m.configurationLastUpdatedAt=q.currentTimestamp(),q.assign(m.rulesList,n),t(n),e&&c(f.document,!1)},this.getStats=function(){return m},this.evaluateAttributes=function(){c(f.document,!1)}}(window,V,no,Et(window.document),$i(Ee,Se,L,{domMaskedAttributes:H.domMaskedAttributes,domMaskAttributesByTag:H.domMaskAttributesByTag,domMaskIgnoreAttribute:H.domMaskIgnoreAttribute,valueMaskIgnoreAttribute:H.valueMaskIgnoreAttribute}),{clientAttributeMaxLength:H.clientAttributeMaxLength})))),no.prototype.matchPattern=function(n){return this._urlRegexp.test(n)},no.prototype.getRuleName=function(){return this._rule.name},no.prototype.getRuleMaxLength=function(){return this._rule.maxLength},no.prototype.evaluate=function(n,e,t,r,i){if(this.matchPattern(e)){e=r[this._rule.selector];if(e||(t?this._elementResolver.matches(n,this._rule.selector)&&(e=n):e=this._elementResolver.querySelector(n,this._rule.selector)),!e&&this._isHierarchical){i=i();if(q.startsWith(this._rule.selector,i)){i=this._rule.selector.substring(i.length+1);if(i)try{t?this._elementResolver.matches(n,i)&&(e=n):e=this._elementResolver.querySelector(n,i)}catch(n){}}}if(e)return r[this._rule.selector]=e,this._accessors[this._rule.accessorMethod](e,this._rule.accessor)}},to.KEY_NAME=R.Storage.BoundKeyPrefix+"aid",void 0!==On&&(Ce=new St(window.localStorage,{keysPrefix:R.Storage.UnboundKeyPrefix}),Se=new Rr(q.Base64),On.registerPlugin("gatewayPlugin",new io(V,{configuration:new eo(V,Se,Ce),aid:H.reportPreferSendBeaconAPI&&ht.isSupported()?{handle:function(){}}:new to(V,window.sessionStorage),commands:new function(){this.handle=function(n,e){}},clse:new ro(V,Se,Ce)}))),n[i]=(Ie=(Te=On).asStoppable(),ke=V,xe=H.debugMode,Me=["config","page","plugins","blackoutManager","version","triggerMessage","sessionId","visitorId"],Re=q.shallowExtend(xe?Te:{},{triggerCustomEvent:function(n,e,t){n&&"string"==typeof n&&ke.emit("customEvent",{name:""+n,val:""+e,domEl:t})},triggerCustomEventMap:function(n,e,t){n&&"string"==typeof n&&e&&"object"==typeof e&&0!==Object.keys(e).length&&ke.emit("customMapEvent",{name:""+n,val:e,domEl:t})},trigger3rdPartyMap:function(n){ke.emit("api:captureObject",n)},isRecording:function(){return!(Ie&&Ie.isStopped())},startRecording:function(){Ie&&Ie.start()},stopRecording:function(){Ie&&Ie.stop()},invalidateSession:function(){ke.emit("invalidateSession"),oo(Re)},flush:function(){ke.emit("forceFlush"),ke.emit("iFramesForceFlush")},triggerABTestingEvent:function(n,e,t,r,i){n&&r&&i&&e&&t?"string"==typeof n&&"string"==typeof r&&"string"==typeof i&&"string"==typeof e&&"string"==typeof t?ke.emit("abTesting",{provider:n,offers:[{variantId:r,variantName:i,experimentId:e,experimentName:t}]}):console.log("Type mismatch - should be String."):console.log("Missing one or more arguments. Expected format: provider, experimentId, experimentName, variantId, variantName")},waitForObjectOnPage:function(n,e,t){try{q.waitForObjDefined(n,e,function(){try{t()}catch(n){ke.emit("clsDebug","callback function bad implementation in waitForObjectOnPage API: "+n.message)}})}catch(n){ke.emit("clsDebug","bad implementation for waitForObjectOnPage API: "+n.message)}},getSessionReplayLink:function(n){return n||H.gbconsoledomain?"https://"+(n||H.gbconsoledomain)+"/webinterface/webui/#/sessions/cls_s:"+Te.sessionId+"/replay?from="+(Date.now()-792e5)+"&till="+(Date.now()+792e5):"glassbox console domain was not configured or passed via call to getSessionReplayLink"},sendVocData:function(n){ke.emit("vocGetData",n)}}),ke.on("init:loaded",oo.gbBind(null,Re)),oo(Re)),H.enableSessionCamApi&&(n.sessionCamRecorder=(Ae=n[i],Ne=On.asStoppable(),De=V,_e=[],Oe=q.currentTimestamp(),{sendCustomDataEvent:function(n,e){n&&"string"==typeof n&&De.emit("customEvent",{name:""+n,val:""+e})},startSession:function(){Ne&&Ne.start()},endSession:function(n){Ne&&Ne.stop()&&(Ae.invalidateSession(),n&&Ne.start())},sessionId:function(){return Ae.sessionId},registerFields:function(){return U},registeredFieldsGetValue:function(){return""},getFieldValue:function(){return""},getSessionCamUserId:function(){return""},createVirtualPageLoad:function(n){if("string"!=typeof n)return!1;0===_e.length&&_e.push(Ae.page.url);var e=q.currentTimestamp(),t=_e[_e.length-1];De.emit("segmentChanged",{type:"path",current:n,last:t,lastDwell:e-Oe}),_e.push(n),Oe=e},closeVirtualPage:function(n){var e,t=q.currentTimestamp(),r=_e[_e.length-1];_e.length<=1||(n?(e=_e[0],_e=[]):(_e.pop(),e=_e[_e.length-1]),De.emit("segmentChanged",{type:"path",current:e,last:r,lastDwell:t-Oe}),Oe=t)}})),(n.Zone&&n.Zone.root&&"function"==typeof n.Zone.root.wrap?n.Zone.root.wrap(On.initialize):On.initialize).call(On)))}("_detector","undefined"!=typeof window?window:self,"undefined"==typeof window,"undefined"!=typeof document?document:void 0,"6.6.04B137");



