1/*! For license information please see w.body.bundle.js.LICENSE.txt */ 2(()=>{var t={2248:(t,e,n)=>{"use strict";n.d(e,{R:()=>k});var r=n(292),i=n(2343),a=n(2844),o=n(7597),s=n(6893),c=n(8725),l=n(409),u=n(1984),d=n(2967),h=n(9015),p=n(8942);const _="Not capturing exception because it's already been captured.";class f{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(f.prototype.__init.call(this),f.prototype.__init2.call(this),f.prototype.__init3.call(this),f.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=(0,r.vK)(t.dsn);const e=(0,u.U)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if((0,a.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(_));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let i=n&&n.event_id;const a=(0,o.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(a.then((t=>this._captureEvent(t,n,r))).then((t=>{i=t}))),i}captureEvent(t,e,n){if(e&&e.originalException&&(0,a.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(_));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,h.CT)(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,s.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(0,d.q4)(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,d.m7)(t,this._integrations)}sendEvent(t,e={}){if(this._dsn){let n=function(t,e,n,r){const i=(0,c.HY)(n),a=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const o=(0,c.Cd)(t,i,r,e);delete t.sdkProcessingMetadata;const s=[{type:a},t];return(0,c.Jd)(o,[s])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.BO)(n,(0,c.zQ)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(t){if(this._dsn){const e=function(t,e,n,i){const a=(0,c.HY)(n),o={sent_at:(new Date).toISOString(),...a&&{sdk:a},...!!i&&{dsn:(0,r.RA)(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return(0,c.Jd)(o,[s])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(t,e){let n=!1,r=!1;const i=e.exception&&e.exception.values;if(i){r=!0;for(const t of i){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const a="ok"===t.status;(a&&0===t.errors||a&&n)&&((0,h.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new s.cW((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const r=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i.length>0&&(e.integrations=i),(0,p.R)(r,t,e,n)}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>
2{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?i.kg.log(e.message):i.kg.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return(0,s.$2)(new l.b("SDK not enabled, will not capture event.","log"));const a=g(t),c=m(t),u=t.type||"error",d=`before send for type \`${u}\``;if(c&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),(0,s.$2)(new l.b(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const h="replay_event"===u?"replay":u;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",h,t),new l.b("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const i=function(t,e,n){const{beforeSend:r,beforeSendTransaction:i}=t;return m(e)&&r?r(e,n):g(e)&&i?i(e,n):e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,o.J8)(t))return t.then((t=>{if(!(0,o.PO)(t)&&null!==t)throw new l.b(n);return t}),(t=>{throw new l.b(`${e} rejected with ${t}`)}));if(!(0,o.PO)(t)&&null!==t)throw new l.b(n);return t}(i,d)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",h,t),new l.b(`${d} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!a&&i&&this._updateSessionFromEvent(i,r);const o=r.transaction_info;if(a&&o&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...o,source:t,changes:[...o.changes,{source:t,timestamp:r.timestamp,propagations:o.propagations}]}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof l.b)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new l.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Error while sending event:",t)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function m(t){return void 0===t.type}function g(t){return"transaction"===t.type}var v=n(105),y=n(8518),b=n(1170),E=n(4773),w=n(6891),S=n(7729);class k extends f{constructor(t){const e=w.m9.SENTRY_SDK_SOURCE||(0,y.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:v.J}],version:v.J},super(t),t.sendClientReports&&w.m9.document&&w.m9.document.addEventListener("visibilitychange",(()=>{"hidden"===w.m9.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,E.dr)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,E.aB)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){const n=this.getIntegrationById(S.p);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(t),super.sendEvent(t,e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Sending outcomes:",t);const e=(0,u.U)(this._dsn,this._options),n=function(t,e,n){const r=[{type:"client_report"},{timestamp:(0,b.yW)(),discarded_events:t}];return(0,c.Jd)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,r.RA)(this._dsn));try{"[object Navigator]"===Object.prototype.toString.call(w.m9&&w.m9.navigator)&&"function"==typeof w.m9.navigator.sendBeacon&&!this._options.transportOptions?w.m9.navigator.sendBeacon.bind(w.m9.navigator)(e,(0,c.V$)(n)):this._sendEnvelope(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(t)}}}},4773:(t,e,n)=>{"use strict";n.d(e,{GJ:()=>l,ME:()=>m,aB:()=>f,dr:()=>_});var r=n(5659),i=n(7597),a=n(535),o=n(8007),s=n(2844),c=n(6893);function l(t,e){const n=d(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function u(t,e){return{exception:{values:[l(t,e)]}}}function d(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(h.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const h=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function _(t,e,n,r){const i=m(t,e,n&&n.syntheticException||void 0,r);return(0,s.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,c.WD)(i)}function f(t,e,n="info",r,i){const a=g(t,e,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),(0,c.WD)(a)}function m(t,e,n,c,l){let h;if((0,i.VW)(e)&&e.error)return u(t,e.error);if((0,i.TX)(e)||(0,i.fm)(e)){const r=e;if("stack"in e)h=u(t,e);else{const e=r.name||((0,i.TX)(r)?"DOMError":"DOMException"),a=r.message?`${e}: ${r.message}`:e;h=g(t,a,n,c),(0,s.Db)(h,a)}return"code"in r&&(h.tags={...h.tags,"DOMException.code":`${r.code}`}),h}return(0,i.VZ)(e)?u(t,e):(0,i.PO)(e)||(0,i.cO)(e)?(h=function(t,e,n,s){const c=(0,r.Gd)().getClient(),l=c&&c.getOptions().normalizeDepth,u={exception:{values:[{type:(0,i.cO)(e)?e.constructor.name:s?"UnhandledRejection":"Error",value:`Non-Error ${s?"promise rejection":"exception"} captured with keys: ${(0,a.zf)(e)}`}]},extra:{__serialized__:(0,o.Qy)(e,l)}};if(n){const e=d(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,l),(0,s.EG)(h,{synthetic:!0}),h):(h=g(t,e,n,c),(0,s.Db)(h,`${e}`,void 0),(0,s.EG)(h,{synthetic:!0}),h)}function g(t,e,n,r){const i={message:e};if(r&&n){const r=d(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]})}return i}},6891:(t,e,n)=>{"use strict";n.d(e,{Wz:()=>l,m9:()=>s,re:()=>d});var r=n(4487),i=n(1235),a=n(535),o=n(2844);const s=i.n2;let c=0;function l(){return c>0}function u(){c++,setTimeout((()=>{c--}))}function d(t,e={}
2,n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,a.HK)(t))return t}catch(e){return t}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=i.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw u(),(0,r.$e)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,o.Db)(t,void 0,void 0),(0,o.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:i},t))),(0,r.Tb)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}catch(t){}(0,a.$Q)(i,t),(0,a.xp)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(t){}return i}},3646:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Breadcrumbs:()=>E.O,BrowserClient:()=>p.R,Dedupe:()=>k.I,FunctionToString:()=>a.c,GlobalHandlers:()=>y.d,HttpContext:()=>S.q,Hub:()=>s.Xb,InboundFilters:()=>o.QD,Integrations:()=>A,LinkedErrors:()=>w.iP,Replay:()=>T.U,SDK_VERSION:()=>c.J,Scope:()=>l.s,TryCatch:()=>b.p,WINDOW:()=>h.m9,addBreadcrumb:()=>u.n_,addGlobalEventProcessor:()=>l.c,captureEvent:()=>u.eN,captureException:()=>u.Tb,captureMessage:()=>u.uT,chromeStackLineParser:()=>m.$3,close:()=>v.xv,configureScope:()=>u.e,createTransport:()=>d.q,defaultIntegrations:()=>v.SS,defaultStackLineParsers:()=>m.d8,defaultStackParser:()=>m.Dt,eventFromException:()=>g.dr,eventFromMessage:()=>g.aB,flush:()=>v.yl,forceLoad:()=>v.Eg,geckoStackLineParser:()=>m.$Q,getCurrentHub:()=>s.Gd,getHubFromCarrier:()=>s.vi,init:()=>v.S1,lastEventId:()=>v.eW,makeFetchTransport:()=>_.f,makeMain:()=>s.pj,makeXHRTransport:()=>f.K,onLoad:()=>v.lA,opera10StackLineParser:()=>m.NP,opera11StackLineParser:()=>m.HH,setContext:()=>u.v,setExtra:()=>u.sU,setExtras:()=>u.rJ,setTag:()=>u.YA,setTags:()=>u.mG,setUser:()=>u.av,showReportDialog:()=>v.jp,startTransaction:()=>u.Yr,winjsStackLineParser:()=>m.R2,withScope:()=>u.$e,wrap:()=>v.re});var r={};n.r(r),n.d(r,{FunctionToString:()=>a.c,InboundFilters:()=>o.QD});var i={};n.r(i),n.d(i,{Breadcrumbs:()=>E.O,Dedupe:()=>k.I,GlobalHandlers:()=>y.d,HttpContext:()=>S.q,LinkedErrors:()=>w.iP,TryCatch:()=>b.p});var a=n(9116),o=n(2422),s=n(5659),c=n(105),l=n(350),u=n(4487),d=n(9355),h=n(6891),p=n(2248),_=n(8838),f=n(8131),m=n(4469),g=n(4773),v=n(8620),y=n(2136),b=n(3692),E=n(7729),w=n(1634),S=n(1945),k=n(9730),T=n(3078);let x={};h.m9.Sentry&&h.m9.Sentry.Integrations&&(x=h.m9.Sentry.Integrations);const A={...x,...r,...i}},7729:(t,e,n)=>{"use strict";n.d(e,{p:()=>h,O:()=>p});var r=n(5659),i=n(9732),a=n(2844),o=n(2343),s=n(8464);const c=["fatal","error","warning","log","info","debug"];var l=n(7321);function u(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}var d=n(6891);const h="Breadcrumbs";class p{static __initStatic(){this.id=h}__init(){this.name=p.id}constructor(t){p.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){var t;this.options.console&&(0,i.o)("console",_),this.options.dom&&(0,i.o)("dom",(t=this.options.dom,function(e){let n,i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof i&&(i=[i]);try{n=e.event.target?(0,s.Rt)(e.event.target,{keyAttrs:i,maxStringLength:a}):(0,s.Rt)(e.event,{keyAttrs:i,maxStringLength:a})}catch(t){n="<unknown>"}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})})),this.options.xhr&&(0,i.o)("xhr",f),this.options.fetch&&(0,i.o)("fetch",m),this.options.history&&(0,i.o)("history",g)}addSentryBreadcrumb(t){this.options.sentry&&(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,a.jH)(t)},{event:t})}}function _(t){for(let e=0;e<t.args.length;e++)if("ref=Ref<"===t.args[e]){t.args[e+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:(n=t.level,"warn"===n?"warning":c.includes(n)?n:"log"),message:(0,l.nK)(t.args," ")};var n;if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,l.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}
2(0,r.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function f(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:n,status_code:i,body:a}=t.xhr.__sentry_xhr__||{};(0,r.Gd)().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:i},type:"http"},{xhr:t.xhr,input:a})}}function m(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,r.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):(0,r.Gd)().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function g(t){let e=t.from,n=t.to;const i=u(d.m9.location.href);let a=u(e);const o=u(n);a.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),i.protocol===a.protocol&&i.host===a.host&&(e=a.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},9730:(t,e,n)=>{"use strict";n.d(e,{I:()=>i});var r=n(2343);class i{constructor(){i.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=i.id}setupOnce(t,e){const n=t=>{const n=e().getIntegration(i);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){const n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!o(t,e)&&!!a(t,e))))}(t,e)||!!function(t,e){const n=s(e),r=s(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!o(t,e)&&!!a(t,e)))}(t,e))}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function a(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],i=n[t];if(e.filename!==i.filename||e.lineno!==i.lineno||e.colno!==i.colno||e.function!==i.function)return!1}return!0}function o(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function s(t){return t.exception&&t.exception.values&&t.exception.values[0]}function c(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}i.__initStatic()},2136:(t,e,n)=>{"use strict";n.d(e,{d:()=>d});var r=n(5659),i=n(9732),a=n(7597),o=n(8464),s=n(2343),c=n(2844),l=n(4773),u=n(6891);class d{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=d.id}__init2(){this._installFunc={onerror:h,onunhandledrejection:p}}constructor(t){d.prototype.__init.call(this),d.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function h(){(0,i.o)("error",(t=>{const[e,n,r]=m();if(!e.getIntegration(d))return;const{msg:i,url:o,line:s,column:c,error:h}=t;if((0,u.Wz)()||h&&h.__sentry_own_request__)return;const p=void 0===h&&(0,a.HD)(i)?function(t,e,n,r){let i=(0,a.VW)(t)?t.message:t,o="Error";const s=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],i=s[2]);return _({exception:{values:[{type:o,value:i}]}},e,n,r)}(i,o,s,c):_((0,l.ME)(n,h||i,void 0,r,!1),o,s,c);p.level="error",f(e,h,p,"onerror")}))}function p(){(0,i.o)("unhandledrejection",(t=>{const[e,n,r]=m();if(!e.getIntegration(d))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(t){}if((0,u.Wz)()||i&&i.__sentry_own_request__)return!0;const o=(0,a.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:(0,l.ME)(n,i,void 0,r,!0);o.level="error",f(e,i,o,"onunhandledrejection")}))}function _(t,e,n,r){const i=t.exception=t.exception||{},s=i.values=i.values||[],c=s[0]=s[0]||{},l=c.stacktrace=c.stacktrace||{},u=l.frames=l.frames||[],d=isNaN(parseInt(r,10))?void 0:r,h=isNaN(parseInt(n,10))?void 0:n,p=(0,a.HD)(e)&&e.length>0?e:(0,o.l4)();return 0===u.length&&u.push({colno:d,filename:p,function:"?",in_app:!0,lineno:h}),t}function f(t,e,n,r){(0,c.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function m(){const t=(0,r.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}d.__initStatic()},1945:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var r=n(350),i=n(5659),a=n(6891);class o{constructor(){o.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=o.id}setupOnce(){(0,r.c)((t=>{if((0,i.Gd)().getIntegration(o)){if(!a.m9.navigator&&!a.m9.location&&!a.m9.document)return t;const e=t.request&&t.request.url||a.m9.location&&a.m9.location.href,{referrer:n}=a.m9.document||{},{userAgent:r}=a.m9.navigator||{},i={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...t.request,...e&&{url:e},headers:i};return{...t,request:o}}return t}))}}o.__initStatic()},1634:(t,e,n)=>{"use strict";n.d(e,{iP:()=>s});var r=n(5659),i=n(350),a=n(7597),o=n(4773);class s{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=s.id}constructor(t={}){s.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){const t=(0,r.Gd)().getClient();t&&(0,i.c)(((e,n)=>{const i=(0,r.Gd)().getIntegration(s);return i?function(t,e,n,r,i){if(!(r.exception&&r.exception.values&&i&&(0,a.V9)(i.originalException,Error)))return r;const o=c(t,n,i.originalException,e);return r.exception.values=[...o,...r.exception.values],r}(t.getOptions().stackParser,i._key,i._limit,e,n):e}))}}function c(t,e,n,r,i=[]){if(!(0,a.V9)(n[r],Error)||i.length+1>=e)return i;const s=(0,o.GJ)(t,n[r]);return c(t,e,n[r],r,[s,...i])}s.__initStatic()},3692:(t,e,n)=>{"use strict";n.d(e,{p:()=>s});var r=n(535),i=n(360),a=n(6891);const o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class s{static __initStatic(){this.id="TryCatch"}__init(){this.name=s.id}constructor(t){s.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.hl)(a.m9,"setTimeout",c),this._options.setInterval&&(0,r.hl)(a.m9,"setInterval",c),this._options.requestAnimationFrame&&(0,r.hl)(a.m9,"requestAnimationFrame",l),this._options.XMLHttpRequest&&"XMLHttpRequest"in a.m9&&(0,r.hl)(XMLHttpRequest.prototype,"send",u);const t=this._options.eventTarget;
2t&&(Array.isArray(t)?t:o).forEach(d)}}function c(t){return function(...e){const n=e[0];return e[0]=(0,a.re)(n,{mechanism:{data:{function:(0,i.$P)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function l(t){return function(e){return t.apply(this,[(0,a.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,i.$P)(t)},handled:!0,type:"instrument"}})])}}function u(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,i.$P)(e)},handled:!0,type:"instrument"}},o=(0,r.HK)(e);return o&&(n.mechanism.data.handler=(0,i.$P)(o)),(0,a.re)(e,n)}))})),t.apply(this,e)}}function d(t){const e=a.m9,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.hl)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,a.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,i.$P)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,a.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,i.$P)(r),target:t},handled:!0,type:"instrument"}}),o])}})),(0,r.hl)(n,"removeEventListener",(function(t){return function(e,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,i,r)}})))}s.__initStatic()},8620:(t,e,n)=>{"use strict";n.d(e,{xv:()=>N,SS:()=>k,yl:()=>C,Eg:()=>I,S1:()=>T,eW:()=>A,lA:()=>R,jp:()=>x,re:()=>O});var r=n(2422),i=n(9116),a=n(2967),o=n(2343),s=n(5659),c=n(1984),l=n(360),u=n(8823),d=n(6893),h=n(9732),p=n(2248),_=n(6891),f=n(2136),m=n(3692),g=n(7729),v=n(1634),y=n(1945),b=n(9730),E=n(4469),w=n(8838),S=n(8131);const k=[new r.QD,new i.c,new m.p,new g.O,new f.d,new v.iP,new b.I,new y.q];function T(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=k),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),_.m9.SENTRY_RELEASE&&_.m9.SENTRY_RELEASE.id&&(t.release=_.m9.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,l.Sq)(t.stackParser||E.Dt),integrations:(0,a.m8)(t),transport:t.transport||((0,u.Ak)()?w.f:S.K)};!function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?o.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.Gd)(),r=n.getScope();r&&r.update(e.initialScope);const i=new t(e);n.bindClient(i)}(p.R,e),t.autoSessionTracking&&function(){if(void 0===_.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,s.Gd)();t.captureSession&&(D(t),(0,h.o)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&D((0,s.Gd)())})))}()}function x(t={},e=(0,s.Gd)()){if(!_.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=e.getStackTop(),i=t.dsn||n&&n.getDsn();if(!i)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("DSN not configured for showReportDialog call"));r&&(t.user={...r.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());const a=_.m9.document.createElement("script");a.async=!0,a.src=(0,c.h)(i,t),t.onLoad&&(a.onload=t.onLoad);const l=_.m9.document.head||_.m9.document.body;l?l.appendChild(a):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Not injecting report dialog. No injection point found in HTML")}function A(){return(0,s.Gd)().lastEventId()}function I(){}function R(t){t()}function C(t){const e=(0,s.Gd)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Cannot flush events. No client defined."),(0,d.WD)(!1))}function N(t){const e=(0,s.Gd)().getClient();return e?e.close(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Cannot flush events and disable SDK. No client defined."),(0,d.WD)(!1))}function O(t){return(0,_.re)(t)()}function D(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},4469:(t,e,n)=>{"use strict";n.d(e,{$3:()=>c,$Q:()=>d,Dt:()=>y,HH:()=>g,NP:()=>f,R2:()=>p,d8:()=>v});var r=n(360);const i="?";function a(t,e,n,r){const i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const o=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=[30,t=>{const e=o.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=s.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=b(e[1]||i,e[2]);return a(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,t=>{const e=l.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||i;return[n,t]=b(n,t),a(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],h=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,t=>{const e=h.exec(t);
2return e?a(e[2],e[1]||i,+e[3],e[4]?+e[4]:void 0):void 0}],_=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,f=[10,t=>{const e=_.exec(t);return e?a(e[2],e[3]||i,+e[1]):void 0}],m=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,g=[20,t=>{const e=m.exec(t);return e?a(e[5],e[3]||e[4]||i,+e[1],+e[2]):void 0}],v=[c,d,p],y=(0,r.pE)(...v),b=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:i,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},8838:(t,e,n)=>{"use strict";n.d(e,{f:()=>l});var r=n(9355),i=n(6893),a=n(8823),o=n(2343),s=n(6891);let c;function l(t,e=function(){if(c)return c;if((0,a.Du)(s.m9.fetch))return c=s.m9.fetch.bind(s.m9);const t=s.m9.document;let e=s.m9.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return c=e.bind(s.m9)}()){return(0,r.q)(t,(function(n){const r={body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n.body.length<=65536,...t.fetchOptions};try{return e(t.url,r).then((t=>({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return c=void 0,(0,i.$2)(t)}}))}},8131:(t,e,n)=>{"use strict";n.d(e,{K:()=>a});var r=n(9355),i=n(6893);function a(t){return(0,r.q)(t,(function(e){return new i.cW(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&i.setRequestHeader(e,t.headers[e]);i.send(e.body)}))}))}},1984:(t,e,n)=>{"use strict";n.d(e,{U:()=>o,h:()=>s});var r=n(535),i=n(292);function a(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function o(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${a(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r._j)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}function s(t,e){const n=(0,i.vK)(t),r=`${a(n)}embed/error-page/`;let o=`dsn=${(0,i.RA)(n)}`;for(const t in e)if("dsn"!==t)if("user"===t){const t=e.user;if(!t)continue;t.name&&(o+=`&name=${encodeURIComponent(t.name)}`),t.email&&(o+=`&email=${encodeURIComponent(t.email)}`)}else o+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`;return`${r}?${o}`}},4487:(t,e,n)=>{"use strict";n.d(e,{$e:()=>f,Tb:()=>i,YA:()=>p,Yr:()=>m,av:()=>_,e:()=>s,eN:()=>o,mG:()=>h,n_:()=>c,rJ:()=>u,sU:()=>d,uT:()=>a,v:()=>l});var r=n(5659);function i(t,e){return(0,r.Gd)().captureException(t,{captureContext:e})}function a(t,e){const n="string"==typeof e?e:void 0,i="string"!=typeof e?{captureContext:e}:void 0;return(0,r.Gd)().captureMessage(t,n,i)}function o(t,e){return(0,r.Gd)().captureEvent(t,e)}function s(t){(0,r.Gd)().configureScope(t)}function c(t){(0,r.Gd)().addBreadcrumb(t)}function l(t,e){(0,r.Gd)().setContext(t,e)}function u(t){(0,r.Gd)().setExtras(t)}function d(t,e){(0,r.Gd)().setExtra(t,e)}function h(t){(0,r.Gd)().setTags(t)}function p(t,e){(0,r.Gd)().setTag(t,e)}function _(t){(0,r.Gd)().setUser(t)}function f(t){(0,r.Gd)().withScope(t)}function m(t,e){return(0,r.Gd)().startTransaction({...t},e)}},5659:(t,e,n)=>{"use strict";n.d(e,{Gd:()=>_,Xb:()=>d,pj:()=>p,vi:()=>m});var r=n(2844),i=n(1170),a=n(2343),o=n(1235),s=n(1422),c=n(350),l=n(9015);const u=100;class d{__init(){this._stack=[{}]}constructor(t,e=new c.s,n=4){this._version=n,d.prototype.__init.call(this),this.get
2StackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=c.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:(0,r.DM)(),i=new Error("Sentry syntheticException");return this._withClient(((r,a)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},a)})),n}captureMessage(t,e,n){const i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),a=new Error(t);return this._withClient(((r,o)=>{r.captureMessage(t,e,{originalException:t,syntheticException:a,...n,event_id:i},o)})),i}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.DM)();return t.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=u}=r.getOptions&&r.getOptions()||{};if(s<=0)return;const c={timestamp:(0,i.yW)(),...t},l=o?(0,a.Cf)((()=>o(c,e))):c;null!==l&&n.addBreadcrumb(l,s)}setUser(t){const e=this.getScope();e&&e.setUser(t)}setTags(t){const e=this.getScope();e&&e.setTags(t)}setExtras(t){const e=this.getScope();e&&e.setExtras(t)}setTag(t,e){const n=this.getScope();n&&n.setTag(t,e)}setExtra(t,e){const n=this.getScope();n&&n.setExtra(t,e)}setContext(t,e){const n=this.getScope();n&&n.setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();e&&n&&t(e)}run(t){const e=p(this);try{t(this)}finally{p(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&(0,l.RJ)(n),this._sendSessionUpdate(),e&&e.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i}=n&&n.getOptions()||{},{userAgent:a}=o.n2.navigator||{},s=(0,l.Hv)({release:r,environment:i,...e&&{user:e.getUser()},...a&&{userAgent:a},...t});if(e){const t=e.getSession&&e.getSession();t&&"ok"===t.status&&(0,l.CT)(t,{status:"exited"}),this.endSession(),e.setSession(s)}return s}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(!t)return;const n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=h().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function h(){return o.n2.__SENTRY__=o.n2.__SENTRY__||{extensions:{},hub:void 0},o.n2}function p(t){const e=h(),n=m(e);return g(e,t),n}function _(){const t=h();return f(t)&&!m(t).isOlderThan(4)||g(t,new d),(0,s.KV)()?function(t){try{const e=h().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return m(t);if(!f(n)||m(n).isOlderThan(4)){const e=m(t).getStackTop();g(n,new d(e.client,c.s.clone(e.scope)))}return m(n)}catch(e){return m(t)}}(t):m(t)}function f(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function m(t){return(0,o.YO)("hub",(()=>new d),t)}function g(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},2967:(t,e,n)=>{"use strict";n.d(e,{m7:()=>u,m8:()=>c,q4:()=>l});var r=n(2844),i=n(2343),a=n(5659),o=n(350);const s=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let i;e.forEach((t=>{t.isDefaultInstance=!0})),i=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.lE)(n(e)):e;const a=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(i),o=a.findIndex((t=>"Debug"===t.name));if(-1!==o){const[t]=a.splice(o,1);a.push(t)}return a}function l(t){const e={};return t.forEach((t=>{u(t,e)})),e}function u(t,e){e[t.name]=t,-1===s.indexOf(t.name)&&(t.setupOnce(o.c,a.Gd),s.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Integration installed: ${t.name}`))}},9116:(t,e,n)=>{"use strict";n.d(e,{c:()=>a});var r=n(535);let i;class a{constructor(){a.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=a.id}setupOnce(){i=Function.prototype.toString,Function.prototype.toString=function(...t){const e=(0,r.HK)(this)||this;return i.apply(e,t)}}}a.__initStatic()},2422:(t,e,n)=>{"use strict";n.d(e,{QD:()=>s});var r=n(2343),i=n(2844),a=n(7321);const o=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class s{static __initStatic(){this.id="InboundFilters"}__init(){this.name=s.id}constructor(t={}){this._options=t,s.prototype.__init.call(this)}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(s);if(e){const s=n.getClient(),l=s?s.getOptions():{},u=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...o],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,l);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,i.jH)(t)}`),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[`${n}`,`${e}: ${n}`]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract message for event ${(0,i.jH)(t)}`),[]}return[]}(t).some((t=>(0,a.U0)(t,e)))}(t,e.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,i.jH)(t)}`),!0):function(t,e){if(!e||!e.length)return!1;const n=c(t);return!!n&&(0,a.U0)(n,e)}(t,e.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,i.jH)(t)}.\nUrl: ${c(t)}`),!0):!function(t,e){if(!e||!e.length)return!0;const n=c(t);return!n||(0,a.U0)(n,e)}(t,e.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,i.jH)(t)}.\nUrl: ${c(t)}`),!0)}(t,u)?null:t}}return t};n.id=this.name,t(n)}}function c(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract url for event ${(0,i.jH)(t)}`),null}}s.__initStatic()},350:(t,e,n)=>{"use strict";n.d(e,{c:()=>h,s:()=>u});var r=n(7597),i=n(1170),a=n(6893),o=n(2343),s=n(2844),c=n(1235),l=n(9015);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const e=new u;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,l.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof u?e:this}return t instanceof u?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):(0,r.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,i.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction&&this._span.transaction.name;e&&(t.tags={transaction:e,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...d(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,i=0){return new a.cW(((a,s)=>{const c=t[i];if(null===e||"function"!=typeof c)a(e);else{const l=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===l&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,r.J8)(l)?l.then((e=>this._notifyEventProcessors(t,e,n,i+1).then(a))).then(null,s):this._notifyEventProcessors(t,l,n,i+1).then(a).then(null,s)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,s.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function d(){return(0,c.YO)("globalEventProcessors",(()=>[]))}function h(t){d().push(t)}},9015:(t,e,n)=>{"use strict";n.d(e,{CT:()=>s,Hv:()=>o,RJ:()=>c});var r=n(1170),i=n(2844),a=n(535);function o(t){const e=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,a.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&s(n,t),n}function s(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),s(t,n)}},9355:(t,e,n)=>{"use strict";n.d(e,{q:()=>s});var r=n(409),i=n(6893);var a=n(8725);var o=n(2343);function s(t,e,n=function(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(a){if(!(void 0===t||e.length<t))return(0,i.$2)(new r.b("Not adding Promise because buffer limit was reached."));const o=a();return-1===e.indexOf(o)&&e.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(t){return new i.cW(((n,r)=>{let a=e.length;if(!a)return n(!0);const o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,i.WD)(t).then((()=>{--a||(clearTimeout(o),n(!0))}),r)}))}))}}}(t.bufferSize||30)){let s={};return{send:function(l){const u=[];if((0,a.gv)(l,((e,n)=>{const r=(0,a.mL)(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(s,r)){const i=c(e,n);t.recordDroppedEvent("ratelimit_backoff",r,i)}else u.push(e)})),0===u.length)return(0,i.WD)();const d=(0,a.Jd)(l[0],u),h=e=>{(0,a.gv)(d,((n,r)=>{const i=c(n,r);t.recordDroppedEvent(e,(0,a.mL)(r),i)}))};return n.add((()=>e({body:(0,a.V$)(d,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),s=function(t,{statusCode:e,headers:n},r=Date.now()){const i={...t},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(const t of a.trim().split(",")){const[e,n]=t.split(":",2),a=parseInt(e,10),o=1e3*(isNaN(a)?60:a);if(n)for(const t of n.split(";"))i[t]=r+o;else i.all=r+o}else o?i.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(o,r):429===e&&(i.all=r+6e4);return i}(s,t),t)),(t=>{throw h("network_error"),t})))).then((t=>t),(t=>{if(t instanceof r.b)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,i.WD)();throw t}))},flush:t=>n.drain(t)}}function c(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},8942:(t,e,n)=>{"use strict";n.d(e,{R:()=>l});var r=n(2844),i=n(1170),a=n(6893),o=n(7321),s=n(8007),c=n(350);function l(t,e,n,l){const{normalizeDepth:u=3,normalizeMaxBreadth:d=1e3}
2=t,h={...e,event_id:e.event_id||n.event_id||(0,r.DM)(),timestamp:e.timestamp||(0,i.yW)()},p=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:i,maxValueLength:a=250}=e;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,o.$G)(t.message,a));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,a));const c=t.request;c&&c.url&&(c.url=(0,o.$G)(c.url,a))}(h,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(h,p);let _=l;n.captureContext&&(_=c.s.clone(_).update(n.captureContext));let f=(0,a.WD)(h);if(_){if(_.getAttachments){const t=[...n.attachments||[],..._.getAttachments()];t.length&&(n.attachments=t)}f=_.applyToEvent(h,n)}return f.then((t=>"number"==typeof u&&u>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,s.Fv)(t.data,e,n)}})))},...t.user&&{user:(0,s.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,s.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,s.Fv)(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,s.Fv)(t.data,e,n)),t)))),r}(t,u,d):t))}},105:(t,e,n)=>{"use strict";n.d(e,{J:()=>r});const r="7.36.0"},3078:(t,e,n)=>{"use strict";n.d(e,{U:()=>Ne});var r=n(5659),i=n(4487),a=n(350),o=n(8942),s=n(1235),c=n(2343),l=n(2844),u=n(8464),d=n(9732),h=n(1170),p=n(8725),_=n(1422),f=n(535);const m=s.n2,g="sentryReplaySession",v="replay_event",y="Unable to send Replay",b=3e5,E=b,w=36e5;var S,k=function(){return k=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},k.apply(this,arguments)};function T(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function x(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function A(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function I(t){var e,n=null===(e=t)||void 0===e?void 0:e.host;return Boolean(n&&n.shadowRoot&&n.shadowRoot===t)}function R(t){var e=t.input,n=t.maskInputSelector,r=t.unmaskInputSelector,i=t.maskInputOptions,a=t.tagName,o=t.type,s=t.value,c=t.maskInputFn,l=s||"";return r&&e.matches(r)||(i[a.toLowerCase()]||i[o]||n&&e.matches(n))&&(l=c?c(l):"*".repeat(l.length)),l}!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(S||(S={}));var C,N,O="__rrweb_original__",D=1,L=new RegExp("[^a-z0-9-_:]");function U(t){try{var e=t.rules||t.cssRules;return e?Array.from(e).map(M).join(""):null}catch(t){return null}}function M(t){var e=t.cssText;if(function(t){return"styleSheet"in t}(t))try{e=U(t.styleSheet)||e}catch(t){}return e}var P=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,G=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,B=/^(data:)([^,]*),(.*)/i;function z(t,e){return(t||"").replace(P,(function(t,n,r,i,a,o){var s,c=r||a||o,l=n||i||"";if(!c)return t;if(!G.test(c))return"url("+l+c+l+")";if(B.test(c))return"url("+l+c+l+")";if("/"===c[0])return"url("+l+(((s=e).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+c)+l+")";var u=e.split("/"),d=c.split("/");u.pop();for(var h=0,p=d;h<p.length;h++){var _=p[h];"."!==_&&(".."===_?u.pop():u.push(_))}
2return"url("+l+u.join("/")+l+")"}))}var F,$,H,Y,j,q,W=/^[^ \t\n\r\u000c]+/,K=/^[, \t\n\r\u000c]+/;function Z(t,e){if(!e||""===e.trim())return e;var n=t.createElement("a");return n.href=e,n.href}function V(){var t=document.createElement("a");return t.href="",t.href}function J(t,e,n,r){return"src"===n||"href"===n&&r||"xlink:href"===n&&r&&"#"!==r[0]?Z(t,r):"background"!==n||!r||"table"!==e&&"td"!==e&&"th"!==e?"srcset"===n&&r?function(t,e){if(""===e.trim())return e;var n=0;function r(t){var r,i=t.exec(e.substring(n));return i?(r=i[0],n+=r.length,r):""}for(var i=[];r(K),!(n>=e.length);){var a=r(W);if(","===a.slice(-1))a=Z(t,a.substring(0,a.length-1)),i.push(a);else{var o="";a=Z(t,a);for(var s=!1;;){var c=e.charAt(n);if(""===c){i.push((a+o).trim());break}if(s)")"===c&&(s=!1);else{if(","===c){n+=1,i.push((a+o).trim());break}"("===c&&(s=!0)}o+=c,n+=1}}}return i.join(", ")}(t,r):"style"===n&&r?z(r,V()):"object"===e&&"data"===n&&r?Z(t,r):r:Z(t,r)}function X(t,e,n,r){if(!t)return!1;if(t.nodeType===t.ELEMENT_NODE){if(r&&(t.matches(r)||t.closest(r)))return!1;if("string"==typeof e){if(t.classList.contains(e))return!0}else for(var i=0;i<t.classList.length;i++){var a=t.classList[i];if(e.test(a))return!0}return!(!n||!t.matches(n))||X(t.parentNode,e,n,r)}return t.nodeType,t.TEXT_NODE,X(t.parentNode,e,n,r)}function Q(t){return void 0===t?"":t.toLowerCase()}function tt(t,e){var n,r=e.doc,i=e.map,a=e.blockClass,o=e.blockSelector,s=e.unblockSelector,c=e.maskTextClass,l=e.maskTextSelector,u=e.unmaskTextSelector,d=e.skipChild,h=void 0!==d&&d,p=e.inlineStylesheet,_=void 0===p||p,f=e.maskInputSelector,m=e.unmaskInputSelector,g=e.maskInputOptions,v=void 0===g?{}:g,y=e.maskTextFn,b=e.maskInputFn,E=e.slimDOMOptions,w=e.dataURLOptions,k=void 0===w?{}:w,T=e.inlineImages,x=void 0!==T&&T,A=e.recordCanvas,M=void 0!==A&&A,P=e.onSerialize,G=e.onIframeLoad,B=e.iframeLoadTimeout,F=void 0===B?5e3:B,$=e.keepIframeSrcFn,H=void 0===$?function(){return!1}:$,Y=e.preserveWhiteSpace,j=void 0===Y||Y,q=function(t,e){var n,r,i,a,o=e.doc,s=e.blockClass,c=e.blockSelector,l=e.unblockSelector,u=e.maskTextClass,d=e.maskTextSelector,h=e.unmaskTextSelector,p=e.inlineStylesheet,_=e.maskInputSelector,f=e.unmaskInputSelector,m=e.maskInputOptions,g=void 0===m?{}:m,v=e.maskTextFn,y=e.maskInputFn,b=e.dataURLOptions,E=void 0===b?{}:b,w=e.inlineImages,k=e.recordCanvas,T=e.keepIframeSrcFn;if(o.__sn){var x=o.__sn.id;r=1===x?void 0:x}switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:S.Document,childNodes:[],compatMode:t.compatMode,rootId:r}:{type:S.Document,childNodes:[],rootId:r};case t.DOCUMENT_TYPE_NODE:return{type:S.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:r};case t.ELEMENT_NODE:for(var A=function(t,e,n,r){if(r&&t.matches(r))return!1;if("string"==typeof e){if(t.classList.contains(e))return!0}else for(var i=0;i<t.classList.length;i++){var a=t.classList[i];if(e.test(a))return!0}return!!n&&t.matches(n)}(t,s,c,l),I=function(t){if(t instanceof HTMLFormElement)return"form";var e=t.tagName.toLowerCase().trim();return L.test(e)?"div":e}(t),D={},M=0,P=Array.from(t.attributes);M<P.length;M++){var G=P[M],B=G.name,F=G.value;D[B]=J(o,I,B,F)}if("link"===I&&p){var $=Array.from(o.styleSheets).find((function(e){return e.href===t.href})),H=null;$&&(H=U($)),H&&(delete D.rel,delete D.href,D._cssText=z(H,$.href))}if("style"===I&&t.sheet&&!(t.innerText||t.textContent||"").trim().length&&(H=U(t.sheet))&&(D._cssText=z(H,V())),"input"!==I&&"textarea"!==I&&"select"!==I||(F=t.value,"radio"!==D.type&&"checkbox"!==D.type&&"submit"!==D.type&&"button"!==D.type&&F?D.value=R({input:t,type:D.type,tagName:I,value:F,maskInputSelector:_,unmaskInputSelector:f,maskInputOptions:g,maskInputFn:y}):t.checked&&(D.checked=t.checked)),"option"===I&&(t.selected&&!g.select?D.selected=!0:delete D.selected),"canvas"===I&&k)if("2d"===t.__context)(function(t){var e=t.getContext("2d");if(!e)return!0;for(var n=0;n<t.width;n+=50)for(var r=0;r<t.height;r+=50){var i=e.getImageData,a=O in i?i[O]:i;if(new Uint32Array(a.call(e,n,r,Math.min(50,t.width-n),Math.min(50,t.height-r)).data.buffer).some((function(t){return 0!==t})))return!1}return!0})(t)||(D.rr_dataURL=t.toDataURL(E.type,E.quality));else if(!("__context"in t)){var Y=t.toDataURL(E.type,E.quality),j=document.createElement("canvas");j.width=t.width,j.height=t.height,Y!==j.toDataURL(E.type,E.quality)&&(D.rr_dataURL=Y)}if("img"===I&&w){C||(C=o.createElement("canvas"),N=C.getContext("2d"));var q=t,W=q.crossOrigin;q.crossOrigin="anonymous";
2var K=function(){try{C.width=q.naturalWidth,C.height=q.naturalHeight,N.drawImage(q,0,0),D.rr_dataURL=C.toDataURL(E.type,E.quality)}catch(t){console.warn("Cannot inline img src="+q.currentSrc+"! Error: "+t)}W?D.crossOrigin=W:delete D.crossOrigin};q.complete&&0!==q.naturalWidth?K():q.onload=K}if("audio"!==I&&"video"!==I||(D.rr_mediaState=t.paused?"paused":"played",D.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(D.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(D.rr_scrollTop=t.scrollTop),A){var Z=t.getBoundingClientRect(),Q=Z.width,tt=Z.height;D={class:D.class,rr_width:Q+"px",rr_height:tt+"px"}}return"iframe"!==I||T(D.src)||(t.contentDocument||(D.rr_src=D.src),delete D.src),{type:S.Element,tagName:I,attributes:D,childNodes:[],isSVG:(a=t,Boolean("svg"===a.tagName||a.ownerSVGElement)||void 0),needBlock:A,rootId:r};case t.TEXT_NODE:var et=t.parentNode&&t.parentNode.tagName,nt=t.textContent,rt="STYLE"===et||void 0,it="SCRIPT"===et||void 0;if(rt&&nt){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(nt=(i=t.parentNode.sheet).cssRules?Array.from(i.cssRules).map((function(t){return t.cssText||""})).join(""):"")}catch(e){console.warn("Cannot get CSS styles from text's parentNode. Error: "+e,t)}nt=z(nt,V())}return it&&(nt="SCRIPT_PLACEHOLDER"),!rt&&!it&&X(t,u,d,h)&&nt&&(nt=v?v(nt):nt.replace(/[\S]/g,"*")),{type:S.Text,textContent:nt||"",isStyle:rt,rootId:r};case t.CDATA_SECTION_NODE:return{type:S.CDATA,textContent:"",rootId:r};case t.COMMENT_NODE:return{type:S.Comment,textContent:t.textContent||"",rootId:r};default:return!1}}(t,{doc:r,blockClass:a,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,inlineStylesheet:_,maskInputSelector:f,unmaskInputSelector:m,maskInputOptions:v,maskTextFn:y,maskInputFn:b,dataURLOptions:k,inlineImages:x,recordCanvas:M,keepIframeSrcFn:H});if(!q)return console.warn(t,"not serialized"),null;n="__sn"in t?t.__sn.id:!function(t,e){if(e.comment&&t.type===S.Comment)return!0;if(t.type===S.Element){if(e.script&&("script"===t.tagName||"link"===t.tagName&&"preload"===t.attributes.rel&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"==typeof t.attributes.href&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(Q(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Q(t.attributes.name)||"icon"===Q(t.attributes.rel)||"apple-touch-icon"===Q(t.attributes.rel)||"shortcut icon"===Q(t.attributes.rel))))return!0;if("meta"===t.tagName){if(e.headMetaDescKeywords&&Q(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(Q(t.attributes.property).match(/^(og|twitter|fb):/)||Q(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===Q(t.attributes.name)))return!0;if(e.headMetaRobots&&("robots"===Q(t.attributes.name)||"googlebot"===Q(t.attributes.name)||"bingbot"===Q(t.attributes.name)))return!0;if(e.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;if(e.headMetaAuthorship&&("author"===Q(t.attributes.name)||"generator"===Q(t.attributes.name)||"framework"===Q(t.attributes.name)||"publisher"===Q(t.attributes.name)||"progid"===Q(t.attributes.name)||Q(t.attributes.property).match(/^article:/)||Q(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&("google-site-verification"===Q(t.attributes.name)||"yandex-verification"===Q(t.attributes.name)||"csrf-token"===Q(t.attributes.name)||"p:domain_verify"===Q(t.attributes.name)||"verify-v1"===Q(t.attributes.name)||"verification"===Q(t.attributes.name)||"shopify-checkout-api-token"===Q(t.attributes.name)))return!0}}return!1}(q,E)&&(j||q.type!==S.Text||q.isStyle||q.textContent.replace(/^\s+|\s+$/gm,"").length)?D++:-2;var W=Object.assign(q,{id:n});if(t.__sn=W,-2===n)return null;i[n]=t,P&&P(t);var K=!h;if(W.type===S.Element&&(K=K&&!W.needBlock,delete W.needBlock,t.shadowRoot&&(W.isShadowHost=!0)),(W.type===S.Document||W.type===S.Element)&&K){E.headWhitespace&&q.type===S.Element&&"head"===q.tagName&&(j=!1);for(var Z={doc:r,map:i,blockClass:a,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:h,inlineStylesheet:_,maskInputSelector:f,unmaskInputSelector:m,maskInputOptions:v,maskTextFn:y,maskInputFn:b,slimDOMOptions:E,dataURLOptions:k,inlineImages:x,recordCanvas:M,preserveWhiteSpace:j,onSerialize:P,onIframeLoad:G,iframeLoadTimeout:F,keepIframeSrcFn:H},et=0,nt=Array.from(t.childNodes);et<nt.length;et++)(at=tt(nt[et],Z))&&W.childNodes.push(at);if(function(t){return t.nodeType===t.ELEMENT_NODE}(t)&&t.shadowRoot)for(var rt=0,it=Array.from(t.shadowRoot.childNodes);rt<it.length;rt++){var at;(at=tt(it[rt],Z))&&(at.isShadow=!0,W.childNodes.push(at))}}return t.parentNode&&I(t.parentNode)&&(W.isShadow=!0),W.type===S.Element&&"iframe"===W.tagName&&function(t,e,n){var r=t.contentWindow;if(r){var i,a=!1;try{i=r.document.readyState}catch(t){return}if("complete"===i){var o="about:blank";r.location.href===o&&t.src!==o&&""!==t.src?t.addEventListener("load",e):setTimeout(e,0)}else{var s=setTimeout((function(){a||(e(),a=!0)}),n);t.addEventListener("load",(function(){clearTimeout(s),a=!0,e()}))}}}(t,(function(){var e=t.contentDocument;if(e&&G){var n=tt(e,{doc:e,map:i,blockClass:a,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:_,maskInputSelector:f,unmaskInputSelector:m,maskInputOptions:v,maskTextFn:y,maskInputFn:b,slimDOMOptions:E,dataURLOptions:k,inlineImages:x,recordCanvas:M,preserveWhiteSpace:j,onSerialize:P,onIframeLoad:G,iframeLoadTimeout:F,keepIframeSrcFn:H});n&&G(t,n)}}),F),W}function et(t,e,n){void 0===n&&(n=document);var r={capture:!0,passive:!0};return n.addEventListener(t,e,r),function(){return n.removeEventListener(t,e,r)}}!function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"}(F||(F={})),function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.In
2put=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"}($||($={})),function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"}(H||(H={})),function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"}(Y||(Y={})),function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"}(j||(j={})),function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"}(q||(q={}));var nt="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",rt={map:{},getId:function(){return console.error(nt),-1},getNode:function(){return console.error(nt),null},removeNodeFromMap:function(){console.error(nt)},has:function(){return console.error(nt),!1},reset:function(){console.error(nt)}};function it(t,e,n){void 0===n&&(n={});var r=null,i=0;return function(a){var o=Date.now();i||!1!==n.leading||(i=o);var s=e-(o-i),c=this,l=arguments;s<=0||s>e?(r&&(clearTimeout(r),r=null),i=o,t.apply(c,l)):r||!1===n.trailing||(r=setTimeout((function(){i=!1===n.leading?0:Date.now(),r=null,t.apply(c,l)}),s))}}function at(t,e,n,r,i){void 0===i&&(i=window);var a=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,r?n:{set:function(t){var e=this;setTimeout((function(){n.set.call(e,t)}),0),a&&a.set&&a.set.call(this,t)}}),function(){return at(t,e,a||{},!0)}}function ot(t,e,n){try{if(!(e in t))return function(){};var r=t[e],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),t[e]=i,function(){t[e]=r}}catch(t){return function(){}}}function st(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ct(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function lt(t,e){if(!t)return!1;
2if(t.nodeType===t.ELEMENT_NODE){var n=!1;if("string"==typeof e){if(void 0!==t.closest)return null!==t.closest("."+e);n=t.classList.contains(e)}else t.classList.forEach((function(t){e.test(t)&&(n=!0)}));return n||lt(t.parentNode,e)}return t.nodeType,t.TEXT_NODE,lt(t.parentNode,e)}function ut(t){return"__sn"in t&&-2===t.__sn.id}function dt(t,e){if(I(t))return!1;var n=e.getId(t);return!e.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||dt(t.parentNode,e))}function ht(t){return Boolean(t.changedTouches)}function pt(t){return"__sn"in t&&t.__sn.type===S.Element&&"iframe"===t.__sn.tagName}function _t(t){return Boolean(null==t?void 0:t.shadowRoot)}function ft(t){return"__ln"in t}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(rt=new Proxy(rt,{get:function(t,e,n){return"map"===e&&console.error(nt),Reflect.get(t,e,n)}}));var mt=function(){function t(){this.length=0,this.head=null}return t.prototype.get=function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var e=this.head,n=0;n<t;n++)e=(null==e?void 0:e.next)||null;return e},t.prototype.addNode=function(t){var e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&ft(t.previousSibling)){var n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else t.nextSibling&&ft(t.nextSibling)&&t.nextSibling.__ln.previous?(n=t.nextSibling.__ln.previous,e.previous=n,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,n&&(n.next=e)):(this.head&&(this.head.previous=e),e.next=this.head,this.head=e);this.length++},t.prototype.removeNode=function(t){var e=t.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next&&(e.next.previous=e.previous)):(this.head=e.next,this.head&&(this.head.previous=null)),t.__ln&&delete t.__ln,this.length--)},t}
2(),gt=function(t,e){return"".concat(t,"@").concat(e)};function vt(t){return"__sn"in t}function yt(t,e){t.delete(e),e.childNodes.forEach((function(e){return yt(t,e)}))}function bt(t,e,n){var r=e.parentNode;if(!r)return!1;var i=n.getId(r);return!!t.some((function(t){return t.id===i}))||bt(t,r,n)}function Et(t,e){var n=e.parentNode;return!!n&&(!!t.has(n)||Et(t,n))}const wt=function(){function t(){var t=this;this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(e){e.forEach(t.processMutation),t.emit()},this.emit=function(){var e,n,r,i;if(!t.frozen&&!t.locked){for(var a=[],o=new mt,s=function(e){for(var n=e,r=-2;-2===r;)r=(n=n&&n.nextSibling)&&t.mirror.getId(n);return r},c=function(e){for(var n,r,i,c,l,u=e.getRootNode?null===(n=e.getRootNode())||void 0===n?void 0:n.host:null,d=u;null===(i=null===(r=null==d?void 0:d.getRootNode)||void 0===r?void 0:r.call(d))||void 0===i?void 0:i.host;)d=(null===(l=null===(c=null==d?void 0:d.getRootNode)||void 0===c?void 0:c.call(d))||void 0===l?void 0:l.host)||null;var h=!(t.doc.contains(e)||null!==d&&t.doc.contains(d));if(e.parentNode&&!h){var p=I(e.parentNode)?t.mirror.getId(u):t.mirror.getId(e.parentNode),_=s(e);if(-1===p||-1===_)return o.addNode(e);var f=tt(e,{doc:t.doc,map:t.mirror.map,blockClass:t.blockClass,blockSelector:t.blockSelector,unblockSelector:t.unblockSelector,maskTextClass:t.maskTextClass,maskTextSelector:t.maskTextSelector,unmaskTextSelector:t.unmaskTextSelector,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,skipChild:!0,inlineStylesheet:t.inlineStylesheet,maskInputOptions:t.maskInputOptions,maskTextFn:t.maskTextFn,maskInputFn:t.maskInputFn,slimDOMOptions:t.slimDOMOptions,recordCanvas:t.recordCanvas,inlineImages:t.inlineImages,onSerialize:function(n){pt(n)&&t.iframeManager.addIframe(n),_t(e)&&t.shadowDomManager.addShadowRoot(e.shadowRoot,document)},onIframeLoad:function(e,n){t.iframeManager.attachIframe(e,n),t.shadowDomManager.observeAttachShadow(e)}});f&&a.push({parentId:p,nextId:_,node:f})}};t.mapRemoves.length;)t.mirror.removeNodeFromMap(t.mapRemoves.shift());try{for(var l=T(t.movedSet),u=l.next();!u.done;u=l.next()){var d=u.value;bt(t.removes,d,t.mirror)&&!t.movedSet.has(d.parentNode)||c(d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}try{for(var h=T(t.addedSet),p=h.next();!p.done;p=h.next())d=p.value,Et(t.droppedSet,d)||bt(t.removes,d,t.mirror)?Et(t.movedSet,d)?c(d):t.droppedSet.add(d):c(d)}catch(t){r={error:t}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}for(var _=null;o.length;){var f=null;if(_){var m=t.mirror.getId(_.value.parentNode),g=s(_.value);-1!==m&&-1!==g&&(f=_)}if(!f)for(var v=o.length-1;v>=0;v--){var y=o.get(v);if(y&&(m=t.mirror.getId(y.value.parentNode),g=s(y.value),-1!==m&&-1!==g)){f=y;break}}if(!f){for(;o.head;)o.removeNode(o.head.value);break}_=f.previous,o.removeNode(f.value),c(f.value)}var b={texts:t.texts.map((function(e){return{id:t.mirror.getId(e.node),value:e.value}})).filter((function(e){return t.mirror.has(e.id)})),attributes:t.attributes.map((function(e){return{id:t.mirror.getId(e.node),attributes:e.attributes}})).filter((function(e){return t.mirror.has(e.id)})),removes:t.removes,adds:a};(b.texts.length||b.attributes.length||b.removes.length||b.adds.length)&&(t.texts=[],t.attributes=[],t.removes=[],t.addedSet=new Set,t.movedSet=new Set,t.droppedSet=new Set,t.movedMap={},t.mutationCb(b))}},this.processMutation=function(e){var n,r,i,a;if(!ut(e.target))switch(e.type){case"characterData":var o=e.target.textContent;lt(e.target,t.blockClass)||o===e.oldValue||t.texts.push({value:X(e.target,t.maskTextClass,t.maskTextSelector,t.unmaskTextSelector)&&o?t.maskTextFn?t.maskTextFn(o):o.replace(/[\S]/g,"*"):o,node:e.target});break;case"attributes":var s=e.target;if(o=e.target.getAttribute(e.attributeName),"value"===e.attributeName&&(o=R({input:s,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,maskInputOptions:t.maskInputOptions,tagName:e.target.tagName,type:e.target.getAttribute("type"),value:o,maskInputFn:t.maskInputFn})),lt(e.target,t.blockClass)||o===e.oldValue)return;var c=t.attributes.find((function(t){return t.node===e.target}));if(c||(c={node:e.target,attributes:{}},t.attributes.push(c)),"style"===e.attributeName){var l=t.doc.createElement("span");e.oldValue&&l.setAttribute("style",e.oldValue),void 0!==c.attributes.style&&null!==c.attributes.style||(c.attributes.style={});try{var u=c.attributes.style;try{for(var d=T(Array.from(s.style)),h=d.next();!h.done;h=d.next()){var p=h.value,_=s.style.getPropertyValue(p),f=s.style.getPropertyPriority(p);_===l.style.getPropertyValue(p)&&f===l.style.getPropertyPriority(p)||(u[p]=""===f?_:[_,f])}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}try{for(var m=T(Array.from(l.style)),g=m.next();!g.done;g=m.next())p=g.value,""===s.style.getPropertyValue(p)&&(u[p]=!1)}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}}catch(t){console.warn("[rrweb] Error when parsing update to style attribute:",t)}}else c.attributes[e.attributeName]=J(t.doc,e.target.tagName,e.attributeName,o);break;
2case"childList":e.addedNodes.forEach((function(n){return t.genAdds(n,e.target)})),e.removedNodes.forEach((function(n){var r=t.mirror.getId(n),i=I(e.target)?t.mirror.getId(e.target.host):t.mirror.getId(e.target);lt(e.target,t.blockClass)||ut(n)||(t.addedSet.has(n)?(yt(t.addedSet,n),t.droppedSet.add(n)):t.addedSet.has(e.target)&&-1===r||dt(e.target,t.mirror)||(t.movedSet.has(n)&&t.movedMap[gt(r,i)]?yt(t.movedSet,n):t.removes.push({parentId:i,id:r,isShadow:!!I(e.target)||void 0})),t.mapRemoves.push(n))}))}},this.genAdds=function(e,n){if(!n||!lt(n,t.blockClass)){if(vt(e)){if(ut(e))return;t.movedSet.add(e);var r=null;n&&vt(n)&&(r=n.__sn.id),r&&(t.movedMap[gt(e.__sn.id,r)]=!0)}else t.addedSet.add(e),t.droppedSet.delete(e);lt(e,t.blockClass)||e.childNodes.forEach((function(e){return t.genAdds(e)}))}}}return t.prototype.init=function(t){var e=this;["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((function(n){e[n]=t[n]}))},t.prototype.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.prototype.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.prototype.isFrozen=function(){return this.frozen},t.prototype.lock=function(){this.locked=!0,this.canvasManager.lock()},t.prototype.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.prototype.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},t}();var St=[],kt="undefined"!=typeof CSSGroupingRule,Tt="undefined"!=typeof CSSMediaRule,xt="undefined"!=typeof CSSSupportsRule,At="undefined"!=typeof CSSConditionRule;function It(t){try{if("composedPath"in t){var e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(t){}return t&&t.target}function Rt(t,e){var n,r,i=new wt;St.push(i),i.init(t);var a=window.MutationObserver||window.__rrMutationObserver,o=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");o&&window[o]&&(a=window[o]);var s=new a(i.processMutations.bind(i));return s.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Ct(t){var e=t.scrollCb,n=t.doc,r=t.mirror,i=t.blockClass;return et("scroll",it((function(t){var a=It(t);if(a&&!lt(a,i)){var o=r.getId(a);if(a===n){var s=n.scrollingElement||n.documentElement;e({id:o,x:s.scrollLeft,y:s.scrollTop})}else e({id:o,x:a.scrollLeft,y:a.scrollTop})}}),t.sampling.scroll||100),n)}function Nt(t,e){var n=k({},t);return e||delete n.userTriggered,n}var Ot=["INPUT","TEXTAREA","SELECT"],Dt=new WeakMap;function Lt(t){return function(t,e){if(kt&&t.parentRule instanceof CSSGroupingRule||Tt&&t.parentRule instanceof CSSMediaRule||xt&&t.parentRule instanceof CSSSupportsRule||At&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else n=Array.from(t.parentStyleSheet.cssRules).indexOf(t),e.unshift(n);return e}(t,[])}function Ut(t,e){var n,r;void 0===e&&(e={});var i=t.doc.defaultView;if(!i)return function(){};!function(t,e){var n=t.mutationCb,r=t.mousemoveCb,i=t.mouseInteractionCb,a=t.scrollCb,o=t.viewportResizeCb,s=t.inputCb,c=t.mediaInteractionCb,l=t.styleSheetRuleCb,u=t.styleDeclarationCb,d=t.canvasMutationCb,h=t.fontCb;t.mutationCb=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.mutation&&e.mutation.apply(e,A([],x(t),!1)),n.apply(void 0,A([],x(t),!1))},t.mousemoveCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mousemove&&e.mousemove.apply(e,A([],x(t),!1)),r.apply(void 0,A([],x(t),!1))},t.mouseInteractionCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mouseInteraction&&e.mouseInteraction.apply(e,A([],x(t),!1)),i.apply(void 0,A([],x(t),!1))},t.scrollCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.scroll&&e.scroll.apply(e,A([],x(t),!1)),a.apply(void 0,A([],x(t),!1))},t.viewportResizeCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.viewportResize&&e.viewportResize.apply(e,A([],x(t),!1)),o.apply(void 0,A([],x(t),!1))},t.inputCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.input&&e.input.apply(e,A([],x(t),!1)),s.apply(void 0,A([],x(t),!1))},t.mediaInteractionCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mediaInteaction&&e.mediaInteaction.apply(e,A([],x(t),!1)),c.apply(void 0,A([],x(t),!1))},t.styleSheetRuleCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.styleSheetRule&&e.styleSheetRule.apply(e,A([],x(t),!1)),l.apply(void 0,A([],x(t),!1))},t.styleDeclarationCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.styleDeclaration&&e.styleDeclaration.apply(e,A([],x(t),!1)),u.apply(void 0,A([],x(t),!1))},t.canvasMutationCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.canvasMutation&&e.canvasMutation.apply(e,A([],x(t),!1)),d.apply(void 0,A([],x(t),!1))},t.fontCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.font&&e.font.apply(e,A([],x(t),!1)),h.apply(void 0,A([],x(t),!1))}}(t,e);var a=Rt(t,t.doc),o=function(t){var e=t.mousemoveCb,n=t.sampling,r=t.doc,i=t.mirror;if(!1===n.mousemove)return function(){};var a,o="number"==typeof n.mousemove?n.mousemove:50,s="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,c=[],l=it((function(t){var n=Date.now()-a;e(c.map((function(t){return t.timeOffset-=n,t})),t),c=[],a=null}),s),u=it((function(t){var e=It(t),n=ht(t)?t.changedTouches[0]:t,r=n.clientX,o=n.clientY;a||(a=Date.now()),c.push({x:r,y:o,id:i.getId(e),timeOffset:Date.now()-a}),l("undefined"!=typeof DragEvent&&t instanceof DragEvent?$.Drag:t instanceof MouseEvent?$.MouseMove:$.TouchMove)}),o,{trailing:!1}
2),d=[et("mousemove",u,r),et("touchmove",u,r),et("drag",u,r)];return function(){d.forEach((function(t){return t()}))}}(t),s=function(t){var e=t.mouseInteractionCb,n=t.doc,r=t.mirror,i=t.blockClass,a=t.sampling;if(!1===a.mouseInteraction)return function(){};var o=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,s=[];return Object.keys(H).filter((function(t){return Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==o[t]})).forEach((function(t){var a=t.toLowerCase(),o=function(t){return function(n){var a=It(n);if(!lt(a,i)){var o=ht(n)?n.changedTouches[0]:n;if(o){var s=r.getId(a),c=o.clientX,l=o.clientY;e({type:H[t],id:s,x:c,y:l})}}}}(t);s.push(et(a,o,n))})),function(){s.forEach((function(t){return t()}))}}(t),c=Ct(t),l=function(t){var e=t.viewportResizeCb,n=-1,r=-1;return et("resize",it((function(){var t=st(),i=ct();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200),window)}(t),u=function(t){var e=t.inputCb,n=t.doc,r=t.mirror,i=t.blockClass,a=t.ignoreClass,o=t.ignoreSelector,s=t.maskInputSelector,c=t.unmaskInputSelector,l=t.maskInputOptions,u=t.maskInputFn,d=t.sampling,h=t.userTriggeredOnInput;function p(t){var e=It(t),r=t.isTrusted;if(e&&"OPTION"===e.tagName&&(e=e.parentElement),e&&e.tagName&&!(Ot.indexOf(e.tagName)<0)&&!lt(e,i)){var d=e.type;if(!(e.classList.contains(a)||o&&e.matches(o))){var p=e.value,f=!1;"radio"===d||"checkbox"===d?f=e.checked:(l[e.tagName.toLowerCase()]||l[d])&&(p=R({input:e,maskInputOptions:l,maskInputSelector:s,unmaskInputSelector:c,tagName:e.tagName,type:d,value:p,maskInputFn:u})),_(e,Nt({text:p,isChecked:f,userTriggered:r},h));var m=e.name;"radio"===d&&m&&f&&n.querySelectorAll('input[type="radio"][name="'.concat(m,'"]')).forEach((function(t){t!==e&&_(t,Nt({text:t.value,isChecked:!f,userTriggered:!1},h))}))}}}function _(t,n){var i=Dt.get(t);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){Dt.set(t,n);var a=r.getId(t);e(k(k({},n),{id:a}))}}var f=("last"===d.input?["change"]:["input","change"]).map((function(t){return et(t,p,n)})),m=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),g=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return m&&m.set&&f.push.apply(f,A([],x(g.map((function(t){return at(t[0],t[1],{set:function(){p({target:this})}})}))),!1)),function(){f.forEach((function(t){return t()}))}}(t),d=function(t){var e=t.mediaInteractionCb,n=t.blockClass,r=t.mirror,i=t.sampling,a=function(t){return it((function(i){var a=It(i);if(a&&!lt(a,n)){var o=a,s=o.currentTime,c=o.volume,l=o.muted;e({type:t,id:r.getId(a),currentTime:s,volume:c,muted:l})}}),i.media||500)},o=[et("play",a(0)),et("pause",a(1)),et("seeked",a(2)),et("volumechange",a(3))];return function(){o.forEach((function(t){return t()}))}}(t),h=function(t,e){var n=t.styleSheetRuleCb,r=t.mirror,i=e.win;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return function(){};var a=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=function(t,e){var i=r.getId(this.ownerNode);return-1!==i&&n({id:i,adds:[{rule:t,index:e}]}),a.apply(this,arguments)};var o=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=function(t){var e=r.getId(this.ownerNode);return-1!==e&&n({id:e,removes:[{index:t}]}),o.apply(this,arguments)};var s={};kt?s.CSSGroupingRule=i.CSSGroupingRule:(Tt&&(s.CSSMediaRule=i.CSSMediaRule),At&&(s.CSSConditionRule=i.CSSConditionRule),xt&&(s.CSSSupportsRule=i.CSSSupportsRule));var c={};return Object.entries(s).forEach((function(t){var e=x(t,2),i=e[0],a=e[1];c[i]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=function(t,e){var a=r.getId(this.parentStyleSheet.ownerNode);return-1!==a&&n({id:a,adds:[{rule:t,index:A(A([],x(Lt(this)),!1),[e||0],!1)}]}),c[i].insertRule.apply(this,arguments)},a.prototype.deleteRule=function(t){var e=r.getId(this.parentStyleSheet.ownerNode);return-1!==e&&n({id:e,removes:[{index:A(A([],x(Lt(this)),!1),[t],!1)}]}),c[i].deleteRule.apply(this,arguments)}})),function(){i.CSSStyleSheet.prototype.insertRule=a,i.CSSStyleSheet.prototype.deleteRule=o,Object.entries(s).forEac
2h((function(t){var e=x(t,2),n=e[0],r=e[1];r.prototype.insertRule=c[n].insertRule,r.prototype.deleteRule=c[n].deleteRule}))}}(t,{win:i}),p=function(t,e){var n=t.styleDeclarationCb,r=t.mirror,i=e.win,a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=function(t,e,i){var o,s,c=r.getId(null===(s=null===(o=this.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==c&&n({id:c,set:{property:t,value:e,priority:i},index:Lt(this.parentRule)}),a.apply(this,arguments)};var o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=function(t){var e,i,a=r.getId(null===(i=null===(e=this.parentRule)||void 0===e?void 0:e.parentStyleSheet)||void 0===i?void 0:i.ownerNode);return-1!==a&&n({id:a,remove:{property:t},index:Lt(this.parentRule)}),o.apply(this,arguments)},function(){i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o}}(t,{win:i}),_=t.collectFonts?function(t){var e=t.fontCb,n=t.doc,r=n.defaultView;if(!r)return function(){};var i=[],a=new WeakMap,o=r.FontFace;r.FontFace=function(t,e,n){var r=new o(t,e,n);return a.set(r,{family:t,buffer:"string"!=typeof e,descriptors:n,fontSource:"string"==typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),r};var s=ot(n.fonts,"add",(function(t){return function(n){return setTimeout((function(){var t=a.get(n);t&&(e(t),a.delete(n))}),0),t.apply(this,[n])}}));return i.push((function(){r.FontFace=o})),i.push(s),function(){i.forEach((function(t){return t()}))}}(t):function(){},f=[];try{for(var m=T(t.plugins),g=m.next();!g.done;g=m.next()){var v=g.value;f.push(v.observer(v.callback,i,v.options))}}catch(t){n={error:t}}finally{try{g&&!g.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}return function(){St.forEach((function(t){return t.reset()})),a.disconnect(),o(),s(),c(),l(),u(),d();try{h(),p()}catch(t){}_(),f.forEach((function(t){return t()}))}}for(var Mt=function(){function t(t){this.iframes=new WeakMap,this.mutationCb=t.mutationCb}return t.prototype.addIframe=function(t){this.iframes.set(t,!0)},t.prototype.addLoadListener=function(t){this.loadListener=t},t.prototype.attachIframe=function(t,e){var n;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t)},t}(),Pt=function(){function t(t){this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;var e=this;this.restorePatches.push(ot(HTMLElement.prototype,"attachShadow",(function(t){return function(){var n=t.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}return t.prototype.addShadowRoot=function(t,e){Rt(k(k({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),Ct(k(k({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))},t.prototype.observeAttachShadow=function(t){if(t.contentWindow){var e=this;this.restorePatches.push(ot(t.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){var r=n.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,t.contentDocument),r}})))}},t.prototype.reset=function(){this.restorePatches.forEach((function(t){return t()}))},t}(),Gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bt="undefined"==typeof Uint8Array?[]:new Uint8Array(256),zt=0;zt<Gt.length;zt++)Bt[Gt.charCodeAt(zt)]=zt;var Ft=new Map,$t=function(t,e,n){if(t&&(jt(t,e)||"object"==typeof t)){var r=function(t,e){var n=Ft.get(t);return n||(n=new Map,Ft.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name),i=r.indexOf(t);return-1===i&&(i=r.length,r.push(t)),i}};function Ht(t,e,n){if(t instanceof Array)return t.map((function(t){return Ht(t,e,n)}));if(null===t)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){var r=t.constructor.name,i=function(t){var e,n=new Uint8Array(t),r=n.length,i="";for(e=0;e<r;e+=3)i+=Gt[n[e]>>2],i+=Gt[(3&n[e])<<4|n[e+1]>>4],i+=Gt[(15&n[e+1])<<2|n[e+2]>>6],i+=Gt[63&n[e+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(t);return{rr_type:r,base64:i}}return t instanceof DataView?{rr_type:t.constructor.name,args:[Ht(t.buffer,e,n),t.byteOffset,t.byteLength]}:t instanceof HTMLImageElement?{rr_type:t.constructor.name,src:t.src}:t instanceof ImageData?{rr_type:t.constructor.name,args:[Ht(t.data,e,
2n),t.width,t.height]}:jt(t,e)||"object"==typeof t?{rr_type:t.constructor.name,index:$t(t,e,n)}:t}var Yt=function(t,e,n){return A([],x(t),!1).map((function(t){return Ht(t,e,n)}))},jt=function(t,e){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(t){return"function"==typeof e[t]}));return Boolean(n.find((function(n){return t instanceof e[n]})))};function qt(t,e,n,r,i,a){var o,s,c=[],l=Object.getOwnPropertyNames(t),u=function(o){try{if("function"!=typeof t[o])return"continue";var s=ot(t,o,(function(s){return function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var u=s.apply(this,c);if($t(u,a,t),!lt(this.canvas,r)){i.getId(this.canvas);var d=Yt(A([],x(c),!1),a,t),h={type:e,property:o,args:d};n(this.canvas,h)}return u}}));c.push(s)}catch(r){var l=at(t,o,{set:function(t){n(this.canvas,{type:e,property:o,args:[t],setter:!0})}});c.push(l)}};try{for(var d=T(l),h=d.next();!h.done;h=d.next())u(h.value)}catch(t){o={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}return c}var Wt,Kt,Zt=function(){function t(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,e){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(e)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,!0===t.recordCanvas&&this.initCanvasMutationObserver(t.win,t.blockClass)}return t.prototype.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.prototype.freeze=function(){this.frozen=!0},t.prototype.unfreeze=function(){this.frozen=!1},t.prototype.lock=function(){this.locked=!0},t.prototype.unlock=function(){this.locked=!1},t.prototype.initCanvasMutationObserver=function(t,e){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=function(t,e){var n=[];try{var r=ot(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return lt(this,e)||"__context"in this||(this.__context=n),t.apply(this,A([n],x(r),!1))}}));n.push(r)}catch(t){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){n.forEach((function(t){return t()}))}}(t,e),r=function(t,e,n,r){var i,a,o=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype),c=function(r){try{if("function"!=typeof e.CanvasRenderingContext2D.prototype[r])return"continue";var i=ot(e.CanvasRenderingContext2D.prototype,r,(function(e){return function(){for(var i=this,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return lt(this.canvas,n)||setTimeout((function(){var e=A([],x(a),!1);if("drawImage"===r&&e[0]&&e[0]instanceof HTMLCanvasElement){var n=e[0],o=n.getContext("2d"),s=null==o?void 0:o.getImageData(0,0,n.width,n.height),c=null==s?void 0:s.data;e[0]=JSON.stringify(c)}t(i.canvas,{type:Y["2D"],property:r,args:e})}),0),e.apply(this,a)}}));o.push(i)}catch(n){var a=at(e.CanvasRenderingContext2D.prototype,r,{set:function(e){t(this.canvas,{type:Y["2D"],property:r,args:[e],setter:!0})}});o.push(a)}};try{for(var l=T(s),u=l.next();!u.done;u=l.next())c(u.value)}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return function(){o.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,this.mirror),i=function(t,e,n,r){var i=[];return i.push.apply(i,A([],x(qt(e.WebGLRenderingContext.prototype,Y.WebGL,t,n,r,e)),!1)),void 0!==e.WebGL2RenderingContext&&i.push.apply(i,A([],x(qt(e.WebGL2RenderingContext.prototype,Y.WebGL2,t,n,r,e)),!1)),function(){i.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,this.mirror);this.resetObservers=function(){n(),r(),i()}},t.prototype.startPendingCanvasMutationFlusher=function(){var t=this;requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))},t.prototype.startRAFTimestamping=function(){var t=this,e=function(n){t.rafStamps.latestId=n,requestAnimationFrame(e)};requestAnimationFrame(e)},t.prototype.flushPendingCanvasMutations=function(){var t=this;this.pendingCanvasMutations.forEach((function(e,n){var r=t.mirror.getId(n);t.flushPendingCanvasMutationFor(n,r)})),requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))},t.prototype.flushPendingCanvasMutationFor=function(t,e){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(t);if(n&&-1!==e){var r=n.map((function(t){t.type;var e=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}(t,["type"]);return e})),i=n[0].type;this.mutationCb({id:e,type:i,commands:r}),this.pendingCanvasMutations.delete(t)}}},t}();function Vt(t){return k(k({},t),{timestamp:Date.now()})}var Jt={map:{},getId:function(t){return t&&t.__sn?t.__sn.id:-1},getNode:function(t){return this.map[t]||null},removeNodeFromMap:function(t){var e=this,n=t.__sn&&t.__sn.id;
2delete this.map[n],t.childNodes&&t.childNodes.forEach((function(t){return e.removeNodeFromMap(t)}))},has:function(t){return this.map.hasOwnProperty(t)},reset:function(){this.map={}}};function Xt(t){void 0===t&&(t={});var e=t.emit,n=t.checkoutEveryNms,r=t.checkoutEveryNth,i=t.blockClass,a=void 0===i?"rr-block":i,o=t.blockSelector,s=void 0===o?null:o,c=t.unblockSelector,l=void 0===c?null:c,u=t.ignoreClass,d=void 0===u?"rr-ignore":u,h=t.ignoreSelector,p=void 0===h?null:h,_=t.maskTextClass,f=void 0===_?"rr-mask":_,m=t.maskTextSelector,g=void 0===m?null:m,v=t.maskInputSelector,y=void 0===v?null:v,b=t.unmaskTextSelector,E=void 0===b?null:b,w=t.unmaskInputSelector,S=void 0===w?null:w,A=t.inlineStylesheet,I=void 0===A||A,R=t.maskAllInputs,C=t.maskInputOptions,N=t.slimDOMOptions,O=t.maskInputFn,D=t.maskTextFn,L=t.hooks,U=t.packFn,M=t.sampling,P=void 0===M?{}:M,G=t.mousemoveWait,B=t.recordCanvas,z=void 0!==B&&B,H=t.userTriggeredOnInput,Y=void 0!==H&&H,j=t.collectFonts,q=void 0!==j&&j,W=t.inlineImages,K=void 0!==W&&W,Z=t.plugins,V=t.keepIframeSrcFn,J=void 0===V?function(){return!1}:V;if(!e)throw new Error("emit function is required");void 0!==G&&void 0===P.mousemove&&(P.mousemove=G);var X,Q,nt=!0===R?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==C?C:{password:!0},rt=!0===N||"all"===N?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===N,headMetaDescKeywords:"all"===N}:N||{};void 0===X&&(X=window),"NodeList"in X&&!X.NodeList.prototype.forEach&&(X.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in X&&!X.DOMTokenList.prototype.forEach&&(X.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(t){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1});var it=0;Wt=function(t,i){var a;if(!(null===(a=St[0])||void 0===a?void 0:a.isFrozen())||t.type===F.FullSnapshot||t.type===F.IncrementalSnapshot&&t.data.source===$.Mutation||St.forEach((function(t){return t.unfreeze()})),e(function(t){var e,n;try{for(var r=T(Z||[]),i=r.next();!i.done;i=r.next()){var a=i.value;a.eventProcessor&&(t=a.eventProcessor(t))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return U&&(t=U(t)),t}(t),i),t.type===F.FullSnapshot)Q=t,it=0;else if(t.type===F.IncrementalSnapshot){if(t.data.source===$.Mutation&&t.data.isAttachIframe)return;it++;var o=r&&it>=r,s=n&&t.timestamp-Q.timestamp>n;(o||s)&&Kt(!0)}};var at=function(t){Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.Mutation},t)}))},ot=function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.Scroll},t)}))},lt=function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.CanvasMutation},t)}))},ut=new Mt({mutationCb:at}),dt=new Zt({recordCanvas:z,mutationCb:lt,win:window,blockClass:a,mirror:Jt}),ht=new Pt({mutationCb:at,scrollCb:ot,bypassOptions:{blockClass:a,blockSelector:s,unblockSelector:l,maskTextClass:f,maskTextSelector:g,unmaskTextSelector:E,maskInputSelector:y,unmaskInputSelector:S,inlineStylesheet:I,maskInputOptions:nt,maskTextFn:D,maskInputFn:O,recordCanvas:z,inlineImages:K,sampling:P,slimDOMOptions:rt,iframeManager:ut,canvasManager:dt},mirror:Jt});Kt=function(t){var e,n,r,i;void 0===t&&(t=!1),Wt(Vt({type:F.Meta,data:{href:window.location.href,width:ct(),height:st()}}),t),St.forEach((function(t){return t.lock()}));var o=x(function(t,e){var n=e||{},r=n.blockClass,i=n.blockSelector,a=n.unblockSelector,o=n.maskTextClass,s=n.maskTextSelector,c=n.unmaskTextSelector,l=n.inlineStylesheet,u=n.inlineImages,d=n.recordCanvas,h=n.maskInputSelector,p=n.unmaskInputSelector,_=n.maskAllInputs,f=void 0!==_&&_,m=n.slimDOM,g=void 0!==m&&m,v=n.keepIframeSrcFn,y={};return[tt(t,{doc:t,map:y,blockClass:void 0===r?"rr-block":r,blockSelector:void 0===i?null:i,unblockSelector:void 0===a?null:a,maskTextClass:void 0===o?"rr-mask":o,maskTextSelector:void 0===s?null:s,unmaskTextSelector:void 0===c?null:c,skipChild:!1,inlineStylesheet:void 0===l||l,maskInputSelector:void 0===h?null:h,unmaskInputSelector:void 0===p?null:p,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===f?{password:!0}:f,maskTextFn:n.maskTextFn,maskInputFn:n.maskInputFn,slimDOMOptions:!0===g||"all"===g?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===g,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===g?{}:g,dataURLOptions:n.dataURLOptions,inlineImages:void 0!==u&&u,recordCanvas:void 0!==d&&d,preserveWhiteSpace:n.preserveWhiteSpace,onSerialize:n.onSerialize,onIframeLoad:n.onIframeLoad,iframeLoadTimeout:n.iframeLoadTimeout,keepIframeSrcFn:void 0===v?function(){return!1}:v}),y]}(document,{blockClass:a,blockSelector:s,unblockSelector:l,maskTextClass:f,maskTextSelector:g,unmaskTextSelector:E,maskInputSelector:y,unmaskInputSelector:S,inlineStylesheet:I,maskAllInputs:nt,maskTextFn:D,slimDOM:rt,recordCanvas:z,inlineImages:K,onSerialize:function(t){pt(t)&&ut.addIframe(t),_t(t)&&ht.addShadowRoot(t.shadowRoot,document)},onIframeLoad:function(t,e){ut.attachIframe(t,e),ht.observeAttachShadow(t)},keepIframeSrcFn:J}),2),c=o[0],u=o[1];if(!c)return console.warn("Failed to snapshot the document");Jt.map=u,Wt(Vt({type:F.FullSnapshot,data:{node:c,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(i=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===i?void 0:i.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),St.forEach((function(t){return t.unlock()}))};try{var ft=[];ft.push(et("DOMContentLoaded",(function(){Wt(Vt({type:F.DomContentLoaded,data:{}}))})));var mt=function(t){var e;return Ut({mutationCb:at,mousemoveCb:function(t,e){return Wt(Vt({type:F.IncrementalSnapshot,data:{source:e,positions:t}}))},mouseInteractionCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.MouseInteraction},t)}))},scrollCb:ot,viewportResizeCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.ViewportResize},t)}))},inputCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.Input},t)}))},mediaInteractionCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.MediaInteraction},t)}))},styleSheetRuleCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.StyleSheetRule},t)}))},styleDeclarationCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.StyleDeclaration},t)}))},canvasMutationCb:lt,fontCb:function(t){return Wt(Vt({type:F.IncrementalSnapshot,data:k({source:$.Font},t)}))},blockClass:a,ignoreClass:d,ignoreSelector:p,maskTextClass:f,maskTextSelector:g,unmaskTextSelector:E,maskInputSelector:y,unmaskInputSelector:S,maskInputOptions:nt,inlineStylesheet:I,sampling:P,recordCanvas:z,inlineImages:K,userTriggeredOnInput:Y,collectFonts:q,doc:t,maskInputFn:O,maskTextFn:D,blockSelector:s,unblockSelector:l,slimDOMOptions:rt,mirror:Jt,iframeManager:ut,shadowDomManager:ht,canvasManager:dt,plugins:(null===(e=null==Z?void 0:Z.filter((function(t){return t.observer})))||void 0===e?void 0:e.map((function(t){return{observer:t.observer,options:t.options,callback:function(e){return Wt(Vt({type:F.Plugin,data:{plugin:t.name,payload:e}}))}}})))||[]},L)};ut.addLoadListener((function(t){try{ft.push(mt(t.contentDocument))}catch(t){console.warn(t)}}));var gt=function(){Kt(),ft.push(mt(document))};return"interactive"===document.readyState||"complete"===document.readyState?gt():ft.push(et("load",(function(){Wt(Vt({type:F.Load,data:{}})),gt()}),window)),function(){ft.forEach((function(t){return t()}))}}catch(t){console.warn(t)}}Xt.addCustomEvent=function(t,e){if(!Wt)throw new Error("please add custom event after start recording");Wt(Vt({type:F.Custom,data:{tag:t,payload:e}}))},Xt.freezePage=function(){St.forEach((function(t){return t.freeze()}))},Xt.takeFullSnapshot=function(t){if(!Kt)throw new Error("please take full snapshot after start recording");Kt(t)},Xt.mirror=Jt;const Qt=["name","type","startTime","transferSize","duration"];function te(t){return function(e){return Qt.every((n=>t[n]===e[n]))}}class ee{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(t,e){e?this.events=[t]:this.events.push(t)}finish(){return new Promise((t=>{const e=this.events;this.events=[],t(JSON.stringify(e))}))}}class ne{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((t,e)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?t():e()}),{once:!0}),this._worker.addEventListener("error",(t=>{e(t)}),{once:!0})}))),this._ensureReadyPromise}destroy(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,e){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const a=({data:e})=>{const o=e;if(o.method===t&&o.id===n){if(this._worker.removeEventListener("message",a),!
2o.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay]",o.response),void i(new Error("Error in compression worker"));r(o.response)}};this._worker.addEventListener("message",a),this._worker.postMessage({id:n,method:t,arg:e})}))}_getAndIncrementId(){return this._id++}}class re{constructor(t){this._worker=new ne(t),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(t,e){return this.hasEvents=!0,e&&await this._clear(),this._sendEventToWorker(t)}finish(){return this._finishRequest()}_sendEventToWorker(t){return this._worker.postMessage("addEvent",JSON.stringify(t))}async _finishRequest(){const t=await this._worker.postMessage("finish");return this.hasEvents=!1,t}_clear(){return this._worker.postMessage("clear")}}class ie{constructor(t){this._fallback=new ee,this._compression=new re(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}addEvent(t,e){return this._used.addEvent(t,e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t}=this._fallback,e=[];for(const n of t)e.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(e)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("[Replay] Failed to add events when switching buffers.",t)}}}function ae(t,e,n=+new Date){return null===t||void 0===e||e<0||0!==e&&t+e<=n}function oe(t,e,n=+new Date){return ae(t.started,w,n)||ae(t.lastActivity,e,n)}function se(t){if("sessionStorage"in m)try{m.sessionStorage.setItem(g,JSON.stringify(t))}catch(t){}}function ce(t){return void 0!==t&&Math.random()<t}function le(t){const e=(new Date).getTime();return{id:t.id||(0,l.DM)(),started:t.started||e,lastActivity:t.lastActivity||e,segmentId:t.segmentId||0,sampled:t.sampled}}function ue({sessionSampleRate:t,errorSampleRate:e,stickySession:n=!1}){const r=function(t,e){return ce(t)?"session":!!ce(e)&&"error"}(t,e),i=le({sampled:r});return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(`[Replay] Creating new session: ${i.id}`),n&&se(i),i}async function de(t,e,n){if(!t.eventBuffer)return null;if(t.isPaused())return null;const r=e.timestamp>9999999999?e.timestamp:1e3*e.timestamp;if(r+b<(new Date).getTime())return null;const i=t.getContext().earliestEvent;t.session&&0===t.session.segmentId&&(!i||r<i)&&(t.getContext().earliestEvent=r);try{return await t.eventBuffer.addEvent(e,n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(e),t.stop()}}function he(t){return{timestamp:(new Date).getTime()/1e3,type:"default",...t}}function pe(t,e){"sentry.transaction"!==e.category&&("ui.click"===e.category?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate((()=>(de(t,{type:F.Custom,timestamp:1e3*(e.timestamp||0),data:{tag:"breadcrumb",payload:e}}),"console"===e.category))))}function _e(t,e){return e.map((({type:e,start:n,end:r,name:i,data:a})=>de(t,{type:F.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:e,description:i,startTimestamp:n,endTimestamp:r,data:a}}})))}function fe(t,e){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!t.getOptions()._experiments.traceInternals)&&!function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getDsn();return!!n&&t.includes(n.host)}(e)}let me=null;function ge(t){const e=(0,r.Gd)().getScope();e&&e.addScopeListener((t=>e=>{if(!t.isEnabled())return;const n=function(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return me!==e&&e?(me=e,e.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))?null:he(e)):null}(e);
2n&&pe(t,n)})(t)),(0,d.o)("dom",(t=>e=>{if(!t.isEnabled())return;const n=function(t){let e,n;try{n=function(t){return t.event.target?t.event.target:t.event}(t),e=(0,u.Rt)(n)}catch(t){e="<unknown>"}return 0===e.length?null:he({category:`ui.${t.name}`,message:e,data:{...n?{nodeId:Xt.mirror.getId(n)}:{}}})}(e);n&&pe(t,n)})(t)),(0,d.o)("fetch",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){if(!t.endTimestamp)return null;const{startTimestamp:e,endTimestamp:n,fetchData:r,response:i}=t;return{type:"resource.fetch",start:e/1e3,end:n/1e3,name:r.url,data:{method:r.method,statusCode:i.status}}}(e);null!==n&&(fe(t,n.name)||t.addUpdate((()=>(_e(t,[n]),!0))))}}(t)),(0,d.o)("xhr",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){if(t.xhr.__sentry_own_request__)return null;if(t.startTimestamp&&(t.xhr.__sentry_xhr__=t.xhr.__sentry_xhr__||{},t.xhr.__sentry_xhr__.startTimestamp=t.startTimestamp),!t.endTimestamp)return null;const{method:e,url:n,status_code:r}=t.xhr.__sentry_xhr__||{};return void 0===n?null:{type:"resource.xhr",name:n,start:(t.xhr.__sentry_xhr__?t.xhr.__sentry_xhr__.startTimestamp||0:t.endTimestamp)/1e3,end:t.endTimestamp/1e3,data:{method:e,statusCode:r}}}(e);null!==n&&(fe(t,n.name)||t.addUpdate((()=>(_e(t,[n]),!0))))}}(t)),(0,d.o)("history",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{from:e,to:n}=t,r=(new Date).getTime()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:e}}}(e);null!==n&&(t.getContext().urls.push(n.name),t.triggerUserActivity(),t.addUpdate((()=>(_e(t,[n]),!1))))}}(t)),(0,a.c)(function(t){return e=>{if(e.type===v)return delete e.breadcrumbs,e;if(function(t){return!(t.type||!t.exception||!t.exception.values||!t.exception.values.length)&&t.exception.values.some((t=>!!(t.stacktrace&&t.stacktrace.frames&&t.stacktrace.frames.length)&&t.stacktrace.frames.some((t=>t.filename&&t.filename.includes("/rrweb/src/")))))}(e)&&!t.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Ignoring error from rrweb internals",e),null;if(e.type&&"session"!==t.recordingMode||(e.tags={...e.tags,replayId:t.getSessionId()}),"transaction"===e.type&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id)return t.getContext().traceIds.add(e.contexts.trace.trace_id),e;if(e.type||t.getContext().errorIds.add(e.event_id),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals){const t=function(t){return{type:"Unknown",value:"n/a",...t.exception&&t.exception.values&&t.exception.values[0]}}(e);!function(t){const{category:e,level:n,message:r,...a}=t;(0,i.n_)({category:e||"console",level:n||"debug",message:`[debug]: ${r}`,...a})}({message:`Tagging event (${e.event_id}) - ${e.message} - ${t.type}: ${t.value}`})}return"error"===t.recordingMode&&e.exception&&e.message!==y&&setTimeout((async()=>{await t.flushImmediate(),t.stopRecording()&&(t.recordingMode="session",t.startRecording())})),e}}(t))}function ve(t){const{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}=t,i=(new Date).getTime()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}}}}const ye={resource:function(t){const{entryType:e,initiatorType:n,name:r,responseEnd:i,startTime:a,encodedBodySize:o,transferSize:s}=t;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${e}.${n}`,start:Ee(a),end:Ee(i),name:r,data:{size:s,encodedBodySize:o}}},paint:function(t){const{duration:e,entryType:n,name:r,startTime:i}=t,a=Ee(i);return{type:n,name:r,start:a,end:a+e}},navigation:function(t){const{entryType:e,name:n,duration:r,domComplete:i,startTime:a,transferSize:o,type:s}=t;return 0===r?null:{type:`${e}.${s}`,start:Ee(a),end:Ee(i),name:n,data:{size:o,duration:r}}},"largest-contentful-paint":function(t){const{duration:e,entryType:n,startTime:r,size:i}=t,a=Ee(r);return{type:n,name:n,start:a,end:a+e,data:{duration:e,size:i,nodeId:Xt.mirror.getId(t.element)}}}};function be(t){return void 0===ye[t.entryType]?null:ye[t.entryType](t)}function Ee(t){return((h.Z1||m.performance.timeOrigin)+t)/1e3}let we;
2class Se extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function ke(t,e={count:0,interval:5e3}){const{recordingData:n,options:a}=t;if(n.length)try{return await async function({recordingData:t,replayId:e,segmentId:n,includeReplayStartTimestamp:i,eventContext:a,timestamp:s,session:l,options:u}){const d=function({recordingData:t,headers:e}){let n;const r=`${JSON.stringify(e)}\n`;if("string"==typeof t)n=`${r}${t}`;else{const e=(new TextEncoder).encode(r);n=new Uint8Array(e.length+t.length),n.set(e),n.set(t,e.length)}return n}({recordingData:t,headers:{segment_id:n}}),{urls:h,errorIds:_,traceIds:f,initialTimestamp:m}=a,g=(0,r.Gd)(),b=g.getClient(),E=g.getScope(),w=b&&b.getTransport(),S=b&&b.getDsn();if(!(b&&E&&w&&S&&l.sampled))return;const k={type:v,...i?{replay_start_timestamp:m/1e3}:{},timestamp:s/1e3,error_ids:_,trace_ids:f,urls:h,replay_id:e,segment_id:n,replay_type:l.sampled},T=await async function({client:t,scope:e,replayId:n,event:r}){const i="object"!=typeof t._integrations||null===t._integrations||Array.isArray(t._integrations)?void 0:Object.keys(t._integrations),a=await(0,o.R)(t.getOptions(),r,{event_id:n,integrations:i},e);if(!a)return null;a.platform=a.platform||"javascript";const s=t.getSdkMetadata&&t.getSdkMetadata(),{name:c,version:l}=s&&s.sdk||{};return a.sdk={...a.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0"},a}({scope:E,client:b,replayId:e,event:k});if(!T)return b.recordDroppedEvent("event_processor","replay",k),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("An event processor returned `null`, will not send event."));T.contexts={...T.contexts,replay:{...T.contexts&&T.contexts.replay,session_sample_rate:u.sessionSampleRate,error_sample_rate:u.errorSampleRate}};const x=function(t,e,n,r){return(0,p.Jd)((0,p.Cd)(t,(0,p.HY)(t),r,n),[[{type:"replay_event"},t],[{type:"replay_recording",length:"string"==typeof e?(new TextEncoder).encode(e).length:e.length},e]])}(T,d,S,b.getOptions().tunnel);let A;try{A=await w.send(x)}catch(t){throw new Error(y)}if(!A)return A;if("number"==typeof A.statusCode&&(A.statusCode<200||A.statusCode>=300))throw new Se(A.statusCode);return A}(t),!0}catch(n){if(n instanceof Se)throw n;if((0,i.v)("Replays",{_retryCount:e.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a._experiments&&a._experiments.captureExceptions&&(0,i.Tb)(n),e.count>=3)throw new Error(`${y} - max retries exceeded`);return e.interval*=++e.count,await new Promise(((n,r)=>{setTimeout((async()=>{try{await ke(t,e),n(!0)}catch(t){r(t)}}),e.interval)}))}}class Te{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this._performanceObserver=null}__init5(){this._flushLock=null}__init6(){this._lastActivity=(new Date).getTime()}__init7(){this._isEnabled=!1}__init8(){this._isPaused=!1}__init9(){this._hasInitializedCoreListeners=!1}__init10(){this._stopRecording=null}__init11(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:(new Date).getTime(),initialUrl:""}}constructor({options:t,recordingOptions:e}){Te.prototype.__init.call(this),Te.prototype.__init2.call(this),Te.prototype.__init3.call(this),Te.prototype.__init4.call(this),Te.prototype.__init5.call(this),Te.prototype.__init6.call(this),Te.prototype.__init7.call(this),Te.prototype.__init8.call(this),Te.prototype.__init9.call(this),Te.prototype.__init10.call(this),Te.prototype.__init11.call(this),Te.prototype.__init12.call(this),Te.prototype.__init13.call(this),Te.prototype.__init14.call(this),Te.prototype.__init15.call(this),Te.prototype.__init16.call(this),this._recordingOptions=e,this._options=t,this._debouncedFlush=function(t,e,n){let r,i,a;const o=n&&n.maxWait?Math.max(n.maxWait,e):0;function s(){return c(),r=t(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==a&&clearTimeout(a),i=a=void 0}function l(){return i&&clearTimeout(i),i=setTimeout(s,e),o&&void 0===a&&o!==e&&(a=setTimeout(s,o)),r}return l.cancel=c,l.flush=function(){return void 0!==i||void 0!==a?s():r},l}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}start(){this._setInitialState(),this._loadAndCheckSession()&&(this.session?this.session.sampled&&("error"===this.session.sampled&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=function({useCompression:t}){if(t&&window.Worker)try{const t=new Blob(['/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pen
vendor: 4,281 bytes, line 2
2ding_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>
2{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ER
vendor: 10,438 bytes, line 2
2ROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 2
2if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 10,448 bytes, line 2
20&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 2
2{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
2if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=B;const Xe=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Ge.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Ge.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Ge.Z_NO_FLUSH)}},We={clear:()=>(Xe.clear(),""),addEvent:t=>Xe.addEvent(t),finish:()=>Xe.finish()};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in We&&"function"==typeof We[e])try{const t=We[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']),e=URL.createObjectURL(t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Using compression worker");const n=new Worker(e);return new ie(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Failed to create compression worker")}return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Using simple buffer"),new ee}({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording()):this._handleException(new Error("No session found")))}startRecording(){try{this._stopRecording=Xt({...this._recordingOptions,..."error"===this.recordingMode&&{checkoutEveryNms:6e4},emit:this._handleRecordingEmit})}catch(t){this._handleException(t)}}stopRecording(){try{return!!this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0,!0)}catch(t){return this._handleException(t),!1}}stop(){if(this._isEnabled)try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Stopping Replays"),this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(t){this._handleException(t)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}addUpdate(t){const e=t();"error"!==this.recordingMode&&!0!==e&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(t){const e=this.getSessionId();if(this._lastActivity&&ae(this._lastActivity,w))this.pause();else if(this._loadAndCheckSession(t))return e===this.getSessionId()||(this._triggerFullSnapshot(),!1)}_handleException(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay]",t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,i.Tb)(t)}_loadAndCheckSession(t=3e5){const{type:e,session:n}=function({expiry:t,currentSession:e,stickySession:n,sessionSampleRate:r,errorSampleRate:i}){const a=e||n&&function(){if(!("sessionStorage"in m))return null;try{const t=m.sessionStorage.getItem(g);return t?le(JSON.parse(t)):null}catch(t){return null}}();if(a){if(!oe(a,t))return{type:"saved",session:a};if("error"===a.sampled)return{type:"new",session:le({sampled:!1})};("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Session has expired")}return{type:"new",session:ue({stickySession:n,sessionSampleRate:r,errorSampleRate:i})}}({expiry:t,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate});"new"===e&&this._setInitialState();const r=this.getSessionId();return n.id!==r&&(n.previousSessionId=r),this.session=n,!!this.session.sampled||(this.stop(),!1)}_setInitialState(){const t=`${m.location.pathname}${m.location.hash}${m.location.search}`,e=`${m.location.origin}${t}`;
2this.performanceEvents=[],this._clearContext(),this._context.initialUrl=e,this._context.initialTimestamp=(new Date).getTime(),this._context.urls.push(e)}_addListeners(){try{m.document.addEventListener("visibilitychange",this._handleVisibilityChange),m.addEventListener("blur",this._handleWindowBlur),m.addEventListener("focus",this._handleWindowFocus),function(t){const e=(0,r.Gd)().getClient();if(!e)return;const n=e.recordDroppedEvent.bind(e);e.recordDroppedEvent=(e,r,i)=>(i&&!i.type&&i.event_id&&t.delete(i.event_id),n(e,r,i)),we=n}(this._context.errorIds),this._hasInitializedCoreListeners||(ge(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in m&&(this._performanceObserver=function(t){const e=new PerformanceObserver((e=>{const n=function(t,e){const[n,r,i]=t.reduce(((t,e)=>("navigation"===e.entryType?t[0].push(e):"largest-contentful-paint"===e.entryType?t[1].push(e):t[2].push(e),t)),[[],[],[]]),a=[],o=[];let s=r.length?r[r.length-1]:void 0;return e.forEach((t=>{if("largest-contentful-paint"!==t.entryType)if("navigation"!==t.entryType)a.push(t);else{const e=t;t.duration>0&&!n.find(te(e))&&!o.find(te(e))&&o.push(e)}else(!s||s.startTime<t.startTime)&&(s=t)})),[...s?[s]:[],...n,...i,...a,...o].sort(((t,e)=>t.startTime-e.startTime))}(t.performanceEvents,e.getEntries());t.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((t=>{try{e.observe({type:t,buffered:!0})}catch(t){}})),e}(this))}_removeListeners(){try{m.document.removeEventListener("visibilitychange",this._handleVisibilityChange),m.removeEventListener("blur",this._handleWindowBlur),m.removeEventListener("focus",this._handleWindowFocus),function(){const t=(0,r.Gd)().getClient();t&&we&&(t.recordDroppedEvent=we)}(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(t){this._handleException(t)}}__init12(){this._handleRecordingEmit=(t,e)=>{this.checkAndHandleExpiredSession()?this.addUpdate((()=>("error"===this.recordingMode&&2===t.type&&this._setInitialState(),de(this,t,e),2===t.type&&(this.session&&this.session.previousSessionId||("error"===this.recordingMode&&this.session&&this._context.earliestEvent&&(this.session.started=this._context.earliestEvent,this._maybeSaveSession()),"session"===this.recordingMode&&this.flushImmediate()),!0)))):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] Received replay event after session expired.")}}__init13(){this._handleVisibilityChange=()=>{"visible"===m.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const t=he({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init15(){this._handleWindowFocus=()=>{const t=he({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;const e=oe(this.session,E);t&&!e&&this._createCustomBreadcrumb(t),this._conditionalFlush()}_doChangeToForegroundTasks(t){this.session&&(this.checkAndHandleExpiredSession(E)?t&&this._createCustomBreadcrumb(t):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Document has become active, but session has expired"))}_triggerFullSnapshot(){try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Taking full rrweb snapshot"),Xt.takeFullSnapshot(!0)}catch(t){this._handleException(t)}}_updateUserActivity(t=(new Date).getTime()){this._lastActivity=t}_updateSessionActivity(t=(new Date).getTime()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate((()=>{de(this,{type:F.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})}))}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(_e(this,function(t){return t.map(be).filter(Boolean)}(t)))}_conditionalFlush(){"error"!==this.recordingMode&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.
2initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){if(this.session&&this.eventBuffer){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(t){try{return Promise.all(_e(t,[ve(m.performance.memory)]))}catch(t){return[]}}(this),this.eventBuffer))try{const t=await this.eventBuffer.finish(),e=this.session.id,n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await ke({replayId:e,recordingData:t,segmentId:r,includeReplayStartTimestamp:0===r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:(new Date).getTime()})}catch(t){this._handleException(t),this.stop()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] No session or eventBuffer found to flush.")}__init16(){this._flush=async()=>{if(this._isEnabled)if(this.checkAndHandleExpiredSession())if(this.session){if(this._debouncedFlush.cancel(),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=null);try{await this._flushLock}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(t)}finally{this._debouncedFlush()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] No session found to flush.");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] Attempting to finish replay event after session expired.")}}_maybeSaveSession(){this.session&&this._options.stickySession&&se(this.session)}}function xe(t,e,n,r){const i=[...t,..."string"==typeof r?r.split(","):[],...e];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),i.join(",")}function Ae({mask:t,unmask:e,block:n,unblock:r,ignore:i,blockClass:a,blockSelector:o,maskTextClass:s,maskTextSelector:c,ignoreClass:l}){const u=xe(t,[".sentry-mask","[data-sentry-mask]"],s,c),d=xe(e,[".sentry-unmask","[data-sentry-unmask]"]),h={maskTextSelector:u,unmaskTextSelector:d,maskInputSelector:u,unmaskInputSelector:d,blockSelector:xe(n,[".sentry-block","[data-sentry-block]"],a,o),unblockSelector:xe(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:xe(i,[".sentry-ignore","[data-sentry-ignore]"],l)};return a instanceof RegExp&&(h.blockClass=a),s instanceof RegExp&&(h.maskTextClass=s),h}function Ie(){return"undefined"!=typeof window&&(!(0,_.KV)()||"undefined"!=typeof process&&"renderer"===process.type)}const Re="img,image,svg,path,rect,area,video,object,picture,embed,map,audio";let Ce=!1;class Ne{static __initStatic(){this.id="Replay"}__init(){this.name=Ne.id}constructor({flushMinDelay:t=5e3,flushMaxDelay:e=5e3,stickySession:n=!0,useCompression:r=!0,_experiments:i={},sessionSampleRate:a,errorSampleRate:o,maskAllText:s,maskAllInputs:c=!0,blockAllMedia:l=!0,mask:u=[],unmask:d=[],block:h=[],unblock:p=[],ignore:_=[],maskFn:f,blockClass:m,blockSelector:g,maskInputOptions:v,maskTextClass:y,maskTextSelector:b,ignoreClass:E}={}){if(Ne.prototype.__init.call(this),this._recordingOptions={maskAllInputs:c,maskInputOptions:{...v||{},password:!0},maskTextFn:f,maskInputFn:f,...Ae({mask:u,unmask:d,block:h,unblock:p,ignore:_,blockClass:m,blockSelector:g,maskTextClass:y,maskTextSelector:b,ignoreClass:E}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:t,flushMaxDelay:e,stickySession:n,sessionSampleRate:a,errorSampleRate:o,useCompression:r,maskAllText:"boolean"==typeof s?s:!b,blockAllMedia:l,_experiments:i},"number"==typeof a&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${a} })`),this._initialOptions.sessionSampleRate=a),"number"==typeof o&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${o} })`),this._initialOptions.errorSampleRate=o),this._initialOptions.maskAllText&&(this._recordingOptions.maskTextSelector="body *:not(style), body *:not(script)"),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Re}
2`:Re),this._isInitialized&&Ie())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Ce}set _isInitialized(t){Ce=t}setupOnce(){Ie()&&(this._setup(),setTimeout((()=>this.start())))}start(){this._replay&&this._replay.start()}stop(){this._replay&&this._replay.stop()}flush(){if(this._replay&&this._replay.isEnabled())return this._replay.flushImmediate()}_setup(){const t=function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getOptions(),i={sessionSampleRate:0,errorSampleRate:0,...(0,f.Jr)(t)};return n?(null==t.sessionSampleRate&&null==t.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),"number"==typeof n.replaysSessionSampleRate&&(i.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(i.errorSampleRate=n.replaysOnErrorSampleRate),i):(console.warn("SDK client is not available."),i)}(this._initialOptions);this._replay=new Te({options:t,recordingOptions:this._recordingOptions})}}Ne.__initStatic()},8464:(t,e,n)=>{"use strict";n.d(e,{Rt:()=>a,l4:()=>s});var r=n(7597);const i=(0,n(1235).Rf)();function a(t,e={}){try{let n=t;const r=5,i=[];let a=0,s=0;const c=" > ",l=c.length;let u;const d=Array.isArray(e)?e:e.keyAttrs,h=!Array.isArray(e)&&e.maxStringLength||80;for(;n&&a++<r&&(u=o(n,d),!("html"===u||a>1&&s+i.length*l+u.length>=h));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(c)}catch(t){return"<unknown>"}}function o(t,e){const n=t,i=[];let a,o,s,c,l;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const u=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(u&&u.length)u.forEach((t=>{i.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),a=n.className,a&&(0,r.HD)(a))for(o=a.split(/\s+/),l=0;l<o.length;l++)i.push(`.${o[l]}`);const d=["aria-label","type","name","title","alt"];for(l=0;l<d.length;l++)s=d[l],c=n.getAttribute(s),c&&i.push(`[${s}="${c}"]`);return i.join("")}function s(){try{return i.document.location.href}catch(t){return""}}},292:(t,e,n)=>{"use strict";n.d(e,{RA:()=>a,vK:()=>s});var r=n(409);const i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(t,e=!1){const{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=t;return`${s}://${c}${e&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function o(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function s(t){const e="string"==typeof t?function(t){const e=i.exec(t);if(!e)throw new r.b(`Invalid Sentry Dsn: ${t}`);const[n,a,s="",c,l="",u]=e.slice(1);let d="",h=u;const p=h.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),h=p.pop()),h){const t=h.match(/^\d+/);t&&(h=t[0])}return o({host:c,pass:s,path:d,projectId:h,port:l,protocol:n,publicKey:a})}(t):o(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:i}=t;if(["protocol","publicKey","host","projectId"].forEach((e=>{if(!t[e])throw new r.b(`Invalid Sentry Dsn: ${e} missing`)})),!n.match(/^\d+$/))throw new r.b(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(t){return"http"===t||"https"===t}(i))throw new r.b(`Invalid Sentry Dsn: Invalid protocol ${i}`);if(e&&isNaN(parseInt(e,10)))throw new r.b(`Invalid Sentry Dsn: Invalid port ${e}`)}(e),e}},8518:(t,e,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,{S:()=>i,n:()=>r})},8725:(t,e,n)=>{"use strict";n.d(e,{BO:()=>s,Cd:()=>f,HY:()=>_,Jd:()=>o,V$:()=>u,gv:()=>c,mL:()=>p,zQ:()=>d});var r=n(292),i=n(8007),a=n(535);function o(t,e=[]){return[t,e]}function s(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){t[1].forEach((t=>{const n=t[0].type;e(t,n)}))}function l(t,e){return(e||new TextEncoder).encode(t)}function u(t,e){const[n,r]=t;let a=JSON.stringify(n);function o(t){"string"==typeof a?a="string"==typeof t?a+t:[l(a,e),t]:a.push("string"==typeof t?l(t,e):t)}for(const t of r){const[e,n]=t;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,i.Fv)(n))}o(t)}}return"string"==typeof a?a:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(a)}function d(t,e){const n="string"==typeof t.data?l(t.data,e):t.data;return[(0,a.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function p(t){return h[t]}function _(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function f(t,e,n,i){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:(0,r.RA)(i)},..."transaction"===t.type&&o&&{trace:(0,a.Jr)({...o})}}}},409:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});
2class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},9732:(t,e,n)=>{"use strict";n.d(e,{o:()=>d});var r=n(7597),i=n(2343),a=n(535),o=n(360),s=n(8823);const c=(0,n(1235).Rf)(),l={},u={};function d(t,e){l[t]=l[t]||[],l[t].push(e),function(t){if(!u[t])switch(u[t]=!0,t){case"console":"console"in c&&i.RU.forEach((function(t){t in c.console&&(0,a.hl)(c.console,t,(function(e){return function(...n){h("console",{args:n,level:t}),e&&e.apply(c.console,n)}}))}));break;case"dom":!function(){if(!("document"in c))return;const t=h.bind(null,"dom"),e=v(t,!0);c.document.addEventListener("click",e,!1),c.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=c[e]&&c[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,a.hl)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,a=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=a[n]=a[n]||{refCount:0};if(!o.handler){const r=v(t);o.handler=r,e.call(this,n,r,i)}o.refCount++}catch(t){}return e.call(this,n,r,i)}})),(0,a.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},a=i[e];a&&(a.refCount--,a.refCount<=0&&(t.call(this,e,a.handler,r),a.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in c))return;const t=XMLHttpRequest.prototype;(0,a.hl)(t,"open",(function(t){return function(...e){const n=this,i=e[1],o=n.__sentry_xhr__={method:(0,r.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1]};(0,r.HD)(i)&&"POST"===o.method&&i.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=function(){if(4===n.readyState){try{o.status_code=n.status}catch(t){}h("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?(0,a.hl)(n,"onreadystatechange",(function(t){return function(...e){return s(),t.apply(n,e)}})):n.addEventListener("readystatechange",s),t.apply(n,e)}})),(0,a.hl)(t,"send",(function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),h("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":(0,s.t$)()&&(0,a.hl)(c,"fetch",(function(t){return function(...e){const n={args:e,fetchData:{method:p(e),url:_(e)},startTimestamp:Date.now()};return h("fetch",{...n}),t.apply(c,e).then((t=>(h("fetch",{...n,endTimestamp:Date.now(),response:t}),t)),(t=>{throw h("fetch",{...n,endTimestamp:Date.now(),error:t}),t}))}}));break;case"history":!function(){if(!(0,s.Bf)())return;const t=c.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=f,e=String(n);f=e,h("history",{from:t,to:e})}return t.apply(this,e)}}c.onpopstate=function(...e){const n=c.location.href,r=f;if(f=n,h("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,a.hl)(c.history,"pushState",e),(0,a.hl)(c.history,"replaceState",e)}();break;case"error":y=c.onerror,c.onerror=function(t,e,n,r,i){return h("error",{column:r,error:i,line:n,msg:t,url:e}),!!y&&y.apply(this,arguments)};break;case"unhandledrejection":b=c.onunhandledrejection,c.onunhandledrejection=function(t){return h("unhandledrejection",t),!b||b.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("unknown instrumentation type:",t)}}(t)}function h(t,e){if(t&&l[t])for(const n of l[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.$P)(n)}\nError:`,e)}}function p(t=[]){return"Request"in c&&(0,r.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function _(t=[]){return"string"==typeof t[0]?t[0]:"Request"in c&&(0,r.V9)(t[0],Request)?t[0].url:String(t[0])}let f,m,g;function v(t,e=!1){return n=>{if(!n||g===n)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;
2if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===m||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(g,n))&&(t({event:n,name:r,global:e}),g=n),clearTimeout(m),m=c.setTimeout((()=>{m=void 0}),1e3)}}let y=null,b=null},7597:(t,e,n)=>{"use strict";n.d(e,{Cy:()=>m,HD:()=>l,J8:()=>f,Kj:()=>_,PO:()=>d,TX:()=>s,V9:()=>v,VW:()=>o,VZ:()=>i,cO:()=>h,fm:()=>c,i2:()=>g,kK:()=>p,pt:()=>u});const r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function a(t,e){return r.call(t)===`[object ${e}]`}function o(t){return a(t,"ErrorEvent")}function s(t){return a(t,"DOMError")}function c(t){return a(t,"DOMException")}function l(t){return a(t,"String")}function u(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function d(t){return a(t,"Object")}function h(t){return"undefined"!=typeof Event&&v(t,Event)}function p(t){return"undefined"!=typeof Element&&v(t,Element)}function _(t){return a(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function m(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t){return"number"==typeof t&&t!=t}function v(t,e){try{return t instanceof e}catch(t){return!1}}},2343:(t,e,n)=>{"use strict";n.d(e,{Cf:()=>a,RU:()=>i,kg:()=>s});var r=n(1235);const i=["debug","info","warn","error","log","assert","trace"];function a(t){if(!("console"in r.n2))return t();const e=r.n2.console,n={};i.forEach((t=>{const r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)}));try{return t()}finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}function o(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{e[n]=(...e)=>{t&&a((()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...e)}))}})):i.forEach((t=>{e[t]=()=>{}})),e}let s;s="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,r.YO)("logger",o):o()},2844:(t,e,n)=>{"use strict";n.d(e,{DM:()=>a,Db:()=>c,EG:()=>l,YO:()=>u,jH:()=>s,lE:()=>d});var r=n(535),i=n(1235);function a(){const t=i.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function o(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function s(t){const{message:e,event_id:n}=t;if(e)return e;const r=o(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const r=t.exception=t.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function l(t,e){const n=o(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function u(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}function d(t){return Array.isArray(t)?t:[t]}},1422:(t,e,n)=>{"use strict";n.d(e,{KV:()=>i,l$:()=>a});var r=n(8518);function i(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function a(t,e){return t.require(e)}t=n.hmd(t)},8007:(t,e,n)=>{"use strict";n.d(e,{Fv:()=>o,Qy:()=>s});var r=n(7597),i=n(535),a=n(360);function o(t,e=1/0,n=1/0){try{return c("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function s(t,e=3,n=102400){const r=o(t,e);return i=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(i))>n?s(t,e-1,n):r;var i}function c(t,e,o=1/0,s=1/0,l=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[u,d]=l;if(null===e||["number","boolean","string"].includes(typeof e)&&!(0,r.i2)(e))return e;const h=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":(0,r.Cy)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?`[Function: ${(0,a.$P)(e)}]`:"symbol"==typeof e?`[${String(e)}]`:"bigint"==typeof e?`[BigInt: ${String(e)}]`:`[object ${function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e)}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!h.startsWith("[object "))return h;if(e.__sentry_skip_normalization__)return e;if(0===o)return h.replace("object ","");if(u(e))return"[Circular ~]";const p=e;if(p&&"function"==typeof p.toJSON)try{return c("",p.toJSON(),o-1,s,l)}catch(t){}const _=Array.isArray(e)?[]:{};let f=0;const m=(0,i.Sh)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(f>=s){_[t]="[MaxProperties ~]";break}const e=m[t];_[t]=c(t,e,o-1,s,l),f++}return d(e),_}},535:(t,e,n)=>{"use strict";n.d(e,{$Q:()=>c,HK:()=>l,Jr:()=>f,Sh:()=>d,_j:()=>u,hl:()=>o,xp:()=>s,zf:()=>_});var r=n(8464),i=n(7597),a=n(7321);function o(t,e,n){if(!(e in t))return;const r=t[e],i=n(r);if("function"==typeof i)try{c(i,r)}catch(t){}t[e]=i}function s(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){const n=e.prototype||{};t.prototype=e.prototype=n,s(t,"__sentry_original__",e)}function l(t){return t.__sentry_original__}function u(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function d(t){if((0,i.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...p(t)};if((0,i.cO)(t)){const e={type:t.type,target:h(t.target),currentTarget:h(t.currentTarget),...p(t)};return"undefined"!=typeof CustomEvent&&(0,i.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return(0,i.kK)(t)?(0,r.Rt)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function p(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function _(t,e=40){const n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,a.$G)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");
2if(!(r.length>e))return t===n.length?r:(0,a.$G)(r,e)}return""}function f(t){return m(t,new Map)}function m(t,e){if((0,i.PO)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=m(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(m(t,e))})),r}return t}},360:(t,e,n)=>{"use strict";function r(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const r=[];for(const i of t.split("\n").slice(n)){if(i.length>1024)continue;const t=i.replace(/\(error: (.*)\)/,"$1");for(const n of e){const e=n(t);if(e){r.push(e);break}}}return function(t){if(!t.length)return[];let e=t;const n=e[0].function||"",r=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((t=>({...t,filename:t.filename||e[0].filename,function:t.function||"?"}))).reverse()}(r)}}function i(t){return Array.isArray(t)?r(...t):t}n.d(e,{$P:()=>o,Sq:()=>i,pE:()=>r});const a="<anonymous>";function o(t){try{return t&&"function"==typeof t&&t.name||a}catch(t){return a}}},7321:(t,e,n)=>{"use strict";n.d(e,{$G:()=>i,U0:()=>o,nK:()=>a});var r=n(7597);function i(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function a(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const r=t[e];try{n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},8823:(t,e,n)=>{"use strict";n.d(e,{Ak:()=>a,Bf:()=>c,Du:()=>o,t$:()=>s});var r=n(2343);const i=(0,n(1235).Rf)();function a(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function o(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function s(){if(!a())return!1;if(o(i.fetch))return!0;let t=!1;const e=i.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");
2n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=o(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}function c(){const t=i.chrome,e=t&&t.app&&t.app.runtime,n="history"in i&&!!i.history.pushState&&!!i.history.replaceState;return!e&&n}},6893:(t,e,n)=>{"use strict";n.d(e,{$2:()=>o,WD:()=>a,cW:()=>s});var r,i=n(7597);function a(t){return new s((e=>{e(t)}))}function o(t){return new s(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class s{__init(){this._state=r.PENDING}__init2(){this._handlers=[]}constructor(t){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),s.prototype.__init5.call(this),s.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new s(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new s(((e,n)=>{let r,i;return this.then((e=>{i=!1,r=e,t&&t()}),(e=>{i=!0,r=e,t&&t()})).then((()=>{i?n(r):e(r)}))}))}__init3(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,i.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},1170:(t,e,n)=>{"use strict";n.d(e,{Z1:()=>h,ph:()=>u,yW:()=>l});var r=n(1422),i=n(1235);t=n.hmd(t);const a=(0,i.Rf)(),o={nowSeconds:()=>Date.now()/1e3},s=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=a;if(t&&t.now)return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===s?o:{nowSeconds:()=>(s.timeOrigin+s.now())/1e3},l=o.nowSeconds.bind(o),u=c.nowSeconds.bind(c);let d;const h=(()=>{const{performance:t}=a;if(!t||!t.now)return void(d="none");const e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=i<e,s=t.timing&&t.timing.navigationStart,c="number"==typeof s?Math.abs(s+n-r):e;return o||c<e?i<=c?(d="timeOrigin",t.timeOrigin):(d="navigationStart",s):(d="dateNow",r)})()},1235:(t,e,n)=>{"use strict";function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>a,YO:()=>o,n2:()=>i});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function a(){return i}function o(t,e,n){const r=n||i,a=r.__SENTRY__=r.__SENTRY__||{};return a[t]||(a[t]=e())}},4965:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),a=n(3645),o=n.n(a)()(i());o.push([t.id,".accordion-item-crm.is-open .accordion-body{\n height: auto;\n}\n\n.accordion-item-crm.is-open .title-after{\n display: flex;\n}\n.accordion-item-crm.is-open .title-before{\n display: none;\n}\n\n.accordion-item-crm.is-open .accordion-item-content{\n opacity: 1;\n top: 0;\n}\n\n.accordion-body p{\n color: inherit;\n}\n",""]);const s=o},9661:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),a=n(3645),o=n.n(a)()(i());o.push([t.id,'.magic-bounce {\n\tanimation: magic-bounce-scale 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n[class*="Magic_w-variant-"].cta-fade {\n\topacity: 0.4;\n}\n\n@keyframes magic-bounce-scale {\n\t0% {\n\t\ttransform: scale(1);\n\t}\n\t40% {\n\t\ttransform: scale(1.01);\n\t}\n\t100% {\n\t\ttransform: scale(1);\n\t}\n}\n',""]);const s=o},5307:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),a=n(3645),o=n.n(a)()(i());o.push([t.id,'/* Tag color styling using CSS variable */\n[data-hp-tag].is-color-active {\n border-color: var(--tag-color) !important;\n}\n\n[data-hp-tag].is-color-active svg {\n color: var(--tag-color) !important;\n}\n\n[data-hp-tag].is-color-active-with-checkbox [checkbox] {\n border-color: var(--tag-color) !important;\n}\n\n[data-hp-tag].is-color-active-with-checkbox [checkbox] > div {\n border-color: var(--tag-color) !important;\n}\n\n/* Button gradient background */\n[data-button-type="signup"].has-gradient-background {\n background: var(--button-gradient);\n}\n\n[data-selectable-tags-grid] [data-button-type="signup"] {\n position: relative;\n}\n\n[data-selectable-tags-grid] [data-button-type="signup"]::before {\n content: "";\n position: absolute;\n background-color: var(--square-color);\n border-radius: 2px;\n z-index: -1;\n left: 50%;\n transform: translateX(-50%);\n top: 0;\n}\n\n[data-selectable-tag-wrapper][updated-expirence].is-active {\n border-color: hsla(240, 100.00%, 69.02%, 1.00);\n background-color: hsla(240, 100.00%, 93.00%, 1.00);\n color: hsla(240, 100.00%, 69.02%, 1.00);\n}\n\n[data-selectable-tag-wrapper][updated-expirence] [checkbox].is-checked {\n border-color: hsla(240, 100.00%, 69.02%, 1.00);\n background-color: hsla(240, 100.00%, 69.02%, 1.00);\n background-position: 50% 50%;\n background-size: auto;\n background-repeat: no-repeat;\n text-align: left;\n}\n\n[data-product-id="crm"] [data-selectable-tag-wrapper][updated-expirence].is-active {\n border-color: #00D2D2;\n background-color: #E1EFF2;\n color: #007F9B;\n}\n\n[data-product-id="crm"] [data-selectable-tag-wrapper][updated-expirence] [checkbox].is-checked {\n border-color: #00D2D2;\n background-color: #00D2D2;\n background-position: 50% 50%;\n background-size: auto;\n background-repeat: no-repeat;\n text-align: left;\n}\n\n.tag-animation::before {\n z-index: -1;
2\n width: 20px;\n height: 20px;\n animation: tagAnimation 0.5s 1;\n animation-fill-mode: both;\n}\n\n@keyframes tagAnimation {\n 0% {\n transform: translate(-50%, 0) rotate(24deg) scale(0.2);\n animation-timing-function: linear;\n }\n\n 25% {\n transform: translate(-50%, -18px) rotate(24deg) scale(1);\n animation-timing-function: ease-out;\n }\n\n 50% {\n transform: translate(-50%, -36px) rotate(24deg) scale(1);\n animation-timing-function: ease-in;\n }\n\n 100% {\n transform: translate(-50%, 0) rotate(0) scale(1);\n animation-timing-function: linear;\n }\n}\n\n/* Breathe animation for grid */\n[data-hp-tags-grid].breathe {\n animation: breathe 0.3s linear;\n}\n\n@keyframes breathe {\n 0%, 100% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.05);\n }\n}\n',""]);const s=o},1053:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),a=n(3645),o=n.n(a)()(i());o.push([t.id,'.loading-screen-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(255, 255, 255, 0.8);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: 1.125rem;\n z-index: 9999;\n text-align: center;\n opacity: 0;\n transition: opacity 0.3s ease;\n pointer-events: none;\n}\n\n.loading-screen-overlay.is-visible {\n opacity: 1;\n pointer-events: auto;\n}\n\n.loading-screen-content {\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}\n\n.loading-screen-image {\n max-width: 348px;\n max-height: 240px;\n height: auto;\n margin-bottom: 32px;\n}\n\n.loading-screen-text {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n font-size: 1.5rem;\n font-weight: 500;\n margin: 0;\n color: #333333;\n line-height: 1.3;\n}\n\n.loading-screen-text:first-of-type {\n margin-bottom: 8px;\n}\n\n/* Responsive adjustments */\n@media screen and (max-width: 768px) {\n .loading-screen-image {\n max-width: 250px;\n max-height: 180px;\n margin-bottom: 24px;\n }\n\n .loading-screen-text {\n font-size: 1.25rem;\n }\n}\n',""]);const s=o},7995:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),a=n(3645),o=n.n(a)()(i());o.push([t.id,".shake-button {\n animation: shakeAnimation 0.5s 1;\n animation-timing-function: ease-in-out;\n}\n\n@keyframes shakeAnimation {\n 0% {\n transform: scale(1);\n }\n\n 15% {\n transform: scale(1.05);\n }\n\n 35% {\n transform: scale(0.989);\n }\n\n 67.5% {\n transform: scale(1.005);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n",""]);const s=o},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,a){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},3096:(t,e,n)=>{var r="Expected a function",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),h=Object.prototype.toString,p=Math.max,_=Math.min,f=function(){return d.Date.now()};function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(m(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=o.test(t);return n||s.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError(r);return m(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),function(t,e,n){var i,a,o,s,c,l,u=0,d=!1,h=!1,v=!0;if("function"!=typeof t)throw new TypeError(r);function y(e){var n=i,r=a;return i=a=void 0,u=e,s=t.apply(r,n)}function b(t){return u=t,c=setTimeout(w,e),d?y(t):s}function E(t){var n=t-l;return void 0===l||n>=e||n<0||h&&t-u>=o}function w(){var t=f();if(E(t))return S(t);c=setTimeout(w,function(t){var n=e-(t-l);return h?_(n,o-(t-u)):n}(t))}
2function S(t){return c=void 0,v&&i?y(t):(i=a=void 0,s)}function k(){var t=f(),n=E(t);if(i=arguments,a=this,l=t,n){if(void 0===c)return b(l);if(h)return c=setTimeout(w,e),y(l)}return void 0===c&&(c=setTimeout(w,e)),s}return e=g(e)||0,m(n)&&(d=!!n.leading,o=(h="maxWait"in n)?p(g(n.maxWait)||0,e):o,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==c&&clearTimeout(c),u=0,i=l=a=c=void 0},k.flush=function(){return void 0===c?s:S(f())},k}(t,e,{leading:i,maxWait:e,trailing:a})}},8030:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var r=n(3379),i=n.n(r),a=n(7795),o=n.n(a),s=n(569),c=n.n(s),l=n(3565),u=n.n(l),d=n(9216),h=n.n(d),p=n(4589),_=n.n(p),f=n(4965),m={};m.styleTagTransform=_(),m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=h(),i()(f.Z,m);const g=f.Z&&f.Z.locals?f.Z.locals:void 0},7e3:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g});var r=n(3379),i=n.n(r),a=n(7795),o=n.n(a),s=n(569),c=n.n(s),l=n(3565),u=n.n(l),d=n(9216),h=n.n(d),p=n(4589),_=n.n(p),f=n(7995),m={};m.styleTagTransform=_(),m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=h(),i()(f.Z,m);const g=f.Z&&f.Z.locals?f.Z.locals:void 0},3379:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var a={},o=[],s=0;s<t.length;s++){var c=t[s],l=r.base?c[0]+r.base:c[0],u=a[l]||0,d="".concat(l," ").concat(u);a[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(p);else{var _=i(p,r);r.byIndex=s,e.splice(s,0,{identifier:d,updater:_,references:1})}o.push(d)}return o}function i(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var a=r(t=t||[],i=i||{});return function(t){t=t||[];for(var o=0;o<a.length;o++){var s=n(a[o]);e[s].references--}for(var c=r(t,i),l=0;l<a.length;l++){var u=n(a[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=c}}},569:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},1e3:(t,e,n)=>{"use strict";n.r(e),n.d(e,{CHECKBOX_SELECTED_CLASSNAME:()=>o,DATA_ATTRIBUTE_NAMES:()=>s,HP_TAGS_SELECTION:()=>r,SIGNUP_BUTTON_SELECTOR:()=>p,SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS:()=>h,SIGN_UP_BUTTON_TAG_ANIMATION_CLASS:()=>d,SQUARE_TAG_CSS_VAR_NAME:()=>c,TAG_CHECKBOX_SELECTOR:()=>a,TAG_IS_ACTIVE_CLASS:()=>l,TAG_IS_ACTIVE_CRM_CLASS:()=>u,USE_CASE_TYPE:()=>i});const r="hp_tags_selection",i="use-case",a="div[checkbox]",o="is-checked",s={USE_CASE:"data-use-case",CLUSTER:"data-cluster",TAG_COLOR:"data-tag-color",SELECTABLE_TAGS_GRID:"data-selectable-tags-grid",SELECTABLE_TAG:"data-selectable-tag-wrapper",PRODUCT_ID:"data-product-id",MAGIC_TAG:"data-magic-tag"},c="--square-color",l="is-active",u="is-active-crm",d="tag-animation",h="shake-button",p='[data-button-type="signup"]'},9402:(t,e,n)=>{"use strict";n.d(e,{T:()=>a,c:()=>i});var r=n(515);const i=({clusterId:t,type:e,attributionTime:n,source:r,extraData:i={}})=>({cluster_id:t,type:e,source:r,attribution_time:n,last_seen:n,...i}),a=t=>{localStorage.setItem(r.E,JSON.stringify(t))}},7099:(t,e,n)=>{"use strict";n.r(e),n.d(e,{addParamsToURL:()=>o,appendUrlParamsToBottomHref:()=>s,createUrlWithCurrentUtmParams:()=>u,getCurrentPageQueryParamsWithHash:()=>c,getLastPartOfUrl:()=>i,getUtmParamsFromCurrentUrl:()=>l,parseQueryStringToJSON:()=>a});var r=n(8274);const i=t=>{if(!t)return"";const e=(t=>(t=t||"").split("?")[0])(t),n=(t=>{try{return t?"/"===t?"/":t.endsWith("/")?t.slice(0,-1):t:t}catch{return t}})(e).lastIndexOf("/");return n?e.substring(n+1):e},a=t=>{try{const e={},n=new URLSearchParams(t);for(const[t,r]of n)e[t]=r;return e}catch{return{failed_to_parse:t}}},o=(t,e)=>{const n=new URL(t);return Object.entries(e).forEach((([t,e])=>{n.searchParams.append(t,e)})),n.toString()},s=t=>{const e=document.getElementById(t);if(e){const t=window.space?.spaceLink;if(!t)return;const n=new URL(t),r=new URLSearchParams(window.location.search);
2Array.from(r.entries()).forEach((([t,e])=>{n.searchParams.append(t,e)})),e.setAttribute("href",n.href)}},c=()=>{const t=window.location.href;return d(t)},l=()=>{const t=[r.UTM_SOURCE,r.UTM_MEDIUM,r.UTM_CAMPAIGN],e=new URLSearchParams(window.location.search),n={};return t.forEach((t=>{const r=e.get(t);r&&(n[t]=r)})),n},u=t=>{const e=l(),n=new URL(t);return Object.entries(e).forEach((([t,e])=>{n.searchParams.set(t,e)})),n},d=t=>{const e=new URL(t);let n=e.search;if(!n&&e.hash.includes("?")){const t=e.hash.split("?")[1];return t?"?"+t:""}return n}},1996:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ACCORDION_ITEM_CLICKED:()=>M,AGENT_BUILDER_11LABS_WIDGET_CLICKED:()=>j,AGENT_BUILDER_PROMPT_START_TYPING:()=>Y,AI_APP_BUILD_IT_CLICKED:()=>W,AI_APP_PROMPT_FIRST_TYPE:()=>Z,AI_APP_PROMPT_SUGGESTION_CLICKED:()=>K,AI_APP_REDIRECT_TO_SIGNUP:()=>q,CAMPAIGN_PRODUCT_COOKIE_ADDED:()=>B,CAROUSEL_ARROW_CLICKED:()=>U,CLICKED_SIGNUP_WITHOUT_INSERTING_EMAIL:()=>h,CONTACT_SALES_BUTTON_CLICKED:()=>p,CONTACT_SALES_SCROLL_TO_FORM_CLICKED:()=>_,DEPARTMENT_INDICATOR_CLICKED:()=>et,DOWNLOAD_APP_BUTTON_CLICKED:()=>f,DOWNLOAD_APP_BUTTON_NO_LINK_FOUND:()=>m,FOOTER_LINK_CLICK:()=>E,FREQUENTLY_ASKED_QUESTION_CLICK:()=>L,GOOGLE_ONE_TAP_DISMISSED:()=>$,GOOGLE_ONE_TAP_DISPLAYED:()=>z,GOOGLE_ONE_TAP_SKIPPED:()=>F,GOOGLE_ONE_TAP_SUCCESS:()=>H,GRID_TAG_CLICKED:()=>w,GRID_TAG_HOVERED:()=>S,HEADER_LINK_CLICKED:()=>R,HEADER_LOGO_CLICKED:()=>I,HEADER_SUBMENU_CLOSED:()=>x,HEADER_SUBMENU_LINK_CLICKED:()=>A,HEADER_SUBMENU_OPENED:()=>T,HUBSPOT_FORM_SUBMIT_FAILED:()=>Q,HUBSPOT_FORM_SUBMIT_SUCCESS:()=>X,INTERACTIVE_SELECTOR_ITEM_HOVERED:()=>P,INTERACTIVE_SELECTOR_ITEM_UNHOVERED:()=>G,LANGUAGE_PICKER_LANG_CHANGED:()=>nt,MAGIC_CTA_CLICKED:()=>g,MAGIC_TAG_CLICKED:()=>v,MAGIC_USER_TYPING:()=>y,PAGE_SCROLL_BY_PERCENTAGE:()=>k,QUALIFIED_CHATBOT_EVENT:()=>V,QUALIFIED_CHATBOT_LISTENER_FAILED:()=>J,REGULAR_BUTTON_CLICKED:()=>a,RETRIEVED_404_ERROR:()=>b,SCRIPT_LOADING_TIME:()=>i,SECONDARY_BUTTON_CLICKED:()=>o,SECONDARY_HEADER_ITEM_MENU_CLICKED:()=>N,SECONDARY_HEADER_LINK_CLICKED:()=>C,SECTION_VIEW:()=>tt,SIGNUP_FORM_SUBMIT:()=>d,SIGNUP_MAIN_CTA_CLICKED:()=>s,SIGNUP_START_FILL_EMAIL:()=>l,SIGNUP_SUBMIT_CLICK_WITH_EMAIL_ERROR:()=>u,SIGNUP_WITH_GOOGLE_CLICKED:()=>c,TAB_CLICKED:()=>O,TAB_HOVERED:()=>D,TRACK_EVENT:()=>r});const r="track",i="script_loading_time",a="regular_button_clicked",o="secondary_button_clicked",s="signup_main_cta_clicked",c="signup_with_google_clicked",l="signup_user_email_input_start_fill",u="signup_submit_click_with_email_error",d="signup_form_soft_signup",h="clicked_signup_without_inserting_email",p="contact_sales_button_clicked",_="contact_sales_scroll_to_form_clicked",f="download_app_button_clicked",m="download_app_button_no_link_found",g="magic_cta_clicked",v="magic_tag_clicked",y="magic_landing_page_start_prompt_typing",b="404_page_retrieved",E="footer_link_click",w="grid_tag_clicked",S="grid_tag_hovered",k="page_scroll_by_percentage",T="header_submenu_opened",x="header_submenu_closed",A="header_submenu_link_clicked",I="header_logo_clicked",R="header_link_clicked",C="secondary_header_link_clicked",N="secondary_header_item_menu_clicked",O="tab_clicked",D="tab_hovered",L="frequently_asked_question_clicked",U="carousel_click_arrow",M="accordion_item_clicked",P="interactive_selector_item_hovered",G="interactive_selector_item_unhovered",B="campaign_product_cookie_added",z="google_one_tap_displayed",F="google_one_tap_skipped",$="google_one_tap_dismissed",H="google_one_tap_success",Y="agent_builder_prompt_start_typing",j="agent_builder_11labs_widget_clicked",q="ai_app_redirect_to_signup",W="ai_app_build_it_clicked",K="ai_app_prompt_suggestion_clicked",Z="ai_app_prompt_first_type",V="qualified_chatbot_event",J="qualified_chatbot_listener_failed",X="hubspot_form_submit_success",Q="hubspot_form_submit_failed",tt="section_view",et="department_indicator_clicked",nt="language_picker_language_changed"},515:(t,e,n)=>{"use strict";n.d(e,{E:()=>i,j:()=>r});const r="cluster",i="clusters"},5446:t=>{t.exports={LAST_ACCOUNT_SLUG:"dapulseLastLoginAccount",PLATFORM_PRICING_VERSION_COOKIE:"monday_pricing_version",CAMPAIGN_PRODUCT_COOKIE:"campaign_product",SIGNUP_PRODUCT_COOKIE_NAME:"sign_up_product_kind"}},7865:(t,e,n)=>{"use strict";n.d(e,{x:()=>r});const r={IN_PAGE_AB_TEST_EVENT_NAME:"inPageAbTest",SIGNUP_WITH_GOOGLE_CLICKED:"signupWithGoogleClicked",SIGNUP_CLICKED:"signupClicked"}},231:(t,e,n)=>{"use strict";n.r(e),n.d(e,{CONTACT_SALES_PAGE_LINK:()=>p,MICRO_FRONTENDS_DOMAIN:()=>l,MONDAY_PRODUCTION_URL:()=>i.MONDAY_PRODUCTION_URL,MONDAY_STAGING_URL:()=>i.MONDAY_STAGING_URL,ONELINK_MOBILE_APP_URL:()=>_,SIGNUP_CLOUDINARY_ASSETS_DIRECTORY:()=>h,SIGNUP_MF_NAME:()=>u,getNewSoftSignupLink:()=>s,getPlatformAddSolutionLink:()=>a,getPlatformManifestUrl:()=>d,getSignupWithGoogleLink:()=>c,getVerifyEmailLink:()=>o});var r=n(1145),i=n(6288);const a=t=>(0,i.getAuthUrl)(`/solutions/add_solution?solution_id=${t}`),o=()=>(0,i.getAuthUrl)("/verify_email"),s=()=>(0,i.getAuthUrl)("/users/sign_up_new"),c=()=>(0,i.getAuthUrl)("/users/sessions/oauth2_login?new_account=true&oauth2_provider=google_oauth2_provider"),l="https://microfrontends.monday.com",u="mf-platform-signup",d=()=>(0,i.getAuthUrl)("/layout/get_bundles_data"),h=`${r.uA}/image/upload/monday_platform/signup`,p="/sales/contact-us",_="https://mndyt.onelink.me/iaiX/h5uy17aw"},8841:(t,e,n)=>{"use strict";n.d(e,{C7:()=>i,Pl:()=>a,Tf:()=>r,VX:()=>s,XW:()=>o,Z0:()=>c,b3:()=>u,lP:()=>l});const r="signup_referrer",i="landing_page",a="utm_adgroup",o="utm_banner",s="utm_campaign",c="utm_keyword",l="utm_medium",u="utm_source"},1560:(t,e,n)=>{},8274:t=>{t.exports={ACTIVE_TAB_ID:"ati",MARKETING_CAMPAIGN:"marketing_campaign",UTM_CAMPAIGN:"utm_campaign",UTM_SOURCE:"utm_source",UTM_MEDIUM:"utm_medium"}},3686:(t,e,n)=>{const{ELEVAN_LABS_WIDGET_SELECTOR:r}=n(481),{trackEvent:i}=n(3960),{AGENT_BUILDER_11LABS_WIDGET_CLICKED:a}=n(1996),o=document.querySelectorAll(r),s=t=>{t&&t.addEventListener("click",(()=>{i(a)}))};for(const t of o)t&&s(t)},481:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ELEVAN_LABS_WIDGET_SELECTOR:()=>r});const r=".eleven-labs-widget"},7526:(t,e,n)=>{const{AGENT_BUILDER_SELECTOR:r,AGENT_BUILDER_TEXTAREA_TAG:i}=n(7690),{trackEvent:a}=n(3960),{AGENT_BUILDER_PROMPT_START_TYPING:o}=n(1996),s=document.querySelectorAll(r);for(const t of s){const e=t.querySelector(i);e&&(c=e)&&c.addEventListener("input",(()=>{a(o)}),{once:!0})}var c},7690:(t,e,n)=>{"use strict";n.r(e),n.d(e,{AGENT_BUILDER_SELECTOR:()=>r,AGENT_BUILDER_TEXTAREA_TAG:()=>i});const r="[data-agent-creation]",i="textarea"},8759:(t,e,n)=>{"use strict";n.r(e),n.d(e,{DATA_AGENT_SLUG_ATTRIBUTE:()=>s,DATA_CLUSTER_ATTRIBUTE:()=>o,SIGNUP:()=>i,getDefaultSignupLink:()=>a});var r=n(6288);const i="sign-up",a=()=>(0,r.getAuthUrl)("/users/sign_up_new?source=web_main&origin=hp_fullbg_page_header"),o="data-cluster",s="data-agent-slug"},7071:(t,e,n)=>{"use strict";n.r(e),n.d(e,{initiateSignUpButton:()=>z});var r=n(3960),i=n(1996),a=n(231),o=n(8016);const s=class{validate(t){}apply(t){}};var c=n(3642);const l="marketing-ai-onboarding-flow";new class extends s{validate(t){return t&&t[l]}
2apply(t){t.then((t=>{t&&t[l]&&(0,c.sN)(l,!0)}))}};const u="land-on-agents-template-store";new class extends s{validate(t){return t&&t[u]}apply(t){t.then((t=>{t&&t[u]&&(0,c.sN)(u,!0)}))}};const d="custom-flow-value";new class extends s{validate(t){return t&&t[d]}apply(t){t.then((t=>{t&&t[d]&&(0,c.sN)(d,t[d])}))}};var h=n(515),p=n(9402);var _=n(7099),f=n(9579),m=n(5446),g=n(6288),v=n(4487);const y=t=>{return`${e=b(),`//${e}.${(0,g.getHostingDomain)()}`}${t}`;var e},b=()=>(0,f.ej)(m.LAST_ACCOUNT_SLUG),E=()=>{try{return Boolean((0,f.ej)(m.PLATFORM_PRICING_VERSION_COOKIE)&&b())}catch(t){return v.Tb(t),!1}};var w=n(8759),S=n(4395),k=n(8841);function T(){try{const t={clusters:JSON.parse(localStorage.getItem(k.CLUSTERS)),signupCampaignData:{utm_adgroup:JSON.parse(localStorage.getItem(k.Pl)),utm_banner:JSON.parse(localStorage.getItem(k.XW)),utm_campaign:JSON.parse(localStorage.getItem(k.VX)),utm_keyword:JSON.parse(localStorage.getItem(k.Z0)),utm_medium:JSON.parse(localStorage.getItem(k.lP)),utm_source:JSON.parse(localStorage.getItem(k.b3)),signup_referrer:JSON.parse(localStorage.getItem(k.Tf)),landing_page:JSON.parse(localStorage.getItem(k.C7))}};window.parent.postMessage(JSON.stringify(t),(0,g.getParentTargetOrigin)())}catch{}}const x="progress-spinner",A="hidden",I=(t,e,n,r)=>{const i=document.createElement("style");i.innerHTML=((t,e,n,r)=>`\n\t${t} .${e} {\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\twidth: 24px;\n\t\theight: 24px;\n\t}\n\t\n\t${t} .${e} div {\n\t\tposition: absolute;\n\t\twidth: 5.84px;\n\t\theight: 2px;\n\t\tbackground: ${r||"rgb(255, 255, 255)"};\n\t\tbox-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px;\n\t\tborder-radius: 1px;\n\t\topacity: 0.25;\n\t\tanimation: fade 1s linear infinite;\n\t}\n\t\n\t${Array.from({length:n}).map(((n,r)=>((t,e,n)=>`\n\t${t} .${e} div:nth-child(${n+1}) {\n\t\ttransform: translate(-50%, -50%) rotate(${30*n}deg) translate(10px, 0px);\n\t\tanimation-delay: ${.083*n}s;\n\t}\n`)(t,e,r))).join("\n")}\n\t\n\t@keyframes fade {\n\t\t0%, 39%, 100% {\n\t\t\topacity: 0.25;\n\t\t}\n\t\t40% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n`)(t,e,n,r),document.head.appendChild(i)};var R=n(7865),C=n(4156);const N=async t=>{const e=t.getAttribute("data-product-id");return e?Promise.resolve(e):(0,c.$G)(c.nm)},O=()=>document.querySelector("[data-vibe-input]")?.value?.trim()||"",D=t=>"true"===t?.getAttribute("data-vibe-save-input"),L=document.querySelector("[data-vibe-input]");if(document.querySelectorAll("[data-vibe-suggestion]").forEach((t=>{t.addEventListener("click",(e=>{const n=t.getAttribute("data-tag-prompt");n&&L&&(L.value=n,L.dispatchEvent(new Event("input",{bubbles:!0}))),(0,r.trackEvent)(i.AI_APP_PROMPT_SUGGESTION_CLICKED,{placement:window.location.pathname,info1:e.target.innerText,info3:t?.innerText})}))})),L){const t=()=>{(0,r.trackEvent)(i.AI_APP_PROMPT_FIRST_TYPE,{placement:window.location.pathname}),L.removeEventListener("input",t)};L.addEventListener("input",t)}const U=async t=>{const e=t.getAttribute("data-signup-flow");return Promise.resolve(e)},M='[data-button-type="signup"]',P=async t=>{const e=t.getAttribute("data-solution-id");return e?Promise.resolve(e):(0,c.$G)(c.V2)},G={vibe:(t,e)=>{(t=>{const e=D(t)?O():"";localStorage.setItem("vibe_initial_prompt",e),e?(0,f.d8)("hasVibeInitialPrompt","true",{expires:30/1440,domain:(0,g.getHostingDomain)()}):(0,f.nJ)("hasVibeInitialPrompt",{domain:(0,g.getHostingDomain)()})})(t),((t,e)=>{let n="signup_button";D(t)&&(n="build_it",(0,r.trackEvent)(i.AI_APP_BUILD_IT_CLICKED,{info1:"redirect_to_signup",info2:e.target.innerText,info3:O()?.length,kind:t?.innerText,placement:window.location.pathname})),(0,r.trackEvent)(i.AI_APP_REDIRECT_TO_SIGNUP,{placement:n,info1:e.target.innerText,info2:window.location.pathname,info3:O()?.length>0?"prompt":"no_prompt",kind:t?.innerText})})(t,e)}},B=(0,S.d6)(),z=async(t,e)=>{const n=t.getAttribute("data-existing-account-url-override"),s=E();if(t.addEventListener("click",(async n=>{((t,e,n=3e3)=>{const r=t.getAttribute("data-spinner-color"),i=window.getComputedStyle(t).color,a=((t,e)=>{const n=document.createElement("div");n.classList.add(x);for(let t=0;t<12;t++){const t=document.createElement("div");n.appendChild(t)}return I(t,x,12,e),n})(e,r||i),o=(t=>{const e=[];return t.querySelectorAll("*").forEach((t=>{t.style.visibility!==A&&(e.push(t),t.style.visibility=A)})),e})(t);t.style.pointerEvents="none",t.style.position="relative",t.appendChild(a),setTimeout((()=>{a.remove(),t.style.pointerEvents="",o.forEach((t=>{t.style.visibility="visible"}))}),n)})(t,M),(t=>{const e=t.getAttribute(w.DATA_CLUSTER_ATTRIBUTE),n=e?[e]:(0,c.$G)("cluster
2s");if(!n?.length)return;const r=(new Date).getTime(),i=n.map((t=>(0,p.c)({clusterId:t,type:h.j,source:w.SIGNUP,attributionTime:r})));localStorage.setItem(h.E,JSON.stringify(i))})(t);const a=await U(t);a&&G[a]?.(t,n);const o=await N(t);(0,r.trackEvent)(i.SIGNUP_MAIN_CTA_CLICKED,{placement:window.location.pathname,kind:w.SIGNUP,info1:e,info2:n.target.innerText,info3:t?.innerHTML,source:r.BIGBRAIN_EVENT_SOURCE,data:{signupProductId:o,selectedProduct:o,signupFlowId:a,agentSlug:t.getAttribute(w.DATA_AGENT_SLUG_ATTRIBUTE)}},n),(0,C.k)(R.x.SIGNUP_CLICKED),T()})),s){const e=t.getAttribute("data-existing-account-cta-override");if(e&&!B){const n=t.querySelector("[data-signup-button-text]")||Array.from(t.children).find((t=>t.textContent?.trim()));n&&(n.innerHTML=e)}if(n)return void(t.href=y(n));const r=t.getAttribute(w.DATA_AGENT_SLUG_ATTRIBUTE);if(r)return t.href=y("/ai_agents/new"),void(t.href=(0,_.addParamsToURL)(t.href,{agent_slug:r}))}const g=(0,f.ej)(m.CAMPAIGN_PRODUCT_COOKIE);let v=(0,w.getDefaultSignupLink)();const b=(t=>{const e=t.getAttribute("data-cluster-id");if(e)return e})(t);b&&(v=(0,_.addParamsToURL)(v,{cluster:b})),t.href=v,Promise.all([N(t),P(t),U(t)]).then((([e,n,r])=>{e?t.href=(0,o.DQ)(e,n,r):r?t.href=(0,o.Wo)(r):n?t.href=(0,a.getPlatformAddSolutionLink)(n):g&&(t.href=(0,o.DQ)(g)),(0,c.$G)(l)&&(t.href=(0,_.addParamsToURL)(t.href,{[o.av]:o.PF})),(0,c.$G)(u)&&(t.href=(0,_.addParamsToURL)(t.href,{[o.av]:o.rN}));const i=(0,c.$G)(d);i&&(t.href=(0,_.addParamsToURL)(t.href,{[o.av]:i}));const s=t.getAttribute(w.DATA_AGENT_SLUG_ATTRIBUTE);s&&(t.href=(0,_.addParamsToURL)(t.href,{agent_slug:s}))}))},F=()=>{document.querySelectorAll(M).forEach((async(t,e)=>{await z(t,e)}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",F):F();var $=n(7543);const H=t=>{const e=t||(0,$.fetchUserAgent)();return(0,$.isMobileOrTabletViewer)(e)},Y=t=>{let e="",n="";return((t=>{const e=t||(0,$.fetchUserAgent)();return(0,$.isFacebookViewer)(e)})(r)||(t=>{const e=t||(0,$.fetchUserAgent)();return(0,$.isInstagramViewer)(e)})(r))&&(t=>{const e=(0,$.fetchUserAgent)();return(0,$.isAndroidViewer)(e)})()&&(e="intent:https:",n="#Intent;end"),`${e}${t}${n}`;var r};document.querySelectorAll('[data-button-type="google-connect"]').forEach((t=>{t.addEventListener("click",(t=>{t.preventDefault(),(0,r.trackEvent)(i.SIGNUP_WITH_GOOGLE_CLICKED,{},t),(0,C.k)(R.x.SIGNUP_WITH_GOOGLE_CLICKED),window.location.href=Y((0,a.getSignupWithGoogleLink)())}))}));const j=()=>{document.querySelectorAll('[data-button-type="regular"]').forEach(((t,e)=>{((t,e)=>{const n=t.getAttribute("data-existing-account-url-override"),a=E();if(t.addEventListener("click",(t=>{(0,r.trackEvent)(i.REGULAR_BUTTON_CLICKED,{kind:t.target.innerText,info2:t.target.href,info3:(0,_.getLastPartOfUrl)(t.target.href),source:r.BIGBRAIN_EVENT_SOURCE,data:{index:e}},t)}
2)),t.getAttribute("data-send-query-params")){const e=window.location.search;t.href=`${t.href}${e}`}a&&n&&(t.href=y(n))})(t,e)}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",j):j();const q=document.querySelectorAll('[data-button-type="secondary"]');for(let t of q)if(t.addEventListener("click",(e=>{(0,r.trackEvent)(i.SECONDARY_BUTTON_CLICKED,{kind:e.target.innerText,info2:e.target.href,info3:(0,_.getLastPartOfUrl)(e.target.href),source:r.BIGBRAIN_EVENT_SOURCE,data:{identifier:t.getAttribute("data-event-identifier")}},e)})),t.getAttribute("data-send-query-params")){const e=window.location.search;t.href=`${t.href}${e}`}document.querySelectorAll('[data-button-type="homepage-contact-sales"]').forEach(((t,e)=>{t.href&&!t.href.endsWith("#")||(t.href=a.CONTACT_SALES_PAGE_LINK),t.addEventListener("click",(t=>{(0,r.trackEvent)(i.CONTACT_SALES_BUTTON_CLICKED,{info1:e,info2:t.target.href,kind:t.target.innerText,source:r.BIGBRAIN_EVENT_SOURCE},t)}))})),document.querySelectorAll('[data-button-type="contact-sales-scroll-to-form"]').forEach((t=>{t.addEventListener("click",(t=>{(0,r.trackEvent)(i.CONTACT_SALES_SCROLL_TO_FORM_CLICKED,{})}))}));class W{constructor(){return W.instance||(this.userAccount=this._getLastUsedAccount(),W.instance=this,Object.freeze(W.instance)),W.instance}_getLastUsedAccount(){return(0,f.ej)("dapulseLastLoginAccount")}updateUserAccount(){return this.userAccount=this._getLastUsedAccount(),this.userAccount}}const K=new W;document.querySelectorAll("[data-account-slug-url]").forEach((t=>{(t=>{const e=t.getAttribute("data-account-slug-url"),n=t.getAttribute("href");e&&n&&(t.href=((t,e)=>{const n=K.userAccount;return n?t.replace("{{accountSlug}}",n):e})(e,n))})(t)}));const Z=["go.onelink.me","mndyt.onelink.me","app.appsflyer.com","onelink.me"],V=t=>{t.classList.add("af-smart-button"),t.addEventListener("click",(t=>{t.preventDefault();const e=(()=>{const t=window?.AF_SMART_SCRIPT_RESULT?.clickURL||"";return t&&(t=>{if(!t||"string"!=typeof t)return!1;try{const e=new URL(t);return"https:"===e.protocol&&Z.some((t=>e.hostname===t||e.hostname.endsWith(`.${t}`)))}catch{return!1}})(t)?t:((0,r.trackEvent)(i.DOWNLOAD_APP_BUTTON_NO_LINK_FOUND),"")})(),n=H()?"mobile":"desktop";e?((0,r.trackEvent)(i.DOWNLOAD_APP_BUTTON_CLICKED,{kind:n,info1:e,source:r.BIGBRAIN_EVENT_SOURCE},t),window.open(e,"_self")):((0,r.trackEvent)(i.DOWNLOAD_APP_BUTTON_CLICKED,{kind:n,info1:H()?a.ONELINK_MOBILE_APP_URL:"/",source:r.BIGBRAIN_EVENT_SOURCE},t),H()?window.open(a.ONELINK_MOBILE_APP_URL,"_self"):window.open("/","_self"))}))},J=()=>{document.querySelectorAll('[data-button-type="download-app"]').forEach(V)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",J):J();const X={new_signup_mobile:1,origin:"hp_fullbg_page_header",source:"web_main"},Q="sign-up";document.querySelectorAll('[data-element-type="signup-email-form"]').forEach((t=>{const e=(0,_.addParamsToURL)((0,a.getVerifyEmailLink)(),X);t.setAttribute("action",e),t.setAttribute("data-origin",X.origin);const n=t.querySelector('input[name="email"]');n&&(n.setAttribute("pattern","^[A-Z0-9a-z._%+\\-]+@[A-Za-z0-9.\\-]+.[A-Za-z]{2,63}$"),n.setAttribute("title","Please enter a valid email address. Example: [email protected]")),t.addEventListener("submit",(e=>{e.preventDefault();const n=t.querySelector('[data-element-type="privacy-policy-disclosure"]'),a=t.querySelector('input[type="submit"]')?.value||"";n&&(0,f.d8)("new_mobile_flow_config","true",{expires:30,domain:(0,g.getHostingDomain)()}),(0,r.trackEvent)(i.SIGNUP_FORM_SUBMIT,{kind:Q},e),(0,r.trackEvent)(i.SIGNUP_MAIN_CTA_CLICKED,{kind:Q,info2:a},e),(0,C.k)(R.x.SIGNUP_CLICKED,{click_text:a}),T(),(0,o.Xi)(),t.submit()})),n?.addEventListener("input",(t=>{(0,r.trackEvent)(i.SIGNUP_START_FILL_EMAIL,{kind:Q},t)}),{once:!0}),n?.addEventListener("invalid",(t=>{const e=n.value?i.SIGNUP_SUBMIT_CLICK_WITH_EMAIL_ERROR:i.CLICKED_SIGNUP_WITHOUT_INSERTING_EMAIL;(0,r.trackEvent)(e,{info1:n.value||"",kind:Q},t)}))}));const tt=()=>{const t=document.querySelectorAll('[data-button-type="login"]');if(0===t.length)return;const e=(0,g.getAuthUrl)("/login"),n=E();t.forEach((t=>{n?t.style.display="none":t.href=e}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",tt):tt()},3194:(t,e,n)=>{const{CAROUSEL_SELECTOR:r,ARROW_ATTRIBUTE:i}=n(6810),{trackEvent:a}=n(3960),{CAROUSEL_ARROW_CLICKED:o}=n(1996),s=document.querySelectorAll(r),c=(t,e)=>a(o,{info3:t.getAttribute(i)},e);for(const t of s)t.addEventListener("click",(t=>{const e=t.target.closest(`[${i}]`);e&&c(e,t)}))},6810:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ARROW_ATTRIBUTE:()=>i,CAROUSEL_SELECTOR:()=>r});const r="[data-carousel]",i="data-arrow"},6136:(t,e,n)=>{"use strict";n.r(e),n.d(e,{DEPARTMENT_INDICATOR_SELECTOR:()=>r});const r="[department-indicator]"},5143:(t,e,n)=>{const{DEPARTMENT_INDICATOR_SELECTOR:r}=n(6136),{trackEvent:i}=n(3960),{DEPARTMENT_INDICATOR_CLICKED:a}=n(1996);document.querySelectorAll(r).forEach(((t,e)=>{t.addEventListener("click",(n=>{i(a,{kind:t.innerText,info1:e},n)}))}))},9021:(t,e,n)=>{"use strict";n.r(e),n.d(e,{A_TAG:()=>h,HEADER_ITEM_MENU_SELECTOR:()=>c,HEADER_LINK_SELECTOR:()=>u,HEADER_LOGO_SELECTOR:()=>l,HEADER_SELECTOR:()=>r,IS_OPEN_CLASS_NAME:()=>p,LINK_ITEM_WITH_MENU_SELECTOR:()=>
2o,LINK_ITEM_WITH_MENU_TEXT_SELECTOR:()=>s,MENU_TEXT_TO_MENU_ID:()=>f,OPEN_MENU_SELECTOR:()=>_,SECONDARY_HEADER_ITEM_MENU_SELECTOR:()=>a,SECONDARY_HEADER_LINK_SELECTOR:()=>i,SUB_MENU_LINK_SELECTOR:()=>d});const r="[data-header]",i="[data-secondary-header-link]",a="[data-secondary-header-item-menu]",o="[data-link-item-with-menu]",s="[data-link-item-text]",c="[data-header-item-menu]",l="[data-header-logo]",u="[data-header-link]",d="[data-header-sub-menu-link]",h="a",p="is-open",_=`${o}.${p}`,f={Products:"solutions",Teams:"teams",Platform:"platform",Resources:"resources"}},3133:(t,e,n)=>{const{HEADER_SELECTOR:r,LINK_ITEM_WITH_MENU_SELECTOR:i,MENU_TEXT_TO_MENU_ID:a,HEADER_ITEM_MENU_SELECTOR:o,SUB_MENU_LINK_SELECTOR:s,LINK_ITEM_WITH_MENU_TEXT_SELECTOR:c,HEADER_LOGO_SELECTOR:l,A_TAG:u,HEADER_LINK_SELECTOR:d,SECONDARY_HEADER_LINK_SELECTOR:h,SECONDARY_HEADER_ITEM_MENU_SELECTOR:p,IS_OPEN_CLASS_NAME:_,OPEN_MENU_SELECTOR:f}=n(9021),{HEADER_SUBMENU_OPENED:m,HEADER_SUBMENU_CLOSED:g,HEADER_SUBMENU_LINK_CLICKED:v,HEADER_LOGO_CLICKED:y,HEADER_LINK_CLICKED:b,SECONDARY_HEADER_LINK_CLICKED:E,SECONDARY_HEADER_ITEM_MENU_CLICKED:w}=n(1996),{trackEvent:S}=n(3960),{getEventType:k}=n(6094),T=document.querySelector(r);let x=null;const A=(t=x)=>t?.querySelector(c)?.innerText,I=(t=x)=>a[A(t)],R=[[h,t=>{const e=t.target.closest(h);e&&S(E,{kind:e.href,info2:e.innerText})}],[p,t=>{const e=t.target.closest(p);e&&S(w,{kind:e.innerText})}],[l,t=>{S(y,{kind:t.target.closest(u)?.href})}],[d,t=>{const e=t.target.closest(u);e&&S(b,{kind:e.href,info2:e.innerText})}],[o,t=>{const e=t.target.closest(s);e&&S(v,{kind:e.href,info1:k(t),info2:I()})}],[i,t=>{const e=t.target.closest(i);if(!e)return;const n=e.querySelector(c)?.innerText,r=A(),a=null===x||r!==n;S(a?m:g,{kind:n}),x=a?e:null}]];T?.addEventListener("click",(t=>{for(const[e,n]of R)if(t.target.closest(e))return void n(t)})),document.addEventListener("click",(t=>{const e=document.querySelector(f);if(e&&!e.contains(t.target)){const t=e.querySelector(c)?.innerText,n=a[t];S(g,{kind:n??t}),e.classList.remove(_),x=null}}))},1352:(t,e,n)=>{const{MAGIC_CTA_CLICKED:r}=n(1996),{trackEvent:i}=n(3960),{isStaging:a}=n(6288),{MONDAY_STAGING_URL:o,MONDAY_PRODUCTION_URL:s}=n(231),{createUrlWithCurrentUtmParams:c}=n(7099),{DATA_ATTRIBUTE_NAMES:l}=n(1e3);t.exports={hasMagicTags:t=>t.some((t=>t.hasAttribute(l.MAGIC_TAG))),handleMagicTagsNavigation:t=>{const e=t.map((t=>t.innerText));i(r,{info1:window.location.href,data:{selectedTags:e}});const n=`https://${a()?o:s}/magic`,l=c(n);window.location.href=l.toString()}}},4922:(t,e,n)=>{"use strict";n.r(e),n.d(e,{DATA_HERO_SECTION_SELECTION:()=>o,DATA_HERO_TAGS_BUTTON_SELECTOR:()=>i,DATA_TABS_BUTTONS_SELECTOR:()=>a,HERO_TABS_SELECTOR:()=>r,SCROLL_OFFSET:()=>s});const r="[data-hero-tabs]",i="[data-tabs-buttons='hero']",a="[data-tabs-buttons='tabs']",o="[data-hero-section]",s=224},2439:(t,e,n)=>{n(7e3);const{SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS:r}=n(1e3),{HERO_TABS_SELECTOR:i,DATA_TABS_BUTTONS_SELECTOR:a,DATA_HERO_TAGS_BUTTON_SELECTOR:o,DATA_HERO_SECTION_SELECTION:s,SCROLL_OFFSET:c}=n(4922),{getSelectedTabDataFromEvent:l,pushTabClusterToLocalStorage:u}=n(1609),{trackEvent:d}=n(3960),{TAB_CLICKED:h}=n(1996),{DATA_CLUSTER_ATTRIBUTE:p}=n(8759),{initiateSignUpButton:_}=n(7071),f="data-product-id";document.querySelectorAll(s).forEach((t=>{const e=t.querySelectorAll(i),n=t.querySelector(o),s=t.querySelectorAll(a),m=(t,e)=>{n&&(e&&n.setAttribute(p,e),t?(n.setAttribute(f,t),_(n,0)):(n.removeAttribute(f),_(n,0)))},g=t=>{t?.classList.remove(r),t.offsetWidth,t?.classList.add(r)},v=t=>{if(!t)return;const e=document.getElementById(t);if(!e)return;const n=e.getBoundingClientRect().top+window.pageYOffset-c;window.scrollTo({top:n,behavior:"smooth"})};for(let t of e)t.addEventListener("click",(t=>{const e=l(t,i);if(!e)return;const{tabIndex:r,tabText:a,tabProduct:o,tabCluster:c,scrollTarget:p}=e;d(h,{kind:a,info1:r}
2,t),u(c),s.forEach((t=>{g(t)})),g(n),m(o,c),v(p)}))}))},653:(t,e,n)=>{"use strict";n.r(e),n.d(e,{HOVERABLE_TAB_SELECTOR:()=>r});const r="[data-hoverable-tabs]"},8634:(t,e,n)=>{const{HOVERABLE_TAB_SELECTOR:r}=n(653),{trackEvent:i}=n(3960),{TAB_HOVERED:a}=n(1996),{getSelectedTabDataFromEvent:o}=n(1609),s=document.querySelectorAll(r);for(let t of s)t.addEventListener("mouseover",(t=>{const e=o(t);if(!e)return;const{tabIndex:n,tabText:r}=e;i(a,{kind:r,info1:n},t)}))},8933:(t,e,n)=>{"use strict";n.r(e),n.d(e,{TABS_SELECTOR:()=>r});const r="[data-tabs]"},7376:(t,e,n)=>{const{TABS_SELECTOR:r}=n(8933),{trackEvent:i}=n(3960),{TAB_CLICKED:a}=n(1996),{getSelectedTabDataFromEvent:o,pushTabClusterToLocalStorage:s}=n(1609),{ACTIVE_TAB_ID:c}=n(8274),{parseQueryStringToJSON:l}=n(7099),u=n(3646),d=document.querySelectorAll(r);for(let t of d)t.addEventListener("click",(t=>{const e=o(t);if(!e)return;const{tabIndex:n,tabText:r,tabCluster:c}=e;i(a,{kind:r,info1:n},t),s(c)}));const h=()=>{try{const t=l(window.location.search)?.[c];if(t){const e=document.querySelector(`[data-tab-id="${t}"]`);e&&setTimeout((()=>e.click()),0)}}catch(t){u.captureException(t),u.captureMessage(`regular-tabs.js: failed to set initial tab: ${t.message}`)}return 0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",h):h()},1609:(t,e,n)=>{"use strict";n.r(e),n.d(e,{getSelectedTabDataFromEvent:()=>c,pushTabClusterToLocalStorage:()=>l});const r="[data-tab]";var i=n(8933),a=n(8759),o=n(515),s=n(9402);const c=(t,e=i.TABS_SELECTOR)=>{const n=t.target.closest(r);if(!n)return;const o=((t,e)=>{const n=t.closest(e);return n?Array.from(n.querySelectorAll(r)).findIndex((e=>e===t)):-1})(n,e);return{tabIndex:o,tabText:n.innerText,tabProduct:n.getAttribute("data-tab-product"),tabCluster:n.getAttribute(a.DATA_CLUSTER_ATTRIBUTE),scrollTarget:n.getAttribute("data-tab-scroll-target")}},l=t=>{if(!t)return;const e=(0,s.c)({clusterId:t,type:o.j,source:"tab_cluster_selection",attributionTime:(new Date).getTime()});(0,s.T)([e])}},6094:(t,e,n)=>{"use strict";n.r(e),n.d(e,{getEventType:()=>r});const r=t=>(t=>0===t?.screenX&&0===t?.screenY)(t)?"keyboard":"mouse"},3960:(t,e,n)=>{"use strict";n.r(e),n.d(e,{BB_VISITOR_ID_COOKIE_NAME:()=>c,BIGBRAIN_EVENT_SOURCE:()=>o,BIGBRAIN_WEBSITE_GROUP:()=>s,EVID_QUERY_STRING_NAME:()=>l,storeVisitorId:()=>u,trackEvent:()=>d});var r=n(1996),i=n(9579),a=n(1697);const o="website_webflow",s="website",c="bb_visitor_id",l="evid",u=()=>{window[c]=(0,i.Do)(c)},d=(t,e={},n=null)=>{const i=((t={},e=null)=>{const n=parseInt((new Date).getTime()/1e3),r=t.source||o,i=t.group||s,c=e?.target?(0,a.ZF)(e.target):-1,l=e?.target?(0,a.YR)(e.target):null,{data:u,...d}=t;return{timestamp:n,source:r,group:i,...d,data:{...c>=0&&{sectionIndex:c},...l&&{sectionId:l},...u||{}}}})(e,n);window.BigBrain?window.BigBrain(r.TRACK_EVENT,t,i):console.log("Missing BigBrain in window",i)}},9579:(t,e,n)=>{"use strict";n.d(e,{Do:()=>a,d8:()=>o,ej:()=>i,nJ:()=>s});var r=n(1955);const i=t=>r.Z.get(t),a=t=>document.cookie.split("; ").find((e=>e.startsWith(`${t}=`)))?.split("=")[1],o=(t,e,n={})=>{r.Z.set(t,e,n)},s=(t,e={})=>{r.Z.remove(t,e)}},4156:(t,e,n)=>{"use strict";n.d(e,{k:()=>r});const r=(t,e={})=>{if(!window.dataLayer)return;const n={...e,event:t};window.dataLayer.push(n)}},1145:(t,e,n)=>{"use strict";n.d(e,{Fx:()=>a,uA:()=>i});var r=n(1697);n(1560);const i="https://dapulse-res.cloudinary.com",a=()=>{const t=(0,r.b3)("https://monday.com/homepage-shared-scripts/main/body.bundle.js");document.body.appendChild(t)}},6288:(t,e,n)=>{"use strict";n.r(e),n.d(e,{MONDAY_PRODUCTION_URL:()=>r,MONDAY_STAGING_URL:()=>i,configureSite:()=>o,getAuthUrl:()=>u,getHostingDomain:()=>s,getParentTargetOrigin:()=>d,isProduction:()=>l,isStaging:()=>c});const r="monday.com",i="mondaystaging.com";let a={prodHost:r,stagingHost:i};const o=t=>{a=t},s=()=>location.hostname,c=()=>s().includes(a.stagingHost),l=()=>s()===a.prodHost,u=(t="")=>`https://auth.${c()?i:r}${t}`,d=()=>u()},1697:(t,e,n)=>{"use strict";n.d(e,{YR:()=>a,ZF:()=>i,b3:()=>r});const r=t=>((t,e={})=>{const n=document.createElement(t);return Object.keys(e).forEach((t=>{n.setAttribute(t,e[t])})),n})("script",{src:t}),i=t=>{const e=document.querySelectorAll("section");return Array.from(e).indexOf(t.closest("section"))},a=t=>t.closest("section")?.id},4395:(t,e,n)=>{"use strict";n.d(e,{Dy:()=>c,KJ:()=>s,_j:()=>l,d6:()=>o});var r=n(9579),i=n(6288);const a=["es","fr","de","pt","ru","ja","it","nl","ko","tr","sv","pl","zh-tw"],o=()=>{const t=document.documentElement.getAttribute("lang");return a.includes(t)?t:null},s=t=>"en"===t||a.includes(t),c=(t=window.location.pathname)=>
2{const[,e]=t.split("/").filter(Boolean);return a.includes(e)?e:null},l=t=>{((t,e)=>{t&&(0,r.d8)(e,t,{expires:7,domain:(0,i.getHostingDomain)()})})(t,"user_selected_locale_id")}},3642:(t,e,n)=>{"use strict";n.d(e,{$G:()=>o,V2:()=>i,nm:()=>r,sN:()=>a});const r="product",i="solution-id",a=(t,e)=>{window.pageConfig={...window.pageConfig,[t]:e}},o=t=>window.pageConfig?.[t]},8016:(t,e,n)=>{"use strict";n.d(e,{$:()=>c,DQ:()=>g,PF:()=>d,Wo:()=>v,Xi:()=>y,ZD:()=>_,av:()=>u,he:()=>f,mA:()=>p,rN:()=>h});var r=n(4487),i=n(231),a=n(6288),o=n(8841),s=n(7099);const c="crm",l="agent-builder",u="custom_flow",d="marketing_ai_onboarding",h="land_on_agents_template_store",p=()=>(0,a.getAuthUrl)("/p/crm/users/sign_up_new"),_=()=>(0,a.getAuthUrl)("/p/software/users/sign_up_new"),f=()=>(0,a.getAuthUrl)("/p/service/users/sign_up_new"),m={[c]:p,marketer:()=>(0,a.getAuthUrl)("/p/marketing/users/sign_up_new"),dev:_,projects:()=>(0,a.getAuthUrl)("/p/project_management/users/sign_up_new"),"work-management":()=>(0,a.getAuthUrl)("/p/core/users/sign_up_new"),service:f,marketing_campaigns:()=>(0,a.getAuthUrl)("/p/marketing_campaigns/users/sign_up_new"),[l]:()=>(0,a.getAuthUrl)("/p/agent_builder/users/sign_up_new?dont_redirect=true")},g=(t,e,n=null)=>{const a=m[t];if(!a)return r.uT(`Product signup URL not found for product value: ${t}`),(0,i.getNewSoftSignupLink)();let o=a();const c={};return e?c.solution_id=e:n&&(c[u]=n),t===l&&(c.r="use1"),Object.keys(c).length>0&&(o=(0,s.addParamsToURL)(o,c)),o},v=t=>{let e=(0,i.getNewSoftSignupLink)();return t&&(e=`${e}?${u}=${t}`),e},y=()=>{localStorage.getItem(o.Tf)||localStorage.setItem(o.Tf,JSON.stringify({value:document.referrer,timestamp:Date.now()}))}},7543:(t,e,n)=>{const r=n(5181),i="mobile",a="tablet",o="Android",s=()=>"undefined"!=typeof document&&"undefined"!=typeof navigator?navigator.userAgent||navigator.vendor||window.opera:"",c=t=>{if(!t)return null;const e=r(t);return e.device&&e.device.type},l=t=>{if(!t)return null;const e=r(t);return e.browser&&e.browser.name},u=t=>c(t)===i,d=t=>c(t)===a;t.exports={isDesktopViewer:t=>void 0===c(t),isMobileViewer:u,isTabletViewer:d,isMobileOrTabletViewer:t=>u(t)||d(t),isAndroidViewer:t=>(t=>{if(!t)return null;const e=r(t);return e.os&&e.os.name})(t)===o,isFacebookViewer:t=>"Facebook"===l(t),isInstagramViewer:t=>"Instagram"===l(t),getUserAgentAnalyzedData:t=>{if(!t)return{};const e=r(t),n=e.device&&e.device.type,s=e.os&&e.os.name;return{isMobile:n===i,isTablet:n===a,isDesktop:void 0===n,isIos:"iOS"===s,isAndroid:s===o}},isSafari:t=>{const e=t||s();return"Safari"===l(e)},fetchUserAgent:s}},5181:function(t,e,n){var r;!function(i,a){"use strict";var o,s="",c="function",l="undefined",u="object",d="string",h="major",p="model",_="name",f="type",m="vendor",g="version",v="architecture",y="console",b="mobile",E="tablet",w="smarttv",S="wearable",k="xr",T="embedded",x="inapp",A="user-agent",I="brands",R="formFactors",C="fullVersionList",N="platform",O="platformVersion",D="bitness",L="sec-ch-ua",U=L+"-full-version-list",M=L+"-arch",P=L+"-"+D,G=L+"-form-factors",B=L+"-"+b,z=L+"-"+p,F=L+"-"+N,$=F+"-version",H=[I,C,b,p,N,O,v,R,D],Y="browser",j="cpu",q="device",W="engine",K="os",Z="result",V="Amazon",J="Apple",X="ASUS",Q="BlackBerry",tt="Google",et="Huawei",nt="Lenovo",rt="LG",it="Microsoft",at="Motorola",ot="Samsung",st="Sharp",ct="Sony",lt="Xiaomi",ut="Zebra",dt="Mobile ",ht=" Browser",pt="Chrome",_t="Chromecast",ft="Firefox",mt="Opera",gt="Facebook",vt="Sogou",yt="Windows",bt=typeof i!==l,Et=bt&&i.navigator?i.navigator:a,wt=Et&&Et.userAgentData?Et.userAgentData:a,St=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},kt=function(t,e){if(typeof t===u&&t.length>0){for(var n in t)if(It(t[n])==It(e))return!0;return!1}return!!xt(t)&&-1!==It(e).indexOf(It(t))},Tt=function(t,e){for(var n in t)return/^(browser|cpu|device|engine|os)$/.test(n)||!!e&&Tt(t[n])},xt=function(t){return typeof t===d},At=function(t){if(!t)return a;for(var e=[],n=Nt(/\\?\"/g,t).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var i=Dt(n[r]).split(";v=");e[r]={brand:i[0],version:i[1]}}else e[r]=Dt(n[r]);return e},It=function(t){return xt(t)?t.toLowerCase():t},Rt=function(t){return xt(t)?Nt(/[^\d\.]/g,t).split(".")[0]:a},Ct=function(t){for(var e in t){var n=t[e];typeof n==u&&2==n.length?this[n[0]]=n[1]:this[n]=a}return this},Nt=function(t,e){return xt(e)?e.replace(t,s):e},Ot=function(t){return Nt(/\\?\"/g,t)},Dt=function(t,e){if(xt(t))return t=Nt(/^\s\s*/,t),typeof e===l?t:t.substring(0,500)},Lt=function(t,e){if(t&&e)for(var n,r,i,o,s,l,d=0;d<e.length&&!s;){var h=e[d],p=e[d+1];for(n=r=0;n<h.length&&!s&&h[n];)if(s=h[n++].exec(t))for(i=0;i<p.length;i++)l=s[++r],typeof(o=p[i])===u&&o.length>0?2===o.length?typeof o[1]==c?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==c||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[
21],o[2]):a:this[o[0]]=l?o[1].call(this,l,o[2]):a:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):a):this[o]=l||a;d+=2}},Ut=function(t,e){for(var n in e)if(typeof e[n]===u&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(kt(e[n][r],t))return"?"===n?a:n}else if(kt(e[n],t))return"?"===n?a:n;return e.hasOwnProperty("*")?e["*"]:t},Mt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Pt={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":a},Gt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[_,dt+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[_,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[_,g],[/opios[\/ ]+([\w\.]+)/i],[g,[_,mt+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[_,mt+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[_,mt]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[_,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[_,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[_,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[_,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[_,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[_,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[_,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[_,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[_,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[_,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[_,"Smart "+nt+ht]],[/(avast|avg)\/([\w\.]+)/i],[[_,/(.+)/,"$1 Secure"+ht],g],[/\bfocus\/([\w\.]+)/i],[g,[_,ft+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[_,mt+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[_,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[_,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[_,mt+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[_,"MIUI"+ht]],[/fxios\/([\w\.-]+)/i],[g,[_,dt+ft]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[_,"360"]],[/\b(qq)\/([\w\.]+)/i],[[_,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[_,/(.+)/,"$1"+ht],g],[/samsungbrowser\/([\w\.]+)/i],[g,[_,ot+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[_,vt+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[_,vt+" Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[_,g],[/(lbbrowser|rekonq)/i],[_],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,_],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[_,gt],g,[f,x]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[_,g,[f,x]],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[_,"GSA"],[f,x]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[_,"TikTok"],[f,x]],[/\[(linkedin)app\]/i],[_,[f,x]],[/(chromium)[\/ ]([-\w\.]+)/i],[_,g],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[_,pt+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[_,pt+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[_,"Android"+ht]],[/chrome\/([\w\.]+) mobile/i],[g,[_,dt+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[_,g],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[g,[_,dt+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[_,dt+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[g,_],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[_,[g,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[_,g],[/(?:mobile|tablet);
2.*(firefox)\/([\w\.-]+)/i],[[_,dt+ft],g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[_,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[_,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[_,ft+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[_,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[_,[g,/[^\d\.]+./,s]]],cpu:[[/\b(?:(amd|x|x86[-_]?|wow|win)64)\b/i],[[v,"amd64"]],[/(ia32(?=;))/i,/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,s,It]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,It]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[m,ot],[f,E]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[p,[m,ot],[f,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[m,J],[f,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[m,J],[f,E]],[/(macintosh);/i],[p,[m,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[m,st],[f,b]],[/(?:honor)([-\w ]+)[;\)]/i],[p,[m,"Honor"],[f,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[m,et],[f,E]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[m,et],[f,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[p,/_/g," "],[m,lt],[f,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[m,lt],[f,E]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[m,"OPPO"],[f,b]],[/\b(opd2\d{3}a?) bui/i],[p,[m,"OPPO"],[f,E]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[m,"Vivo"],[f,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[m,"Realme"],[f,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[m,at],[f,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[m,at],[f,E]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[m,rt],[f,E]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[m,rt],[f,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[m,nt],[f,E]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[m,"Nokia"],[f,b]],[/(pixel c)\b/i],[p,[m,tt],[f,E]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[m,tt],[f,b]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[m,ct],[f,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[m,ct],[f,E]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[m,"OnePlus"],[f,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[m,V],[f,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[m,V],[f,b]],[/(playbook);[-\w\),; ]+(rim)/i],[p,m,[f,E]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[m,Q],[f,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[m,X],[f,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[m,X],[f,b]],[/(nexus 9)/i],[p,[m,"HTC"],[f,E]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[p,/_/g," "],[f,b]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w)
vendor: 6,887 bytes, line 2
2)?(\)| bui)/i],[p,[m,"TCL"],[f,E]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[p,[m,"TCL"],[f,b]],[/(itel) ((\w+))/i],[[m,It],p,[f,Ut,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[m,"Acer"],[f,E]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[m,"Meizu"],[f,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[m,"Ulefone"],[f,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[p,[m,"Energizer"],[f,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[p,[m,"Cat"],[f,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[p,[m,"Smartfren"],[f,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[p,[m,"Nothing"],[f,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,p,[f,b]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[m,p,[f,E]],[/(surface duo)/i],[p,[m,it],[f,E]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[m,"Fairphone"],[f,b]],[/(shield[\w ]+) b/i],[p,[m,"Nvidia"],[f,E]],[/(sprint) (\w+)/i],[m,p,[f,b]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[m,it],[f,b]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[m,ut],[f,E]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[m,ut],[f,b]],[/smart-tv.+(samsung)/i],[m,[f,w]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[m,ot],[f,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,rt],[f,w]],[/(apple) ?tv/i],[m,[p,J+" TV"],[f,w]],[/crkey.*devicetype\/chromecast/i],[[p,_t+" Third Generation"],[m,tt],[f,w]],[/crkey.*devicetype\/([^/]*)/i],[[p,/^/,"Chromecast "],[m,tt],[f,w]],[/fuchsia.*crkey/i],[[p,_t+" Nest Hub"],[m,tt],[f,w]],[/crkey/i],[[p,_t],[m,tt],[f,w]],[/droid.+aft(\w+)( bui|\))/i],[p,[m,V],[f,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[m,st],[f,w]],[/(bravia[\w ]+)( bui|\))/i],[p,[m,ct],[f,w]],[/(mitv-\w{5}) bui/i],[p,[m,lt],[f,w]],[/Hbbtv.*(technisat) (.*);/i],[m,p,[f,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,Dt],[p,Dt],[f,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,w]],[/(ouya)/i,/(nintendo) (\w+)/i],[m,p,[f,y]],[/droid.+; (shield) bui/i],[p,[m,"Nvidia"],[f,y]],[/(playstation \w+)/i],[p,[m,ct],[f,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[m,it],[f,y]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[p,[m,ot],[f,S]],[/((pebble))app/i],[m,p,[f,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[m,J],[f,S]],[/droid.+; (wt63?0{2,3})\)/i],[p,[m,ut],[f,S]],[/droid.+; (glass) \d/i],[p,[m,tt],[f,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[m,p,[f,k]],[/; (quest( \d| pro)?)/i],[p,[m,gt],[f,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[f,T]],[/(aeobc)\b/i],[p,[m,V],[f,T]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[f,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[f,E]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,E]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,b]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[_,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[_,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[_,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[_,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,_]],os:[[/microsoft (windows) (vista|xp)/i],[_,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[_,[g,Ut,Mt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Ut,Mt],[_,yt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[_,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[_,"macOS"],[g,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[g,[_,_t+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[g,[_,_t+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[g,[_,_t+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[g,[_,_t+" Linux"]],[/crkey\/([\d\.]+)/i],[g,[_,_t]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,_],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[_,g],[/\(bb(10);/i],[g,[_,Q]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[_,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[_,ft+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[_,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[_,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[_,"Chrome OS"],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[_,g],[/(sunos) ?([\w\.\d]*)/i],[[_,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[_,g]]},Bt=(Ct.call((o={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[Y,[_,g,h,f]],[j,[v]],[q,[f,p,m]],[W,[_,g]],[K,[_,g]]]),Ct.call(o.isIgnore,[[Y,[g,h]],[W,[g]],[K,[g]]]),Ct.call(o.isIgnoreRgx,[[Y,/ ?browser$/i],[K,/ ?os$/i]]),Ct.call(o.toString,[[Y,[_,g]],[j,[v]],[q,[m,p]],[W,[_,g]],[K,[_,g]]]),o),zt=function(t,e){var n=Bt.init[e],r=Bt.isIgnore[e]||0,i=Bt.isIgnoreRgx[e]||0,a=Bt.toString[e]||0;function o(){Ct.call(this,n)}return o.prototype.getItem=function(){return t},o.prototype.withClientHints=function(){return wt?wt.getHighEntropyValues(H).then((function(e){return t.setCH(new Ft(e,!1)).parseCH().get()})):t.parseCH().get()}
2,o.prototype.withFeatureCheck=function(){return t.detectFeature().get()},e!=Z&&(o.prototype.is=function(t){var e=!1;for(var n in this)if(this.hasOwnProperty(n)&&!kt(r,n)&&It(i?Nt(i,this[n]):this[n])==It(i?Nt(i,t):t)){if(e=!0,t!=l)break}else if(t==l&&e){e=!e;break}return e},o.prototype.toString=function(){var t=s;for(var e in a)typeof this[a[e]]!==l&&(t+=(t?" ":s)+this[a[e]]);return t||l}),wt||(o.prototype.then=function(t){var e=this,n=function(){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])};n.prototype={is:o.prototype.is,toString:o.prototype.toString};var r=new n;return t(r),r}),new o};function Ft(t,e){if(t=t||{},Ct.call(this,H),e)Ct.call(this,[[I,At(t[L])],[C,At(t[U])],[b,/\?1/.test(t[B])],[p,Ot(t[z])],[N,Ot(t[F])],[O,Ot(t[$])],[v,Ot(t[M])],[R,At(t[G])],[D,Ot(t[P])]]);else for(var n in t)this.hasOwnProperty(n)&&typeof t[n]!==l&&(this[n]=t[n])}function $t(t,e,n,r){return this.get=function(t){return t?this.data.hasOwnProperty(t)?this.data[t]:a:this.data},this.set=function(t,e){return this.data[t]=e,this},this.setCH=function(t){return this.uaCH=t,this},this.detectFeature=function(){if(Et&&Et.userAgent==this.ua)switch(this.itemType){case Y:Et.brave&&typeof Et.brave.isBrave==c&&this.set(_,"Brave");break;case q:!this.get(f)&&wt&&wt[b]&&this.set(f,b),"Macintosh"==this.get(p)&&Et&&typeof Et.standalone!==l&&Et.maxTouchPoints&&Et.maxTouchPoints>2&&this.set(p,"iPad").set(f,E);break;case K:!this.get(_)&&wt&&wt[N]&&this.set(_,wt[N]);break;case Z:var t=this.data,e=function(e){return t[e].getItem().detectFeature().get()};this.set(Y,e(Y)).set(j,e(j)).set(q,e(q)).set(W,e(W)).set(K,e(K))}return this},this.parseUA=function(){return this.itemType!=Z&&Lt.call(this.data,this.ua,this.rgxMap),this.itemType==Y&&this.set(h,Rt(this.get(g))),this},this.parseCH=function(){var t=this.uaCH,e=this.rgxMap;switch(this.itemType){case Y:var n,r=t[C]||t[I];if(r)for(var i in r){var o=Nt(/(Google|Microsoft) /,r[i].brand||r[i]),s=r[i].version;/not.a.brand/i.test(o)||n&&(!/chrom/i.test(n)||/chromi/i.test(o))||(this.set(_,o).set(g,s).set(h,Rt(s)),n=o)}break;case j:var c=t[v];c&&(c&&"64"==t[D]&&(c+="64"),Lt.call(this.data,c+";",e));break;case q:if(t[b]&&this.set(f,b),t[p]&&this.set(p,t[p]),"Xbox"==t[p]&&this.set(f,y).set(m,it),t[R]){var l;if("string"!=typeof t[R])for(var u=0;!l&&u<t[R].length;)l=Ut(t[R][u++],Pt);else l=Ut(t[R],Pt);this.set(f,l)}break;case K:var d=t[N];if(d){var E=t[O];d==yt&&(E=parseInt(Rt(E),10)>=13?"11":"10"),this.set(_,d).set(g,E)}this.get(_)==yt&&"Xbox"==t[p]&&this.set(_,"Xbox").set(g,a);break;case Z:var w=this.data,S=function(e){return w[e].getItem().setCH(t).parseCH().get()};this.set(Y,S(Y)).set(j,S(j)).set(q,S(q)).set(W,S(W)).set(K,S(K))}return this},Ct.call(this,[["itemType",t],["ua",e],["uaCH",r],["rgxMap",n],["data",zt(this,t)]]),this}function Ht(t,e,n){if(typeof t===u?(Tt(t,!0)?(typeof e===u&&(n=e),e=t):(n=t,e=a),t=a):typeof t!==d||Tt(e,!0)||(n=e,e=a),n&&typeof n.append===c){var r={};n.forEach((function(t,e){r[e]=t})),n=r}if(!(this instanceof Ht))return new Ht(t,e,n).getResult();var i=typeof t===d?t:n&&n[A]?n[A]:Et&&Et.userAgent?Et.userAgent:s,o=new Ft(n,!0),l=e?function(t,e){var n={},r=e;if(!Tt(e))for(var i in r={},e)for(var a in e[i])r[a]=e[i][a].concat(r[a]?r[a]:[]);for(var o in t)n[o]=r[o]&&r[o].length%2==0?r[o].concat(t[o]):t[o];return n}(Gt,e):Gt,h=function(t){return t==Z?function(){return new $t(t,i,l,o).set("ua",i).set(Y,this.getBrowser()).set(j,this.getCPU()).set(q,this.getDevice()).set(W,this.getEngine()).set(K,this.getOS()).get()}:function(){return new $t(t,i,l[t],o).parseUA().get()}};return Ct.call(this,[["getBrowser",h(Y)],["getCPU",h(j)],["getDevice",h(q)],["getEngine",h(W)],["getOS",h(K)],["getResult",h(Z)],["getUA",function(){return i}],["setUA",function(t){return xt(t)&&(i=t.length>500?Dt(t,500):t),this}]]).setUA(i),this}Ht.VERSION="2.0.0",Ht.BROWSER=St([_,g,h,f]),Ht.CPU=St([v]),Ht.DEVICE=St([p,m,f,y,b,w,E,S,T]),Ht.ENGINE=Ht.OS=St([_,g]),typeof e!==l?(t.exports&&(e=t.exports=Ht),e.UAParser=Ht):n.amdO?(r=function(){return Ht}.call(e,n,e,t))===a||(t.exports=r):bt&&(i.UAParser=Ht);var Yt=bt&&(i.jQuery||i.Zepto);if(Yt&&!Yt.ua){var jt=new Ht;Yt.ua=jt.getResult(),Yt.ua.get=function(){return jt.getUA()},Yt.ua.set=function(t){jt.setUA(t);var e=jt.getResult();for(var n in e)Yt.ua[n]=e[n]}}}("object"==typeof window?window:this)},1955:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}n.d(e,{Z:()=>i});const i=function t(e,n){function i(t,i,a){if("undefined"!=typeof document){"number"==typeof(a=r({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
2URIComponent).replace(/[()]/g,escape);var o="";for(var s in a)a[s]&&(o+="; "+s,!0!==a[s]&&(o+="="+a[s].split(";")[0]));return document.cookie=t+"="+e.write(i,t)+o}}return Object.create({set:i,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(r[s]=e.read(o,s),t===s)break}catch(t){}}return t?r[t]:r}},remove:function(t,e){i(t,"",r({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,r({},this.attributes,e))},withConverter:function(e){return t(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var a=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.amdO={},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var t=n(3960),e=n(1145),r=n(4487),i=n(1996),a=n(3642),o=n(3646),s=n(8841),c=n(9579),l=n(6288);n(7071),n(3133);const u=document.querySelector("[data-monday-footer]");u&&(u.addEventListener("click",(e=>{"A"===e.target.tagName&&(0,t.trackEvent)(i.FOOTER_LINK_CLICK,{kind:e.target?.href})})),(0,a.$G)(a.nm)?.then((t=>{const e=(Array.from(u.querySelectorAll("a"))||[])?.find((t=>"pricing"===t.text.toLowerCase()));t&&e&&(e.href=`/${t}/pricing`)})));const d=".mobile_menu-group-h",h="is-active",p=document.querySelectorAll(".mobile_menu-group");p.forEach((t=>{t.querySelector(d)?.addEventListener("click",(()=>{const e=Array.from(p).find((t=>t.classList.contains(h)));e&&e!==t&&_(e),_(t)}))}));const _=t=>{const e=t.querySelector(d),n=t.querySelector(".chevron"),r=t.querySelector(".group-child");t.classList.toggle(h),e.classList.toggle(h),n.classList.toggle(h),r.classList.toggle(h)},f=document.querySelectorAll("[data-picture-with-link]");for(let e of f){const n=e.querySelector("img")?.src;e.addEventListener("click",(r=>{(0,t.trackEvent)("picture_with_link_clicked",{kind:e?.href,info2:n,source:t.BIGBRAIN_EVENT_SOURCE},r)}))}var m=n(9402),g=n(1e3),v=n(515),y=n(1352),b=n(8016);const E=t=>{t&&(t.classList.remove(g.SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS),t.offsetWidth,t.classList.add(g.SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS))},w=t=>{t&&t.classList.remove(g.SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS)},S=t=>{t.classList.contains(g.SIGN_UP_BUTTON_TAG_ANIMATION_CLASS)?(t.classList.add(g.SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS),t.classList.remove(g.SIGN_UP_BUTTON_TAG_ANIMATION_CLASS)):t.classList.remove(g.SIGN_UP_BUTTON_SHAKE_ANIMATION_CLASS)},k=(t,e)=>{const n=(new Date).getTime();return(0,m.c)({clusterId:t,type:e,source:g.HP_TAGS_SELECTION,attributionTime:n})},T=(t,e)=>{if((0,y.hasMagicTags)(t))return e.preventDefault(),void(0,y.handleMagicTagsNavigation)(t);const n=[];t.forEach((t=>{const e=t.getAttribute(g.DATA_ATTRIBUTE_NAMES.USE_CASE),r=t.getAttribute(g.DATA_ATTRIBUTE_NAMES.CLUSTER);e&&n.push(k(e,g.USE_CASE_TYPE)),r&&n.push(k(r,v.j))})),localStorage.setItem(v.E,JSON.stringify(n))},x=(e,n,r,a)=>{const o=e.innerText,s=(t=>t===b.$?g.TAG_IS_ACTIVE_CRM_CLASS:g.TAG_IS_ACTIVE_CLASS)(r);n.style.setProperty(g.SQUARE_TAG_CSS_VAR_NAME,e.getAttribute(g.DATA_ATTRIBUTE_NAMES.TAG_COLOR)),(0,t.trackEvent)(i.GRID_TAG_CLICKED,{kind:o},a),((t,e)=>{const n=t?.querySelector(g.TAG_CHECKBOX_SELECTOR);t?.classList.toggle(e),n&&n.classList.toggle(g.CHECKBOX_SELECTED_CLASSNAME)})(e,s)};var A=n(3379),I=n.n(A),R=n(7795),C=n.n(R),N=n(569),O=n.n(N),D=n(3565),L=n.n(D),U=n(9216),M=n.n(U),P=n(4589),G=n.n(P),B=n(5307),z={};
2z.styleTagTransform=G(),z.setAttributes=L(),z.insert=O().bind(null,"head"),z.domAPI=C(),z.insertStyleElement=M(),I()(B.Z,z),B.Z&&B.Z.locals&&B.Z.locals,n(7e3);const F=document.querySelectorAll(`[${g.DATA_ATTRIBUTE_NAMES.SELECTABLE_TAGS_GRID}]`);for(const t of F){const e=t.querySelector(g.SIGNUP_BUTTON_SELECTOR);if(!e)break;const n=[];e.addEventListener("animationend",(()=>{S(e)})),e.addEventListener("click",(t=>{T(n,t)})),t.addEventListener("click",(r=>{const i=r.target,a=i.closest(`[${g.DATA_ATTRIBUTE_NAMES.SELECTABLE_TAG}]`);if(!a||!e)return;const o=i.closest(`[${g.DATA_ATTRIBUTE_NAMES.PRODUCT_ID}]`)?.getAttribute(g.DATA_ATTRIBUTE_NAMES.PRODUCT_ID)||null;if(x(a,t,o,r),n.includes(a)){w(e);const t=n.indexOf(a);t>-1&&n.splice(t,1)}else E(e),n.push(a)}))}const $="[data-hp-tag]",H="is-visible",Y="data-hp-tag",j="breathe",q={crm:b.mA,tech:b.ZD,information_technology:b.he};var W=n(8759);const K=(t,e,n=!1)=>{t.classList.toggle("is-color-active",e),t.classList.toggle("is-color-active-with-checkbox",e&&n)},Z=(t,e,n)=>{const r=!n;e&&e.classList.toggle(H,r),t?.forEach((t=>{const e=t.getAttribute("data-hp-asset")===n;t.classList.toggle(H,e)}))},V=(t,e,n)=>{const r=n[n.length-1]?.getAttribute(Y)||null;Z(t,e,r)},J=(t,e)=>e.includes(t);document.querySelectorAll('[data-hp-component="hp-container"]').forEach((e=>{if(window.devlinkTagsAndAssetsInitialized)return;const n=e.querySelectorAll($),r=e.querySelectorAll("[data-hp-asset]"),a=e.querySelector("[data-hp-default]"),o=e.querySelectorAll(g.SIGNUP_BUTTON_SELECTOR),s=e.querySelector("[data-hp-tags-grid]"),c=[];(t=>{t.forEach((t=>{const e=t.getAttribute(g.DATA_ATTRIBUTE_NAMES.TAG_COLOR);e&&t.style.setProperty("--tag-color",e)}))})(n),((t,e)=>{t.forEach((t=>{t.addEventListener("animationend",(()=>{S(t)})),t.addEventListener("click",(t=>{T(e,t)}))}))})(o,c),((t,e)=>{t&&t.addEventListener("click",(()=>{(t=>{t&&!t.classList.contains(j)&&(t.classList.add(j),t.addEventListener("animationend",(e=>{e.target===t&&e.animationName===j&&t.classList.remove(j)}),{once:!0}))})(e)}))})(a,s),e.addEventListener("click",(t=>{const n=t.target,i=n.closest($);i&&(({event:t,container:e,signUpButtons:n,assets:r,defaultAsset:i,activeTagStack:a,tag:o,target:s})=>{const c=s.closest(`[${g.DATA_ATTRIBUTE_NAMES.PRODUCT_ID}]`)?.getAttribute(g.DATA_ATTRIBUTE_NAMES.PRODUCT_ID)||null;x(o,e,c,t),((t,e)=>{const n=e.indexOf(t);n>-1?e.splice(n,1):e.push(t)})(o,a),V(r,i,a);const l=J(o,a);K(o,l,!0),((t,e)=>{const n=(t=>{if(0===t.length)return"";const e=t.map((t=>t.getAttribute(g.DATA_ATTRIBUTE_NAMES.TAG_COLOR))).filter((t=>null!==t));if(0===e.length)return"";if(1===e.length)return`linear-gradient(90deg, ${e[0]} 0%, ${e[0]} 100%)`;const n=100/(e.length-1);return`linear-gradient(90deg, ${e.map(((t,e)=>`${t} ${n*e}%`)).join(", ")})`})(e);t.forEach((t=>{n&&t.style.setProperty("--button-gradient",n),t.classList.toggle("has-gradient-background",Boolean(n))}))})(n,a),((t,e)=>{const n=(r=1===e.length?e[0].getAttribute(g.DATA_ATTRIBUTE_NAMES.CLUSTER):null)&&r in q?q[r]():(0,W.getDefaultSignupLink)();var r;t.forEach((t=>{t.setAttribute("href",n)}))})(n,a),n.forEach((t=>{l?E(t):w(t)}))})({event:t,container:e,signUpButtons:o,assets:r,defaultAsset:a,activeTagStack:c,tag:i,target:n})})),((e,n,r,a)=>{const o=new Set;e.forEach((e=>{const s=e.getAttribute(Y),c=e.innerText;e.addEventListener("mouseenter",(l=>{o.has(c)||(o.add(c),(0,t.trackEvent)(i.GRID_TAG_HOVERED,{kind:c},l)),J(e,a)||(Z(n,r,s),K(e,!0))})),e.addEventListener("mouseleave",(()=>{J(e,a)||(V(n,r,a),K(e,!1))}))}))})(n,r,a,c),V(r,a,c)})),window.devlinkTagsAndAssetsInitialized=!0,n(7376),n(8634),n(2439);const X="[data-faq-item]",{trackEvent:Q}=n(3960),tt=document.querySelectorAll("[data-faq]"),et=t=>Array.from(t.parentNode.querySelectorAll(X))?.findIndex((e=>e===t));for(const t of tt){let e=null;t.addEventListener("click",(t=>{const n=t.target.closest(X);if(!n)return;const r=et(n),a=r===e;e=a?null:r;const o=a?"closed":"opened",s=n.querySelector("[data-question-header]")?.innerText;Q(i.FREQUENTLY_ASKED_QUESTION_CLICK,{info2:o,info3:s},t)}))}n(3194),n(7526),n(3686);var nt=n(7099),rt=n(4395),it=n(4156);const at="is-visible",ot="loading-screen-text",st={"book-a-meeting":{imageSrc:"https://dapulse-res.cloudinary.com/image/upload/Generator_featured%20images/Homepage%20-%202024/contact-sales/Contact_sales_Loader_no_bg.gif",imageAlt:"Loading",title:"Hang tight!",subtitle:"Getting your next step ready..."}};var ct=n(1053),lt={};
2lt.styleTagTransform=G(),lt.setAttributes=L(),lt.insert=O().bind(null,"head"),lt.domAPI=C(),lt.insertStyleElement=M(),I()(ct.Z,lt),ct.Z&&ct.Z.locals&&ct.Z.locals;let ut=null,dt=null,ht=null;const pt={blockScroll:!0,fadeInDuration:300},_t=()=>{null!==ht&&(clearTimeout(ht),ht=null)},ft=()=>{if(!ut)return;_t();const t=ut,e=dt?.fadeInDuration??300;t.classList.remove(at),ut=null,dt=null,ht=setTimeout((()=>{t.remove(),document.body.style.overflow=""}),e)},mt={dataLayer:t=>{const{event:e,...n}=t;(0,it.k)(e,n)},parentRedirect:function(t){const{redirectUrl:e}=t;let n=null;if("string"==typeof e&&e.trim())try{const t=new URL(e.trim(),window.location.origin);"https:"!==t.protocol&&"http:"!==t.protocol||t.origin!==window.location.origin||(n=t.href)}catch{n=null}n?window.location.assign(n):r.uT("iframe bridge parentRedirect rejected",{level:"warning",extra:{redirectPreview:"string"==typeof e?e.slice(0,200):null}})},loadingScreenShow:()=>{(t=>{if(!(t?.type in st))return;ut&&(_t(),ut.remove(),ut=null);const e={...pt,...t.behavior};dt=e,ut=(t=>{const e=document.createElement("div");e.className="loading-screen-overlay";const n=document.createElement("div");return n.className="loading-screen-content",n.innerHTML=(t=>{const{imageSrc:e,imageAlt:n,title:r,subtitle:i}=st[t];return`\n <img src="${e}" alt="${n}" class="loading-screen-image" />\n <h2 class="${ot}">${r}</h2>\n <h2 class="${ot}">${i}</h2>\n `})(t),e.appendChild(n),e})(t.type),document.body.appendChild(ut),requestAnimationFrame((()=>{ut?.classList.add(at)})),e.blockScroll&&(document.body.style.overflow="hidden"),e.autoHideAfter&&e.autoHideAfter>0&&(ht=setTimeout(ft,e.autoHideAfter))})({type:"book-a-meeting"})},loadingScreenHide:()=>{ft()}};let gt=!1;const vt=document.querySelectorAll("iframe"),yt=["hubspot-dynamic-form-iframe-component","hubspot-form-component"];vt?.length>0&&(gt||(window.addEventListener("message",(function(t){try{const e=t.data;if("object"!=typeof e||null===e||"iframeBridgeEvent"!==e.type||!e.eventType)return;const n=e,i=t.origin;if(!function(t){return t===window.location.origin}(i))return void r.uT("Bridge message from disallowed origin",{extra:{origin:i,eventType:n.eventType}});const a=mt[n.eventType];if(!a)return;a(n.payload)}catch(t){r.Tb(t),r.uT("Error in iframe bridge message handler","error")}})),gt=!0)),vt.forEach((t=>{t.addEventListener("load",(()=>{(function(t,e){try{const n=t.contentDocument||t.contentWindow.document;return e.some((t=>n.getElementsByClassName(t).length>0))}catch(t){return r.Tb(t),r.uT("Error accessing iframe content:",t),!1}})(t,yt)&&function(t){try{const e=new URL(t.src),n=new URLSearchParams(e.search);let r=(0,nt.getCurrentPageQueryParamsWithHash)();const i=window.location.href,a=new URLSearchParams(r);a.set("recent_conversion_url",i);const o=(0,rt.d6)();o&&a.set("locale",o),a.toString()!==n.toString()&&(e.search=a.toString(),t.src=e.toString())}catch(t){r.Tb(t),r.uT("Error updating iframe src:",t)}}(t)}))}));const bt="[data-language-picker-options-container]",Et="data-language-locale",wt="lang";document.querySelectorAll("[data-language-picker]")?.forEach((e=>{const n=(0,rt.Dy)()||"en",r=e.querySelector(bt);((t,e)=>{if(!t)return;const n=t.querySelector("[data-current-language-indicator]"),r=t.querySelector(bt)?.querySelector(`[${Et}="${e}"]`);r&&(n.innerText=r.innerText)})(e,n),r?.addEventListener("click",(r=>{const a=e.getAttribute("data-generator-page"),o=r.target.closest(`[${Et}]`),s=o?.getAttribute(Et);if(!s||s===n||!(0,rt.KJ)(s))return;(0,rt._j)(s),(0,t.trackEvent)(i.LANGUAGE_PICKER_LANG_CHANGED,{info1:s,info2:n},r);const c=o.hasAttribute("data-is-generator-link")&&a&&"en"!==s&&((t,e)=>{const n=new URL(t),r=n.pathname+n.search+n.hash;return r.startsWith(`/${wt}/`)?t:`${n.origin}/${wt}/${e}${r}`})(a,s);c?window.location.replace(c):window.location.reload()}))}));const St="[data-accordion-body]",kt="is-open",Tt="video";n(8030);const xt=document.querySelectorAll("[data-accordion-type]"),At=t=>[...t.classList].some((t=>t.includes(kt))),It=t=>{[...t.classList].filter((t=>t.includes(kt))).forEach((e=>t.classList.remove(e)))},Rt=t=>{t.classList.add(kt)},Ct=t=>{const e=t.querySelector(Tt);setTimeout((()=>{e.play()}),200)},Nt=t=>{const e=t.querySelector(Tt);e.pause(),e.currentTime=0};xt.forEach((e=>{if(window.devlinkAccordionInitialized)return;const n=e?.querySelectorAll("[data-accordion-item]"),r=e?.getAttribute("data-accordion-type"),a="video"===r;((t,e)=>{t?.forEach((t=>{if(At(t)){const n=t.querySelector(St);if(n){n.style.height="auto";const t=n.scrollHeight;n.style.height=`${t}px`}Rt(t),e&&Ct(t)}}))})(n,a),((e,n)=>{e?.forEach(((r,a)=>{r.querySelector("[data-accordion-header]")?.addEventListener("click",(()=>{(0,t.trackEvent)(i.ACCORDION_ITEM_CLICKED,{}),At(r)?((t,e,n,r)=>{e.querySelector(St).style.height="0",It(e);const i=t[(n+1)%t.length],a=i.querySelector(St);Rt(i),a.style.height=`${a.scrollHeight}px`,r&&(Ct(i),Nt(e))})(e,r,a,n):(((t,e)=>{const n=[...t].find((t=>At(t)));It(n);const r=n.querySelector(St);It(r),r&&(r.style.height="0"),e&&Nt(n)})(e,n),((t,e)=>{const n=t.querySelector(St);n.style.height=`${n.scrollHeight}px`,Rt(t),e&&Ct(t)})(r,n))}))}))})(n,a),a&&((t,e)=>{const n=new IntersectionObserver((t=>{t?.forEach((t=>{if(t.isIntersecting){const t=[...e].find((t=>At(t))).querySelector(Tt);t&&(t.play(),n.disconnect())}}))}),{threshold:.5});n.observe(t)})(e,n)})),window.devlinkAccordionInitialized=!0;const Ot="data-tag-prompt",Dt=`[${Ot}]`,Lt="is-active",Ut="cta-fade";var Mt=n(9661),Pt={};
2Pt.styleTagTransform=G(),Pt.setAttributes=L(),Pt.insert=O().bind(null,"head"),Pt.domAPI=C(),Pt.insertStyleElement=M(),I()(Mt.Z,Pt),Mt.Z&&Mt.Z.locals&&Mt.Z.locals;const Gt="TYPING",Bt="PAUSING",zt="DELETING";class Ft{constructor(t,e){this.textarea=t,this.prompts=e,this.currentPromptIndex=0,this.currentPrompt=e[0],this.currentCharacterIndex=0,this.animationMode=Gt,this.isStopped=!1,this.animationActions={[Gt]:()=>this.typeNextCharacter(),[Bt]:()=>this.handlePause(),[zt]:()=>this.deleteNextCharacter()}}updatePlaceholder(t){this.textarea.placeholder=`Create a solution for ${t}`}moveToNextPrompt(){this.currentPromptIndex=this.getNextPromptIndex(),this.currentPrompt=this.prompts[this.currentPromptIndex],this.animationMode=Gt,this.currentCharacterIndex=0}getNextPromptIndex(){const t=this.currentPromptIndex+1;return t<this.prompts.length?t:0}typeNextCharacter(){this.currentCharacterIndex++;const t=this.currentPrompt.slice(0,this.currentCharacterIndex);this.updatePlaceholder(t),this.currentCharacterIndex<this.currentPrompt.length?this.scheduleNextAnimation(50):(this.animationMode=Bt,this.scheduleNextAnimation(1e3))}handlePause(){this.animationMode=zt,this.scheduleNextAnimation(20)}deleteNextCharacter(){this.currentCharacterIndex--;const t=this.currentPrompt.slice(0,this.currentCharacterIndex);this.updatePlaceholder(t),this.currentCharacterIndex>0?this.scheduleNextAnimation(20):(this.moveToNextPrompt(),this.scheduleNextAnimation(1e3))}performNextAnimationStep(){this.animationActions[this.animationMode]()}scheduleNextAnimation(t){setTimeout((()=>this.animate()),t)}animate(){this.isStopped||this.performNextAnimationStep()}start(t=this.currentPromptIndex){this.textarea&&(this.currentPromptIndex=t,this.currentPrompt=this.prompts[t],this.currentCharacterIndex=0,this.animationMode=Gt,this.isStopped=!1,this.animate())}stop(){this.isStopped=!0,this.textarea.placeholder=""}}var $t=n(231),Ht=n(7865);const Yt=t=>{const e=Array.from(t).find((t=>t.classList.contains(Lt)));e&&e.classList.remove(Lt)},jt=(t,e)=>{if(!e)return;const n=t.value.trim().length;e.style.display=n?"flex":"none"},qt=(t,e)=>{e&&t&&(t.value.trim().length>0?e.classList.remove(Ut):e.classList.add(Ut))};if(document.querySelectorAll("[data-magic]").forEach((e=>{const n=e.querySelector("[data-magic-input]"),r=e.querySelector("[data-button-type='magic']");if(!n||!r)return;const a=e.querySelector("[data-clear-button]"),o=e.querySelectorAll(Dt),s=(t=>t.getAttribute("data-default-prompts")?.split("|").map((t=>t.trim())).filter(Boolean))(n);((e,n,r,a,o)=>{const s=(()=>{let t=null;return(e,n=400)=>{clearTimeout(t),t=setTimeout(e,n)}})();if(1===r?.length)e.value=r[0],jt(e,o);else{const t=((t,e)=>{if(!t||!e?.length)return;const n=new Ft(t,e);return n.start(),n})(e,r);e.addEventListener("focus",(()=>{t?.stop()})),e.addEventListener("blur",(()=>{t?.start()}))}e.addEventListener("input",(()=>{const r=e.value.trim().length>0;jt(e,o),qt(e,a),Yt(n),r&&s((()=>{(0,t.trackEvent)(i.MAGIC_USER_TYPING)}),400)}))})(n,o,s,r,a),((e,n)=>{e.addEventListener("click",(()=>{(e=>{const n=e.value.trim();if(!n){const t=e.closest("[data-magic-input-container]");return void(t&&(t=>{t.classList.add("magic-bounce");const e=()=>{t.classList.remove("magic-bounce"),t.removeEventListener("animationend",e)};t.addEventListener("animationend",e)})(t))}(0,t.trackEvent)(i.MAGIC_CTA_CLICKED,{info1:window.location.href}),(0,it.k)(Ht.x.SIGNUP_CLICKED);const r=(0,nt.createUrlWithCurrentUtmParams)(`https://${(0,l.isStaging)()?$t.MONDAY_STAGING_URL:$t.MONDAY_PRODUCTION_URL}/magic/visitor?guest=true`);r.searchParams.set("prompt",n),window.location.assign(r.toString())})(n)}))})(r,n),((e,n,r,a)=>{e?.forEach((o=>{o.addEventListener("click",(()=>{((e,n,r)=>{n.forEach((t=>t.classList.remove(Lt))),e.classList.add(Lt);const a=e.getAttribute(Ot);(0,t.trackEvent)(i.MAGIC_TAG_CLICKED,{kind:e.innerText,info1:a}),a&&(r.value=a)})(o,e,n),jt(n,a),qt(n,r)}))}))})(o,n,r,a),((t,e,n,r)=>{t&&t.addEventListener("click",(()=>{e.value="",t.style.display="none",Yt(r),qt(e,n),e.focus()}))})(a,n,r,o),qt(n,r)}
2)),n(5143),document.querySelector('[data-is-404="true"]')){const e=window?.location?.href,n=document?.referrer;(0,t.trackEvent)(i.RETRIEVED_404_ERROR,{kind:e,info1:n})}window.typeformReadyEvent=()=>{(0,t.trackEvent)("typeform_contact_sales_form_loaded",{info1:window.contactSalesFormId,source:t.BIGBRAIN_EVENT_SOURCE})},window.typeformSubmitEvent=e=>{(0,t.trackEvent)("typeform_contact_sales_form_submitted",{kind:e?.responseId,info1:window.contactSalesFormId,source:t.BIGBRAIN_EVENT_SOURCE})},window.typeformCloseEvent=()=>{(0,t.trackEvent)("typeform_contact_sales_form_closed",{info1:window.contactSalesFormId,source:t.BIGBRAIN_EVENT_SOURCE})},window.typeformChangedEvent=e=>{(0,t.trackEvent)("typeform_contact_sales_question_changed",{kind:e?.ref,info1:window.contactSalesFormId,source:t.BIGBRAIN_EVENT_SOURCE})};var Wt=n(3096),Kt=n.n(Wt);const Zt=Math.floor(Math.random()*Math.floor(1e8));window.addEventListener("scroll",Kt()((async()=>{try{const e=await(async()=>new Promise(((t,e)=>{try{requestAnimationFrame((()=>{const e=document.body.parentNode;if(e.scrollHeight-e.clientHeight==0)return t(0);const n=(document.body.scrollTop||e.scrollTop)/(e.scrollHeight-e.clientHeight)*100;t(n)}))}catch(t){e()}})))(),n=await new Promise(((t,e)=>{try{requestAnimationFrame((()=>{const e=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);t(e)}))}catch(t){e()}})),r=await new Promise(((t,e)=>{try{requestAnimationFrame((()=>{const e=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);t(e)}))}catch(t){e()}}));e>10&&(0,t.trackEvent)(i.PAGE_SCROLL_BY_PERCENTAGE,{kind:parseInt(e),info1:r,info2:n,info3:Zt})}catch(t){}}),1e3,{leading:!1,trailing:!0}));const Vt=document.querySelectorAll("section"),Jt=new IntersectionObserver((e=>{e.forEach((e=>{if(e.intersectionRatio<.5)return;const n=Array.from(Vt).indexOf(e.target);(0,t.trackEvent)(i.SECTION_VIEW,{info1:n}),Jt.unobserve(e.target)}))}),{threshold:.5});Vt.forEach((t=>Jt.observe(t))),(0,e.Fx)(),(e=>{try{const e=document.currentScript?.src,n=(t=>{const e=performance.getEntriesByType("resource").find((e=>e.name.includes(t)));return e.responseEnd-e.startTime})(e);(0,t.trackEvent)(i.SCRIPT_LOADING_TIME,{kind:e,info1:n,info2:"body",source:t.BIGBRAIN_EVENT_SOURCE})}catch(t){r.uT(`Webflow script monitoring failed for : ${window.location.href}, ${t}`)}})(),(()=>{const t=document.querySelectorAll(".client-count");if(!t.length)return;const e=25e4.toLocaleString("en-US");t.forEach((t=>{t.textContent=e}))})(),function(){try{const t=window.location.pathname,e=(()=>{const t=localStorage.getItem(s.C7);if(!t)return[];try{const e=JSON.parse(t);return Array.isArray(e)?e:[]}catch{return[]}})();if(e[e.length-1]?.value===t)return;e.push({value:t,timestamp:Date.now()});const n=e.length>5?e.slice(-5):e,r=JSON.stringify(n);localStorage.setItem(s.C7,r),(0,c.d8)(s.C7,r,{expires:1/24,domain:`.${(0,l.getHostingDomain)()}`})}catch(t){o.default.captureException(t)}}(),(0,a.$G)(a.nm).then((e=>{(0,t.trackEvent)("page_view",{kind:window.location.pathname,info3:window.location.href,data:{product:e||"undefined",windowInnerWidth:window.innerWidth,windowInnerHeight:window.innerHeight},source:t.BIGBRAIN_EVENT_SOURCE})}))})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.