!function(){var e,t,r={"eG7/":function(){var e;((e="undefined"!=typeof window&&null!==window?window:"undefined"!=typeof global&&null!==global?global:this).hns=e.hns2=function(t,r){var n,o,a,i,s=t.split("."),l=e,u="",c=s.length-1 r=r||{} n=s[c] for(var p=0;p0;){i=a.shift() for(var f in i.qSource)i.qSource.hasOwnProperty(f)&&("object"!=typeof i.qSource[f]||"object"!=typeof i.qTarget[f]||i.qSource[f]&&void 0!==i.qSource[f].classList&&void 0!==i.qSource[f].nodeType?i.qTarget[f]=i.qSource[f]:i.qSource[f]!==i.qTarget[f]&&a.push({qSource:i.qSource[f],qTarget:i.qTarget[f]}))}}else o[d]=r[d]}else l[n]=r "undefined"!=typeof hubspot&&hubspot.updateDependencies&&hubspot.updateDependencies(t) return l[n]})("hubspot")},wOMr:function(){hubspot.define=hubspot.defineLazy},PF6C:function(){!function(){"undefined"!=typeof hubspot&&null!==hubspot&&hubspot.define&&console.warn("hubspot.define included more than once, you most certainly _don't_ want this") hubspot=hubspot||{} hubspot.modules=hubspot.modules||{} var e=[],t={},r={},n={},o={},a="",i=1 hubspot.modules.useGlobals=function(e){return!0} hubspot.modules.getNamespace=function(e){if(r[e])return r[e] if(!hubspot.modules.useGlobals(e))return null var t,n=e.split("."),o=n.length,a=window for(t=0;t"," "+i+++">")} hubspot.getBlockingModules=function(){for(var t,r=e,n=[],o={},a={},i=r.length;i--;){var s=r[i] if(s&&s.deps){a[s.ns]=!0 for(var l=s.deps.length;l--;)o[s.deps[l]]=!0}}for(t in o)a[t]||n.push(t) return n} function l(){var e if(void 0!==hubspot._cached_debug_define_enabled)return hubspot._cached_debug_define_enabled if(!0===window.HUBSPOT_DEBUG_DEFINE)e=!0 else{var t="test" try{localStorage.setItem(t,t) localStorage.removeItem(t) e="true"===localStorage.HUBSPOT_DEBUG_DEFINE}catch(t){e=!1}}hubspot._cached_debug_define_enabled=e return e}function u(e){var t,r,o=[],i=e.allDeps for(t=0;t0&&console.log("Error while defining hubspot module:",s) throw t}),0) return}return r}function c(e){var t t=u(e) if(e.ns){r[e.ns]=t hubspot.modules.useGlobals(e.ns)?window.hns2(e.ns,t):hubspot.updateDependencies(e.ns)}}hubspot.updateDependencies=function(t){var r,n,o,a,i=[] for(o=0;o0?e.push(n):c(n) for(l=0;l0?n:null}catch(e){return null}finally{Error.prepareStackTrace=e}}hubspot.defineHelper=function(e,n,a,i){var u,c,f,g={} l()&&(f=h()) if("string"==typeof n)throw new Error("hubspot.define/require must be provided an array of dependencies, not a string") if("boolean"!=typeof i)throw new Error("hubspot.defineHelper must be called with the isEagerDefinition flag") if(void 0!==r[e]){if("function"!=typeof a)throw new Error("You cannot redefine a module with hubspot.define, '"+e+"' has already been defined once.") console.warn("You should not redefine a module with hubspot.define, '"+e+"' has already been defined once.")}for(var b=0;bu){o.default.debug("sentry")&&console.error(`Excessively large message logged to Raven (${e.length} characters). The extra data is logged here but will not be sent to Sentry.`,t.extra) t.extra={message:"Error processing Sentry (extra data more than 200kb stringified). Existing extra data removed."}}}catch(e){o.default.debug("sentry")&&console.error("An unserializable object was logged to Raven as `extra` data. The extra data is logged here but will not be sent to Sentry.",t.extra) t.extra={message:"Error processing Sentry (extra data not serializable). Existing extra data removed."}}return t}}function p(e,t={}){void 0===s.default.bender&&"prod"!==o.default.getShort("sentry")&&console.warn("[raven-hubspot] `project` and `release` Sentry tags will not be set. See: HubSpot/raven-hubspot/issues/40") const{bender:r}=s.default,n={sampleRate:1,stacktrace:!0,ignoreErrors:["Aborting: redirection in progress",/Aborting: notifying parents of unauthorized response/,/Cannot set property 'install' of undefined/,/ResizeObserver loop completed with undelivered notifications/,/ResizeObserver loop limit exceeded/,/'URLSearchParams' is not defined/,/Not implemented on this platform/,/Object Not Found Matching Id/i],ignoreUrls:[]},u=t.ignoreErrors||[] t=Object.assign({},n,t,{ignoreErrors:[...n.ignoreErrors,...u]}) const p=o.default.getShort("sentry") let d try{d=!!(document&&document.cookie&&document.cookie.includes("hs_selenium"))}catch(e){d=!1}const f=(0,l.getDeployInfo)() i.default.config(e,{release:r&&r.currentProjectVersion,ignoreErrors:t.ignoreErrors,ignoreUrls:t.ignoreUrls,sampleRate:t.sampleRate,environment:p,tags:Object.assign({env:p,project:f?f.deployable:r&&r.currentProject,portalId:a.default.get(),hublet:o.default.getHublet(),isAcceptanceTest:d},t.tags),breadcrumbCallback:t.breadcrumbCallback||(e=>e),autoBreadcrumbs:{console:!1},dataCallback:c(t.dataCallback),shouldSendCallback:t.shouldSendCallback||(()=>!0),stacktrace:t.stacktrace}).install() !o.default.debug("sentry")&&o.default.deployed("sentry")||(i.default.debug=!0) o.default.deployed("sentry")||i.default.setTransport((({onSuccess:e})=>{e()}))}const d=window.setInterval window.setInterval=function(e,...t){"function"!=typeof e&&i.default.captureException(new Error("Implied eval. Only a function should be passed as first arg of setInterval.")) return d(e,...t)} const f=window.setTimeout window.setTimeout=function(e,...t){"function"!=typeof e&&i.default.captureException(new Error("Implied eval. Only a function should be passed as first arg of setTimeout.")) return f(e,...t)} e.exports=t.default},"fCr+":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getDeployInfo=n const r="d" function n(e=window.performance){try{const t=e.getEntriesByType("navigation")[0],n=t.serverTiming.find((e=>e.name===r)).description,[o,a]=n.split("#") return void 0!==o&&void 0!==a?{deployable:o,deployId:a}:void 0}catch(e){return}}},HYfT:function(e){function t(e){this.name="RavenConfigError" this.message=e}t.prototype=new Error t.prototype.constructor=t e.exports=t},sCFE:function(e){var t=function(e,t,r){var n=e[t],o=e if(t in e){var a="warn"===t?"warning":t e[t]=function(){var e=[].slice.call(arguments),i=""+e.join(" "),s={level:a,logger:"console",extra:{arguments:e}} if("assert"===t){if(!1===e[0]){i="Assertion failed: "+(e.slice(1).join(" ")||"console.assert") s.extra.arguments=e.slice(1) r&&r(i,s)}}else r&&r(i,s) n&&Function.prototype.apply.call(n,o,e)}}} e.exports={wrapMethod:t}},XCKn:function(e,t,r){var{Raven:n}=r("CKgp"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=o.Raven,i=new n i.noConflict=function(){o.Raven=a return i} i.afterLoad() e.exports.config=i.config.bind(i) e.exports.install=i.install.bind(i) e.exports.setDSN=i.setDSN.bind(i) e.exports.context=i.context.bind(i) e.exports.wrap=i.wrap.bind(i) e.exports.uninstall=i.uninstall.bind(i) e.exports.capturePageEvent=i.capturePageEvent.bind(i) e.exports.captureException=i.captureException.bind(i) e.exports.captureMessage=i.captureMessage.bind(i) e.exports.captureBreadcrumb=i.captureBreadcrumb.bind(i) e.exports.addPlugin=i.addPlugin.bind(i) e.exports.setUserContext=i.setUserContext.bind(i) e.exports.setExtraContext=i.setExtraContext.bind(i) e.exports.setTagsContext=i.setTagsContext.bind(i) e.exports.clearContext=i.clearContext.bind(i) e.exports.getContext=i.getContext.bind(i) e.exports.setEnvironment=i.setEnvironment.bind(i) e.exports.setRelease=i.setRelease.bind(i) e.exports.setDataCallback=i.setDataCallback.bind(i) e.exports.setBreadcrumbCallback=i.setBreadcrumbCallback.bind(i) e.exports.setShouldSendCallback=i.setShouldSendCallback.bind(i) e.exports.setTransport=i.setTransport.bind(i) e.exports.lastException=i.lastException.bind(i) e.exports.lastEventId=i.lastEventId.bind(i) e.exports.isSetup=i.isSetup.bind(i) e.exports.afterLoad=i.afterLoad.bind(i) e.exports.showReportDialog=i.showReportDialog.bind(i) e.exports=i},CKgp:function(e,t,r){"use strict" r.r(t) r.d(t,{Raven:function(){return B}}) var n=r("Zi/v"),o=r.n(n),a=r("uESY"),i=r("GKWQ"),s=r("vtEu"),l=r("HYfT"),{getCorrelationIdFromResponse:u,getCorrelationIdFromXHR:c}=r("16j7"),p=r("uESY"),d=p.isError,f=p.isObject,h=(f=p.isObject,p.isErrorEvent),g=p.isUndefined,b=p.isFunction,v=p.isString,m=p.isEmptyObject,_=p.each,x=p.objectMerge,y=p.truncate,E=(p.objectFrozen,p.hasKey),w=p.joinRegExp,S=p.urlencode,k=p.uuid4,C=p.isSameException,O=p.isSameStacktrace,R=p.parseUrl,j=p.fill,P=r("sCFE").wrapMethod,T="source protocol user pass host port path".split(" "),D=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/ function I(){return+new Date}var U="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},q=U.document,N=U.navigator function M(e,t){return b(t)?function(r){return t(r,e)}:t}function B(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify) this._hasDocument=!g(q) this._hasNavigator=!g(N) this._lastCapturedException=null this._lastData=null this._lastEventId=null this._globalServer=null this._globalKey=null this._globalProject=null this._globalContext={} this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],collectWindowErrors:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1} this._ignoreOnError=0 this._isRavenInstalled=!1 this._originalErrorStackTraceLimit=Error.stackTraceLimit this._originalConsole=U.console||{} this._originalConsoleMethods={} this._plugins=[] this._startTime=I() this._wrappedBuiltIns=[] this._breadcrumbs=[] this._lastCapturedEvent=null this._keypressTimeout this._location=U.location this._lastHref=this._location&&this._location.href this._resetBackoff() for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}B.prototype={VERSION:"3.19.1",debug:!1,TraceKit:i,config:function(e,t){var r=this if(r._globalServer){this._logDebug("error","Error: Raven has already been configured") return r}if(!e)return r var n=r._globalOptions t&&_(t,(function(e,t){"tags"===e||"extra"===e||"user"===e?r._globalContext[e]=t:n[e]=t})) r.setDSN(e) n.ignoreErrors.push(/^Script error\.?$/) n.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/) n.ignoreErrors=w(n.ignoreErrors) n.ignoreUrls=!!n.ignoreUrls.length&&w(n.ignoreUrls) n.whitelistUrls=!!n.whitelistUrls.length&&w(n.whitelistUrls) n.includePaths=w(n.includePaths) n.maxBreadcrumbs=Math.max(0,Math.min(n.maxBreadcrumbs||100,100)) var o={xhr:!0,console:!0,dom:!0,location:!0},a=n.autoBreadcrumbs "[object Object]"==={}.toString.call(a)?a=x(o,a):!1!==a&&(a=o) n.autoBreadcrumbs=a var s={tryCatch:!0},l=n.instrument "[object Object]"==={}.toString.call(l)?l=x(s,l):!1!==l&&(l=s) n.instrument=l i.collectWindowErrors=!!n.collectWindowErrors return r},install:function(){var e=this if(e.isSetup()&&!e._isRavenInstalled){i.report.subscribe((function(){e._handleOnErrorStackInfo.apply(e,arguments)})) e._globalOptions.instrument&&e._globalOptions.instrument.tryCatch&&e._instrumentTryCatch() e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs() e._drainPlugins() e._isRavenInstalled=!0}Error.stackTraceLimit=e._globalOptions.stackTraceLimit return this},setDSN:function(e){var t=this,r=t._parseDSN(e),n=r.path.lastIndexOf("/"),o=r.path.substr(1,n) t._dsn=e t._globalKey=r.user t._globalSecret=r.pass&&r.pass.substr(1) t._globalProject=r.path.substr(n+1) t._globalServer=t._getGlobalServer(r) t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/" t._globalPageEventEndpoint=t._globalServer+"/frontend/observability/page-tracking/store/" this._resetBackoff()},context:function(e,t,r){if(b(e)){r=t||[] t=e e=void 0}return this.wrap(e,t).apply(this,r)},wrap:function(e,t,r){var n=this if(g(t)&&!b(e))return e if(b(e)){t=e e=void 0}if(!b(t))return t try{if(t.__raven__)return t if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}const{ravenWrapped:o}={ravenWrapped(){var o=[],a=arguments.length,i=!e||e&&!1!==e.deep r&&b(r)&&r.apply(this,arguments) for(;a--;)o[a]=i?n.wrap(e,arguments[a]):arguments[a] try{return t.apply(this,o)}catch(t){n._ignoreNextOnError() n.captureException(t,e) throw t}}} for(var a in t)E(t,a)&&(o[a]=t[a]) o.prototype=t.prototype t.__raven_wrapper__=o o.__raven__=!0 o.__inner__=t return o},uninstall:function(){i.report.uninstall() this._restoreBuiltIns() Error.stackTraceLimit=this._originalErrorStackTraceLimit this._isRavenInstalled=!1 return this},capturePageEvent:function(e,t={}){this._clearExtraAttribute("errorCauseMessage") this._clearExtraAttribute("errorCauseStackFrames") const r={message:e,...t,level:"info",isPageEvent:!0} this._send(r) return this},captureException:function(e,t){var r=this r._clearExtraAttribute("errorCauseMessage") r._clearExtraAttribute("errorCauseStackFrames") var n=!d(e),o=!h(e),a=h(e)&&!e.error if(n&&o||a)return this.captureMessage(e,x({trimHeadFrames:1,stacktrace:!0},t)) h(e)&&(e=e.error) var s=e.cause s&&r._processErrorCause(s) e.extraData&&r.setExtraContext({...e.extraData}) this._lastCapturedException=e try{var l=i.computeStackTrace(e) this._handleStackInfo(l,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){var r=this r._clearExtraAttribute("errorCauseMessage") r._clearExtraAttribute("errorCauseStackFrames") if(this._globalOptions.ignoreErrors.test&&this._globalOptions.ignoreErrors.test(e))this._triggerEvent("captureIgnored",{level:t&&t.level||"error"}) else{var n,o=x({message:e+""},t=t||{}) try{throw new Error(e)}catch(e){n=e}n.name=null var a=i.computeStackTrace(n),s=a.stack[1],l=s&&s.url||"" if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(l))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(l))){if(this._globalOptions.stacktrace||t&&t.stacktrace){t={fingerprint:e,...t,trimHeadFrames:(t.trimHeadFrames||0)+1} var u=this._prepareFrames(a,t) o.stacktrace={frames:u.reverse()}}this._send(o) return this}}},captureBreadcrumb:function(e){var t=x({timestamp:I()/1e3},e) if(b(this._globalOptions.breadcrumbCallback)){var r=this._globalOptions.breadcrumbCallback(t) if(f(r)&&!m(r))t=r else if(!1===r)return this}this._breadcrumbs.push(t) this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift() return this},addPlugin:function(e){var t=[].slice.call(arguments,1) this._plugins.push([e,t]) this._isRavenInstalled&&this._drainPlugins() return this},setUserContext:function(e){this._globalContext.user=e return this},setExtraContext:function(e){this._mergeContext("extra",e) return this},setTagsContext:function(e){this._mergeContext("tags",e) return this},clearContext:function(){this._globalContext={} return this},getContext:function(){return JSON.parse(s(this._globalContext))},setEnvironment:function(e){this._globalOptions.environment=e return this},setRelease:function(e){this._globalOptions.release=e return this},setDataCallback:function(e){var t=this._globalOptions.dataCallback this._globalOptions.dataCallback=M(t,e) return this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback this._globalOptions.breadcrumbCallback=M(t,e) return this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback this._globalOptions.shouldSendCallback=M(t,e) return this},setTransport:function(e){this._globalOptions.transport=e return this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){if(!this._hasJSON)return!1 if(!this._globalServer){if(!this.ravenNotConfiguredError){this.ravenNotConfiguredError=!0 this._logDebug("error","Error: Raven has not been configured.")}return!1}return!0},afterLoad:function(){var e=U.RavenConfig e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(q){var t=(e=e||{}).eventId||this.lastEventId() if(!t)throw new l("Missing eventId") var r=e.dsn||this._dsn if(!r)throw new l("Missing DSN") var n=encodeURIComponent,o="" o+="?eventId="+n(t) o+="&dsn="+n(r) var a=e.user||this._globalContext.user if(a){a.name&&(o+="&name="+n(a.name)) a.email&&(o+="&email="+n(a.email))}var i=this._getGlobalServer(this._parseDSN(r)),s=q.createElement("script") s.async=!0 s.src=i+"/api/embed/error-page/"+o;(q.head||q.body).appendChild(s)}},_processErrorCause:function(e){try{var t=this,r=i.computeStackTrace(e),n=this._prepareFrames(r,{}).map((e=>({file:e.filename,methodName:e.function||"?",lineNumber:e.lineno,column:e.colno}))) r.message&&t.setExtraContext({errorCauseMessage:r.message}) n&&n.length&&t.setExtraContext({errorCauseStackFrames:JSON.stringify(n)})}catch(t){if(e!==t)throw t}},_clearExtraAttribute:function(e){var t=this g(t._globalContext.extra)||delete t._globalContext.extra[e]},_ignoreNextOnError:function(){var e=this this._ignoreOnError+=1 setTimeout((function(){e._ignoreOnError-=1}))},_triggerEvent:function(e,t){var r,n if(this._hasDocument){t=t||{} e="raven"+e.substr(0,1).toUpperCase()+e.substr(1) q.createEvent?(r=q.createEvent("HTMLEvents")).initEvent(e,!0,!0):(r=q.createEventObject()).eventType=e for(n in t)E(t,n)&&(r[n]=t[n]) if(q.createEvent)q.dispatchEvent(r) else try{q.fireEvent("on"+r.eventType.toLowerCase(),r)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this return function(r){t._keypressTimeout=null if(t._lastCapturedEvent!==r){t._lastCapturedEvent=r var n try{n=o()(r.target)}catch(e){n=""}t.captureBreadcrumb({category:"ui."+e,message:n})}}},_keypressEventHandler:function(){var e=this,t=1e3 return function(r){var n try{n=r.target}catch(e){return}var o=n&&n.tagName if(o&&("INPUT"===o||"TEXTAREA"===o||n.isContentEditable)){var a=e._keypressTimeout a||e._breadcrumbEventHandler("input")(r) clearTimeout(a) e._keypressTimeout=setTimeout((function(){e._keypressTimeout=null}),t)}}},_captureUrlChange:function(e,t){var r=R(this._location.href),n=R(t),o=R(e) this._lastHref=t r.protocol===n.protocol&&r.host===n.host&&(t=n.relative) r.protocol===o.protocol&&r.host===o.host&&(e=o.relative) this.captureBreadcrumb({category:"navigation",data:{to:(0,a.redactSensitiveUrlParams)(t),from:(0,a.redactSensitiveUrlParams)(e)}})},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns function r(t){return function(r,n){for(var o=new Array(arguments.length),a=0;a2?arguments[2]:void 0 r&&e._captureUrlChange(e._lastHref,r+"") return t.apply(this,arguments)}} j(history,"pushState",l,r) j(history,"replaceState",l,r)}if(t.console&&"console"in U&&console.log){var p=function(t,r){e.captureBreadcrumb({message:t,level:r.level,category:"console"})} _(["debug","info","warn","error","log"],(function(e,t){P(console,t,p)}))}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2] t[r]=n}},_drainPlugins:function(){var e=this _(this._plugins,(function(t,r){var n=r[0],o=r[1] n.apply(e,[e].concat(o))}))},_parseDSN:function(e){var t=D.exec(e),r={},n=7 try{for(;n--;)r[T[n]]=t[n]||""}catch(t){throw new l("Invalid DSN: "+e)}if(r.pass&&!this._globalOptions.allowSecretKey)throw new l("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key") return r},_getGlobalServer:function(e){var t=e.host,r=this._globalContext.tags,n=r&&r.hublet||"na1",o=this._globalOptions.environment||"prod" if("exceptions.hubspot.com"===e.host){t=`exceptions${"na1"===n?"":`-${n}`}.hubspot${"prod"===o?"":`${o}`}.com`}var a="//"+t+(e.port?":"+e.port:"") e.protocol&&(a=e.protocol+":"+a) return a},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var r=this._prepareFrames(e,t) this._triggerEvent("handle",{stackInfo:e,options:t}) this._processException(e.name,e.message,e.url,e.lineno,r,t)},_prepareFrames:function(e,t){var r=this,n=[] if(e.stack&&e.stack.length){_(e.stack,(function(t,o){var a=r._normalizeFrame(o,e.url) a&&n.push(a)})) if(t&&t.trimHeadFrames)for(var o=0;oe.function.includes("ravenWrapped"))))for(var a=0;a0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}) m(e.tags)&&delete e.tags this._globalContext.user&&(e.user=this._globalContext.user) t.environment&&(e.environment=t.environment) t.release&&(e.release=t.release) t.serverName&&(e.server_name=t.serverName) b(t.dataCallback)&&(e=t.dataCallback(e)||e) e&&!m(e)&&(b(t.shouldSendCallback)&&!t.shouldSendCallback(e)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",e):"number"==typeof t.sampleRate?Math.random()=0;--t)r[t]===e&&r.splice(t,1)}function g(){_() r=[]}function b(e,t){var n=null if(!t||o.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function v(t,r,a,i,c){if(d){o.computeStackTrace.augmentStackTraceWithInitialElement(d,r,a,t) x()}else if(c&&n.isError(c))b(o.computeStackTrace(c),!0) else{var p={url:r,line:a,column:i},f=void 0,h=t if("[object String]"==={}.toString.call(t)){var g if(g=t.match(l)){f=g[1] h=g[2]}}p.func=s b({name:f,message:h,url:u(),stack:[p]},!0)}return!!e&&e.apply(this,arguments)}function m(){if(!t){e=a.onerror a.onerror=v t=!0}}function _(){if(t){a.onerror=e t=!1 e=void 0}}function x(){var e=d,t=c c=null d=null p=null b.apply(null,[e,!1].concat(t))}function y(e,t){var r=i.call(arguments,1) if(d){if(p===e)return x()}var n=o.computeStackTrace(e) d=n p=e c=r setTimeout((function(){p===e&&x()}),n.incomplete?2e3:0) if(!1!==t)throw e}y.subscribe=f y.unsubscribe=h y.uninstall=g return y}() o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,r,n,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|bpm||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|bpm|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|bpm|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=e.stack.split("\n"),d=[],f=(/^(.*) is undefined$/.exec(e.message),0),h=p.length;f eval")>-1&&(t=l.exec(r[3]))){r[3]=t[1] r[4]=t[2] r[5]=null}else 0!==f||r[5]||void 0===e.columnNumber||(d[0].column=e.columnNumber+1) n={url:r[3],func:r[1]||s,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!n.func&&n.line&&(n.func=s) d.push(n)}return d.length?{name:e.name,message:e.message,url:u(),stack:d}:null}}function t(e,t,r,n){var o={url:t,line:r} if(o.url&&o.line){e.incomplete=!1 o.func||(o.func=s) if(e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1 if(!e.stack[0].line&&e.stack[0].func===o.func){e.stack[0].line=o.line return!1}}e.stack.unshift(o) e.partial=!0 return!0}e.incomplete=!0 return!1}function r(e,a){for(var i,l,c=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,p=[],d={},f=!1,h=r.caller;h&&!f;h=h.caller)if(h!==n&&h!==o.report){l={url:null,func:s,line:null,column:null} h.name?l.func=h.name:(i=c.exec(h.toString()))&&(l.func=i[1]) if(void 0===l.func)try{l.func=i.input.substring(0,i.input.indexOf("{"))}catch(e){}d[""+h]?f=!0:d[""+h]=!0 p.push(l)}a&&p.splice(0,a) var g={name:e.name,message:e.message,url:u(),stack:p} t(g,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description) return g}function n(t,n){var a=null n=null==n?0:+n try{if(a=e(t))return a}catch(e){if(o.debug)throw e}try{if(a=r(t,n+1))return a}catch(e){if(o.debug)throw e}return{name:t.name,message:t.message,url:u()}}n.augmentStackTraceWithInitialElement=t n.computeStackTraceFromStackProp=e return n}() e.exports=o},vtEu:function(e,t){(e.exports=n).getSerialize=a function r(e,t){for(var r=0;r0){var l=r(n,this) ~l?n.splice(l+1):n.push(this) ~l?a.splice(l,1/0,i):a.push(i) ~r(n,s)&&(s=t.call(this,i,s))}else n.push(s) return null==e?s instanceof Error?o(s):s:e.call(this,i,s)}}},R7ff:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=r function r(){window.addEventListener("pageshow",(e=>{e.persisted&&window.location.reload()}))}e.exports=t.default},ig2a:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 t.default={id:null,pathRegex:/^\/(?:[A-Za-z0-9-_]*)\/(\d+)(?:\/|$)/,queryParamRegex:/(?:\?|&)portalid=(\d+)/i,getPortalIdFromPath(e){if(document){null==e&&(e=this.pathRegex) return this.parsePortalIdFromString(document.location.pathname,e)}},getPortalIdFromQueryParam(){if(document)return this.parsePortalIdFromString(document.location.search,this.queryParamRegex)},parsePortalIdFromString(e,t){const r=t.exec(e),n=null!=r?r[1]:void 0 return n?+n:void 0},get(e){null==e&&(e={}) if(this.id&&!e.reparse)return this.id const t=this.getPortalIdFromPath(e.regex)||this.getPortalIdFromQueryParam() if(!e.preserveGlobalId){null==window.hubspot&&(window.hubspot={}) null==window.hubspot.portal&&(window.hubspot.portal={}) null==window.hubspot.portal.id&&(window.hubspot.portal.id=t) t&&(this.id=t)}return t}} e.exports=t.default},"p/lb":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 const r=["api","local","app","private","platform","tools","meetings"],n=["hubspotstarter","hubspotfree","hubspotemail"],o=["growth"],a={com:["hubspot","hubteam","grader","getsignals","getsidekick","gettally","hubspotemail","customer-hub","hubspotservicehub","hubspotquote","hubspotdocuments","hs-data-privacy"].join("|"),net:n.join("|"),org:o.join("|")},i=function e(t){const n=new RegExp(`^(?!local|test|selenium)(.*\\.)?(${Object.entries(a).map((([e,t])=>`(?:${t})(qa)?\\.${e}`)).join("|")}|(?:connect)\\.com|(?:connect)(qa)\\.co|wthubspot\\.(com|de|es|fr|jp))$`).test(t.hostname),o=new RegExp(`${Object.entries(a).map((([e,t])=>`(?:${t})qa\\.${e}`)).join("|")}|(?:connect)qa\\.co|wthubspot\\.(com|de|es|fr|jp)|hsqa-sales(?:crm)?-sub\\.com|(?:hubspotstarter|hubspotfree|hubspotemail)(qa)(?:-.*)\\.net|(?:hubspotemail)(qa)(?:-.*)\\.com`),i=[new RegExp(`^(?:${r.join("|")})-(.*).(?:hubspot|hubteam)(?:qa)?.com`),new RegExp("^(.*).(?:hubspotquote)(?:qa)?.com"),new RegExp("^app-(.*).(?:hubspotdocuments)(?:qa)?.com"),new RegExp("^(?:[0-9]+).(.*).hs(?:qa)?-sales(?:crm)?-sub.com"),new RegExp("^hs-(?:[0-9]+).s.(?:hubspotfree|hubspotstarter|hubspotemail)(?:qa)?-(.*).net"),new RegExp("^hs-(?:[0-9]+).s.(?:hubspotemail)(?:qa)?-(.*).com"),new RegExp("^t.sidekickopen(?:\\d)+-([a-z]+[0-9]).com"),new RegExp("^([a-z]+[0-9]).hs-data-privacy(?:qa)?.com")],s="ENV",l="Enviro error: the default argument for .get and .getShort is no longer supported",u=e=>{let t=window[e] if(null==t)try{t=window.sessionStorage.getItem(e)}catch(e){}if(null==t)try{t=window.localStorage.getItem(e)}catch(e){}return t},c=()=>{const e=u(s) return e||(o.test(t.host)?"qa":"prod")},p=(e,t)=>{window[e]=t return t},d={prod:"production",qa:"development"},f=e=>{if("string"==typeof e){const t=e.toLowerCase() return d[t]||t}return e},h=e=>{e="string"==typeof e?e.toLowerCase():void 0 return Object.keys(d).find((t=>e===d[t]))||e},g=(e,t)=>{if(null!=t)throw new Error(l) let r=null if(e){const t=e.split(".").reverse() for(let e=0;e{if(null!=t)throw new Error(l) return h(g(e))},m=v,_=e=>"prod"===m(e),x=e=>"qa"===m(e),y=()=>{const e=u("HUBLET") if(e)return e for(const e of i)if(e.test(t.hostname))return e.exec(t.hostname)[1] return"na1"} function E({isNa1:e,isNonNa1:t},r){r||(r=y()) return"na1"===r?"function"==typeof e?e(r):void 0:"function"==typeof t?t(r):void 0}return{createEnviro:e,debug:(e,t=!1)=>{let r "string"==typeof e&&(r=u(`${e.toUpperCase()}_DEBUG`)) null==r&&(r=u("DEBUG")) return null==r?t:r},denormalize:h,deployed:e=>{let t "string"==typeof e&&(t=u(`${e.toUpperCase()}_DEPLOYED`)) null==t&&(t=u("DEPLOYED")) return null==t?n:!!t},enabled:(e,t=!1)=>{let r=u(`${e.toUpperCase()}_ENABLED`) null==r&&(r=JSON.stringify(t)) return"true"===`${r}`.toLowerCase()},get:g,getHublet:y,getInternal:v,getShort:m,isProd:_,isQa:x,ifHublet:E,normalize:f,set:b,setDebug:(e,t=!0)=>{if("string"==typeof e)try{t?localStorage.setItem(`${e.toUpperCase()}_DEBUG`,JSON.stringify(!0)):localStorage.removeItem(`${e.toUpperCase()}_DEBUG`)}catch(r){p(`${e.toUpperCase()}_DEBUG`,t||void 0)}else{t=null==e||e try{t?localStorage.setItem("DEBUG",JSON.stringify(t)):localStorage.removeItem("DEBUG")}catch(e){p("DEBUG",t||void 0)}}}}} t.default=i(document.location) e.exports=t.default},"dd+C":function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.enableRejectionTracking=t.disableRejectionTracking=void 0 var n=r("iJw7") let o=!1 const a=e=>null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1),i=e=>{const t=r("XCKn"),o={tags:{isUnhandledPromiseRejection:!0,unhandledRejectionUuid:(0,n.getUniqueKey)(),typeOfReason:a(e)},extra:{reasonObjKeys:Object.keys(e).join()}} "string"==typeof e?t.captureMessage(e,o):t.captureException(e,o)},s=e=>"object"==typeof e?null!==e:"function"==typeof e,l=e=>{e.preventDefault() if(s(e.promise)){console.error("Unhandled Promise Rejection",e.reason) i(e.reason)}},u=()=>{o=!1 window.removeEventListener("unhandledrejection",l)} t.disableRejectionTracking=u const c=()=>{o&&u() o=!0 window.addEventListener("unhandledrejection",l)} t.enableRejectionTracking=c},iJw7:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getUniqueKey=void 0 const r=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0 return("x"===e?t:3&t|8).toString(16)})) t.getUniqueKey=r},"16j7":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getCorrelationIdFromResponse=o t.getCorrelationIdFromServerTiming=r t.getCorrelationIdFromXHR=n function r(e){var t const r=e.split(",").find((e=>e.trim().startsWith("hcid;"))) if(!r)return null const n=r.split(";").find((e=>e.trim().startsWith("desc="))) if(!n)return null const o=null===(t=n.split("=")[1])||void 0===t?void 0:t.trim() return o?o.startsWith('"')&&o.endsWith('"')?JSON.parse(o):o:null}function n(e){const t=e.getAllResponseHeaders().split("\r\n").find((e=>e.toLowerCase().startsWith("server-timing"))) return t?r(t.slice(15)):null}function o(e){var t const n=null===(t=[...e.headers.entries()].find((([e])=>"server-timing"===e.toLowerCase())))||void 0===t?void 0:t[1] return n?r(n):null}},"Zi/v":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=a const r=5,n=60,o=["name","title","alt","data-test-id","data-key"] function a(e){const t=[],n=" > " let o=e,a=0 for(;o&&an)break r+=o.length t.push(`.${o}`)}return t.join("")}e.exports=t.default},"PyK+":function(e){"use strict" e.exports=function(){if(void 0===window.hubspot)throw new Error("Could not find hubspot global variable.") return window.hubspot}()},i1Kf:function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},n={} function o(e){var t=n[e] if(void 0!==t)return t.exports var a=n[e]={exports:{}} r[e].call(a.exports,a,a.exports,o) return a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e} o.d(t,{a:t}) return t} o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})} o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)} o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}) Object.defineProperty(e,"__esModule",{value:!0})} o.linkDlb=function(r,n){e=r t=n} window["__webpack_require_head-dlb/bundle.production.js__"]=o o.dlbcr=function(r){if(!e)throw new Error("dlb consumer not properly linked") var n=t[r] if(void 0===n)throw new Error("dlb consumer does not provide module "+r) return e(n)} !function(){"use strict" var e=o("i1Kf") o("eG7/") o("PF6C") o("wOMr") var t=o("dd+C"),r=e(o("PyK+")),n=e(o("R7ff"));(0,t.enableRejectionTracking)();(0,n.default)() r.default.modules.useGlobals=e=>"raven-hubspot/configure"!==e&&"PortalIdParser"!==e&&"enviro"!==e r.default.define("raven-hubspot/configure",[],(()=>{const e=o("n2Er") return e.default||e})) r.default.define("PortalIdParser",[],(()=>{const e=o("ig2a") return e.default||e})) r.default.define("enviro",[],(()=>{const e=o("p/lb") return e.default||e})) Object.defineProperty(window,"Raven",{get(){return o("XCKn")}}) Object.defineProperty(window,"enviro",{get(){const e=o("p/lb") return e.default||e}})}()}() //# sourceMappingURL=//static.hsappstatic.net/head-dlb/static-1.2883/bundle.production.js.map