(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92888],{8417:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?l(w,--y):0,m--,10===b&&(m=1,h--),b}function x(){return b=y2||O(b)>3?"":" "}function R(e,t){for(;--t&&x()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return k(e,T()+(t<6&&32==A()&&32==x()))}function j(e){for(;x();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&j(b);break;case 40:41===e&&j(e);break;case 92:x()}return y}function N(e,t){for(;x()&&e+b!==57&&(e+b!==84||47!==A()););return"/*"+k(t,y-1)+"*"+i(47===e?e:x())}function D(e){for(;!O(A());)x();return k(e,y)}var M="-ms-",G="-moz-",F="-webkit-",U="comm",V="rule",B="decl",H="@keyframes";function W(e,t){for(var n="",r=p(e),o=0;o0&&d(G)-g&&v(b>32?Y(G+";",r,n,g-1):Y(c(G," ","")+";",r,n,g-2),p);break;case 59:G+=";";default:if(v(M=K(G,t,n,h,m,o,f,C,I=[],j=[],g),a),123===O)if(0===m)q(G,t,M,M,I,a,g,f,j);else switch(99===y&&110===l(G,3)?100:y){case 100:case 108:case 109:case 115:q(e,M,M,r&&v(K(e,M,M,0,0,o,f,C,o,I=[],g),j),o,j,g,f,r?I:j);break;default:q(G,M,M,M,[""],j,0,f,j)}}h=m=b=0,_=k=1,C=G="",g=u;break;case 58:g=1+d(G),b=w;default:if(_<1)if(123==O)--_;else if(125==O&&0==_++&&125==S())continue;switch(G+=i(O),O*_){case 38:k=m>0?1:(G+="\f",-1);break;case 44:f[h++]=(d(G)-1)*k,k=1;break;case 64:45===A()&&(G+=P(x())),y=A(),m=g=d(C=G+=D(T())),O++;break;case 45:45===w&&2==d(G)&&(_=0)}}return a}function K(e,t,n,r,i,a,s,l,d,v,h){for(var m=i-1,g=0===i?a:[""],y=p(g),b=0,w=0,E=0;b0?g[S]+" "+x:c(x,/&\f/g,g[S])))&&(d[E++]=A);return _(e,t,n,0===i?V:l,d,v,h)}function J(e,t,n){return _(e,t,n,U,i(b),f(e,2,-2),0)}function Y(e,t,n,r){return _(e,t,n,B,f(e,0,r),f(e,r+1,-1),r)}var $=function(e,t,n){for(var r=0,o=0;r=o,o=A(),38===r&&12===o&&(t[n]=1),!O(o);)x();return k(e,y)},X=function(e,t){return I(function(e,t){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===A()&&(t[n]=1),e[n]+=$(y-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===A()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=x());return e}(C(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=X(t,o),a=n.props,u=0,c=0;u6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?ne(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,d(e)-3-(~s(e,"!important")&&10))){case 107:return c(e,":",":-webkit-")+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===l(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return F+e+M+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+M+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+M+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+M+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case B:e.return=ne(e.value,e.length);break;case H:return W([E(e,{value:c(e.value,"@","@-webkit-")})],r);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([E(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([E(e,{props:[c(t,/:(plac\w+)/,":-webkit-input-$1")]}),E(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[c(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,u={},c=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:s,styles:o,next:d}}},27278:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return u}});var o=n(67294),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},u=i||o.useLayoutEffect},70444:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},4591:function(e,t,n){"use strict";function r(e,t){return new Promise((function(n,r){var o=setTimeout((function(){r(Error("Promise timed out"))}),t);e.then((function(e){return clearTimeout(o),n(e)})).catch(r)}))}function o(e,t,n){var o;return(o=n,new Promise((function(e){return setTimeout(e,o)}))).then((function(){return r(function(){try{return Promise.resolve(t(e))}catch(n){return Promise.reject(n)}}(),1e3)})).catch((function(t){null===e||void 0===e||e.log("warn","Callback Error",{error:t}),null===e||void 0===e||e.stats.increment("callback_error")})).then((function(){return e}))}n.d(t,{FJ:function(){return r},UI:function(){return o}})},98191:function(e,t,n){"use strict";n.d(t,{Y:function(){return c},_:function(){return s}});var r=n(59108),o=n(96475),i=n(97582),a=function(){function e(){this._logs=[]}return e.prototype.log=function(e,t,n){var r=new Date;this._logs.push({level:e,message:t,time:r,extras:n})},Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce((function(e,t){var n,r,o,a=(0,i.pi)((0,i.pi)({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete a.time;var u=null!==(o=null===(r=t.time)||void 0===r?void 0:r.toISOString())&&void 0!==o?o:"";return e[u]&&(u="".concat(u,"-").concat(Math.random())),(0,i.pi)((0,i.pi)({},e),((n={})[u]=a,n))}),{});console.table?console.table(e):console.log(e)}else this.logs.forEach((function(e){var t=e.level,n=e.message,r=e.extras;"info"===t||"debug"===t?console.log(n,null!==r&&void 0!==r?r:""):console[t](n,null!==r&&void 0!==r?r:"")}));this._logs=[]},e}(),u=n(50732),c=function(e){var t,n,r;this.retry=null===(t=e.retry)||void 0===t||t,this.type=null!==(n=e.type)&&void 0!==n?n:"plugin Error",this.reason=null!==(r=e.reason)&&void 0!==r?r:""},s=function(){function e(e,t,n,o){void 0===t&&(t=(0,r.v4)()),void 0===n&&(n=new u.i),void 0===o&&(o=new a),this.attempts=0,this.event=e,this._id=t,this.logger=o,this.stats=n}return e.system=function(){},e.prototype.isSame=function(e){return e.id===this.id},e.prototype.cancel=function(e){if(e)throw e;throw new c({reason:"Context Cancel"})},e.prototype.log=function(e,t,n){this.logger.log(e,t,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(e,t){var n;if("integrations"===e.split(".")[0]){var r=e.split(".")[1];if(!1===(null===(n=this.event.integrations)||void 0===n?void 0:n[r]))return this.event}return(0,o.N)(this.event,e,t),this.event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(e){this._failedDelivery=e},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},e}()},51181:function(e,t,n){"use strict";n.d(t,{M:function(){return i},Z:function(){return a}});var r=n(97582),o=n(38714);var i="onRemoveFromFuture",a=function(e){function t(t,n,r){var o=e.call(this)||this;return o.future=[],o.maxAttempts=t,o.queue=n,o.seen=null!==r&&void 0!==r?r:{},o}return(0,r.ZT)(t,e),t.prototype.push=function(){for(var e=this,t=[],n=0;ne.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)}));return this.queue=this.queue.sort((function(t,n){return e.getAttempts(t)-e.getAttempts(n)})),r},t.prototype.pushWithBackoff=function(e){var t=this;if(0===this.getAttempts(e))return this.push(e)[0];var n=this.updateAttempts(e);if(n>this.maxAttempts||this.includes(e))return!1;var r=function(e){var t=Math.random()+1,n=e.minTimeout,r=void 0===n?500:n,o=e.factor,i=void 0===o?2:o,a=e.attempt,u=e.maxTimeout,c=void 0===u?1/0:u;return Math.min(t*r*Math.pow(i,a),c)}({attempt:n-1});return setTimeout((function(){t.queue.push(e),t.future=t.future.filter((function(t){return t.id!==e.id})),t.emit(i)}),r),this.future.push(e),!0},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||Boolean(this.queue.find((function(t){return t.id===e.id})))||Boolean(this.future.find((function(t){return t.id===e.id})))},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(o.Q)},69147:function(e,t,n){"use strict";n.d(t,{a:function(){return i},z:function(){return a}});var r=n(97582),o=n(98191);function i(e,t){e.log("debug","plugin",{plugin:t.name});var n=(new Date).getTime(),i=t[e.event.type];return void 0===i?Promise.resolve(e):function(e){return(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,e()];case 1:return[2,n.sent()];case 2:return t=n.sent(),[2,Promise.reject(t)];case 3:return[2]}}))}))}((function(){return i.apply(t,[e])})).then((function(e){var r=(new Date).getTime()-n;return e.stats.gauge("plugin_time",r,["plugin:".concat(t.name)]),e})).catch((function(n){if(n instanceof o.Y&&"middleware_cancellation"===n.type)throw n;return n instanceof o.Y?(e.log("warn",n.type,{plugin:t.name,error:n}),n):(e.log("error","plugin Error",{plugin:t.name,error:n}),e.stats.increment("plugin_error",1,["plugin:".concat(t.name)]),n)}))}function a(e,t){return i(e,t).then((function(t){if(t instanceof o._)return t;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(t)}))}},50732:function(e,t,n){"use strict";n.d(t,{i:function(){return i},s:function(){return o}});var r=n(97582),o=function(){function e(){this.metrics=[]}return e.prototype.increment=function(e,t,n){void 0===t&&(t=1),this.metrics.push({metric:e,value:t,tags:null!==n&&void 0!==n?n:[],type:"counter",timestamp:Date.now()})},e.prototype.gauge=function(e,t,n){this.metrics.push({metric:e,value:t,tags:null!==n&&void 0!==n?n:[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var e=this.metrics.map((function(e){return(0,r.pi)((0,r.pi)({},e),{tags:e.tags.join(",")})}));console.table?console.table(e):console.log(e),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map((function(e){return{m:e.metric,v:e.value,t:e.tags,k:(t=e.type,{gauge:"g",counter:"c"}[t]),e:e.timestamp};var t}))},e}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.gauge=function(){for(var e=[],t=0;tthis.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(e)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},e.prototype.on=function(e,t){return this.callbacks[e]?(this.callbacks[e].push(t),this.warnIfPossibleMemoryLeak(e)):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){for(var o=[],i=0;i0){var u=!1,l=function(){u||(u=!0,a.flush().catch(s),u=!1,setTimeout(l,a.flushTimer))};l()}}return e.prototype.increment=function(e,t){if(e.includes("analytics_js.")&&0!==t.length&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=function(e,t,n){var o=t.reduce((function(e,t){var n=t.split(":"),r=n[0],o=n[1];return e[r]=o,e}),{});return{type:"Counter",metric:e,value:1,tags:(0,r.pi)((0,r.pi)({},o),{library:"analytics.js",library_version:"web"===n?"next-".concat(a.i):"npm:next-".concat(a.i)})}}(e,t,(0,u.B)());this.queue.push(n),e.includes("error")&&this.flush().catch(s)}},e.prototype.flush=function(){return(0,r.mG)(this,void 0,void 0,(function(){var e=this;return(0,r.Jh)(this,(function(t){switch(t.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch((function(t){s(t),e.sampleRate=0}))];case 1:return t.sent(),[2]}}))}))},e.prototype.send=function(){return(0,r.mG)(this,void 0,void 0,(function(){var e,t,n;return(0,r.Jh)(this,(function(r){return e={series:this.queue},this.queue=[],t={"Content-Type":"text/plain"},n="".concat(this.protocol,"://").concat(this.host,"/m"),[2,(0,i.h)(n,{headers:t,body:JSON.stringify(e),method:"POST"})]}))}))},e}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.initRemoteMetrics=function(e){l=new f(e)},t.prototype.increment=function(t,n,r){e.prototype.increment.call(this,t,n,r),null===l||void 0===l||l.increment(t,null!==r&&void 0!==r?r:[])},t}(o.s)},92311:function(e,t,n){"use strict";function r(e,t){var n=t.methodName,r=t.integrationName,o=t.type,i=t.didError,a=void 0!==i&&i;e.stats.increment("analytics_js.integration.invoke".concat(a?".error":""),1,["method:".concat(n),"integration_name:".concat(r),"type:".concat(o)])}n.d(t,{z:function(){return r}})},39821:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="1.70.0"},55609:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(63144),o=n.n(r),i=n(44083),a=function(){for(var e=[],t=0;te}(i);if(a)return u.setItem(r,JSON.stringify((new Date).getTime()+50)),t(),void u.removeItem(r);!a&&n<3?setTimeout((function(){f(e,t,n+1)}),50):console.error("Unable to retrieve lock")}var d=function(e){function t(t,n){var o=e.call(this,t,[])||this,i="persisted-queue:v1:".concat(n,":items"),a="persisted-queue:v1:".concat(n,":seen"),d=[],v={};return f(n,(function(){try{d=c(i),v=s(a),l(i),l(a),o.queue=(0,r.ev)((0,r.ev)([],d,!0),o.queue,!0),o.seen=(0,r.pi)((0,r.pi)({},v),o.seen)}catch(p){console.error(p)}})),window.addEventListener("pagehide",(function(){if(o.todo>0){var e=(0,r.ev)((0,r.ev)([],o.queue,!0),o.future,!0);try{f(n,(function(){!function(e,t){var n=c(e),o=(0,r.ev)((0,r.ev)([],t,!0),n,!0).reduce((function(e,t){var n;return(0,r.pi)((0,r.pi)({},e),((n={})[t.id]=t,n))}),{});u.setItem(e,JSON.stringify(Object.values(o)))}(i,e),function(e,t){var n=s(e);u.setItem(e,JSON.stringify((0,r.pi)((0,r.pi)({},n),t)))}(a,o.seen)}))}catch(p){console.error(p)}}})),o}return(0,r.ZT)(t,e),t}(o.Z)},23888:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(49969);function o(e,t){var n=new r.Facade(e,t);return"track"===e.type&&(n=new r.Track(e,t)),"identify"===e.type&&(n=new r.Identify(e,t)),"page"===e.type&&(n=new r.Page(e,t)),"alias"===e.type&&(n=new r.Alias(e,t)),"group"===e.type&&(n=new r.Group(e,t)),"screen"===e.type&&(n=new r.Screen(e,t)),Object.defineProperty(n,"obj",{value:e,writable:!0}),n}},7227:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r="npm";function o(){return r}},66170:function(e,t,n){"use strict";n.r(t),n.d(t,{applyDestinationMiddleware:function(){return a},sourceMiddlewarePlugin:function(){return u}});var r=n(97582),o=n(98191),i=n(23888);function a(e,t,n){return(0,r.mG)(this,void 0,void 0,(function(){function o(t,n){return(0,r.mG)(this,void 0,void 0,(function(){var o,a,u;return(0,r.Jh)(this,(function(c){switch(c.label){case 0:return o=!1,a=null,[4,n({payload:(0,i.D)(t,{clone:!0,traverse:!1}),integration:e,next:function(e){o=!0,null===e&&(a=null),e&&(a=e.obj)}})];case 1:return c.sent(),o||null===a||(a.integrations=(0,r.pi)((0,r.pi)({},t.integrations),((u={})[e]=!1,u))),[2,a]}}))}))}var a,u,c,s,l;return(0,r.Jh)(this,(function(e){switch(e.label){case 0:a=(0,i.D)(t,{clone:!0,traverse:!1}).rawEvent(),u=0,c=n,e.label=1;case 1:return u-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e},f.userAgent=l.proxy("context.userAgent"),f.timezone=l.proxy("context.timezone"),f.timestamp=l.field("timestamp"),f.channel=l.field("channel"),f.ip=l.proxy("context.ip"),f.userId=l.field("userId"),o.default(f)},63789:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;var o=r(n(35717)),i=r(n(66243)),a=r(n(18013)),u=n(40747);function c(e,t){u.Facade.call(this,e,t)}t.Group=c,o.default(c,u.Facade);var s=c.prototype;s.action=function(){return"group"},s.type=s.action,s.groupId=u.Facade.field("groupId"),s.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return a.default(e)},s.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();return i.default(t)?t:void 0},s.traits=function(e){var t=this.properties(),n=this.groupId();for(var r in e=e||{},n&&(t.id=n),e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=null==this[r]?this.proxy("traits."+r):this[r]();if(null==o)continue;t[e[r]]=o,delete t[r]}return t},s.name=u.Facade.proxy("traits.name"),s.industry=u.Facade.proxy("traits.industry"),s.employees=u.Facade.proxy("traits.employees"),s.properties=function(){return this.field("traits")||this.field("properties")||{}}},98649:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Identify=void 0;var o=n(40747),i=r(n(53410)),a=r(n(35717)),u=r(n(66243)),c=r(n(18013)),s=function(e){return e.trim()};function l(e,t){o.Facade.call(this,e,t)}t.Identify=l,a.default(l,o.Facade);var f=l.prototype;f.action=function(){return"identify"},f.type=f.action,f.traits=function(e){var t=this.field("traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("traits."+r):this[r]();null!=o&&(t[e[r]]=o,r!==e[r]&&delete t[r])}return t},f.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();return u.default(t)?t:void 0},f.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return c.default(e)},f.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return c.default(e)},f.companyName=function(){return this.proxy("traits.company.name")},f.name=function(){var e=this.proxy("traits.name");if("string"===typeof e)return s(e);var t=this.firstName(),n=this.lastName();return t&&n?s(t+" "+n):void 0},f.firstName=function(){var e=this.proxy("traits.firstName");if("string"===typeof e)return s(e);var t=this.proxy("traits.name");return"string"===typeof t?s(t).split(" ")[0]:void 0},f.lastName=function(){var e=this.proxy("traits.lastName");if("string"===typeof e)return s(e);var t=this.proxy("traits.name");if("string"===typeof t){var n=s(t).indexOf(" ");if(-1!==n)return s(t.substr(n+1))}},f.uid=function(){return this.userId()||this.username()||this.email()},f.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},f.age=function(){var e=this.birthday(),t=i.default(this.traits(),"age");return null!=t?t:e instanceof Date?(new Date).getFullYear()-e.getFullYear():void 0},f.avatar=function(){var e=this.traits();return i.default(e,"avatar")||i.default(e,"photoUrl")||i.default(e,"avatarUrl")},f.position=function(){var e=this.traits();return i.default(e,"position")||i.default(e,"jobTitle")},f.username=o.Facade.proxy("traits.username"),f.website=o.Facade.one("traits.website"),f.websites=o.Facade.multi("traits.website"),f.phone=o.Facade.one("traits.phone"),f.phones=o.Facade.multi("traits.phone"),f.address=o.Facade.proxy("traits.address"),f.gender=o.Facade.proxy("traits.gender"),f.birthday=o.Facade.proxy("traits.birthday")},49969:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function a(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){a(i,r,o,u,c,"next",e)}function c(e){a(i,r,o,u,c,"throw",e)}u(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(S(r))return"https://vimeo.com/".concat(r);if(x(r))return r.replace("http:","https:");if(t)throw new TypeError("\u201c".concat(t,"\u201d is not a valid video id."));throw new TypeError("\u201c".concat(r,"\u201d is not a vimeo.com url."))}var O=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",i="string"===typeof t?[t]:t;return i.forEach((function(t){e[r](t,n)})),{cancel:function(){return i.forEach((function(t){return e[o](t,n)}))}}},C="undefined"!==typeof Array.prototype.indexOf,I="undefined"!==typeof window&&"undefined"!==typeof window.postMessage;if(!w&&(!C||!I))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var P="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{};!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",i("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!o(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof e)}function i(e){return e+"_"+a()+"."+a()}function a(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",(function(e){if(n(this,"delete"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),r(e.prototype,"get",(function(e){if(n(this,"get"),o(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(e.prototype,"has",(function(e){if(n(this,"has"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(e.prototype,"set",(function(e,t){if(n(this,"set"),!o(e))throw new TypeError("Invalid value used as weak map key");var i=e[this._id];return i&&i[0]===e?(i[1]=t,this):(r(e,this._id,[e,t]),this)})),r(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:P);var L,R,j=(L=function(e){var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(m){e=function(e,t,n){return e[t]=n,e}}function i(e,r){n.add(e,r),t||(t=o(n.drain))}function a(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function u(){for(var e=0;e0&&i(u,n))}catch(m){l.call(new d(n),m)}}}function l(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(u,t))}function f(e,t,n,r){for(var o=0;o=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}function B(e,t){var n,r=[];if((t=U(t)).event){if("error"===t.event)M(e,t.data.method).forEach((function(n){var r=new Error(t.data.message);r.name=t.data.name,n.reject(r),G(e,t.data.method,n)}));r=M(e,"event:".concat(t.event)),n=t.data}else if(t.method){var o=function(e,t){var n=M(e,t);if(n.length<1)return!1;var r=n.shift();return G(e,t,r),r}(e,t.method);o&&(r.push(o),n=t.value)}r.forEach((function(t){try{if("function"===typeof t)return void t.call(e,n);t.resolve(n)}catch(r){}}))}var H=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","url","vimeo_logo","volume","watch_full_video","width"];function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return H.reduce((function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(t[n]=""===r?1:r),t}),t)}function z(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((function(r,o){if(!x(e))throw new TypeError("\u201c".concat(e,"\u201d is not a vimeo.com url."));var i=T(e),a="https://".concat(i,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var u in t)t.hasOwnProperty(u)&&(a+="&".concat(u,"=").concat(encodeURIComponent(t[u])));var c="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;c.open("GET",a,!0),c.onload=function(){if(404!==c.status)if(403!==c.status)try{var t=JSON.parse(c.responseText);if(403===t.domain_status_code)return z(t,n),void o(new Error("\u201c".concat(e,"\u201d is not embeddable.")));r(t)}catch(i){o(i)}else o(new Error("\u201c".concat(e,"\u201d is not embeddable.")));else o(new Error("\u201c".concat(e,"\u201d was not found.")))},c.onerror=function(){var e=c.status?" (".concat(c.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},c.send()}))}var q={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},K=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(n,e);var t=function(e){var t=v();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}(n);function n(e,r){var a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;return c(this,n),f(g(a=t.call(this)),"logger",void 0),f(g(a),"speedAdjustment",0),f(g(a),"adjustSpeed",function(){var e=u(i().mark((function e(t,n){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.speedAdjustment!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=a.speedAdjustment,e.t2=e.t0-e.t1,e.t3=n,r=e.t2+e.t3,a.log("New playbackRate: ".concat(r)),e.next=12,t.setPlaybackRate(r);case 12:a.speedAdjustment=n;case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),a.logger=l,a.init(r,e,o(o({},q),s)),a}return l(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var e=u(i().mark((function e(t,n,r){var o,a,u,c=this;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==r.role){e.next=10;break}return e.next=5,this.updatePlayer(t,n,r);case 5:o=O(t,"change",(function(){return c.updatePlayer(t,n,r)})),a=this.maintainPlaybackPosition(t,n,r),this.addEventListener("disconnect",(function(){a.cancel(),o.cancel()})),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,n);case 12:u=O(n,["seeked","play","pause","ratechange"],(function(){return c.updateTimingObject(t,n)}),"on","off"),this.addEventListener("disconnect",(function(){return u.cancel()}));case 14:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"updateTimingObject",value:function(){var e=u(i().mark((function e(t,n){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,n.getCurrentTime();case 3:return e.t1=e.sent,e.next=6,n.getPaused();case 6:if(!e.sent){e.next=10;break}e.t2=0,e.next=13;break;case 10:return e.next=12,n.getPlaybackRate();case 12:e.t2=e.sent;case 13:e.t3=e.t2,e.t4={position:e.t1,velocity:e.t3},e.t0.update.call(e.t0,e.t4);case 16:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"updatePlayer",value:function(){var e=u(i().mark((function e(t,n,r){var o,a,c;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.query(),a=o.position,c=o.velocity,"number"===typeof a&&n.setCurrentTime(a),"number"!==typeof c){e.next=25;break}if(0!==c){e.next=11;break}return e.next=6,n.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}n.pause();case 9:e.next=25;break;case 11:if(!(c>0)){e.next=25;break}return e.next=14,n.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,n.play().catch(function(){var e=u(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("NotAllowedError"!==t.name||!r.autoPlayMuted){e.next=5;break}return e.next=3,n.setMuted(!0);case 3:return e.next=5,n.play().catch((function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,n,r);case 19:return e.next=21,n.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=c,e.t2===e.t3){e.next=25;break}n.setPlaybackRate(c);case 25:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"maintainPlaybackPosition",value:function(e,t,n){var r=this,o=n.allowedDrift,a=n.maxAllowedDrift,c=n.minCheckInterval,s=n.maxRateAdjustment,l=n.maxTimeToCatchUp,f=1e3*Math.min(l,Math.max(c,a)),d=function(){var n=u(i().mark((function n(){var u,c,f,d,p;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===e.query().velocity,n.t0){n.next=6;break}return n.next=4,t.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=e.query().position,n.next=11,t.getCurrentTime();case 11:if(n.t3=n.sent,u=n.t2-n.t3,c=Math.abs(u),r.log("Drift: ".concat(u)),!(c>a)){n.next=22;break}return n.next=18,r.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),r.log("Resync by currentTime"),n.next=29;break;case 22:if(!(c>o)){n.next=29;break}return p=(f=c/l)<(d=s)?(d-f)/2:d,n.next=28,r.adjustSpeed(t,p*Math.sign(u));case 28:r.log("Resync by playbackRate");case 29:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),p=setInterval((function(){return d()}),f);return{cancel:function(){return clearInterval(p)}}}},{key:"log",value:function(e){var t;null===(t=this.logger)||void 0===t||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise((function(n){!function r(){e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})}()}))}}]),n}(m(EventTarget)),J=new WeakMap,Y=new WeakMap,$={},X=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,e),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),"undefined"!==typeof document&&"string"===typeof t&&(t=document.getElementById(t)),!E(t))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==t.nodeName){var o=t.querySelector("iframe");o&&(t=o)}if("IFRAME"===t.nodeName&&!x(t.getAttribute("src")||""))throw new Error("The player element passed isn\u2019t a Vimeo embed.");if(J.has(t))return J.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var i=new j((function(e,o){if(n._onMessage=function(t){if(x(t.origin)&&n.element.contentWindow===t.source){"*"===n.origin&&(n.origin=t.origin);var r=U(t.data);if(r&&"error"===r.event&&r.data&&"ready"===r.data.method){var i=new Error(r.data.message);return i.name=r.data.name,void o(i)}var a=r&&"ready"===r.event,u=r&&"ping"===r.method;if(a||u)return n.element.setAttribute("data-ready","true"),void e();B(n,r)}},n._window.addEventListener("message",n._onMessage),"IFRAME"!==n.element.nodeName){var i=W(t,r);Z(k(i),i,t).then((function(e){var r=z(e,t);return n.element=r,n._originalElement=t,F(t,r),J.set(n.element,n),e})).catch(o)}}));if(Y.set(this,i),J.set(this.element,this),"IFRAME"===this.element.nodeName&&V(this,"ping"),$.isEnabled){var a=function(){return $.exit()};this.fullscreenchangeHandler=function(){$.isFullscreen?D(n,"event:exitFullscreen",a):G(n,"event:exitFullscreen",a),n.ready().then((function(){V(n,"fullscreenchange",$.isFullscreen)}))},$.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return l(e,[{key:"callMethod",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new j((function(r,o){return t.ready().then((function(){D(t,e,{resolve:r,reject:o}),V(t,e,n)})).catch(o)}))}},{key:"get",value:function(e){var t=this;return new j((function(n,r){return e=_(e,"get"),t.ready().then((function(){D(t,e,{resolve:n,reject:r}),V(t,e)})).catch(r)}))}},{key:"set",value:function(e,t){var n=this;return new j((function(r,o){if(e=_(e,"set"),void 0===t||null===t)throw new TypeError("There must be a value to set.");return n.ready().then((function(){D(n,e,{resolve:r,reject:o}),V(n,e,t)})).catch(o)}))}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!==typeof t)throw new TypeError("The callback must be a function.");0===M(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch((function(){})),D(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!==typeof t)throw new TypeError("The callback must be a function.");G(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch((function(e){}))}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=Y.get(this)||new j((function(e,t){t(new Error("Unknown player. Probably unloaded."))}));return j.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return $.isEnabled?$.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return $.isEnabled?$.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return $.isEnabled?j.resolve($.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new j((function(t){if(Y.delete(e),J.delete(e.element),e._originalElement&&(J.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var n=e.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}e._window.removeEventListener("message",e._onMessage),$.isEnabled&&$.off("fullscreenchange",e.fullscreenchangeHandler),t()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return j.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new j((function(e,t){return t(new TypeError("Argument must be an array."))}));var t=new j((function(e){return e(null)})),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return j.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:function(){var e=u(i().mark((function e(t,n){var r,o=this;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return r=new K(this,t,n),V(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",(function(){return V(o,"notifyTimingObjectDisconnect")})),e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),e}();w||($=function(){var e=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=t.length,o={};n0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach((function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=W(e);Z(k(t),t,e).then((function(t){return z(t,e)})).catch(n)}catch(r){n(r)}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(t){if(x(t.origin)&&t.data&&"spacechange"===t.data.event)for(var n=e.querySelectorAll("iframe"),r=0;r0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(t){if(x(t.origin)){var n=U(t.data);if(n&&"ready"===n.event)for(var r=e.querySelectorAll("iframe"),o=0;o0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))},n=function(n){if(x(n.origin)){var r=U(n.data);if(r&&"ready"===r.event)for(var o=e.querySelectorAll("iframe"),i=function(){var e=o[a],r=e.contentWindow===n.source;if(A(e.src)&&r){var i=new X(e);i.getVideoId().then((function(e){var t=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(t&&t[1]){var n=decodeURI(t[1]);i.setCurrentTime(n)}})).catch(t)}},a=0;ao?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=o?e:r(e,t,n)}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++rl))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var v=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++v-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=u},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},83140:function(e,t,n){var r=n(44286),o=n(62689),i=n(676);e.exports=function(e){return o(e)?i(e):r(e)}},55514:function(e,t,n){var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",s=c+u+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+u+")*"),l="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+s,"g");e.exports=function(e){return e.match(f)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",a="\\d+",u="[\\u2700-\\u27bf]",c="["+n+"]",s="[^\\ud800-\\udfff"+o+a+t+n+r+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+r+"]",p="(?:"+c+"|"+s+")",v="(?:"+d+"|"+s+")",h="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+g+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,f].join("|")+")"+y+g+")*"),w="(?:"+[u,l,f].join("|")+")"+b,_=RegExp([d+"?"+c+"+"+h+"(?="+[i,d,"$"].join("|")+")",v+"+"+m+"(?="+[i,d+p,"$"].join("|")+")",d+"?"+p+"+"+h,d+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,w].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},75703:function(e){e.exports=function(e){return function(){return e}}},53816:function(e,t,n){var r=n(69389),o=n(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},79095:function(e,t,n){var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?r.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;e.exports=c},41609:function(e,t,n){var r=n(280),o=n(64160),i=n(35694),a=n(1469),u=n(98612),c=n(44144),s=n(25726),l=n(36719),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,n){var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:function(e,t,n){var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},66604:function(e,t,n){var r=n(89465),o=n(47816),i=n(67206);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},88306:function(e,t,n){var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:function(e,t,n){var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},39601:function(e,t,n){var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},18029:function(e,t,n){var r=n(35393),o=n(11700),i=r((function(e,t,n){return e+(n?" ":"")+o(t)}));e.exports=i},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},59881:function(e,t,n){var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},58748:function(e,t,n){var r=n(49029),o=n(93157),i=n(79833),a=n(2757);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},18013:function(e,t,n){"use strict";var r=n(28336),o=n(18040),i=n(24085),a=Object.prototype.toString;e.exports=function(e){return t=e,"[object Date]"===a.call(t)?e:function(e){return"[object Number]"===a.call(e)}(e)?new Date((n=e)<315576e5?1e3*n:n):r.is(e)?r.parse(e):o.is(e)?o.parse(e):i.is(e)?i.parse(e):new Date(e);var t,n}},18040:function(e,t){"use strict";var n=/\d{13}/;t.is=function(e){return n.test(e)},t.parse=function(e){return e=parseInt(e,10),new Date(e)}},24085:function(e,t){"use strict";var n=/\d{10}/;t.is=function(e){return n.test(e)},t.parse=function(e){var t=1e3*parseInt(e,10);return new Date(t)}},25428:function(e,t,n){"use strict";var r,o,i,a,u;n.d(t,{Ze:function(){return r},u8:function(){return s}}),function(e){e[e.NOT_IN_EXPERIMENT=-1]="NOT_IN_EXPERIMENT",e[e.CONTROL=0]="CONTROL"}(r||(r={})),function(e){e[e.PAGELOAD=0]="PAGELOAD",e[e.DEFERRED=1]="DEFERRED",e[e.EDGE=2]="EDGE"}(o||(o={})),function(e){e[e.DESKTOP_ONLY=0]="DESKTOP_ONLY",e[e.NON_DESKTOP=1]="NON_DESKTOP"}(i||(i={})),function(e){e[e.DESKTOP_MIN_WIDTH=961]="DESKTOP_MIN_WIDTH",e[e.DESKTOP_1120=1120]="DESKTOP_1120",e[e.TABLET_MAX_WIDTH=960]="TABLET_MAX_WIDTH"}(a||(a={})),function(e){e.LOW="productLow",e.MEDIUM="productMedium",e.HIGH="productHigh"}(u||(u={}));var c={dev_only_experiment:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},nav_003_aa_mobile_and_desktop:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1 (no behavior change)","Variant 2 (no behavior change)"]},nav_003_aa_desktop_only:{enrollmentType:o.DEFERRED,numVariants:2,variantLabels:["Control","Variant 1 (no behavior change)","Variant 2 (no behavior change)"]},feature_flag_whats_new_link:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Off","On"]},hp_002_aa:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control 1","Control 2"]},unsubscribe_email_preference_center:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control - Unsubscribe from all","Show link to email preference center"]},tem_004_templates_email_signup:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},sd_035_improve_email_verification:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant"]},perf_001_lazyload_lower_page_sections:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Lazyload below the fold"]},slg_011_form_submission_cta:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},tem_003_icon_link_removal:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pln_005_social_proof_iteration:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},cam_013_corporate_narrative:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},sd_041_download_page_v3:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},sd_045_prominent_product_engagement:{enrollmentType:o.DEFERRED,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control","Variant 1"]},suf_011_corporate_narrative_headline:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},fd_001_remove_hero_image:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant"]},slg_013_form_submission_cta:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},slg_010_sales_dropdown_field:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},tem_007_sidebar_reorganization:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant"]},cam_014_hero_image:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant"]},homepage_redirect_test_ja:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant"]},suf_014_en_gb_copy:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},fc_003_colored_background:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},slg_018_demo_phone_field:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},use_001_cta_redesign:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},slg_022_remove_image_mobile_header:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"],maxWidth:a.DESKTOP_1120},res_016_cta_banner_v2:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},segment_cdp_launch:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Off","On"]},slg_021_security_visual:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},slg_015_form_context_iteration:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},tea_002_hero_cta_iteration:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pro_004_card_style_footer_cta:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},slg_017_social_proof:{enrollmentType:o.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},ja_001_homepage_redirect:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},plad_apps_slack_redesign:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},nav_006_updated_plans_list:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},res_014_demo_offer:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},res_012_operations_offer:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},res_018_workflows_offer:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},res_019_report_cta_banner:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},hp_009_product_secondary_cta:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},rm_001_landing_layout_test:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},ja_001_home_update:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},suf_015_create_account_logos:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},cam_005_hero_ai_video:{enrollmentType:o.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},ja_002_navigation_native_copy:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control","Variant 1"]},chex_024_lihp_paid_domain:{enrollmentType:o.EDGE,numVariants:1,variantLabels:["Control","Variant 1"]},fd_004_media_alignment:{enrollmentType:o.PAGELOAD,minWidth:a.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]}},s={REDIRECT_TESTS:{homepage_redirect_test_ja:[{redirectType:"none"},{redirectType:"simple",newPath:"/ja-home"}],ja_001_homepage_redirect:[{redirectType:"none"},{redirectType:"simple",newPath:"/ja-home"}],plad_apps_slack_redesign:[{redirectType:"none"},{redirectType:"simple",newPath:"/apps/_slack"}]},ENROLLMENT_TYPES:o,DEVICE_TYPE_FILTER:i,getExperiments:function(){return c}}},3775:function(e,t,n){"use strict";n.d(t,{Mv:function(){return r},QC:function(){return o},jV:function(){return i}});var r={IS_LOGGED_IN:"is_logged_in",LAST_DOMAIN:"last_domain",BUCKETING_ID:"logged_out_uuid",GOOGLE_CLIENT_ID:"_ga",CAN_VIEW_BILLING_INTERSTITIAL_UPGRADE_FLOW:"can_view_upgrade_flow",LOGGED_IN_HOME_ENABLED:"enable_asanadotcom_homepage",LOGGED_IN_HOME_DOMAIN_TEST_BUCKET:"lihp_domain_test_bucket",LOGGED_IN_HOME_DOMAIN_TEST_SHOULD_SHOW_MODAL:"lihp_domain_test_should_show_modal",IS_ORG_PAYING_BILLING_OWNER:"is_org_paying_billing_owner",USER_GEO:"user_geo",USER_IS_FREE_OR_TRIALING:"is_free_or_trialing",LANGUAGE_PREFERENCE:"lang_pref"},o="asanadotcomLoggedOutExperimentEnrollment",i="expSplitPoint";"#".concat(i)},53967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var r=(0,n(92648).Z)(n(67294)).default.createContext({});t.AmpStateContext=r},10162:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,o=void 0!==r&&r,i=e.hasQuery,a=void 0!==i&&i;return n||o&&a}},22358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=i.default,o=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?o.loader=function(){return e}:"function"===typeof e?o.loader=e:"object"===typeof e&&(o=r({},o,e));if((o=r({},o,t)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");o.suspense&&(delete o.ssr,delete o.loading);o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated)).loadableGenerated;if("boolean"===typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,a(n,o);delete o.ssr}return n(o)},t.noSSR=a;var r=n(6495).Z,o=n(92648).Z,i=(o(n(67294)),o(n(26907)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var r=n(6495).Z,o=n(92648).Z,i=(0,n(91598).Z)(n(67294)),a=o(n(30822)),u=n(53967),c=n(66999),s=n(10162);n(23523);function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[i.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(i.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var n=t.inAmpMode;return e.reduce(f,[]).reverse().concat(l(n).reverse()).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(o){var i=!0,a=!1;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){a=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?i=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(var c=0,s=d.length;c=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return p=!0,t()};g(d,e).then(n,n)}))},window.__NEXT_PRELOADREADY=m.preloadReady;var y=m;t.default=y},30822:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headManager,n=e.reduceComponentsToState;function u(){if(t&&t.mountedInstances){var o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}if(o){var c;null==t||null==(c=t.mountedInstances)||c.add(e.children),u()}return i((function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),i((function(){return t&&(t._pendingUpdate=u),function(){t&&(t._pendingUpdate=u)}})),a((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var r=(0,n(91598).Z)(n(67294));var o=!1,i=o?function(){}:r.useLayoutEffect,a=o?function(){}:r.useEffect},43693:function(e,t,n){"use strict";var r=n(59499),o=n(4730),i=(n(67294),n(74467)),a=n(85769),u=n(5152),c=n.n(u),s=n(35944),l=["type","color","title","desc","hidden","heightOrWidthVal","shouldShowoverflowHidden"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t0&&(t.className="".concat(t.className," ").concat(r.join(" ")).trim())}}}),[e])}},98316:function(e,t,n){"use strict";n.d(t,{g:function(){return r},m:function(){return o}});var r={AUTH_STATUS:"debug_auth"},o={LOGGED_IN:"loggedIn",LOGGED_OUT:"loggedOut"}},78097:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(92777),o=n(82262),i=function(){function e(){(0,r.Z)(this,e)}return(0,o.Z)(e,[{key:"info",value:function(e){console.info("INFO:",e)}},{key:"warn",value:function(e){console.warn("WARN",e)}},{key:"error",value:function(e){var t;console.log("ERROR",e),window&&null!==(t=window.AsanaErrors)&&void 0!==t&&t.notifyException&&window.AsanaErrors.notifyException(e)}}]),e}(),a=(n(1046),new i)},76931:function(e,t,n){"use strict";n.d(t,{En:function(){return u},lX:function(){return c},xr:function(){return l}});var r=n(67294),o=n(9379),i=n(78097);var a=n(35944),u={NECESSARY:"C0001",PERFORMANCE:"C0002",FUNCTIONAL:"C0003",TARGETING:"C0004"},c=(0,r.createContext)({functional:null,performance:null,targeting:null});function s(e){return window.OptanonActiveGroups?window.OptanonActiveGroups.includes(e):null}function l(e){var t=e.children,n=(0,r.useState)({functional:s(u.FUNCTIONAL),performance:s(u.PERFORMANCE),targeting:s(u.TARGETING)}),l=n[0],f=n[1];return function(){var e=(0,r.useState)(0),t=e[0],n=e[1],a="onetrust-style";(0,r.useEffect)((function(){n(1)}),[]),(0,r.useEffect)((function(){var e;if(window&&window.document){var r=window.document.getElementById(a),u=!(null!==r&&r.hasChildNodes());if(t<4&&u)e=setTimeout((function(){n(t+1)}),1500);else if(u&&(o.isStaging||o.isProduction)){i.default.error("Failed to load the OneTrust stylesheet. Injecting styles manually.");try{var c=document.getElementsByTagName("head")[0],s=document.createElement("style");s.id=a;var l=window.Optanon.getCSS();s.innerHTML=l,c.appendChild(s)}catch(f){i.default.error("Failed to manually inject OneTrust styles: ".concat(f))}}return function(){clearTimeout(e)}}}),[t])}(),(0,r.useEffect)((function(){if(window.AsanaStorage.optanonWrapperInitialized)f({performance:s(u.PERFORMANCE),functional:s(u.FUNCTIONAL),targeting:s(u.TARGETING)}),window.AsanaTimings.setTiming("consentStateSet");else{var e=window.OptanonWrapper?window.OptanonWrapper:function(){window.AsanaErrors.notifyException("OptanonWrapper not found")};window.OptanonWrapper=function(){e(),f({performance:s(u.PERFORMANCE),functional:s(u.FUNCTIONAL),targeting:s(u.TARGETING)}),window.AsanaTimings.setTiming("consentStateSet")}}}),[]),(0,a.tZ)(c.Provider,{value:l,children:t})}},92440:function(e,t,n){"use strict";n.d(t,{PJ:function(){return f},a7:function(){return d}});var r=n(59499),o=n(76931),i=n(67294),a=n(35944);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n6&&void 0!==arguments[6]?arguments[6]:"Lax";if(n!==o.En.NECESSARY&&!h(n))return void window.AsanaStorage.pendingCookies.push({name:e,value:t,groupId:n,expires_in_days:r,cross_domain:i,path:a});r=r||30,i="undefined"===typeof i||i;var c=new Date;c.setTime(c.getTime()+24*r*60*60*1e3);var s="expires="+c.toUTCString(),l=a||"/";document.cookie=e+"="+t+";"+s+";path="+l+m(i)+";SameSite=".concat(u)+";secure"}(e,t,u,a,f,void 0===d?"/":d),l((function(n){return c(c({},n),{},(0,r.Z)({},e,t))}))}},children:t})}var p={};var v=function(){return!0};function h(e){var t=window.OptanonActiveGroups;return t&&t.includes(e)}function m(e){var t=/netlify\.app/.test(window.location.hostname);return e&&!t?";domain=.asana.com":""}},9379:function(e){e.exports={isSandbox:!1,isDevelopment:!1,isTest:!1,isStaging:!1,isProduction:!0,isQaEnv:!1,isPreview:!1,isDeployPreview:!1,env:"production"}},1046:function(e,t,n){var r=n(33227),o=n(88361),i=function(){"use strict";function e(){r(this,e)}return o(e,[{key:"info",value:function(e){console.info("INFO:",e)}},{key:"warn",value:function(e){console.warn("WARN",e)}},{key:"error",value:function(e){console.error("ERROR",e)}}]),e}();e.exports=i},33297:function(e,t,n){"use strict";n.d(t,{ts:function(){return i}});var r=n(25428);n(3775);var o=n(39226);function i(e){var t=r.u8.getExperiments()[e];if("undefined"===typeof t)return r.Ze.CONTROL;var n=(0,o.dz)();return"undefined"!==typeof t.minWidth&&nt.maxWidth?r.Ze.CONTROL:window.experimentVariants&&window.experimentVariants[e]||r.Ze.CONTROL}},46338:function(e,t,n){"use strict";var r=n(67294).createContext({global_CTAgoToAppDesktop:"",global_CTAlaunchAsana:"",global_CtaTrialHref:"",global_CTAsignupEmail:"",global_CtaFreeSignupHref:"",global_navCtaOnclickSetDefaultPlanTier_notrans:"",preview:!1,microcopy:{},footerColumns:[],header_navigation:[]});t.Z=r},91220:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92440),o=n(67294);function i(e){var t=(0,o.useContext)(r.PJ),n=t.cookies,i=t.setCookie;return[n[e],function(t,n){return i(e,t,n)}]}},15631:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=(0,r.useState)((function(){return i(e)})),n=t[0],o=t[1];return(0,r.useEffect)((function(){o(i(e))}),[e]),(0,r.useDebugValue)(n),{cookieValue:n,setCookieValue:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.expiresInDays,i=void 0===r?30:r,a=n.groupId,u=n.crossDomain,c=void 0===u||u,s=n.path,l=void 0===s?"/":s;window.AsanaStorage.setCookie(e,t,a,i,c,l),o(t)}}}function i(e){var t=window.AsanaStorage.getCookie(e);return"null"===t?null:t}},39226:function(e,t,n){"use strict";n.d(t,{ZP:function(){return d},dz:function(){return l}});var r=n(67294),o=n(44309),i=o.u3[o.Uo.MOBILE_480].width,a=o.u3[o.Uo.TABLET_960].width,u=function(e){return e>a},c=function(e){return i0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultViewportWidth,n=(0,r.useState)(t||0),o=n[0],i=n[1],a=(0,r.useState)(0),d=a[0],p=a[1],v=(0,r.useState)(0),h=v[0],m=v[1],g=(0,r.useState)(0),y=g[0],b=g[1],w=(0,r.useState)(0),_=w[0],E=w[1],S=(0,r.useState)(null),x=S[0],A=S[1],T=(0,r.useState)(""),k=T[0],O=T[1],C=(0,r.useState)(""),I=C[0],P=C[1];function L(){var e,t,n=navigator.userAgent;if(!n)return"";var r=n.match(/\(Mac[^)]*/)&&(null===(e=n.match(/\(Mac[^)]*/))||void 0===e?void 0:e[0])+")",o=n.match(/\(Win[^)]*/)&&(null===(t=n.match(/\(Win[^)]*/))||void 0===t?void 0:t[0])+")";return r||o||""}function R(){var e,t,n=navigator.userAgent;if(!n)return"";var r=null===(e=n.match(/Firefox[^\s]*/))||void 0===e?void 0:e[0],o=null===(t=n.match(/Chrome[^\s]*/))||void 0===t?void 0:t[0],i=n.match(/Version\/[^\s]*/)&&"Safari "+n.match(/Version\/[^\s]*/);return r||o||i||""}function j(){return document?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):0}function N(){var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n==r&&(r=t.clientWidth),document.body.removeChild(t),n-r}return(0,r.useDebugValue)(o),(0,r.useDebugValue)(x),(0,r.useEffect)((function(){if(document)return p(j()),i(l()),m(window.innerWidth),b(window.innerHeight),A(f(navigator.userAgent,document)),O(L()),P(R()),E(N()),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)};function e(){i(l()),p(j()),m(window.innerWidth),b(window.innerHeight)}}),[]),{isMobile:s(o),isTablet:c(o),isDesktop:u(o),isMobilePlatform:"ios"===x||"android"===x,platform:x,browser:I,os:k,viewportWidth:o,viewportHeight:d,scrollbarWidth:_,windowInnerWidth:h,windowInnerHeight:y}}},15720:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(11163),o=n(67294),i=n(15631),a=n(98316);function u(){var e=(0,i.Z)("is_logged_in").cookieValue,t=(0,o.useState)(null),n=t[0],u=t[1],c=(0,r.useRouter)();return(0,o.useDebugValue)(n),(0,o.useEffect)((function(){u("true"===e)}),[]),c.query[a.g.AUTH_STATUS]?[c.query[a.g.AUTH_STATUS]===a.m.LOGGED_IN]:[n]}},2984:function(e,t,n){var r=n(85696),o=n(930);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t-1?t:l}e.exports={getPageLanguage:y,getContentfulLocale:function(e){if("string"!==typeof e)throw Error("Non string provided to contentfulLocale");if(e===l)return g;var t=e.split(/[-_]/),n=r(t,2),o=n[0],i=n[1];return i?o.toLowerCase()+"-"+i.toUpperCase():o},getLanguageGeoCode:function(e,t){return"string"!==typeof e||"string"!==typeof t?null:"".concat(e.toLowerCase(),"-").concat(t.toLowerCase())},isPageLanguageDefault:function(e){return y(e)===l},removeLanguageFromPath:function(e){var t=(e=c(e)).split("/"),n=t[0];return h.indexOf(n)>-1&&t.shift(),s(t.join("/"))},DEFAULT_LANGUAGE:l,DEFAULT_LOCALE:"US",LANGUAGES:f,LANGUAGES_NO_FALLBACKS:d,LANGUAGE_MAP:v,LANGUAGE_CODES:h,LANGUAGE_CODES_NO_FALLBACKS:p,ALL_ISO_3166_COUNTRY_CODES:["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],ALL_LANGUAGE_CODES:m,CONTENTFUL_DEFAULT_LOCALE:g}},81284:function(e,t,n){"use strict";n.d(t,{Iy:function(){return y},iE:function(){return p}});var r,o=n(59499),i=n(50029),a=n(87794),u=n.n(a),c=n(78097);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{defaultLanguage:u,overrideExistingLanguage:!1};if(/(^http)/.test(t))return t;var o,i=!g(t),a=n.defaultLanguage||u;if(n.overrideExistingLanguage&&p.test(t)){var s=new RegExp("^\\/?(".concat(c.map((function(e){return e+"\\/"})).join("|"),")+"));t=t.replace(s,"")}return o=p.test(t)||e===a||!/(^[^:]*$)/.test(t)||/(^(#).+)/.test(t)||d.test(g(t))?t:i?r.join(e+l(t)):r.join(e,t),"/"+l(o)}e.exports={englishPath:function(e){for(var t=l(e).split("/");!a(t.join("/"));)t.splice(0,1);return"/"+t.join("/")},cleanPath:g,removeTrailingHashFromPath:m,useCurrentUrl:function(){var e=o();return h()+y(e.locale,e.asPath)},getCurrentDomain:h,getAllUrlParams:function(){var e={},t=m(o().asPath).split("?"),n=t.length>1?t[1].split("&"):[];if(1===n.length&&""===n[0])return"";for(var r=0;r-1?e:e+t}(t,r):function(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}(o);return{path:u,referrer:i,search:r,title:a,url:c}},C=function(){var e=document.querySelector("link[rel='canonical']");return T(location.href,e&&e.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},I=function(e,t){void 0===t&&(t=O(C()));var n,r,o,i=e.context;"page"===e.type&&(n=e.properties&&(r=e.properties,o=Object.keys(t),Object.assign.apply(Object,(0,s.ev)([{}],o.map((function(e){var t;if(r&&Object.prototype.hasOwnProperty.call(r,e))return(t={})[e]=r[e],t})),!1))),e.properties=(0,s.pi)((0,s.pi)((0,s.pi)({},t),e.properties),e.name?{name:e.name}:{})),i.page=(0,s.pi)((0,s.pi)((0,s.pi)({},t),n),i.page)},P=n(96475),L=function(e){function t(t,n){var r=e.call(this,"".concat(t," ").concat(n))||this;return r.field=t,r}return(0,s.ZT)(t,e),t}(Error),R="is not a string",j="is not an object",N="is nil";function D(e){!function(e){if(!(0,v.Gg)(e))throw new L("Event",N);if("object"!==typeof e)throw new L("Event",j)}(e),function(e){if(!(0,v.HD)(e.type))throw new L(".type",R)}(e),function(e){if(!(0,v.HD)(e.messageId))throw new L(".messageId",R)}(e),"track"===e.type&&(function(e){if(!(0,v.HD)(e.event))throw new L(".event",R)}(e),function(e){if(!(0,v.PO)(e.properties))throw new L(".properties",j)}(e)),["group","identify"].includes(e.type)&&function(e){if(!(0,v.PO)(e.traits))throw new L(".traits",j)}(e)}var M=function(e){var t,n;this.settings=e,this.createMessageId=e.createMessageId,this.onEventMethodCall=null!==(t=e.onEventMethodCall)&&void 0!==t?t:function(){},this.onFinishedEvent=null!==(n=e.onFinishedEvent)&&void 0!==n?n:function(){}},G=function(){function e(e){this.settings=new M(e)}return e.prototype.track=function(e,t,n,r){return this.settings.onEventMethodCall({type:"track",options:n}),this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),{event:e,type:"track",properties:null!==t&&void 0!==t?t:{},options:(0,s.pi)({},n),integrations:(0,s.pi)({},r)}))},e.prototype.page=function(e,t,n,r,o){var i;this.settings.onEventMethodCall({type:"page",options:r});var a={type:"page",properties:(0,s.pi)({},n),options:(0,s.pi)({},r),integrations:(0,s.pi)({},o)};return null!==e&&(a.category=e,a.properties=null!==(i=a.properties)&&void 0!==i?i:{},a.properties.category=e),null!==t&&(a.name=t),this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),a))},e.prototype.screen=function(e,t,n,r,o){this.settings.onEventMethodCall({type:"screen",options:r});var i={type:"screen",properties:(0,s.pi)({},n),options:(0,s.pi)({},r),integrations:(0,s.pi)({},o)};return null!==e&&(i.category=e),null!==t&&(i.name=t),this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),i))},e.prototype.identify=function(e,t,n,r){return this.settings.onEventMethodCall({type:"identify",options:n}),this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),{type:"identify",userId:e,traits:null!==t&&void 0!==t?t:{},options:(0,s.pi)({},n),integrations:r}))},e.prototype.group=function(e,t,n,r){return this.settings.onEventMethodCall({type:"group",options:n}),this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),{type:"group",traits:null!==t&&void 0!==t?t:{},options:(0,s.pi)({},n),integrations:(0,s.pi)({},r),groupId:e}))},e.prototype.alias=function(e,t,n,r){this.settings.onEventMethodCall({type:"alias",options:n});var o={userId:e,type:"alias",options:(0,s.pi)({},n),integrations:(0,s.pi)({},r)};return null!==t&&(o.previousId=t),void 0===e?this.normalize((0,s.pi)((0,s.pi)({},o),this.baseEvent())):this.normalize((0,s.pi)((0,s.pi)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){return{integrations:{},options:{}}},e.prototype.context=function(e){var t,n=["userId","anonymousId","timestamp","messageId"];delete e.integrations;var r=Object.keys(e),o=null!==(t=e.context)&&void 0!==t?t:{},i={};return r.forEach((function(t){"context"!==t&&(n.includes(t)?(0,P.N)(i,t,e[t]):(0,P.N)(o,t,e[t]))})),[o,i]},e.prototype.normalize=function(e){var t,n,r,o,i=Object.keys(null!==(t=e.integrations)&&void 0!==t?t:{}).reduce((function(t,n){var r,o;return(0,s.pi)((0,s.pi)({},t),((r={})[n]=Boolean(null===(o=e.integrations)||void 0===o?void 0:o[n]),r))}),{});e.options=(r=e.options||{},o=function(e,t){return void 0!==t},Object.keys(r).filter((function(e){return o(e,r[e])})).reduce((function(e,t){return e[t]=r[t],e}),{}));var a=(0,s.pi)((0,s.pi)({},i),null===(n=e.options)||void 0===n?void 0:n.integrations),u=e.options?this.context(e.options):[],c=u[0],l=u[1],f=e.options,d=(0,s._T)(e,["options"]),p=(0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)({timestamp:new Date},d),{context:c,integrations:a}),l),{messageId:f.messageId||this.settings.createMessageId()});return this.settings.onFinishedEvent(p),D(p),p},e}(),F=function(e){function t(t){var n=e.call(this,{createMessageId:function(){return"ajs-next-".concat(Date.now(),"-").concat((0,A.v4)())},onEventMethodCall:function(e){var t=e.options;n.maybeUpdateAnonId(t)},onFinishedEvent:function(e){return n.addIdentity(e),e}})||this;return n.user=t,n}return(0,s.ZT)(t,e),t.prototype.maybeUpdateAnonId=function(e){(null===e||void 0===e?void 0:e.anonymousId)&&this.user.anonymousId(e.anonymousId)},t.prototype.addIdentity=function(e){this.user.id()&&(e.userId=this.user.id()),this.user.anonymousId()&&(e.anonymousId=this.user.anonymousId())},t.prototype.track=function(t,n,r,o,i){var a=e.prototype.track.call(this,t,n,r,o);return I(a,i),a},t.prototype.page=function(t,n,r,o,i,a){var u=e.prototype.page.call(this,t,n,r,o,i);return I(u,a),u},t.prototype.screen=function(t,n,r,o,i,a){var u=e.prototype.screen.call(this,t,n,r,o,i);return I(u,a),u},t.prototype.identify=function(t,n,r,o,i){var a=e.prototype.identify.call(this,t,n,r,o);return I(a,i),a},t.prototype.group=function(t,n,r,o,i){var a=e.prototype.group.call(this,t,n,r,o);return I(a,i),a},t.prototype.alias=function(t,n,r,o,i){var a=e.prototype.alias.call(this,t,n,r,o);return I(a,i),a},t}(G),U=function(e){return"addMiddleware"in e&&"destination"===e.type},V=n(65976);var B=n(51181),H=n(98191),W=n(69147),z=function(e){function t(t){var n=e.call(this)||this;return n.criticalTasks=function(){var e,t,n=0;return{done:function(){return e},run:function(r){var o,i=r();return"object"===typeof(o=i)&&null!==o&&"then"in o&&"function"===typeof o.then&&(1===++n&&(e=new Promise((function(e){return t=e}))),i.finally((function(){return 0===--n&&t()}))),i}}}(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=t,n.queue.on(B.M,(function(){n.scheduleFlush(0)})),n}return(0,s.ZT)(t,e),t.prototype.register=function(e,t,n){return(0,s.mG)(this,void 0,void 0,(function(){var r,o,i=this;return(0,s.Jh)(this,(function(a){switch(a.label){case 0:return this.plugins.push(t),r=function(n){i.failedInitializations.push(t.name),i.emit("initialization_failure",t),console.warn(t.name,n),e.log("warn","Failed to load destination",{plugin:t.name,error:n}),i.plugins=i.plugins.filter((function(e){return e!==t}))},"destination"!==t.type||"Segment.io"===t.name?[3,1]:(t.load(e,n).catch(r),[3,4]);case 1:return a.trys.push([1,3,,4]),[4,t.load(e,n)];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),r(o),[3,4];case 4:return[2]}}))}))},t.prototype.deregister=function(e,t,n){return(0,s.mG)(this,void 0,void 0,(function(){var r;return(0,s.Jh)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),t.unload?[4,Promise.resolve(t.unload(e,n))]:[3,2];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter((function(e){return e.name!==t.name})),[3,4];case 3:return r=o.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:r}),[3,4];case 4:return[2]}}))}))},t.prototype.dispatch=function(e){return(0,s.mG)(this,void 0,void 0,(function(){var t;return(0,s.Jh)(this,(function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]}))}))},t.prototype.subscribeToDelivery=function(e){return(0,s.mG)(this,void 0,void 0,(function(){var t=this;return(0,s.Jh)(this,(function(n){return[2,new Promise((function(n){var r=function(o,i){o.isSame(e)&&(t.off("flush",r),n(o))};t.on("flush",r)}))]}))}))},t.prototype.dispatchSingle=function(e){return(0,s.mG)(this,void 0,void 0,(function(){var t=this;return(0,s.Jh)(this,(function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch((function(n){return t.enqueuRetry(n,e)?t.subscribeToDelivery(e):(e.setFailedDelivery({reason:n}),e)}))]}))}))},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout((function(){t.flush().then((function(){setTimeout((function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)}),0)}))}),e))},t.prototype.deliver=function(e){return(0,s.mG)(this,void 0,void 0,(function(){var t,n,r,o;return(0,s.Jh)(this,(function(i){switch(i.label){case 0:return[4,this.criticalTasks.done()];case 1:i.sent(),t=Date.now(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=i.sent(),n=Date.now()-t,this.emit("delivery_success",e),e.stats.gauge("delivered",n),e.log("debug","Delivered",e.event),[2,e];case 4:throw r=i.sent(),o=r,e.log("error","Failed to deliver",o),this.emit("delivery_failure",e,o),e.stats.increment("delivery_failed"),r;case 5:return[2]}}))}))},t.prototype.enqueuRetry=function(e,t){return!(e instanceof H.Y&&!e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return(0,s.mG)(this,void 0,void 0,(function(){var e,t;return(0,s.Jh)(this,(function(n){switch(n.label){case 0:if(0===this.queue.length)return[2,[]];if(!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=n.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=n.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}}))}))},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t=this.plugins.filter((function(t){var n,r,o;if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var i=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach((function(t){void 0!==e[t]&&(i=e[t])})),null!==(o=null!==(r=e[t.name])&&void 0!==r?r:i)&&void 0!==o?o:!1!==("Segment.io"===t.name||e.All)})),n=function(e,t){var n={};return e.forEach((function(e){var r,o=void 0;if("string"===typeof t){var i=e[t];o="string"!==typeof i?JSON.stringify(i):i}else t instanceof Function&&(o=t(e));void 0!==o&&(n[o]=(0,s.ev)((0,s.ev)([],null!==(r=n[o])&&void 0!==r?r:[],!0),[e],!1))})),n}(t,"type"),r=n.before,o=void 0===r?[]:r,i=n.enrichment,a=void 0===i?[]:i,u=n.destination,c=void 0===u?[]:u,l=n.after;return{before:o,enrichment:a,destinations:c,after:void 0===l?[]:l}},t.prototype.flushOne=function(e){var t,n;return(0,s.mG)(this,void 0,void 0,(function(){var r,o,i,a,u,c,l,f,d,p,v,h,m,g;return(0,s.Jh)(this,(function(s){switch(s.label){case 0:if(!this.isReady())throw new Error("Not ready");e.attempts>1&&this.emit("delivery_retry",e),r=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{}),o=r.before,i=r.enrichment,a=0,u=o,s.label=1;case 1:return a0)return r;if(t.length<=1)return r;for(var o=t.length-2;o>=0;--o)r.push(t.slice(o).join("."));return r}(t),r=0;r4){var a=r.slice(4);"campaign"===a&&(a="name"),e[a]=(0,Ne.a)(i)}return e}),{})}(a));var c=function(){var e=te.get("_ga");if(e&&e.startsWith("amp"))return e}();c&&(o.amp={id:c}),function(e,t,n){var r,o=new Y(n?[]:[new re(Me())]),i=o.get("s:context.referrer"),a=null!==(r=function(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1));for(var n=0,r=(e=e.replace(/\?/g,"&")).split("&");n=64&&n++,t[n]?t[n].push(e):t[n]=[e]})),t}(i).map(l);Promise.all(t).catch(console.error)}})),{dispatch:function(e,t){return(0,s.mG)(this,void 0,void 0,(function(){var e;return(0,s.Jh)(this,(function(n){return i.push(t),e=i.length>=u||function(e){return qe(e)>=450}(i),[2,e||a?f():void(o||(o=setTimeout((function(){o=void 0,f().catch(console.error)}),c)))]}))}))}}}function Je(e,t,n,r){var o,i=e.user();delete t.options,t.writeKey=null===n||void 0===n?void 0:n.apiKey,t.userId=t.userId||i.id(),t.anonymousId=t.anonymousId||i.anonymousId(),t.sentAt=new Date;var a=e.queue.failedInitializations||[];a.length>0&&(t._metadata={failedInitializations:a});var u=[],c=[];for(var l in r){var f=r[l];"Segment.io"===l&&u.push(l),"bundled"===f.bundlingStatus&&u.push(l),"unbundled"===f.bundlingStatus&&c.push(l)}for(var d=0,p=(null===n||void 0===n?void 0:n.unbundledIntegrations)||[];d0&&!(0,b.s)()}),(function(){return(0,s.mG)(r,void 0,void 0,(function(){var r,o;return(0,s.Jh)(this,(function(i){switch(i.label){case 0:return(r=t.pop())?[4,(0,W.a)(r,e)]:[2];case 1:return o=i.sent(),o instanceof w._||n.push(r),[2]}}))}))}))];case 1:return o.sent(),n.map((function(e){return t.pushWithBackoff(e)})),[2,t]}}))}))}function Xe(e,t,n,r){var o=this;e||setTimeout((function(){return(0,s.mG)(o,void 0,void 0,(function(){var e,o;return(0,s.Jh)(this,(function(i){switch(i.label){case 0:return e=!0,[4,$e(n,t)];case 1:return o=i.sent(),e=!1,t.todo>0&&r(e,o,n,r),[2]}}))}))}),5e3*Math.random())}var Qe,et,tt=n(36514);function nt(e,t,n){var r,o,i;window.addEventListener("pagehide",(function(){c.push.apply(c,Array.from(l)),l.clear()}));var a,u=null!==(r=null===t||void 0===t?void 0:t.apiKey)&&void 0!==r?r:"",c=e.options.disableClientPersistence?new B.Z(e.queue.queue.maxAttempts,[]):new V.$(e.queue.queue.maxAttempts,"".concat(u,":dest-Segment.io")),l=new Set,f=!1,d=null!==(o=null===t||void 0===t?void 0:t.apiHost)&&void 0!==o?o:tt.U,v=null!==(i=null===t||void 0===t?void 0:t.protocol)&&void 0!==i?i:"https",h="".concat(v,"://").concat(d),m=null===t||void 0===t?void 0:t.deliveryStrategy,g="batching"===(null===m||void 0===m?void 0:m.strategy)?Ke(d,m.config):(a=null===m||void 0===m?void 0:m.config,{dispatch:function(e,t){return(0,p.h)(e,{keepalive:null===a||void 0===a?void 0:a.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(t)})}});function y(r){return(0,s.mG)(this,void 0,void 0,(function(){var o,i;return(0,s.Jh)(this,(function(a){return(0,b.s)()?(c.push(r),Xe(f,c,w,Xe),[2,r]):(l.add(r),o=r.event.type.charAt(0),i=(0,Ze.D)(r.event).json(),"track"===r.event.type&&delete i.traits,"alias"===r.event.type&&(i=function(e,t){var n,r,o,i,a=e.user();return t.previousId=null!==(o=null!==(r=null!==(n=t.previousId)&&void 0!==n?n:t.from)&&void 0!==r?r:a.id())&&void 0!==o?o:a.anonymousId(),t.userId=null!==(i=t.userId)&&void 0!==i?i:t.to,delete t.from,delete t.to,t}(e,i)),[2,g.dispatch("".concat(h,"/").concat(o),Je(e,i,t,n)).then((function(){return r})).catch((function(){return c.pushWithBackoff(r),Xe(f,c,w,Xe),r})).finally((function(){l.delete(r)}))])}))}))}var w={name:"Segment.io",type:"destination",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:y,identify:y,page:y,alias:y,group:y,screen:y};return c.todo&&Xe(f,c,w,Xe),w}var rt=null!==(Qe=(et=(0,de.R)()).__SEGMENT_INSPECTOR__)&&void 0!==Qe?Qe:et.__SEGMENT_INSPECTOR__={},ot=n(42718);function it(e,t){var n=null!==t&&void 0!==t?t:(0,d.Vl)();return(0,p.h)("".concat(n,"/v1/projects/").concat(e,"/settings")).then((function(e){return e.ok?e.json():e.text().then((function(e){throw new Error(e)}))})).catch((function(e){throw console.error(e.message),e}))}function at(e,t){return(0,s.mG)(this,void 0,void 0,(function(){return(0,s.Jh)(this,(function(n){switch(n.label){case 0:return[4,he(e,t)];case 1:return n.sent(),function(e,t){t.toArray().forEach((function(t){setTimeout((function(){Ee(e,t).catch(console.error)}),0)}))}(e,t),t.clear(),[2]}}))}))}function ut(e,t,r,o,i,a){var u,c,l;return void 0===i&&(i=[]),(0,s.mG)(this,void 0,void 0,(function(){var d,p,v,h,m,g,y,b,w,_,E,S,x,A,T=this;return(0,s.Jh)(this,(function(k){switch(k.label){case 0:return d=null===i||void 0===i?void 0:i.filter((function(e){return"object"===typeof e})),p=null===i||void 0===i?void 0:i.filter((function(e){return"function"===typeof e&&"string"===typeof e.pluginName})),function(e){var t,n,r;return"test"!==f().NODE_ENV&&(null!==(r=null===(n=null===(t=e.middlewareSettings)||void 0===t?void 0:t.routingRules)||void 0===n?void 0:n.length)&&void 0!==r?r:0)>0}(t)?[4,n.e(4604).then(n.bind(n,37122)).then((function(e){return e.tsubMiddleware(t.middlewareSettings.routingRules)}))]:[3,2];case 1:return h=k.sent(),[3,3];case 2:h=void 0,k.label=3;case 3:return v=h,O=t,"test"!==f().NODE_ENV&&Object.keys(O.integrations).length>1||a.length>0?[4,n.e(39464).then(n.bind(n,92631)).then((function(n){return n.ajsDestinations(e,t,r.integrations,o,v,a)}))]:[3,5];case 4:return g=k.sent(),[3,6];case 5:g=[],k.label=6;case 6:return m=g,t.legacyVideoPluginsEnabled?[4,n.e(48150).then(n.bind(n,66352)).then((function(e){return e.loadLegacyVideoPlugins(r)}))]:[3,8];case 7:k.sent(),k.label=8;case 8:return(null===(u=o.plan)||void 0===u?void 0:u.track)?[4,n.e(37493).then(n.bind(n,70527)).then((function(e){var n;return e.schemaFilter(null===(n=o.plan)||void 0===n?void 0:n.track,t)}))]:[3,10];case 9:return b=k.sent(),[3,11];case 10:b=void 0,k.label=11;case 11:return y=b,w=(0,Le.o)(t,o),[4,ze(t,r.integrations,w,o,v,p).catch((function(){return[]}))];case 12:return _=k.sent(),E=(0,s.ev)((0,s.ev)((0,s.ev)([Fe],d,!0),m,!0),_,!0),y&&E.push(y),!1===(null===(c=o.integrations)||void 0===c?void 0:c.All)&&!o.integrations["Segment.io"]||o.integrations&&!1===o.integrations["Segment.io"]?[3,14]:(x=(S=E).push,[4,nt(r,w["Segment.io"],t.integrations)]);case 13:x.apply(S,[k.sent()]),k.label=14;case 14:return[4,r.register.apply(r,E)];case 15:return A=k.sent(),Object.entries(null!==(l=t.enabledMiddleware)&&void 0!==l?l:{}).some((function(e){return e[1]}))?[4,n.e(39214).then(n.bind(n,14783)).then((function(e){var n=e.remoteMiddlewares;return(0,s.mG)(T,void 0,void 0,(function(){var e,i;return(0,s.Jh)(this,(function(a){switch(a.label){case 0:return[4,n(A,t,o.obfuscate)];case 1:return e=a.sent(),i=e.map((function(e){return r.addSourceMiddleware(e)})),[2,Promise.all(i)]}}))}))}))]:[3,17];case 16:k.sent(),k.label=17;case 17:return[2,A]}var O}))}))}function ct(e,t,n){var r,o,i,a,u,c,l,f,p,v;return void 0===t&&(t={}),(0,s.mG)(this,void 0,void 0,(function(){var h,m,g,y,b,_,E,S,x,A,T;return(0,s.Jh)(this,(function(k){switch(k.label){case 0:return!0===t.disable?[2,[new Pe,w._.system()]]:(t.globalAnalyticsKey&&(0,pe.jV)(t.globalAnalyticsKey),e.cdnURL&&(0,d.UH)(e.cdnURL),t.initialPageview&&n.push(new we("page",[])),null===(r=e.cdnSettings)||void 0===r?[3,1]:(m=r,[3,3]));case 1:return[4,it(e.writeKey,e.cdnURL)];case 2:m=k.sent(),k.label=3;case 3:return h=m,t.updateCDNSettings&&(h=t.updateCDNSettings(h)),"function"!==typeof t.disable?[3,5]:[4,t.disable(h)];case 4:if(k.sent())return[2,[new Pe,w._.system()]];k.label=5;case 5:return g=null===(i=null===(o=h.integrations["Segment.io"])||void 0===o?void 0:o.retryQueue)||void 0===i||i,t=(0,s.pi)({retryQueue:g},t),function(e){var t;null===(t=rt.attach)||void 0===t||t.call(rt,e)}(y=new Ie((0,s.pi)((0,s.pi)({},e),{cdnSettings:h}),t)),b=null!==(a=e.plugins)&&void 0!==a?a:[],_=null!==(u=e.classicIntegrations)&&void 0!==u?u:[],E=null===(c=t.integrations)||void 0===c?void 0:c["Segment.io"],ot.j.initRemoteMetrics((0,s.pi)((0,s.pi)({},h.metrics),{host:null!==(l=null===E||void 0===E?void 0:E.apiHost)&&void 0!==l?l:null===(f=h.metrics)||void 0===f?void 0:f.host,protocol:null===E||void 0===E?void 0:E.protocol})),function(e,t){ge(e,t),me(e,t)}(y,n),[4,ut(e.writeKey,h,y,t,b,_)];case 6:return S=k.sent(),x=null!==(p=window.location.search)&&void 0!==p?p:"",A=null!==(v=window.location.hash)&&void 0!==v?v:"",(T=x.length?x:A.replace(/(?=#).*(?=\?)/,"")).includes("ajs_")?[4,y.queryString(T).catch(console.error)]:[3,8];case 7:k.sent(),k.label=8;case 8:return y.initialized=!0,y.emit("initialize",e,t),[4,at(y,n)];case 9:return k.sent(),[2,[y,S]]}}))}))}var st=function(e){function t(){var t=this,n=(0,Re.d)(),r=n.promise,o=n.resolve;return t=e.call(this,(function(e){return r.then((function(t){return ct(t[0],t[1],e)}))}))||this,t._resolveLoadStart=function(e,t){return o([e,t])},t}return(0,s.ZT)(t,e),t.prototype.load=function(e,t){return void 0===t&&(t={}),this._resolveLoadStart(e,t),this},t.load=function(e,n){return void 0===n&&(n={}),(new t).load(e,n)},t.standalone=function(e,n){return t.load({writeKey:e},n).then((function(e){return e[0]}))},t}(Se),lt=n(76931),ft=n(33297),dt=n(44071),pt=n(91220),vt=n(36877),ht={"/pricing":"pricing"},mt={SIGNUP:"User Signed Up",ASSET_DOWNLOAD:"Asset Download Requested"},gt=new st;function yt(){var e=(0,c.useRouter)(),t=e.asPath,n=e.query,i=(0,u.useContext)(lt.lX).targeting,s=(0,pt.Z)("_ga"),l=(0,o.Z)(s,1)[0],f=(0,pt.Z)("user_asana_dot_com"),d=(0,o.Z)(f,1)[0],p=(0,u.useState)(!1),v=p[0],h=p[1],m=(0,ft.ts)("segment_cdp_launch");return(0,u.useEffect)((function(){var e;null!==(e=window.AsanaAnalytics)&&void 0!==e&&e.SegmentAnalytics&&(window.AsanaAnalytics.SegmentAnalytics.api=gt,window.AsanaAnalytics.SegmentAnalytics.events=mt)}),[]),(0,u.useEffect)((function(){("asana.com"===window.location.hostname||"true"===(null===n||void 0===n?void 0:n.debug_segment))&&!v&&m&&i&&(gt.load({writeKey:"0L3wyNgRX9DyxJxrAMErLXGEHKFUbnWe",cdnURL:"https://cdp-cdn.asana.com"},{integrations:{"Segment.io":{apiHost:"cdp-api.asana.com/v1",protocol:"https"}}}),h(!0))}),[i,m,v]),(0,u.useEffect)((function(){var e=function(){var e=(0,r.Z)(a().mark((function e(){var t,n,r,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,gt.user();case 2:n=e.sent,r=null===(t=n.traits())||void 0===t?void 0:t.ga_id,o=n.id(),i=l&&l.replace(/GA1.\d./,""),d&&d!==o?i?gt.identify(d,{ga_id:i}):gt.identify(d):i&&r!==i&>.identify({ga_id:i});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[l,d]),(0,u.useEffect)((function(){var e=(0,dt.cleanPath)(t).toLowerCase();null!==ht&&void 0!==ht&&ht[e]&>.page(ht[e])}),[]),null}function bt(e){var t=(0,dt.cleanPath)(e).match(/([^/]+?\.(pdf|jpg|png|jpeg))$/i);return t?t[1]:null}function wt(e){if(!e)return!1;return/\.(pdf|jpg|png|jpeg)$/i.test((0,dt.cleanPath)(e))}function _t(){return Et.apply(this,arguments)}function Et(){return Et=(0,r.Z)(a().mark((function e(){var t,n,r,o=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:"",n=o.length>1&&void 0!==o[1]?o[1]:null,wt(t)){e.next=4;break}return e.abrupt("return");case 4:if(!((r=bt(t))&>&&null!==gt&&void 0!==gt&>.track)){e.next=11;break}return n&&n.preventDefault(),gt.track(mt.ASSET_DOWNLOAD,{asset_name:r}),e.next=10,(0,vt.delay)(500);case 10:window.location.href=t;case 11:case"end":return e.stop()}}),e)}))),Et.apply(this,arguments)}function St(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(wt(e)){var t=bt(e);t&>&&null!==gt&&void 0!==gt&>.track&>.track(mt.ASSET_DOWNLOAD,{asset_name:t})}}gt.addSourceMiddleware((function(e){var t,n=e.payload,r=e.next;n&&null!==n&&void 0!==n&&null!==(t=n.obj)&&void 0!==t&&t.context&&(n.obj.context.ip="REDACTED"),r(n)}))},74467:function(e){function t(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:250;return Math.floor(e.split(" ").length/t)},stripHtml:function(e){return e.replace(/(<([^>]+)>)/gi,"")},slugify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(!e)return"";var n=new RegExp("[^\\p{L}\\d\\s\\/".concat(t,"]"),"gu");return e.replace(n,"").trim().toLowerCase().replace(/\s+/g,t)},unslugify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return r(e.split(t).join(" "))},stripLeadingSlash:function(e){return e&&e.startsWith("/")?e.substring(1):e},addLeadingSlash:function(e){return e.startsWith("/")?e:"/"+e},stripTrailingSlash:function(e){return e&&e.endsWith("/")?e.slice(0,-1):e},stripWhiteSpace:function(e){return e.split(" ").join("")},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ...";if(e.length<=t)return e;var r=e.slice(0,t),o=r.search(/^.*(\s)\S*$/)||r.length-1;return r.slice(0,o)+n},stringsToFunction:function(e){if(!e)return null;"string"===typeof e&&(e=[e]);var n,r=[],o=t(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("string"===typeof i){var a,u=t(i.split(";").filter((function(e){return e})));try{for(u.s();!(a=u.n()).done;){var c=a.value;r.push(c)}}catch(s){u.e(s)}finally{u.f()}}}}catch(s){o.e(s)}finally{o.f()}return 0===r.length?null:new Function(r.join(";"))},toTitle:r,insertCharBeforeLastInstance:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if("string"!==typeof e||"string"!==typeof t||"string"!==typeof n)return"";var r=n?e.lastIndexOf(n):e.length;return r>=0?"".concat(e.slice(0,r)).concat(t).concat(e.slice(r)):e},stripWrappingTags:function(e,t){var n="<".concat(t,">"),r=""),o=e.slice(0,n.length),i=e.slice(-r.length);return n===o&&r===i?e.slice(n.length,-r.length):e}}},78282:function(e,t,n){"use strict";n.d(t,{Y_:function(){return c},Hk:function(){return s}});var r=n(67294),o={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"};var i=n(35944),a=["svg","ico"],u=(0,r.createContext)(null);function c(e){var t=e.children,n=(0,r.useState)(!0),a=n[0],c=n[1];return(0,r.useEffect)((function(){var e;(e="lossless",new Promise((function(t,n){var r=new Image;r.onload=function(){t(r.width>0&&r.height>0)},r.onerror=function(e){n(e)},r.src="data:image/webp;base64,"+o[e]}))).then((function(e){e||c(!1)}))}),[]),(0,i.tZ)(u.Provider,{value:a,children:t})}function s(e){return!(0,r.useContext)(u)||a.includes(e)?""===e?"png":e:"webp"}},2270:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var r=n(59499),o=n(41609),i=n.n(o),a=n(67294),u=n(76330),c=n(85769),s=n(35944);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t div[name=vimeo-video-container] > iframe")||t>=100)&&(a({type:_,payload:y({theme:N||"dark"},e)}),clearInterval(n)),t++}),200)},stopVideo:D,isActive:k,isPlaying:d,theme:O,onClose:C,dispatch:a,setVideoContainerRef:A};return(0,f.BX)(S.Provider,{value:M,children:[j,P&&(0,f.tZ)(p,{})]})},A=S},14634:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return wu}});var r=n(59499),o=n(92440),i=n(67294),a=n(11163),u=n(9008),c=n.n(u),s=n(35944);function l(){return(0,s.tZ)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:'!function(){try{function t(r){window.AsanaErrors.dataDogInitialized&&window.DD_RUM?window.DD_RUM.addError(r):window.AsanaErrors.errorQueue.push(r)}void 0===window.AsanaErrors&&(window.AsanaErrors={dataDogInitialized:!1,errorQueue:[]},window.AsanaErrors.notifyException=function(){for(var r=Array.from(arguments),o=0;o{n.IsDntEnabled&&t||n.IsGpcEnabled&&e||"active"!==n.Status&&"always active"!==n.Status||a.push(n.OptanonGroupId)}));0=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!==typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var o=Array.isArray(e)?e:[],i=0;i"}finally{r(),o(),i(),a()}}function le(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):q}function fe(e,t){var n;void 0===t&&(t=225280);var r=le(Object.prototype),o=le(Array.prototype),i=[],a=new WeakMap,u=de(e,"$",void 0,i,a),c=(null===(n=JSON.stringify(u))||void 0===n?void 0:n.length)||0;if(!(c>t)){for(;i.length>0&&ct){pe(t,"truncated",e);break}s.target[f]=d}else for(var f in s.source)if(Object.prototype.hasOwnProperty.call(s.source,f)){var d;if(void 0!==(d=de(s.source[f],s.path,f,i,a))&&(c+=JSON.stringify(d).length+l+f.length+3,l=1),c>t){pe(t,"truncated",e);break}s.target[f]=d}}return r(),o(),u}pe(t,"discarded",e)}function de(e,t,n,r,o){var i=function(e){var t=e;if(t&&"function"===typeof t.toJSON)try{return t.toJSON()}catch(ve){}return e}(e);if(!i||"object"!==typeof i)return function(e){if("bigint"===typeof e)return"[BigInt] ".concat(e.toString());if("function"===typeof e)return"[Function] ".concat(e.name||"unknown");if("symbol"===typeof e)return"[Symbol] ".concat(e.description||e.toString());return e}(i);var a=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(ve){}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;var u=e;if(o.has(u))return"[Reference seen at ".concat(o.get(u),"]");var c=void 0!==n?"".concat(t,".").concat(n):t,s=Array.isArray(i)?[]:{};return o.set(u,c),r.push({source:i,target:s,path:c}),s}function pe(e,t,n){N.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}var ve,he=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function me(){for(var e=[],t=0;t3072&&(N.warn("The ".concat(ge[t]," data exceeds the recommended ").concat(3,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}function be(e,t){void 0===t&&(t=oe);var n,r={},o=!1,i=new he,a=Z((function(r){n=t(se(r)),o||(o=ye(n,e))}),200).throttled,u={getBytesCount:function(){return n},get:function(){return r},add:function(e,t){r[e]=t,a(r),i.notify()},remove:function(e){delete r[e],a(r),i.notify()},set:function(e){a(r=e),i.notify()},getContext:function(){return ue(r)},setContext:function(e){"object"===ie(e)?(r=fe(e),a(r)):u.clearContext(),i.notify()},setContextProperty:function(e,t){r[e]=fe(t),a(r),i.notify()},removeContextProperty:function(e){delete r[e],a(r),i.notify()},clearContext:function(){r={},n=0,i.notify()},changeObservable:i};return u}var we=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function _e(e){return 0!==e&&100*Math.random()<=e}function Ee(e,t){return+e.toFixed(t)}function Se(e){return xe(e)&&e>=0&&e<=100}function xe(e){return"number"===typeof e}var Ae,Te,ke=1e3,Oe=6e4;function Ce(e){return{relative:e,timeStamp:Ie(e)}}function Ie(e){var t=Le()-performance.now();return t>Ue()?Math.round(Ge(t,e)):function(e){return Math.round(Ge(Ue(),e))}(e)}function Pe(e){return xe(e)?Ee(1e6*e,0):e}function Le(){return(new Date).getTime()}function Re(){return Le()}function je(){return performance.now()}function Ne(){return{relative:je(),timeStamp:Re()}}function De(){return{relative:0,timeStamp:Ue()}}function Me(e,t){return t-e}function Ge(e,t){return e+t}function Fe(e){return e-Ue()}function Ue(){return void 0===Ae&&(Ae=performance.timing.navigationStart),Ae}function Ve(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Ve)}function Be(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}function He(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(n)}function We(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",u=r&&r.domain?";domain=".concat(r.domain):"",c=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(i,";path=/;samesite=").concat(a).concat(u).concat(c)}function ze(e){return Be(document.cookie,e)}function Ze(e,t){We(e,"",0,t)}function qe(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||ze("datadog-synthetics-injects-rum"))}function Ke(){var e=O().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function Je(e){var t;void 0===e&&(e=null===(t=O().location)||void 0===t?void 0:t.hostname);var n=Ke();return!!n&&n.getAllowedWebViewHosts().some((function(t){return e===t||(n=e,r=".".concat(t),n.slice(-r.length)===r);var n,r}))}function Ye(e,t,n,r,o){return $e(e,t,[n],r,o)}function $e(e,t,n,r,o){var i=void 0===o?{}:o,a=i.once,u=i.capture,c=i.passive,s=F(a?function(e){d(),r(e)}:r),l=c?{capture:u,passive:c}:u,f=C(t,"addEventListener");function d(){var e=C(t,"removeEventListener");n.forEach((function(n){return e.call(t,n,s,l)}))}return n.forEach((function(e){return f.call(t,e,s,l)})),{stop:d}}var Xe="_dd_c",Qe=[];function et(e,t,n,r){void 0===r&&(r=oe);var o=function(e,t){return"".concat(Xe,"_").concat(e,"_").concat(t)}(t,n),i=be(n,r);return a(),Qe.push(Ye(e,window,"storage",(function(e){var t=e.key;o===t&&a()}))),i.changeObservable.subscribe((function(){localStorage.setItem(o,JSON.stringify(i.getContext()))})),i;function a(){var e=localStorage.getItem(o),t=null!==e?JSON.parse(e):{};i.setContext(t)}}var tt="?";function nt(e){var t=[],n=ft(e,"stack"),r=String(e);return n&&ee(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach((function(e){var n=function(e){var t=it.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=at.exec(t[2]);r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||tt,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=ut.exec(e);if(!t)return;return{args:[],column:t[3]?+t[3]:void 0,func:tt,line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=ct.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||tt,line:+t[3],url:t[2]}}(e)||function(e){var t=st.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=lt.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||tt,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=tt),t.push(n))})),{message:ft(e,"message"),name:ft(e,"name"),stack:t}}var rt="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",ot="(?::(\\d+))",it=new RegExp("^\\s*at (.*?) ?\\(".concat(rt).concat(ot,"?").concat(ot,"?\\)?\\s*$"),"i"),at=new RegExp("\\((\\S*)".concat(ot).concat(ot,"\\)"));var ut=new RegExp("^\\s*at ?".concat(rt).concat(ot,"?").concat(ot,"??\\s*$"),"i");var ct=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var st=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,lt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ft(e,t){if("object"===typeof e&&e&&t in e){var n=e[t];return"string"===typeof n?n:void 0}}var dt,pt="No stack, consider using an instance of Error";function vt(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,o=e.startClocks,i=e.nonErrorPrefix,a=e.source,u=e.handling,c=n instanceof Error,s=function(e,t,n,r){return(null===e||void 0===e?void 0:e.message)&&(null===e||void 0===e?void 0:e.name)?e.message:t?"Empty message":"".concat(n," ").concat(se(fe(r)))}(t,c,i,n),l=function(e,t){if(void 0===t)return!1;if(e)return!0;return t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url)}(c,t)?mt(t):pt,f=c?function(e,t){var n=e,r=[];for(;(null===n||void 0===n?void 0:n.cause)instanceof Error&&r.length<10;){var o=nt(n.cause);r.push({message:n.cause.message,source:t,type:null===o||void 0===o?void 0:o.name,stack:o&&mt(o)}),n=n.cause}return r.length?r:void 0}(n,a):void 0;return{startClocks:o,source:a,handling:u,handlingStack:r,originalError:n,type:null===t||void 0===t?void 0:t.name,message:s,stack:l,causes:f,fingerprint:ht(n)}}function ht(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function mt(e){var t=gt(e);return e.stack.forEach((function(e){var n="?"===e.func?"":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",o=e.line?":".concat(e.line):"",i=e.line&&e.column?":".concat(e.column):"";t+="\n at ".concat(n).concat(r," @ ").concat(e.url).concat(o).concat(i)})),t}function gt(e){return"".concat(e.name||"Error",": ").concat(e.message)}function yt(){var e,t=new Error;if(!t.stack)try{throw t}catch(ta){}return U((function(){var n=nt(t);n.stack=n.stack.slice(2),e=mt(n)})),e}function bt(e){var t=ne({},e);return["id","name","email"].forEach((function(e){e in t&&(t[e]=String(t[e]))})),t}!function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.PAGE_STATES="page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.NO_RESOURCE_DURATION_FROZEN_STATE="no_resource_duration_frozen_state",e.SCROLLMAP="scrollmap",e.INTERACTION_TO_NEXT_PAINT="interaction_to_next_paint",e.WEB_VITALS_ATTRIBUTION="web_vitals_attribution",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css"}(dt||(dt={}));var wt=new Set;function _t(e){return wt.has(e)}function Et(){return wt}function St(e){return ne({},e)}function xt(e,t){return Object.keys(e).some((function(n){return e[n]===t}))}function At(e){return 0===Object.keys(e).length}var Tt,kt,Ot=144e5,Ct=9e5;var It="_dd_s",Pt=/^([a-z]+)=([a-z0-9-]+)$/,Lt="&";function Rt(e){return At(e)}function jt(e){e.expire=String(Le()+Ct)}function Nt(e){return Q(e).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join("&")}function Dt(e){var t={};return function(e){return!!e&&(-1!==e.indexOf(Lt)||Pt.test(e))}(e)&&e.split(Lt).forEach((function(e){var n=Pt.exec(e);if(null!==n){var r=n[1],o=n[2];t[r]=o}})),t}function Mt(e){var t=function(e){var t={};t.secure=!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===Te){for(var e="dd_site_test_".concat(Ve()),t=window.location.hostname.split("."),n=t.pop();t.length&&!ze(e);)n="".concat(t.pop(),".").concat(n),We(e,"test",ke,{domain:n});Ze(e,{domain:n}),Te=n}return Te}());return t}(e);return function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(Ve()),n="test";We(t,n,Oe,e);var r=ze(t)===n;return Ze(t,e),r}catch(o){return N.error(o),!1}}(t)?{type:"Cookie",cookieOptions:t}:void 0}function Gt(e){var t,n={isLockEnabled:null!==kt&&void 0!==kt?kt:kt=!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent),persistSession:(t=e,function(e){We(It,Nt(e),Ct,t)}),retrieveSession:Ft,clearSession:Ut(e)};return function(e){if(!ze(It)){var t=ze("_dd"),n=ze("_dd_r"),r=ze("_dd_l"),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o.logs=r),n&&/^[012]$/.test(n)&&(o.rum=n),Rt(o)||(jt(o),e.persistSession(o))}}(n),n}function Ft(){return Dt(ze(It))}function Ut(e){return function(){Ze(It,e)}}function Vt(e){localStorage.setItem(It,Nt(e))}function Bt(){return Dt(localStorage.getItem(It))}function Ht(){localStorage.removeItem(It)}var Wt,zt=[];function Zt(e,t,n){var r;void 0===n&&(n=0);var o=t.isLockEnabled,i=t.retrieveSession,a=t.persistSession,u=t.clearSession;if(Wt||(Wt=e),e===Wt)if(o&&n>=100)Kt(t);else{var c,s=i();if(o){if(s.lock)return void qt(e,t,n);if(c=Ve(),s.lock=c,a(s),(s=i()).lock!==c)return void qt(e,t,n)}var l=e.process(s);if(o&&(s=i()).lock!==c)qt(e,t,n);else{if(l&&(Rt(l)?u():(jt(l),a(l))),o&&(!l||!Rt(l))){if((s=i()).lock!==c)return void qt(e,t,n);delete s.lock,a(s),l=s}null===(r=e.after)||void 0===r||r.call(e,l||s),Kt(t)}}else zt.push(e)}function qt(e,t,n){B((function(){Zt(e,t,n+1)}),10)}function Kt(e){Wt=void 0;var t=zt.shift();t&&Zt(t,e)}function Jt(e){var t=Mt(e);return!t&&e.allowFallbackToLocalStorage&&(t=function(){try{var e=Ve(),t="".concat("_dd_test_").concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch(ta){return}}()),t}function Yt(e,t,n){var r=new he,o=new he,i="Cookie"===e.type?Gt(e.cookieOptions):{isLockEnabled:!1,persistSession:Vt,retrieveSession:Bt,clearSession:Ht},a=i.clearSession,u=i.retrieveSession,c=W((function(){Zt({process:function(e){return d(e)?void 0:{}},after:l},i)}),1e3),s=function(){var e=u();if(d(e))return e;return{}}();function l(e){return d(e)||(e={}),f()&&(!function(e){return s.id!==e.id||s[t]!==e[t]}(e)?s=e:(s={},o.notify())),e}function f(){return void 0!==s[t]}function d(e){return(void 0===e.created||Le()-Number(e.created)n||fn.test(t))&&N.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function pn(e){var t=function(e){var t=e.env,n=e.service,r=e.version,o=e.datacenter,i=[];return t&&i.push(dn("env",t)),n&&i.push(dn("service",n)),r&&i.push(dn("version",r)),o&&i.push(dn("datacenter",o)),i}(e),n=function(e,t){return{logsEndpointBuilder:ln(e,"logs",t),rumEndpointBuilder:ln(e,"rum",t),sessionReplayEndpointBuilder:ln(e,"sessionReplay",t)}}(e,t),r=X(n).map((function(e){return e.urlPrefix})),o=function(e,t,n){if(!e.replica)return;var r=ne({},e,{site:on,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:ln(r,"logs",n),rumEndpointBuilder:ln(r,"rum",n)};return t.push.apply(t,X(o).map((function(e){return e.urlPrefix}))),ne({applicationId:e.replica.applicationId},o)}(e,r,t);return ne({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:o,site:e.site||on},n)}var vn={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function hn(e){var t,n,r;if(e&&e.clientToken){var o=null!==(t=e.sessionSampleRate)&&void 0!==t?t:e.sampleRate;if(void 0===o||Se(o))if(void 0===e.telemetrySampleRate||Se(e.telemetrySampleRate)){if(void 0===e.telemetryConfigurationSampleRate||Se(e.telemetryConfigurationSampleRate))return Array.isArray(e.enableExperimentalFeatures)&&e.enableExperimentalFeatures.filter((function(e){return xt(dt,e)})).forEach((function(e){wt.add(e)})),ne({beforeSend:e.beforeSend&&K(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Jt(e),sessionSampleRate:null!==o&&void 0!==o?o:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=e.telemetryConfigurationSampleRate)&&void 0!==r?r:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},pn(e));N.error("Telemetry Configuration Sample Rate should be a number between 0 and 100")}else N.error("Telemetry Sample Rate should be a number between 0 and 100");else N.error("Session Sample Rate should be a number between 0 and 100")}else N.error("Client Token is not configured, we will not send any data.")}function mn(e){var t=ie(e);return"string"===t||"function"===t||e instanceof RegExp}function gn(e,t,n){return void 0===n&&(n=!1),e.some((function(e){try{if("function"===typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"===typeof e)return n?ee(t,e):e===t}catch(ta){N.error(ta)}return!1}))}function yn(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function bn(e,t,n,r){if(void 0!==wn()&&n.findTrackedSession()){var o=$(e.allowedTracingUrls,(function(e){return gn([e.match],t.url,!0)}));o&&(t.traceId=new _n,t.spanId=new _n,t.traceSampled=!xe(e.traceSampleRate)||_e(e.traceSampleRate),r(function(e,t,n,r){var o={};return r.forEach((function(r){switch(r){case"datadog":ne(o,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toDecimalString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":e.toDecimalString()});break;case"tracecontext":ne(o,{traceparent:"00-0000000000000000".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-0").concat(n?"1":"0")});break;case"b3":ne(o,{b3:"".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-").concat(n?"1":"0")});break;case"b3multi":ne(o,{"X-B3-TraceId":e.toPaddedHexadecimalString(),"X-B3-SpanId":t.toPaddedHexadecimalString(),"X-B3-Sampled":n?"1":"0"})}})),o}(t.traceId,t.spanId,t.traceSampled,o.propagatorTypes)))}}function wn(){return window.crypto||window.msCrypto}var _n=function(){function e(){this.buffer=new Uint8Array(8),wn().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var o=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(o/e),r=(o%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.toPaddedHexadecimalString=function(){var e=this.toString(16);return Array(17-e.length).join("0")+e},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}();function En(e){var t,n,r,o,i,a;if(e.applicationId)if(void 0===e.sessionReplaySampleRate||Se(e.sessionReplaySampleRate)){var u=null!==(t=e.premiumSampleRate)&&void 0!==t?t:e.replaySampleRate;if(void 0!==u&&void 0!==e.sessionReplaySampleRate&&(N.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),u=void 0),void 0===u||Se(u)){var c=null!==(n=e.traceSampleRate)&&void 0!==n?n:e.tracingSampleRate;if(void 0===c||Se(c))if(void 0===e.excludedActivityUrls||Array.isArray(e.excludedActivityUrls)){var s=function(e){void 0!==e.allowedTracingUrls&&void 0!==e.allowedTracingOrigins&&N.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins.");if(void 0!==e.allowedTracingUrls){if(!Array.isArray(e.allowedTracingUrls))return void N.error("Allowed Tracing URLs should be an array");if(0!==e.allowedTracingUrls.length&&void 0===e.service)return void N.error("Service needs to be configured when tracing is enabled");var t=[];return e.allowedTracingUrls.forEach((function(e){mn(e)?t.push({match:e,propagatorTypes:["datadog"]}):!function(e){var t=e;return"object"===ie(t)&&mn(t.match)&&Array.isArray(t.propagatorTypes)}(e)?N.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",e):t.push(e)})),t}if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void N.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void N.error("Service needs to be configured when tracing is enabled");var n=[];return e.allowedTracingOrigins.forEach((function(e){var t=function(e){var t;"string"===typeof e?t=e:e instanceof RegExp?t=function(t){return e.test(Xt(t))}:"function"===typeof e&&(t=function(t){return e(Xt(t))});if(void 0===t)return void N.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",e);return{match:t,propagatorTypes:["datadog"]}}(e);t&&n.push(t)})),n}return[]}(e);if(s){var l=hn(e);if(l){var f=!!(null!==(r=e.trackUserInteractions)&&void 0!==r?r:e.trackInteractions),d=!!e.trackFrustrations;return ne({applicationId:e.applicationId,version:e.version,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:null!==(i=null!==(o=e.sessionReplaySampleRate)&&void 0!==o?o:u)&&void 0!==i?i:100,oldPlansBehavior:void 0===e.sessionReplaySampleRate,traceSampleRate:c,allowedTracingUrls:s,excludedActivityUrls:null!==(a=e.excludedActivityUrls)&&void 0!==a?a:[],workerUrl:e.workerUrl,trackUserInteractions:f||d,trackFrustrations:d,trackViewsManually:!!e.trackViewsManually,trackResources:e.trackResources,trackLongTasks:e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:xt(vn,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:vn.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},l)}}}else N.error("Excluded Activity Urls should be an array");else N.error("Trace Sample Rate should be a number between 0 and 100")}else N.error("Premium Sample Rate should be a number between 0 and 100")}else N.error("Session Replay Sample Rate should be a number between 0 and 100");else N.error("Application ID is not configured, no RUM data will be collected.")}function Sn(e){var t=new Set;return Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0&&e.allowedTracingUrls.forEach((function(e){mn(e)?t.add("datadog"):"object"===ie(e)&&Array.isArray(e.propagatorTypes)&&e.propagatorTypes.forEach((function(e){return t.add(e)}))})),Array.isArray(e.allowedTracingOrigins)&&e.allowedTracingOrigins.length>0&&t.add("datadog"),Y(t)}function xn(e,t,n){return{context:e.getContext(),user:t.getContext(),hasReplay:!!n.isRecording()||void 0}}function An(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}var Tn,kn="log",On="configuration",Cn=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],In=["ddog-gov.com"],Pn={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function Ln(e,t){var n,r=new he;Pn.telemetryEnabled=!J(In,t.site)&&_e(t.telemetrySampleRate),Pn.telemetryConfigurationEnabled=Pn.telemetryEnabled&&_e(t.telemetryConfigurationSampleRate);var o={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return Tn=function(t){if(Pn.telemetryEnabled){var i=function(e,t,r){return ce({type:"telemetry",date:Re(),service:e,version:"4.50.1",source:"browser",_dd:{format_version:2},telemetry:ce(t,{runtime_env:r}),experimental_features:Y(Et())},void 0!==n?n():{})}(e,t,o);r.notify(i),An("telemetry",i)}},R=jn,ne(Pn,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){n=e},observable:r,enabled:Pn.telemetryEnabled}}function Rn(e,t){V(I.debug,e,t),Nn(ne({type:kn,message:e,status:"debug"},t))}function jn(e,t){Nn(ne({type:kn,status:"error"},function(e){if(e instanceof Error){var t=nt(e);return{error:{kind:t.name,stack:mt(Dn(t))},message:t.message}}return{error:{stack:pt},message:"".concat("Uncaught"," ").concat(se(e))}}(e),t))}function Nn(e){Tn&&Pn.sentEventCounte[n])return!1;return!0}function Wn(e){var t=e.duration,n=e.startTime,r=e.responseEnd;return Pe(0===t&&n=0;t-=1){var n,r=e.body.childNodes[t];if(n=nr(r))return n;if(!$n(r))break}}(e);if(!t)return;return tr(Be(t,"trace-id"),Be(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Le()-12e4))return t.traceId}function tr(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function nr(e){if(e&&function(e){return e.nodeType===Node.COMMENT_NODE}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function rr(){return void 0!==window.performance&&"getEntries"in performance}function or(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function ir(e,t){if(function(e,t){Fn(e,"interactive",(function(){var e,n={entryType:Qn.RESOURCE,initiatorType:Un,traceId:er(document),toJSON:function(){return ne({},e,{toJSON:void 0})}};if(or(Qn.NAVIGATION)&&performance.getEntriesByType(Qn.NAVIGATION).length>0){var r=performance.getEntriesByType(Qn.NAVIGATION)[0];e=ne(r.toJSON(),n)}else{var o=ar();e=ne(o,{decodedBodySize:0,duration:o.responseEnd,name:window.location.href,startTime:0},n)}t(e)}))}(t,(function(n){ur(e,t,[n])})),rr()){var n=performance.getEntries();B((function(){return ur(e,t,n)}))}if(window.PerformanceObserver){var r=F((function(n){return ur(e,t,n.getEntries())})),o=[Qn.RESOURCE,Qn.NAVIGATION,Qn.LONG_TASK,Qn.PAINT],i=[Qn.LARGEST_CONTENTFUL_PAINT,Qn.FIRST_INPUT,Qn.LAYOUT_SHIFT,Qn.EVENT];try{i.forEach((function(e){new window.PerformanceObserver(r).observe({type:e,buffered:!0,durationThreshold:40})}))}catch(ta){o.push.apply(o,i)}new PerformanceObserver(r).observe({entryTypes:o}),rr()&&"addEventListener"in performance&&Ye(t,performance,"resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}or(Qn.NAVIGATION)||function(e,t){function n(){t(ne(ar(),{entryType:Qn.NAVIGATION}))}Fn(e,"complete",(function(){B(n)}))}(t,(function(n){ur(e,t,[n])})),or(Qn.FIRST_INPUT)||function(e,t){var n=Le(),r=!1,o=$e(0,window,["click","mousedown","keydown","touchstart","pointerdown"],(function(t){if(t.cancelable){var n={entryType:Qn.FIRST_INPUT,processingStart:je(),processingEnd:je(),startTime:t.timeStamp,duration:0,name:""};"pointerdown"===t.type?i(e,n):a(n)}}),{passive:!0,capture:!0}).stop;function i(e,t){$e(0,window,["pointerup","pointercancel"],(function(e){"pointerup"===e.type&&a(t)}),{once:!0})}function a(e){if(!r){r=!0,o();var i=e.processingStart-e.startTime;i>=0&&i=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=Ar);for(var t=0,n=this.entries;t0&&this.entries[this.entries.length-1].endTimen.bytesLimit}t(void 0,e,a)}!function e(){r.read().then(F((function(t){t.done?a():(n.collectStreamBody&&o.push(t.value),(i+=t.value.length)>n.bytesLimit?a():e())})),F((function(e){return t(e)})))}()}(n.body,(function(){t(Me(e.startClocks.timeStamp,Re()))}),{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):t(Me(e.startClocks.timeStamp,Re()))}(o,(function(t){n.clearTracingIfNeeded(o),e.notify(6,{duration:t,method:o.method,requestIndex:o.requestIndex,responseType:o.responseType,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,traceSampled:o.traceSampled,type:"fetch",url:o.url,response:o.response,init:o.init,input:o.input})}))}}))}(e,t,r)}function Ur(){var e=Gr;return Gr+=1,e}function Vr(e){var t=e.lifeCycle,n=e.isChildEvent,r=e.onChange,o=void 0===r?q:r,i={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},a=t.subscribe(11,(function(e){var t;if("view"!==e.type&&n(e))switch(e.type){case"error":i.errorCount+=1,o();break;case"action":i.actionCount+=1,e.action.frustration&&(i.frustrationCount+=e.action.frustration.type.length),o();break;case"long_task":i.longTaskCount+=1,o();break;case"resource":(null===(t=e._dd)||void 0===t?void 0:t.discarded)||(i.resourceCount+=1,o())}}));return{stop:function(){a.unsubscribe()},eventCounts:i}}var Br=100;function Hr(e,t,n,r,o){var i=function(e,t,n){var r=new he((function(){var o,i=[],a=0;i.push(t.subscribe(s),e.subscribe(0,(function(e){e.some((function(e){return e.entryType===Qn.RESOURCE&&!Wr(n,e.name)}))&&s()})),e.subscribe(5,(function(e){Wr(n,e.url)||(void 0===o&&(o=e.requestIndex),a+=1,s())})),e.subscribe(6,(function(e){Wr(n,e.url)||void 0===o||e.requestIndex0})}}));return r}(e,t,n);return function(e,t,n){var r,o=!1,i=B(F((function(){return s({hadActivity:!1})})),100),a=void 0!==n?B(F((function(){return s({hadActivity:!0,end:Re()})})),n):void 0,u=e.subscribe((function(e){var t=e.isBusy;H(i),H(r);var n=Re();t||(r=B(F((function(){return s({hadActivity:!0,end:n})})),100))})),c=function(){o=!0,H(i),H(r),H(a),u.unsubscribe()};function s(e){o||(c(),t(e))}return{stop:c}}(i,r,o)}function Wr(e,t){return gn(e.excludedActivityUrls,t)}var zr="data-dd-action-name";function Zr(e,t){return qr(e,zr)||t&&qr(e,t)||Xr(e,t,Yr)||Xr(e,t,$r)||""}function qr(e,t){var n;if(function(){void 0===Jr&&(Jr="closest"in HTMLElement.prototype);return Jr}())n=e.closest("[".concat(t,"]"));else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return eo(Qr(n.getAttribute(t).trim()))}var Kr,Jr,Yr=[function(e,t){if(function(){void 0===Kr&&(Kr="labels"in HTMLInputElement.prototype);return Kr}()){if("labels"in e&&e.labels&&e.labels.length>0)return to(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&$(e.ownerDocument.querySelectorAll("label"),(function(t){return t.htmlFor===e.id}));return n&&to(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return t.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return to(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map((function(t){return function(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)})).filter((function(e){return Boolean(e)})).map((function(e){return to(e,t)})).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return to(e.options[0],t)}],$r=[function(e,t){return to(e,t)}];function Xr(e,t,n){for(var r=e,o=0;o<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var i=0,a=n;i100?"".concat(He(e,100)," [...]"):e}function to(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),o=0;o0&&(n=n.replace(a,""))}}};return(null!==Tt&&void 0!==Tt?Tt:Tt=Boolean(document.documentMode))&&r("script, style"),r("[".concat(zr,"]")),t&&r("[".concat(t,"]")),n}return e.textContent}}var no,ro=[zr,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],oo=[co,function(e){if(e.id&&!uo(e.id))return"#".concat(te(e.id))}],io=[co,function(e){if("BODY"===e.tagName)return;if(e.classList.length>0)for(var t=0;t").concat(t):e}var ho=ke;function mo(e,t){var n,r=[],o=0;function i(e){e.stopObservable.subscribe(a),r.push(e),H(n),n=B(u,1e3)}function a(){1===o&&r.every((function(e){return e.isStopped()}))&&(o=2,t(r))}function u(){H(n),0===o&&(o=1,a())}return i(e),{tryAppend:function(e){return 0===o&&(r.length>0&&!function(e,t){return e.target===t.target&&(n=e,r=t,Math.sqrt(Math.pow(n.clientX-r.clientX,2)+Math.pow(n.clientY-r.clientY,2))<=100)&&e.timeStamp-t.timeStamp<=ho;var n,r}(r[r.length-1].event,e.event)?(u(),!1):(i(e),!0))},stop:function(){u()}}}function go(){var e=window.getSelection();return!e||e.isCollapsed}function yo(e){return e.target instanceof Element&&!1!==e.isPrimary}function bo(e,t){if(function(e){if(e.some((function(e){return e.getUserActivity().selection})))return!1;for(var t=0;t0},get hasPageActivity(){return void 0!==i},getUserActivity:n,addFrustration:function(e){f.push(e)},startClocks:u,isStopped:function(){return 1===l||2===l},clone:function(){return Eo(e,t,n,r,o)},validate:function(t){if(p(),1===l){var n=s.eventCounts,c=n.resourceCount,d=n.errorCount,v=n.longTaskCount,h=ne({type:"click",duration:i&&Me(u.timeStamp,i),startClocks:u,id:a,frustrationTypes:f,counts:{resourceCount:c,errorCount:d,longTaskCount:v},events:null!==t&&void 0!==t?t:[o],event:o},r);e.notify(1,h),l=2}},discard:function(){p(),l=2}}}function So(e,t){var n=xo(e)?{action:{id:e.id,loading_time:Pe(e.duration),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position}}}:void 0;return{customerContext:xo(e)?void 0:e.context,rawRumEvent:ce({action:{id:Ve(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},n),startTime:e.startClocks.relative,domainContext:xo(e)?{event:e.event,events:e.events}:{}}}function xo(e){return"custom"!==e.type}var Ao=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function To(e){var t=function(e){return Or(window,"onerror",{before:function(t,n,r,o,i){var a;if(i instanceof Error)a=nt(i);else{var u=[{url:n,column:o,line:r}],c=function(e){var t,n,r;"[object String]"==={}.toString.call(e)&&(n=(t=Ao.exec(e))[1],r=t[2]);return{name:n,message:r}}(t);a={name:c.name,message:c.message,stack:u}}e(a,null!==i&&void 0!==i?i:t)}})}(e).stop,n=function(e){return Or(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=nt(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var ko={};function Oo(e){var t=e.map((function(e){return ko[e]||(ko[e]=function(e){var t=new he((function(){var n=P[e];return P[e]=function(){for(var r=[],o=0;o=t-r&&Do(e)<=Ge(n,r)}(t,e.startClocks.relative,Do({startTime:e.startClocks.relative,duration:e.duration}))}));return 1===n.length?n[0]:void 0}}}function Do(e){return Ge(e.startTime,e.duration)}function Mo(e,t,n,r){e.subscribe(6,(function(o){e.notify(10,function(e,t,n,r){var o,i="xhr"===e.type?"xhr":"fetch",a=No(e),u=a?Ce(a.startTime):e.startClocks,c=a?Fo(a):void 0,s=function(e,t){if(!(e.traceSampled&&e.traceId&&e.spanId))return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString(),rule_psr:Uo(t)}}}(e,t),l=Vo(n,u),f=function(e,t,n){var r;if(!_t(dt.NO_RESOURCE_DURATION_FROZEN_STATE))return Pe(n);return(null===(r=e.findAll(t.relative,n))||void 0===r?void 0:r.some((function(e){return"frozen"===e.state})))?void 0:Pe(n)}(r,u,e.duration),d=Bo(r,u,null!==(o=null===a||void 0===a?void 0:a.duration)&&void 0!==o?o:e.duration),p=ce({date:u.timeStamp,resource:{id:Ve(),type:i,duration:f,method:e.method,status_code:e.status,url:e.url},type:"resource"},s,c,l,d);return{startTime:u.relative,rawRumEvent:p,domainContext:{performanceEntry:a&&a,xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(o,t,n,r))})),e.subscribe(0,(function(o){for(var i=0,a=o;i=0?o.start:0,u=i?i.start:Pe(t);n.push({start:a,duration:u-a})}}return n}var Wo;function zo(e,t,n,r){var o={},i=function(e,t){return{stop:e.subscribe(0,(function(e){for(var n=0,r=e;n=0&&o.responseStart<=je()?o.responseStart:void 0})}})).unsubscribe}}(e,(function(e){n(e.loadEvent),o.navigationTimings=e,r()})).stop,a=function(e,t){var n,r;return void 0===t&&(t=window),"hidden"===document.visibilityState?n=0:(n=1/0,r=$e(0,t,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(n=e.timeStamp,r())}),{capture:!0}).stop),{get timeStamp(){return n},stop:function(){null===r||void 0===r||r()}}}(),u=function(e,t,n){return{stop:e.subscribe(0,(function(e){var r=$(e,(function(e){return e.entryType===Qn.PAINT&&"first-contentful-paint"===e.name&&e.startTime=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return e.entryType===Qn.LARGEST_CONTENTFUL_PAINT&&e.startTime=0?i:0,time:o.startTime,targetSelector:a})}})).unsubscribe}}(e,t,a,(function(e){o.firstInput=e,r()})).stop;return{stop:function(){i(),u(),c(),s(),a.stop()},initialViewMetrics:o}}function Zo(e,t,n){if(!or(Qn.LAYOUT_SHIFT))return{stop:q};var r=0;n({value:0});var o=function(){var e,t,n,r,o=0,i=0;return{update:function(a){var u,c;void 0===e||a.startTime-t>=ke||a.startTime-e>=5e3?(e=t=a.startTime,o=a.value,i=0,n=void 0):(o+=a.value,t=a.startTime),a.value>i&&(i=a.value,r=a.startTime,n=(null===(u=a.sources)||void 0===u?void 0:u.length)?null===(c=$(a.sources,(function(e){return!!e.node&&Xn(e.node)})))||void 0===c?void 0:c.node:void 0)},value:function(){return o},largestLayoutShiftTarget:function(){return n},largestLayoutShiftTime:function(){return r}}}();return{stop:t.subscribe(0,(function(t){for(var i=0,a=t;ir)){var c=Ee(r=o.value(),4),s=o.largestLayoutShiftTarget(),l=void 0;_t(dt.WEB_VITALS_ATTRIBUTION)&&s&&(l=ao(s,e.actionNameAttribute)),n({value:c,targetSelector:l})}}})).unsubscribe}}var qo=0,Ko=1/0,Jo=0;var Yo,$o=function(){return Wo?qo:window.performance.interactionCount||0};function Xo(e,t,n,r){if(!(or(Qn.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype)||!_t(dt.INTERACTION_TO_NEXT_PAINT))return{getInteractionToNextPaint:function(){},stop:q};var o,i=function(e){"interactionCount"in performance||Wo||(Wo=new window.PerformanceObserver(F((function(e){e.getEntries().forEach((function(e){var t=e;t.interactionId&&(Ko=Math.min(Ko,t.interactionId),Jo=Math.max(Jo,t.interactionId),qo=(Jo-Ko)/7+1)}))}))),Wo.observe({type:"event",buffered:!0,durationThreshold:0}));var t="initial_load"===e?0:$o();return{getViewInteractionCount:function(){return $o()-t}}}(n).getViewInteractionCount,a=function(e){var t=[];function n(){t.sort((function(e,t){return t.duration-e.duration})).splice(10)}return{process:function(e){var r=t.findIndex((function(t){return e.interactionId===t.interactionId})),o=t[t.length-1];-1!==r?e.duration>t[r].duration&&(t[r]=e,n()):(t.length<10||e.duration>o.duration)&&(t.push(e),n())},estimateP98Interaction:function(){var n=Math.min(t.length-1,Math.floor(e()/50));return t[n]}}}(i),u=-1,c=!1,s=r.subscribe(0,(function(n){for(var r,i=0,s=n;i6e5&&!c&&(c=!0,Rn("INP outlier",{inp:u,interaction:{timeFromViewStart:Me(t.relative,f.startTime),duration:f.duration,startTime:f.startTime,processingStart:f.processingStart,processingEnd:f.processingEnd,interactionId:f.interactionId,name:f.name,targetNodeName:null===(r=f.target)||void 0===r?void 0:r.nodeName}})),o=_t(dt.WEB_VITALS_ATTRIBUTION)&&f.target&&Xn(f.target)?ao(f.target,e.actionNameAttribute):void 0)})).unsubscribe;return{getInteractionToNextPaint:function(){return u>=0?{value:u,targetSelector:o}:i()?{value:0}:void 0},stop:s}}function Qo(e){return Yo||(Yo=function(e){var t=new he((function(){var n=Z((function(){t.notify(ei())}),200).throttled;return Ye(e,window,"resize",n,{capture:!0,passive:!0}).stop}));return t}(e)),Yo}function ei(){var e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}function ti(e,t,n,r){void 0===r&&(r=function(e,t){void 0===t&&(t=1e3);var n=new he((function(){function r(){n.notify(function(){var e=function(){var e,t=window.visualViewport;return e=t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(e)}(),t=ei().height,n=Math.round((document.scrollingElement||document.documentElement).scrollHeight),r=Math.round(t+e);return{scrollHeight:n,scrollDepth:r,scrollTop:e}}())}if(window.ResizeObserver){var o=Z(r,t,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver(F(o.throttled));a.observe(i);var u=Ye(e,window,"scroll",o.throttled,{passive:!0});return function(){o.cancel(),a.unobserve(i),u.stop()}}}));return n}(e));var o=0,i=0,a=0,u=r.subscribe((function(e){var r=e.scrollDepth,u=e.scrollTop,c=e.scrollHeight,s=!1;if(r>o&&(o=r,s=!0),c>i){i=c;var l=je();a=Me(t.relative,l),s=!0}s&&n({maxDepth:Math.min(o,i),maxDepthScrollTop:u,maxScrollHeight:i,maxScrollHeightTime:a})}));return{stop:function(){return u.unsubscribe()}}}function ni(e,t,n,r,o,i){var a={},u=function(e,t,n,r,o,i){var a="initial_load"===r,u=!0,c=[];function s(){!u&&!a&&c.length>0&&i(Math.max.apply(Math,c))}return{stop:Hr(e,t,n,(function(e){u&&(u=!1,e.hadActivity&&c.push(Me(o.timeStamp,e.end)),s())})).stop,setLoadEvent:function(e){a&&(a=!1,c.push(e),s())}}}(e,t,n,o,i,(function(e){a.loadingTime=e,r()})),c=u.stop,s=u.setLoadEvent,l=ti(n,i,(function(e){a.scroll=e})).stop,f=Zo(n,e,(function(e){a.cumulativeLayoutShift=e,r()})).stop,d=Xo(n,i,o,e),p=d.stop,v=d.getInteractionToNextPaint;return{stop:function(){c(),f(),l(),p()},setLoadEvent:s,getCommonViewMetrics:function(){return a.interactionToNextPaint=v(),a}}}var ri=3e5,oi=3e5;function ii(e,t,n,r,o,i,a){var u,c=new Set,s=l("initial_load",De(),a);function l(o,i,a){var u=function(e,t,n,r,o,i,a){void 0===i&&(i=Ne());var u,c,s,l,f=Ve(),d=new he,p={},v=0,h=St(r),m=!0;a&&(c=a.name,s=a.service,l=a.version);e.notify(2,{id:f,name:c,startClocks:i,service:s,version:l});var g=Z(P,3e3,{leading:!1}),y=g.throttled,b=g.cancel,w=ni(e,t,n,y,o,i),_=w.setLoadEvent,E=w.stop,S=w.getCommonViewMetrics,x="initial_load"===o?zo(e,n,_,y):{stop:q,initialViewMetrics:{}},A=x.stop,T=x.initialViewMetrics,k=function(e,t,n){var r=Vr({lifeCycle:e,isChildEvent:function(e){return e.view.id===t},onChange:n});return{stop:r.stop,eventCounts:r.eventCounts}}(e,f,y),O=k.stop,C=k.eventCounts,I=W(P,ri);function P(){b(),v+=1;var t=void 0===u?Re():u.timeStamp;e.notify(3,{customTimings:p,documentVersion:v,id:f,name:c,service:s,version:l,loadingType:o,location:h,startClocks:i,commonViewMetrics:S(),initialViewMetrics:T,duration:Me(i.timeStamp,t),isActive:void 0===u,sessionIsActive:m,eventCounts:C})}return P(),{name:c,service:s,version:l,stopObservable:d,end:function(t){var n,r,o=this;void 0===t&&(t={}),u||(u=null!==(n=t.endClocks)&&void 0!==n?n:Ne(),m=null===(r=t.sessionIsActive)||void 0===r||r,e.notify(4,{endClocks:u}),z(I),E(),P(),B((function(){o.stop()}),oi))},stop:function(){A(),O(),d.notify()},addTiming:function(e,t){if(!u){var n=function(e){return e<31536e6}(t)?t:Me(i.timeStamp,t);p[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&N.warn("Invalid timing name: ".concat(e,", sanitized to: ").concat(t));return t}(e)]=n,y()}}}}(t,n,r,e,o,i,a);return c.add(u),u.stopObservable.subscribe((function(){c.delete(u)})),u}return t.subscribe(8,(function(){s=l("route_change",void 0,{name:s.name,service:s.service,version:s.version})})),t.subscribe(7,(function(){s.end({sessionIsActive:!1})})),t.subscribe(9,(function(e){e.reason!==Mn.UNLOADING&&e.reason!==Mn.PAGEHIDE||s.end()})),i&&(u=function(e){return e.subscribe((function(e){var t,n,r=e.oldLocation,o=e.newLocation;n=o,((t=r).pathname!==n.pathname||!function(e){var t=e.substr(1);return!!document.getElementById(t)}(n.hash)&&ai(n.hash)!==ai(t.hash))&&(s.end(),s=l("route_change"))}))}(o)),{addTiming:function(e,t){void 0===t&&(t=Re()),s.addTiming(e,t)},startView:function(e,t){s.end({endClocks:t}),s=l("route_change",t,e)},stop:function(){null===u||void 0===u||u.unsubscribe(),s.end(),c.forEach((function(e){return e.stop()}))}}}function ai(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function ui(e,t,n,r,o,i,a,u,c){return e.subscribe(3,(function(n){return e.notify(10,function(e,t,n,r,o){var i,a,u,c,s,l,f,d,p,v,h,m,g,y,b=r.getReplayStats(e.id),w=n.findFeatureFlagEvaluations(e.startClocks.relative),_=_t(dt.PAGE_STATES),E=o.findAll(e.startClocks.relative,e.duration),S={_dd:{document_version:e.documentVersion,replay_stats:b,page_states:_?E:void 0},date:e.startClocks.timeStamp,type:"view",view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:null===(i=e.commonViewMetrics.cumulativeLayoutShift)||void 0===i?void 0:i.value,cumulative_layout_shift_target_selector:null===(a=e.commonViewMetrics.cumulativeLayoutShift)||void 0===a?void 0:a.targetSelector,first_byte:Pe(null===(u=e.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.firstByte),dom_complete:Pe(null===(c=e.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.domComplete),dom_content_loaded:Pe(null===(s=e.initialViewMetrics.navigationTimings)||void 0===s?void 0:s.domContentLoaded),dom_interactive:Pe(null===(l=e.initialViewMetrics.navigationTimings)||void 0===l?void 0:l.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Pe(e.initialViewMetrics.firstContentfulPaint),first_input_delay:Pe(null===(f=e.initialViewMetrics.firstInput)||void 0===f?void 0:f.delay),first_input_time:Pe(null===(d=e.initialViewMetrics.firstInput)||void 0===d?void 0:d.time),first_input_target_selector:null===(p=e.initialViewMetrics.firstInput)||void 0===p?void 0:p.targetSelector,interaction_to_next_paint:Pe(null===(v=e.commonViewMetrics.interactionToNextPaint)||void 0===v?void 0:v.value),interaction_to_next_paint_target_selector:null===(h=e.commonViewMetrics.interactionToNextPaint)||void 0===h?void 0:h.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:Pe(null===(m=e.initialViewMetrics.largestContentfulPaint)||void 0===m?void 0:m.value),largest_contentful_paint_target_selector:null===(g=e.initialViewMetrics.largestContentfulPaint)||void 0===g?void 0:g.targetSelector,load_event:Pe(null===(y=e.initialViewMetrics.navigationTimings)||void 0===y?void 0:y.loadEvent),loading_time:ci(Pe(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Pe(e.duration),in_foreground_periods:!_&&E?Ho(E,e.duration):void 0},feature_flags:w&&!At(w)?w:void 0,display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:Pe(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!b||void 0,is_active:!!e.sessionIsActive&&void 0},privacy:{replay_level:t.defaultPrivacyLevel}};At(e.customTimings)||(S.view.custom_timings=function(e,t){for(var n={},r=0,o=Object.keys(e);r=this.messageBytesLimit?N.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.push(r,o,t))},e.prototype.process=function(e){var t=se(e);return{processedMessage:t,messageBytesCount:oe(t)}},e.prototype.push=function(e,t,n){var r=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(t+r),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.flushController.notifyAfterAddMessage()},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=oe(t),r=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+r)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e}(),vi=3145728;function hi(e,t,n,r,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?gi(e,t,n,{onSuccess:function(){return yi(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),mi(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function mi(e,t,n,r){2===e.transportStatus&&B((function(){gi(e.queuedPayloads.first(),e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=1e3,yi(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(6e4,2*e.currentBackoffTime),mi(e,t,n,r)}})}),e.currentBackoffTime)}function gi(e,t,n,r){var o=r.onSuccess,i=r.onFailure;t.bandwidthMonitor.add(e),n(e,(function(n){t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||(t=e.status,t>=500));var t}(n)?(t.transportStatus=0,o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},i())}))}function yi(e,t,n,r,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(3,"MiB"),source:cr,startClocks:Ne()}),t.queueFullReported=!0);var i=t.queuedPayloads;for(t.queuedPayloads=bi();i.size()>0;)hi(i.dequeue(),t,n,r,o)}function bi(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=vi}}}function wi(e,t,n,r){var o={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:bi(),queueFullReported:!1},i=function(r,o){return function(e,t,n,r,o){if(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(ve){return!1}}()&&r.bytesCount=r&&d("bytes_limit"),f+=1,l+=e,void 0===t&&(t=B((function(){d("duration_limit")}),o))},notifyAfterAddMessage:function(){f>=n?d("messages_limit"):l>=r&&d("bytes_limit")},notifyAfterRemoveMessage:function(e){l-=e,0===(f-=1)&&p()}}}function xi(e,t,n,r,o,i){var a=e.replica,u=function(e,t,n,r,o,i){var a=c(e,t.endpoint),u=n&&c(e,n.endpoint);function c(e,t){return new pi(wi(e,t,e.batchBytesLimit,r),Si({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),e.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),a.add(e),u&&t&&u.add(n.transformMessage?n.transformMessage(e):e)},upsert:function(e,t){a.upsert(e,t),u&&u.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:function(){a.stop(),null===u||void 0===u||u.stop()}}}(e,{endpoint:e.rumEndpointBuilder},a&&{endpoint:a.rumEndpointBuilder,transformMessage:function(e){return ce(e,{application:{id:a.applicationId}})}},r,o,i);return t.subscribe(11,(function(e){"view"===e.type?u.upsert(e,e.view.id):u.add(e)})),n.subscribe((function(t){return u.add(t,function(e){return e.site===rn}(e))})),u}function Ai(e,t){var n=St(t),r=new he((function(){var t=function(e,t){var n=Or(history,"pushState",{after:t}).stop,r=Or(history,"replaceState",{after:t}).stop,o=Ye(e,window,"popstate",t).stop;return{stop:function(){n(),r(),o()}}}(e,o).stop,n=function(e,t){return Ye(e,window,"hashchange",t)}(e,o).stop;return function(){t(),n()}}));function o(){if(n.href!==t.href){var e=St(t);r.notify({newLocation:e,oldLocation:n}),n=e}}return r}var Ti,ki,Oi;function Ci(){0!==Ti.batchCount&&(Rn("Customer data measures",Ti),Li())}function Ii(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function Pi(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function Li(){Ti={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0},globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}function Ri(){Oi=!1,ki={globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}function ji(e,t){void 0===t&&(t=500);var n,r=new Tr(144e5,4e3);i(Ni(),je());var o=$e(0,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],(function(e){e.isTrusted&&i(function(e){if("freeze"===e.type)return"frozen";if("pagehide"===e.type)return e.persisted?"frozen":"terminated";return Ni()}(e),e.timeStamp)}),{capture:!0}).stop;function i(e,t){void 0===t&&(t=je()),e!==n&&(n=e,r.closeActive(t),r.add({state:n,startTime:t},t))}return{findAll:function(e,n){var o=r.findAll(e,n);if(0!==o.length){for(var i=[],a=Math.max(0,o.length-t),u=o.length-1;u>=a;u--){var c=o[u],s=Me(e,c.startTime);i.push({state:c.state,start:Pe(s)})}return i}},isInActivePageStateAt:function(e){var t=r.find(e);return void 0!==t&&"active"===t.state},addPageState:i,stop:function(){o(),r.stop()}}}function Ni(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function Di(e,t){var n=t.session,r=t.viewContext,o=t.errorType,i=n?n.id:"no-session-id",a=[];void 0!==o&&a.push("error-type=".concat(o)),r&&(a.push("seed=".concat(r.id)),a.push("from=".concat(r.startClocks.timeStamp)));var u=function(e){var t=e.site,n=e.subdomain||function(e){switch(e.site){case on:case an:return"app";case rn:return"dd";default:return}}(e);return"https://".concat(n?"".concat(n,"."):"").concat(t)}(e),c="/rum/replay/sessions/".concat(i);return"".concat(u).concat(c,"?").concat(a.join("&"))}var Mi=function(e,t,n){var r=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,o=void 0===r||r,i=!1,a=be(2),u=be(1),c=function(){},s=function(){},l=q,f=function(){},d=new we,p=function(e,t){void 0===t&&(t=Re()),d.add((function(){return p(e,t)}))},v=function(e,t){void 0===t&&(t=Ne()),d.add((function(){return v(e,t)}))},h=function(e,n){void 0===n&&(n=xn(a,u,t)),d.add((function(){return h(e,n)}))},m=function(e,n){void 0===n&&(n=xn(a,u,t)),d.add((function(){return m(e,n)}))},g=function(e,t){d.add((function(){return g(e,t)}))};function y(n,r,o){if(n.storeContextsAcrossPages){var i=a.getContext();(a=et(r,"rum",2)).setContext(ce(a.getContext(),i));var s=u.getContext();(u=et(r,"rum",1)).setContext(ce(u.getContext(),s))}var y=e(n,r,t,a,u,o);f=function(){return t.getSessionReplayLink(r,y.session,y.viewContexts)},v=y.startView,h=y.addAction,m=y.addError,p=y.addTiming,g=y.addFeatureFlagEvaluation,c=y.getInternalContext,l=y.stopSession,d.drain(),t.onRumStart(y.lifeCycle,r,y.session,y.viewContexts)}var b=F((function(e){v("object"===typeof e?e:{name:e})})),w=function(e){var t=ne({version:"4.50.1",onReady:function(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return G},enumerable:!1}),t}({init:F((function(e){if(e){if(s=function(){return ue(e)},!o||!qe()){var t=Je();if(t&&(e=function(e){return ne({},e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}(e)),function(e){if(i)return e.silentMultipleInit||N.error("DD_RUM is already initialized."),!1;return!0}(e)){var n=En(e);if(n)if(t||n.sessionStoreStrategyType){if(n.trackViewsManually){var r=d;d=new we,v=function(t){y(e,n,t)},r.drain()}else y(e,n);i=!0}else N.warn("No storage available for session. We will not send any data.")}}}else N.error("Missing configuration")})),addRumGlobalContext:F((function(e,t){return a.add(e,t)})),setGlobalContextProperty:F((function(e,t){return a.setContextProperty(e,t)})),removeRumGlobalContext:F((function(e){return a.remove(e)})),removeGlobalContextProperty:F((function(e){return a.removeContextProperty(e)})),getRumGlobalContext:F((function(){return a.get()})),getGlobalContext:F((function(){return a.getContext()})),setRumGlobalContext:F((function(e){return a.set(e)})),setGlobalContext:F((function(e){return a.setContext(e)})),clearGlobalContext:F((function(){return a.clearContext()})),getInternalContext:F((function(e){return c(e)})),getInitConfiguration:F((function(){return s()})),addAction:F((function(e,t){h({name:fe(e),context:fe(t),startClocks:Ne(),type:"custom"})})),addError:function(e,t){var n=yt();U((function(){m({error:e,handlingStack:n,context:fe(t),startClocks:Ne()})}))},addTiming:F((function(e,t){p(fe(e),t)})),setUser:F((function(e){(function(e){var t="object"===ie(e);return t||N.error("Unsupported user:",e),t})(e)&&u.setContext(bt(e))})),getUser:F((function(){return u.getContext()})),setUserProperty:F((function(e,t){var n,r=bt((n={},n[e]=t,n))[e];u.setContextProperty(e,r)})),removeUserProperty:F((function(e){return u.removeContextProperty(e)})),removeUser:F((function(){return u.clearContext()})),clearUser:F((function(){return u.clearContext()})),startView:b,stopSession:F((function(){l()})),startSessionReplayRecording:F(t.start),stopSessionReplayRecording:F(t.stop),addFeatureFlagEvaluation:F((function(e,t){g(fe(e),fe(t))})),getSessionReplayLink:F((function(){return f()}))});return w}((function(e,t,n,r,o,i){var a=[],u=new xr;u.subscribe(11,(function(e){return An("rum",e)}));var c=function(e){var t=Ln("browser-rum-sdk",e);if(Je()){var n=Ke();t.observable.subscribe((function(e){return n.send("internal_telemetry",e)}))}return t}(t);c.setContextProvider((function(){var e,n;return{application:{id:t.applicationId},session:{id:null===(e=p.findTrackedSession())||void 0===e?void 0:e.id},view:{id:null===(n=y.findView())||void 0===n?void 0:n.id},action:{id:_.findActionId()}}}));var s=function(e){u.notify(12,{error:e}),Rn("Error reported to customer",{"error.message":e.message})},l=function(e,t){if(void 0===t&&(t=oe),!_t(dt.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:q,stop:q};var n=new Tr(144e5),r=0,o=!1;e.subscribe(4,(function(e){var t=e.endClocks;n.closeActive(t.relative)})),e.subscribe(2,(function(e){var t=e.startClocks;n.add({},t.relative),r=0}));var i=Z((function(e){r=t(se(e)),o||(o=ye(r,0))}),200),a=i.throttled;return{findFeatureFlagEvaluations:function(e){return n.find(e)},getFeatureFlagBytesCount:function(){return n.find()?r:0},addFeatureFlagEvaluation:function(e,t){var r=n.find();r&&(r[e]=t,a(r))},stop:i.cancel}}(u),f=function(e){var t=new he((function(){var n=_t(dt.PAGEHIDE),r=$e(0,window,["visibilitychange","freeze","pagehide"],(function(e){"pagehide"===e.type&&n?t.notify({reason:Mn.PAGEHIDE}):"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:Mn.HIDDEN}):"freeze"===e.type&&t.notify({reason:Mn.FROZEN})}),{capture:!0}).stop,o=q;return n||(o=Ye(e,window,"beforeunload",(function(){t.notify({reason:Mn.UNLOADING})})).stop),function(){r(),o()}}));return t}(t),d=f.subscribe((function(e){u.notify(9,e)}));a.push((function(){return d.unsubscribe()}));var p=Je()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0};return{findTrackedSession:function(){return e},expire:q,expireObservable:new he}}():fi(t,u);if(Je())!function(e){var t=Ke();e.subscribe(11,(function(e){t.send("rum",e)}))}(u);else{var v=xi(t,u,c.observable,s,f,p.expireObservable);a.push((function(){return v.stop()})),function(e,t,n,r,o,i,a){t.enabled&&_e(e.customerDataTelemetrySampleRate)&&(Li(),Ri(),n.subscribe(11,(function(e){Oi=!0,Ii(ki.globalContextBytes,At(r.get())?0:r.getBytesCount()),Ii(ki.userContextBytes,At(o.get())?0:o.getBytesCount());var t=i.findFeatureFlagEvaluations(),n=J(["view","error"],e.type)&&t&&!At(t);Ii(ki.featureFlagBytes,n?i.getFeatureFlagBytesCount():0)})),a.subscribe((function(e){var t=e.bytesCount,n=e.messagesCount;Oi&&(Ti.batchCount+=1,Ii(Ti.batchBytesCount,t),Ii(Ti.batchMessagesCount,n),Pi(Ti.globalContextBytes,ki.globalContextBytes),Pi(Ti.userContextBytes,ki.userContextBytes),Pi(Ti.featureFlagBytes,ki.featureFlagBytes),Ri())})),W(Ci,1e4))}(t,c,u,r,o,l,v.flushObservable)}var h=Gn(),m=Ai(t,location),g=function(e,t,n,r,o,i,a,u){var c=function(e){var t=new Tr(144e5);return e.subscribe(2,(function(e){t.add(function(e){return{service:e.service,version:e.version,id:e.id,name:e.name,startClocks:e.startClocks}}(e),e.startClocks.relative)})),e.subscribe(4,(function(e){var n=e.endClocks;t.closeActive(n.relative)})),e.subscribe(8,(function(){t.reset()})),{findView:function(e){return t.find(e)},stop:function(){t.stop()}}}(e),s=function(e,t,n){var r,o=new Tr(144e5);e.subscribe(4,(function(e){var t=e.endClocks;o.closeActive(t.relative)})),e.subscribe(2,(function(e){var t=e.startClocks,i=n.href;o.add(a({url:i,referrer:r||document.referrer}),t.relative),r=i}));var i=t.subscribe((function(e){var t=e.newLocation,n=o.find();if(n){var r=je();o.closeActive(r),o.add(a({url:t.href,referrer:n.referrer}),r)}}));function a(e){return{url:e.url,referrer:e.referrer}}return{findUrl:function(e){return o.find(e)},stop:function(){i.unsubscribe(),o.stop()}}}(e,o,n),l=ji(),f=function(e,t,n,r){e.subscribe(1,(function(t){return e.notify(10,So(t,r))}));var o={findActionId:q};return n.trackUserInteractions&&(o=_o(e,t,n).actionContexts),{addAction:function(t,n){e.notify(10,ne({savedCommonContext:n},So(t,r)))},actionContexts:o}}(e,i,t,l),d=f.addAction,p=f.actionContexts,v=function(e){var t=ei();return{get:function(){return{viewport:t}},stop:Qo(e).subscribe((function(e){t=e})).unsubscribe}}(t);return Er(t,e,r,c,s,p,v,a,u),{viewContexts:c,pageStateHistory:l,urlContexts:s,addAction:d,actionContexts:p,stop:function(){v.stop(),l.stop(),s.stop(),c.stop(),l.stop()}}}(u,t,location,p,m,h,(function(){return xn(r,o,n)}),s),y=g.viewContexts,b=g.pageStateHistory,w=g.urlContexts,_=g.actionContexts,E=g.addAction,S=g.stop;a.push(S),function(e){Pn.telemetryConfigurationEnabled&&Nn({type:On,configuration:e})}(function(e){var t,n,r=function(e){var t,n,r=null!==(t=e.proxy)&&void 0!==t?t:e.proxyUrl;return{session_sample_rate:null!==(n=e.sessionSampleRate)&&void 0!==n?n:e.sampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:void 0!==r?!!r:void 0,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_resources:e.trackResources,track_long_task:e.trackLongTasks,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages}}(e);return ne({premium_sample_rate:e.premiumSampleRate,replay_sample_rate:e.replaySampleRate,session_replay_sample_rate:e.sessionReplaySampleRate,trace_sample_rate:null!==(t=e.traceSampleRate)&&void 0!==t?t:e.tracingSampleRate,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(e.allowedTracingOrigins)&&e.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0,selected_tracing_propagators:Sn(e),default_privacy_level:e.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(e.excludedActivityUrls)&&e.excludedActivityUrls.length>0,use_worker_url:!!e.workerUrl,track_frustrations:e.trackFrustrations,track_views_manually:e.trackViewsManually,track_user_interactions:null!==(n=e.trackUserInteractions)&&void 0!==n?n:e.trackInteractions},r)}(e)),function(e,t){e.subscribe(0,(function(n){for(var r=0,o=n;r=0?r="back-forward-cache":n&&(document.prerendering||sa()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},fa=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},da=function(e,t,n,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},pa=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},va=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},ha=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},ma=-1,ga=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},ya=function(e){"hidden"===document.visibilityState&&ma>-1&&(ma="visibilitychange"===e.type?e.timeStamp:0,wa())},ba=function(){addEventListener("visibilitychange",ya,!0),addEventListener("prerenderingchange",ya,!0)},wa=function(){removeEventListener("visibilitychange",ya,!0),removeEventListener("prerenderingchange",ya,!0)},_a=function(){return ma<0&&(ma=ga(),ba(),ua((function(){setTimeout((function(){ma=ga(),ba()}),0)}))),{get firstHiddenTime(){return ma}}},Ea=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},Sa=[1800,3e3],xa=function(e,t){t=t||{},Ea((function(){var n,r=_a(),o=la("FCP"),i=fa("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime=0&&na1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){Oa(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,Ta),removeEventListener("pointercancel",r,Ta)};addEventListener("pointerup",n,Ta),addEventListener("pointercancel",r,Ta)}(t,e):Oa(t,e)}},Pa=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,Ia,Ta)}))},La=[100,300],Ra=0,ja=1/0,Na=0,Da=function(e){e.forEach((function(e){e.interactionId&&(ja=Math.min(ja,e.interactionId),Na=Math.max(Na,e.interactionId),Ra=Na?(Na-ja)/7+1:0)}))},Ma=function(){return ia?Ra:performance.interactionCount||0},Ga=function(){"interactionCount"in performance||ia||(ia=fa("event",Da,{type:"event",buffered:!0,durationThreshold:0}))},Fa=[200,500],Ua=0,Va=function(){return Ma()-Ua},Ba=[],Ha={},Wa=function(e){var t=Ba[Ba.length-1],n=Ha[e.interactionId];if(n||Ba.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};Ha[r.id]=r,Ba.push(r)}Ba.sort((function(e,t){return t.latency-e.latency})),Ba.splice(10).forEach((function(e){delete Ha[e.id]}))}},za=[2500,4e3],Za={},qa=[800,1800],Ka=function e(t){document.prerendering?Ea((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},Ja=function(e,t){t=t||{};var n=la("TTFB"),r=da(e,n,qa,t.reportAllChanges);Ka((function(){var o=ca();if(o){var i=o.responseStart;if(i<=0||i>performance.now())return;n.value=Math.max(i-sa(),0),n.entries=[o],r(!0),ua((function(){n=la("TTFB",0),(r=da(e,n,qa,t.reportAllChanges))(!0)}))}}))};function Ya(){var e=(0,i.useState)(),t=e[0],n=e[1],r=(0,i.useState)(),o=r[0],a=r[1],u=(0,i.useState)(),c=u[0],s=u[1],l=(0,i.useState)(),f=l[0],d=l[1],p=(0,i.useState)(),v=p[0],h=p[1],m=(0,i.useState)(),g=m[0],y=m[1];return(0,i.useEffect)((function(){!function(e,t){t=t||{},Ea((function(){var n,r=_a(),o=la("LCP"),i=function(e){var t=e[e.length-1];t&&t.startTimer.value&&(r.value=o,r.entries=i,n())},u=fa("layout-shift",a);u&&(n=da(e,r,Aa,t.reportAllChanges),va((function(){a(u.takeRecords()),n(!0)})),ua((function(){o=0,r=la("CLS",0),n=da(e,r,Aa,t.reportAllChanges),pa((function(){return n()}))})),setTimeout(n,0))})))}((function(e){a(e)})),function(e,t){t=t||{},Ea((function(){var n,r=_a(),o=la("FID"),i=function(e){e.startTime0&&(o.value=0,o.entries=[]),r(!0)})),ua((function(){Ba=[],Ua=Ma(),o=la("INP"),r=da(e,o,Fa,t.reportAllChanges)})))}))}((function(e){y(e)}))}),[]),{lcp:t,cls:o,fid:c,fcp:f,ttfb:v,inp:g}}var $a=n(71461);function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qa(e){for(var t=1;t cookie.split("=")[0]);\n const hasPreviewCookies = cookieNames.includes("__prerender_bypass") && cookieNames.includes("__next_preview_data");\n \n if (!hasPreviewCookies) {\n window.location.href = "/api/preview?slug=" + window.location.pathname;\n }\n })();\n '}})})}var iu=n(2270),au=n(89916),uu=n(5152),cu=n.n(uu),su=function(e){var t,n=e.pageProps,r=Ki(n,e.path).split(" ");return r.includes("page-download")?(0,s.tZ)(du,{}):r.includes("page-feature")?(0,s.tZ)(fu,{}):r.includes("jobs-landing")||r.includes("jobs-team")||r.includes("jobs-office")||r.includes("jobs-apply")?(0,s.tZ)(lu,{bodyClass:null===n||void 0===n||null===(t=n.page)||void 0===t?void 0:t.body_class}):null},lu=cu()((function(){return Promise.all([n.e(21764),n.e(10429)]).then(n.bind(n,10429))}),{loadableGenerated:{webpack:function(){return[10429]}}}),fu=cu()((function(){return n.e(7048).then(n.bind(n,7048))}),{loadableGenerated:{webpack:function(){return[7048]}}}),du=cu()((function(){return n.e(69548).then(n.bind(n,69548))}),{loadableGenerated:{webpack:function(){return[69548]}}}),pu=n(27825),vu=n(38483),hu=n(68813);function mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gu(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function bu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",o=0):o=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),i=u,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=u,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,u):r=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a;i>=0?a=arguments[i]:(void 0===e&&(e=""),a=e),t(a),0!==a.length&&(r=a+"/"+r,o=47===a.charCodeAt(0))}return r=n(r,!o),o?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&o&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var o=1;os){if(47===n.charCodeAt(u+f))return n.slice(u+f+1);if(0===f)return n.slice(u+f)}else a>s&&(47===e.charCodeAt(o+f)?l=f:0===f&&(l=0));break}var d=e.charCodeAt(o+f);if(d!==n.charCodeAt(u+f))break;47===d&&(l=f)}var p="";for(f=o+l+1;f<=i;++f)f!==i&&47!==e.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(u+l):(u+=l,47===n.charCodeAt(u)&&++u,n.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,o=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return-1===o?r?"/":".":r&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!==typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,o=0,i=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var u=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var s=e.charCodeAt(r);if(47===s){if(!a){o=r+1;break}}else-1===c&&(a=!1,c=r+1),u>=0&&(s===n.charCodeAt(u)?-1===--u&&(i=r):(u=-1,i=c))}return o===i?i=c:-1===i&&(i=e.length),e.slice(o,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){o=r+1;break}}else-1===i&&(a=!1,i=r+1);return-1===i?"":e.slice(o,i)},extname:function(e){t(e);for(var n=-1,r=0,o=-1,i=!0,a=0,u=e.length-1;u>=0;--u){var c=e.charCodeAt(u);if(47!==c)-1===o&&(i=!1,o=u+1),46===c?-1===n?n=u:1!==a&&(a=1):-1!==n&&(a=-1);else if(!i){r=u+1;break}}return-1===n||-1===o||0===a||1===a&&n===o-1&&n===r+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,o=e.charCodeAt(0),i=47===o;i?(n.root="/",r=1):r=0;for(var a=-1,u=0,c=-1,s=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(o=e.charCodeAt(l)))-1===c&&(s=!1,c=l+1),46===o?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!s){u=l+1;break}return-1===a||-1===c||0===f||1===f&&a===c-1&&a===u+1?-1!==c&&(n.base=n.name=0===u&&i?e.slice(1,c):e.slice(u,c)):(0===u&&i?(n.name=e.slice(1,a),n.base=e.slice(1,c)):(n.name=e.slice(u,a),n.base=e.slice(u,c)),n.ext=e.slice(a,c)),u>0?n.dir=e.slice(0,u-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(114);e.exports=o}()},5152:function(e,t,n){e.exports=n(22358)},9008:function(e,t,n){e.exports=n(50630)},11163:function(e,t,n){e.exports=n(83678)},53410:function(e){function t(e){return function(t,n,r,i){var a,u=i&&function(e){return"function"===typeof e}(i.normalizer)?i.normalizer:o;n=u(n);for(var c=!1;!c;)s();function s(){for(a in t){var e=u(a);if(0===n.indexOf(e)){var r=n.substr(e.length);if("."===r.charAt(0)||0===r.length){n=r.substr(1);var o=t[a];return null==o?void(c=!0):n.length?void(t=o):void(c=!0)}}}a=void 0,c=!0}if(a)return null==t?t:e(t,a,r)}}function n(e,t){return e.hasOwnProperty(t)&&delete e[t],e}function r(e,t,n){return e.hasOwnProperty(t)&&(e[t]=n),e}function o(e){return e.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}e.exports=t((function(e,t){if(e.hasOwnProperty(t))return e[t]})),e.exports.find=e.exports,e.exports.replace=function(e,n,o,i){return t(r).call(this,e,n,o,i),e},e.exports.del=function(e,r,o){return t(n).call(this,e,r,null,o),e}},34155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var u,c=[],s=!1,l=-1;function f(){s&&u&&(s=!1,u.length?c=u.concat(c):l=-1,c.length&&d())}function d(){if(!s){var e=a(f);s=!0;for(var t=c.length;t;){for(u=c,c=[];++l1)for(var n=1;n256){for(r=Array(t=256);t--;)r[t]=256*Math.random()|0;t=o=0}for(;t<16;t++)e=r[o+t],n+=6==t?i[15&e|64]:8==t?i[63&e|128]:i[e],1&t&&t>1&&t<11&&(n+="-");return o++,n}},96475:function(e,t,n){"use strict";function r(e,t,n){t.split&&(t=t.split("."));for(var r,o,i=0,a=t.length,u=e;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},17674:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(14666);var o=n(2937),i=n(14882);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},2937:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52587);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},97582:function(e,t,n){"use strict";n.d(t,{CR:function(){return s},Jh:function(){return c},ZT:function(){return o},_T:function(){return a},ev:function(){return l},mG:function(){return u},pi:function(){return i}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o