res.cdn.office.net
Open in
urlscan Pro
2a02:26f0:7100::687e:2518
Public Scan
Submitted URL: http://res.cdn.office.net/owamail/20240614008.12/scripts/owa.serviceworkerv2.js
Effective URL: https://res.cdn.office.net/owamail/20240614008.12/scripts/owa.serviceworkerv2.js
Submission: On November 04 via manual from GB — Scanned from GB
Effective URL: https://res.cdn.office.net/owamail/20240614008.12/scripts/owa.serviceworkerv2.js
Submission: On November 04 via manual from GB — Scanned from GB
Form analysis
0 forms found in the DOMText Content
(()=>{"use strict";var e={324336:(e,t,n)=>{let r,i;n.d(t,{F7:()=>s,NW:()=>u,mK:()=>a});var o=n(223589);function a(e,t,n){(r||o.CZ)(e,t,n)}function s(e,t,n){(r||o.pI)(e,t,n)}function u(e,t,n,r){(i||o.ly)(e,t,n,r)}},837873:(e,t,n)=>{let r,i,o;n.d(t,{Ep:()=>m.Ep,Lx:()=>m.Lx,Ns:()=>et.N,H3:()=>ei,l4:()=>F.l4,Jq:()=>er.J,Il:()=>m.Il,jd:()=>m.jd,O0:()=>en,$0:()=>F.$0,FQ:()=>m.FQ,z6:()=>m.z6,GJ:()=>eP,XP:()=>j,py:()=>ef,TS:()=>B.ZP,R1:()=>M.Z,iO:()=>ee.Z,dv:()=>J.Z,N$:()=>es,MM:()=>ev,Rg:()=>ec,XJ:()=>eh,cW:()=>ea,mZ:()=>em.Z,r3:()=>ed.Z,ZH:()=>F.ZH,Iq:()=>eo,MN:()=>F.ZP,e7:()=>Z,VX:()=>eV,qs:()=>H.Z,qo:()=>z,zl:()=>G.Z,WY:()=>H.W,Ly:()=>el,mz:()=>eu,rC:()=>Q,nr:()=>K.Z,Hg:()=>ey,r:()=>eg,X_:()=>eb,qd:()=>e_,B6:()=>Y.Z,_o:()=>ew,kZ:()=>ep,rS:()=>X,h1:()=>eS.Z,eO:()=>er.e,V2:()=>ez,dW:()=>eZ,bC:()=>e$,zM:()=>eH.Z,h0:()=>eK.Z,wY:()=>m.wY,fN:()=>c,s4:()=>d,IP:()=>h,Cm:()=>s,tw:()=>l,I4:()=>u,WG:()=>eU,uz:()=>U,KT:()=>E,jP:()=>eD,BP:()=>eL,PC:()=>A,c7:()=>eR,VH:()=>P,lH:()=>eq,MR:()=>D,VZ:()=>L});var a=n(795839);let s=(0,a.aD)("ON_COPRINCIPAL_ACCOUNT_ADDED",e=>({addedAccount:e})),u=(0,a.aD)("ON_PRE_COPRINCIPAL_ACCOUNT_REMOVED",e=>({removedAccount:e})),l=(0,a.aD)("ON_COPRINCIPAL_BOOTSTATE_CHANGED",(e,t)=>({updatedAccount:e,newBootState:t})),c=(0,a.aD)("onAccountAuthSucceeded",e=>({mailboxInfo:e})),f=(0,a.aD)("ON_SHARED_SOURCES_CHANGED",e=>({updatedAccount:e})),d=(0,a.aD)("onAccountBadState",e=>({mailboxInfo:e})),h=(0,a.aD)("onAccountSuccessfullyRemediated",e=>({mailboxInfo:e}));var p=n(324336),v=n(309717),m=n(896225),g=n(102488);function y(e,t){let n=e.sourceId,r=(0,g.C)().sourcesBySourceId.has(e.sourceId),i=m.FQ.isCoprincipal(e)||!!t;if(r||!i){let t="AcctSourceIdMap-AddPreConditions",n=Error(t);(0,p.NW)(t,n,{present:r,coprincipal:i,rank:e.mailboxRank.toString(),type:e.mailboxInfo.type.toString()})}(0,g.C)().sourcesBySourceId.set(n,{source:e,coprincipalSourceId:t})}function b(e){(0,v.Z)((0,g.C)().sourcesBySourceId.has(e),"SourceId not found is store"),(0,g.C)().sourcesBySourceId.delete(e)}function _(e){return m.z6.isM365Mailbox(e)?{...e,mailboxInfo:{...e.mailboxInfo,sourceId:e.sourceId,mailboxRank:e.mailboxRank}}:e}function w(e,t,n,r,i){(0,v.Z)(t===n.coprincipalSourceId,"Additional info must have the same Coprincipal sourceId");let o=(0,g.C)().sources.filter(e=>e.sourceId===t);(0,v.Z)(1===o.length,"Cannot add additional info to a source not in the store");let a=o[0];(0,v.Z)(a&&m.FQ.isCoprincipal(a)&&m.z6.isM365UserMailbox(a),`We are attempting to set ${e} Account Info to a Non-M365UserMailboxAccountSource`),r(a).sources.forEach(e=>{b(e.sourceId)}),n.sources=n.sources.map(e=>_(e)),i(a,n.loadState,n.sources),function(e,t){let n=[],r=new Set;if(t.forEach(e=>{r.has(e.sourceId)?n.push(e.sourceId):r.add(e.sourceId)}),n.length>0){let r="AcctAddSources-DuplicateSourceIdsFound",i=Error(r),o=new Set(n);(0,p.NW)(r,i,{type:e,total:t.length,dups:n.length,udups:o.size})}}(e,n.sources),r(a).sources.forEach(e=>{y(e,t)})}function S(e){return e.archiveSources}function x(e,t,n){e.archiveSources.loadState=t,e.archiveSources.sources=n}let E=(0,a.lr)("SET_ARCHIVE_ACCOUNTS",function(e,t,n){w("Archive",e,{coprincipalSourceId:e,loadState:t,sources:n||[]},S,x)});function k(e){return e.groupSources}function C(e,t,n){e.groupSources.loadState=t,e.groupSources.sources=n}let A=(0,a.lr)("SET_GROUP_ACCOUNTS",function(e,t){w("Group",e,t,k,C)});function O(e){return e.publicFolderSources}function I(e,t,n){e.publicFolderSources.loadState=t,e.publicFolderSources.sources=n}let P=(0,a.lr)("SET_PUBLIC_FOLDER_ACCOUNTS",function(e,t,n){w("Public Folder",e,{coprincipalSourceId:e,loadState:t,sources:n},O,I)});function T(e){return e.teamsSources}function R(e,t,n){e.teamsSources.loadState=t,e.teamsSources.sources=n}let D=(0,a.lr)("SET_TEAMS_ACCOUNTS",function(e,t,n){w("Teams",e,{coprincipalSourceId:e,loadState:t,sources:n||[]},T,R)});var M=n(468627);let L=(0,a.lr)("UPDATE_CONNECTED_ACCOUNT_STATE",function(e,t){(0,v.Z)((0,M.Z)(e),"Cannot update account not in store"),(0,g.C)().sources.forEach(n=>{n.sourceId===e&&m.z6.isM365ConnectedMailbox(n)&&(n.accountState.connectedAccountState=t)})});var N=n(661616);let j=(0,a.lr)("addEasidAsLicensingMailboxInfo",function(e){let t=(0,M.Z)(e);if(m.FQ.isCoprincipal(t)){let{mailboxSmtpAddress:e}=t.mailboxInfo,n={type:"UserMailbox",userIdentity:e,mailboxSmtpAddress:e,sourceType:N.eq.OutlookDotCom,mailboxRank:"Licensing",diagnosticData:"EasidAsLicensingMailboxInfo"};t.licensingMailboxInfo=n}}),U=(0,a.lr)("removeEasidAsLicensingMailboxInfo",function(e){let t=(0,M.Z)(e);m.FQ.isCoprincipal(t)&&(t.licensingMailboxInfo={...t.mailboxInfo,sourceType:t.sourceType,mailboxRank:"Licensing"})});var B=n(256769),F=n(389057),W=n(827570),q=n(516171),$=n(636283),V=n(772891),K=n(550209);function Z(e){let t=(0,B.ZP)(e);if(t){if(W.CH.isCoprincipal(e))return e;if(m.FQ.isCoprincipal(t))return t.mailboxInfo;let n=(0,V.Z)(t.sourceId);if(n?.coprincipalSourceId)return(0,K.Z)(n?.coprincipalSourceId)}if(!(0,q.a4)("acctNoFallback")&&(0,g.C)().globalSettingsSourceId)return $.g4.warn("[source-list-store] failed to find MailboxInfo falling back to selected"),(0,K.Z)((0,g.C)().globalSettingsSourceId)}var H=n(190202);function z(e=!0){let t=(0,M.Z)((0,g.C)().globalSettingsSourceId);if(t?.mailboxInfo)return(0,W.M4)(t.mailboxInfo);if(e)throw Error("Failed to get global settings account");return""}var G=n(436207),J=n(419817);function Q(e){return g.C().sources.filter(t=>W.M4(t.mailboxInfo)===e)[0]?.mailboxInfo}n(399002);var Y=n(586001);function X(e){return B.ZP(e)?.sourceId}var ee=n(351462);n(143439);var et=n(177785),en=((i=en||{}).NoError="NoError",i.PolicyError="PolicyError",i),er=n(698015),ei=((o=ei||{}).None="None",o.PreRenderData="PreRenderData",o.PreRenderError="PreRenderError",o.StartupData="StartupData",o);function eo(e){return(0,g.C)().sources.filter(t=>m.FQ.isCoprincipal(t)&&t.bootState===e)}function ea(){return eo(et.N.StartupComplete).filter(e=>e.contracts.supportsCalendar)}function es(){return(0,g.C)().sources.filter(e=>e.contracts.supportsCalendar)}function eu(e){return eo(e).filter(e=>e.contracts.supportsMail)}function el(){return eu(et.N.StartupComplete)}function ec(){return(0,g.C)().sources}function ef(e){return e.map(e=>e.mailboxInfo)}var ed=n(881010);function eh(e,t){let n=(0,ed.Z)(e);if(m.z6.isM365UserMailbox(n))return function(e,t){let n=t.toLowerCase(),r=e.archiveSources.sources.filter(e=>n===e.mailboxInfo.auxiliaryMailboxGuid?.toLowerCase());return r[0]?.mailboxInfo}(n,t)}function ep(e,t){let n=(0,ed.Z)(e);if(m.z6.isM365UserMailbox(n))return function(e,t){let n=t.toLowerCase(),r=e.sharedSources.sources.filter(e=>n===e.mailboxInfo.mailboxSmtpAddress.toLowerCase());return r[0]?.mailboxInfo}(n,t)}function ev(){return ef(eo(et.N.StartupComplete))}var em=n(131570);function eg(){return ef(ea())}function ey(){return ef(es())}function eb(){return ef(el())}function e_(){return ef(eo(et.N.StartupComplete).filter(e=>e.contracts.supportsSettings))}function ew(e,t){let n=F.pJ[t],r=(0,W.M4)(e),i=(0,em.Z)(r);if(!i)return $.g4.warn("[source-list-store] Failed to find account from MailboxInfo can not get shared mailboxes"),[];if(m.z6.isM365UserMailbox(i)){let e=[];return i.sharedSources.sources.forEach(t=>{m.z6.isM365SharedMailbox(t)&&n(t)&&e.push(t)}),e}return $.g4.warn("[source-list-store] Account is not an M365 account can not get shared mailboxes"),[]}var eS=n(116805),ex=n(787012),eE=n(873082);function ek(e){if((0,eE.A)())return new Map;let t=new Map;return e.sources.forEach((e,n)=>{t.has(e.mailboxInfo.userIdentity)||t.set(e.mailboxInfo.userIdentity,{indexer:e.mailboxInfo.userIdentity,accountIndex:n,matchType:m.Il.AccountUserIdentity})}),e.removedAccounts.forEach((e,n)=>{t.has(e.mailboxInfo.userIdentity)||t.set(e.mailboxInfo.userIdentity,{indexer:e.mailboxInfo.userIdentity,accountIndex:n,matchType:m.Il.RemovedUserIdentity})}),e.sources.forEach((e,n)=>{e.aliases.forEach(r=>{t.has(r)||t.set(r,{indexer:e.mailboxInfo.userIdentity,accountIndex:n,matchType:m.Il.AccountAlias})})}),t}let eC=(0,a.lr)("ADD_COPRINCIPAL_ACCOUNT",function(e){let t=(0,g.C)(),n=t.sources.push(e)-1,r=t.sources[n];y(r),t.indexerByUserIdentity=ek(t),t.globalSettingsSourceId||(t.globalSettingsSourceId=r.sourceId)});var eA=n(720363);function eO(){(0,eA.q)(new Set((0,g.C)().sources.map(e=>e.mailboxInfo.userIdentity)))}function eI(e){let t=Error("AccountSourceMailboxInfoChanged");return(0,p.NW)("AccountSourceMailboxInfoChanged",t),null}function eP(e){(0,v.Z)(!(0,M.Z)(e.sourceId),"Found duplicated account in the store."),(0,v.Z)(e.mailboxRank===W.sn,"Must be a Coprincipal account"),$.g4.info(`[source-list-store] Adding coprincipal account with boot state ${e.bootState}`),function(e){let t=(0,W.M4)(e.mailboxInfo),n=(0,em.Z)(t);if(n){let t=Error("DuplicateCoprincipalIndexer"),r={type:e.sourceType,existingType:n.sourceType,areSameType:e.sourceType===n.sourceType,areSameSmtp:e.mailboxInfo.mailboxSmtpAddress===n.mailboxInfo.mailboxSmtpAddress,areSameUid:e.mailboxInfo.userIdentity===n.mailboxInfo.userIdentity};t.diagnosticInfo=JSON.stringify(r),(0,$.rx)("DuplicateCoprincipalIndexer",t)}}(e=_(e)),eC(e),function(e){let t=(0,M.Z)(e);t&&((0,ex.intercept)(t,"mailboxInfo",eI),(0,ex.intercept)(t.mailboxInfo,"type",eI),(0,ex.intercept)(t.mailboxInfo,"userIdentity",eI),(0,ex.intercept)(t.mailboxInfo,"mailboxSmtpAddress",eI),t.mailboxInfo.auxiliaryMailboxGuid&&(0,ex.intercept)(t.mailboxInfo,"auxiliaryMailboxGuid",eI),(0,ex.intercept)(t.mailboxInfo,"sourceId",eI),(0,ex.intercept)(t.mailboxInfo,"mailboxRank",eI))}(e.sourceId),eO(),s(e)}let eT=(0,a.lr)("SET_COPRINCIPAL_ACCOUNT_BOOT_STATE",function(e,t,n){(0,g.C)().sources.forEach(r=>{m.FQ.isCoprincipal(r)&&r.sourceId===e&&(r.bootState=t,r.bootStateData=n,$.g4.info(`[source-list-store] Setting coprincipal account boot state to ${r.bootState}`))})});function eR(e){r=e}function eD(e,t,n){let i=(0,M.Z)(e);if(!m.FQ.isCoprincipal(i)){let t="AcctInit-Cannot set BootState, coprincipal account is not in store",n=Error(t);(0,p.NW)(t,n,{cnt:(0,g.C)().sources.length,sid:typeof e,sidl:e.length});return}if(i.bootState===t)return;eT(e,t,n);let o=(0,M.Z)(e);(0,v.Z)(o,"Must have been able to find updated account by sourceId"),l(o,t),t===et.N.StartupComplete&&m.FQ.isCoprincipal(o)&&r&&r(o)}let eM=(0,a.lr)("SET_COPRINCIPAL_ACCOUNT_POLICY_STATE",function(e,t){let n=(0,g.C)().sources.find(t=>m.FQ.isCoprincipal(t)&&t.sourceId===e);n&&(n.policyState=t,$.g4.info(`[source-list-store] Setting coprincipal account policy state to ${n.policyState}`))});function eL(e,t){let n=(0,M.Z)(e);if(!m.FQ.isCoprincipal(n)){let t="AcctInit-Cannot set PolicyState, coprincipal account is not in store",n=Error(t);(0,p.NW)(t,n,{cnt:(0,g.C)().sources.length,sid:typeof e,sidl:e.length});return}n.policyState!==t&&(n.policyState===en.PolicyError&&d(n.mailboxInfo),eM(e,t))}let eN=(0,a.lr)("REMOVE_COPRINCIPAL_ACCOUNT_BY_ID",function(e,t){let n=(0,g.C)();n.sources=n.sources.filter(t=>t.sourceId!==e),e===n.globalSettingsSourceId&&(n.globalSettingsSourceId=n.sources.length>0?n.sources[0].sourceId:g.Z.globalSettingsSourceId),b(e),function(e){(0,v.Z)(!!e,"A non empty coprincipalSourceId must be provided");let t=[];(0,g.C)().sourcesBySourceId.forEach((n,r)=>{n.coprincipalSourceId===e&&t.push(r)}),t.forEach(e=>b(e))}(e),void 0!==t&&n.removedAccounts.push(t),n.indexerByUserIdentity=ek(n)});function ej(e,t,n,r){let i=Error(e);(0,p.NW)(e,i,{cnt:(0,g.C)().sources.length,dt:n?.dataType?.toString(),mt:m.z6.isM365Mailbox(n)?n?.accountSourceMailboxType?.toString():void 0,sid:typeof t,sidl:t.length,...r})}function eU(e){var t;let n=(0,g.C)(),r=n.sources.findIndex(t=>t.sourceId===e);if(r<0){ej("AcctRemove-AccountNotFound",e);return}if(n.sources.length<=1){ej("AcctRemove-CannotRemoveLastAccount",e,n.sources[0]);return}if(!m.z6.isM365ConnectedMailbox(n.sources[r])){let t=(0,g.C)().sources.filter(e=>!m.z6.isM365ConnectedMailbox(e));if(t.length<=1){ej("AcctRemove-CannotRemoveDefaultAccount",e,t[0],{ncnt:t.length});return}}let i={type:"RemovedAccount",sourceType:(t=n.sources[r]).sourceType,sourceId:t.sourceId,persistenceId:t.persistenceId,mailboxInfo:{...t.mailboxInfo,isRemoved:!0}};u(n.sources[r]),eN(e,i),eO()}function eB(e){return e.sharedSources}function eF(e,t,n){e.sharedSources.loadState=t,e.sharedSources.sources=n}let eW=(0,a.lr)("SET_SHARED_SOURCES",function(e,t){w("Shared Mailbox",e,t,eB,eF)});function eq(e,t){let n=(0,M.Z)(e);if(!n){let e="AcctSetSharedSources-AccountNotFound",t=Error(e);(0,p.NW)(e,t);return}eW(e,t),f(n)}function e$(e){return e==N.eq.Office365||e==N.eq.OutlookDotCom}function eV(e){return ed.Z(e)?.mailboxInfo}var eK=n(98858);function eZ(e){let t=eV(e);return!!t&&(0,eK.Z)(e,t)}var eH=n(343041);function ez(e){let t=eV(e);return!!t&&(0,eH.Z)(t)}},772891:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(102488);function i(e){return(0,r.C)().sourcesBySourceId.get(e)}},256769:(e,t,n)=>{n.d(t,{Ts:()=>a,ZP:()=>s});var r=n(636283),i=n(468627),o=n(102488);function a(e,t){var n,r;return e.type===t.type&&e.userIdentity===t.userIdentity&&e.mailboxSmtpAddress===t.mailboxSmtpAddress&&(n=e.auxiliaryMailboxGuid,r=t.auxiliaryMailboxGuid,n?!!r&&n===r:!r)}function s(e){if(e.sourceId){let t=(0,i.Z)(e.sourceId);if(t)return t}for(let t of(e.userIdentity&&e.mailboxSmtpAddress||r.g4.info("[source-list-store] MailboxInfo does not have both userIdentity and mailboxSmtpAddress"),(0,o.C)().sourcesBySourceId.values()))if(a(t.source.mailboxInfo,e))return t.source}},468627:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(772891);function i(e){return r.Z(e)?.source}},351462:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(102488);function i(e){return(0,r.C)().sources.filter(t=>t.sourceType===e).length}},419817:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(102488);function i(){return(0,r.C)().removedAccounts}},389057:(e,t,n)=>{let r,i;n.d(t,{$0:()=>l,ZH:()=>p,ZP:()=>h,l4:()=>c,pJ:()=>d});var o=n(309717),a=n(102488),s=n(896225),u=n(177785),l=((r=l||{})[r.Starting=0]="Starting",r[r.Completed=1]="Completed",r[r.Error=2]="Error",r[r.StartingOrCompleteOrError=3]="StartingOrCompleteOrError",r),c=((i=c||{})[i.Any=0]="Any",i[i.Calendar=1]="Calendar",i[i.Contacts=2]="Contacts",i[i.Mail=3]="Mail",i[i.Settings=4]="Settings",i);let f={0:e=>e.bootState!==u.N.StartupComplete&&e.bootState!==u.N.StartupError,1:e=>e.bootState===u.N.StartupComplete,2:e=>e.bootState===u.N.StartupError,3:e=>!0},d={0:e=>!0,1:e=>e.contracts.supportsCalendar,2:e=>e.contracts.supportsContacts,3:e=>e.contracts.supportsMail,4:e=>e.contracts.supportsSettings};function h(e=3,t=0){let n=f[e],r=d[t];return(0,a.C)().sources.map(e=>((0,o.Z)(s.FQ.isCoprincipal(e),"All sources must be Coprincipals"),e)).filter(e=>n(e)&&r(e))}function p(e=3,t=0){return h(e,t).map(e=>e.mailboxInfo)}},190202:(e,t,n)=>{n.d(t,{W:()=>u,Z:()=>s});var r=n(309717),i=n(102488),o=n(896225),a=n(468627);function s(){let e=(0,a.Z)((0,i.C)().globalSettingsSourceId);return(0,r.Z)(e,"AccountSourceListStore is not initialized",`cnt=${(0,i.C)().sources.length} gs=${typeof(0,i.C)().globalSettingsSourceId} s=${typeof e}`),e}function u(){let e=s();if(o.FQ.isCoprincipal(e))return e;throw Error("AccountSourceListStore is not initialized, global settings account is not a coprincipal account")}},436207:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(190202);function i(){let e=(0,r.Z)();if(!e.mailboxInfo)throw Error("Global settings account lacks MailboxInfo");return e.mailboxInfo}},550209:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(468627);function i(e){return r.Z(e)?.mailboxInfo}},399002:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(102488),i=n(468627),o=n(659439),a=n(516171);function s(){if(!(0,a.a4)("acctNoFallback"))return(0,o.ZP)("getSelectedAccount"),(0,i.Z)((0,r.C)().globalSettingsSourceId)}},586001:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(309717),i=n(102488),o=n(399002);function a(){let e=(0,o.Z)();return(0,r.Z)(e,"No account is selected as the global settings account",`cnt=${(0,i.C)().sources.length} ss=${typeof(0,i.C)().globalSettingsSourceId} sa=${typeof e}`),(0,r.Z)(e.mailboxInfo,"Global settings account lacks MailboxInfo",`cnt=${(0,i.C)().sources.length} mi=${typeof e.mailboxInfo}`),e.mailboxInfo}},143439:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(102488);function i(){let e=(0,r.C)();return{globalSettingsSourceId:e.globalSettingsSourceId,sources:e.sources,removedAccounts:e.removedAccounts}}},102488:(e,t,n)=>{n.d(t,{C:()=>a,Z:()=>i});var r=n(795839);let i={globalSettingsSourceId:"",sourcesBySourceId:new Map,indexerByUserIdentity:new Map,sources:[],removedAccounts:[]},o=(0,r.MT)("AccountSourceList",i)(),a=()=>o},896225:(e,t,n)=>{let r,i,o,a;n.d(t,{Ep:()=>l,FQ:()=>h,Il:()=>f,Lx:()=>c,jd:()=>u,wY:()=>p,z6:()=>d});var s=n(827570),u=((r=u||{})[r.NotStarted=0]="NotStarted",r[r.NotSupported=1]="NotSupported",r[r.Loading=2]="Loading",r[r.Loaded=3]="Loaded",r[r.Error=4]="Error",r),l=((i=l||{})[i.M365Mailbox=0]="M365Mailbox",i[i.PstFile=1]="PstFile",i),c=((o=c||{})[o.Archive=0]="Archive",o[o.User=1]="User",o[o.Connected=2]="Connected",o[o.Group=3]="Group",o[o.Shared=4]="Shared",o[o.PublicFolder=5]="PublicFolder",o[o.Teams=6]="Teams",o[o.PstFile=7]="PstFile",o),f=((a=f||{})[a.AccountUserIdentity=0]="AccountUserIdentity",a[a.RemovedUserIdentity=1]="RemovedUserIdentity",a[a.AccountAlias=2]="AccountAlias",a);let d={isM365Mailbox:e=>e?.dataType===0,isM365UserMailbox:e=>d.isM365Mailbox(e)&&1===e.accountSourceMailboxType,isM365ArchiveMailbox:e=>d.isM365Mailbox(e)&&0===e.accountSourceMailboxType,isM365ConnectedMailbox:e=>d.isM365Mailbox(e)&&2===e.accountSourceMailboxType,isM365GroupMailbox:e=>d.isM365Mailbox(e)&&3===e.accountSourceMailboxType,isM365SharedMailbox:e=>d.isM365Mailbox(e)&&4===e.accountSourceMailboxType,isM365PublicFolderMailbox:e=>d.isM365Mailbox(e)&&5===e.accountSourceMailboxType,isM365TeamsMailbox:e=>d.isM365Mailbox(e)&&6===e.accountSourceMailboxType,isPstFile:e=>e?.dataType===1},h={isCoprincipal:e=>e?.mailboxRank===s.sn},p=e=>{switch(e){case 0:return"ArchiveMailbox";case 2:case 1:return"UserMailbox";case 3:return"GroupMailbox";case 5:return"PublicMailbox";case 4:return"SharedMailbox";case 6:return"TeamsMailbox";case 7:return"PstFile";default:return e}}},177785:(e,t,n)=>{let r;n.d(t,{N:()=>i});var i=((r=i||{}).Pending="Pending",r.Booting="Booting",r.StartupInitialized="StartupInitialized",r.StartupComplete="StartupComplete",r.StartupError="StartupError",r)},698015:(e,t,n)=>{let r;n.d(t,{J:()=>i,e:()=>o});var i=((r=i||{})[r.None=0]="None",r[r.CoprincipalAccount=1]="CoprincipalAccount",r);function o(e){return 1===e.type}},965094:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(827570),i=n(419817),o=n(389057),a=n(881010),s=n(116805),u=n(343041);function l(e,t,n){let r=[];return e===n.mailboxInfo.mailboxSmtpAddress&&r.push(`${t}-smtp`),e===n.mailboxInfo.userIdentity&&r.push(`${t}-uid`),n.aliases.includes(e)&&r.push(`${t}-alias`),r.length>0?r.join():void 0}function c(e){let t=(0,s.Z)(),n=e?(0,a.Z)(e):void 0,c=n?.bootState,f=e&&t?(0,u.Z)(e):void 0,d=function(e){if(!e)return;let t=(0,r.M4)(e),n=(0,i.Z)().map((e,n)=>{if(t&&(0,r.M4)(e.mailboxInfo)===t)return n.toString()}).filter(e=>void 0!==e);if(n.length>0)return n.join()}(e),h=function(e){if(!e)return;let t=(0,o.ZP)().map((t,n)=>{let r=[e?l(e.mailboxSmtpAddress,"SMTP",t):void 0,e?l(e.userIdentity,"UID",t):void 0].filter(e=>void 0!==e);return r.length>0?`${n}:${r.join()}`:void 0}).filter(e=>void 0!==e);if(t.length>0)return t.join()}(e);return{hasAccount:!!n,bootState:c,isGlobalSettingsAccount:f,isRemovedAccount:!!d,matchingRemovedAccounts:d,isMatchingAccountEmails:!!h,matchingAccountEmails:h,accountsInStore:(0,o.ZP)().map((e,t)=>`${t}: ${e.sourceType} ${e.bootState}`).join()}}},131570:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(324336),i=n(78448),o=n(827570),a=n(389057);let s=new Set;function u(e,t=!1){let n=(0,a.ZP)().filter(t=>(0,o.M4)(t.mailboxInfo)==e);return t&&0===n.length?function(e){if(!s.has(e)){s.add(e);let t=Error("AccountNotFoundForIndexer");(0,r.mK)(t.message,{stack:t.stack})}}(e):n.length>1&&function(e,t){let n=new i.f;n.addStep("matches",{cnt:t.length,indexerLen:e.length}),t.forEach(e=>{!function(e,t,n){var r;let i=e.sourceType.toString(),o=e.mailboxInfo.mailboxSmtpAddress.length,s=e.mailboxInfo.userIdentity.length,u=t.map(t=>t.mailboxInfo.mailboxSmtpAddress==e.mailboxInfo.mailboxSmtpAddress?"Y":"N").join(","),l=t.map(t=>t.mailboxInfo.userIdentity==e.mailboxInfo.userIdentity?"Y":"N").join(","),c=t.map(t=>t.sourceType==e.sourceType?"Y":"N").join(","),f=(r=e.sourceId,(0,a.ZP)().map((e,t)=>e.sourceId===r?t:-1).filter(e=>-1!==e).map(e=>e.toString()).join(","));n.addStep("match",{type:i,smtpLen:o,userIdLen:s,sameSmtp:u,sameUserId:l,sameType:c,sourceIdMatches:f})}(e,t,n)});let o=Error("DuplicateCoprincipalIndexerFound");return(0,r.NW)("DuplicateCoprincipalIndexerFound",o,n.getCustomDataMapForSteps()),o}(e,n),n[0]}},881010:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(827570),i=n(131570);function o(e){let t=(0,r.M4)(e);return(0,i.Z)(t)}},116805:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(102488);function i(){let e=(0,r.C)().sources.length>0,t=!!(0,r.C)().globalSettingsSourceId;return e&&t}},343041:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(436207),i=n(98858);function o(e){return(0,i.Z)(e,(0,r.Z)())}},98858:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(256769);function i(e,t){return(0,r.Ts)(e,t)}},659439:(e,t,n)=>{n.d(t,{ZP:()=>f});var r=n(324336),i=n(758035),o=n(516171);let a=0,s=0,u=new Map([[!1,new Set],[!0,new Set]]),l=0,c=!1;function f(e){if((0,i.sj)()&&(0,o.a4)("acct-reflowAndDefaultTelemetry")&&(a<10||s<10)){l<2&&!c&&(++l,c=!0,setTimeout(()=>{a=0,s=0,u.get(!1)?.clear(),u.get(!0)?.clear(),c=!1},3e5));let t=function(e){switch(e){case"getAccountSourceListStore":case"getSelectedAccount":case"setSelectedAccount":return!0;default:return!1}}(e);if((t?s:a)>=10)return;let n="AcctDefaultOrReflow-"+e,i=Error(n).stack;if(i){let e=u.get(t);e&&!e.has(i)&&((0,r.mK)(n,{s:i}),e.add(i),t?s++:a++)}}}},661616:(e,t,n)=>{let r;n.d(t,{eq:()=>i,tu:()=>o,cb:()=>s,Zh:()=>a});var i=((r=i||{}).Office365="Office365",r.OutlookDotCom="Outlook",r.Google="Google",r.ICloud="ICloud",r.Yahoo="Yahoo",r.IMAP="IMAP",r.POP3="POP3",r.PstFile="PstFile",r.Other="Other",r);let o={IMAP_port:993,IMAP_encryption:"ssl",POP3_port:995,POP3_encryption:"ssl",SMTP_port:587,SMTP_encryption:"ssl"},a={IMAP:"imap",POP3:"pop3"};function s(e){return e?.type==="RemovedAccount"}},720363:(e,t,n)=>{n.d(t,{Z:()=>o,q:()=>i});let r=new Set;function i(e){r=e}function o(){return r}},724346:(e,t,n)=>{let r;n.d(t,{Vj:()=>v,_V:()=>h,HA:()=>a,pc:()=>d,uI:()=>p});var i=n(636283);let o=[];function a(e){r=e,o.length>0&&function(){for(let{name:e,error:t,data:n}of(i.g4.warn(`[Addon] Processing event queue. ${o.length} events.`,"analytics"),o))r(e,t,n);o=[]}()}function s(e,t,n,a){i.g4.warn(`[Addon] ${t}`,"analytics");let s=Error(n),u={addon:e,...a};r?r(n,s,u):o.push({name:n,data:u,error:s})}let u=new Map,l=new Map,c=new Set,f=!1;function d(e){i.g4.info(`[Addon] Analytics Addons registration is complete on the ${e} thread.`,"analytics"),f=!0,function(){for(let[e]of l.entries())s(e,`Analytics Addon ${e} wasn't cleared from queue after registration.`,"Analytics_Addons_AddonQueueNotCleared",{state:m()}),l.delete(e)}()}function h(e,t,n){if(u.has(e)){i.g4.warn(`[Addon] Analytics Addon ${e} is already registered in this thread. Ignoring the new registration.`,"analytics");return}u.set(e,{name:e,execute:t,isEnabled:n??!0}),i.g4.info(`[Addon] Registered Analytics Addon ${e}.`,"analytics"),l.has(e)&&(function(e){i.g4.info(` Processing Queue for Analytics Addon ${e}.`,"analytics");let t=l.get(e);if(t)for(let n of t){let t=g(e,n.args);n?.timer&&clearTimeout(n.timer),t?.then?.(t=>{i.g4.info(` Resolving promise for Analytics Addon ${e}.`,"analytics"),n.resolve?.(t)})?.catch?.(e=>{n.reject?.(e)})}}(e),l.delete(e))}function p(e){u.has(e)&&u.delete(e)}function v(e,t){return{name:e,executeNow:(...t)=>g(e,t),executeWhenReady:(...n)=>(function(e,t,n){if(u.has(e))y(e,t);else{let r=l.get(e)||[];r.push({name:e,args:t}),l.set(e,r),b(e,n)}})(e,n,t),executeWhenReadyAsync:(...n)=>u.has(e)?(i.g4.info(` Not adding promise for Analytics Addon ${e} (already registered)`,"analytics"),y(e,n)):(i.g4.info(` Adding promise for Analytics Addon ${e}`,"analytics"),new Promise((r,i)=>{let o=setTimeout(()=>{let t=`Timeout waiting for Analytics Addon ${e} to be registered.`;s(e,t,"Analytics_Addons_ResgistrationPromiseTimeout",{addon:e}),r(null)},12e4),a=l.get(e)||[];a.push({name:e,args:n,resolve:r,reject:i,timer:o}),l.set(e,a),b(e,t)})),isRegistered:u.has(e),isRegistrationComplete:f,isEnabled:u.get(e)?.isEnabled}}function m(){return f?"RegistrationComplete":"RegistrationNotComplete"}function g(e,t){if(u.has(e))return y(e,t);throw Error(`Analytics Addon ${e} is not registered in this thread. You can use 'executeWhenReady' or 'executeWhenReadyAsync' if you call the addon before registring it.`)}function y(e,t){return u.get(e)?.isEnabled===!1?(i.g4.warn(`[Addon] Analytics Addon ${e} was called with "executeNow" but is disabled.`,"analytics"),null):u.get(e)?.execute(...t)}function b(e,t){!f||c.has(e)||t||(c.add(e),s(e,`Analytics Addon ${e} was added to a queue after registration.`,"Analytics_Addons_QueueAccessedAfterRegistration",{details:"This might be expected if we voluntarily access an addon that isn't registered in the current thread.",state:m()}))}},420964:(e,t,n)=>{n.d(t,{cs:()=>y,Hx:()=>v,a:()=>p,E4:()=>h});var r=n(78191),i=n(797388),o=n(114878),a=n(300011),s=n(34726),u=n(903683),l=n(478248),c=n(827570);let f=new Map;var d=n(206339);function h(e){let t=(0,a.mn)("track");return!!t&&("*"==t||t.indexOf(e)>-1)}function p(){return h(v)}let v="client_verbose",m=0,g=class{constructor(e,t,n,i){if(this.customDataIndex=1,this.hasEnded=!1,this.eventName=e&&e.toString().replace(".","_")||"",this.creationTime=new Date().toISOString(),this.properties=i||{},n?.mailbox){if((0,d.cr)("fwk-acting-puid",void 0,!0)){let e=function(e){let t=(0,c.M4)(e);if(f.has(t))return f.get(t);let n=(0,l.p)(e);if(n){let e=n.SessionSettings?.UserPuid;if(e)return f.set(t,e),e}}(n.mailbox);e&&this.addData("ActingPuid",e)}delete n.mailbox}this.options=n??{},this.addCustomData(t),n?.actionSource&&this.addActionSource(n.actionSource),n?.cosmosOnlyData&&this.addCosmosOnlyData(n.cosmosOnlyData),this.addData("App",n?.appOverride??(0,r.Mq)()),this.eventName&&this.addData("EventName",this.eventName),this.addData("SequenceNumber",m++);let o=n?.errorComponent;o&&this.addData("ErrorComponent",o),this.updateSessionOccurences(this.eventName);let a=(0,s.q0)();a&&this.addData("SessionElapseTime",a),this.addData("OriginalThread",(0,u.N)())}getEventName(){return this.eventName}getOptions(){return this.options}addCustomData(e){if(e&&!this.hasEnded){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.addCustomProperty(`owa_${(this.customDataIndex++).toString()}`,e[t]);else if(e instanceof Object){let t=Object.keys(e);for(var n=0;n<t.length;n++)this.addCustomProperty(t[n],e[t[n]])}}}hasCustomData(e){return this.propertyBag?.[e]!=void 0}getCustomData(e){return this.propertyBag?.[e]}getData(e){return this.properties[e]}getProperties(){return this.properties}addData(e,t){this.hasEnded||this.addDataWithoutChecks(e,t)}addDataWithoutChecks(e,t){this.properties[e]=t}addCosmosOnlyData(e){this.addDataWithPiiScrubbing("ExtraData",e)}addActionSource(e){this.addData("ActionSource",e)}getActionSource(){return this.getData("ActionSource")}addCustomProperty(e,t){this.propertyBag||(this.propertyBag={});let n=(0,o.d)(this.propertyBag,e,this.eventName);n&&(this.propertyBag[n]=t)}getPropertyBag(){return this.propertyBag}getCreationTime(){return this.creationTime}static fromJSObject(e){return Object.assign(new g,e)}addDataWithPiiScrubbing(e,t){this.addData(e,(0,i.$6)(t))}updateSessionOccurences(e){let t=g.sessionOccurrences[e];this.sessionOccurrence=g.sessionOccurrences[e]=t?t+1:1,this.addData("SessionOccurences",this.sessionOccurrence)}},y=g;y.sessionOccurrences={}},961481:(e,t,n)=>{n.d(t,{Y:()=>u});var r=n(469632),i=n(219075),o=n(249748),a=n(206339);let s=null;function u(){return s||(s=function(){let e=(0,i.j$)(),t=(0,r.Ry)("Analytics");return{disabledDatapoints:t.disabledDatapoints||[],throttledDatapoints:t.throttledDatapoints||[],disableIsCoreDatapoints:t.disableIsCoreDatapoints||[],enableHighCountEventThrottle:t.enableHighCountEventThrottle,highCountEventThrottleWindow:t.highCountEventThrottleWindow,highCountEventThrottleThreshold:t.highCountEventThrottleThreshold,capturePerfProfiles:t.capturePerfProfiles||[],shouldCaptureAssets:(0,a.cr)("an-log-assets"),skipFlightControls:(0,a.cr)("ring-dogfood")||(0,a.cr)("an-no-sample-ppe"),isFullVerboseLoggingEnabled:(0,a.cr)("an-full-logging"),enablePrivacyGuard:(0,a.cr)("fwk-oneDs-privacyGuard"),turnOffCustomData:(0,a.cr)("fwk-turnOffCustomData"),devToolsEnabled:e||(0,a.cr)("fwk-devTools"),trackEventFrequency:(0,a.cr)("fwk-an-trackEventFrquency"),isDataWorkerEnabled:(0,o.N1)(),isAnalyticsTelemetryEnabled:(0,a.cr)("fwk-analytics-telemetry"),enableOfflineCaching:(0,a.cr)("fwk-offline-boot")}}()),s}},114878:(e,t,n)=>{n.d(t,{d:()=>r});function r(e,t,n){if(null==t||void 0==t)return;let[r,i]=function(e){let t=e.lastIndexOf("_");if(t>-1){let n=e.slice(0,t),r=parseInt(e.slice(t+1));if(!isNaN(r))return[n,r]}return[e,1]}(t);for(var o=0;void 0!=e[t];o++)if(t=r+"_"+i,i+=1,o>=50)throw Error("GUP: "+t+"|EventName:"+n);return t}},78448:(e,t,n)=>{n.d(t,{f:()=>o});var r=n(223589);let i="steps";class o{constructor(){this.steps=new Map,this.suffixLimitReached=new Set}getKeyName(e,t){return t?`${e}_${t}`:e}addStep(e,t){if(this.suffixLimitReached.has(e))return;let n=this.steps.size,o=e==i?1:0;for(let r=o;r<25;++r)if(!this.steps.has(this.getKeyName(e,r))){this.steps.set(this.getKeyName(e,r),{sequence:n,data:t});return}let a=Error("StepsSuffixLimitReached");(0,r.ly)(a.message,a,{_n:e,...this.getCustomDataMapForSteps()}),this.suffixLimitReached.add(e)}getCustomDataMapForSteps(){let e={};return e[i]=this.steps.size,this.steps.forEach((t,n)=>{e[n]=t.sequence,t.data&&Object.keys(t.data).forEach(r=>{e[`${n}_${r}`]=t.data[r]})}),e}}},654879:(e,t,n)=>{n.d(t,{n3:()=>h,gA:()=>d,L_:()=>f,Wp:()=>c,DM:()=>u,cJ:()=>l,KH:()=>p,HG:()=>r.H,vU:()=>i.v});var r=n(482202),i=n(356254),o=n(776372),a=n(636283);function s(e,t,n,r,i,o,s){if(e){var u;if(t){e.addToPredefinedWaterfall(n,o,void 0,s);return}if(r&&i){e.addToCustomWaterfall(r,`${n}_${i}`,o);return}u=e.getEventName(),a.g4.warn(`AddTimingToWaterfallFailed dp: ${u}. checkpoint: ${n}. isPredefined: ${t}`)}}async function u(e,t=null,n){if(!e||t?.isEnabled===!1)return n({});let r=e?.isPerformanceDatapoint,i=r?e:e.datapoint;s(i,r,"Data_S",e?.indexes?.[0],e?.name,t?.discardIfDefined),i.dataSource=null;let a=await n({perfDatapoint:i,waterfallSettings:t});return null!==i.dataSource||i.didExecuteGqlQuery||(i.dataSource=o.o2.NO_QUERY),s(i,r,"Data_E",e?.indexes?.[1],e?.name,t?.discardIfDefined),a}async function l(e,t,n,...r){let i=!!e.datapoint?.isPerformanceDatapoint,a=e.customDatapoint,u=e.datapoint||e.customDatapoint?.datapoint;s(u||null,i,"Network_S",a?.indexes?.[o.g5.NETWORK_REQUEST_STARTING],a?.name,t?.discardIfDefined,r?.[0]?r[0]:void 0);let c=await n.apply(null,r),f=o.o2.NETWORK;return e.datapoint?e.datapoint.addDataSource(f):e.customDatapoint&&e.customDatapoint.datapoint.addToCustomWaterfall(e.customDatapoint.indexes?.[o.g5.DATA_SOURCE],`DataSource_${e.customDatapoint.name}`,t?.discardIfDefined,f),s(u||null,i,"Network_E",a?.indexes?.[o.g5.NETWORK_REQUEST_ENDED],a?.name,t?.discardIfDefined,r?.[0]?r[0]:void 0),c}function c(e,t,n){f(e,n),d(e,t,void 0)}function f(e,t){e.addToPredefinedWaterfall("Render_S",!0,t)}function d(e,t,n){e.addCallbackResolvedAfterNextPaint(()=>{e.addToPredefinedWaterfall("Render_E",!0)}),t||e.setEndPending(),n&&(0,r.H)(()=>n())}let h=["GQL_Link_S","GQL_Link_E","GQL_Bridge_S","GQL_Bridge_E","GQL_Bridge_Error","Data_S","Data_E","Network_S","Network_E"];function p(e,t,n,r=!0){for(let i of n)(function(e,t,n,r){if(t.hasEnded)return;let i=e.getWaterfallColumnData(n),o=parseInt(i&&i.toString().split("|")?.pop()||""),a=e.getStartTime(),s=t.getStartTime();o&&a&&s&&t.addToPredefinedWaterfall(n,!0,a+o-s);let u=e.getDataSource();r&&u&&t.addDataSource(u)})(e,t,i,r)}},378732:(e,t,n)=>{n.d(t,{P:()=>a}),n(300011);let r="56468f6991c348029c6bba403b444607-7f5d6cd1-7fbe-4ab1-be03-3b2b6aeb3eb4-7696",i=new Map;i.set("OutlookWeb",r),i.set("CLP","20ed4f5863d145bb9b9811c0f016da47-0f867f8d-a0be-44dc-b557-6da8178006f7-7559");let o=new Map;function a(e,t){return t&&i.has(t)?i.get(t):e&&o.has(e)?o.get(e):r}o.set("BookWithMe","ae3a308c9d714a9bafbae96e11115bc2-cf5099e3-5467-4f24-98eb-fef77b0802fa-6900"),o.set("FindTime","199fda8f7c2e423291001798b2f173c5-fcb15ea6-c8e1-430e-bfed-450cc70fcd67-6876"),o.set("Eventify","64c370c14bad4d92915f904803e88197-5dd29cf4-d011-45e0-b2e5-aade29021e96-6966"),o.set("Meet","199fda8f7c2e423291001798b2f173c5-fcb15ea6-c8e1-430e-bfed-450cc70fcd67-6876"),o.set("People","90c31e9f702c4564b120167247d3cd9f-d894a4e5-72f4-4221-ab00-94e1359dfb60-7137")},356254:(e,t,n)=>{n.d(t,{h:()=>o,v:()=>i});let r=null;function i(e){r=e}function o(){return r}},482202:(e,t,n)=>{n.d(t,{H:()=>o});var r=n(696254),i=n(356254);function o(e){let t=()=>(0,r.JY)(t=>{setTimeout(()=>{e(t)})}),n=(0,i.h)();n?n.then(()=>{t()}):t()}},223589:(e,t,n)=>{let r,i;function o(){return void 0==r&&(r="undefined"!=typeof self&&self.performance?.timing!=null),r}function a(){return void 0==i&&(i="undefined"!=typeof self&&self.performance?.getEntriesByName!=null),i}n.d(t,{B:()=>v,pl:()=>c,rT:()=>f,Vd:()=>o,BG:()=>a,RX:()=>s.RX,pI:()=>s.pI,ly:()=>s.ly,CZ:()=>s.CZ,U_:()=>d});var s=n(317277);let u=[],l=!0;function c(e,t){e(h),t(h),a()&&(self.performance.setResourceTimingBufferSize?self.performance.setResourceTimingBufferSize(500):self.performance.webkitSetResourceTimingBufferSize&&self.performance.webkitSetResourceTimingBufferSize(500))}function f(e,t,n,r){let i=(0,s.DE)(e);return{network:u,usage:i,coreUsage:(0,s.iA)(t),greyError:(0,s.He)(n),coreGreyError:(0,s.Qi)(r)}}function d(){l=!1}function h(){l&&u.push(arguments)}var p=n(378732);let v=()=>(0,p.P)(null,"OutlookWeb")},317277:(e,t,n)=>{let r,i,o,a;n.d(t,{CZ:()=>f,DE:()=>v,He:()=>g,Qi:()=>y,RX:()=>p,iA:()=>m,ly:()=>h,pI:()=>d});let s=[],u=[],l=[],c=[];function f(e,t,n){r?r(e,t,n):s.push({name:e,customData:t,options:n})}function d(e,t,n){i?i(e,t,n):u.push({name:e,customData:t,options:n})}function h(e,t,n,r){o?o(e,t,n,r):l.push({name:e,customData:n,options:r})}function p(e,t,n,r){a?a(e,t,n,r):c.push({name:e,customData:n,options:r})}function v(e){return r=e,s}function m(e){return i=e,u}function g(e){return o=e,l}function y(e){return a=e,c}},776372:(e,t,n)=>{let r,i,o,a;function s(e){return"SimplifiedRibbon"===e||"MultiLineRibbon"===e}n.d(t,{o2:()=>l,SO:()=>u,g5:()=>c,L2:()=>s});var u=((r=u||{}).Success="Success",r.ServerError="ServerError",r.UserError="UserError",r.UserCancelled="UserCancelled",r.ServerExpectedError="ServerExpectedError",r.ClientError="ClientError",r.RequestNotComplete="RequestNotComplete",r.Timeout="Timeout",r.BackgroundSuccess="BackgroundSuccess",r.AuthError="AuthError",r.PartnerError="PartnerError",r),l=((i=l||{}).NETWORK="NETWORK",i.NETWORK_GQL="NETWORK_GQL",i.NETWORK_GATEWAY="NETWORK_GATEWAY",i.SERVICE_WORKER="SERVICE_WORKER",i.INDEXDB="INDEXDB",i.IN_MEMORY="IN_MEMORY",i.NO_QUERY="NO_QUERY",i),c=((o=c||{})[o.NETWORK_REQUEST_STARTING=0]="NETWORK_REQUEST_STARTING",o[o.NETWORK_REQUEST_ENDED=1]="NETWORK_REQUEST_ENDED",o[o.DATA_SOURCE=2]="DATA_SOURCE",o[o.DATA_LOADING=0]="DATA_LOADING",o[o.DATA_LOADED=1]="DATA_LOADED",o[o.GQL_BRIDGE_QUERY=2]="GQL_BRIDGE_QUERY",o[o.GQL_BRIDGE_RESULT=3]="GQL_BRIDGE_RESULT",o[o.GQL_BRIDGE_ERROR=4]="GQL_BRIDGE_ERROR",o[o.CODE_LOADING=0]="CODE_LOADING",o[o.CODE_LOADED=1]="CODE_LOADED",o),f=((a=f||{}).IDB_QUERY_MARK="INDEXDB_QUERY",a.IDB_RESULT_MARK="INDEXDB_RESULT",a.IDB_FALLBACK_MARK="INDEXDB_FALLBACK",a)},936768:(e,t,n)=>{n.d(t,{q:()=>i});let r="object"==typeof self;function i(){return r&&self.performance&&self.performance.now?Math.floor(self.performance.now()/1e3):null}},34726:(e,t,n)=>{n.d(t,{iZ:()=>i,yw:()=>p,hh:()=>u,q0:()=>y.q,sq:()=>v,tf:()=>m});var r=n(78191);function i(e){e.data||(e.data={}),e.data.App=(0,r.Mq)()}var o=n(137176),a=n(150400),s=n(758035);function u(e,t){if((0,o.V)(e)&&!t)return"https://eu-office.events.data.microsoft.com/"+a.wB;let n=(0,a.a$)();if(n)return n;let r=(0,s.uD)();return"GccHigh"===r?"https://tb.events.data.microsoft.com/"+a.wB:"DoD"===r?"https://pf.events.data.microsoft.com/"+a.wB:void 0}var l=n(636283),c=n(724346);let f=!0,d={logDatapoint:[],logPerformanceDatapoint:[],logAddinsCustomerContent:[],logAddinsTelemetryEvent:[]},h=new Map;function p(){f=!0}function v(e){l.g4.info(` Analytics Initialized. Processing ${Object.values(d).reduce((e,t)=>e+t?.length,0)} queued events.`,"analytics"),f=!1,function(e){for(let[t,n]of(e?.("LogDatapointQueue_s"),Object.entries(d)))if(n.length>0){let e=(0,c.Vj)("LogEventsToWorkerInBatches"),r=e?.isEnabled&&e?.executeNow(t,n);r&&"useFallback"!==r||function(e,t){for(let n of t){let t=h.get(e);t?g(t,n.args):l.g4.warn(`Failed to find the function for ${e}. Skipping the event.`,"analytics")}}(t,n)}e?.("LogDatapointQueue_e")}(e)}function m(e,t,...n){h.has(e)||h.set(e,t),f?d[e].push({args:n}):g(t,n)}function g(e,t){e.apply(null,t)}var y=n(936768)},479:(e,t,n)=>{n.d(t,{y:()=>i});var r=n(196571);function i(e,t){return r.Ly.importAndExecute(e,t)}},302618:(e,t,n)=>{n.d(t,{D:()=>i});var r=n(420964);class i extends r.cs{constructor(e,t,n,r){super(e,t,n,r),n?.unifiedTelemetry&&this.addUnifiedTelemetryData(n.unifiedTelemetry)}addPiiData(e){this.piiData||(this.piiData=e)}addUnifiedTelemetryData(e){this.unifiedTelemetry=e}getPiiData(){return this.piiData}}},932965:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(302618);class i extends r.D{}},196571:(e,t,n)=>{n.d(t,{FH:()=>f,Hf:()=>h,Ly:()=>s,OK:()=>p,R$:()=>c,Rm:()=>u,Rq:()=>m,Vi:()=>d,Yt:()=>o,eg:()=>v,ps:()=>l,xw:()=>a});var r=n(150810);let i=new r.nI(()=>Promise.all([n.e(93993),n.e(34497),n.e(65145),n.e(64446),n.e(93785),n.e(20323),n.e(85191),n.e(38475),n.e(6339),n.e(57662),n.e(50860)]).then(n.bind(n,905956)),{maxFailedRetries:100,name:"Analytics"}),o=new r._5(i,e=>e.oneDSFlush),a=new r._5(i,e=>e.addMsaAuthTicket),s=new r._5(i,e=>e.logDatapoint),u=new r._5(i,e=>e.logPerformanceDatapoint),l=new r._5(i,e=>e.getResourceTimingForUrl),c=new r._5(i,e=>e.logAddinsCustomerContent),f=new r._5(i,e=>e.logAddinsTelemetryEvent),d=new r._5(i,e=>e.logUsage),h=new r._5(i,e=>e.trackNetworkResponse),p=new r._5(i,e=>e.registerOwsCallbacks),v=new r._5(i,e=>e.logProfilerDatapoint),m=new r.EF(i,e=>e.NovaLogger)},469632:(e,t,n)=>{let r;n.d(t,{n8:()=>o.n8,ZB:()=>d,ch:()=>D,vC:()=>M,NP:()=>R,xW:()=>l,x6:()=>a,Ry:()=>i.Z,B7:()=>f,c7:()=>s,v9:()=>v,v7:()=>w,Rd:()=>_});var i=n(645410),o=n(724688);function a(e,t){return(0,o.ZP)(t).overrides[e]}function s(e){return(0,o.ZP)(e).report}var u=n(760553);function l(e){let t=(0,o.ZP)(e);return t.initialized||(0,u.h)(e,"AllSettings"),t.settings}var c=n(4708);function f(e,t){return e.applicationSettings?.settings[t]||c.t[t]}let d=e=>!0===(0,o.ZP)(e).settings.ReliabilityCheck.isPresent?1:0,h=(e,t,n,r)=>{let i={};return t&&(i.Type=t),i.Settings=e,i.Filters=n,r&&(i.LastError=r),i},p=e=>({NoSettings:!0,LastError:e});function v(e,t){(0,u.d)(!1);let n=(0,o.ZP)(t);if(n.initialized=!0,!e){n.lastError={message:"Client: config object is "+(void 0===e?"undefined":"null"),stackTrace:"",onInitialLoad:!0},n.report=p(n.lastError);return}if(!e.settings){let t=void 0===e.settings?"undefined":"null";n.lastError=e.lastError??{message:"Client: config.settings object is "+t,stackTrace:"",onInitialLoad:!0},n.report=p(n.lastError);return}let r={};Object.keys(c.t).forEach(t=>{r[t]={};let n=e.settings[t];Object.keys(c.t[t]).forEach(e=>{r[t][e]=n&&n.hasOwnProperty(e)?n[e]:c.t[t][e]})}),n.configIDs=e.configIDs,n.lastError=e.lastError,n.settings=r;let i="",a=e.configIDs?.indexOf(":");a>0&&(i=e.configIDs?.substring(0,a));let s="",l=e.configIDs?.indexOf(":",a+1);l>0&&(s=e.configIDs?.substring(a+1,l)),n.report=h(e.settings,i,s,e.lastError)}var m=n(308105),g=n(434697);let y=(e,t,n)=>{let r=(0,g.A)(n);r[e]=t,(0,m.LS)(self,(0,g.f)(n),JSON.stringify(r))},b=e=>{(0,m.cl)(window,(0,g.f)(e))};function _(e,t,n){y(e,t,n),(0,o.ZP)(n).overrides[e]=t}function w(e){b(e),(0,o.ZP)(e).overrides={}}var S=n(206339),x=((r=x||{})[r.None=0]="None",r[r.Idb=1]="Idb",r[r.Web=2]="Web",r[r.Remote=4]="Remote",r[r.All=7]="All",r);let E=new Map([["markItemAsRead","fwk-useoutlookgateway-markItemAsRead"],["collab","fwk-useoutlookgateway-collabObject"],["cities","fwk-useoutlookgateway-places-cities"],["roomLists","fwk-useoutlookgateway-places-roomLists"],["rooms","fwk-useoutlookgateway-places-rooms"],["spaces","fwk-useoutlookgateway-places-spaces"],["getScheduleWithLocation","msplaces-useOutlookGatewayReferenceResolversOverLocal"]]),k=new Set(["contactPersona","subscribeToConversationNotifications","subscribeToPersonasChangeNotifications","persona","undoSend"]),C=new Set(["calendarEvents","calendarGroups","collab","fullBirthdayCalendarEvent","fullCalendarEvent","getSchedule","sharedCalendarAdditionalInfo","subscribeToCalendarEventNotifications"]),A=new Set(["conversation","conversationNode","conversationNodes","conversationRows","item","items","itemRows","subscribeToConversationNotifications","subscribeToRowNotifications"]),O=new Set(["createDraft","createSmartResponse","saveDraft","saveSmartResponse","discardDraft","sendItem","undoSaveSend"]),I=new Map([["folderHierarchy","fwk-offline-mail"],["folder","fp-offline-folder-query"],["folders","fp-offline-folder-query"],["startAccountData","fp-start-account-data-idb"]]),P=new Map([["renameFolder","fp-offline-folder-actions"],["createFolder","fp-offline-folder-actions-v2"],["moveFolder","fp-offline-folder-actions-v2"],["deleteFolder","fp-offline-folder-actions-v2"]]),T=new Map([["markItemAsRead","fwk-aq-triageActions"],["markConversationAsRead","fwk-aq-triageActions"],["deleteConversation","fwk-aq-triageActions"],["undoDeleteConversation","fwk-aq-triageActions"],["deleteItem","fwk-aq-triageActions"],["undoDeleteItem","fwk-aq-triageActions"],["moveConversation","fwk-aq-triageActions"],["undoMoveConversation","fwk-aq-triageActions"],["copyItem","fwk-aq-triageActions"],["moveItem","fwk-aq-triageActions"],["undoMoveItem","fwk-aq-triageActions"],["pinConversation","fwk-aq-triageActions"],["pinItem","fwk-aq-triageActions"],["markItemAsPhishing","fwk-aq-triageActions"],["markItemAsJunk","fwk-aq-triageActions"],["undoMarkItemAsJunk","fwk-aq-triageActions"],["categorizeConversation","fwk-aq-triageActions"],["categorizeItem","fwk-aq-triageActions"],["flagConversation","fwk-aq-triageActions"],["flagItem","fwk-aq-triageActions"],["setInferenceClassificationOnItem","fwk-aq-triageActions"],["scheduleItem","fwk-aq-triageActions"],["scheduleConversation","fwk-aq-triageActions"],["undoScheduleConversation","fwk-aq-triageActions"],["ignoreConversation","fwk-aq-triageActions"],["setInferenceClassificationOnConversation","fwk-aq-triageActions"],["emptyView","fwk-aq-triageActions"],["markViewAsRead","fwk-aq-triageActions"],["updateUserConfiguration","fwk-aq-userConfig"],["saveAutomaticRepliesConfig","fwk-aq-userConfig"],["autoReplyConfig","fwk-aq-userConfig"],["updateMasterCategoryList","fwk-aq-userConfig"],["updateMobileDevicesStatistics","fwk-aq-userConfig"],["mobileDevicesStatistics","fwk-aq-userConfig"]]);function R(e,t,n,r){return!r&&(L(e,t,n)&x.Web)==x.Web}function D(e,t,n,r){if(r||C.has(t)&&!(0,S.cr)("fwk-offline-calendar")||A.has(t)&&!(0,S.cr)("fwk-offline-mail")||O.has(t)&&(!(0,S.cr)("fwk-offline-mail")||!(0,S.cr)("cmp-offline-mail-newdraft")))return!1;if(I.has(t)){let e=I.get(t);if(!e||!(0,S.cr)(e))return!1}if(P.has(t)){let e=P.get(t);if(!e||!(0,S.cr)(e))return!1}if(T.has(t)){let e=T.get(t);if(!e||!(0,S.cr)(e))return!1}return(L(e,t,n)&x.Idb)==x.Idb}function M(e,t,n,r){return!r&&(L(e,t,n)&x.Remote)==x.Remote}function L(e,t,n){let r=k.has(t)?x.Idb:x.All;if(E.has(t)){let e=E.get(t);if(e)return(0,S.cr)(e)&&!n?x.Remote:r}let o=(0,i.Z)("EnabledResolvers"),a=o?.[e]?.[t];return void 0==a?r:a}},645410:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(206339),i=n(724688),o=n(760553);function a(e,t){let n=(0,i.ZP)(t);return(n.initialized||(0,o.h)(t,e),(0,r.cr)("fwk-devTools"))?function e(t,n,r){let i={};return Object.keys(t).forEach(o=>{if("object"!=typeof o||null===o||Array.isArray(o)){let e=n[[...r,o].join(".")];i={...i,[o]:void 0===e?t[o]:e}}else i={...i,[r.shift()]:e(t[o],n,r)}}),i}(n.settings[e],n.overrides,[e]):n.settings[e]}},4708:(e,t,n)=>{n.d(t,{t:()=>r});let r={AboutOutlook:{enabled:!1},Addin:{devicePermissionAllowList:""},Ads:{astJsURL:"https://acdn.adnxs.com/ast/static/0.51.0/ast.js"},Analytics:{disabledDatapoints:[],throttledDatapoints:[],disableIsCoreDatapoints:[],enableHighCountEventThrottle:!1,highCountEventThrottleWindow:15,highCountEventThrottleThreshold:250,capturePerfProfiles:[]},AppHealth:{appHealthIntervalInMs:18e5},BingNativeAds:{placementOther1:"ARCZfUlvuZ0j9rVyyrDOVrqoWLU1DW5apsssi95fdg/SB0aIpD6l006AvcP/wXoOI40=",placementOther2:"ARBR/vpvU+rZ5Amq3JsP/KgfscqG1qZwde2WRFRcGO+P5RfrTrEp2LPDb/01YVw4sF0=",placementPrimary:"ARB68RharLDirX5n8PKMAX/gwjPisZPgkOV9uea6yzb7MptvVIFyqLkH0kWrQBTCff8=",placementHeader:"ARCyZ6WH59gW6TqsH4dLtbi0U2JLZrEm/ZO3JATMCanRMASaB4TfJmHWe09qcD2AS0g="},CAPIv3:{isCAPIv3Enabled:!1},CalendarMeetingApps:{phase1Enabled:!1,hubName:"teams_desktop"},CalendarReplyToAttendees:{enabled:!0},CalendarRibbonNewEventButton:{isDropdownEnabled:!0},CalendarTeamsToggle:{enabled:!1,isFeedbackEnabled:!1},Copilot:{elaborateEnabled:!1,coachEnabled:!1,suggestedDraftsEnabled:!1,summarizeEnabled:!1,explainPlacesReportEnabled:!1,replyByMeetingEnabled:!1,meetingPrepSummaryEnabled:!1,disableEdgeCopilotExtract:!1,disableInboxShopping:!1,disableAddins:!1,enableMultiLanguage:!1,calendarElaborateEnabled:!1,calendarRewriteEnabled:!1,enableGeneric1PAddinSupport:!1,timeCopilotChatEnabled:!1},CopliotRing:{ringName:"Dogfood"},EnabledResolvers:{Query:{},Mutation:{},Subscription:{}},ForwardingWithPopImapOption:{enabled:!1},GdprAds:{vendorListCdnUrl:"https://res.cdn.office.net/assets/ads/7dttl/vendor-list.json",vendorListCdnV3Url:"https://res.cdn.office.net/assets/ads/7dttl/vendor-list-v3.json"},Graph:{resourceUrl:"https://graph.microsoft.com"},InboxShopping:{allowedDomainsURL:"https:{0}assets/inboxshopping/v1/allowedDomainsBloom.json"},Loki:{resourceUrl:"",complianceEnvironment:""},MonarchNotifications:{enabled:!1},MSALUrl:{resourceBlockList:["https://outlook-sdf.live.com","https://outlook.live.com","https://cortana.ai","https://dataservice.o365filtering.com","https://outlookimageproxy.azurewebsites.net"],outlookgatewayUrl:"outlookgatewayb2/.*/graphql",notificationChannelUrl:".*/notificationchannel"},NativeAdIFrame:{iframeUrl:"https://outlookads.live.com/mail/adsframe"},NativeHipChallengeIFrame:{iframeUrl:"https://hipchallengeframe.live.com/mail/hipchallengeframe"},NativeReactions:{deviceType:"Owa"},NewOutlookPromoDialog:{storeUrl:"ms-windows-store://pdp/?ProductId=9NRX63209R7B&mode=mini&cid=owaPromotionDownload"},Nps:{npsSamplingOwaAppRate:1,npsSamplingOwaSuiteRate:.1,npsSamplingMonarchAppRate:4,npsSamplingMonarchSuiteRate:1},OutlookServiceUrl:{outlookServiceDomain:""},OneDriveReferral:{disableNudgeMessageInAttachmentWell:!1},PersonaOffline:{resyncIntervalMS:864e5,syncPageSize:1e3,maxCountToSync:3e4},ReliabilityCheck:{isPresent:!1},Safelinks:{staticPageBaseUrl:"https://outlook.office.com/mail/safelink.html",getServiceLocatorHost:"https://na01.safelinks.protection.outlook.com",isSupported:!0},SettingsUxOutboundLinks:{showLinkPreviewLinks:!0,showMobileGetAppLink:!0,showPopImapSupportLink:!0,showRulesInfoLink:!0,showSmimeChromeExtensionLinks:!0},Chapter3AllowList:{registrationIds:[],sourceContents:[]},Chapter3BlockedList:{registrationIds:[],sourceContents:[]},CLPAudit:{resourceUrl:"https://graph.microsoft.com"},GWSApi:{resourceUrl:"https://graph.microsoft.com"},SuggestedAttachmentsRecommendationServiceCall:{ScenarioName:"OutlookWebMonarch"},SuggestedAttachmentsSuppression:{enabled:!1},TaboolaNativeAds:{apiKey:"5b8cb6ece5c7b124b55d084f3a6ee7520d2f0966",publishIdFormat:"msn-outlookcom-{0}",placementOther1:"Inbox_Text_Widget",placementOther2:"Inbox_Text_Widget_v2",placementPrimary:"Inbox_Text_Primary",placementHeader:"Nav_text",placementNonInbox:"PCWeb_NonInbox",placementFloatingInbox:"PCWeb_Float_Primary",placementFloatingOther:"PCWeb_Float_Other"},TeamsURL:{resourceURL:""},ToDo:{isToDoFeaturesEnabled:!0},UniversalMeControl:{enabled:!0},XandrNativeAds:{placementOther1:"WAN1USEN",placementOther2:"WAN2GBL",placementPrimary:"PWP1GBL",placementHeader:"PWN1GBL",placementNonInbox:"PCWeb_NonInbox",placementFloatingInbox:"PCWeb_Float_Primary",placementFloatingOther:"PCWeb_Float_Other"},YahooAds:{jacJsURL:"https://jac.yahoosandbox.com/0.14.0-msft/jac.js"},Diagnostics:{panel:!1},PoisonedBuild:{skipBuilds:[]},ActionableMessage:{resourceUrl:"https://outlook.office365.com/connectors"},MsPlaces:{insightsWithMockData:[],enableInsightsTab:!1,enableBuildingAnalyticsTab:!0,spaceManagementTabEnabled:!1,enableDeskpoolTab:!0,enableAdminAvailableOptions:!0,enableAnalyticsLearning:!0,enableHelpVideos:!0,enableAnalyticsMessageBar:!0,enableHomePageSummaryCardContainerV2:!0},MessageRecall:{resourceUrl:"https://outlook.office.com/messagerecallnetcore/"},ForceReboot:{NativeForceRebootEnabled:!1,WebForceRebootEnabled:!1},DistributionGroups:{exchangePortalUrl:"https://go.microsoft.com/fwlink/?linkid=2236662"},AddisonOutage:{hasOutage:!1,outageMessage:"",outageLinkUri:""},MonarchLegacyToggle:{delayInSecondsBeforeRenderingFeedback:2},EventifyOutage:{hasOutage:!1,outageLinkUri:""},Dictation:{shouldAcquireMicViaNavigator:!1},PlatformType:{isMonarch:!1},RecapDeeplink:{phase0Enabled:!1},PreAuthShellResourceUrls:{webShellResourceUrl:"https://webshell.suite.office.com",graphResourceUrl:"https://graph.microsoft.com",officeApiResourceUrl:"https://api.office.net"},PlacesOutage:{hasOutage:!1,outageLinkUri:"",outageEnumIdMessage:0},Topics:{loadSDK:!0},SydneyEndpoint:{cafe:"https://substrate.office.com/m365chat/SecuredChathub",cortana:"https://api.cortana.ai/m365chat/SecuredChatHub",avalon:"https://dev.cortana.ai/turingbot/ChatHub"},MeetingPrepZeroQuery:{query:""},PlacesAnalyticsHelpVideosUrls:{ViewBuildingAnalyticsVideoUrl:"https://www.microsoft.com/en-us/videoplayer-nocookie/embed/RW1lhw3?pid=ocpVideo1&maskLevel=20&market=en-us",SwitchLocationsVideoUrl:"https://www.microsoft.com/en-us/videoplayer-nocookie/embed/RW1leYm?pid=ocpVideo3&maskLevel=20&market=en-us",ChangeDateRangeVideoUrl:"https://www.microsoft.com/en-us/videoplayer-nocookie/embed/RW1lhw8?pid=ocpVideo2&maskLevel=20&market=en-us",ApplyFiltersVideoUrl:"",ConfigureWorkDaysVideoUrl:"https://www.microsoft.com/en-us/videoplayer-nocookie/embed/RW1lhwt?pid=ocpVideo5&maskLevel=20&market=en-us",ExplainDataUsingCopilotVideoUrl:"",ShareReportsVideoUrl:"https://www.microsoft.com/en-us/videoplayer-nocookie/embed/RW1ljLf?pid=ocpVideo4&maskLevel=20&market=en-us"},SwCache:{successRatio:1,chunkSize:100},TeamsArtifactsService:{serviceBaseUrl:"",serviceResourceUrl:"https://teams.cloud.microsoft/6bc3b958-689b-49f5-9006-36d165f30e00",serviceVersion:"v2.0"},MeetingTemplates:{isTeamsHub:!1},Upsell:{adsFreeUpsellUrl:"https://go.microsoft.com/fwlink/?linkid=2222261"},SafelinksURLConfigs:{SafelinksHostnames:"safelinks.protection.com,safelinks.protection.office365.us,safelinks.protection.outlook.com,safelinks.protection.outlook.cn,safelinks.protection.outlook.de,safelinks.o365filtering-int.com",SpoLofHostnames:"sharepoint-df.com,sharepoint.com,sharepoint.de,sharepoint.cn,sharepoint-mil.us,sharepoint.us",GetParams:"url",DropParams:"data,sdata,reserved",SpoLofDropParams:"xsdata,sdata,ovuser,clickParams"}}},724688:(e,t,n)=>{n.d(t,{ZP:()=>s,n8:()=>u});var r=n(4708),i=n(434697),o=n(206339);let a=new Map;function s(e){let t=(0,o.$2)(e),n=a.get(t);if(!n){let o={settings:r.t,overrides:(0,i.A)(e),configIDs:void 0,lastError:void 0,initialized:!1,report:void 0,searchKey:void 0};a.set(t,o),n=o}return n}function u(e){let t=(0,o.$2)(e),n=a.get(t);return n?.initialized}},760553:(e,t,n)=>{n.d(t,{d:()=>a,h:()=>s});var r=n(636283),i=n(965094);let o=!1;function a(e){o=e}function s(e,t){if(!o){let n=(0,i.Z)(e),o={settingsGroup:t,hasMailboxInfo:!!e,mailboxType:e?.type,hasUserId:!!e?.userIdentity,hasSmtp:!!e?.mailboxSmtpAddress,rank:e?.mailboxRank,isAnonymous:e?.isAnonymous,isRemoved:e?.isRemoved,...n},a=Error("Attempted to read settings before application settings were initialized.");a.diagnosticInfo=JSON.stringify(o),(0,r.rx)(a)}}},434697:(e,t,n)=>{n.d(t,{A:()=>o,f:()=>a});var r=n(206339),i=n(308105);let o=e=>{let t=(0,i.rV)(self,a(e));if(t)try{return JSON.parse(t)}catch(e){}return{}};function a(e){let t=(0,r.xo)(e);return`applicationSettingOverrides${t}`}},309717:(e,t,n)=>{n.d(t,{Z:()=>r});function r(e,t,n){if(!e){let e=Error(`Assertion:${t}`);throw e.diagnosticInfo=n,e}}},150810:(e,t,n)=>{let r,i;n.d(t,{_5:()=>y,Hd:()=>M,EF:()=>v,nI:()=>C,DE:()=>E,jP:()=>m,$e:()=>P,q9:()=>O,gY:()=>D,v6:()=>c,_X:()=>g,$J:()=>f,_b:()=>x});class o{constructor(e){this.result=e}then(e,t){try{let t=e(this.result);return a(t)?t:Promise.resolve(t)}catch(e){return new Promise((t,n)=>n(e))}}catch(e){return this}toString(){return"QP"}finally(e){try{return e(),a(this.result)?this.result:Promise.resolve(this.result)}catch(e){return new Promise((t,n)=>n(e))}}}function a(e){return e?.then&&"function"==typeof e.then}let s=0,u={},l={markImportAsLoaded:e=>{u[e]=!0},isImportLoaded:e=>u[e],logUsage:()=>{},logError:()=>{},trace:()=>{}};function c(e){for(let t of Object.keys(u))e.markImportAsLoaded(t);l=e}function f(){l.govern=void 0}var d=n(758035),h=n(776372);let p=/function\s*\(.*\)\s*{\s*return [^.]*([^;]*.*)}/;class v{constructor(e,t,n){this.lazyModule=e,this.getter=t,this.shouldGovern=n,this.pendingImports=0,this.import=(e,t)=>{if(!this.importPromise){let n;try{t&&"eventName"in t?t.addToPredefinedWaterfall("Code_S",!0):t&&t.datapoint.addToCustomWaterfall(t.indexes[h.g5.CODE_LOADING],`Code_S_${t.name}`,!0),n=this.lazyModule.importModule(this.shouldGovern?"LazyGovernImport":"LazyImport",e||"LazyImport",this.getName()),this.importPromise=n.then(e=>{var n;return this.importValue=this.getter(e),this.importPromise=(n=this.importValue,new o(n)),(0,d.sj)()&&this.lazyModule.addWaterfallCheckpoint(this.getName()),l.markImportAsLoaded(this.id),t&&"eventName"in t?t.addToPredefinedWaterfall("Code_E",!0):t&&t.datapoint.addToCustomWaterfall(t.indexes[h.g5.CODE_LOADED],`Code_E_${t.name}`,!0),this.pendingImports=0,this.importValue}).catch(e=>{throw this.importPromise=void 0,l.logUsage("LazyImportFailure",{message:e.message,pendingImports:this.pendingImports}),this.pendingImports=0,e})}catch(e){this.importPromise=Promise.reject(e)}}return this.pendingImports++,this.importPromise},this.id=(s++).toString()}dangerouslyImportSync(){if(!this.isLoaded())throw Error("Import is not available yet.");return this.importValue}tryImportForRender(){if(l.isImportLoaded(this.id))return this.importValue;this.import()}isLoaded(){return l.isImportLoaded(this.id)}getName(){let e=this.getter.toString();try{let t=e.match(p);return t&&t.length>1?t[1]:e}catch{return e}}}function m(){let e=r;return r=null,e}function g(e){r=e}class y extends v{constructor(e,t,n){super(e,t);let i=this;this.importAndExecute=function(...e){let t=n?.captureBundleTime?Date.now():null;return i.import("LazyAction",i.perfDatapoint).then(n=>{r=t;let i=n.apply(null,e);return r=null,i})},this.addPerfDatapoint=e=>{i.perfDatapoint=e}}}var b=n(219075),_=n(851454);let w=[],S=!1;function x(){S=!0;for(var e=0;e<w.length;e++)w[e]();w=[]}function E(){S=!1}i=n.u;let k=class{constructor(e,t){this.importCallback=e,this.options=t,this.isLoaded=!1,this.attempts=0,this.failedRetries=0,this.pendingImports=0,this.importWaterfallData={}}importModule(e,t,n){return this.promise||(this.promise=new Promise((r,i)=>{(this.options?.runWhen||function(e,t,n){let{govern:r}=l,i=()=>r&&t?r(e):e();S?i():n?w.unshift(i):w.push(i)})(async()=>{let o=!this.options?.maxFailedRetries||this.failedRetries<this.options.maxFailedRetries;this.attempts=0,k.outstandingImports++;let a=this.options?.name,s=t?`becuase of ${t} ${n}`:`directly with source ${e}`;for(l.trace(`${a?`[${a}]`:""}LazyModule started to download ${s}, outstanding imports: ${k.outstandingImports}`);!this.isLoaded&&this.attempts<5&&o;)try{await this.loadModule(r,e,n)}catch(e){await this.onLoadFailed(e,i)}k.outstandingImports--},"LazyImport"!=e||!!this.options?.govern,this.options?.prioritize)})),!this.isLoaded&&this.pendingImports++,this.promise}getIsLoaded(){return this.isLoaded}async loadModule(e,t,r){var o,a,s;let u=self.performance.now();this.attempts++,a=(o=this.attempts)>1&&5-o+1!==Math.floor(2.5)?"bO=1":"",i&&a&&(n.u=function(e){return i(e)+"?"+a});let c=5-this.attempts<Math.floor(2.5)?(0,b.OE)():(0,b.Rs)();n.p=c;let f=this.importCallback(),h=this.options?.name;Object.values(R).map(e=>e(f,h)),i&&(n.u=i),s=(0,b.Rs)(),n.p=s;let p=await f,v=`${h?`[${h}]`:""}LazyModule finished downloading ${r} in ${this.attempts} attempts`,m=u&&self.performance.now()-u;m&&(v+=` in ${Math.floor(m)} ms`,I.push({start:u,duration:m,attemps:this.attempts})),l.trace(v),this.options?.initializer&&this.options.initializer(p)(),e(p),(0,d.sj)()&&(this.addWaterfallCheckpoint("module"),setTimeout(()=>{l.logUsage("LazyModuleImports",{entryModuleId:this.__getEntryModuleIdForLogging(),...this.importWaterfallData}),this.importWaterfallData=null},1e4),"object"==typeof p&&"LazyImport"!=t&&A.push(t)),this.isLoaded=!0,this.pendingImports=0,this.attempts>1&&l.logUsage("LazyLoadSuccessAfterRetry",{attempts:this.attempts.toString(),url:c})}async onLoadFailed(e,t){let n=this.options?.name;if(l.trace(`${n?`[${n}]`:""}LazyModule failed to load ${e?.message||e}`),this.failedRetries++,e.request||(0,b.Sn)()&&("NetworkError"===e.name||19===e.code)){if(this.attempts>=5){l.logUsage("LazyLoadFailure",{message:e.message,pendingImports:this.pendingImports});let n="Failed to load javascript.";e.httpStatus&&(n+="Status:"+e.httpStatus);let r=Error(n);r.networkError=!0,r.diagnosticInfo=e.diagnosticInfo||e.message,r.request=e.request,t(r),this.pendingImports=0,this.promise=void 0}else this.attempts>1&&await (0,_.Z)(1e3*Math.pow(2,this.attempts-2))}else e.scriptEval=!0,l.logError(e),this.isLoaded=!0,e.reported=!0,t(e)}__getEntryModuleIdForLogging(){let e=this.importCallback.toString();try{let t=e.match(/.*\.bind\(null,([^)]+)\)/);return t&&t.length>1?t[1]:e}catch{return e}}addWaterfallCheckpoint(e){this.importWaterfallData&&void 0===this.importWaterfallData[e]&&(this.importWaterfallData[e]=self?.performance.now())}},C=k;C.outstandingImports=0;let A=[];function O(){let e=A;return A=[],e}let I=[];function P(e){let t=[...I];return e&&(I=I.filter(t=>t.start+t.duration>=e)),t}let T=0;var R={};function D(e){let t=T++;return R[t]=e,()=>{delete R[t]}}class M extends C{constructor(e,t){(t=t||{}).runWhen=e=>e(),super(e,t),this.isBootModule=()=>!0}}},893873:(e,t,n)=>{n.d(t,{y:()=>r});let r=":"},644553:(e,t,n)=>{n.d(t,{d:()=>i});var r=n(893873);function i(e){return e?e.split(r.y)[0]:void 0}},827570:(e,t,n)=>{n.d(t,{sn:()=>u,zf:()=>l,gk:()=>a,M4:()=>s,Rx:()=>f,OS:()=>h,O5:()=>d,CH:()=>c});var r=n(873082),i=n(620222),o=n(644553);let a="default_emptyIndexerValue";function s(e){return(0,r.A)()?(0,o.d)(e.sourceId)||(0,i.Gv)(e)||a:(0,i.Gv)(e)??e.userIdentity??a}let u="Coprincipal",l="Resource",c={isCoprincipal:e=>e?.mailboxRank===u,isResource:e=>e?.mailboxRank===l};function f(e){return["type","userIdentity","mailboxSmtpAddress"].every(t=>e?.hasOwnProperty?.(t))}function d(e,t){let n=!1;if(e&&t){let r=s(e),i=s(t);r!==a&&""!==r&&i!==a&&""!==i&&(n=r===i)}return n}function h(e,t){let n=!1;if(e&&t){let r=s(e);r!==a&&""!==r&&t!==a&&""!==t&&(n=r===t)}return n}},873082:(e,t,n)=>{let r;n.d(t,{A:()=>o});var i=n(516171);function o(){return void 0==r&&(r=(0,i.a4)("acctPersistentIdIndexer")),r}},620222:(e,t,n)=>{let r;function i(e){r=e}function o(){return!!r}function a(e){return r?r(e):void 0}n.d(t,{Gv:()=>a,Zr:()=>i,n7:()=>o})},78191:(e,t,n)=>{let r,i,o,a,s,u,l;n.d(t,{Rz:()=>L,Mq:()=>_,GG:()=>x,$B:()=>S,VJ:()=>w,t9:()=>C,xb:()=>I,OE:()=>P,Rs:()=>O,j$:()=>E,hy:()=>k,Zr:()=>T,z6:()=>y,db:()=>b});var c=n(532811),f=n(300011),d=n(286535),h=n(758035);let p="owamail/";function v(){if(!r){let e="2"==(0,f.mn)("bO"),t=m()+p,n=m(!0)+p,i=(0,c.ZP)("baseUrl");E()&&i&&(t=n=i),r={PackageBaseUrl:e?n:t,ExtraSettings:{},BackupBaseUrl:e?t:n,ResourcesPath:"",ScriptPath:k()?"":"scripts/"}}return r}function m(e){let t=e?2:1,n=!0,r=(0,c.ZP)("scriptVer");r&&-1===r.indexOf(".")&&(n=!1);let i=n?`res-${t}`:`res-${t}-sdf`;return"Gallatin"==(0,h.uD)()?`//outlook-${t}.cdn.partner.outlook.cn/`:`//${i}.cdn.office.net/`}let g=[];function y(e){g.push(e)}function b(e){i=e,function(e){for(let t of g)t(e)}(e)}function _(){return i}function w(){return N("scriptVer")}function S(){let e=N("cdnUrl");return T(e)?e:m()}function x(){let e=N("backupCdnUrl");return T(e)?e:m(!0)}function E(){return a??(a=T(N("devCdnUrl")))}function k(){return s??(s=!!N("devCdnUrl")&&!new URL(L(N("devCdnUrl"))).pathname?.split("/").filter(e=>e)[0]?.endsWith("-branch"))}function C(e,t){if(o)return o;let n=function(){let e=N("devCdnUrl");if(T(e))return e}();if(n)return n;let r=N(t?"backupCdnUrl":"cdnUrl"),i=N("cdnContainer");if(T(r)&&T(i))return r+i+((e?void 0:N("hashedPath"))||w())+"/";let a=v();return(t?a.BackupBaseUrl:a.PackageBaseUrl)+(E()?"":w()+"/"+((0,f.JI)("debugJs")?"debug/":""))}let A=[void 0,void 0];function O(e){var t;return A[t=e?0:1]??(A[t]=L(C(e)+R()))}function I(){return l??(l=L(C(!0)+(function(){let e=N("scriptPath");if(T(e)&&e!=v().ScriptPath){let t=e.split("/")[0];return t?t+"/":""}return""}()+"resources/")))}function P(e){return L(C(e,!0)+R())}function T(e){return!!e&&e.indexOf("/")>-1}function R(){let e=N("scriptPath");return T(e)?e:v().ScriptPath}let D=()=>(void 0===u&&(u=d.y().location?.protocol||"https:"),u),M=RegExp("^https?:");function L(e){return M.test(e)||(e=D()+e),e}function N(e){return(0,c.ZP)(e)||""}},658984:(e,t,n)=>{n.d(t,{$C:()=>c,FK:()=>a,gw:()=>s,u0:()=>u,y$:()=>l});var r=n(300011),i=n(406367);let o={nativeVersion:void 0,sessionId:void 0,deviceId:void 0,extendedHost:void 0};function a(){return o.nativeVersion||(0,r.mn)("nativeVersion")}function s(){return o.sessionId}function u(){return o.deviceId}function l(){return o.extendedHost}function c(e,t,n,a){o={nativeVersion:e||(0,r.mn)("nativeVersion"),sessionId:t||(0,i.M)(),deviceId:n,extendedHost:a||void 0}}},863109:(e,t,n)=>{n.d(t,{K:()=>o,a:()=>i});let r={};function i(e){if(e)try{r=JSON.parse(e)}catch{}return r}function o(){return r}},517341:(e,t,n)=>{let r;n.d(t,{B:()=>l,wX:()=>c});var i=n(431360),o=n(300011),a=n(298054);let s=["teams","teamsmodern","outlook","outlookwin32","office"],u=["desktop","web","ios","android","ipados","macos"];function l(e,t){let n;let l=[i.km,i.UV,i.rH,i.Br,i.$b,i.YW,i.L5];(0,o.JI)("hostApp")?n=(0,o.mn)("hostApp").toLowerCase():(0,o.JI)("testHostApp")&&(n=(0,o.mn)("testHostApp").toLowerCase()),n&&l.includes(n)&&(r=n);let c=(0,a.C)();if((!r||r==l[0])&&c){let n=e?.toLowerCase()||"",o=t?.toLowerCase()||"";r=e&&s.includes(n)&&t&&u.includes(o)?"teams"===n||"teamsmodern"===n?i.UV:"outlookwin32"===n?i.rH:"outlook"===n?"desktop"===o?i.Br:"web"===o?i.$b:"ios"===o?i.Ky:"android"===o?i.M9:i.eu:"office"===n?"desktop"===o?i.L5:"web"===o?i.YW:"ios"===o?i.Bo:"android"===o?i.lq:i.ZC:i.km:i.km}}function c(){return r}},890947:(e,t,n)=>{n.d(t,{r:()=>u});var r=n(431360),i=n(658998),o=n(517341),a=n(298054),s=n(658984);function u(){return(0,s.FK)()?r.B5:(0,a.C)()?(0,o.wX)():(0,i.HL)()}},256526:(e,t,n)=>{let r;n.d(t,{n:()=>s,y:()=>a});var i=n(308105);let o="LogicalRing";function a(e){r&&r===e||(r=e,(0,i.LS)(self,o,e))}function s(){return r||(r=(0,i.rV)(self,o)),r}},658998:(e,t,n)=>{let r;n.d(t,{Dh:()=>u,HL:()=>s,W3:()=>a,gW:()=>l});var i=n(406367);let o="(none)";function a(){return r}function s(){if(!o)throw Error("Opx has not responded with the config yet");return o}function u(e){o=e}function l(e){r=e.then(e=>{let t=e.sessionId;return t&&(0,i.A)(t),e})}},597185:(e,t,n)=>{n.d(t,{o:()=>o,q:()=>a});let r="00000002-0000-0ff1-ce00-000000000000",i=r;function o(){return i}function a(e){i=e??r}},406367:(e,t,n)=>{let r;n.d(t,{A:()=>u,M:()=>s});var i=n(300011),o=n(658984),a=n(403031);function s(){return r||(r=(0,o.gw)()||(0,i.mn)("sessionId")||(0,a.G)()),r}function u(e){r=e}},219075:(e,t,n)=>{let r,i,o,a,s,u;n.d(t,{M9:()=>C.M9,cx:()=>C.cx,eI:()=>C.eI,AO:()=>C.AO,FA:()=>C.FA,B5:()=>C.B5,gM:()=>C.gM,OH:()=>C.OH,iw:()=>C.iw,vj:()=>C.vj,UV:()=>C.UV,ZB:()=>C.ZB,sQ:()=>p,$P:()=>m,Mq:()=>l.Mq,GG:()=>l.GG,P6:()=>b,wi:()=>_,$B:()=>l.$B,i2:()=>E,VJ:()=>l.VJ,f:()=>q,v2:()=>K,CP:()=>d,Kx:()=>g.K,Jb:()=>I,wX:()=>T.wX,r0:()=>A.r,v3:()=>D,N_:()=>P,Fl:()=>W.F,sv:()=>$,G0:()=>X,nr:()=>L.n,aF:()=>U,FK:()=>v.FK,HL:()=>B.HL,W3:()=>B.W3,oS:()=>k.o,dq:()=>et,t9:()=>l.t9,xb:()=>l.xb,OE:()=>l.OE,Rs:()=>l.Rs,MQ:()=>F.M,V$:()=>H.V,j$:()=>l.j$,hy:()=>l.hy,MG:()=>z,So:()=>G.S,CQ:()=>J.C,Sn:()=>Q.S,wc:()=>Y.w,Zr:()=>l.Zr,GW:()=>ee.G,a7:()=>g.a,z6:()=>l.z6,Dl:()=>en.Dl,$6:()=>en.$6,x$:()=>f,B:()=>T.B,To:()=>M,Km:()=>W.K,tY:()=>V,gj:()=>Z,fX:()=>j,Dh:()=>B.Dh,gW:()=>B.gW});var l=n(78191);let c={disableInitialization:!1,waitForDateTimeStore:!1,shouldInitializeTimeZoneAnonymously:!1};function f(e){c.disableInitialization=!!e.disableInitialization,c.waitForDateTimeStore=!!e.waitForDateTimeStore,c.shouldInitializeTimeZoneAnonymously=!!e.shouldInitializeTimeZoneAnonymously}function d(){return c}function h(e,t){return!!t.some(t=>RegExp(`^${t}$`).test(e))}function p(e){return!!e?.length&&h((0,l.VJ)(),e)}var v=n(658984);function m(e){let t=(0,v.FK)();return!!(t&&e?.length)&&h(t,e)}var g=n(863109),y=n(286535);function b(e){var t=(0,y.y)(),n=t.document;if(!r||e){let e=n?.documentElement?.clientHeight,i=t.innerHeight;r=i&&e?Math.min(i,e):i||e||n?.body?.clientHeight}return r||0}function _(e){let t=(0,y.y)(),n=t.document;if(!i||e){let e=n?.documentElement?.clientWidth,r=t.innerWidth;i=r&&e?Math.min(r,e):r||e||n?.body?.clientWidth}return i||0}var w=n(308105);let S="OwaClientId",x=null;function E(){if(!x){let e=y.y()?.cookie&&(0,y.y)().cookie.split("ClientId=")[1],t=e&&e.split(";")[0];t?(x=t,"undefined"!=typeof window&&(0,w.LS)(window,S,t)):x=(0,w.rV)(self,S)}return x}var k=n(597185),C=n(431360),A=n(890947);let O={[C.OH]:"outlook_win32",[C.rH]:"outlook_win32",[C.Ky]:"outlook_ios",[C.cx]:"outlook_android",[C.M9]:"outlook_android",[C.FA]:"outlook_mac",[C.eI]:"teams_android",[C.sm]:"teams_ios",[C.vj]:"teams_desktop",[C.UV]:"teams_desktop",[C.iw]:"sharepoint",[C.ZB]:"windows",[C.gM]:"o365shell",[C.L5]:"office_desktop",[C.YW]:"office_web"};function I(){return O[(0,A.r)()]}function P(){let e=(0,y.y)().location?(0,y.y)().location.pathname:"";return e.indexOf("/opx")>=0||e.indexOf("/hosted")>=0||I()?"true":"false"}var T=n(517341);let R="";function D(){return R}function M(e){if(R)throw Error("Hosted scenario has already been set to "+R);R=e}var L=n(256526);let N="LogicalRing";function j(e,t){o&&o===e||(o=e,(0,w.LS)(self,N+"_"+t,e))}function U(e){return o||(o=(0,w.rV)(self,N+"_"+e)),o}var B=n(658998),F=n(406367),W=n(912105);function q(){return a}function $(){return!!a}function V(e){a=e}function K(){return s}function Z(e){s=e}var H=n(137176);function z(){return y.y()?.location?.pathname.indexOf("/hosted")==0||y.y()?.location?.pathname.indexOf("/opx")==0}var G=n(468521),J=n(298054),Q=n(445377),Y=n(902718);function X(){return u||"Desktop"}var ee=n(403031);function et(){return"/owa"}var en=n(797388)},912105:(e,t,n)=>{let r;function i(){return!!r}function o(e){r=e}n.d(t,{F:()=>i,K:()=>o})},137176:(e,t,n)=>{n.d(t,{V:()=>i});let r=["CHE","EUR","DEU","GBR","FRA","ZAF","ARE","SWE","NOR","QAT","ISR","POL","ESP","ITA","ROU","AUT"];function i(e){if(!e)return!0;let t=e?.length>3?e.substring(0,3):e;return r.indexOf(t.toUpperCase())>=0}},468521:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(286535);function i(){return(0,r.y)().isPwa}},298054:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(286535);function i(){return r.y()?.location?.pathname.indexOf("/hosted")==0}},445377:(e,t,n)=>{n.d(t,{S:()=>r});function r(){return"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope}},902718:(e,t,n)=>{n.d(t,{w:()=>i});var r=n(286535);function i(){return"exchangelabs.live-int.com"===(0,r.y)().location.host}},403031:(e,t,n)=>{n.d(t,{G:()=>i});let r=/[xy]/g;function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(r,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}},797388:(e,t,n)=>{n.d(t,{$6:()=>u,Dl:()=>c});var r=n(406367);let i=new RegExp(/([a-zA-Z0-9+_\.-]+)(@|%40)([\da-zA-Z\.-]+)\.([a-zA-Z\.]{2,6})/),o=new RegExp(/((user\/)[a-zA-Z]*\/)/g),a=new RegExp(/((\?branch=)[a-zA-Z]*\-)/g),s=new RegExp(/(\?|&)query=([^&]*)/i);function u(e,t=!0){if(e){let n=-1,o=-1;try{n=e.length,t&&n>2048&&(e=e.substring(0,2048)),o=e.length,e.indexOf("</div>")>-1||e.indexOf("</span>")>-1?e="DOM present":(e=function(e,t,n){try{let t=null;for(;null!==(t=i.exec(e));)e=e.replace(t[0],"EmailPii")}catch(r){e=l("Email",r,t,n)}return e}(e,n,o),e=function(e,t,n){try{e=e.split((0,r.M)()).join("ReplacedSessionId")}catch(r){e=l("SessionId",r,t,n)}return e}(e,n,o),e=function(e,t,n){try{let t=null;for(;null!==(t=s.exec(e));)e=e.replace(t[0],t[1]+"SearchQueryPii")}catch(r){e=l("SearchQuery",r,t,n)}return e}(e,n,o))}catch(t){e=l("Unknown",t,n,o)}}return e??void 0}function l(e,t,n,r){return`ErrorScrubingPii_${e}. ${2048!==r&&`Original Value Length: ${n}. Substring Value Length: ${r}.`} Original Error: ${t?.message}. Callstack: ${t?.stack}`}function c(e){if(e){if(e.indexOf(":\\")>-1){let t=e.split("\\");t[2]="LocalPathPii",e=t.join("\\")}else if(0==e.indexOf("/home/")||0==e.indexOf("/Users/")||0==e.indexOf("/Volumes/")){let t=e.split("/");t[2]="LocalPathPii",e=t.join("/")}e.indexOf("/user/")>=0&&(e=e.replace(o,"user/UserPii/")),e.indexOf("?branch=")>=0&&(e=e.replace(a,"?branch=UserPii-"))}return e}},431360:(e,t,n)=>{n.d(t,{$b:()=>b,AO:()=>P,B5:()=>c,Bo:()=>x,Br:()=>_,FA:()=>i,Ky:()=>o,L5:()=>S,M9:()=>a,OH:()=>r,UV:()=>g,YW:()=>w,ZB:()=>v,ZC:()=>k,cx:()=>s,eI:()=>h,eu:()=>l,f6:()=>u,gM:()=>f,iw:()=>I,km:()=>y,lq:()=>E,nB:()=>A,ny:()=>O,rH:()=>m,rT:()=>C,sm:()=>p,vj:()=>d});let r="outlookdesktop",i="macoutlook",o="iosoutlook",a="androidoutlook",s="outlooklite",u="outlookextension",l="outlookotherhub",c="native",f="o365shell",d="teams",h="androidteams",p="iosteams",v="widget",m="win32outlookhub",g="teamshub",y="hub",b="owahub",_="monarchhub",w="officeweb",S="officedesktop",x="officeios",E="officeandroid",k="officeotherhub",C="androidhub",A="iosoutlookhub",O="macoutlookhub",I="sharepoint",P="loopapp"},153836:(e,t,n)=>{n.d(t,{CN:()=>s,G8:()=>a,ej:()=>o});var r=n(286535);let i=/(%[0-9A-Z]{2})+/g;function o(e){return s(a(),e)}function a(){return(0,r.y)().cookie}function s(e,t){let n=e?e.split("; "):[];for(let e=0;e<n.length;e++){let r=n[e].split("=");if(r[0].replace(i,decodeURIComponent)==t){let e=r.slice(1).join("=");return'"'===e.charAt(0)&&(e=e.slice(1,-1)),e.replace(i,decodeURIComponent)}}}},249748:(e,t,n)=>{n.d(t,{N1:()=>a});var r=n(985286),i=n(206339),o=n(909274);function a(){return(0,r.Y)()&&(0,i.cr)("fwk-graphql-worker-link")&&(!((0,o.X)("platformAppSdk")&&!(0,i.cr)("platform-disableHostAppSpecificCustomizations"))||(0,i.cr)("platform-enableWorkerForMetaOSContext"))}},985286:(e,t,n)=>{let r;n.d(t,{Y:()=>a});var i=n(909274),o=n(469781);function a(){return(0,i.X)("dataWorkerAllowed")&&"undefined"!=typeof Worker&&function(){if(void 0===r)try{let e=new Headers;for(let t of(e.set("x-test","1"),e));r=!0}catch{r=!1}return r}()&&(0,o.g)()}},337902:(e,t,n)=>{n.d(t,{P:()=>r});let r=(0,n(795839).aD)("FEATURE_FLAGS_INITIALIZED",(e,t)=>({enabledFlights:e,mailboxInfo:t}))},116018:(e,t,n)=>{n.d(t,{Ry:()=>g,zB:()=>y,ZP:()=>_});var r=n(422379),i=n(300011),o=n(941587),a=n(770652),s=n(219530),u=n(337843),l=n(181079),c=n(837873),f=n(827570),d=n(873082),h=n(337902),p=n(239749),v=n(39034);let m=new Set;function g(e){return m.size>0&&m.has((0,u.Z)(e))}function y(e){return m.has(e)}function b(e,t){for(let n of Object.keys(t))e[n.toLowerCase()]=t[n]}let _=function(e,t,n){let g=e.reduce((e,t)=>(e[t.toLowerCase()]=!0,e),{}),y=function(e=o.Z){return e("ring-dogfood")?"Dogfood":e("ring-microsoft")?"Microsoft":e("ring-firstrelease")?"FirstRelease":e("ring-ww")?"WW":"Unknown"}(e=>g[e]),_=(0,d.A)()?!n||(0,c.qo)(!1)===(0,f.M4)(n):!n;return(0,a.W)(function(e){let t={};for(let n of Object.keys(e))t[n]=e[n];return t}(g),n||null),"Dogfood"==y&&t&&b(g,t),g["fwk-devtools"]&&_&&b(g,function(e){for(let[t,n]of Object.entries((0,i.nM)()))if(t.toLowerCase()===e.toLowerCase())return(0,r.Z)(n);return{}}("features")),(0,s.ZP)(n).featureFlags=new Map(Object.keys(g).map(e=>[e,g[e]])),m.add((0,u.Z)(n)),(0,h.P)((0,p.C)(n),n),(0,l.uJ)(),(0,v.z)(n),y}},39034:(e,t,n)=>{n.d(t,{z:()=>o}),n(116018);var r=n(337843);let i=new Map;function o(e){let t=(0,r.Z)(e),n=i.get(t);n&&(n.forEach(e=>e()),i.delete(t))}},206339:(e,t,n)=>{let r,i;n.d(t,{Ry:()=>c.Ry,JY:()=>g,FV:()=>y,ok:()=>u,Pb:()=>C.P,D6:()=>I,eA:()=>h.e,C4:()=>w.C,Mm:()=>_,BZ:()=>a,$2:()=>S.Z,r$:()=>P,xo:()=>k.x,Tn:()=>c.ZP,MS:()=>A,wx:()=>O,cr:()=>l.Z,oj:()=>x,jm:()=>E,k$:()=>f.k,h0:()=>d});var o=n(219530);function a(){return i??(i=(0,o.ZP)(null).featureFlags)}let s="Features";function u(e){return e&&e[s]?Object.keys(e[s]||{}).filter(t=>!0===e[s][t]):[]}var l=n(941587),c=n(116018),f=n(327942);let d=function(e,t){for(let n of e)(0,f.Z)(n.name,n.isEnabled,t)};var h=n(770652);let p="fwk-uberflag",v="fwk-consumer",m="fwk-business";function g(){return b().includes(p)?1:0}function y(e){let t=b();return e&&t.includes(v)&&!t.includes(m)||!e&&t.includes(m)&&!t.includes(v)?1:0}function b(){return r||(r=(function(e){let t=(0,h.e)(void 0);return Object.keys(t).filter(e=>t[e])})().filter(e=>e===p||e===v||e===m)),r}function _(e,t){let n=(0,o.ZP)(t).featureFlags;return[...n.keys()].filter(t=>0==t.indexOf(e)&&n.get(t.toLowerCase()))}var w=n(239749),S=n(337843);function x(e,t){return(0,l.Z)("fwk-useoutlookgateway-getSchedule",e,t)}function E(e,t){return(0,l.Z)("cal-hybrid-working-hours",e,t)&&x(e,t)}n(181079);var k=n(72394),C=n(337902);function A(){return(0,l.Z)("mos-multiAccount")&&(0,l.Z)("mos-mos3AppService")}function O(){return(0,l.Z)("mos-appBarDisplayMode-ColorfulIconsWithoutLabels")||(0,l.Z)("mos-appBarDisplayMode-ColorfulIconsWithLabels")||(0,l.Z)("mos-appBarDisplayMode-OutlineIconsWithoutLabels")||(0,l.Z)("mos-appBarDisplayMode-OutlineIconsWithLabels")}function I(){return(0,l.Z)("mos-appBarDisplayMode-ColorfulIconsWithoutLabels")||(0,l.Z)("mos-appBarDisplayMode-ColorfulIconsWithLabels")}function P(){return(0,l.Z)("mos-appBarDisplayMode-ColorfulIconsWithLabels")||(0,l.Z)("mos-appBarDisplayMode-OutlineIconsWithLabels")}n(39034)},219530:(e,t,n)=>{n.d(t,{ZP:()=>o});var r=n(337843);let i=new Map;function o(e){let t=(0,r.Z)(e),n=i.get(t);if(!n){let e={featureFlags:new Map};i.set(t,e),n=e}return n}},181079:(e,t,n)=>{n.d(t,{ZP:()=>s,uJ:()=>a});var r=n(636283),i=n(116018);let o=!1;function a(){o&&(0,i.Ry)()&&(o=!1,r.g4.info("Anonymous Flighting Disabled"))}function s(){return a(),o}},770652:(e,t,n)=>{n.d(t,{W:()=>o,e:()=>a});var r=n(337843);let i=new Map([["",{}]]);function o(e,t){let n=(0,r.Z)(t);i.set(n,e)}function a(e){let t=(0,r.Z)(e);return i.get(t)||i.get("")}},239749:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(219530);function i(e){return[...(0,r.ZP)(e).featureFlags.keys()]}},337843:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(837873),i=n(827570),o=n(873082);function a(e){return(0,o.A)()?e?(0,i.M4)(e):(0,r.qo)(!1):!function(e){if(!e)return!0;{let t=r.qs()?.mailboxInfo;return!t||(0,i.M4)(t)===(0,i.M4)(e)}}(e)?(0,i.M4)(e):""}},941587:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(219530),i=n(636283),o=n(116018),a=n(181079),s=n(337843),u=n(837873),l=n(965094),c=n(620222),f=n(873082),d=n(223589);function h(e,t){let n=(0,l.Z)(t),r=(0,u.qo)(!1),i=t?(0,c.Gv)(t):void 0,a=(0,s.Z)(t);return{feature:e,hasMailboxInfo:!!t,mailboxType:t?.type,hasUserId:!!t?.userIdentity,hasSmtp:!!t?.mailboxSmtpAddress,rank:t?.mailboxRank,isAnonymous:t?.isAnonymous,isRemoved:t?.isRemoved,hasIndexer:""!==a,isGlobalInitalized:(0,o.Ry)(),isTryLookupSet:(0,c.n7)(),hasGlobalSettingsIndexer:!!r,hasTryIndexer:!!i,isTryIndexerGSA:i===r,isTryIndexderFF:i===a,isTryIndexderUID:i===t?.userIdentity,...n}}function p(e,t,n){if(function(e,t,n,r){if(!(0,f.A)()&&!n){let n=(0,s.Z)(t),i=t?.userIdentity;if(n&&i&&n!==i&&(0,o.Ry)(t)&&!(0,o.zB)(i)){let n=Error("WouldHaveThrownBeforeAliasLookup");(0,d.ly)("WouldHaveThrownBeforeAliasLookup",n,r(e,t))}}}(e,t,n,h),!(0,o.Ry)(t)){if(n||(0,a.ZP)())return!1;let r=h(e,t),o=Error("Attempted to read feature before feature flags were initialized");o.diagnosticInfo=JSON.stringify(r),(0,i.rx)(o)}return(0,r.ZP)(t).featureFlags.get(e.toLowerCase())||!1}},72394:(e,t,n)=>{n.d(t,{x:()=>a});var r=n(337843),i=n(873082),o=n(837873);function a(e){let t=(0,r.Z)(e);return(0,i.A)()?t===(0,o.qo)(!1)?"":`:${t}`:t?`:${t}`:""}},422379:(e,t,n)=>{n.d(t,{Z:()=>r});function r(e){let t={};return e.split(",").forEach(e=>{let n=!0;0===e.indexOf("-")&&(n=!1,e=e.slice(1,e.length)),t[e.toLowerCase()]=n}),t}},327942:(e,t,n)=>{n.d(t,{Z:()=>o,k:()=>a});var r=n(219530);let i=[];function o(e,t,n){for(let o of((0,r.ZP)(n).featureFlags.set(e.toLowerCase(),t),i))o()}function a(e){i.push(e)}},909274:(e,t,n)=>{n.d(t,{X:()=>r.X});var r=n(306244)},306244:(e,t,n)=>{n.d(t,{X:()=>c});var r=n(431360),i=n(658998),o=n(517341),a=n(658984),s=n(31829);let u={loadThemeFromHostApp:{default:!1,opx:!0},loadCultureFromHostApp:{default:!1,opx:!0},opxDeeplink:{default:!1,opx:!0},opxComponentLifecycle:{default:!1,native:!1,opx:!0},opxServiceWorker:{default:!1,opx:!0},scenarioData:{default:!1,opx:!0},macA11y:{default:!1,macoutlook:!0},joinTeamsMeetingHandler:{default:!1,hub:!0},chatWithParticipantsHandler:{default:!1,teamshub:!0},setPurpleDefaultCalendarColor:{default:!1,teamshub:!0},copyOnlineMeeting:{default:!1,teamshub:!0},use3SPeopleSuggestions:{default:!0,macoutlook:!1},roomAddedHandler:{default:!1,opx:!0},roomFinderFreeBusyStyles:{default:!1,macoutlook:!0,outlookdesktop:!0},defaultSelectCalendarItemSvg:{default:!0,opx:!1},opxInboxRules:{default:!1,opx:!0},moduleNameFromWindow:{default:!0,opx:!1},ribbonFeedback:{default:!1,hub:!0},composeFrom:{default:!1,opx:!0},groupDiscoverCloseButton:{default:!1,opx:!0},updateModalProps:{default:!1,opx:!0},modalOpenedHandler:{default:!1,opx:!0},defaultOutlookThemeColor:{default:!0,opx:!1},yammerHostClientType:{default:!1,native:!0,opx:!0},linkClicked:{default:!1,outlookdesktop:!0},showMinimumThreeInsights:{default:!1,opx:!0},groupCreatedHandler:{default:!1,opx:!0},groupDeletedHandler:{default:!1,opx:!0},updateSearchAnswerOnQueryChange:{default:!1,opx:!0},insightsCountUpdatedHandler:{default:!1,opx:!0},processMeetingInsightsHandler:{default:!1,opx:!0},processEmptyYammerPublishersHandler:{default:!1,opx:!0},focusZoneCicularNavigation:{default:!1,opx:!0},hideAddCalendarLeftNav:{default:!1,teamshub:!0},hidePersonalBookingsCalendarLeftNav:{default:!1,teamshub:!0},hideAppSuiteHeader:{default:!1,hub:!0},hideAppBar:{default:!1,hub:!0,opx:!0},openMailInHub:{default:!1,win32outlookhub:!0},openComposeMailInHub:{default:!1,win32outlookhub:!0},teamsOnlineMeetingExtraSettingsOpenLinkInWeb:{default:!1,teamshub:!0},settings:{default:!0,opx:!1,hub:!1},multiAccounts:{default:!0,teams:!1,outlookdesktop:!1,widget:!1,native:!1,hub:!1},metaOSFeedback:{default:!1,hub:!0},monarchFeedback:{default:!1,native:!0},skipAwaitLpcConfig:{default:!1,opx:!0},workloadScenarioSettings:{default:!0,opx:!1},ribbonPersistDefault:{default:!1,native:!0},floodgate:{default:!0,opx:!1,outlookdesktop:!0},platformAppSdk:{default:!1,hub:!0},resourceTokenFromHost:{default:!1,native:!0,opx:!0},useBaseTheme:{default:!1,win32outlookhub:!0,hub:!1},useTeamsAppearance:{default:!1,teamshub:!0},acctmonaccounts:{default:!1,native:!0},nativeMessaging:{default:!1,native:!0,widget:!0},disableAppModuleKeys:{default:!1,hub:!0},openInNewWindow:{default:!1,native:!0},deepLinkModuleSwitch:{default:!0,native:!0,opx:!1},hideEventifyLeftNav:{default:!1,hub:!0},showOfficeNeutralTheme:{default:!0,native:!0,opx:!1,hub:!1},analyticsWorker:{default:!0,native:!0,opx:!1,hub:!1},supportsProjection:{default:!0,opx:!1,win32outlookhub:!1},offlineDataAllowed:{default:!1,native:!0,teamshub:!0},localCacheAllowed:{default:!0,native:!1,opx:!1,hub:!1},sharedActivityBasedTimeout:{default:!0,native:!1,opx:!1},dataWorkerAllowed:{default:!0,opx:!1},authRedirectOnSessionTimeout:{default:!0,native:!1,opx:!1,hub:!1},altForKeytips:{default:!1,native:!0,win32outlookhub:!0},msalTokenFetch:{default:!0,native:!1,opx:!1},componentTokenProvider:{default:!1,opx:!0,native:!0,hub:!0},nativeFriendlyKeyboarding:{default:!1,native:!0,win32outlookhub:!0},openEventsInNewWindow:{default:!1,native:!0}},l=e=>u[e],c=e=>{let t=l(e);if(t){if((0,a.FK)()&&r.B5 in t)return t[r.B5];if((0,s.zS)()&&r.vj in t)return t[r.vj];let e=(0,o.wX)();if(e&&e in t)return t[e];if(e&&(e===r.UV||e===r.rH||e===r.$b||e===r.Br||e===r.YW||e===r.L5||e===r.rT||e===r.nB||e===r.ny)&&r.km in t)return t[r.km];let n=(0,i.HL)();return n&&n in t?t[n]:n&&(n===r.OH||n===r.FA||n===r.Ky||n===r.M9||n===r.vj||n===r.eI||n===r.sm||n===r.cx||n===r.f6||n===r.gM||n===r.ZB||n===r.iw||n===r.AO)&&"opx"in t?t.opx:t.default}return!1}},947669:(e,t,n)=>{n.d(t,{$:()=>r});function r(e){return 0==e||408==e||449==e||500==e||501==e||502==e||503==e||504==e}},308105:(e,t,n)=>{n.d(t,{rV:()=>u,km:()=>f,lz:()=>c,CX:()=>a,jj:()=>d,DX:()=>h,cl:()=>l,Xl:()=>v,LS:()=>s,P0:()=>p});var r=n(286535),i=n(516171);let o="olk-";function a(e){return o+e}function s(e,t,n){if(h(e))try{let r=(0,i.a4)("localStorageOwaPrefix"),a=r?o+t:t,s=r?t:o+t;e.localStorage.setItem(a,n),e.localStorage.removeItem(s)}catch{}else{let e=(0,r.y)();e?.localStorage?.setItem(t,n)}}function u(e,t){let n=(0,i.a4)("localStorageOwaPrefix"),a=n?o+t:t,s=n?t:o+t;if(h(e))try{return e.localStorage.getItem(a)||e.localStorage.getItem(s)}catch{return null}else{let e=(0,r.y)();return e?.localStorage?.getItem(a)||e?.localStorage?.getItem(s)||null}}function l(e,t){if(h(e))try{e.localStorage.getItem(t)?e.localStorage.removeItem(t):e.localStorage.removeItem(o+t)}catch{}else{let e=(0,r.y)();return e?.localStorage?.removeItem(t)}}function c(e){if(h(e))try{return e.localStorage.length}catch{}return 0}function f(e,t){if(h(e))try{let n=RegExp("^"+o),r=e.localStorage.key(t);if(r)return r?.replace(n,"")}catch{}return null}function d(e,t){return null!==(u(e,t)||u(e,o+t))}function h(e){try{return e&&!!e.localStorage}catch{return!1}}function p(e,t){s(self,e,t)}function v(e){l(self,e)}n(636283)},532811:(e,t,n)=>{let r;function i(e){return r||(r=o()),r[e]}function o(){return r||(r=function(){let e=Array.from(window.document.getElementsByTagName("meta")),t={};for(let n of e)t[n.name]=n.content;return t}()),r}function a(e){r=e}n.d(t,{Pv:()=>o,ZP:()=>i,pb:()=>a})},150400:(e,t,n)=>{n.d(t,{a$:()=>s,cg:()=>a,wB:()=>o});var r=n(532811);function i(e="",t=""){if(e&&e.indexOf("/")>-1&&t)return e+t}let o="OneCollector/1.0/";function a(){return i((0,r.ZP)("ariaUrl"),"Collector/3.0/")}function s(){return i((0,r.ZP)("ariaUrl"),o)}},758035:(e,t,n)=>{let r;n.d(t,{_A:()=>c,oH:()=>s,sj:()=>l,uD:()=>u});var i=n(532811);let o=["Unknown","WW","Dogfood","SIP","BlackForest","DONMT","MSIT","Gallatin","SDFV2","PDT","TDF","ITAR"],a=["Unknown","AG08","AG09","BlackForest","DITAR","DoD","Dogfood","Gallatin","GCCModerate","GccHigh","GovCloud","ITAR","Prod"];function s(){let e=((0,i.ZP)("physicalRing")||"").toLowerCase();return o.filter(t=>t.toLowerCase()===e)[0]||"Unknown"}function u(){let e=((0,i.ZP)("environment")||"").toLowerCase();return a.filter(t=>t.toLowerCase()===e)[0]||"Unknown"}function l(){if(void 0===r){let e=s();r="Dogfood"==e||"SDFV2"==e||"Dogfood"==u()}return r}function c(){let e=u();return"AG08"==e||"AG09"==e}},516171:(e,t,n)=>{let r,i,o;n.d(t,{IL:()=>u,U7:()=>l,a4:()=>s});var a=n(532811);function s(e){return(i||(i=new Set(u().map(e=>e.toLowerCase()))),i).has(e.toLowerCase())}function u(){if(!r){let e=(0,a.ZP)("bootFlights");r=e?e.split(",").map(e=>e.split(":")[0]):[]}return r}function l(){if(!o){let e=(0,a.ZP)("bootFlights");o=e?e.split(","):[]}return o}},284051:(e,t,n)=>{let r;function i(){if(!r)throw Error("OpxHostApi has not been initialized yet.");return r}function o(){return!!r}function a(e){r=e}n.d(t,{WZ:()=>i,YG:()=>o,_J:()=>a})},31829:(e,t,n)=>{n.d(t,{WZ:()=>r.WZ,zS:()=>a,YG:()=>r.YG});var r=n(284051),i=n(431360),o=n(300011);function a(){return!!(0,o.JI)("hostApp")&&(0,o.mn)("hostApp").toLowerCase()==i.vj}},698284:(e,t,n)=>{n.d(t,{M:()=>a,k:()=>o});var r=0,i={};function o(e){let t=r++;return i[t]=e,()=>{delete i[t]}}function a(e,t,n,r,o){for(let a of(t.datapoint&&(e.datapoint=t.datapoint),Object.values(i)))a(n,r||"OWS",o,0,e)}},696254:(e,t,n)=>{let r;n.d(t,{M6:()=>T,Rn:()=>d,yI:()=>C,f1:()=>A,W2:()=>$,y7:()=>b,bz:()=>L,Ao:()=>l,VT:()=>m,pi:()=>h,f4:()=>I,N$:()=>O,YX:()=>W,xb:()=>p,bd:()=>j,Lk:()=>N,Eb:()=>S,t8:()=>_,hY:()=>w,hP:()=>q,Ie:()=>B,JY:()=>R,Qq:()=>k});var i=n(758035),o=n(300011),a=n(636283);let s=self?.performance,u={};function l(){return a.g4.verbose("[BootMemory] getBootMemory "+u),JSON.stringify(u)}let c=self?.performance,f={};function d(e,t){(0,o.JI)("bpm")&&self.performance.mark(e,t?{startTime:t}:void 0),c&&(f[e]=t||Math.floor(performance.now()),function(e){if(s){let t=self.performance;t.memory&&(u[e]={size:t.memory.usedJSHeapSize})}}(e))}function h(){let e=c&&self.performance.timing;if(e&&(f.in_e=e.responseEnd-e.fetchStart,(0,i.sj)())){let t=e.navigationStart,n=c&&self.performance?.getEntriesByType("navigation")?.[0],r=n?.workerStart||0,i=String.fromCharCode(...[e.redirectStart-t,e.redirectEnd-t,e.unloadEventStart-t,e.unloadEventEnd-t,e.fetchStart-t,e.domainLookupStart-t,e.domainLookupEnd-t,e.connectStart-t,e.secureConnectionStart-t,e.connectEnd-t,e.requestStart-t,e.responseStart-t,e.responseEnd-t,e.domLoading-t,e.domInteractive-t,e.domComplete-t,e.domContentLoadedEventStart-t,e.domContentLoadedEventEnd-t,e.loadEventStart-t,e.loadEventEnd-t,r].map(e=>Math.min(Math.max(e,0),1114111)));f.fl=i}try{if("function"==typeof self.performance?.getEntriesByType){let e=self.performance.getEntriesByType("resource")?.find(e=>e.name.includes("mailindex"));e&&(f.mi_s=e.startTime,f.mi_e=e.responseEnd)}}catch{}return JSON.stringify(f)}function p(){return JSON.stringify(Object.keys(f).filter(e=>e.indexOf("_e")>-1).reduce((e,t)=>{let n=t.split("_")[0],r=f[n+"_s"],i=f[n+"_e"];return"number"==typeof r&&"number"==typeof i&&(e[n]=i-r),e},{}))}let v="none";function m(){if(c){let e=self.performance?.getEntriesByType("resource")?.[0],t=e?.nextHopProtocol;null!=t&&(v=t)}return v}let g={sd:"Startup Data (sd)",offsd:"Offline Startup Data (offsd)",rbsp:"Run Before Start Promise (rbsp)",mjs:"Bootstrap Javascript Load (mjs)",sp:"Session Promises (sp)",ren:"Render (ren)",plt:"Page Load Time (plt)",mi:"Mail Index (mi)",in:"Index (in)",CalendarAppLoadSucceeded:"Calendar App Load Succeeded"},y=self?.performance;function b(e,t){if(!t&&!y||!(0,o.JI)("pas"))return;let n=g[e];if(!n)return;let r=t??performance.now(),i=self._pageTimings??(self._pageTimings={});void 0===i[n]&&(i[n]=Math.round(r))}function _(e,t){var n,r;return n=()=>w(t),r=()=>S(t),function(...t){n();let i=e(...t);return i?.then?i=i.then(e=>(r(),e)):r(),i}}function w(e){d(`${e}_s`)}function S(e){let t=`${e}_e`;if(d(t),(0,o.JI)("bpm")){let n=self.performance.measure(e,`${e}_s`,t);b(n.name,n.duration)}}let x={},E={};function k(e,t){let n=Date.now();for(var r=0;r<t.length;r++){let i=t[r].key;i&&t[r].promise.then(t=>{let r=Date.now()-n;x[e]=i,E[e]??(E[e]=""),E[e]+=`${i}:${r}|`}).catch(()=>{})}let i=t.map(e=>e.promise);try{return Promise.all(i)}catch(n){let e={pk:typeof t,pt:typeof i,st:typeof self.Symbol,sti:typeof Symbol.iterator};throw t&&(e.pkl=t.length),i&&(e.pl=i.length,Symbol.iterator&&(e.pi=typeof i[Symbol.iterator])),n.diagnosticInfo=JSON.stringify(e),n}}function C(e,t){x[e]||(x[e]=t)}function A(e,t){E[e]||(E[e]=t)}function O(e=!1){return e?x:JSON.stringify(x)}function I(e=!1){return e?E:JSON.stringify(E)}let P={};function T(e,t){P[e]=t}function R(e){if(self.document&&"visible"==self.document.visibilityState)return self.requestAnimationFrame(function(){e(!0)});e(!1)}let D={element:1,event:1,"layout-shift":1,"long-animation-frame":1,longtask:1,paint:1},M=0;function L(e,t,n){if("PerformanceObserver"in self&&"supportedEntryTypes"in self.PerformanceObserver){let i=Object.keys(D).filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(i.length>0){let o="string"==typeof e?[e]:e;if(r||(r=[],new PerformanceObserver(e=>{let t=e.getEntries();r?.map(e=>{let n=t.filter(t=>e.types[t.entryType]);n.length>0&&e.callback(n)})}).observe({entryTypes:i})),n)for(let e of o)t(performance.getEntriesByType(e));let a=M++;return r.push({id:a,types:o.reduce((e,t)=>({...e,[t]:1}),{}),callback:t}),()=>{if(r){let e=r.findIndex(e=>e.id===a);r.splice(e,1)}}}}}function N(e){return"PerformanceObserver"in self&&"supportedEntryTypes"in self.PerformanceObserver&&PerformanceObserver.supportedEntryTypes.includes(e)}function j(){return self.performance?self.performance.now():Date.now()}let U=[];function B(){for(let e of U)e.resolvePendingCallbacks()}let F=new Map;function W(e){return F.get(e)}function q(){F=new Map}function $(e,t,n){F.set(e,`${t}:${n}`)}},469781:(e,t,n)=>{n.d(t,{g:()=>i});var r=n(516171);function i(){return"number"!=typeof self.navigator?.hardwareConcurrency||self.navigator.hardwareConcurrency>2||!(0,r.a4)("disableConcurrency")}},300011:(e,t,n)=>{n.d(t,{JI:()=>u,Pz:()=>h,_C:()=>a,hj:()=>c,mn:()=>s,nM:()=>o,rO:()=>d});var r=n(286535);let i=null;function o(e){return(e||(e=(0,r.y)().location),e===location)?i||(i=l(location)):l(e)}function a(){i=l(location)}function s(e){return i?i[e]:o()[e]}function u(e){return i?e in i:Object.prototype.hasOwnProperty.call(o(),e)}function l(e){return void 0!==e&&e.search?d(e.search.substr(1)):{}}function c(e,t){let n=RegExp("(\\?|&)"+t+"=\\w*&?","g"),r=e.split(n).join(""),i=r[r.length-1];return("?"===i||"&"===i)&&(r=r.substr(0,r.length-1)),r}let f=/\+/g;function d(e){let t={};if("string"==typeof e&&e.length>0){let n=e.split("&"),r=n.length>1e3?1e3:n.length;for(let e=0;e<r;++e){let r=n[e].replace(f,"%20").split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r.slice(1).join("="))}}return t}function h(e){return e?Object.keys(e).map(t=>encodeURIComponent(t)+(e[t]?"="+encodeURIComponent(e[t]):"")).join("&"):""}},837086:(e,t,n)=>{n.d(t,{S:()=>c});var r=n(260487),i=n(405590),o=n(518038),a=n(219075),s=n(636283),u=n(919724),l=n(817985);function c(e,t,n){let c;if(s.g4.info(`ServiceAction ${e}`,"service"),!(0,l.j)(n?.mailboxInfo)){let e="Cannot issue OWS request for a mailbox that does not support service requests";throw(0,s.ZU)(e),Error(e)}if(n?.mailboxInfo?.isRemoved)throw(0,s.ZU)("InvalidRequest: MailboxInfo was removed"),Error("InvalidRequest: MailboxInfo was removed");let f=(0,i.iE)();if((0,o.Z)(f,"Acct-MakeServiceRequestMailbox",n?.mailboxInfo),n?.endpoint)c=n.endpoint;else{let t=n?.customBaseUrl?n.customBaseUrlSubPath?n.customBaseUrl.concat(n.customBaseUrlSubPath):n.customBaseUrl:n?.customBaseUrlSubPath?f.baseUrl.concat("/"+n.customBaseUrlSubPath):f.baseUrl;c=`${t}/service.svc?action=${e}`}return(void 0!==f.isUserIdle&&f.isUserIdle()||n?.isUserActivity==!1)&&(c=(0,u.Z)(c,{UA:"0"})),c=(0,u.Z)(c,{app:(0,a.Mq)()},!0),(0,r.Z)(e,c,1,n,t)}},125294:(e,t,n)=>{n.d(t,{q:()=>o});var r=n(405590);let i="IdType";function o(e,t,n){let i=(0,r.iE)();"ImmutableId"==t?i.isFeatureEnabled?.("fwk-immutable-ids",n)&&a(e,t):a(e,t)}function a(e,t){var n;let r=s(e)?e.get("prefer"):e.prefer;if(!r||0>r.indexOf(i)){let o=(n=`${i}="${t}"`,r?`${r}, ${n}`:n);s(e)?e.set("prefer",o):e.prefer=o}}function s(e){return!!e.get&&!!e.set}},349670:(e,t,n)=>{function r(e){let t=function(e){let t='exchange.behavior="IncludeThirdPartyOnlineMeetingProviders"',n=i(e)?e.get("prefer"):e.prefer;return n?`${n}, ${t}`:t}(e);i(e)?e.set("prefer",t):e.prefer=t}function i(e){return!!e.get&&!!e.set}n.d(t,{Z:()=>r})},503489:(e,t,n)=>{let r,i,o;n.d(t,{Nz:()=>l,XL:()=>c,qJ:()=>f,s_:()=>u});var a=n(153836);let s="X-OWA-CANARY_cookie_is_null_or_empty";function u(){let e=(0,a.G8)(),t=(0,a.CN)(e,"targetServer"),n=(0,a.CN)(e,d("X-OWA-CANARY",t)),r=(0,a.CN)(e,d("X-OWA-CANARY-PRD",t)),i=(0,a.CN)(e,d("X-OWA-CANARY-BF",t));return n&&0!=n.length?(r&&r.length>0&&(n+=","+r),i&&i.length>0&&(n+=","+i),n):null}function l(e){return e?(r||(r=u()||s,self.clearTimeout(o),o=self.setTimeout(f,6e4)),r):u()||s}function c(){if(!i){let e=(0,a.G8)();i=(0,a.CN)(e,d("X-OWA-CANARY-DEBUG",(0,a.CN)(e,"targetServer")))}return i}function f(){r=void 0,i=void 0}function d(e,t){return e+(t?"_"+t.toLocaleLowerCase():"")}},518038:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(317277),i=n(758035);function o(e,t,n){if((0,i.sj)()&&e.isFeatureEnabled?.("acct-mailboxinfo-innerring-telemetry")){let e=!!n?.type&&!!n?.userIdentity&&!!n?.mailboxSmtpAddress,i=e&&!!n?.sourceId&&!!n?.mailboxRank;if(!e||!i){let o=Error(t);(0,r.ly)(t,o,{provided:e,store:i,type:n?.type,userId:typeof n?.userIdentity,smtp:typeof n?.mailboxSmtpAddress,sourceId:typeof n?.sourceId,rank:typeof n?.mailboxRank})}}}},405590:(e,t,n)=>{n.d(t,{iE:()=>o,q_:()=>i});let r={baseUrl:"/owa",isFeatureEnabled:()=>!1,timeoutMS:9e4,disableAllRequests:!1,isResourceTokenPrefetchEnabled:!1};function i(e){r={...r,...e}}function o(){return r}},441797:(e,t,n)=>{n.d(t,{$F:()=>c,uY:()=>r});let r="MS-CV",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={maxCorrelationVectorLength:127,baseLength:22,validationPattern:RegExp("^["+i+"]{22}(.[0-9]+)+$")};var a="",s=0;function u(){return a.concat(".",s.toString())}function l(e){return o.validationPattern.test(e)&&e.length<=o.maxCorrelationVectorLength}function c(){if(!l(u())){var e;return a=function(){for(var e="",t=0;t<o.baseLength;t++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}(),s=0,l(e=u())?e:""}return l(u())&&a.length+1+(s+1+"").length<=o.maxCorrelationVectorLength?(s+=1,u()):null}},778874:(e,t,n)=>{n.d(t,{X0:()=>d,cI:()=>c,nC:()=>l,pM:()=>f});var r=n(405590),i=n(125294),o=n(518038),a=n(796289),s=n(219075),u=n(349670);let l="Authorization",c="X-OwaWebSessionType";async function f(e,t,n,i){let o=d(t,i),s=(0,r.iE)();if(!e&&s.getAuthToken){let e=await s.getAuthToken(void 0,t);if(e&&(o[l]=e,s.getWebSessionType)){let e=await s.getWebSessionType(t);e&&(o[c]=e)}}if(!n&&s.getAnchorMailbox){let e=await s.getAnchorMailbox(t);e&&(o["x-anchormailbox"]=e)}return o[l]||Object.assign(o,(0,a.Ne)()),o}function d(e,t){var n=(0,s.N_)();let a={"X-Req-Source":(0,s.Mq)(),"x-owa-hosted-ux":n};if("true"==n){a["x-owa-host-app"]=(0,s.Jb)()||"undefined";let e=(0,s.v3)();e&&(a["x-owa-hosted-scenario"]=e)}return(0,o.Z)((0,r.iE)(),"Acct-DefaultHeadersMailbox",e),(0,i.q)(a,t??"ImmutableId",e),(0,u.Z)(a),a}},796547:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(778874);function i(e){let t=(e=e||{}).headers?new Headers(e.headers):new Headers,n={...e,method:e.method||"POST",credentials:"include",headers:t},i=t?.has("Authorization"),o=t?.has("x-anchormailbox");return(0,r.pM)(i,e.mailboxInfo,o,e.customIdType).then(e=>(Object.keys(e).forEach(n=>{t.has(n)&&t.get(n)||t.set(n,e[n])}),n))}},509710:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(300011),i=n(286535);let o=!1;function a(e,t){if(!o){o=!0;let n=(0,i.y)().location,a=(0,r.nM)(n),s=!1,u=e?e.get("X-OWA-ClaimChallenge"):void 0;u&&a.cc!==u&&(a.cc=decodeURIComponent(u),s=!0),void 0===a.authRedirect&&(a.authRedirect="true",s=!0),t&&(a.login_hint=t.mailboxSmtpAddress),s&&(a.state="0",n.search="?"+(0,r.Pz)(a))}}},260487:(e,t,n)=>{let r;n.d(t,{Z:()=>B,k:()=>U});var i=n(885),o=n(405590),a=n(861897),s=n(219075);let u=null,l=null;async function c(e){!(null!=u||(0,s.Sn)())&&(null!=l&&Date.now()-l<828e5||(l=Date.now(),(u=self.document.createElement("iframe")).setAttribute("id","backgroundauth"),u.style.display="none",(0,a.Z)({},e).then(e=>{if(0!=e.ResultCode||null==e.AuthenticationUrl||""==e.AuthenticationUrl){u=null;return}u&&(self.document.body.appendChild(u),self.addEventListener("message",f,!1),u.src=e.AuthenticationUrl),setTimeout(function(){null!=u&&d()},6e4)}).catch(function(){u=null})))}function f(e){e.origin==window.location.origin&&e.data&&e.data.split&&"backgroundAuthResponse"==e.data.split(":")[0]&&d()}function d(){u&&(window.document.body.removeChild(u),u=null,window.removeEventListener("message",f))}var h=n(484461),p=n(509710),v=n(317277),m=n(286535),g=n(308105),y=n(516171);let b="NeedsAuth";function _(e,t,n,r){let i=Error(`${e} failed: ${t}`);return r&&(i.diagnosticInfo=r),i.fetchErrorType=t==b?"AuthNeeded":"ServerFailure",i.httpStatus=n.status,i.xowaerror=n.headers.get("x-owa-error")||void 0,i.xinnerexception=n.headers.get("x-innerexception")||void 0,i}var w=n(947669),S=n(518038),x=n(796289),E=n(441797);function k(e,t){t.has(E.uY)&&t.delete(E.uY),(0,x.YX)(t),t.set("X-OWA-Attempt",""+e)}var C=n(935387),A=n(796547),O=n(194153);async function I(e,t,n){let r=(0,o.iE)();if(r.prepareRequestOptions){let t=r.prepareRequestOptions(e);t&&(e=t.then?await t:t)}let i=await (0,A.Z)(e),a=i.headers;n&&a.set("Action",n);let u=e?.scenarioId?`${e?.scenarioId}_${(0,O.Z)()}`:(0,O.Z)();if(a.set("X-OWA-CorrelationId",u),a.set("X-OWA-SessionId",(0,s.MQ)()),r.isFeatureEnabled("auth-provenance-OwsAddHeader")&&a.set("X-OWA-ProvenanceId",(0,O.Z)()),t){a.append("Content-Type","application/json; charset=utf-8");let e=JSON.stringify(t),n=encodeURIComponent(e);i.noEmptyPost||n.length>2048?i.body=e:(a.append("X-OWA-UrlPostData",n),i.body=void 0)}if(!a.has(E.uY)){let e=(0,E.$F)();e&&a.append(E.uY,e)}return i}var P=n(362131),T=n(778874),R=n(851454),D=n(174582),M=n(654879),L=n(503489);let N=0,j={};function U(e){let t=N++;return j[t]=e,()=>{delete j[t]}}function B(e,t,n,r,i){if(r?.perfDatapoint){let o=r.perfDatapoint;if(o.datapoint||o.customDatapoint){let a={discardIfDefined:o.discardIfDefined||!1};return(0,M.cJ)({datapoint:o.datapoint,customDatapoint:o.customDatapoint},a,F,e,t,n,r,i)}}return F(e,t,n,r,i)}async function F(e,t,n,a,s){let u=I(a,s,e),l=t+"&n="+(0,C.Z)(),f=(0,i.Z)(l,u),d=e;for(let t of("UpdateItem"==e&&(d=e+s?.Body?.ItemChanges?.[0]?.Updates?.[0]?.Path?.FieldURI||""),Object.values(j)))t(f,d,l,n,u);return u.then(i=>{let u=Error(e+"RequestFailed").stack,{retryCount:l=2}=i;return f.then(async function(f){let d=!1,x=t,E=f.status;if((i?.shouldRetry?!0===await i.shouldRetry(E):(0,w.$)(E))&&n<l){if(i?.onBeforeRetry){let e=await i.onBeforeRetry(f);e&&(d=!0,e.delay&&await (0,R.Z)(e.delay),e.endpoint&&(x=e.endpoint))}else d=!0}if((0,P.Z)(E)&&(0,D.Z)(i)){let e=(0,o.iE)();(0,S.Z)(e,"Acct-FetchWithRetryV2MailboxInfo",a?.mailboxInfo),e.onAuthFailed?.(f.headers,a?.mailboxInfo);let t=await e.getAuthToken?.(f.headers,a?.mailboxInfo);if(t){if(n<l&&(d=!0),i.headers.set(T.nC,t),e.getWebSessionType){let t=await e.getWebSessionType();t&&i.headers.set(T.cI,t)}}else i.headers.has(T.nC)&&i.headers.delete(T.nC)}return d?((0,L.qJ)(),k(++n,i.headers),B(e,x,n,i,s)):function(e,t,n,i){let a=function(e,t){let n=(0,o.iE)();if(401==e.status||440==e.status){if(!t||!(0,h.Z)(t)&&!1!==t.authNeededOnUnAuthorized)return n.onAuthFailed?n.onAuthFailed(e.headers):(0,p.C)(e.headers,t.mailboxInfo),e.source=b,b}else if(!e.ok)return 412==e.status&&function(e,t){let n=(0,o.iE)();if(e&&"5"==e.get("X-OWA-ExtendedErrorCode")&&void 0!==n.isUserIdle){let i=e.get("X-OWA-ExtendedErrorData"),o=e.get("X-OWA-ExtendedErrorMessage"),a=n.isFeatureEnabled("fwk-HighCostArkoseModal")&&!!o?.includes("HighCostHipRequired");if(!r&&i){a&&(0,g.LS)(self,"loginArkoseRequired","1"),r=!0;let e={hipPath:i,hipType:o};if(a?(0,v.pI)("highCostCaptchaTriggered",e):(0,v.pI)("ReactHipRedirect",e),!a){if((0,y.a4)("auth-msaljs-consumer")){let e=i.includes("?")?"&":"?";if(e+="nlp=1",t){let n=t.mailboxSmtpAddress;e+=`&login_hint=${n}`}(0,m.y)().location.href=i+e}else(0,m.y)().location.href=i}}}return r}(e.headers,t.mailboxInfo)?(e.source=b,b):e.headers&&e.headers.get("x-owa-error")||e.statusText||(449===e.status?"RetryWith":"");return null}(t,n);if(n.returnFullResponseOnSuccess)return t.callstackAtRequest=i,t.responseErrorMessage=`RequestFailed:${e} with ${t.source}`,a?Promise.reject(t):Promise.resolve(t);if(a){let n=_(e,a,t,i);throw n.response=t,n}return(t.headers?.get("X-OWA-STO")!=null&&c(n),n.returnResponseHeaders)?Promise.resolve(t):t.json().catch(n=>{throw _(e,n?.message,t,i)})}(e,f,i,u)},function(r){if(r.retriable&&n<l)return new Promise((r,o)=>{setTimeout(async()=>{try{k(++n,i.headers),r(await B(e,t,n,i,s))}catch(t){if(t.message)try{Object.defineProperty(t,"message",{value:e+":"+t.message})}catch{}o(t)}},5e3)});throw r.networkError=!0,r})})}},194153:(e,t,n)=>{function r(){return i()+i()+"-"+i()+"-"+i()+"-"+i()+"-"+i()+i()+i()}function i(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}n.d(t,{Z:()=>r})},935387:(e,t,n)=>{n.d(t,{Z:()=>i});let r=0;function i(){return r++}},18354:(e,t,n)=>{n.d(t,{o:()=>o});var r=n(286535),i=n(219075);function o(e){if((0,i.Sn)()){let t=(0,r.y)().location.origin;e="string"==typeof e?new URL(e,t).toString():{...e,url:new URL(e.url,t).toString()}}return e}},174582:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(484461);function i(e){return!(0,r.Z)(e)||!!e?.retryAuthForExplicitLogon}},484461:(e,t,n)=>{n.d(t,{Z:()=>r});function r(e){return e?.headers&&null!=e.headers.get("X-OWA-ExplicitLogonUser")}},362131:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(405590);function i(e,t){return(!!(0,r.iE)().getAuthToken||!!t)&&(401==e||440==e)}},861897:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(837086);function i(e,t){return void 0===e||e.__type||(e={__type:"AuthenticationUrlRequest:#Exchange",...e}),(0,r.S)("GetAuthenticationUrl",e,t)}},796289:(e,t,n)=>{n.d(t,{Ne:()=>a,YX:()=>o});var r=n(503489),i=n(405590);function o(e){let t=a();Object.keys(t).forEach(n=>{e.set(n,t[n])})}function a(){return i.iE().getCanaryHeaders?.()||function(){let e={"X-OWA-CANARY":(0,r.Nz)(!0)},t=(0,r.XL)();return t&&(e["X-OWA-CANARY-DEBUG"]=t),e}()}},885:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(405590),i=n(18354);function o(e,t){return t.then?t.then(t=>a(e,t)):a(e,t)}function a(e,t){if(e=(0,i.o)(e),(0,r.iE)().disableAllRequests){let t=Error("Service request blocked because disableAllRequests is enabled.");return t.diagnosticInfo=`URL: ${e}`,t.fetchErrorType="RequestNotComplete",t.retriable=!1,Promise.reject(t)}return new Promise((n,i)=>{let o=t.timeoutMS||(0,r.iE)().timeoutMS||-1,a=0;if(o>0){let n;"AbortController"in self&&(n=new AbortController,t.signal=n.signal),a=self.setTimeout(()=>{if(n)n.abort();else{let t=Error(`Service request would have timed out after ${o}ms if AbortController is available.`);t.diagnosticInfo=`URL: ${e}`,t.fetchErrorType="RequestTimeout",i(t)}},o)}fetch(e,t).then(e=>{self.clearTimeout(a),n(e)}).catch(t=>{t.fetchErrorType="RequestNotComplete",t.retriable=!0,"AbortError"===t.name?(Object.defineProperty(t,"message",{value:`Service request timed out after ${o}ms.`}),t.fetchErrorType="RequestTimeout"):t.message&&Object.defineProperty(t,"message",{value:`${t.message}`}),t.diagnosticInfo=`URL: ${e}`,self.clearTimeout(a),i(t)})})}},817985:(e,t,n)=>{n.d(t,{j:()=>r});function r(e){return e?.type!=="PstFile"}},478248:(e,t,n)=>{n.d(t,{p:()=>o});var r=n(398765),i=n(860596);let o=e=>(0,r.q)(e)??(0,i.Q)()},420205:(e,t,n)=>{let r;n.d(t,{b:()=>l,m:()=>c});var i=n(787012),o=n(795839),a=n(147775),s=n(824037),u=n(219075);let l=()=>((0,a.l)(),r),c=()=>(r||(r=(0,o.MT)("owaSessionStore",{nonGlobalAccountDataMap:new i.ObservableMap({}),userConfiguration:void 0,userSessionCount:(0,u.Sn)()?(0,s.gc)():(0,s.gS)(),npsDismissCount:(0,s.Ki)(),defaultFolderIdToNameMap:new i.ObservableMap({}),connectedAccountsUserConfigurationMap:new i.ObservableMap({}),allowDefaultDataReturn:!1})()),r)},147775:(e,t,n)=>{n.d(t,{l:()=>o});var r=n(223589),i=n(420205);function o(e){let{allowDefaultDataReturn:t,userConfiguration:n}=(0,i.m)();if(!t&&void 0===n){let t=Error("OwaSessionStoreGlobalSettingsNotReady");(0,r.ly)("OwaSessionStoreGlobalSettingsNotReady",t,{context:e})}}},398765:(e,t,n)=>{n.d(t,{q:()=>a});var r=n(837873),i=n(827570),o=n(420205);function a(e){let t=(0,o.b)();if(t.allowDefaultDataReturn&&void 0===t.userConfiguration&&0===t.nonGlobalAccountDataMap.size)return;let n=(0,i.M4)(e);return n===(0,i.M4)((0,r.zl)())?t.userConfiguration:t.nonGlobalAccountDataMap.get(n)}},824037:(e,t,n)=>{n.d(t,{Ki:()=>s,fX:()=>u,gS:()=>o,gc:()=>a});var r=n(308105);let i={OwaSessionCount:"OwaSessionCount",NpsDimissCount:"NpsDismissCount"};function o(){let e=a();return(0,r.LS)(self,i.OwaSessionCount,(e+1).toString()),e}function a(){return parseInt((0,r.rV)(self,i.OwaSessionCount)??"0")}function s(){return parseInt((0,r.rV)(self,i.NpsDimissCount)??"0")}function u(){let e=s();(0,r.LS)(self,i.NpsDimissCount,(e+1).toString())}},860596:(e,t,n)=>{n.d(t,{Q:()=>r});let r=()=>({defaultFolderNameToIdMap:new Map,defaultFolderIdToNameMap:new Map})},851454:(e,t,n)=>{n.d(t,{Z:()=>r});function r(e,t,n){return Promise.resolve(t)===t&&t.catch(()=>{}),new Promise((r,i)=>{setTimeout(n?i:r,e,t)})}},903683:(e,t,n)=>{n.d(t,{N:()=>o,a:()=>i});let r=null;function i(e){r=e}function o(){return r}},763150:(e,t,n)=>{let r;n.d(t,{Z:()=>o});var i=((r=i||{})[r.None=0]="None",r[r.Error=1]="Error",r[r.DebugError=2]="DebugError",r[r.Warning=3]="Warning",r[r.Info=4]="Info",r[r.Verbose=5]="Verbose",r);let o=i},636283:(e,t,n)=>{n.d(t,{fn:()=>i,Gu:()=>a.Z,ZU:()=>r.ZU,rx:()=>r.rx,hZ:()=>r.hZ,gv:()=>o,SU:()=>r.SU,g4:()=>r.ZP});var r=n(782130);let i="[empty onerror]";function o(e,t,n,o,a,s){if(e||a){if(a||((a=Error(e)).stack=s||i),-1!=(e=e||a.message).indexOf('"responseText":"<!DOCTYPE')){let t=e.toLocaleLowerCase().indexOf("<!doctype html"),n=e.substring(t),r=-1!==n.toLocaleLowerCase().indexOf("</html>\r\n")?n.toLocaleLowerCase().indexOf("</html>\r\n")+9:n.toLocaleLowerCase().indexOf("</html>")+7;-1!==t&&-1!==r&&(e=e.substring(0,t)+"ReplacedGenericHTMLErrorMessage"+e.substring(t+r))}if(Object.isExtensible(a))try{t&&Object.defineProperty(a,"filename",{value:t}),"number"==typeof n&&Object.defineProperty(a,"lineno",{value:n}),"number"==typeof o&&Object.defineProperty(a,"colno",{value:o})}catch{}a?.reported||(0,r.rx)(e,a)}}var a=n(763150)},782130:(e,t,n)=>{n.d(t,{SU:()=>u,ZP:()=>m,ZU:()=>f,hZ:()=>h,rx:()=>d});var r=n(763150),i=n(568408);let o=[],a=[],s={GlobalAnalytics:{required:!0,registered:!1},DevTools:{required:!0,registered:!1},UIExceptionHandler:{required:!0,registered:!1},PeopleBootstrap:{required:!1,registered:!1},Tests:{required:!1,registered:!1},LongRunningTasks:{required:!1,registered:!1},Oobe:{required:!1,registered:!1}};function u(e,t){if(s.Oobe?.registered&&"GlobalAnalytics"===e&&(s.Oobe.registered=!1,o=o.filter(e=>"Oobe"!==e.name)),s[e]?.required&&!s[e].registered){for(let n of(c(`[Trace] Processing boot cache for ${e}. Cache size: ${a.length}`,"analytics"),a))t(...n);s[e].registered=!0}o.push({name:e,listener:t}),v()||(a=[],c("[Trace] Cleared boot cache","analytics"))}function l(e,t,n,r){v()&&a.push([e,t,n,r]),o.forEach(({listener:i})=>{i(e,t,n,r)})}function c(e,t){l(e,r.Z.Info,t)}function f(e,t,n){p(r.Z.DebugError,e,t,n)}function d(e,t,n){p(r.Z.Error,e,t,n)}function h(e,t,n){if(d(e,t,n),"string"==typeof e)throw Error(e);throw e||Error("UnknownError")}function p(e,t,n,r){let o,a;"string"==typeof t?(a=t,o=(0,i.W)(n)||Error(t)):a=(o=(0,i.W)(t)||t||Error("UnknownError")).message,o.error?.message&&o.error.stack&&(a=o.error.message,o.stack=o.error.stack,o.name=o.error.name),o.component?a="COMPONENT ERROR: "+o.message:o.scriptEval&&(a="EVAL ERROR: "+o.message),l(a||"",e,r,o)}function v(){return"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?!s.DevTools.registered:Object.values(s).filter(e=>e.required).some(e=>!e.registered)}let m={info:c,warn:function(e,t){l(e,r.Z.Warning,t)},verbose:function(e,t){l(e,r.Z.Verbose,t)}}},568408:(e,t,n)=>{function r(e){if(!e)return;let t=["GraphqlServerError"],n=["GraphqlNetworkError"],r=function(e){if(e.graphQLErrors){for(let t of e.graphQLErrors)if(t.extensions&&Object.keys(t.extensions).length>0)return t}return e.graphQLErrors?.[0]}(e);if(!r)return e;if(r.path&&(r.gqlPath=r.path.join(".")),r.extensions&&Object.keys(r.extensions).forEach(e=>{if(void 0!=r.extensions[e]&&(r[e]=r.extensions[e]),"code"==e){let i=r.extensions[e];i&&(r.responseCode=i,t.indexOf(i)>-1&&(r.fetchErrorType="ServerFailure"),n.indexOf(i)>-1&&(r.fetchErrorType="RequestNotComplete"))}else"InnerMessage"==e?r.innerMessage=r.extensions[e]:"queryStack"===e&&(r.queryStack=r.extensions[e])}),r.originalError){let e=r.originalError;Object.keys(e).forEach(t=>{e[t]&&(r[t]=e[t])})}return r}n.d(t,{W:()=>r})},919724:(e,t,n)=>{n.d(t,{Z:()=>r});function r(e,t,n){t=t||{};let r=n?Object.keys(t).filter(t=>0>e.indexOf(`&${t}=`)&&0>e.indexOf(`?${t}=`)):Object.keys(t);if(0==r.length)return e;let i=-1!==e.indexOf("?");e+=i?"&":"?";let o=r.map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&");return e+o}},286535:(e,t,n)=>{let r;n.d(t,{y:()=>o});class i{get location(){return window.location}get innerHeight(){return window.innerHeight}get innerWidth(){return window.innerWidth}get document(){return window.document}get isPwa(){return window.matchMedia("(display-mode: standalone)").matches}get cookie(){try{return window.document.cookie}catch{return""}}get localStorage(){try{return window.localStorage}catch(e){return}}get origin(){return window.origin}get _locStrings(){return window._locStrings}}function o(){return r||"undefined"==typeof window||(r=new i),r}},489994:(e,t,n)=>{n.d(t,{F:()=>p});var r=n(53301),i=n(936250),o=n(249118),a=n(597107),s=n(210746),u=n(865246),l=n(442258),c=n(893377),f=n(92497),d=n(796640),h=(0,o.Hef)({endpointUrl:c.YT,propertyStorageOverride:{isVal:function(e){return!e||e.getProperty&&e.setProperty||(0,o._yM)("Invalid property storage override passed."),!0}}}),p=function(e){function t(){var n=e.call(this)||this;return(0,i.Z)(t,n,function(e,t){e[d.VL]=function(n,r,i,l){(0,a.Lm)(e,function(){return"AppInsightsCore.initialize"},function(){try{t[d.VL]((0,s.o)(n,h,i||e[d.eZ],!1).cfg,r,i,l)}catch(t){var a=e[d.eZ],c=(0,o.eUe)(t);-1!==c[d.ou]("channels")&&(c+="\n - Channels must be provided through config.channels only!"),(0,u.kP)(a,1,514,"SDK Initialization Failed - no telemetry will be sent: "+c)}},function(){return{config:n,extensions:r,logger:i,notificationManager:l}})},e.track=function(n){(0,a.Lm)(e,function(){return"AppInsightsCore.track"},function(){if(n){n[d.Ew]=n[d.Ew]||{},n[d.Ew].trackStart=(0,f.hK)(),(0,f.r7)(n.latency)||(n.latency=1);var r=n.ext=n.ext||{};r.sdk=r.sdk||{},r.sdk.ver=f.vs;var i=n.baseData=n.baseData||{};i[c.o6]=i[c.o6]||{};var o=i[c.o6];o[c.p8]=o[c.p8]||e.pluginVersionString||c.qS}t.track(n)},function(){return{item:n}},!n.sync)},e[d.T1]=function(e){return t[d.T1](e||"InternalLog")}}),n}return(0,r.ne)(t,e),t.__ieDyn=1,t}(l.F)},893377:(e,t,n)=>{n.d(t,{YT:()=>i,o6:()=>a,p8:()=>o,qS:()=>r});var r="",i="https://browser.events.data.microsoft.com/OneCollector/1.0/",o="version",a="properties"},92497:(e,t,n)=>{n.d(t,{Do:()=>g,Ic:()=>S,Sn:()=>d,Vv:()=>m,cm:()=>y,hK:()=>b,if:()=>_,jM:()=>h,l7:()=>function e(t,n,r,o,a){var s={},l=!1,c=0,f=arguments[u.R5],d=arguments;for((0,i.jnD)(d[0])&&(l=d[0],c++);c<f;c++){var t=d[c];(0,i.rWU)(t,function(t,n){l&&n&&(0,i.Kn2)(n)?(0,i.kJL)(n)?(s[t]=s[t]||[],(0,i.tOU)(n,function(n,r){n&&(0,i.Kn2)(n)?s[t][r]=e(!0,s[t][r],n):s[t][r]=n})):s[t]=e(!0,s[t],n):s[t]=n})}return s},mJ:()=>w,r7:()=>p,vs:()=>l,yj:()=>v});var r,i=n(249118),o=n(652018),a=n(530754),s=n(893377),u=n(796640),l="1DS-Web-JS-4.2.0",c=a.V4.hasOwnProperty,f=((r={})[0]=0,r[2]=6,r[1]=1,r[3]=7,r[4098]=6,r[4097]=1,r[4099]=7,r);function d(e){return!(e===s.qS||(0,i.lep)(e))}function h(e){if(e){var t=(0,i.MLb)(e,"-");if(t>-1)return(0,i.lH9)(e,t)}return s.qS}function p(e){return!!(e&&(0,i.hj$)(e))&&e>=1&&e<=4}function v(e,t,n){if(!t&&!d(t)||"string"!=typeof e)return null;var r,o=typeof t;if("string"===o||"number"===o||"boolean"===o||(0,i.kJL)(t))t={value:t};else if("object"!==o||c.call(t,"value")){if((0,i.lep)(t[u.V_])||t[u.V_]===s.qS||!(0,i.HD0)(t[u.V_])&&!(0,i.hj$)(t[u.V_])&&!(0,i.jnD)(t[u.V_])&&!(0,i.kJL)(t[u.V_]))return null}else t={value:n?JSON.stringify(t):t};if((0,i.kJL)(t[u.V_])&&!(t[u.V_][u.R5]>0))return null;if(!(0,i.lep)(t[u.$9])){if((0,i.kJL)(t[u.V_])||!(0===(r=t[u.$9])||r>0&&r<=13||32===r))return null;t[u.V_]=t[u.V_].toString()}return t}function m(e,t,n){var r=-1;if(!(0,i.o8e)(e)){if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),n>=0&&n<=9)-1===r&&(r=0),r|=n;else{var o=f[function e(t){var n=0;if(null!=t){var r=typeof t;"string"===r?n=1:"number"===r?n=2:"boolean"===r?n=3:r===a.fK&&(n=4,(0,i.kJL)(t)?(n=4096,t[u.R5]>0&&(n|=e(t[0]))):c.call(t,"value")&&(n=8192|e(t[u.V_])))}return n}(e)]||-1;-1!==r&&-1!==o?r|=o:6===o&&(r=o)}}return r}function g(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||s.qS}function y(e){void 0===e&&(e="D");var t=(0,o.GW)();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,s.qS)),t}(0,i.Nvg)(),(0,i.Ymo)();var b=i.Jjf;function _(e,t){e[u.Ew]=e[u.Ew]||{},e[u.Ew][u.fE]=e[u.Ew][u.fE]||{},e[u.Ew][u.fE][t]=b()}function w(){return!!(0,i.vsb)("chrome")}function S(e){return e>0}},796640:(e,t,n)=>{n.d(t,{$9:()=>l,Ew:()=>a,R5:()=>c,T1:()=>s,VL:()=>r,V_:()=>u,eZ:()=>i,fE:()=>f,ou:()=>o});var r="initialize",i="logger",o="indexOf",a="timings",s="pollInternalLogs",u="value",l="kind",c="length",f="processTelemetryStart"},766971:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(936250),i=n(295383),o=function(){function e(){var t=!0,n=!0,o=!0,a="use-collector-delta",s=!1;(0,r.Z)(e,this,function(e){e[i.E0]=function(){return t},e[i.RQ]=function(){o&&(o=!1,s||(t=!1))},e[i.lE]=function(){return n},e[i.Qm]=function(){return a},e[i.Me]=function(e){s||(e?(a=e,n=!0,s=!0):n=!1,t=!0)}})}return e.__ieDyn=1,e}()},987827:(e,t,n)=>{n.d(t,{e2:()=>o,je:()=>i,ow:()=>r});var r="REAL_TIME",i="NEAR_REAL_TIME",o="BEST_EFFORT"},369648:(e,t,n)=>{n.d(t,{l:()=>l});var r=n(92497),i=n(249118),o=n(557545),a=n(295383);/** * EventBatch.ts * @author Nev Wylie (newylie) * @copyright Microsoft 2020 */function s(e){var t=(e.ext||{}).intweb;return t&&(0,r.Sn)(t[o.fz])?t[o.fz]:null}function u(e){for(var t=null,n=0;null===t&&n<e[a.R5];n++)t=s(e[n]);return t}var l=function(){function e(t,n){var r=n?[][a._Z](n):[],l=u(r);this[a.fm]=function(){return t},this.Msfpc=function(){return l||o.qS},this[a.yM]=function(){return r[a.R5]},this[a.B4]=function(){return r},this.addEvent=function(e){return!!e&&(r[a.MW](e),l||(l=s(e)),!0)},this[a.w6]=function(n,o){var s;if(n<r[a.R5]){var c=r[a.R5]-n;(0,i.lep)(o)||(c=o<c?o:c),s=r[a.cb](n,c),l=u(r)}return new e(t,s)}}return e.create=function(t,n){return new e(t,n)},e}()},499793:(e,t,n)=>{n.d(t,{x:()=>P});var r,i=n(936250),o=n(249118),a=n(210746),s=n(92497),u=n(138934),l=n(854730),c=n(757078),f=n(865246),d=n(597107),h=n(530754),p=n(766971),v=n(557545),m=n(693421),g=n(803808),y=n(714670),b=n(511644),_=n(295383),w="sendAttempt",S="&"+v.Zv+"=true",x="?cors=true&"+v.V2[_.T1]()+"="+v.ME,E=((r={})[1]=v.WA,r[100]=v.WA,r[200]="sent",r[8004]=v.$W,r[8003]=v.$W,r),k={},C={};function A(e,t,n){k[e]=t,!1!==n&&(C[t]=e)}function O(e,t){var n=!1;if(e&&t){var r=(0,o.FYL)(e);if(r&&r[_.R5]>0)for(var i=t[_.T1](),a=0;a<r[_.R5];a++){var s=r[a];if(s&&(0,o.aE6)(t,s)&&s[_.T1]()===i){n=!0;break}}}return n}function I(e,t,n,r){t&&n&&n[_.R5]>0&&(r&&k[t]?(e[_.kN][k[t]]=n,e[_.kW]=!0):e.url+="&"+t+"="+n)}A(v.j9,v.j9,!1),A(v.Ft,v.Ft),A(v.kd,"Client-Id"),A(v.iV,v.iV),A(v.cE,v.cE),A(v.TB,v.TB),A(v.dG,v.dG);var P=function(){function e(t,n,r,k){var A,P,T,R,D,M,L,N,j,U,B,F,W,q,$,V,K,Z,H,z,G,J,Q,Y,X,ee,et,en,er,ei,eo,ea=!1;(0,i.Z)(e,this,function(e){var i;function es(e,t){try{return eo&&eo.getSenderInst(e,t)}catch(e){}return null}function eu(e,t,n){var r=(0,c.tV)(e);ef(t,200,{},r),ex(r)}function el(e,t,n,r){var i,o={},a=e[_.JA];a&&a.forEach(function(e,t){o[t]=e}),ef(t,e.status,o,i=n||v.qS),ex(i)}function ec(e,t,n){var r=(0,c.tV)(e);ef(t,e.status,(0,c.Fz)(e,!0),r),ex(r)}function ef(e,t,n,r){try{e(t,n,r)}catch(e){(0,f.kP)(L,2,518,(0,o.eUe)(e))}}function ed(e,t,n){var r=200,i=e[_.UR],a=e[_.jx]+(Q?S:v.qS);try{var s=(0,o.jWD)();if(i){var u=!!j.getPlugin("LocalStorage"),l=[],c=[];(0,o.tOU)(i[_.sE],function(e){if(l&&e&&e[_.yM]()>0)for(var t=e[_.B4](),n=0;n<t[_.R5];n++)if(s.sendBeacon(a,q.getEventBlob(t[n])))c[_.MW](e[n]);else{l[_.MW](e[_.w6](n));break}else l[_.MW](e[_.w6](0))}),c[_.R5]>0&&(i.sentEvts=c),u||eE(l,8003,i[_.dH],!0)}else r=0}catch(e){(0,f.jV)(L,"Failed to send telemetry using sendBeacon API. Ex:"+(0,o.eUe)(e)),r=0}finally{ef(t,r,{},v.qS)}}function eh(e){return 2===e||3===e}function ep(e){return K&&eh(e)&&(e=2),e}function ev(){var e=W;return W=[],e}function em(e,t,r){var i=!1;return e&&e[_.R5]>0&&!T&&N[t]&&q&&(i=0!==t||!T&&D<n&&(r>0||R[_.E0]())),i}function eg(e){var t={};return e&&(0,o.tOU)(e,function(e,n){t[n]={iKey:e[_.fm](),evts:e[_.B4]()}}),t}function ey(e,n,r,i,a){if(e&&0!==e[_.R5]){if(T){eE(e,1,i);return}i=ep(i);try{var u=e,l=0!==i;(0,d.Lm)(j,function(){return"HttpManager:_sendBatches"},function(o){o&&(e=e.slice(0));for(var u=[],c=null,f=(0,s.hK)(),d=N[i]||(l?N[1]:N[0]),h=d&&d[_.od],p=J&&(K||eh(i)||3===h||d._isSync&&2===h);em(e,i,n);){var v=e.shift();v&&v[_.yM]()>0&&(P.isTenantKilled(v[_.fm]())?u[_.MW](v):(c=c||q[_.uA](n,r,l,p,a,i),q.appendPayload(c,v,t)?null!==c.overflow&&(e=[c.overflow][_._Z](e),c.overflow=null,ew(c,f,(0,s.hK)(),a),f=(0,s.hK)(),c=null):(ew(c,f,(0,s.hK)(),a),f=(0,s.hK)(),e=[v][_._Z](e),c=null)))}c&&ew(c,f,(0,s.hK)(),a),e[_.R5]>0&&(W=e[_._Z](W)),eE(u,8004,i)},function(){return{batches:eg(u),retryCount:n,isTeardown:r,isSynchronous:l,sendReason:a,useSendBeacon:eh(i),sendType:i}},!l)}catch(e){(0,f.kP)(L,2,48,"Unexpected Exception sending batch: "+(0,o.eUe)(e))}}}function eb(e,t){var n={url:A,hdrs:{},useHdrs:!1};t?(n[_.kN]=(0,s.l7)(n[_.kN],F),n.useHdrs=(0,o.FYL)(n.hdrs)[_.R5]>0):(0,o.rWU)(F,function(e,t){C[e]?I(n,C[e],t,!1):(n[_.kN][e]=t,n[_.kW]=!0)}),I(n,v.kd,"NO_AUTH",t),I(n,v.Ft,s.vs,t);var r=v.qS;(0,o.tOU)(e.apiKeys,function(e){r[_.R5]>0&&(r+=","),r+=e}),I(n,v.iV,r,t),I(n,v.TB,(0,o.Ggd)().toString(),t);var i=function(e){for(var t=0;t<e.batches[_.R5];t++){var n=e[_.sE][t].Msfpc();if(n)return encodeURIComponent(n)}return v.qS}(e);if((0,s.Sn)(i)&&(n.url+="&ext.intweb.msfpc="+i),R[_.lE]()&&I(n,v.cE,R[_.Qm](),t),j[_.aH]){var a=j[_.aH]();a>=0&&(n.url+="&w="+a)}for(var u=0;u<B[_.R5];u++)n.url+="&"+B[u].name+"="+B[u].value;return n}function e_(e,t,n){e[t]=e[t]||{},e[t][M.identifier]=n}function ew(t,n,i,a){if(t&&t.payloadBlob&&t.payloadBlob[_.R5]>0){var u=!!X,l=N[t.sendType];!eh(t[_.dH])&&t[_.vN]&&2===t.sendReason&&(l=N[2]||N[3]||l);var c=Z;(t.isBeacon||3===l[_.od])&&(c=!1);var p=eb(t,c);c=c||p[_.kW];var m=(0,s.hK)();(0,d.Lm)(j,function(){return"HttpManager:_doPayloadSend"},function(){for(var y=0;y<t.batches[_.R5];y++)for(var b=t[_.sE][y][_.B4](),S=0;S<b[_.R5];S++){var x=b[S];if($){var E=x[_.Ew]=x[_.Ew]||{};e_(E,"sendEventStart",m),e_(E,"serializationStart",n),e_(E,"serializationCompleted",i)}x[w]>0?x[w]++:x[w]=1}eE(t[_.sE],1e3+(a||0),t[_.dH],!0);var k={data:t.payloadBlob,urlString:p.url,headers:p[_.kN],_thePayload:t,_sendReason:a,timeout:H,disableXhrSync:z,disableFetchKeepAlive:G};c&&(O(k[_.JA],v.Hf)||(k[_.JA][v.Hf]=v.dI),O(k[_.JA],v.V2)||(k[_.JA][v.V2]=v.ME));var C=null;l&&(C=function(n){R[_.RQ]();var i=function(n,i){(function(t,n,i,a){var u=9e3,l=null,c=!1,f=!1;try{var d=!0;if(typeof t!==h.jA){if(n){R[_.Me](n[v.EY]);var p=n[v.iP]||n["kill-duration-seconds"];(0,o.tOU)(P[_.$7](n[v.fs],p),function(e){(0,o.tOU)(i[_.sE],function(t){if(t[_.fm]()===e){l=l||[];var n=t[_.w6](0);i.numEvents-=n[_.yM](),l[_.MW](n)}})})}if(200==t||204==t){u=200;return}(!(0,g.D)(t)||i.numEvents<=0)&&(d=!1),u=9e3+t%1e3}if(d){u=100;var m=i.retryCnt;0===i[_.dH]&&(m<r?(c=!0,eS(function(){0===i[_.dH]&&D--,ey(i[_.sE],m+1,i[_.fX],K?2:i[_.dH],5)},K,(0,g.e)(m))):(f=!0,K&&(u=8001)))}}finally{c||(R[_.Me](),function(t,n,r,i){try{i&&M[_.Hm]();var a=t[_.sE];200===n&&(a=t.sentEvts||t[_.sE],i||t[_.KN]||M._clearBackOff(),function(e){if($){var t=(0,s.hK)();(0,o.tOU)(e,function(e){if(e&&e[_.yM]()>0){var n;n=e[_.B4](),$&&(0,o.tOU)(n,function(e){e_(e[_.Ew]=e[_.Ew]||{},"sendEventCompleted",t)})}})}}(a)),eE(a,n,t[_.dH],!0)}finally{0===t[_.dH]&&(D--,5!==r&&e.sendQueuedRequests(t[_.dH],r))}}(i,u,a,f)),eE(l,8004,i[_.dH])}})(n,i,t,a)},u=t[_.fX]||t[_.KN];try{l.sendPOST(n,i,u),ee&&ee(k,n,u,t[_.vN])}catch(e){(0,f.jV)(L,"Unexpected exception sending payload. Ex:"+(0,o.eUe)(e)),ef(i,0,{})}}),(0,d.Lm)(j,function(){return"HttpManager:_doPayloadSend.sender"},function(){if(C){if(0===t[_.dH]&&D++,u&&!t.isBeacon&&3!==l[_.od]){var e={data:k[_.ob],urlString:k[_.jx],headers:(0,s.l7)({},k[_.JA]),timeout:k.timeout,disableXhrSync:k[_.ky],disableFetchKeepAlive:k[_.lj]},n=!1;(0,d.Lm)(j,function(){return"HttpManager:_doPayloadSend.sendHook"},function(){try{X(e,function(e){n=!0,U||e[_.UR]||(e[_.UR]=e[_.UR]||k[_.UR],e[_.RC]=e[_.RC]||k[_.RC]),C(e)},t.isSync||t[_.fX])}catch(e){n||C(k)}})}else C(k)}})},function(){return{thePayload:t,serializationStart:n,serializationCompleted:i,sendReason:a}},t[_.KN])}t.sizeExceed&&t.sizeExceed[_.R5]>0&&eE(t.sizeExceed,8003,t[_.dH]),t.failedEvts&&t.failedEvts[_.R5]>0&&eE(t.failedEvts,8002,t[_.dH])}function eS(e,t,n){t?e():er.set(e,n)}function ex(e){try{for(var t=0;t<et[_.R5];t++)try{et[t](e)}catch(e){(0,f.kP)(L,1,519,"Response handler failed: "+e)}if(e){var n=JSON.parse(e);(0,s.Sn)(n.webResult)&&(0,s.Sn)(n.webResult[v.fz])&&V.set("MSFPC",n.webResult[v.fz],31536e3)}}catch(e){}}function eE(e,t,n,r){if(e&&e[_.R5]>0&&k){var i,o=k[i=E[t],!(0,s.Sn)(i)&&(i=v.E_,t>=9e3&&t<=9999?i=v.xv:t>=8e3&&t<=8999?i=v.$W:t>=1e3&&t<=1999&&(i=v.jv)),i];if(o){var a=0!==n;(0,d.Lm)(j,function(){return"HttpManager:_sendBatchesNotification"},function(){eS(function(){try{o.call(k,e,t,a,n)}catch(e){(0,f.kP)(L,1,74,"send request notification failed: "+e)}},r||a,0)},function(){return{batches:eg(e),reason:t,isSync:a,sendSync:r,sendType:n}},!a)}}}A=null,P=new m.G,T=!1,R=new p.Z,ea=!1,D=0,M=null,L=null,N=null,j=null,U=!0,B=[],F={},W=[],q=null,$=!1,V=null,K=!1,Z=!1,H=i,z=i,G=i,J=i,Q=i,Y=[],X=i,ee=i,et=[],en=!1,er=(0,b.z)(),ei=!1,eo=null,e[_.VL]=function(e,t,n){en||(j=t,V=t.getCookieMgr(),L=(M=n).diagLog(),(0,o.W5k)(Y,(0,a.k)(e,function(e){var r,i=e.cfg,a=e.cfg.extensionConfig[n.identifier];er=(0,b.z)(a[_.nZ],a[_.yT]),(0,s.Sn)(i.anonCookieName)?function(e,t,n){for(var r=0;r<e[_.R5];r++)if(e[r].name===t){e[r].value=n;return}e[_.MW]({name:t,value:n})}(B,"anoncknm",i.anonCookieName):function(e,t){for(var n=0;n<e[_.R5];n++)if(e[n].name===t){e[_.cb](n,1);return}}(B,"anoncknm"),X=a[_.mY],ee=a.payloadListener;var d=a.httpXHROverride;A=(a[_._m]?a[_._m]:i.endpointUrl)+x,Z=!!(0,o.o8e)(a[_.dU])||!a[_.dU],$=!a[_.LI];var h=a.valueSanitizer,p=a[_.H],v=!!i[_.Bo];(0,o.o8e)(a[_.Bo])||(v=!!a[_.Bo]),H=a.xhrTimeout,z=!!a[_.ky],G=!!a[_.lj],Q=!1!==a[_.BG],ei=!!a[_.rn],t.getPlugin("LocalStorage")&&(G=!0),ea=!(0,u.b$)(),q=new y.e(j,h,p,v,s.Vv,ei),(0,o.lep)(a[_.p4])||(ea=!!a[_.p4]);var m=function(){try{return{enableSendPromise:!1,isOneDs:!0,disableCredentials:!1,disableXhr:!1,disableBeacon:!ea,disableBeaconSync:!ea,disableFetchKeepAlive:G,timeWrapper:er,addNoResponse:Q,senderOnCompleteCallBack:{xdrOnComplete:eu,fetchOnComplete:el,xhrOnComplete:ec,beaconOnRetry:ed}}}catch(e){}return null}();eo?eo.SetConfig(m):(eo=new l.s)[_.VL](m,L);var g=d,w=a[_.wb]?d:null,S=a[_.wb]?d:null,E=[3,2];if(!d){U=!1;var k=[];(0,u.b$)()?(k=[2,1],E=[2,1,3]):k=[1,2,3],(d=es(k=(0,c.fM)(k,a.transports),!1))||(0,f.jV)(L,"No available transport to send events"),g=es(k,!0)}w||(w=es(E=(0,c.fM)(E,a[_.kQ]),!0)),J=!U&&(ea&&(0,u.MF)()||!G&&(0,u.JO)(!0)),(r={})[0]=d,r[1]=g||es([1,2,3],!0),r[2]=w||g||es([1],!0),r[3]=S||es([2,3],!0)||g||es([1],!0),N=r})),en=!0)},e.addResponseHandler=function(e){return et[_.MW](e),{rm:function(){var t=et.indexOf(e);t>=0&&et[_.cb](t,1)}}},e[_.vV]=function(e){try{if(q)return q.getEventBlob(e)}catch(e){}return v.qS},e[_.io]=function(){try{var e=q&&q[_.uA](0,!1,!1,!1,1,0);return eb(e,Z)}catch(e){}return null},e._getDbgPlgTargets=function(){return[N[0],P,q,N]},e[_.rN]=function(e,t){F[e]=t},e.removeHeader=function(e){delete F[e]},e[_.$S]=function(){return!T&&D<n&&R[_.E0]()},e[_.sQ]=function(e,t){(0,o.o8e)(e)&&(e=0),K&&(e=ep(e),t=2),em(W,e,0)&&ey(ev(),0,!1,e,t||0)},e[_.ff]=function(){return!T&&0===D&&0===W[_.R5]},e[_.qN]=function(e){K=e},e.addBatch=function(e){if(e&&e[_.yM]()>0){if(P.isTenantKilled(e[_.fm]()))return!1;W[_.MW](e)}return!0},e.teardown=function(){W[_.R5]>0&&ey(ev(),0,!0,2,2),(0,o.tOU)(Y,function(e){e&&e.rm&&e.rm()}),Y=[]},e.pause=function(){T=!0},e.resume=function(){T=!1,e[_.sQ](0,4)},e[_.xK]=function(e,t,n){e&&e[_.yM]()>0&&((0,o.lep)(t)&&(t=1),K&&(t=ep(t),n=2),ey([e],0,!1,t,n||0))}})}return e.__ieDyn=1,e}()},557545:(e,t,n)=>{n.d(t,{$W:()=>i,EY:()=>v,E_:()=>u,Ft:()=>m,Hf:()=>f,IY:()=>A,ME:()=>c,TB:()=>b,V2:()=>d,WA:()=>a,Xc:()=>S,Zv:()=>E,cE:()=>y,dG:()=>x,dI:()=>l,fs:()=>h,fz:()=>k,iP:()=>p,iV:()=>_,j9:()=>w,jv:()=>o,kd:()=>g,qS:()=>r,xv:()=>s,zC:()=>C});var r="",i="drop",o="send",a="requeue",s="rspFail",u="oth",l="no-cache, no-store",c="application/x-json-stream",f="cache-control",d="content-type",h="kill-tokens",p="kill-duration",v="time-delta-millis",m="client-version",g="client-id",y="time-delta-to-apply-millis",b="upload-time",_="apikey",w="AuthMsaDeviceTicket",S="WebAuthToken",x="AuthXToken",E="NoResponseBody",k="msfpc",C="trace",A="user"},693421:(e,t,n)=>{n.d(t,{G:()=>a});var r=n(936250),i=n(249118),o=n(295383),a=function(){function e(){var t={};(0,r.Z)(e,this,function(e){e[o.$7]=function(e,n){if(e&&n)try{var r,a,s=(r=e[o.w6](","),a=[],r&&(0,i.tOU)(r,function(e){a[o.MW]((0,i.ndY)(e))}),a);if("this-request-only"===n)return s;for(var u=1e3*parseInt(n,10),l=0;l<s[o.R5];++l)t[s[l]]=(0,i.Ggd)()+u}catch(e){}return[]},e[o.M]=function(e){var n=(0,i.ndY)(e);return!!(void 0!==t[n]&&t[n]>(0,i.Ggd)())||(delete t[n],!1)}})}return e.__ieDyn=1,e}()},829899:(e,t,n)=>{n.d(t,{Q:()=>A});var r=n(53301),i=n(936250),o=n(92497),a=n(249118),s=n(597107),u=n(304934),l=n(210634),c=n(210746),f=n(822098),d=n(757078),h=n(37322),p=n(865246),v=n(485836),m=n(59813),g=n(987827),y=n(369648),b=n(499793),_=n(557545),w=n(803808),S=n(511644),x=n(295383),E="eventsDiscarded",k=void 0,C=(0,a.Hef)({eventsLimitInMem:{isVal:o.Ic,v:1e4},immediateEventLimit:{isVal:o.Ic,v:500},autoFlushEventsLimit:{isVal:o.Ic,v:0},disableAutoBatchFlushLimit:!1,httpXHROverride:{isVal:function(e){return e&&e.sendPOST},v:k},overrideInstrumentationKey:k,overrideEndpointUrl:k,disableTelemetry:!1,ignoreMc1Ms0CookieProcessing:!1,setTimeoutOverride:k,clearTimeoutOverride:k,payloadPreprocessor:k,payloadListener:k,disableEventTimings:k,valueSanitizer:k,stringifyObjects:k,enableCompoundKey:k,disableOptimizeObj:!1,transports:k,unloadTransports:k,useSendBeacon:k,disableFetchKeepAlive:k,avoidOptions:!1,xhrTimeout:k,disableXhrSync:k,alwaysUseXhrOverride:!1,maxEventRetryAttempts:{isVal:a.hj$,v:6},maxUnloadEventRetryAttempts:{isVal:a.hj$,v:2},addNoResponse:k,excludeCsMetaData:k}),A=function(e){function t(){var n,r,v,k,A,O,I,P,T,R,D,M,L,N,j,U,B,F,W,q,$,V,K,Z,H,z,G=e.call(this)||this;G.identifier="PostChannel",G.priority=1011,G.version="4.2.0";var J=!1,Q=[],Y=!1,X=0,ee=0,et={},en=g.ow;return(0,i.Z)(t,G,function(e,t){function i(){(0,u.JA)(null,W),(0,u.C9)(null,W),(0,u.Yl)(null,W)}function G(e){var t="";return e&&e[x.R5]&&(0,a.tOU)(e,function(e){t&&(t+="\n"),t+=e}),t}function er(e){var t="";try{ea(e),t=T[x.vV](e)}catch(e){}return t}function ei(e){"beforeunload"!==(e||(0,a.Jj3)().event).type&&(U=!0,T[x.qN](U)),ep(2,2)}function eo(e){U=!1,T[x.qN](U)}function ea(e){e.ext&&e.ext[_.zC]&&delete e.ext[_.zC],e.ext&&e.ext[_.IY]&&e.ext[_.IY].id&&delete e.ext[_.IY].id,j&&(e.ext=(0,d.Ax)(e.ext),e[x.dX]&&(e[x.dX]=(0,d.Ax)(e[x.dX])),e[x.ob]&&(e[x.ob]=(0,d.Ax)(e[x.ob])))}function es(e,t){if(e[x.Ji]||(e[x.Ji]=0),e[x.if]||(e[x.if]=1),ea(e),e[x.B7]){if(I||Y)e[x.if]=3,e[x.B7]=!1;else if(T){j&&(e=(0,d.Ax)(e)),T[x.xK](y.l.create(e[x.fm],[e]),!0===e[x.B7]?1:e[x.B7],3);return}}var n=e[x.if],r=ee,i=k;4===n&&(r=X,i=v);var o=!1;if(r<i)o=!eg(e,t);else{var a=1,s=20;4===n&&(a=4,s=1),o=!0,function(e,t,n,r){for(;n<=t;){var i=ev(e,t,!0);if(i&&i[x.yM]()>0){var o=i[x.w6](0,r),a=o[x.yM]();if(a>0)return 4===n?X-=a:ee-=a,eE(E,[o],h.h.QueueFull),!0}n++}return ey(),!1}(e[x.fm],e[x.if],a,s)&&(o=!eg(e,t))}o&&ex(E,[e],h.h.QueueFull)}function eu(e,t,n){var r=eb(e,t,n);return T[x.sQ](t,n),r}function el(){return ee>0}function ec(){if(L>=0&&eb(L,0,N)&&T[x.sQ](0,N),X>0&&!O&&!Y){var e=et[en][2];e>=0&&(O=ed(function(){O=null,eu(4,0,1),ec()},e))}var t=et[en][1];A||r||!(t>=0)||Y||(el()?A=ed(function(){A=null,eu(0===P?3:1,0,1),P++,P%=2,ec()},t):P=0)}function ef(){n=null,J=!1,Q=[],r=null,Y=!1,X=0,v=500,ee=0,k=1e4,et={},en=g.ow,A=null,O=null,I=0,P=0,R={},D=0,Z=!1,M=0,L=-1,N=null,j=!0,U=!1,B=6,F=2,W=null,H=null,z=!1,q=(0,S.z)(),T=new b.x(500,2,1,{requeue:ew,send:ek,sent:eC,drop:eA,rspFail:eO,oth:eI}),e_(),R[4]={batches:[],iKeyMap:{}},R[3]={batches:[],iKeyMap:{}},R[2]={batches:[],iKeyMap:{}},R[1]={batches:[],iKeyMap:{}},eP()}function ed(e,t){0===t&&I&&(t=1);var n=1e3;return I&&(n=(0,w.e)(I-1)),q.set(e,t*n)}function eh(){return null!==A&&(A.cancel(),A=null,P=0,!0)}function ep(e,t){eh(),r&&(r.cancel(),r=null),Y||eu(1,e,t)}function ev(e,t,n){var r=R[t];r||(r=R[t=1]);var i=r.iKeyMap[e];return!i&&n&&(i=y.l.create(e),r.batches[x.MW](i),r.iKeyMap[e]=i),i}function em(t,n){T[x.$S]()&&!I&&(D>0&&ee>D&&(n=!0),n&&null==r&&e.flush(t,function(){},20))}function eg(e,t){j&&(e=(0,d.Ax)(e));var n=e[x.if],r=ev(e[x.fm],n,!0);return!!r.addEvent(e)&&(4!==n?(ee++,t&&0===e[x.Ji]&&em(!e.sync,M>0&&r[x.yM]()>=M)):X++,!0)}function ey(){for(var e=0,t=0,n=function(n){var r=R[n];r&&r[x.sE]&&(0,a.tOU)(r[x.sE],function(r){4===n?e+=r[x.yM]():t+=r[x.yM]()})},r=1;r<=4;r++)n(r);ee=t,X=e}function eb(t,n,r){var i=!1,o=0===n;return!o||T[x.$S]()?(0,s.Lm)(e.core,function(){return"PostChannel._queueBatches"},function(){for(var e=[],n=4;n>=t;){var r=R[n];r&&r.batches&&r.batches[x.R5]>0&&((0,a.tOU)(r[x.sE],function(t){T.addBatch(t)?i=i||t&&t[x.yM]()>0:e=e[x._Z](t[x.B4]()),4===n?X-=t[x.yM]():ee-=t[x.yM]()}),r[x.sE]=[],r.iKeyMap={}),n--}e[x.R5]>0&&ex(E,e,h.h.KillSwitch),i&&L>=t&&(L=-1,N=0)},function(){return{latency:t,sendType:n,sendReason:r}},!o):(L=L>=0?Math.min(L,t):t,N=Math.max(N,r)),i}function e_(){(et={})[g.ow]=[2,1,0],et[g.je]=[6,3,0],et[g.e2]=[18,9,0]}function ew(t,n){var r=[],i=B;U&&(i=F),(0,a.tOU)(t,function(t){t&&t[x.yM]()>0&&(0,a.tOU)(t[x.B4](),function(t){t&&(t[x.B7]&&(t[x.if]=4,t[x.B7]=!1),t[x.Ji]<i?((0,o.if)(t,e[x.pZ]),es(t,!1)):r[x.MW](t))})}),r[x.R5]>0&&ex(E,r,h.h.NonRetryableStatus),U&&ep(2,2)}function eS(t,n){var r=K||{},i=r[t];if(i)try{i.apply(r,n)}catch(n){(0,p.kP)(e.diagLog(),1,74,t+" notification failed: "+n)}}function ex(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t[x.R5]>0&&eS(e,[t][x._Z](n))}function eE(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t[x.R5]>0&&(0,a.tOU)(t,function(t){t&&t[x.yM]()>0&&eS(e,[t.events()][x._Z](n))})}function ek(e,t,n){e&&e[x.R5]>0&&eS("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function eC(e,t){eE("eventsSent",e,t),ec()}function eA(e,t){eE(E,e,t>=8e3&&t<=8999?t-8e3:h.h.Unknown)}function eO(e){eE(E,e,h.h.NonRetryableStatus),ec()}function eI(e,t){eE(E,e,h.h.Unknown),ec()}function eP(){M=V?0:Math.max(1500,k/6)}ef(),e._getDbgPlgTargets=function(){return[T,n]},e[x.VL]=function(r,a,d){(0,s.Lm)(a,function(){return"PostChannel:initialize"},function(){t[x.VL](r,a,d),K=a.getNotifyMgr();try{W=(0,u.jU)((0,l.J)(e[x.pZ]),a.evtNamespace&&a.evtNamespace()),e._addHook((0,c.k)(r,function(t){var r,s=t.cfg;n=(0,f.CD)(null,s,a).getExtCfg(e[x.pZ],C),q=(0,S.z)(n[x.nZ],n[x.yT]),j=!n[x.s_]&&(0,o.mJ)(),$=n[x.To],r=a[x.aH],a[x.aH]=function(){var e=0;return $&&(e|=2),e|r.call(a)},k=n[x.Mt],v=n.immediateEventLimit,D=n[x.kU],B=n.maxEventRetryAttempts,F=n.maxUnloadEventRetryAttempts,V=n[x.oF],eP(),H=n[x._D],z=!!n[x.jA],Z&&i();var l=s.disablePageUnloadEvents||[];Z=(0,u.c9)(ei,l,W),Z=(0,u.TJ)(ei,l,W)||Z,Z=(0,u.nD)(eo,s.disablePageShowEvents,W)||Z})),T[x.VL](r,e.core,e)}catch(t){throw e.setInitialized(!1),t}},function(){return{theConfig:r,core:a,extensions:d}})},e.processTelemetry=function(t,n){(0,o.if)(t,e[x.pZ]),n=n||e._getTelCtx(n),z||J||(H&&(t[x.fm]=H),es(t,!0),U?ep(2,2):ec()),e.processNext(t,n)},e.getOfflineSupport=function(){try{var e=T&&T[x.io]();if(e)return{getUrl:function(){return e.url},serialize:er,batch:G,shouldProcess:function(e){return!z},createPayload:function(t){return{urlString:e.url,headers:e[x.kN],data:t}}}}catch(e){}return null},e._doTeardown=function(e,t){ep(2,2),J=!0,T.teardown(),i(),ef()},e.setEventQueueLimits=function(e,t){n[x.Mt]=k=(0,o.Ic)(e)?e:1e4,n[x.kU]=D=(0,o.Ic)(t)?t:0,eP();var r=ee>e;if(!r&&M>0)for(var i=1;!r&&i<=3;i++){var s=R[i];s&&s[x.sE]&&(0,a.tOU)(s[x.sE],function(e){e&&e[x.yM]()>=M&&(r=!0)})}em(!0,r)},e.pause=function(){eh(),Y=!0,T.pause()},e.resume=function(){Y=!1,T.resume(),ec()},e._loadTransmitProfiles=function(e){eh(),e_(),en=g.ow,ec(),(0,a.rWU)(e,function(e,t){var n=t[x.R5];if(n>=2){var r=n>2?t[2]:0;if(t[x.cb](0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var i=t[0]/t[1];t[0]=Math.ceil(i)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t[x.MW](r),et[e]=t}})},e.flush=function(e,t,n){if(void 0===e&&(e=!0),!Y){if(n=n||1,e)t||(i=(0,m.wv)(function(e){t=e})),null==r?(eh(),eb(1,0,n),r=ed(function(){r=null,function e(t,n){eu(1,0,n),ey(),function e(t){T[x.ff]()?t():r=ed(function(){r=null,e(t)},.25)}(function(){t&&t(),Q[x.R5]>0?r=ed(function(){r=null,e(Q.shift(),n)},0):(r=null,ec())})}(t,n)},0)):Q[x.MW](t);else{var i,o=eh();eu(1,1,n),t&&t(),o&&ec()}}return i},e.setMsaAuthTicket=function(e){T[x.rN](_.j9,e)},e.setAuthPluginHeader=function(e){T[x.rN](_.Xc,e)},e.removeAuthPluginHeader=function(){T.removeHeader(_.Xc)},e.hasEvents=el,e._setTransmitProfile=function(e){en!==e&&void 0!==et[e]&&(eh(),en=e,ec())},(0,d.Vb)(e,function(){return T},["addResponseHandler"]),e[x.Hm]=function(){I<4&&(I++,eh(),ec())},e._clearBackOff=function(){I&&(I=0,eh(),ec())}}),G}return(0,r.ne)(t,e),t.__ieDyn=1,t}(v.i)},803808:(e,t,n)=>{function r(e){return!(e>=300&&e<500&&429!=e||501==e||505==e)}function i(e){return Math.min(Math.pow(2,e)*(Math.floor(1200*Math.random())+2400),6e5)}n.d(t,{D:()=>r,e:()=>i})},714670:(e,t,n)=>{n.d(t,{e:()=>f});var r=n(936250),i=n(92497),o=n(597107),a=n(249118),s=n(369648),u=n(557545),l="metadata",c=/\./,f=function(){function e(t,n,f,d,h,p){var v="data",m="baseData",g=!!d,y={},b=!!p,_=h||i.Vv;(0,r.Z)(e,this,function(e){e.createPayload=function(e,t,n,r,i,o){return{apiKeys:[],payloadBlob:u.qS,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:o,sendReason:i}},e.appendPayload=function(n,r,i){var u=n&&r&&!n.overflow;return u&&(0,o.Lm)(t,function(){return"Serializer:appendPayload"},function(){for(var t=r.events(),o=n.payloadBlob,u=n.numEvents,l=!1,c=[],f=[],d=n.isBeacon,h=d?65e3:3984588,p=d?65e3:2e6,v=0,m=0;v<t.length;){var g=t[v];if(g){if(u>=i){n.overflow=r.split(v);break}var y=e.getEventBlob(g);if(y&&y.length<=p){var b=y.length;if(o.length+b>h){n.overflow=r.split(v);break}o&&(o+="\n"),o+=y,++m>20&&((0,a.s1E)(o,0,1),m=0),l=!0,u++}else y?c.push(g):f.push(g),t.splice(v,1),v--}v++}if(c.length>0&&n.sizeExceed.push(s.l.create(r.iKey(),c)),f.length>0&&n.failedEvts.push(s.l.create(r.iKey(),f)),l){n.batches.push(r),n.payloadBlob=o,n.numEvents=u;var _=r.iKey();-1===(0,a.UAM)(n.apiKeys,_)&&n.apiKeys.push(_)}},function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:i}}),u},e.getEventBlob=function(e){try{return(0,o.Lm)(t,function(){return"Serializer.getEventBlob"},function(){var t,n={};n.name=e.name,n.time=e.time,n.ver=e.ver,n.iKey="o:"+(0,i.jM)(e.iKey);var o={};b||(t=function(e,t,n){(function(e,t,n,r,i){if(i&&t){var o=e(i.value,i.kind,i.propertyType);if(o>-1){var s=t[l];s||(s=t[l]={f:{}});var u=s.f;if(u||(u=s.f={}),n)for(var c=0;c<n.length;c++){var f=n[c];u[f]||(u[f]={f:{}});var d=u[f].f;d||(d=u[f].f={}),u=d}u=u[r]={},(0,a.kJL)(i.value)?u.a={t:o}:u.t=o}}})(_,o,e,t,n)});var s=e.ext;s&&(n.ext=o,(0,a.rWU)(s,function(e,t){var n=o[e]={};r(t,n,"ext."+e,!0,null,null,!0)}));var u=n[v]={};u.baseType=e.baseType;var c=u[m]={};return r(e.baseData,c,m,!1,[m],t,!0),r(e.data,u,v,!1,[],t,!0),JSON.stringify(n)},function(){return{item:e}})}catch(e){return null}};function r(e,t,o,s,u,l,d){(0,a.rWU)(e,function(e,h){var p=null;if(h||(0,i.Sn)(h)){var v,m,b=o,_=e,w=u,S=t;if(g&&!s&&c.test(e)){var x=e.split("."),E=x.length;if(E>1){w&&(w=w.slice());for(var k=0;k<E-1;k++){var C=x[k];S=S[C]=S[C]||{},b+="."+C,w&&w.push(C)}_=x[E-1]}}if(p=!(s&&(void 0===(m=y[v=b])&&(v.length>=7&&(m=(0,a.xee)(v,"ext.metadata")||(0,a.xee)(v,"ext.web")),y[v]=m),m))&&n&&n.handleField(b,_)?n.value(b,_,h,f):(0,i.yj)(_,h,f)){var A=p.value;if(S[_]=A,l&&l(w,_,p),d&&"object"==typeof A&&!(0,a.kJL)(A)){var O=w;O&&(O=O.slice()).push(_),r(h,A,b+"."+_,s,O,l,d)}}}})}})}return e.__ieDyn=1,e}()},511644:(e,t,n)=>{n.d(t,{z:()=>i});var r=n(249118);/** * TimeoutOverrideWrapper.ts * @author Nev Wylie (newylie) * @copyright Microsoft 2022 * Simple internal timeout wrapper */function i(e,t){return{set:function(n,i){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];return(0,r._HB)([e,t],n,i,o)}}}},295383:(e,t,n)=>{n.d(t,{$7:()=>ei,$S:()=>V,B4:()=>d,B7:()=>eg,BG:()=>P,Bo:()=>A,E0:()=>r,Ew:()=>X,H:()=>C,Hm:()=>eo,JA:()=>U,Ji:()=>ev,KN:()=>et,LI:()=>k,M:()=>z,MW:()=>h,Me:()=>s,Mt:()=>el,Qm:()=>a,R5:()=>u,RC:()=>er,RQ:()=>i,T1:()=>m,To:()=>eu,UR:()=>B,VL:()=>b,_D:()=>ed,_Z:()=>l,_m:()=>x,aH:()=>Q,cb:()=>v,dH:()=>q,dU:()=>E,dX:()=>ep,fX:()=>ee,ff:()=>Z,fm:()=>c,if:()=>em,io:()=>N,jA:()=>eh,jx:()=>F,kN:()=>g,kQ:()=>M,kU:()=>ec,kW:()=>y,ky:()=>O,lE:()=>o,lj:()=>I,mY:()=>S,nZ:()=>_,oF:()=>ef,ob:()=>en,od:()=>J,p4:()=>R,pZ:()=>ea,qN:()=>H,rN:()=>$,rn:()=>T,sE:()=>W,sQ:()=>K,s_:()=>es,uA:()=>j,vN:()=>Y,vV:()=>L,w6:()=>p,wb:()=>D,xK:()=>G,yM:()=>f,yT:()=>w});var r="allowRequestSending",i="firstRequestSent",o="shouldAddClockSkewHeaders",a="getClockSkewHeaderValue",s="setClockSkew",u="length",l="concat",c="iKey",f="count",d="events",h="push",p="split",v="splice",m="toLowerCase",g="hdrs",y="useHdrs",b="initialize",_="setTimeoutOverride",w="clearTimeoutOverride",S="payloadPreprocessor",x="overrideEndpointUrl",E="avoidOptions",k="disableEventTimings",C="stringifyObjects",A="enableCompoundKey",O="disableXhrSync",I="disableFetchKeepAlive",P="addNoResponse",T="excludeCsMetaData",R="useSendBeacon",D="alwaysUseXhrOverride",M="unloadTransports",L="serializeOfflineEvt",N="getOfflineRequestDetails",j="createPayload",U="headers",B="_thePayload",F="urlString",W="batches",q="sendType",$="addHeader",V="canSendRequest",K="sendQueuedRequests",Z="isCompletelyIdle",H="setUnloading",z="isTenantKilled",G="sendSynchronousBatch",J="_transport",Q="getWParam",Y="isBeacon",X="timings",ee="isTeardown",et="isSync",en="data",er="_sendReason",ei="setKillSwitchTenants",eo="_backOffTransmission",ea="identifier",es="disableOptimizeObj",eu="ignoreMc1Ms0CookieProcessing",el="eventsLimitInMem",ec="autoFlushEventsLimit",ef="disableAutoBatchFlushLimit",ed="overrideInstrumentationKey",eh="disableTelemetry",ep="baseData",ev="sendAttempt",em="latency",eg="sync"},768681:(e,t,n)=>{function r(e){return{mrg:!0,v:e}}n.d(t,{bK:()=>r})},119909:(e,t,n)=>{n.d(t,{e:()=>function e(t,n,s,u){o(u)?(l=u.isVal,c=u.set,p=u[i.aV],v=u[i.vd],d=u.mrg,!(h=u.ref)&&(0,r.o8e)(h)&&(h=!!d),f=a(t,n,u)):f=u,v&&t[i.vd](n,s);var l,c,f,d,h,p,v,m,g=!0,y=n[s];(y||!(0,r.lep)(y))&&(m=y,g=!1,l&&m!==f&&!l(m)&&(m=f,g=!0),c&&(g=(m=c(m,f,n))===f)),g?m=f?function e(t,n,s){var u,l=s;return s&&o(s)&&(l=a(t,n,s)),l&&(o(l)&&(l=e(t,n,l)),(0,r.kJL)(l)?(u=[])[i.R5]=l[i.R5]:(0,r.POo)(l)&&(u={}),u&&((0,r.rWU)(l,function(r,i){i&&o(i)&&(i=e(t,n,i)),u[r]=i}),l=u)),l}(t,n,f):f:((0,r.POo)(m)||(0,r.kJL)(f))&&d&&f&&((0,r.POo)(f)||(0,r.kJL)(f))&&(0,r.rWU)(f,function(n,r){e(t,m,n,r)}),t.set(n,s,m),h&&t.ref(n,s),p&&t[i.aV](n,s)}});var r=n(249118),i=n(687428);function o(e){return e&&(0,r.Kn2)(e)&&(e.isVal||e.fb||(0,r.wj3)(e,"v")||(0,r.wj3)(e,"mrg")||(0,r.wj3)(e,"ref")||e.set)}function a(e,t,n){var o,a=n.dfVal||r.$KD;if(t&&n.fb){var s=n.fb;(0,r.kJL)(s)||(s=[s]);for(var u=0;u<s[i.R5];u++){var l=s[u],c=t[l];if(a(c)?o=c:e&&(a(c=e.cfg[l])&&(o=c),e.set(e.cfg,(0,r.XCJ)(l),c)),a(o))break}}return!a(o)&&a(n.v)&&(o=n.v),o}},210746:(e,t,n)=>{n.d(t,{k:()=>d,o:()=>f});var r=n(249118),i=n(210634),o=n(996610),a=n(687428),s=n(119909),u=n(454630),l=n(84171),c=n(657271);function f(e,t,n,o){var f=function(e,t,n){var o,f,d=(0,c.Rw)(t);if(d)return d;var h=(0,i.J)("dyncfg",!0),p=t&&!1!==n?t:(0,c.$1)(t),v=((o={uid:null,cfg:p})[a.eZ]=e,o[a.jW]=function(){f[a.jW]()},o.set=function(t,n,r){try{t=(0,u.lH)(f,t,n,r)}catch(t){(0,u.LQ)(e,n,"Setting value",t)}return t[n]},o[a.Ag]=function(e,t){return t&&(0,r.rWU)(t,function(t,n){(0,s.e)(v,e,t,n)}),e},o[a.DI]=function(e){var t,n,i;return t=f,i={fn:n=e,rm:function(){i.fn=null,t=null,n=null}},(0,r.g$V)(i,"toJSON",{v:function(){return"WatcherHandler"+(i.fn?"":"[X]")}}),t.use(i,n),i},o.ref=function(e,t){var n;return(0,u.Nb)(f,e,t,((n={})[0]=!0,n))[t]},o[a.aV]=function(e,t){var n;return(0,u.Nb)(f,e,t,((n={})[1]=!0,n))[t]},o[a.vd]=function(e,t){var n;return(0,u.Nb)(f,e,t,((n={})[2]=!0,n))[t]},o._block=function(e,t){f.use(null,function(n){var i=f.upd;try{(0,r.o8e)(t)||(f.upd=t),e(n)}finally{f.upd=i}})},o);return(0,r.g$V)(v,"uid",{c:!1,e:!1,w:!1,v:h}),f=(0,l.I)(v),(0,u.Xy)(f,p,"config","Creating"),v}(n,e||{},o);return t&&f[a.Ag](f.cfg,t),f}function d(e,t,n){var i,s=e[c.iM]||e;return s.cfg&&(s.cfg===e||s.cfg[c.iM]===s)?s[a.DI](t):(i=o.XS+(0,r.eUe)(e),n?(n[a.pQ](i),n[a.v1](2,108,i)):(0,c.bh)(i),f(e,null,n)[a.DI](t))}},454630:(e,t,n)=>{n.d(t,{LQ:()=>u,Nb:()=>f,Xy:()=>d,lH:()=>c});var r=n(249118),i=n(996610),o=n(687428),a=n(657271),s=["push","pop","shift","unshift","splice"],u=function(e,t,n,i){e&&e[o.v1](3,108,"".concat(n," [").concat(t,"] failed - ")+(0,r.eUe)(i))};function l(e,t){var n=(0,r.Sn2)(e,t);return n&&n.get}function c(e,t,n,s){if(t){var f=l(t,n);f&&f[e.prop]?t[n]=s:function(e,t,n,s){var f={n:n,h:[],trk:function(t){t&&t.fn&&(-1===(0,r.UAM)(f.h,t)&&f.h[o.MW](t),e.trk(t,f))},clr:function(e){var t=(0,r.UAM)(f.h,e);-1!==t&&f.h[o.cb](t,1)}},h=!0,p=!1;function v(){h&&(p=p||(0,a.QT)(v,e,s),s&&!s[a.iM]&&p&&(s=d(e,s,n,"Converting")),h=!1);var t=e.act;return t&&f.trk(t),s}v[e.prop]={chng:function(){e.add(f)}},(0,r.g$V)(t,f.n,{g:v,s:function(m){if(s!==m){v[e.ro]&&!e.upd&&(0,a.bh)("["+n+"] is read-only:"+(0,r.eUe)(t)),h&&(p=p||(0,a.QT)(v,e,s),h=!1);var g=p&&v[e.rf];if(p){if(g){(0,r.rWU)(s,function(e){s[e]=m?m[e]:i.c8});try{(0,r.rWU)(m,function(t,n){c(e,s,t,n)}),m=s}catch(t){u((e.hdlr||{})[o.eZ],n,"Assigning",t),p=!1}}else s&&s[a.iM]&&(0,r.rWU)(s,function(t){var n=l(s,t);if(n){var r=n[e.prop];r&&r.chng()}})}if(m!==s){var y=m&&(0,a.QT)(v,e,m);!g&&y&&(m=d(e,m,n,"Converting")),s=m,p=y}e.add(f)}}})}(e,t,n,s)}return t}function f(e,t,n,r){if(t){var i=l(t,n),s=i&&!!i[e.prop],f=r&&r[0],d=r&&r[1],h=r&&r[2];if(!s){if(h)try{(0,a.qx)(t)}catch(t){u((e.hdlr||{})[o.eZ],n,"Blocking",t)}try{c(e,t,n,t[n]),i=l(t,n)}catch(t){u((e.hdlr||{})[o.eZ],n,"State",t)}}f&&(i[e.rf]=f),d&&(i[e.ro]=d),h&&(i[e.blkVal]=!0)}return t}function d(e,t,n,i){try{(0,r.rWU)(t,function(n,r){c(e,t,n,r)}),!t[a.iM]&&((0,r.iUz)(t,a.iM,{get:function(){return e[o.Hp]}}),(0,r.kJL)(t)&&(0,r.tOU)(s,function(r){var i=t[r];t[r]=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var s=i[o.ZV](this,r);return d(e,t,n,"Patching"),s}}))}catch(t){u((e.hdlr||{})[o.eZ],n,i,t)}return t}},84171:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(249118),i=n(166581),o=n(687428),a="[[ai_";function s(e){var t,n,s=(0,r.eML)(a+"get"+e.uid+"]]"),u=(0,r.eML)(a+"ro"+e.uid+"]]"),l=(0,r.eML)(a+"rf"+e.uid+"]]"),c=(0,r.eML)(a+"blkVal"+e.uid+"]]"),f=(0,r.eML)(a+"dtl"+e.uid+"]]"),d=null,h=null;function p(t,i){var a=n.act;try{n.act=t,t&&t[f]&&((0,r.tOU)(t[f],function(e){e.clr(t)}),t[f]=[]),i({cfg:e.cfg,set:e.set.bind(e),setDf:e[o.Ag].bind(e),ref:e.ref.bind(e),rdOnly:e[o.aV].bind(e)})}catch(t){var s=e[o.eZ];throw s&&s[o.v1](1,107,(0,r.eUe)(t)),t}finally{n.act=a||null}}function v(){if(d){var e=d;d=null,h&&h[o.SG](),h=null;var t=[];if((0,r.tOU)(e,function(e){if(e&&(e[f]&&((0,r.tOU)(e[f],function(t){t.clr(e)}),e[f]=null),e.fn))try{p(e,e.fn)}catch(e){t[o.MW](e)}}),d)try{v()}catch(e){t[o.MW](e)}t[o.R5]>0&&(0,i.Q)("Watcher error(s): ",t)}}return(t={prop:s,ro:u,rf:l})[o.vd]=c,t[o.Hp]=e,t.add=function(e){if(e&&e.h[o.R5]>0){d||(d=[]),h||(h=(0,r.tXR)(function(){h=null,v()},0));for(var t=0;t<e.h[o.R5];t++){var n=e.h[t];n&&-1===(0,r.UAM)(d,n)&&d[o.MW](n)}}},t[o.jW]=v,t.use=p,t.trk=function(e,t){if(e){var n=e[f]=e[f]||[];-1===(0,r.UAM)(n,t)&&n[o.MW](t)}},n=t}},657271:(e,t,n)=>{n.d(t,{$1:()=>function e(t){if(t){var n;if((0,r.kJL)(t)?(n=[])[i.R5]=t[i.R5]:(0,r.POo)(t)&&(n={}),n)return(0,r.rWU)(t,function(t,r){n[t]=e(r)}),n}return t},QT:()=>c,Rw:()=>u,bh:()=>f,iM:()=>o,qx:()=>l});var r=n(249118),i=n(687428),o=(0,r.dvW)("[[ai_dynCfg_1]]"),a=(0,r.dvW)("[[ai_blkDynCfg_1]]"),s=(0,r.dvW)("[[ai_frcDynCfg_1]]");function u(e){if(e){var t=e[o]||e;if(t.cfg&&(t.cfg===e||t.cfg[o]===t))return t}return null}function l(e){if(e&&((0,r.POo)(e)||(0,r.kJL)(e)))try{e[a]=!0}catch(e){}return e}function c(e,t,n){var i=!1;return!n||e[t.blkVal]||(i=n[s])||n[a]||(i=(0,r.POo)(n)||(0,r.kJL)(n)),i}function f(e){(0,r.ZU2)("InvalidAccess:"+e)}},214419:(e,t,n)=>{n.d(t,{B:()=>r});var r=n(249118).$S8},37322:(e,t,n)=>{n.d(t,{h:()=>i});var r=n(214419),i=(0,r.B)({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5});(0,r.B)({Unknown:0,NonRetryableStatus:1,CleanStorage:2,MaxInStorageTimeExceeded:3})},166581:(e,t,n)=>{n.d(t,{Q:()=>a});var r,i=n(249118),o=n(687428);function a(e,t){r||(r=(0,i.cHs)("AggregationError",function(e,t){t[o.R5]>1&&(e.errors=t[1])}));var n=e||"One or more errors occurred.";throw(0,i.tOU)(t,function(e,t){n+="\n".concat(t," > ").concat((0,i.eUe)(e))}),new r(n,t||[])}},442258:(e,t,n)=>{n.d(t,{F:()=>T});var r,i=n(53301),o=n(936250),a=n(59813),s=n(249118),u=n(210746),l=n(687428),c=n(326071),f=n(50242),d=n(874468),h=n(210634),p=n(215533),v=n(865246),m=n(757078),g=n(996610),y=n(370445),b=n(597107),_=n(822098),w=n(13313),S=n(525989),x=n(805149),E=n(54499),k="Plugins must provide initialize method",C="SDK is still unloading...",A=(0,s.Hef)(((r={cookieCfg:{}})[g.js]={rdOnly:!0,ref:!0,v:[]},r[g.Z]={rdOnly:!0,ref:!0,v:[]},r[g.Zh]={ref:!0,v:{}},r[g.DN]=g.c8,r.loggingLevelConsole=0,r.diagnosticLogInterval=g.c8,r));function O(e,t){return new b.Jk(t)}function I(e,t){var n=!1;return(0,s.tOU)(t,function(t){if(t===e)return n=!0,-1}),n}function P(e,t){var n=null,r=-1;return(0,s.tOU)(e,function(e,i){if(e.w===t)return n=e,r=i,-1}),{i:r,l:n}}var T=function(){function e(){var t,n,r,T,R,D,M,L,N,j,U,B,F,W,q,$,V,K,Z,H,z,G,J,Q,Y,X,ee,et;(0,o.Z)(e,this,function(e){function o(e){return(!X||!X[l.jP])&&!et&&(e||r&&r.queue[l.R5]>0)&&(ee||(ee=!0,ep(t[l.DI](function(e){var t=e.cfg.diagnosticLogInterval;t&&t>0||(t=1e4);var n=!1;X&&(n=X[l.jP],X[l.SG]()),(X=(0,s._w8)(el,t)).unref(),X[l.jP]=n}))),X[l.jP]=!0),X}function en(){var e={};Q=[];var t=function(t){t&&(0,s.tOU)(t,function(t){if(t[l.pZ]&&t[l.PA]&&!e[t.identifier]){var n=t[l.pZ]+"="+t[l.PA];Q[l.MW](n),e[t.identifier]=t}})};t(B),U&&(0,s.tOU)(U,function(e){t(e)}),t(j)}function er(){n=!1,(t=(0,u.o)({},A,e[l.eZ])).cfg[l.KW]=1,(0,s.g$V)(e,"config",{g:function(){return t.cfg},s:function(t){e.updateCfg(t,!1)}}),(0,s.g$V)(e,"pluginVersionStringArr",{g:function(){return Q||en(),Q}}),(0,s.g$V)(e,"pluginVersionString",{g:function(){return Y||(Q||en(),Y=Q.join(";")),Y||g.qS}}),(0,s.g$V)(e,"logger",{g:function(){return r||(r=new v.AQ(t.cfg),t[l.eZ]=r),r},s:function(e){t[l.eZ]=e,r!==e&&((0,c.e)(r,!1),r=e)}}),e[l.eZ]=new v.AQ(t.cfg),J=[];var i=e.config[g.js]||[];i.splice(0,i[l.R5]),(0,s.W5k)(i,J),W=new S.R,T=[],(0,c.e)(R,!1),R=null,D=null,M=null,(0,c.e)(L,!1),L=null,N=null,j=[],U=null,B=null,F=!1,q=null,$=(0,h.J)("AIBaseCore",!0),V=(0,x.Y)(),H=null,z=null,K=(0,E.t)(),G=[],Y=null,Q=null,et=!1,X=null,ee=!1}function ei(){var n=(0,_.CD)(es(),t.cfg,e);return n[l.Fc](o),n}function eo(t){var n,r,i,o,a,u,c,d=(n=e[l.eZ],r=f.A,i=j,a=[],u=[],c={},(0,s.tOU)(i,function(e){((0,s.lep)(e)||(0,s.lep)(e[l.VL]))&&(0,s._yM)(k);var t=e[g.yi],i=e[l.pZ];e&&t&&((0,s.lep)(c[t])?c[t]=i:(0,v.jV)(n,"Two extensions have same priority #"+t+" - "+c[t]+", "+i)),!t||t<r?a[l.MW](e):u[l.MW](e)}),(o={})[g.oV]=a,o[g.Z]=u,o);N=null,Y=null,Q=null,B=(U||[])[0]||[],B=(0,w.AA)((0,s.W5k)(B,d[g.Z]));var h=(0,s.W5k)((0,w.AA)(d[g.oV]),B);J=(0,s.FL5)(h);var p=e.config[g.js]||[];p.splice(0,p[l.R5]),(0,s.W5k)(p,J);var m=ei();B&&B[l.R5]>0&&(0,w.bP)(m[l.zV](B),h),(0,w.bP)(m,h),t&&ef(t)}function ea(e){var t=null,n=null,r=[];return(0,s.tOU)(J,function(t){if(t[l.pZ]===e&&t!==W)return n=t,-1;t.getChannel&&r[l.MW](t)}),!n&&r[l.R5]>0&&(0,s.tOU)(r,function(t){if(!(n=t.getChannel(e)))return -1}),n&&(t={plugin:n,setEnabled:function(e){(0,w.OY)(n)[g.mE]=!e},isEnabled:function(){var e=(0,w.OY)(n);return!e[l.fi]&&!e[g.mE]},remove:function(e,t){void 0===e&&(e=!0);var r,i=[n];eu(i,((r={reason:1})[l.d]=e,r),function(e){e&&eo({reason:32,removed:i}),t&&t(e)})}}),t}function es(){if(!N){var n=(J||[]).slice();-1===(0,s.UAM)(n,W)&&n[l.MW](W),N=(0,_.jV)((0,w.AA)(n),t.cfg,e)}return N}function eu(n,r,i){if(n&&n[l.R5]>0){var a=(0,_.jV)(n,t.cfg,e),u=(0,_.Bt)(a,e);u[l.Fc](function(){var e=!1,t=[];(0,s.tOU)(j,function(r,i){I(r,n)?e=!0:t[l.MW](r)}),j=t,Y=null,Q=null;var r=[];U&&((0,s.tOU)(U,function(t,i){var o=[];(0,s.tOU)(t,function(t){I(t,n)?e=!0:o[l.MW](t)}),r[l.MW](o)}),U=r),i&&i(e),o()}),u[l.uL](r)}else i(!1)}function el(){if(r&&r.queue){var t=r.queue.slice(0);r.queue[l.R5]=0,(0,s.tOU)(t,function(t){var n,r=((n={})[l.I]=q||"InternalMessageId: "+t[l.Gc],n.iKey=z,n[l.Z_]=(0,m.Y6)(new Date),n.baseType=v.lQ.dataType,n.baseData={message:t[l.gU]},n);e.track(r)})}}function ec(e,t,n,r){var i=1,o=!1,a=null;function u(){i--,o&&0===i&&(a&&a[l.SG](),a=null,t&&t(o),t=null)}return r=r||5e3,B&&B[l.R5]>0&&ei()[l.zV](B).iterate(function(t){if(t.flush){i++;var o=!1;t.flush(e,function(){o=!0,u()},n)||o||(e&&null==a?a=(0,s.tXR)(function(){a=null,u()},r):u())}}),o=!0,u(),!0}function ef(t){var n=(0,_.xy)(es(),e);n[l.Fc](o),e._updateHook&&!0===e._updateHook(n,t)||n[l.uL](t)}function ed(t){var n=e[l.eZ];n?((0,v.kP)(n,2,73,t),o()):(0,s._yM)(t)}function eh(t){var n=e[l.tb]();n&&n[g.$F]([t],2)}function ep(e){K.add(e)}er(),e._getDbgPlgTargets=function(){return[J]},e[l.yl]=function(){return n},e[l.VL]=function(o,a,c,f){F&&(0,s._yM)(C),e[l.yl]()&&(0,s._yM)("Core cannot be initialized more than once"),o=(t=(0,u.o)(o,A,c||e[l.eZ],!1)).cfg,ep(t[l.DI](function(e){z=e.cfg.instrumentationKey;var t=e.ref(e.cfg,g.Zh);(0,s.rWU)(t,function(n){e.ref(t,n)}),(0,s.lep)(z)&&(0,s._yM)("Please provide instrumentation key")})),R=f,h=t,y=K,b=R&&e[l.tb](),_=Z,y.add(h[l.DI](function(e){var t=e.cfg.disableDbgExt;!0===t&&_&&(b[l.nG](_),_=null),b&&!_&&!0!==t&&(_=(0,p.p)(e.cfg),b[l.g](_))})),Z=_,ep(t[l.DI](function(t){if(t.cfg.enablePerfMgr){var n=t.cfg[g.DN];d!==n&&(n||(n=O),(0,m.qK)(t.cfg,g.DN,n),d=n,M=null),!D&&!M&&(0,s.mf2)(n)&&(M=n(e,e[l.tb]()))}else M=null,d=null})),e[l.eZ]=c;var d,h,y,b,_,w,S,x,E=o[g.js];if((j=[])[l.MW].apply(j,(0,i.$h)((0,i.$h)([],a,!1),E,!1)),U=o[g.Z],eo(null),B&&0!==B[l.R5]||(0,s._yM)("No "+g.Z+" available"),U&&U[l.R5]>1){var k=e[l.TO]("TeeChannelController");k&&k.plugin||(0,v.kP)(r,1,28,"TeeChannel required")}w=o,S=G,x=r,(0,s.tOU)(S,function(e){var t=(0,u.k)(w,e.w,x);delete e.w,e.rm=function(){t.rm()}}),G=null,n=!0,e.releaseQueue(),e[l.T1]()},e.getChannels=function(){var e=[];return B&&(0,s.tOU)(B,function(t){e[l.MW](t)}),(0,s.FL5)(e)},e.track=function(t){(0,b.Lm)(e[g.kl](),function(){return"AppInsightsCore:track"},function(){null===t&&(eh(t),(0,s._yM)("Invalid telemetry item")),!t[l.I]&&(0,s.lep)(t[l.I])&&(eh(t),(0,s._yM)("telemetry name required")),t.iKey=t.iKey||z,t[l.Z_]=t[l.Z_]||(0,m.Y6)(new Date),t.ver=t.ver||"4.0",!F&&e[l.yl]()?ei()[l.uL](t):T[l.MW](t)},function(){return{item:t}},!t.sync)},e[l.fs]=ei,e[l.tb]=function(){return R||(R=new y.f(t.cfg),e._notificationManager=R),R},e[l.g]=function(t){e.getNotifyMgr()[l.g](t)},e[l.nG]=function(e){R&&R[l.nG](e)},e.getCookieMgr=function(){return L||(L=(0,d.Nz)(t.cfg,e[l.eZ])),L},e.setCookieMgr=function(e){L!==e&&((0,c.e)(L,!1),L=e)},e[g.kl]=function(){return D||M||(0,b.j5)()},e.setPerfMgr=function(e){D=e},e.eventCnt=function(){return T[l.R5]},e.releaseQueue=function(){if(n&&T[l.R5]>0){var e=T;T=[],(0,s.tOU)(e,function(e){ei()[l.uL](e)})}},e[l.T1]=function(e){return q=e||null,et=!1,X&&X[l.SG](),o(!0)},e[l.LS]=function(){et=!0,X&&X[l.SG](),el()},(0,m.Vb)(e,function(){return W},["addTelemetryInitializer"]),e[l.c7]=function(t,i,o){void 0===t&&(t=!0),n||(0,s._yM)("SDK is not initialized"),F&&(0,s._yM)(C);var u,f,d=((u={reason:50})[l.d]=t,u.flushComplete=!1,u);t&&!i&&(f=(0,a.wv)(function(e){i=e}));var h=(0,_.Bt)(es(),e);function p(t){d.flushComplete=t,F=!0,V.run(h,d),e[l.LS](),h[l.uL](d)}return h[l.Fc](function(){K.run(e[l.eZ]),(0,c.G)([L,R,r],t,function(){er(),i&&i(d)})},e),el(),ec(t,p,6,o)||p(!1),f},e[l.TO]=ea,e.addPlugin=function(e,t,n,r){if(!e){r&&r(!1),ed(k);return}var i=ea(e[l.pZ]);if(i&&!t){r&&r(!1),ed("Plugin ["+e[l.pZ]+"] is already loaded!");return}var o={reason:16};function a(t){j[l.MW](e),o.added=[e],eo(o),r&&r(!0)}if(i){var s=[i.plugin];eu(s,{reason:2,isAsync:!!n},function(e){e?(o.removed=s,o.reason|=32,a(!0)):r&&r(!1)})}else a(!1)},e.updateCfg=function(n,r){if(void 0===r&&(r=!0),e[l.yl]()){n=(i={reason:1,cfg:t.cfg,oldCfg:(0,s.ZBL)({},t.cfg),newConfig:(0,s.ZBL)({},n),merge:r}).newConfig;var i,o=t.cfg;n[g.js]=o[g.js],n[g.Z]=o[g.Z]}t._block(function(e){var t=e.cfg;(function e(t,n,r,i){r&&(0,s.rWU)(r,function(r,o){i&&(0,s.POo)(o)&&(0,s.POo)(n[r])&&e(t,n[r],o,i),i&&(0,s.POo)(o)&&(0,s.POo)(n[r])?e(t,n[r],o,i):t.set(n,r,o)})})(e,t,n,r),r||(0,s.rWU)(t,function(r){(0,s.wj3)(n,r)||e.set(t,r,g.c8)}),e[l.Ag](t,A)},!0),t[l.jW](),i&&ef(i)},e.evtNamespace=function(){return $},e.flush=ec,e.getTraceCtx=function(e){return H||(H=(0,w.Yn)()),H},e.setTraceCtx=function(e){H=e||null},e.addUnloadHook=ep,(0,m.Oi)(e,"addUnloadCb",function(){return V},"add"),e.onCfgChange=function(r){var i,o,a,c;return n?i=(0,u.k)(t.cfg,r,e[l.eZ]):((a=P(o=G,r).l)||(a={w:r,rm:function(){var e=P(o,r);-1!==e.i&&o[l.cb](e.i,1)}},o[l.MW](a)),i=a),c=i,(0,s.g$V)({rm:function(){c.rm()}},"toJSON",{v:function(){return"aicore::onCfgChange<"+JSON.stringify(c)+">"}})},e.getWParam=function(){return(0,s.Nvg)()||t.cfg.enableWParam?0:-1}})}return e.__ieDyn=1,e}()},326071:(e,t,n)=>{n.d(t,{G:()=>function e(t,n,o){var s;return o||(s=(0,r.wv)(function(e){o=e})),t&&(0,i.xAH)(t)>0?(0,r.Zm)(a(t[0],n),function(){e((0,i.K7g)(t,1),n,o)}):o(),s},e:()=>a});var r=n(59813),i=n(249118),o=n(687428);function a(e,t){if(e&&e[o.c7])return e[o.c7](t)}},485836:(e,t,n)=>{n.d(t,{i:()=>m});var r,i=n(936250),o=n(249118),a=n(210746),s=n(687428),u=n(865246),l=n(757078),c=n(996610),f=n(822098),d=n(805149),h=n(54499),p="getPlugin",v=((r={})[c.Zh]={isVal:l.BX,v:{}},r),m=function(){function e(){var t,n,r,m,g,y=this;function b(e){void 0===e&&(e=null);var t=e;if(!t){var i=n||(0,f.CD)(null,{},y[c.oV]);t=r&&r[p]?i[s.zV](null,r[p]):i[s.zV](null,r)}return t}function _(e,t,i){(0,a.o)(e,v,(0,u.vH)(t)),!i&&t&&(i=t[s.fs]()[s.Fr]());var o=r;r&&r[p]&&(o=r[p]()),y[c.oV]=t,n=(0,f.CD)(i,e,t,o)}function w(){t=!1,y[c.oV]=null,n=null,r=null,g=(0,h.t)(),m=(0,d.Y)()}w(),(0,i.Z)(e,y,function(e){e[s.VL]=function(e,n,r,i){_(e,n,i),t=!0},e[s.fi]=function(t,n){var i,o,a=e[c.oV];if(a&&(!t||a===t[c.oV]())){var u=!1,l=t||(0,f.Bt)(null,a,r&&r[p]?r[p]():r),d=n||((i={reason:0})[s.d]=!1,i);return e[s.F3]&&!0===e[s.F3](l,d,h)?o=!0:h(),o}function h(){u||(u=!0,m.run(l,n),g.run(l[s.mc]()),!0===o&&l[s.uL](d),w())}},e[s.Tu]=function(t,n){var i,o=e[c.oV];if(o&&(!t||o===t[c.oV]())){var a=!1,u=t||(0,f.xy)(null,o,r&&r[p]?r[p]():r);return e._doUpdate&&!0===e._doUpdate(u,n||{reason:0},l)?i=!0:l(),i}function l(){a||(a=!0,_(u.getCfg(),u.core(),u[s.Fr]()))}},(0,l.Oi)(e,"_addUnloadCb",function(){return m},"add"),(0,l.Oi)(e,"_addHook",function(){return g},"add"),(0,o.g$V)(e,"_unloadHooks",{g:function(){return g}})}),y[s.mc]=function(e){return b(e)[s.mc]()},y[s.yl]=function(){return t},y.setInitialized=function(e){t=e},y[s.Jd]=function(e){r=e},y[s.uL]=function(e,t){t?t[s.uL](e):r&&(0,o.mf2)(r[c.hL])&&r[c.hL](e,null)},y._getTelCtx=b}return e.__ieDyn=1,e}()},50242:(e,t,n)=>{n.d(t,{A:()=>r,t:()=>i});var r=500,i="Microsoft_ApplicationInsights_BypassAjaxInstrumentation"},874468:(e,t,n)=>{n.d(t,{JP:()=>T,Nz:()=>R});var r,i,o,a=n(249118),s=n(768681),u=n(210746),l=n(687428),c=n(865246),f=n(138934),d=n(757078),h=n(996610),p="toGMTString",v="toUTCString",m="cookie",g="expires",y="isCookieUseDisabled",b="disableCookiesUsage",_="_ckMgr",w=null,S=null,x=null,E={},k={},C=((r={cookieCfg:(0,s.bK)(((i={})[h.sB]={fb:"cookieDomain",dfVal:d.BX},i.path={fb:"cookiePath",dfVal:d.BX},i.enabled=h.c8,i.ignoreCookies=h.c8,i.blockedCookies=h.c8,i)),cookieDomain:h.c8,cookiePath:h.c8})[b]=h.c8,r);function A(){o||(o=(0,a.d$o)(function(){return(0,a.MeC)()}))}function O(e){return!e||e.isEnabled()}function I(e,t){return!!(t&&e&&(0,a.kJL)(e.ignoreCookies))&&-1!==(0,a.UAM)(e.ignoreCookies,t)}function P(e,t){var n=t[l.jP];if((0,a.lep)(n)){var r=void 0;(0,a.o8e)(e[y])||(r=!e[y]),(0,a.o8e)(e[b])||(r=!e[b]),n=r}return n}function T(e,t){if(e)n=e.getCookieMgr();else if(t){var n,r,i,o=t.cookieCfg;n=o&&o[_]?o[_]:R(t)}return n||(r=(e||{})[l.eZ],(i=R[_]||k[_])||(i=R[_]=R(t,r),k[_]=i),n=i),n}function R(e,t){e=(0,u.o)(e||k,null,t).cfg,s=(0,u.k)(e,function(t){t[l.Ag](t.cfg,C),i=(r=t.ref(t.cfg,"cookieCfg"))[h.W8]||"/",o=r[h.sB],c=!1!==P(e,r),m=r.getCookie||j,y=r.setCookie||U,b=r.delCookie||U},t);var n,r,i,o,s,c,m,y,b,w=((n={isEnabled:function(){var n=!1!==P(e,r)&&c&&D(t),i=k[_];return n&&i&&w!==i&&(n=O(i)),n},setEnabled:function(e){c=!1!==e,r[l.jP]=e},set:function(e,t,n,s,u){var c,m=!1;if(O(w)&&(c=r,!(e&&c&&(0,a.kJL)(c.blockedCookies)&&-1!==(0,a.UAM)(c.blockedCookies,e)||I(c,e)))){var b,_={},x=(0,a.ndY)(t||h.qS),E=(0,a.MLb)(x,";");if(-1!==E&&(x=(0,a.ndY)((0,a.lH9)(t,E)),_=M((0,a.k4L)(t,E+1))),(0,d.sO)(_,h.sB,s||o,a.fQg,a.o8e),!(0,a.lep)(n)){var k=(0,f.w1)();if((0,a.o8e)(_[g])){var C=(0,a.Ggd)()+1e3*n;if(C>0){var A=new Date;A.setTime(C),(0,d.sO)(_,g,L(A,k?p:v)||L(A,k?p:v)||h.qS,a.fQg)}}k||(0,d.sO)(_,"max-age",h.qS+n,null,a.o8e)}var P=(0,f.k$)();P&&"https:"===P[l.Po]&&((0,d.sO)(_,"secure",null,null,a.o8e),null===S&&(b=((0,a.jWD)()||{})[l.qV],S=!((0,a.HD0)(b)&&((0,d._Q)(b,"CPU iPhone OS 12")||(0,d._Q)(b,"iPad; CPU OS 12")||(0,d._Q)(b,"Macintosh; Intel Mac OS X 10_14")&&(0,d._Q)(b,"Version/")&&(0,d._Q)(b,"Safari")||(0,d._Q)(b,"Macintosh; Intel Mac OS X 10_14")&&(0,a.IdH)(b,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||(0,d._Q)(b,"Chrome/5")||(0,d._Q)(b,"Chrome/6")||(0,d._Q)(b,"UnrealEngine")&&!(0,d._Q)(b,"Chrome")||(0,d._Q)(b,"UCBrowser/12")||(0,d._Q)(b,"UCBrowser/11")))),S&&(0,d.sO)(_,"SameSite","None",null,a.o8e)),(0,d.sO)(_,h.W8,u||i,null,a.o8e),y(e,N(x,_)),m=!0}return m},get:function(e){var t=h.qS;return O(w)&&!I(r,e)&&(t=m(e)),t},del:function(e,t){var n=!1;return O(w)&&(n=w.purge(e,t)),n},purge:function(e,n){var r,i=!1;if(D(t)){var o=((r={})[h.W8]=n||"/",r[g]="Thu, 01 Jan 1970 00:00:01 GMT",r);(0,f.w1)()||(o["max-age"]="0"),b(e,N(h.qS,o)),i=!0}return i}})[l.c7]=function(e){s&&s.rm(),s=null},n);return w[_]=w,w}function D(e){if(null===w){w=!1,o||A();try{var t=o.v||{};w=void 0!==t[m]}catch(t){(0,c.kP)(e,2,68,"Cannot access document.cookie - "+(0,d.jj)(t),{exception:(0,a.eUe)(t)})}}return w}function M(e){var t={};if(e&&e[l.R5]){var n=(0,a.ndY)(e)[l.w6](";");(0,a.tOU)(n,function(e){if(e=(0,a.ndY)(e||h.qS)){var n=(0,a.MLb)(e,"=");-1===n?t[e]=null:t[(0,a.ndY)((0,a.lH9)(e,n))]=(0,a.ndY)((0,a.k4L)(e,n+1))}})}return t}function L(e,t){return(0,a.mf2)(e[t])?e[t]():null}function N(e,t){var n=e||h.qS;return(0,a.rWU)(t,function(e,t){n+="; "+e+((0,a.lep)(t)?h.qS:"="+t)}),n}function j(e){var t=h.qS;if(o||A(),o.v){var n=o.v[m]||h.qS;x!==n&&(E=M(n),x=n),t=(0,a.ndY)(E[e]||h.qS)}return t}function U(e,t){o||A(),o.v&&(o.v[m]=e+"="+t)}},652018:(e,t,n)=>{n.d(t,{DO:()=>s,GW:()=>a});var r=n(249118),i=n(996610),o=n(839391);function a(){var e=s();return(0,r.k4L)(e,0,8)+"-"+(0,r.k4L)(e,8,12)+"-"+(0,r.k4L)(e,12,16)+"-"+(0,r.k4L)(e,16,20)+"-"+(0,r.k4L)(e,20)}function s(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=i.qS,a=0;a<4;a++)n+=t[15&(e=(0,o._l)())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var s=t[8+(3&(0,o._l)())|0];return(0,r.s1E)(n,0,8)+(0,r.s1E)(n,9,4)+"4"+(0,r.s1E)(n,13,3)+s+(0,r.s1E)(n,16,3)+(0,r.s1E)(n,19,12)}},210634:(e,t,n)=>{n.d(t,{J:()=>d,K:()=>h});var r=n(249118),i=n(687428),o=n(757078),a=n(996610),s=n(839391),u="3.2.1",l="."+(0,s.pZ)(6),c=0;function f(e){return 1===e[i.xv]||9===e[i.xv]||!+e[i.xv]}function d(e,t){return void 0===t&&(t=!1),(0,o.Gf)(e+c+++(t?"."+u:a.qS)+l)}function h(e){var t={id:d("_aiData-"+(e||a.qS)+"."+u),accept:function(e){return f(e)},get:function(e,n,i,a){var s=e[t.id];return s?s[(0,o.Gf)(n)]:(a&&((s=function(e,t){var n=t[e.id];if(!n){n={};try{f(t)&&(0,r.g$V)(t,e.id,{e:!1,v:n})}catch(e){}}return n}(t,e))[(0,o.Gf)(n)]=i),i)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}},215533:(e,t,n)=>{n.d(t,{j:()=>l,p:()=>c});var r,i=n(249118),o=n(687428),a=n(996610),s=[a.uC,a.$F,a.f_,a.C$],u=null;function l(e){var t,n=u;return n||!0===e.disableDbgExt||(n=u||((t=(0,i.vsb)("Microsoft"))&&(u=t.ApplicationInsights),u)),n?n.ChromeDbgExt:null}function c(e){if(!r){r={};for(var t=0;t<s[o.R5];t++)r[s[t]]=function(e,t){return function(){var n=arguments,r=l(t);if(r){var i=r.listener;i&&i[e]&&i[e][o.ZV](i,n)}}}(s[t],e)}return r}},865246:(e,t,n)=>{n.d(t,{AQ:()=>y,jV:()=>_,kP:()=>b,lQ:()=>m,vH:()=>g});var r,i=n(936250),o=n(249118),a=n(210746),s=n(687428),u=n(215533),l=n(138934),c=n(996610),f="warnToConsole",d={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},h=((r={})[0]=null,r[1]="errorToConsole",r[2]=f,r[3]="debugToConsole",r);function p(e){return e?'"'+e[s.i7](/\"/g,c.qS)+'"':c.qS}function v(e,t){var n=(0,l.dr)();if(n){var r="log";n[e]&&(r=e),(0,o.mf2)(n[r])&&n[r](t)}}var m=function(){function e(e,t,n,r){void 0===n&&(n=!1),this[s.Gc]=e,this[s.gU]=(n?"AI: ":"AI (Internal): ")+e;var i=c.qS;(0,l.nS)()&&(i=(0,l.xA)().stringify(r));var o=(t?" message:"+p(t):c.qS)+(r?" props:"+p(i):c.qS);this[s.gU]+=o}return e.dataType="MessageData",e}();function g(e,t){return(e||{})[s.eZ]||new y(t)}var y=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,r,l,c,p,g=0,y={};(0,i.Z)(e,this,function(e){var i;function b(t,n){if(!(g>=l)){var i=!0,o="AITR_"+n[s.Gc];if(y[o]?i=!1:y[o]=!0,i&&(t<=r&&(e.queue[s.MW](n),g++,_(1===t?"error":"warn",n)),g===l)){var a="Internal events throttle limit per PageView reached for this app.",u=new m(23,a,!1);e.queue[s.MW](u),1===t?e.errorToConsole(a):e[s.pQ](a)}}}function _(e,n){var r=(0,u.j)(t||{});r&&r[s.mc]&&r[s.mc](e,n)}i=t||{},p=(0,a.k)((0,a.o)(i,d,e).cfg,function(e){var t=e.cfg;n=t[s.KW],r=t.loggingLevelTelemetry,l=t.maxMessageLimit,c=t.enableDebug}),e.consoleLoggingLevel=function(){return n},e[s.v1]=function(t,r,i,a,u){void 0===u&&(u=!1);var l=new m(r,i,u,a);if(c)throw(0,o.eUe)(l);var d=h[t]||f;if((0,o.o8e)(l[s.gU]))_("throw"+(1===t?"Critical":"Warning"),l);else{if(u){var p=+l[s.Gc];!y[p]&&n>=t&&(e[d](l[s.gU]),y[p]=!0)}else n>=t&&e[d](l[s.gU]);b(t,l)}},e.debugToConsole=function(e){v("debug",e),_("warning",e)},e[s.pQ]=function(e){v("warn",e),_("warning",e)},e.errorToConsole=function(e){v("error",e),_("error",e)},e.resetInternalMessageCount=function(){g=0,y={}},e[s.jk]=b,e[s.c7]=function(e){p&&p.rm(),p=null}})}return e.__ieDyn=1,e}();function b(e,t,n,r,i,o){void 0===o&&(o=!1),(e||new y)[s.v1](t,n,r,i,o)}function _(e,t){(e||new y)[s.pQ](t)}},138934:(e,t,n)=>{n.d(t,{JO:()=>E,MF:()=>x,MX:()=>b,Z3:()=>C,b$:()=>w,cp:()=>k,dr:()=>m,gz:()=>_,k$:()=>v,nS:()=>g,w1:()=>S,xA:()=>y});var r=n(530754),i=n(249118),o=n(687428),a=n(757078),s=n(996610),u="JSON",l="XMLHttpRequest",c=null,f=null,d=null,h=null;function p(e,t){var n=!1;if(e){try{if(!(n=t in e)){var o=e[r.hB];o&&(n=t in o)}}catch(e){}if(!n)try{var a=new e;n=!(0,i.o8e)(a[t])}catch(e){}}return n}function v(e){return typeof location===r.fK&&location?location:(0,i.vsb)("location")}function m(){return typeof console!==r.jA?console:(0,i.vsb)("console")}function g(){return!!(typeof JSON===r.fK&&JSON||null!==(0,i.vsb)(u))}function y(){return g()?JSON||(0,i.vsb)(u):null}function b(){return(0,i.vsb)("crypto")}function _(){return(0,i.vsb)("msCrypto")}function w(){var e=(0,i.jWD)();return!!e&&!!e.product&&"ReactNative"===e.product}function S(){var e=(0,i.jWD)();if(e&&(e[o.qV]!==f||null===c)){var t=((f=e[o.qV])||s.qS)[o.D7]();c=(0,a._Q)(t,"msie")||(0,a._Q)(t,"trident/")}return c}function x(e){return(null===h||!1===e)&&(h=(0,i.d6F)()&&!!(0,i.jWD)().sendBeacon),h}function E(e){var t=!1;try{t=!!(0,i.vsb)("fetch");var n=(0,i.vsb)("Request");t&&e&&n&&(t=p(n,"keepalive"))}catch(e){}return t}function k(){return null===d&&(d=typeof XDomainRequest!==r.jA)&&C()&&(d=d&&!p((0,i.vsb)(l),"withCredentials")),d}function C(){var e=!1;try{e=!!(0,i.vsb)(l)}catch(e){}return e}},304934:(e,t,n)=>{n.d(t,{C9:()=>N,JA:()=>L,QY:()=>T,TJ:()=>function e(t,n,i){var o=I(g,i),a=R([h],t,n,o);return n&&-1!==(0,r.UAM)(n,d)||(a=R([d],function(e){var n=(0,r.MeC)();t&&n&&"hidden"===n.visibilityState&&t(e)},n,o)||a),!a&&n&&(a=e(t,null,i)),a},XO:()=>P,Yl:()=>j,c9:()=>M,jU:()=>I,nD:()=>function e(t,n,i){var o=I(y,i),a=R([p],t,n,o);return(a=R([d],function(e){var n=(0,r.MeC)();t&&n&&"visible"===n.visibilityState&&t(e)},n,o)||a)||!n||(a=e(t,null,i)),a}});var r=n(249118),i=n(687428),o=n(210634),a=n(996610),s="attachEvent",u="addEventListener",l="detachEvent",c="removeEventListener",f="events",d="visibilitychange",h="pagehide",p="pageshow",v="unload",m="beforeunload",g=(0,o.J)("aiEvtPageHide"),y=(0,o.J)("aiEvtPageShow"),b=/\.[\.]+/g,_=/[\.]+$/,w=1,S=(0,o.K)("events"),x=/^([^.]*)(?:\.(.+)|)/;function E(e){return e&&e[i.i7]?e[i.i7](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,a.qS):e}function k(e,t){if(t){var n,o=a.qS;(0,r.kJL)(t)?(o=a.qS,(0,r.tOU)(t,function(e){(e=E(e))&&("."!==e[0]&&(e="."+e),o+=e)})):o=E(t),o&&("."!==o[0]&&(o="."+o),e=(e||a.qS)+o)}var s=x.exec(e||a.qS)||[];return(n={})[i.P6]=s[1],n.ns=(s[2]||a.qS).replace(b,".").replace(_,a.qS)[i.w6](".").sort().join("."),n}function C(e,t,n){void 0===n&&(n=!0);var r=S.get(e,f,{},n),i=r[t];return i||(i=r[t]=[]),i}function A(e,t,n,r){e&&t&&t[i.P6]&&(e[c]?e[c](t[i.P6],n,r):e[l]&&e[l]("on"+t[i.P6],n))}function O(e,t,n,r){for(var o=t[i.R5];o--;){var a=t[o];a&&(!n.ns||n.ns===a.evtName.ns)&&(!r||r(a))&&(A(e,a.evtName,a[i.Kn],a.capture),t[i.cb](o,1))}}function I(e,t){return t?k("xx",(0,r.kJL)(t)?[e].concat(t):[e,t]).ns[i.w6]("."):e}function P(e,t,n,r,o){void 0===o&&(o=!1);var a,l=!1;if(e)try{var c,f,d=k(t,r);if(c=o,f=!1,e&&d&&d[i.P6]&&n&&(e[u]?(e[u](d[i.P6],n,c),f=!0):e[s]&&(e[s]("on"+d[i.P6],n),f=!0)),(l=f)&&S.accept(e)){var h=((a={guid:w++,evtName:d})[i.Kn]=n,a.capture=o,a);C(e,d.type)[i.MW](h)}}catch(e){}return l}function T(e,t,n,o,a){if(void 0===a&&(a=!1),e)try{var s=k(t,o),u=!1;(function(e,t,n){if(t[i.P6])O(e,C(e,t[i.P6]),t,n);else{var o=S.get(e,f,{});(0,r.rWU)(o,function(r,i){O(e,i,t,n)}),0===(0,r.FYL)(o)[i.R5]&&S.kill(e,f)}})(e,s,function(e){return(!!s.ns&&!n||e[i.Kn]===n)&&(u=!0,!0)}),u||A(e,s,n,a)}catch(e){}}function R(e,t,n,o){var a=!1;return t&&e&&e[i.R5]>0&&(0,r.tOU)(e,function(e){if(e&&(!n||-1===(0,r.UAM)(n,e))){var i,s,u;i=!1,(s=(0,r.Jj3)())&&(i=P(s,e,t,o),i=P(s.body,e,t,o)||i),(u=(0,r.MeC)())&&(i=P(u,e,t,o)||i),a=i||a}}),a}function D(e,t,n){e&&(0,r.kJL)(e)&&(0,r.tOU)(e,function(e){if(e){var i,o;(i=(0,r.Jj3)())&&(T(i,e,t,n),T(i.body,e,t,n)),(o=(0,r.MeC)())&&T(o,e,t,n)}})}function M(e,t,n){var o,a;return o=[m,v,h],a=!1,e&&o&&(0,r.kJL)(o)&&!(a=R(o,e,t,n))&&t&&t[i.R5]>0&&(a=R(o,e,null,n)),a}function L(e,t){D([m,v,h],e,t)}function N(e,t){var n=I(g,t);D([h],e,n),D([d],null,n)}function j(e,t){var n=I(y,t);D([p],e,n),D([d],null,n)}},757078:(e,t,n)=>{n.d(t,{An:()=>S,Ax:()=>b,BX:()=>c,Fz:()=>A,Gf:()=>f,Np:()=>w,Oi:()=>g,Vb:()=>y,Y6:()=>h,_Q:()=>d,fM:()=>x,jj:()=>p,ot:()=>k,qK:()=>m,sO:()=>v,tV:()=>_});var r=n(249118),i=n(530754),o=n(687428),a=n(996610),s=/-([a-z])/g,u=/([^\w\d_$])/g,l=/^(\d+[\w\d_$])/;function c(e){return!(0,r.lep)(e)}function f(e){var t=e;return t&&(0,r.HD0)(t)&&(t=(t=(t=t[o.i7](s,function(e,t){return t.toUpperCase()}))[o.i7](u,"_"))[o.i7](l,function(e,t){return"_"+t})),t}function d(e,t){return!!e&&!!t&&-1!==(0,r.MLb)(e,t)}function h(e){return e&&e.toISOString()||""}function p(e){return(0,r.VZO)(e)?e[o.I]:a.qS}function v(e,t,n,r,i){var o=n;return e&&(o=e[t])!==n&&(!i||i(o))&&(!r||r(n))&&(o=n,e[t]=o),o}function m(e,t,n){var i;return e?!(i=e[t])&&(0,r.lep)(i)&&(i=(0,r.o8e)(n)?{}:n,e[t]=i):i=(0,r.o8e)(n)?{}:n,i}function g(e,t,n,i,a){var s,u;e&&t&&n&&(!1!==a||(0,r.o8e)(e[t]))&&(e[t]=(s=null,u=null,(0,r.mf2)(n)?s=n:u=n,function(){var e=arguments;if(s&&(u=s()),u)return u[i][o.ZV](u,e)}))}function y(e,t,n,i){return e&&t&&(0,r.Kn2)(e)&&(0,r.kJL)(n)&&(0,r.tOU)(n,function(n){(0,r.HD0)(n)&&g(e,n,t,n,i)}),e}function b(e){return e&&r.z$C&&(e=(0,i.Pw)((0,r.z$C)({},e))),e}function _(e){try{return e.responseText}catch(e){}return null}function w(e,t){return e?"XDomainRequest,Response:"+_(e):t}function S(e,t){return e?"XMLHttpRequest,Status:"+e[o.Yz]+",Response:"+_(e)||0:t}function x(e,t){return t&&((0,r.hj$)(t)?e=[t].concat(e):(0,r.kJL)(t)&&(e=t.concat(e))),e}Object.getPrototypeOf;var E="withCredentials";function k(e,t,n,r,i,o){function a(e,t,n){try{e[t]=n}catch(e){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var s=new XMLHttpRequest;return r&&a(s,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),n&&a(s,E,n),s.open(e,t,!i),n&&a(s,E,n),!i&&o&&a(s,"timeout",o),s}function C(e,t,n){if(!e[n]&&t&&t[o.rb]){var i=t[o.rb](n);i&&(e[n]=(0,r.ndY)(i))}return e}function A(e,t){var n={};return e[o.l8]?n=function(e){var t={};if((0,r.HD0)(e)){var n=(0,r.ndY)(e)[o.w6](/[\r\n]+/);(0,r.tOU)(n,function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var i=(0,r.ndY)(e.substring(0,n))[o.D7](),a=(0,r.ndY)(e.substring(n+1));t[i]=a}else t[(0,r.ndY)(e)]=1}})}return t}(e[o.l8]()):t&&(n=C(n,e,"time-delta-millis"),n=C(n,e,"kill-duration"),n=C(n,e,"kill-duration-seconds")),n}},996610:(e,t,n)=>{n.d(t,{$F:()=>p,C$:()=>m,DN:()=>s,W$:()=>y,W8:()=>S,XS:()=>x,Z:()=>o,Zh:()=>l,c8:()=>r,f_:()=>v,hL:()=>f,js:()=>c,kl:()=>_,lO:()=>g,mE:()=>u,oV:()=>a,qS:()=>i,sB:()=>w,uC:()=>h,v_:()=>b,yi:()=>d});var r=void 0,i="",o="channels",a="core",s="createPerfMgr",u="disabled",l="extensionConfig",c="extensions",f="processTelemetry",d="priority",h="eventsSent",p="eventsDiscarded",v="eventsSendRequest",m="perfEvent",g="offlineEventsStored",y="offlineBatchSent",b="offlineBatchDrop",_="getPerfMgr",w="domain",S="path",x="Not dynamic - "},370445:(e,t,n)=>{n.d(t,{f:()=>d});var r=n(936250),i=n(59813),o=n(249118),a=n(210746),s=n(687428),u=n(996610),l={perfEvtsSendAll:!1};function c(e){e.h=null;var t=e.cb;e.cb=[],(0,o.tOU)(t,function(e){(0,o.TwK)(e.fn,[e.arg])})}function f(e,t,n,r){(0,o.tOU)(e,function(e){e&&e[t]&&(n?(n.cb[s.MW]({fn:r,arg:e}),n.h=n.h||(0,o.tXR)(c,0,n)):(0,o.TwK)(r,[e]))})}var d=function(){function e(t){this.listeners=[];var n,c,d=[],h={h:null,cb:[]};c=(0,a.o)(t,l)[s.DI](function(e){n=!!e.cfg.perfEvtsSendAll}),(0,r.Z)(e,this,function(e){(0,o.g$V)(e,"listeners",{g:function(){return d}}),e[s.g]=function(e){d[s.MW](e)},e[s.nG]=function(e){for(var t=(0,o.UAM)(d,e);t>-1;)d[s.cb](t,1),t=(0,o.UAM)(d,e)},e[u.uC]=function(e){f(d,u.uC,h,function(t){t[u.uC](e)})},e[u.$F]=function(e,t){f(d,u.$F,h,function(n){n[u.$F](e,t)})},e[u.f_]=function(e,t){f(d,u.f_,t?h:null,function(n){n[u.f_](e,t)})},e[u.C$]=function(e){e&&(n||!e[s.PL]())&&f(d,u.C$,null,function(t){e[s.d]?(0,o.tXR)(function(){return t[u.C$](e)},0):t[u.C$](e)})},e[u.lO]=function(e){e&&e[s.R5]&&f(d,u.lO,h,function(t){t[u.lO](e)})},e[u.W$]=function(e){e&&e[s.ob]&&f(d,u.W$,h,function(t){t[u.W$](e)})},e[u.v_]=function(e,t){if(e>0){var n=t||0;f(d,u.v_,h,function(t){t[u.v_](e,n)})}},e[s.c7]=function(e){var t,n=function(){c&&c.rm(),c=null,d=[],h.h&&h.h[s.SG](),h.h=null,h.cb=[]};if(f(d,"unload",null,function(n){var r=n[s.c7](e);r&&(t||(t=[]),t[s.MW](r))}),t)return(0,i.wv)(function(e){return(0,i.Zm)((0,i.Tp)(t),function(){n(),e()})});n()}})}return e.__ieDyn=1,e}()},597107:(e,t,n)=>{n.d(t,{Jk:()=>c,Lm:()=>d,j5:()=>h});var r=n(936250),i=n(249118),o=n(687428),a=n(996610),s="ParentContextKey",u="ChildrenContextKey",l=function(){function e(t,n,r){var a,l=this;l.start=(0,i.Ggd)(),l[o.I]=t,l[o.d]=r,l[o.PL]=function(){return!1},(0,i.mf2)(n)&&(0,i.g$V)(l,"payload",{g:function(){return!a&&(0,i.mf2)(n)&&(a=n(),n=null),a}}),l[o.T]=function(t){return t?t===e[s]||t===e[u]?l[t]:(l.ctx||{})[t]:null},l[o.wu]=function(t,n){t&&(t===e[s]?(l[t]||(l[o.PL]=function(){return!0}),l[t]=n):t===e[u]?l[t]=n:(l.ctx=l.ctx||{})[t]=n)},l[o.Km]=function(){var t=0,n=l[o.T](e[u]);if((0,i.kJL)(n))for(var r=0;r<n[o.R5];r++){var a=n[r];a&&(t+=a[o.Z_])}l[o.Z_]=(0,i.Ggd)()-l.start,l.exTime=l[o.Z_]-t,l[o.Km]=function(){}}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),c=function(){function e(t){this.ctx={},(0,r.Z)(e,this,function(e){e.create=function(e,t,n){return new l(e,t,n)},e.fire=function(e){e&&(e[o.Km](),t&&(0,i.mf2)(t[a.C$])&&t[a.C$](e))},e[o.wu]=function(t,n){t&&((e.ctx=e.ctx||{})[t]=n)},e[o.T]=function(t){return(e.ctx||{})[t]}})}return e.__ieDyn=1,e}(),f="CoreUtils.doPerf";function d(e,t,n,r,i){if(e){var c=e;if(c[a.kl]&&(c=c[a.kl]()),c){var d=void 0,h=c[o.T](f);try{if(d=c.create(t(),r,i)){if(h&&d[o.wu]&&(d[o.wu](l[s],h),h[o.T]&&h[o.wu])){var p=h[o.T](l[u]);p||(p=[],h[o.wu](l[u],p)),p[o.MW](d)}return c[o.wu](f,d),n(d)}}catch(e){d&&d[o.wu]&&d[o.wu]("exception",e)}finally{d&&c.fire(d),c[o.wu](f,h)}}}return n()}function h(){return null}},822098:(e,t,n)=>{n.d(t,{Bt:()=>function e(t,n,i){var s=(0,o.o)(n.config),u=p(t,s,n,i),l=u.ctx;return l[a.uL]=function(e){var t=u._next();return t&&t[a.c7](l,e),!t},l[a.zV]=function(t,i){return void 0===t&&(t=null),(0,r.kJL)(t)&&(t=m(t,s.cfg,n,i)),e(t||l[a.Fr](),n,i)},l},CD:()=>v,jV:()=>m,xy:()=>function e(t,n,i){var s=(0,o.o)(n.config),u=p(t,s,n,i).ctx;return u[a.uL]=function(e){return u.iterate(function(t){(0,r.mf2)(t[a.Tu])&&t[a.Tu](u,e)})},u[a.zV]=function(t,i){return void 0===t&&(t=null),(0,r.kJL)(t)&&(t=m(t,s.cfg,n,i)),e(t||u[a.Fr](),n,i)},u}});var r=n(249118),i=n(119909),o=n(210746),a=n(687428),s=n(865246),u=(n(757078),n(996610)),l=n(597107),c=n(13313),f="_hasRun",d="_getTelCtx",h=0;function p(e,t,n,l){var c=null,f=[];t||(t=(0,o.o)({},null,n[a.eZ])),null!==l&&(c=l?function(e,t,n){for(;e;){if(e[a.TO]()===n)return e;e=e[a.Fr]()}return m([n],t.config||{},t)}(e,n,l):e);var d={_next:function(){var e=c;if(c=e?e[a.Fr]():null,!e){var t=f;t&&t[a.R5]>0&&((0,r.tOU)(t,function(e){try{e.func.call(e.self,e.args)}catch(e){(0,s.kP)(n[a.eZ],2,73,"Unexpected Exception during onComplete - "+(0,r.eUe)(e))}}),f=[])}return e},ctx:{core:function(){return n},diagLog:function(){return(0,s.vH)(n,t.cfg)},getCfg:function(){return t.cfg},getExtCfg:function(e,n){var o=h(e,!0);return n&&(0,r.rWU)(n,function(e,n){if((0,r.lep)(o[e])){var a=t.cfg[e];(a||!(0,r.lep)(a))&&(o[e]=a)}(0,i.e)(t,o,e,n)}),t[a.Ag](o,n)},getConfig:function(e,n,i){void 0===i&&(i=!1);var o,a=h(e,!1),s=t.cfg;return a&&(a[n]||!(0,r.lep)(a[n]))?o=a[n]:(s[n]||!(0,r.lep)(s[n]))&&(o=s[n]),o||!(0,r.lep)(o)?o:i},hasNext:function(){return!!c},getNext:function(){return c},setNext:function(e){c=e},iterate:function(e){for(var t;t=d._next();){var n=t[a.TO]();n&&e(n)}},onComplete:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e&&f[a.MW]({func:e,self:(0,r.o8e)(t)?d.ctx:t,args:n})}}};function h(e,n){var r=null,i=t.cfg;if(i&&e){var o=i[u.Zh];!o&&n&&(o={}),i[u.Zh]=o,(o=t.ref(i,u.Zh))&&((r=o[e])||!n||(r={}),o[e]=r,r=t.ref(o,e))}return r}return d}function v(e,t,n,i){var s=(0,o.o)(t),l=p(e,s,n,i),c=l.ctx;return c[a.uL]=function(e){var t=l._next();return t&&t[u.hL](e,c),!t},c[a.zV]=function(e,t){return void 0===e&&(e=null),(0,r.kJL)(e)&&(e=m(e,s.cfg,n,t)),v(e||c[a.Fr](),s.cfg,n,t)},c}function m(e,t,n,i){var o=null,p=!i;if((0,r.kJL)(e)&&e[a.R5]>0){var g=null;(0,r.tOU)(e,function(e){if(p||i!==e||(p=!0),p&&e&&(0,r.mf2)(e[u.hL])){var m=function(e,t,n){var i,o=null,p=(0,r.mf2)(e[u.hL]),m=(0,r.mf2)(e[a.Jd]),g={getPlugin:function(){return e},getNext:function(){return o},processTelemetry:function(i,s){var l;y(s=s||(e&&(0,r.mf2)(e[d])&&(l=e[d]()),l||(l=v(g,t,n)),l),function(t){if(!e||!p)return!1;var n=(0,c.OY)(e);return!n[a.fi]&&!n[u.mE]&&(m&&e[a.Jd](o),e[u.hL](i,t),!0)},"processTelemetry",function(){return{item:i}},!i.sync)||s[a.uL](i)},unload:function(t,n){y(t,function(){var r=!1;if(e){var i=(0,c.OY)(e),o=e[u.oV]||i[u.oV];e&&(!o||o===t.core())&&!i[a.fi]&&(i[u.oV]=null,i[a.fi]=!0,i[a.yl]=!1,e[a.fi]&&!0===e[a.fi](t,n)&&(r=!0))}return r},"unload",function(){},n[a.d])||t[a.uL](n)},update:function(t,n){y(t,function(){var r=!1;if(e){var i=(0,c.OY)(e),o=e[u.oV]||i[u.oV];e&&(!o||o===t.core())&&!i[a.fi]&&e[a.Tu]&&!0===e[a.Tu](t,n)&&(r=!0)}return r},"update",function(){},!1)||t[a.uL](n)},_id:i=e?e[a.pZ]+"-"+e[u.yi]+"-"+h++:"Unknown-0-"+h++,_setNext:function(e){o=e}};function y(t,n,c,d,h){var p=!1,v=e?e[a.pZ]:"TelemetryPluginChain",m=t[f];return m||(m=t[f]={}),t.setNext(o),e&&(0,l.Lm)(t[u.oV](),function(){return v+":"+c},function(){m[i]=!0;try{var e=o?o._id:u.qS;e&&(m[e]=!1),p=n(t)}catch(e){var l=!o||m[o._id];l&&(p=!0),o&&l||(0,s.kP)(t[a.mc](),1,73,"Plugin ["+v+"] failed during "+c+" - "+(0,r.eUe)(e)+", run flags: "+(0,r.eUe)(m))}},d,h),p}return(0,r.FL5)(g)}(e,t,n);o||(o=m),g&&g._setNext(m),g=m}})}return i&&!o?m([i],t,n):o}},839391:(e,t,n)=>{n.d(t,{_l:()=>c,pZ:()=>f});var r=n(249118),i=n(687428),o=n(138934),a=n(996610),s=!1,u=123456789,l=987654321;function c(e){var t,n=0,i=(0,o.MX)()||(0,o.gz)();return i&&i.getRandomValues&&(n=4294967295&i.getRandomValues(new Uint32Array(1))[0]),0===n&&(0,o.w1)()&&(s||function(){try{var e,t=2147483647&(0,r.Ggd)();(e=(4294967296*Math.random()^t)+t)<0&&(e>>>=0),u=123456789+e&4294967295,l=987654321-e&4294967295,s=!0}catch(e){}}(),n=4294967295&(t=(((l=36969*(65535&l)+(l>>16)&4294967295)<<16)+(65535&(u=18e3*(65535&u)+(u>>16)&4294967295))>>>0&4294967295|0)>>>0)),0===n&&(n=Math.floor(4294967296*Math.random()|0)),e||(n>>>=0),n}function f(e){void 0===e&&(e=22);for(var t=c()>>>0,n=0,r=a.qS;r[i.R5]<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(c()<<2&4294967295|3&t)>>>0,n=0);return r}},854730:(e,t,n)=>{n.d(t,{s:()=>h});var r=n(936250),i=n(59813),o=n(249118),a=n(687428),s=n(50242),u=n(865246),l=n(138934),c=n(757078),f="&NoResponseBody=true",d="POST",h=function(){function e(){var t,n,h,p,v,m,g,y,b,_,w,S,x,E=0;(0,r.Z)(e,this,function(e,r){var k=!0;function C(e,t){(0,u.kP)(h,2,26,"Failed to send telemetry.",{message:e}),O(t,400,{})}function A(e){C("No endpoint url is provided for the batch",e)}function O(e,t,n,r){try{e&&e(t,n,r)}catch(e){}}function I(e,t){var n=(0,o.jWD)(),r=e[a.jx];if(!r)return A(t),!0;r=e[a.jx]+(S?f:"");var i=e[a.ob],s=p?i:new Blob([i],{type:"text/plain;charset=UTF-8"});return n.sendBeacon(r,s)}function P(e,t,n){var r=e[a.ob];try{if(r){if(I(e,t))O(t,200,{},"");else{var i=v&&v.beaconOnRetry;i&&(0,o.mf2)(i)?i(e,t,I):(g&&g[a.Jz](e,t,!0),(0,u.kP)(h,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}}catch(e){p&&(0,u.jV)(h,"Failed to send telemetry using sendBeacon API. Ex:"+(0,o.eUe)(e)),O(t,p?0:400,{},"")}}function T(e,n,r){var s,u,l,f=e[a.JA]||{};!r&&t&&(s=(0,i.wv)(function(e,t){u=e,l=t})),p&&r&&e.disableXhrSync&&(r=!1);var h=e[a.jx];if(!h){A(n),u&&u(!1);return}var m=(0,c.ot)(d,h,k,!0,r,e[a.jh]);function g(t){var r=v&&v.xhrOnComplete;if(r&&(0,o.mf2)(r))r(t,n,e);else{var i=(0,c.tV)(t);O(n,t[a.Yz],(0,c.Fz)(t,p),i)}}return p||m[a.tp]("Content-type","application/json"),(0,o.tOU)((0,o.FYL)(f),function(e){m[a.tp](e,f[e])}),m.onreadystatechange=function(){!p&&(g(m),4===m.readyState&&u&&u(!0))},m.onload=function(){p&&g(m)},m.onerror=function(e){O(n,p?m[a.Yz]:400,(0,c.Fz)(m,p),p?"":(0,c.An)(m)),l&&l(e)},m.ontimeout=function(){O(n,p?m[a.Yz]:500,(0,c.Fz)(m,p),p?"":(0,c.An)(m)),u&&u(!1)},m.send(e[a.ob]),s}function R(e,n,r){var u,l,c,h,m=e[a.jx],g=e[a.ob],y=p?g:new Blob([g],{type:"application/json"}),b=new Headers,_=g[a.R5],w=!1,C=!1,I=e[a.JA]||{},P=((u={method:d,body:y})[s.t]=!0,u);e.headers&&(0,o.FYL)(e.headers)[a.R5]>0&&((0,o.tOU)((0,o.FYL)(I),function(e){b.append(e,I[e])}),P[a.JA]=b),k&&p&&(P.credentials="include"),r&&(P.keepalive=!0,E+=_,p?2===e._sendReason&&(w=!0,S&&(m+=f)):w=!0);var T=new Request(m,P);try{T[s.t]=!0}catch(e){}if(!r&&t&&(l=(0,i.wv)(function(e,t){c=e,h=t})),!m){A(n),c&&c(!1);return}function R(e){O(n,p?0:400,{},p?"":e)}function D(e,t,r){var i=e[a.Yz],s=v.fetchOnComplete;s&&(0,o.mf2)(s)?s(e,n,r||"",t):O(n,i,{},r||"")}try{(0,i.Zm)(fetch(p?m:T,p?P:null),function(t){if(r&&(E-=_,_=0),!C){if(C=!0,t.rejected)R(t.reason&&t.reason[a.gU]),h&&h(t.reason);else{var n=t.value;try{p||n.ok?p&&!n.body?(D(n,null,""),c&&c(!0)):(0,i.Zm)(n.text(),function(t){D(n,e,t.value),c&&c(!0)}):(R(n.statusText),c&&c(!1))}catch(e){R((0,o.eUe)(e)),h&&h(e)}}}})}catch(e){!C&&(R((0,o.eUe)(e)),h&&h(e))}return w&&!C&&(C=!0,O(n,200,{}),c&&c(!0)),p&&!C&&e[a.jh]>0&&x&&x.set(function(){!C&&(C=!0,O(n,500,{}),c&&c(!0))},e[a.jh]),l}function D(e,t,n){var r=(0,o.Jj3)(),i=new XDomainRequest,s=e[a.ob];i.onload=function(){var n=(0,c.tV)(i),r=v&&v.xdrOnComplete;r&&(0,o.mf2)(r)?r(i,t,e):O(t,200,{},n)},i.onerror=function(){O(t,400,{},p?"":(0,c.Np)(i))},i.ontimeout=function(){O(t,500,{})},i.onprogress=function(){};var l=r&&r.location&&r.location[a.Po]||"",f=e[a.jx];if(!f){A(t);return}if(!p&&0!==f.lastIndexOf(l,0)){var m="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";(0,u.kP)(h,2,40,". "+m),C(m,t);return}var g=p?f:f[a.i7](/^(https?:)/,"");i.open(d,g),e[a.jh]&&(i[a.jh]=e[a.jh]),i.send(s),p&&n?x&&x.set(function(){i.send(s)},0):i.send(s)}function M(){E=0,n=!1,t=!1,h=null,p=null,v=null,m=null,g=null,y=!1,b=!1,_=!1,w=!1,S=!1,x=null}M(),e[a.VL]=function(t,r){h=r,n&&(0,u.kP)(h,1,28,"Sender is already initialized"),e.SetConfig(t),n=!0},e._getDbgPlgTargets=function(){return[n,p,m,t]},e.SetConfig=function(e){try{if(v=e.senderOnCompleteCallBack||{},m=!!e.disableCredentials,p=!!e.isOneDs,t=!!e.enableSendPromise,y=!!e.disableXhr,b=!!e.disableBeacon,_=!!e.disableBeaconSync,x=e.timeWrapper,S=!!e.addNoResponse,w=!!e.disableFetchKeepAlive,g={sendPOST:T},p||(k=!1),m){var n=(0,l.k$)();n&&n.protocol&&"file:"===n.protocol[a.D7]()&&(k=!1)}return!0}catch(e){}return!1},e.getSyncFetchPayload=function(){return E},e.getSenderInst=function(e,t){return e&&e[a.R5]?function(e,t){for(var n,r=0,i=null,o=0;null==i&&o<e[a.R5];)r=e[o],y||1!==r?2===r&&(0,l.JO)(t)&&(!t||!w)?i=R:3===r&&(0,l.MF)()&&(t?!_:!b)&&(i=P):(0,l.cp)()?i=D:(0,l.Z3)()&&(i=T),o++;return i?((n={_transport:r,_isSync:t})[a.Jz]=i,n):null}(e,t):null},e.getFallbackInst=function(){return g},e[a.F3]=function(e,t){M()}})}return e.__ieDyn=1,e}()},13313:(e,t,n)=>{n.d(t,{AA:()=>f,OY:()=>l,Yn:()=>d,bP:()=>c});var r=n(249118),i=n(687428),o=n(210634),a=n(996610),s=n(205274),u=(0,o.K)("plugin");function l(e){return u.get(e,"state",{},!0)}function c(e,t){for(var n,o=[],s=null,u=e[i.Fr]();u;){var c=u[i.TO]();if(c){s&&s[i.Jd]&&c[a.hL]&&s[i.Jd](c);var f=!!(n=l(c))[i.yl];c[i.yl]&&(f=c[i.yl]()),f||o[i.MW](c),s=c,u=u[i.Fr]()}}(0,r.tOU)(o,function(r){var o=e[a.oV]();r[i.VL](e.getCfg(),o,t,e[i.Fr]()),n=l(r),r[a.oV]||n[a.oV]||(n[a.oV]=o),n[i.yl]=!0,delete n[i.fi]})}function f(e){return e.sort(function(e,t){var n=0;if(t){var r=t[a.hL];e[a.hL]?n=r?e[a.yi]-t[a.yi]:1:r&&(n=-1)}else n=e?1:-1;return n})}function d(e){var t={};return{getName:function(){return t[i.I]},setName:function(n){e&&e.setName(n),t[i.I]=n},getTraceId:function(){return t[i.nY]},setTraceId:function(n){e&&e.setTraceId(n),(0,s.jN)(n)&&(t[i.nY]=n)},getSpanId:function(){return t[i._d]},setSpanId:function(n){e&&e.setSpanId(n),(0,s.Lc)(n)&&(t[i._d]=n)},getTraceFlags:function(){return t[i.T0]},setTraceFlags:function(n){e&&e.setTraceFlags(n),t[i.T0]=n}}}},525989:(e,t,n)=>{n.d(t,{R:()=>f});var r=n(53301),i=n(936250),o=n(249118),a=n(687428),s=n(485836),u=n(865246),l=n(757078),c=n(996610),f=function(e){function t(){var n,r,s=e.call(this)||this;return s.identifier="TelemetryInitializerPlugin",s.priority=199,n=0,r=[],(0,i.Z)(t,s,function(e,t){e.addTelemetryInitializer=function(e){var t,i;return t=r,i={id:n++,fn:e},(0,o.W5k)(t,i),{remove:function(){(0,o.tOU)(t,function(e,n){if(e.id===i.id)return t[a.cb](n,1),-1})}}},e[c.hL]=function(t,n){(function(e,t,n){for(var r=!1,i=e[a.R5],s=0;s<i;++s){var c=e[s];if(c)try{if(!1===c.fn[a.ZV](null,[t])){r=!0;break}}catch(e){(0,u.kP)(n,2,64,"Telemetry initializer failed: "+(0,l.jj)(e),{exception:(0,o.eUe)(e)},!0)}}return!r})(r,t,n?n[a.mc]():e[a.mc]())&&e[a.uL](t,n)},e[a.F3]=function(){n=0,r=[]}}),s}return(0,r.ne)(t,e),t.__ieDyn=1,t}(s.i)},805149:(e,t,n)=>{n.d(t,{Y:()=>a});var r=n(249118),i=n(687428),o=n(865246);function a(){var e=[];return{add:function(t){t&&e[i.MW](t)},run:function(t,n){(0,r.tOU)(e,function(e){try{e(t,n)}catch(e){(0,o.kP)(t[i.mc](),2,73,"Unexpected error calling unload handler - "+(0,r.eUe)(e))}}),e=[]}}}},54499:(e,t,n)=>{n.d(t,{t:()=>u});var r,i,o=n(249118),a=n(687428),s=n(865246);function u(){var e=[];return{run:function(t){var n=e;e=[],(0,o.tOU)(n,function(e){try{(e.rm||e.remove).call(e)}catch(e){(0,s.kP)(t,2,73,"Unloading:"+(0,o.eUe)(e))}}),r&&n[a.R5]>r&&(i?i("doUnload",n):(0,s.kP)(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected."))},add:function(t){t&&((0,o.W5k)(e,t),r&&e[a.R5]>r&&(i?i("Add",e):(0,s.kP)(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected.")))}}}},205274:(e,t,n)=>{n.d(t,{Lc:()=>a,jN:()=>o});var r=n(687428);function i(e,t,n){return!!e&&e[r.R5]===t&&e!==n&&!!e.match(/^[\da-f]*$/i)}function o(e){return i(e,32,"00000000000000000000000000000000")}function a(e){return i(e,16,"0000000000000000")}},687428:(e,t,n)=>{n.d(t,{Ag:()=>c,D7:()=>r,DI:()=>f,F3:()=>q,Fc:()=>D,Fr:()=>V,Gc:()=>U,Hp:()=>m,I:()=>C,JA:()=>ef,Jd:()=>K,Jz:()=>ec,KW:()=>L,Km:()=>es,Kn:()=>X,LS:()=>T,MW:()=>p,P6:()=>Y,PA:()=>M,PL:()=>er,Po:()=>Z,QQ:()=>eu,R5:()=>o,SG:()=>g,T:()=>eo,T0:()=>em,T1:()=>k,TO:()=>E,Tu:()=>$,VL:()=>y,Yz:()=>ee,ZV:()=>h,Z_:()=>A,_d:()=>ev,aV:()=>a,c7:()=>R,cb:()=>v,d:()=>F,eZ:()=>d,fi:()=>j,fs:()=>I,g:()=>w,gU:()=>B,i7:()=>J,jP:()=>P,jW:()=>s,jh:()=>ed,jk:()=>Q,jx:()=>el,l8:()=>en,mc:()=>W,nG:()=>_,nY:()=>ep,ob:()=>ei,pQ:()=>u,pZ:()=>b,qV:()=>H,rb:()=>et,tb:()=>x,tp:()=>eh,uL:()=>O,v1:()=>l,vd:()=>i,w6:()=>z,wu:()=>ea,xv:()=>G,yl:()=>S,zV:()=>N});var r="toLowerCase",i="blkVal",o="length",a="rdOnly",s="notify",u="warnToConsole",l="throwInternal",c="setDf",f="watch",d="logger",h="apply",p="push",v="splice",m="hdlr",g="cancel",y="initialize",b="identifier",_="removeNotificationListener",w="addNotificationListener",S="isInitialized",x="getNotifyMgr",E="getPlugin",k="pollInternalLogs",C="name",A="time",O="processNext",I="getProcessTelContext",P="enabled",T="stopPollingInternalLogs",R="unload",D="onComplete",M="version",L="loggingLevelConsole",N="createNew",j="teardown",U="messageId",B="message",F="isAsync",W="diagLog",q="_doTeardown",$="update",V="getNext",K="setNextPlugin",Z="protocol",H="userAgent",z="split",G="nodeType",J="replace",Q="logInternalMessage",Y="type",X="handler",ee="status",et="getResponseHeader",en="getAllResponseHeaders",er="isChildEvt",ei="data",eo="getCtx",ea="setCtx",es="complete",eu="itemsReceived",el="urlString",ec="sendPOST",ef="headers",ed="timeout",eh="setRequestHeader",ep="traceId",ev="spanId",em="traceFlags"},530754:(e,t,n)=>{n.d(t,{Pw:()=>s,V4:()=>u,cb:()=>r,fK:()=>i,hB:()=>a,jA:()=>o});var r="function",i="object",o="undefined",a="prototype",s=Object,u=s[a]},53301:(e,t,n)=>{n.d(t,{$h:()=>s,ne:()=>a});var r=n(249118),i=n(530754),o=(((0,r.Rdr)()||{}).Symbol,((0,r.Rdr)()||{}).Reflect,function(e,t){return(o=i.Pw.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)});function a(e,t){function n(){this.constructor=e}typeof t!==i.cb&&null!==t&&(0,r.ZU2)("Class extends value "+String(t)+" is not a constructor or null"),o(e,t),e[i.hB]=null===t?(0,r.rkD)(t):(n[i.hB]=t[i.hB],new n)}function s(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}},936250:(e,t,n)=>{n.d(t,{Z:()=>D});var r,i=n(249118),o="constructor",a="prototype",s="function",u="_dynInstFuncs",l="_isDynProxy",c="_dynClass",f="_dynInstChk",d="_dfOpts",h="_unknown_",p="__proto__",v="_dyn"+p,m="__dynProto$Gbl",g="_dynInstProto",y="useBaseInst",b="setInstFuncs",_=Object,w=_.getPrototypeOf,S=_.getOwnPropertyNames,x=(0,i.Rdr)(),E=x[m]||(x[m]={o:((r={})[b]=!0,r[y]=!0,r),n:1e3});function k(e){return e&&(e===_[a]||e===Array[a])}function C(e){return k(e)||e===Function[a]}function A(e){var t;if(e){if(w)return w(e);var n=e[p]||e[a]||(e[o]?e[o][a]:null);t=e[v]||n,(0,i.aE6)(e,v)||(delete e[g],t=e[v]=e[g]||e[v],e[g]=n)}return t}function O(e,t){var n=[];if(S)n=S(e);else for(var r in e)"string"==typeof r&&(0,i.aE6)(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function I(e,t,n){return t!==o&&typeof e[t]===s&&(n||(0,i.aE6)(e,t))&&t!==p&&t!==a}function P(e){(0,i.ZU2)("DynamicProto: "+e)}function T(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function R(e,t){return(0,i.aE6)(e,a)?e.name||t||h:((e||{})[o]||{}).name||t||h}function D(e,t,n,r){(0,i.aE6)(e,a)||P("theClass is an invalid class definition.");var o,h=e[a];!function(e,t){if(w){for(var n=[],r=A(t);r&&!C(r)&&!T(n,r);){if(r===e)return!0;n.push(r),r=A(r)}return!1}return!0}(h,t)&&P("["+R(e)+"] not in hierarchy of ["+R(t)+"]");var p=null;(0,i.aE6)(h,c)?p=h[c]:(p="_dynCls$"+R(e,"_")+"$"+E.n,E.n++,h[c]=p);var v=D[d],m=!!v[y];m&&r&&void 0!==r[y]&&(m=!!r[y]);var g=(o=(0,i.rkD)(null),O(t,function(e){!o[e]&&I(t,e,!1)&&(o[e]=t[e])}),o),_=function(e,t,n,r){function o(e,t,n){var i=t[n];if(i[l]&&r){var o=e[u]||{};!1!==o[f]&&(i=(o[t[c]]||{})[n]||i)}return function(){return i.apply(e,arguments)}}var a=(0,i.rkD)(null);O(n,function(e){a[e]=o(t,n,e)});for(var s=A(e),d=[];s&&!C(s)&&!T(d,s);)O(s,function(e){!a[e]&&I(s,e,!w)&&(a[e]=o(t,s,e))}),d.push(s),s=A(s);return a}(h,t,g,m);n(t,_);var S=!!w&&!!v[b];S&&r&&(S=!!r[b]),function(e,t,n,r,o){if(!k(e)){var a=n[u]=n[u]||(0,i.rkD)(null);if(!k(a)){var d=a[t]=a[t]||(0,i.rkD)(null);!1!==a[f]&&(a[f]=!!o),k(d)||O(n,function(t){if(I(n,t,!1)&&n[t]!==r[t]&&(d[t]=n[t],delete n[t],!(0,i.aE6)(e,t)||e[t]&&!e[t][l])){var o;e[t]=((o=function(){var n,r;return((function(e,t,n,r){var o=null;if(e&&(0,i.aE6)(n,c)){var a=e[u]||(0,i.rkD)(null);if((o=(a[n[c]]||(0,i.rkD)(null))[t])||P("Missing ["+t+"] "+s),!o[f]&&!1!==a[f]){for(var l=!(0,i.aE6)(e,t),d=A(e),h=[];l&&d&&!C(d)&&!T(h,d);){var p=d[t];if(p){l=p===r;break}h.push(d),d=A(d)}try{l&&(e[t]=o),o[f]=1}catch(e){a[f]=!1}}}return o})(this,t,e,o)||(n=o,(r=e[t])===n&&(r=A(e)[t]),typeof r!==s&&P("["+t+"] is not a "+s),r)).apply(this,arguments)})[l]=1,o)}})}}}(h,p,t,g,!1!==S)}D[d]=E.o},59813:(e,t,n)=>{n.d(t,{Fo:()=>T,PC:()=>I,Tp:()=>j,Zm:()=>m,cH:()=>R,mm:()=>P,rZ:()=>Z,wv:()=>N,xR:()=>g});var r,i,o,a,s,u,l,c,f,d,h=n(249118),p="Promise",v="rejected";function m(e,t){return g(e,function(e){return t?t({status:"fulfilled",rejected:!1,value:e}):e},function(e){return t?t({status:v,rejected:!0,reason:e}):e})}function g(e,t,n,r){var i,o,a,s=e;try{if((0,h.y8_)(e))(t||n)&&(s=e.then(t,n));else try{t&&(s=t(e))}catch(e){if(n)s=n(e);else throw e}}finally{r&&(i=s,o=r,a=i,o&&((0,h.y8_)(i)?i.finally?i.finally(o):i.then(function(e){return o(),e},function(e){throw o(),e}):o()))}return s}var y=["pending","resolving","resolved",v],b="dispatchEvent";function _(e){var t;return e&&e.createEvent&&(t=e.createEvent("Event")),!!t&&t.initEvent}var w="unhandledRejection",S=w.toLowerCase(),x=[],E=0;function k(e){return(0,h.mf2)(e)?e.toString():(0,h.eUe)(e)}function C(e,t,n){var r,i,a=(0,h.K7g)(arguments,3),u=0,l=!1,c=[],f=E++,d=(x.length>0&&x[x.length-1],!1),v=null;function m(t,n){try{return x.push(f),d=!0,v&&v.cancel(),v=null,e(function(e,i){c.push(function(){try{var o=2===u?t:n,a=(0,h.o8e)(o)?r:(0,h.mf2)(o)?o(r):o;(0,h.y8_)(a)?a.then(e,i):o?e(a):3===u?i(a):e(a)}catch(e){i(e)}}),l&&C()},a)}finally{x.pop()}}function g(){return y[u]}function C(){if(c.length>0){var e=c.slice();c=[],d=!0,v&&v.cancel(),v=null,t(e)}}function A(e,t){return function(n){if(u===t){if(2===e&&(0,h.y8_)(n)){u=1,n.then(A(2,1),A(3,1));return}u=e,l=!0,r=n,C(),d||3!==e||v||(v=(0,h.tXR)(O,10))}}}function O(){if(!d){if(d=!0,(0,h.UGU)())process.emit(w,r,i);else{var e=(0,h.Jj3)()||(0,h.Rdr)();s||(s=(0,h.mPP)((0,h.TwK)(h.vsb,[p+"RejectionEvent"]).v)),function(e,t,n,r){var i=(0,h.MeC)();o||(o=(0,h.mPP)(!!(0,h.TwK)(_,[i]).v));var a=o.v?i.createEvent("Event"):r?new Event(t):{};if(n&&n(a),o.v&&a.initEvent(t,!1,!0),a&&e[b])e[b](a);else{var s=e["on"+t];if(s)s(a);else{var u=(0,h.vsb)("console");u&&(u.error||u.log)(t,(0,h.eUe)(a))}}}(e,S,function(e){return(0,h.g$V)(e,"promise",{g:function(){return i}}),e.reason=r,e},!!s.v)}}}return i={then:m,catch:function(e){return m(void 0,e)},finally:function(e){var t=e,n=e;return(0,h.mf2)(e)&&(t=function(t){return e&&e(),t},n=function(t){throw e&&e(),t}),m(t,n)}},(0,h.iUz)(i,"state",{get:g}),(0,h.xBc)()&&(i[(0,h.Wb9)(11)]="IPromise"),i.toString=function(){return"IPromise "+g()+(l?" - "+k(r):"")},function(){(0,h.mf2)(n)||(0,h.ZU2)(p+": executor is not a function - "+k(n));var e=A(3,0);try{n.call(i,A(2,0),e)}catch(t){e(t)}}(),i}function A(e){return function(t){var n=(0,h.K7g)(arguments,1);return e(function(e,n){try{var r=[],i=1;(0,h.lbl)(t,function(t,o){t&&(i++,g(t,function(t){r[o]=t,0==--i&&e(r)},n))}),i--,0===i&&e(r)}catch(e){n(e)}},n)}}function O(e){(0,h.tOU)(e,function(e){try{e()}catch(e){}})}function I(e,t){var n;return C(I,(n=(0,h.hj$)(t)?t:0,function(e){(0,h.tXR)(function(){O(e)},n)}),e,t)}var P=A(I),T=(r=I,function(e){var t=(0,h.K7g)(arguments,1);return(0,h.y8_)(e)?e:r(function(t){t(e)},t)}),R=(i=I,function(e){var t=(0,h.K7g)(arguments,1);return i(function(t,n){n(e)},t)});function D(e,t){u||(u=(0,h.mPP)((0,h.TwK)(h.vsb,[p]).v||null));var n=u.v;if(!n)return I(e);(0,h.mf2)(e)||(0,h.ZU2)(p+": executor is not a function - "+(0,h.eUe)(e));var r=0,i=new n(function(t,n){e(function(e){r=2,t(e)},function(e){r=3,n(e)})});return(0,h.iUz)(i,"state",{get:function(){return y[r]}}),i}function M(e){return C(M,O,e)}function L(e,t){var n,r=isUndefined(t)?l:t;return C(L,(r>=0&&(n={timeout:+r}),function(e){scheduleIdleCallback(function(t){O(e)},n)}),e,r)}function N(e,t){return c||(c=(0,h.mPP)(D)),c.v.call(this,e,t)}var j=A(N),U="reject",B="Rejected",F=0,W={};function q(){}function $(e,t,n){W[e]||(W[e]=(0,h.cHs)(e));var r=(0,h.Ggd)();return new W[e]("Task [".concat(t.id,"] ").concat(n||"","- ").concat(t.st?"Running":"Waiting",": ").concat((r-(t.st||t.cr)||"0")+" ms"))}function V(e,t){var n=(0,h.Ggd)()-t;(0,h.tOU)(e,function(e){(e&&!e.rj&&e.st&&e.st<n||!e.st&&e.cr&&e.cr<n)&&e&&e[U](e.rj||$("Aborted",e,"Stale "))})}function K(e,t){var n=(0,h.UAM)(e,t);-1!==n&&e.splice(n,1)}function Z(e,t){var n,r,i,o,a=[],s=[],u=6e5,l=6e4,c=0,p=(t?t+".":"")+F++;e=e||N;var v=function(){var e=(0,h.xAH)(a)+(0,h.xAH)(s)>0;u>0&&(o||(o=(0,h.tXR)(function(){V(a,u),V(s,u),o&&(o.enabled=(0,h.xAH)(a)+(0,h.xAH)(s)>0)},l)).unref(),o&&(o.enabled=e))},y=function(e,t){return e.st=(0,h.Ggd)(),a.push(e),v(),function(n,r){var i=function(t){e.rj=e.rj||t||$(B,e),e[U]=q,b(e),n=null,r&&r(t),r=null},o=e.id;if(e.rj)i(e.rj);else{e[U]=i;try{var a=t(o);e.to&&(0,h.y8_)(a)&&(e.t=(0,h.tXR)(function(){i($("Timeout",e))},e.to)),g(a,function(t){b(e);try{n&&n(t)}catch(e){r&&r(e)}r=null,n=null},i)}catch(e){i(e)}}}},b=function(e){K(a,e),e.t&&e.t.cancel(),e.t=null,i&&i===e&&(i=null,(0,h.xAH)(a)+(0,h.xAH)(s)===0&&(o&&o.cancel(),o=null))},_={idle:!0,queue:function(t,n,r){var o,a,u=p+"."+c++;n&&(u+="-("+n+")");var l=((a={id:u,cr:(0,h.Ggd)(),to:r})[U]=function(e){l.rj=e||$(B,l),l[U]=q},a);return i?l.p=(o=i,s.push(l),v(),e(function(e,n){m(o.p,function(){K(s,l),y(l,t)(e,n)})})):l.p=e(y(l,t)),i=l,l.p},setStaleTimeout:function(e,t){o&&o.cancel(),o=null,u=e,l=t||e/10,v()}};return(0,h.g$V)(_,"idle",{g:function(){return(0,h.xAH)(a)+(0,h.xAH)(s)===0}}),n=function(){return p},r=function(){return{l:i,r:a,w:s}},f=f||{toString:function(){return"[[SchedulerName]]"}},d=d||{toString:function(){return"[[SchedulerState]]"}},(0,h.iUz)(_,f,{get:n}),(0,h.iUz)(_,d,{get:r}),_}(0,h.Wb9)(11)},249118:(e,t,n)=>{n.d(t,{$KD:()=>J,$S8:()=>eS,FL5:()=>e_,FYL:()=>ey,Ggd:()=>tc,HD0:()=>Q,HMQ:()=>eF,Hef:()=>eb,IdH:()=>tw,Jj3:()=>eX,Jjf:()=>t_,K7g:()=>to,Kn2:()=>X,MLb:()=>tS,MeC:()=>eQ,MuE:()=>H,Nvg:()=>eJ,Oz1:()=>ex,POo:()=>td,Rdr:()=>ez,Sn2:()=>es,TwK:()=>V,UAM:()=>ti,UGU:()=>e2,VZO:()=>ei,W5k:()=>tn,Wb9:()=>e4,XCJ:()=>ed,Ymo:()=>eY,ZBL:()=>ty,ZU2:()=>ev,_HB:()=>tO,_w8:()=>tI,_yM:()=>ep,aE6:()=>eu,cHs:()=>tl,d$o:()=>eV,d6F:()=>e0,dvW:()=>e9,eML:()=>e6,eUe:()=>eh,fQg:()=>ea,g$V:()=>eW,hj$:()=>en,iUz:()=>eB,jWD:()=>e1,jnD:()=>er,k4L:()=>eR,kJL:()=>ee,lH9:()=>eM,lbl:()=>te,lep:()=>G,mPP:()=>eK,mf2:()=>Y,nTQ:()=>eq,ndY:()=>tf,o8e:()=>z,rWU:()=>ec,rkD:()=>ta,s1E:()=>eD,tOU:()=>tr,tXR:()=>tA,vsb:()=>eG,wj3:()=>el,xAH:()=>tb,xBc:()=>e5,xee:()=>tx,y8_:()=>eo,z$C:()=>eg});var r,i,o,a,s,u,l,c,f,d,h,p,v,m,g,y,b,_,w,S,x,E,k=void 0,C="function",A="object",O="prototype",I="__proto__",P="undefined",T="constructor",R="Symbol",D="length",M="name",L="call",N="toString",j=Object||void 0,U=j[O],B=String||void 0,F=B[O],W=Array||void 0,q=W[O],$=q.slice;function V(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function K(e){return function(t){return typeof t===e}}function Z(e){var t="[object "+e+"]";return function(e){return!!(e&&H(e)===t)}}function H(e){return U[N].call(e)}function z(e){return typeof e===P||e===P}function G(e){return null===e||z(e)}function J(e){return!!e||e!==k}var Q=K("string"),Y=K(C);function X(e){return!(!e&&G(e))&&!!e&&typeof e===A}var ee=W.isArray,et=Z("Date"),en=K("number"),er=K("boolean"),ei=Z("Error");function eo(e){return!!(e&&e.then&&Y(e.then))}function ea(e){var t,n,r;return!(!e||(t=function(){return!(e&&0+e)},n=!e,(r=V(t)).e?n:r.v))}var es=j.getOwnPropertyDescriptor;function eu(e,t){return!!e&&U.hasOwnProperty[L](e,t)}var el=(r=j.hasOwn,i=function(e,t){return eu(e,t)||!!es(e,t)},r||i);function ec(e,t,n){if(e&&X(e)){for(var r in e)if(el(e,r)&&-1===t[L](n||e,r,e[r]))break}}function ef(e,t,n,r){var i={};return ec(e,function(e,r){i[e]=t?r:e,i[r]=n?r:e}),r(i)}var ed=B||void 0;function eh(e,t){var n="",r=U[N][L](e);"[object Error]"===r&&(e={stack:ed(e.stack),message:ed(e.message),name:ed(e.name)});try{n=(n=JSON.stringify(e,null,t?"number"==typeof t?t:4:k))&&n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||ed(e)}catch(e){n=" - "+eh(e,t)}return r+": "+n}function ep(e){throw Error(e)}function ev(e){throw TypeError(e)}var em=j.freeze,eg=j.assign,ey=j.keys;function eb(e){return em&&ec(e,function(e,t){(ee(t)||X(t))&&em(t)}),e_(e)}var e_=(o=function(e){return e},em||o),ew=(a=j.getPrototypeOf,s=function(e){return e[I]||null},a||s);function eS(e){return ef(e,1,0,eb)}function ex(e){var t;return t={},ec(e,function(e,n){t[e]=n[1],t[n[0]]=n[1]}),eb(t)}var eE=ef({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12},0,0,eb),ek="__tsUtils$gblCfg";function eC(){var e;return typeof globalThis!==P&&(e=globalThis),e||typeof self===P||(e=self),e||typeof window===P||(e=window),e||typeof n.g===P||(e=n.g),e}function eA(){if(!d){var e=V(eC).v||{};d=e[ek]=e[ek]||{}}return d}var eO=eI;function eI(e,t,n){var r=t&&t[e];return function(t){var i=t&&t[e]||r;if(i||n){var o=arguments;return(i||n).apply(t,i?$[L](o,1):o)}ev('"'+ed(e)+'" not defined for '+eh(t))}}var eP=(Math||void 0).max,eT=eO("slice",F),eR=eO("substring",F),eD=eI("substr",F,function(e,t,n){return(G(e)&&ev("Invalid "+eh(e)),n<0)?"":((t=t||0)<0&&(t=eP(t+e[D],0)),z(n))?eT(e,t):eT(e,t,t+n)});function eM(e,t){return eR(e,0,t)}var eL="_urid";function eN(e){var t={description:ed(e),toString:function(){return R+"("+e+")"}};return t._polyfill=!0,t}var ej={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function eU(e){var t={};if(t[ej.c]=!0,t[ej.e]=!0,e.l){t.get=function(){return e.l.v};var n=es(e.l,"v");n&&n.set&&(t.set=function(t){e.l.v=t})}return ec(e,function(e,n){t[ej[e]]=z(n)?t[ej[e]]:n}),t}var eB=j.defineProperty,eF=j.defineProperties;function eW(e,t,n){return eB(e,t,eU(n))}function eq(e,t){var n={};return ec(t,function(e,t){n[e]=eU(t)}),eF(e,n)}function e$(){v=eA()}function eV(e){var t={};return v||e$(),t.b=v.lzy,eB(t,"v",{configurable:!0,get:function(){var n=e();return v.lzy||eB(t,"v",{value:n}),t.b=v.lzy,n}}),t}function eK(e){return eB({toJSON:function(){return e}},"v",{value:e})}var eZ="window";function eH(e,t){var n;return function(){return v||e$(),(!n||v.lzy)&&(n=eK(V(e,t).v)),n.v}}function ez(e){return v||e$(),(!m||!1===e||v.lzy)&&(m=eK(V(eC).v||null)),m.v}function eG(e,t){var n=m&&!1!==t?m.v:ez(t);return n&&n[e]?n[e]:e===eZ?eX():null}function eJ(){return!!eQ()}var eQ=eH(eG,["document"]);function eY(){return!!eX()}var eX=eH(eG,[eZ]);function e0(){return!!e1()}var e1=eH(eG,["navigator"]),e2=eH(function(){return!!V(function(){return process&&(process.versions||{}).node}).v});function e3(){return g=eK(V(eG,[R]).v)}function e8(e){var t=(v.lzy?0:g)||e3();return t.v?t.v[e]:k}function e5(){return v||e$(),!!((v.lzy?0:g)||e3()).v}function e4(e,t){var n,r,i=eE[e];v||e$();var o=(v.lzy?0:g)||e3();return o.v?o.v[i||e]:t?k:(p||(p={}),(r=eE[e])&&(n=p[r]=p[r]||eN(R+"."+r)),n)}function e6(e,t){v||e$();var n=(v.lzy?0:g)||e3();return n.v?n.v(e):t?null:eN(e)}function e9(e){return v||e$(),((y=(v.lzy?0:y)||eK(V(e8,["for"]).v)).v||function(e){var t=function(){if(!h){var e=eA();h=e.gblSym=e.gblSym||{k:{},s:{}}}return h}();if(!el(t.k,e)){var n=eN(e),r=ey(t.s).length;n[eL]=function(){return r+"_"+n[N]()},t.k[e]=n,t.s[n[eL]()]=ed(e)}return t.k[e]})(e)}function e7(e){return!!e&&Y(e.next)}function te(e,t,n){if(e&&(e7(e)||(b||(b=eK(e4(3))),e=e[b.v]?e[b.v]():null),e7(e))){var r=k,i=k;try{for(var o=0;!(i=e.next()).done&&-1!==t[L](n||e,i.value,o,e);)o++}catch(t){r={e:t},e.throw&&(i=null,e.throw(r))}finally{try{i&&!i.done&&e.return&&e.return(i)}finally{if(r)throw r.e}}}}function tt(e,t,n){return e.apply(t,n)}function tn(e,t){return!z(t)&&e&&(ee(t)?tt(e.push,e,t):e7(t)||!(null===t||!J(t))&&Y(t[e4(3)])?te(t,function(t){e.push(t)}):e.push(t)),e}function tr(e,t,n){if(e)for(var r=e[D]>>>0,i=0;i<r&&(!(i in e)||-1!==t[L](n||e,e[i],i,e));i++);}var ti=eO("indexOf",q);function to(e,t,n){return(e&&e.slice||$).apply(e,$[L](arguments,1))}var ta=(u=j.create,l=function(e){if(!e)return{};var t=typeof e;function n(){}return t!==A&&t!==C&&ev("Prototype must be an Object or function: "+eh(e)),n[O]=e,new n},u||l);function ts(e,t){return(j.setPrototypeOf||function(e,t){var n;_||(_=eK(((n={})[I]=[],n instanceof Array))),_.v?e[I]=t:ec(t,function(t,n){return e[t]=n})})(e,t)}function tu(e,t){t&&(e[M]=t)}function tl(e,t,n){var r=n||Error,i=r[O][M],o=Error.captureStackTrace;return function(e,t,n){function r(){this[T]=t,V(eW,[this,M,{v:e,c:!0,e:!1}])}return V(eW,[t,M,{v:e,c:!0,e:!1}]),(t=ts(t,n))[O]=null===n?ta(n):(r[O]=n[O],new r),t}(e,function(){var n=arguments;try{V(tu,[r,e]);var a=tt(r,this,$[L](n))||this;if(a!==this){var s=ew(this);s!==ew(a)&&ts(a,s)}return o&&o(a,this[T]),t&&t(a,n),a}finally{V(tu,[r,i])}},r)}function tc(){return(Date.now||function(){return new Date().getTime()})()}var tf=eI("trim",F,(c=/^\s+|(?=\s)\s+$/g,function(e){return G(e)&&ev("strTrim called ["+eh(e)+"]"),e&&e.replace&&(e=e.replace(c,"")),e}));function td(e){if(!e||typeof e!==A)return!1;x||(x=!eY()||eX());var t=!1;if(e!==x){S||(S=(w=Function[O][N])[L](j));try{var n=ew(e);(t=!n)||(eu(n,T)&&(n=n[T]),t=n&&typeof n===C&&w[L](n)===S)}catch(e){}}return t}function th(e){return e.value&&tg(e),!0}var tp=[function(e){var t=e.value;if(ee(t)){var n=e.result=[];return n.length=t.length,e.copyTo(n,t),!0}return!1},tg,function(e){return e.type===C},function(e){var t=e.value;return!!et(t)&&(e.result=new Date(t.getTime()),!0)}];function tv(e,t,n,r){var i,o,a=n.handler,s=n.path?r?n.path.concat(r):n.path:[],u={handler:n.handler,src:n.src,path:s},l=typeof t,c=!1,d=!1;t&&l===A?c=td(t):d=null===t||(f||(f=["string","number","boolean",P,"symbol","bigint"]),l!==A&&-1!==f.indexOf(l));var h={type:l,isPrim:d,isPlain:c,value:t,result:t,path:s,origin:n.src,copy:function(t,r){return tv(e,t,r?u:n,r)},copyTo:function(t,n){return tm(e,t,n,u)}};return h.isPrim?a&&a[L](n,h)?h.result:t:(i=function(e){eW(h,"result",{g:function(){return e.v},s:function(t){e.v=t}});for(var t=0,r=a;!(r||(t<tp.length?tp[t++]:th))[L](n,h);)r=null},tr(e,function(e){if(e.k===t)return o=e,-1}),o||(o={k:t,v:t},e.push(o),i(o)),o.v)}function tm(e,t,n,r){if(!G(n))for(var i in n)t[i]=tv(e,n[i],r,i);return t}function tg(e){var t=e.value;if(t&&e.isPlain){var n=e.result={};return e.copyTo(n,t),!0}return!1}function ty(e,t,n,r,i,o,a){var s,u;return s=tv([],e,{handler:void 0,src:e})||{},u=$[L](arguments),tr(u,function(e){tm([],s,e,{handler:void 0,src:e,path:[]})}),s}var tb=function(e){return e[D]};function t_(){var e=(v||e$(),(!E||v.lzy)&&(E=eK(V(eG,["performance"]).v)),E.v);return e&&e.now?e.now():tc()}var tw=eI("endsWith",F,function(e,t,n){Q(e)||ev("'"+eh(e)+"' is not a string");var r=Q(t)?t:ed(t),i=!z(n)&&n<e[D]?n:e[D];return eR(e,i-r[D],i)===r}),tS=eO("indexOf",F),tx=eI("startsWith",F,function(e,t,n){Q(e)||ev("'"+eh(e)+"' is not a string");var r=Q(t)?t:ed(t),i=n>0?n:0;return eR(e,i,i+r[D])===r}),tE="unref",tk="hasRef";function tC(e,t,n){var r=ee(t),i=r?t.length:0,o=(i>0?t[0]:r?k:t)||setTimeout,a=(i>1?t[1]:k)||clearTimeout,s=n[0];n[0]=function(){u.dn(),tt(s,k,$[L](arguments))};var u=function(e,t,n){var r,i=!0,o=e?t(null):null;function a(){return i=!1,o&&o[tE]&&o[tE](),r}function s(){o&&n(o),o=null}function u(){return o=t(o),i||a(),r}return(r={cancel:s,refresh:u})[tk]=function(){return o&&o[tk]?o[tk]():i},r.ref=function(){return i=!0,o&&o.ref&&o.ref(),r},r[tE]=a,{h:r=eB(r,"enabled",{get:function(){return!!o},set:function(e){!e&&o&&s(),e&&!o&&u()}}),dn:function(){o=null}}}(e,function(e){if(e){if(e.refresh)return e.refresh(),e;tt(a,k,[e])}return tt(o,k,n)},function(e){tt(a,k,[e])});return u.h}function tA(e,t){return tC(!0,k,$[L](arguments))}function tO(e,t,n){return tC(!0,e,$[L](arguments,1))}function tI(e,t){return tC(!1,k,$[L](arguments))}},787012:(e,t,n)=>{function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.r(t),n.d(t,{$mobx:()=>ee,FlowCancellationError:()=>tX,ObservableMap:()=>n$,ObservableSet:()=>nZ,Reaction:()=>tw,_allowStateChanges:()=>eX,_allowStateChangesInsideComputed:()=>tU,_allowStateReadsEnd:()=>ta,_allowStateReadsStart:()=>to,_autoAction:()=>tj,_endAction:()=>eY,_getAdministration:()=>re,_getGlobalState:()=>th,_interceptReads:()=>t6,_isComputingDerivation:()=>e7,_resetGlobalState:()=>tp,_startAction:()=>eQ,action:()=>tN,autorun:()=>tF,comparer:()=>ei,computed:()=>eV,configure:()=>tz,createAtom:()=>er,defineProperty:()=>nf,entries:()=>ns,extendObservable:()=>tG,flow:()=>t3,flowResult:()=>t5,get:()=>nc,getAtom:()=>n7,getDebugName:()=>rt,getDependencyTree:()=>tJ,getObserverTree:()=>tQ,has:()=>nl,intercept:()=>t9,isAction:()=>tB,isBoxedObservable:()=>e3,isComputed:()=>ne,isComputedProp:()=>nt,isFlow:()=>t4,isFlowCancellationError:()=>t0,isObservable:()=>nr,isObservableArray:()=>nF,isObservableMap:()=>nV,isObservableObject:()=>n0,isObservableProp:()=>ni,isObservableSet:()=>nH,keys:()=>no,makeAutoObservable:()=>nI,makeObservable:()=>nA,observable:()=>eF,observe:()=>nh,onBecomeObserved:()=>tV,onBecomeUnobserved:()=>tK,onReactionError:()=>tS,override:()=>eu,ownKeys:()=>nd,reaction:()=>t$,remove:()=>nu,runInAction:()=>tU,set:()=>function e(t,n,i){if(2==arguments.length&&!nH(t)){tg();var o=n;try{for(var a in o)e(t,a,o[a])}finally{ty()}return}n0(t)?t[ee].set_(n,i):nV(t)?t.set(n,i):nH(t)?t.add(n):nF(t)?("number"!=typeof n&&(n=parseInt(n,10)),n<0&&r("Invalid index: '"+n+"'"),tg(),n>=t.length&&(t.length=n+1),t[n]=i,ty()):r(8)},spy:()=>tA,toJS:()=>nv,trace:()=>nm,transaction:()=>ng,untracked:()=>tn,values:()=>na,when:()=>ny});var i,o,a,s,u,l,c,f,d,h,p={};function v(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:p}var m=Object.assign,g=Object.getOwnPropertyDescriptor,y=Object.defineProperty,b=Object.prototype,_=[];Object.freeze(_);var w={};Object.freeze(w);var S="undefined"!=typeof Proxy,x=Object.toString();function E(){S||r("Proxy not available")}function k(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var C=function(){};function A(e){return"function"==typeof e}function O(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function I(e){return null!==e&&"object"==typeof e}function P(e){if(!I(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===x}function T(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function R(e,t,n){y(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function D(e,t,n){y(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function M(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return I(e)&&!0===e[n]}}function L(e){return e instanceof Map}function N(e){return e instanceof Set}var j=void 0!==Object.getOwnPropertySymbols,U="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:j?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function B(e){return null===e?null:"object"==typeof e?""+e:e}function F(e,t){return b.hasOwnProperty.call(e,t)}var W=Object.getOwnPropertyDescriptors||function(e){var t={};return U(e).forEach(function(n){t[n]=g(e,n)}),t};function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r.key),r)}}function $(e,t,n){return t&&q(e.prototype,t),n&&q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function K(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Z(e,t)}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function H(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function G(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return z(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J=Symbol("mobx-stored-annotations");function Q(e){return Object.assign(function(t,n){if(X(n))return e.decorate_20223_(t,n);Y(t,n,e)},e)}function Y(e,t,n){F(e,J)||R(e,J,V({},e[J])),n.annotationType_===es||(e[J][t]=n)}function X(e){return"object"==typeof e&&"string"==typeof e.kind}var ee=Symbol("mobx administration"),et=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=u.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return tb(this)},t.reportChanged=function(){tg(),t_(this),ty()},t.toString=function(){return this.name_},e}(),en=M("Atom",et);function er(e,t,n){void 0===t&&(t=C),void 0===n&&(n=C);var r=new et(e);return t!==C&&tV(r,t),n!==C&&tK(r,n),r}var ei={identity:function(e,t){return e===t},structural:function(e,t){return ri(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return ri(e,t,1)}};function eo(e,t,n){return nn(e)?e:Array.isArray(e)?eF.array(e,{name:n}):P(e)?eF.object(e,void 0,{name:n}):L(e)?eF.map(e,{name:n}):N(e)?eF.set(e,{name:n}):"function"!=typeof e||tB(e)||t4(e)?e:T(e)?t3(e):tj(n,e)}function ea(e){return e}var es="override",eu=Q({annotationType_:es,make_:function(e,t){return 0},extend_:function(e,t,n,i){r("'"+this.annotationType_+"' can only be used with 'makeObservable'")},decorate_20223_:function(e,t){}});function el(e,t){return{annotationType_:e,options_:t,make_:ec,extend_:ef,decorate_20223_:ed}}function ec(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tB(n.value))return 1;var i,o=eh(e,this,t,n,!1);return y(r,t,o),2}function ef(e,t,n,r){var i=eh(e,this,t,n);return e.defineProperty_(t,i,r)}function ed(e,t){var n,i,o,a,s,u,l=t.kind,c=t.name,f=t.addInitializer,d=this;if("field"==l){f(function(){Y(this,c,d)});return}if("method"==l)return tB(e)||(n=e,e=eG(null!=(i=null==(o=d.options_)?void 0:o.name)?i:c.toString(),n,null!=(a=null==(s=d.options_)?void 0:s.autoAction)&&a)),null!=(u=this.options_)&&u.bound&&f(function(){var e=this[c].bind(this);e.isMobxAction=!0,this[c]=e}),e;r("Cannot apply '"+d.annotationType_+"' to '"+String(c)+"' (kind: "+l+"):\n'"+d.annotationType_+"' can only be used on properties with a function value.")}function eh(e,t,n,r,i){void 0===i&&(i=td.safeDescriptors),t.annotationType_,r.value;var o,a,s,u,l,c,f,d,h=r.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(d=e.proxy_)?d:e.target_)),{value:eG(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ep(e,t){return{annotationType_:e,options_:t,make_:ev,extend_:em,decorate_20223_:eg}}function ev(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!F(e.target_,t)||!t4(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(t4(n.value))return 1;var i,o=ey(e,this,t,n,!1,!1);return y(r,t,o),2}function em(e,t,n,r){var i,o=ey(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function eg(e,t){var n,r=t.name,i=t.addInitializer;return t4(e)||(e=t3(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function ey(e,t,n,r,i,o){void 0===o&&(o=td.safeDescriptors),t.annotationType_,r.value;var a,s=r.value;return t4(s)||(s=t3(s)),i&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function eb(e,t){return{annotationType_:e,options_:t,make_:e_,extend_:ew,decorate_20223_:eS}}function e_(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ew(e,t,n,r){return this.annotationType_,n.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r)}function eS(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=nQ(this)[ee],i=V({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new e8(i))}),function(){return this[ee].getObservablePropValue_(r)}}function ex(e,t){return{annotationType_:e,options_:t,make_:eE,extend_:ek,decorate_20223_:eC}}function eE(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ek(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:eo,r)}function eC(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=nQ(e)[ee],u=new e2(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:eo,"ObservableObject."+i.toString(),!1);s.values_.set(i,u),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[ee].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[ee].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var eA=eO();function eO(e){return{annotationType_:"true",options_:e,make_:eI,extend_:eP,decorate_20223_:eT}}function eI(e,t,n,r){if(n.get)return eV.make_(e,t,n,r);if(n.set){var i,o,a,s,u,l=eG(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!td.safeDescriptors||e.isPlainObject_,set:l})?0:2:(y(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return T(n.value)?(null!=(s=this.options_)&&s.autoBind?t3.bound:t3).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?tj.bound:tj).make_(e,t,n,r);var c=(null==(i=this.options_)?void 0:i.deep)===!1?eF.ref:eF;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),c.make_(e,t,n,r)}function eP(e,t,n,r){var i,o,a;return n.get?eV.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!td.safeDescriptors||e.isPlainObject_,set:eG(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(o=this.options_)?void 0:o.deep)===!1?eF.ref:eF).extend_(e,t,n,r))}function eT(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var eR={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eR);var eD=ex("observable"),eM=ex("observable.ref",{enhancer:ea}),eL=ex("observable.shallow",{enhancer:function(e,t,n){return null==e||n0(e)||nF(e)||nV(e)||nH(e)?e:Array.isArray(e)?eF.array(e,{name:n,deep:!1}):P(e)?eF.object(e,void 0,{name:n,deep:!1}):L(e)?eF.map(e,{name:n,deep:!1}):N(e)?eF.set(e,{name:n,deep:!1}):void 0}}),eN=ex("observable.struct",{enhancer:function(e,t){return ri(e,t)?t:e}}),ej=Q(eD);function eU(e){var t,n,r;return!0===e.deep?eo:!1===e.deep?ea:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:eo}function eB(e,t,n){if(X(t))return eD.decorate_20223_(e,t);if(O(t)){Y(e,t,eD);return}return nn(e)?e:P(e)?eF.object(e,t,n):Array.isArray(e)?eF.array(e,t):L(e)?eF.map(e,t):N(e)?eF.set(e,t):"object"==typeof e&&null!==e?e:eF.box(e,t)}m(eB,ej);var eF=m(eB,{box:function(e,t){var n=t||eR;return new e2(e,eU(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eR;return(!1===td.useProxies||!1===n.proxy?function(e,t,n){return new n4(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),E(),rn(function(){var i=new nD(n,t,r,!1);D(i.values_,ee,i);var o=new Proxy(i.values_,nR);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})})(e,eU(n),n.name)},map:function(e,t){var n=t||eR;return new n$(e,eU(n),n.name)},set:function(e,t){var n=t||eR;return new nZ(e,eU(n),n.name)},object:function(e,t,n){return rn(function(){var r,i,o;return tG(!1===td.useProxies||(null==n?void 0:n.proxy)===!1?nQ({},n):(r={},E(),null!=(o=(i=(r=nQ(r,n))[ee]).proxy_)?o:i.proxy_=new Proxy(r,n_)),e,t)})},ref:Q(eM),shallow:Q(eL),deep:ej,struct:Q(eN)}),eW="computed",eq=eb(eW),e$=eb("computed.struct",{equals:ei.structural}),eV=function(e,t){if(X(t))return eq.decorate_20223_(e,t);if(O(t))return Y(e,t,eq);if(P(e))return Q(eb(eW,e));var n=P(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new e8(n)};Object.assign(eV,eq),eV.struct=Q(e$);var eK=0,eZ=1,eH=null!=(i=null==(o=g(function(){},"name"))?void 0:o.configurable)&&i,ez={value:"action",configurable:!0,writable:!1,enumerable:!1};function eG(e,t,n,r){function i(){return eJ(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},eH&&(ez.value=e,y(i,"name",ez)),i}function eJ(e,t,n,r,i){var o=eQ(e,t,r,i);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{eY(o)}}function eQ(e,t,n,r){var i=td.trackingDerivation,o=!t||!i;tg();var a=td.allowStateChanges;o&&(tr(),a=e0(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:to(!0),notifySpy_:!1,startTime_:0,actionId_:eZ++,parentActionId_:eK};return eK=s.actionId_,s}function eY(e){eK!==e.actionId_&&r(30),eK=e.parentActionId_,void 0!==e.error_&&(td.suppressReactionErrors=!0),e1(e.prevAllowStateChanges_),ta(e.prevAllowStateReads_),ty(),e.runAsAction_&&ti(e.prevDerivation_),td.suppressReactionErrors=!1}function eX(e,t){var n=e0(e);try{return t()}finally{e1(n)}}function e0(e){var t=td.allowStateChanges;return td.allowStateChanges=e,t}function e1(e){td.allowStateChanges=e}a=Symbol.toPrimitive;var e2=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=ei.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}K(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==td.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(nw(this)){var t=nx(this,{object:this,type:nT,newValue:e});if(!t)return td.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?td.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),nE(this)&&nC(this,{type:nT,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return nS(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:nT,newValue:this.value_,oldValue:void 0}),nk(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return B(this.get())},n[a]=function(){return this.valueOf()},t}(et),e3=M("ObservableValue",e2);s=Symbol.toPrimitive;var e8=function(){function e(e){this.dependenciesState_=u.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=u.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e4(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=l.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eG("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ei.structural:ei.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){this.lowestObserverState_===u.UP_TO_DATE_&&(this.lowestObserverState_=u.POSSIBLY_STALE_,this.observers_.forEach(function(e){e.dependenciesState_===u.UP_TO_DATE_&&(e.dependenciesState_=u.POSSIBLY_STALE_,e.onBecomeStale_())}))},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==td.inBatch||0!==this.observers_.size||this.keepAlive_){if(tb(this),e9(this)){var e,t=td.trackingContext;this.keepAlive_&&!t&&(td.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==u.STALE_&&(e.lowestObserverState_=u.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===u.POSSIBLY_STALE_?t.dependenciesState_=u.STALE_:t.dependenciesState_===u.UP_TO_DATE_&&(e.lowestObserverState_=u.UP_TO_DATE_)}))),td.trackingContext=t}}else e9(this)&&(this.warnAboutUntrackedRead_(),tg(),this.value_=this.computeValue_(!1),ty());var n=this.value_;if(e6(n))throw n.cause;return n},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===u.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e6(e)||e6(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=e0(!1);if(e)t=te(this,this.derivation,this.scope_);else if(!0===td.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e4(e)}return e1(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(tt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return tF(function(){var o=n.get();if(!r||t){var a=tr();e({observableKind:"computed",debugObjectName:n.name_,type:nT,object:n,newValue:o,oldValue:i}),ti(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return B(this.get())},t[s]=function(){return this.valueOf()},e}(),e5=M("ComputedValue",e8);(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(u||(u={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(l||(l={}));var e4=function(e){this.cause=void 0,this.cause=e};function e6(e){return e instanceof e4}function e9(e){switch(e.dependenciesState_){case u.UP_TO_DATE_:return!1;case u.NOT_TRACKING_:case u.STALE_:return!0;case u.POSSIBLY_STALE_:for(var t=to(!0),n=tr(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(e5(a)){if(td.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return ti(n),ta(t),!0}if(e.dependenciesState_===u.STALE_)return ti(n),ta(t),!0}}return ts(e),ti(n),ta(t),!1}}function e7(){return null!==td.trackingDerivation}function te(e,t,n){var r,i=to(!0);ts(e),e.newObserving_=Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++td.runId;var o=td.trackingDerivation;if(td.trackingDerivation=e,td.inBatch++,!0===td.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new e4(e)}return td.inBatch--,td.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=u.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue_&&tv(l,e),l.diffValue_=0}for(;i--;){var c=n[i];1===c.diffValue_&&(c.diffValue_=0,c.observers_.add(e),c.lowestObserverState_>e.dependenciesState_&&(c.lowestObserverState_=e.dependenciesState_))}r!==u.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ta(i),r}function tt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)tv(t[n],e);e.dependenciesState_=u.NOT_TRACKING_}function tn(e){var t=tr();try{return e()}finally{ti(t)}}function tr(){var e=td.trackingDerivation;return td.trackingDerivation=null,e}function ti(e){td.trackingDerivation=e}function to(e){var t=td.allowStateReads;return td.allowStateReads=e,t}function ta(e){td.allowStateReads=e}function ts(e){if(e.dependenciesState_!==u.UP_TO_DATE_){e.dependenciesState_=u.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=u.UP_TO_DATE_}}var tu=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],tl=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},tc=!0,tf=!1,td=function(){var e=v();return(e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(tc=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new tl().version&&(tc=!1),tc)?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new tl):(setTimeout(function(){tf||r(35)},1),new tl)}();function th(){return td}function tp(){var e=new tl;for(var t in e)-1===tu.indexOf(t)&&(td[t]=e[t]);td.allowStateChanges=!td.enforceActions}function tv(e,t){e.observers_.delete(t),0===e.observers_.size&&tm(e)}function tm(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,td.pendingUnobservations.push(e))}function tg(){td.inBatch++}function ty(){if(0==--td.inBatch){tE();for(var e=td.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof e8&&n.suspend_())}td.pendingUnobservations=[]}}function tb(e){var t=td.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&td.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&td.inBatch>0&&tm(e),!1)}function t_(e){e.lowestObserverState_!==u.STALE_&&(e.lowestObserverState_=u.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===u.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=u.STALE_}))}var tw=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=u.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=l.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,td.pendingReactions.push(this),tE())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){tg(),this.isScheduled_=!1;var e=td.trackingContext;if(td.trackingContext=this,e9(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}td.trackingContext=e,ty()}},t.track=function(e){if(!this.isDisposed_){tg(),this.isRunning_=!0;var t=td.trackingContext;td.trackingContext=this;var n=te(this,e,void 0);td.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&tt(this),e6(n)&&this.reportExceptionInDerivation_(n.cause),ty()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(td.disableErrorBoundaries)throw e;td.suppressReactionErrors,td.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(tg(),tt(this),ty()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[ee]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}();function tS(e){return td.globalReactionErrorHandlers.push(e),function(){var t=td.globalReactionErrorHandlers.indexOf(e);t>=0&&td.globalReactionErrorHandlers.splice(t,1)}}var tx=function(e){return e()};function tE(){td.inBatch>0||td.isRunningReactions||tx(tk)}function tk(){td.isRunningReactions=!0;for(var e=td.pendingReactions,t=0;e.length>0;){100==++t&&e.splice(0);for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}td.isRunningReactions=!1}var tC=M("Reaction",tw);function tA(e){return function(){}}var tO="action",tI="autoAction",tP="<unnamed action>",tT=el(tO),tR=el("action.bound",{bound:!0}),tD=el(tI,{autoAction:!0}),tM=el("autoAction.bound",{autoAction:!0,bound:!0});function tL(e){return function(t,n){return A(t)?eG(t.name||tP,t,e):A(n)?eG(t,n,e):X(n)?(e?tD:tT).decorate_20223_(t,n):O(n)?Y(t,n,e?tD:tT):O(t)?Q(el(e?tI:tO,{name:t,autoAction:e})):void 0}}var tN=tL(!1);Object.assign(tN,tT);var tj=tL(!0);function tU(e){return eJ(e.name||tP,!1,e,this,void 0)}function tB(e){return A(e)&&!0===e.isMobxAction}function tF(e,t){void 0===t&&(t=w);var n,r,i,o,a,s,u=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var l=tq(t),c=!1;s=new tw(u,function(){c||(c=!0,l(function(){c=!1,s.isDisposed_||s.track(f)}))},t.onError,t.requiresObservable)}else s=new tw(u,function(){this.track(f)},t.onError,t.requiresObservable);function f(){e(s)}return null!=(i=t)&&null!=(o=i.signal)&&o.aborted||s.schedule_(),s.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(tj,tD),tN.bound=Q(tR),tj.bound=Q(tM);var tW=function(e){return e()};function tq(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tW}function t$(e,t,n){void 0===n&&(n=w);var r,i,o,a,s,u,l,c=null!=(i=n.name)?i:"Reaction",f=tN(c,n.onError?(r=n.onError,function(){try{return t.apply(this,arguments)}catch(e){r.call(this,e)}}):t),d=!n.scheduler&&!n.delay,h=tq(n),p=!0,v=!1,m=n.compareStructural?ei.structural:n.equals||ei.default,g=new tw(c,function(){p||d?y():v||(v=!0,h(y))},n.onError,n.requiresObservable);function y(){if(v=!1,!g.isDisposed_){var t=!1;g.track(function(){var n=eX(!1,function(){return e(g)});t=p||!m(u,n),l=u,u=n}),p&&n.fireImmediately?f(u,l,g):!p&&t&&f(u,l,g),p=!1}}return null!=(o=n)&&null!=(a=o.signal)&&a.aborted||g.schedule_(),g.getDisposer_(null==(s=n)?void 0:s.signal)}function tV(e,t,n){return tZ("onBO",e,t,n)}function tK(e,t,n){return tZ("onBUO",e,t,n)}function tZ(e,t,n,r){var i="function"==typeof r?n7(t,n):n7(t),o=A(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var tH="always";function tz(e){!0===e.isolateGlobalState&&function(){if((td.pendingReactions.length||td.inBatch||td.isRunningReactions)&&r(36),tf=!0,tc){var e=v();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),td=new tl}}();var t,n,i=e.useProxies,o=e.enforceActions;if(void 0!==i&&(td.useProxies=i===tH||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(td.verifyProxies=!0),void 0!==o){var a=o===tH?tH:"observed"===o;td.enforceActions=a,td.allowStateChanges=!0!==a&&a!==tH}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(td[t]=!!e[t])}),td.allowStateReads=!td.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=tx,tx=function(e){return t(function(){return n(e)})})}function tG(e,t,n,r){var i=W(t);return rn(function(){var t=nQ(e,r)[ee];U(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}function tJ(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=Array.from(new Set(t.observing_)).map(e)),n}(n7(e,t))}function tQ(e,t){return function e(t){var n={name:t.name_};return t.observers_&&t.observers_.size>0&&(n.observers=Array.from(t.observers_).map(e)),n}(n7(e,t))}var tY=0;function tX(){this.message="FLOW_CANCELLED"}function t0(e){return e instanceof tX}tX.prototype=Object.create(Error.prototype);var t1=ep("flow"),t2=ep("flow.bound",{bound:!0}),t3=Object.assign(function(e,t){if(X(t))return t1.decorate_20223_(e,t);if(O(t))return Y(e,t,t1);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tY,o=tN(n+" - runid: "+i+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function u(e){var t;a=void 0;try{t=tN(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}c(t)}function l(e){var t;a=void 0;try{t=tN(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}c(t)}function c(t){if(A(null==t?void 0:t.then)){t.then(c,r);return}return t.done?e(t.value):(a=Promise.resolve(t.value)).then(u,l)}t=r,u(void 0)});return s.cancel=tN(n+" - runid: "+i+" - cancel",function(){try{a&&t8(a);var e=o.return(void 0),n=Promise.resolve(e.value);n.then(C,C),t8(n),t(new tX)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},t1);function t8(e){A(e.cancel)&&e.cancel()}function t5(e){return e}function t4(e){return(null==e?void 0:e.isMobXFlow)===!0}function t6(e,t,n){var r;return nV(e)||nF(e)||e3(e)?r=re(e):n0(e)&&(r=re(e,t)),r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0}}function t9(e,t,n){return A(n)?re(e,t).intercept_(n):re(e).intercept_(t)}function t7(e,t){return void 0===t?e5(e):!!(!1!==n0(e)&&e[ee].values_.has(t))&&e5(n7(e,t))}function ne(e){return t7(e)}function nt(e,t){return t7(e,t)}function nn(e,t){return!!e&&(void 0!==t?!!n0(e)&&e[ee].values_.has(t):n0(e)||!!e[ee]||en(e)||tC(e)||e5(e))}function nr(e){return nn(e)}function ni(e,t){return nn(e,t)}function no(e){return n0(e)?e[ee].keys_():nV(e)||nH(e)?Array.from(e.keys()):nF(e)?e.map(function(e,t){return t}):void r(5)}function na(e){return n0(e)?no(e).map(function(t){return e[t]}):nV(e)?no(e).map(function(t){return e.get(t)}):nH(e)?Array.from(e.values()):nF(e)?e.slice():void r(6)}function ns(e){return n0(e)?no(e).map(function(t){return[t,e[t]]}):nV(e)?no(e).map(function(t){return[t,e.get(t)]}):nH(e)?Array.from(e.entries()):nF(e)?e.map(function(e,t){return[t,e]}):void r(7)}function nu(e,t){n0(e)?e[ee].delete_(t):nV(e)?e.delete(t):nH(e)?e.delete(t):nF(e)?("number"!=typeof t&&(t=parseInt(t,10)),e.splice(t,1)):r(9)}function nl(e,t){return n0(e)?e[ee].has_(t):nV(e)?e.has(t):nH(e)?e.has(t):nF(e)?t>=0&&t<e.length:void r(10)}function nc(e,t){if(nl(e,t)){if(n0(e))return e[ee].get_(t);if(nV(e))return e.get(t);if(nF(e))return e[t];r(11)}}function nf(e,t,n){if(n0(e))return e[ee].defineProperty_(t,n);r(39)}function nd(e){if(n0(e))return e[ee].ownKeys_();r(38)}function nh(e,t,n,r){return A(n)?re(e,t).observe_(n,r):re(e).observe_(t,n)}function np(e,t,n){return e.set(t,n),n}function nv(e,t){return function e(t,n){if(null==t||"object"!=typeof t||t instanceof Date||!nn(t))return t;if(e3(t)||e5(t))return e(t.get(),n);if(n.has(t))return n.get(t);if(nF(t)){var r=np(n,t,Array(t.length));return t.forEach(function(t,i){r[i]=e(t,n)}),r}if(nH(t)){var i=np(n,t,new Set);return t.forEach(function(t){i.add(e(t,n))}),i}if(nV(t)){var o=np(n,t,new Map);return t.forEach(function(t,r){o.set(r,e(t,n))}),o}var a=np(n,t,{});return nd(t).forEach(function(r){b.propertyIsEnumerable.call(t,r)&&(a[r]=e(t[r],n))}),a}(e,new Map)}function nm(){}function ng(e,t){void 0===t&&(t=void 0),tg();try{return e.apply(t)}finally{ty()}}function ny(e,t,n){return 1==arguments.length||t&&"object"==typeof t?function(e,t){if(null!=t&&null!=(n=t.signal)&&n.aborted)return Object.assign(Promise.reject(Error("WHEN_ABORTED")),{cancel:function(){return null}});var n,r,i,o=new Promise(function(n,o){var a,s=nb(e,n,V({},t,{onError:o}));r=function(){s(),o(Error("WHEN_CANCELLED"))},i=function(){s(),o(Error("WHEN_ABORTED"))},null==t||null==(a=t.signal)||null==a.addEventListener||a.addEventListener("abort",i)}).finally(function(){var e;return null==t?void 0:null==(e=t.signal)?void 0:null==e.removeEventListener?void 0:e.removeEventListener("abort",i)});return o.cancel=r,o}(e,t):nb(e,t,n||{})}function nb(e,t,n){if("number"==typeof n.timeout){var r,i=Error("WHEN_TIMEOUT");r=setTimeout(function(){if(!a[ee].isDisposed_){if(a(),n.onError)n.onError(i);else throw i}},n.timeout)}n.name="When";var o=eG("When-effect",t),a=tF(function(t){eX(!1,e)&&(t.dispose(),r&&clearTimeout(r),o())},n);return a}t3.bound=Q(t2);var n_={has:function(e,t){return e[ee].has_(t)},get:function(e,t){return e[ee].get_(t)},set:function(e,t,n){var r;return!!O(t)&&(null==(r=e[ee].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!O(t)&&(null==(n=e[ee].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[ee].defineProperty_(t,n))||r},ownKeys:function(e){return e[ee].ownKeys_()},preventExtensions:function(e){r(13)}};function nw(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function nS(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),k(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function nx(e,t){var n=tr();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((t=i[o](t))&&!t.type&&r(14),t);o++);return t}finally{ti(n)}}function nE(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function nk(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),k(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function nC(e,t){var n=tr(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);ti(n)}}function nA(e,t,n){return rn(function(){var r=nQ(e,n)[ee];null!=t||(F(e,J)||R(e,J,V({},e[J])),t=e[J]),U(t).forEach(function(e){return r.make_(e,t[e])})}),e}var nO=Symbol("mobx-keys");function nI(e,t,n){return P(e)?tG(e,e,t,n):(rn(function(){var r=nQ(e,n)[ee];if(!e[nO]){var i=Object.getPrototypeOf(e),o=new Set([].concat(U(e),U(i)));o.delete("constructor"),o.delete(ee),R(i,nO,o)}e[nO].forEach(function(e){return r.make_(e,!t||!(e in t)||t[e])})}),e)}var nP="splice",nT="update",nR={get:function(e,t){var n=e[ee];return t===ee?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?F(nM,t)?nM[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[ee];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},nD=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new et(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return nS(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),nk(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t){if(e>t){for(var n=Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)}},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&n9(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=_),nw(this)){var o=nx(this,{object:this.proxy_,type:nP,index:e,removedCount:t,added:n});if(!o)return _;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=nE(this),o=i||r?{observableKind:"array",object:this.proxy_,type:nT,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&nC(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=nE(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:nP,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&nC(this,o)},t.get_=function(e){if(!this.legacyMode_||!(e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(nw(this)){var o=nx(this,{type:nT,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var a=Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}(),nM={clear:function(){return this.splice(0)},replace:function(e){var t=this[ee];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[ee];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[ee].spliceWithArray_(e,t,n)},push:function(){for(var e=this[ee],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[ee].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[ee],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return td.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){td.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[ee],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function nL(e,t){"function"==typeof Array.prototype[e]&&(nM[e]=t(e))}function nN(e){return function(){var t=this[ee];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function nj(e){return function(t,n){var r=this,i=this[ee];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function nU(e){return function(){var t=this,n=this[ee];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}nL("at",nN),nL("concat",nN),nL("flat",nN),nL("includes",nN),nL("indexOf",nN),nL("join",nN),nL("lastIndexOf",nN),nL("slice",nN),nL("toString",nN),nL("toLocaleString",nN),nL("toSorted",nN),nL("toSpliced",nN),nL("with",nN),nL("every",nj),nL("filter",nj),nL("find",nj),nL("findIndex",nj),nL("findLast",nj),nL("findLastIndex",nj),nL("flatMap",nj),nL("forEach",nj),nL("map",nj),nL("some",nj),nL("toReversed",nj),nL("reduce",nU),nL("reduceRight",nU);var nB=M("ObservableArrayAdministration",nD);function nF(e){return I(e)&&nB(e[ee])}var nW={},nq="delete";c=Symbol.iterator,f=Symbol.toStringTag;var n$=function(){function e(e,t,n){var i=this;void 0===t&&(t=eo),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ee]=nW,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,A(Map)||r(18),rn(function(){i.keysAtom_=er("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!td.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new e2(this.has_(e),ea,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tK(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(nw(this)){var r=nx(this,{type:n?nT:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,nw(this)&&!nx(this,{type:nq,object:this,name:e}))return!1;if(this.has_(e)){var n=nE(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:nq,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return ng(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&nC(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==td.UNCHANGED){var r=nE(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:nT,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&nC(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,ng(function(){var r,i=new e2(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=nE(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&nC(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ra({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return ra({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[c]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return nV(e)&&(e=new Map(e)),ng(function(){P(e)?(function(e){var t=Object.keys(e);if(!j)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return b.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):L(e)?(e.constructor!==Map&&r(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&r(20,e)}),this},t.clear=function(){var e=this;ng(function(){tn(function(){for(var t,n=G(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return ng(function(){for(var n,i=function(e){if(L(e)||nV(e))return e;if(Array.isArray(e))return new Map(e);if(!P(e))return r(21,e);var t=new Map;for(var n in e)t.set(n,e[n]);return t}(e),o=new Map,a=!1,s=G(t.data_.keys());!(n=s()).done;){var u=n.value;if(!i.has(u)){if(t.delete(u))a=!0;else{var l=t.data_.get(u);o.set(u,l)}}}for(var c,f=G(i.entries());!(c=f()).done;){var d=c.value,h=d[0],p=d[1],v=t.data_.has(h);if(t.set(h,p),t.data_.has(h)){var m=t.data_.get(h);o.set(h,m),v||(a=!0)}}if(!a){if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=o.keys(),b=g.next(),_=y.next();!b.done;){if(b.value!==_.value){t.keysAtom_.reportChanged();break}b=g.next(),_=y.next()}}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return nk(this,e)},t.intercept_=function(e){return nS(this,e)},$(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:f,get:function(){return"Map"}}]),e}(),nV=M("ObservableMap",n$),nK={};d=Symbol.iterator,h=Symbol.toStringTag;var nZ=function(){function e(e,t,n){var i=this;void 0===t&&(t=eo),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[ee]=nK,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,A(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},rn(function(){i.atom_=er(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;ng(function(){tn(function(){for(var t,n=G(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,nw(this)&&!nx(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){ng(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=nE(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&nC(this,r)}return this},t.delete=function(e){var t=this;if(nw(this)&&!nx(this,{type:nq,object:this,oldValue:e}))return!1;if(this.has(e)){var n=nE(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:nq,object:this,oldValue:e}:null;return ng(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&nC(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return ra({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return ra({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return nH(e)&&(e=new Set(e)),ng(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):N(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return nk(this,e)},t.intercept_=function(e){return nS(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[d]=function(){return this.values()},$(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:h,get:function(){return"Set"}}]),e}(),nH=M("ObservableSet",nZ),nz=Object.create(null),nG="remove",nJ=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=eA),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new et("ObservableObject.keys"),this.isPlainObject_=P(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof e8)return n.set(t),!0;if(nw(this)){var r=nx(this,{type:nT,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==td.UNCHANGED){var i=nE(this),o=i?{type:nT,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&nC(this,o)}return!0},t.get_=function(e){return td.trackingDerivation&&!F(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return(void 0===n&&(n=!1),F(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!td.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new e2(e in this.target_,ea,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[J])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==b;){var o=g(i,e);if(o){var a=t.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}n1(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&n1(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tg();var r=this.delete_(e);if(!r)return r;if(nw(this)){var i=nx(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=V({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else y(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{ty()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{tg();var i=this.delete_(e);if(!i)return i;if(nw(this)){var o=nx(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!o)return null;t=o.newValue}var a=nX(e),s={configurable:!td.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else y(this.target_,e,s);var u=new e2(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{ty()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tg();var r=this.delete_(e);if(!r)return r;if(nw(this)&&!nx(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=nX(e),o={configurable:!td.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else y(this.target_,e,o);this.values_.set(e,new e8(t)),this.notifyPropertyAddition_(e,void 0)}finally{ty()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!F(this.target_,e))return!0;if(nw(this)&&!nx(this,{object:this.proxy_||this.target_,name:e,type:nG}))return null;try{tg();var n,r,i,o=nE(this),a=this.values_.get(e),s=void 0;if(!a&&o&&(s=null==(i=g(this.target_,e))?void 0:i.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof e2&&(s=a.value_),t_(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),o){var u={type:nG,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};o&&nC(this,u)}}finally{ty()}return!0},t.observe_=function(e,t){return nk(this,e)},t.intercept_=function(e){return nS(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,i=nE(this);if(i){var o=i?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;i&&nC(this,o)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),U(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function nQ(e,t){if(F(e,ee))return e;var n,r,i=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",o=new nJ(e,new Map,String(i),t?null!=(n=t.defaultDecorator)?n:eO(t):void 0);return R(e,ee,o),e}var nY=M("ObservableObjectAdministration",nJ);function nX(e){return nz[e]||(nz[e]={get:function(){return this[ee].getObservablePropValue_(e)},set:function(t){return this[ee].setObservablePropValue_(e,t)}})}function n0(e){return!!I(e)&&nY(e[ee])}function n1(e,t,n){var r;null==(r=e.target_[J])||delete r[n]}var n2=n6(0),n3=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)["0"]=1,!1===e}(),n8=0,n5=function(){};!function(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(n5,Array.prototype);var n4=function(e,t,n){function r(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,rn(function(){var e=new nD(r,n,i,!0);e.proxy_=H(o),D(H(o),ee,e),t&&t.length&&o.spliceWithArray(0,0,t),n3&&Object.defineProperty(H(o),"0",n2)}),o}K(r,e);var i=r.prototype;return i.concat=function(){this[ee].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return nF(e)?e.slice():e}))},i[n]=function(){var e=this,t=0;return ra({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},$(r,[{key:"length",get:function(){return this[ee].getArrayLength_()},set:function(e){this[ee].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(n5,Symbol.toStringTag,Symbol.iterator);function n6(e){return{enumerable:!1,configurable:!0,get:function(){return this[ee].get_(e)},set:function(t){this[ee].set_(e,t)}}}function n9(e){if(e>n8){for(var t,n=n8;n<e+100;n++)t=n,y(n4.prototype,""+t,n6(t));n8=e}}function n7(e,t){if("object"==typeof e&&null!==e){if(nF(e))return void 0!==t&&r(23),e[ee].atom_;if(nH(e))return e.atom_;if(nV(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,rt(e)),n}if(n0(e)){if(!t)return r(26);var i=e[ee].values_.get(t);return i||r(27,t,rt(e)),i}if(en(e)||e5(e)||tC(e))return e}else if(A(e)&&tC(e[ee]))return e[ee];r(28)}function re(e,t){return(e||r(29),void 0!==t)?re(n7(e,t)):en(e)||e5(e)||tC(e)||nV(e)||nH(e)?e:e[ee]?e[ee]:void r(24,e)}function rt(e,t){var n;if(void 0!==t)n=n7(e,t);else{if(tB(e))return e.name;n=n0(e)||nV(e)||nH(e)?re(e):n7(e)}return n.name_}function rn(e){var t=tr(),n=e0(!0);tg();try{return e()}finally{ty(),e1(n),ti(t)}}Object.entries(nM).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&R(n4.prototype,t,n)}),n9(1e3);var rr=b.toString;function ri(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=rr.call(t);if(s!==rr.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=ro(t),n=ro(n);var u="[object Array]"===s;if(!u){if("object"!=typeof t||"object"!=typeof n)return!1;var l=t.constructor,c=n.constructor;if(l!==c&&!(A(l)&&l instanceof l&&A(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var f=(i=i||[]).length;f--;)if(i[f]===t)return o[f]===n;if(i.push(t),o.push(n),u){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,i,o))return!1}else{var d,h=Object.keys(t);if(f=h.length,Object.keys(n).length!==f)return!1;for(;f--;)if(!(F(n,d=h[f])&&e(t[d],n[d],r-1,i,o)))return!1}return i.pop(),o.pop(),!0}(e,t,n)}function ro(e){return nF(e)?e.slice():L(e)||nV(e)||N(e)||nH(e)?Array.from(e.entries()):e}function ra(e){return e[Symbol.iterator]=rs,e}function rs(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===v()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:tA,extras:{getDebugName:rt},$mobx:ee})},383422:(e,t,n)=>{n.d(t,{aD:()=>o,X0:()=>a,GT:()=>u});var r=n(882667),i=n(556208);function o(e,t){return function(e,t,n){var o=((0,i.IL)().nextActionId++).toString(),a=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var u=t?t.apply(null,i):{};if(u.type)throw Error("Action creators should not include the type property.");return u.type=e,s(u,o),n&&(0,r.WI)(u),u};return s(a,o),a.__SATCHELJS_ACTION_TYPE=e,a}(e,t,!0)}function a(e){return e.__SATCHELJS_ACTION_ID}function s(e,t){e.__SATCHELJS_ACTION_ID=t}function u(e){return e.__SATCHELJS_ACTION_TYPE||"unknown action"}},882667:(e,t,n)=>{n.d(t,{Ld:()=>a,WI:()=>s,bh:()=>u});var r=n(787012),i=n(383422),o=n(556208);function a(e,t){var n=(0,o.IL)().subscriptions;n[e]||(n[e]=[]),n[e].push(t)}function s(e){var t=(0,o.IL)().currentMutator;if(t)throw Error("Mutator ("+t+") may not dispatch action ("+e.type+")");var n=(0,o.IL)().dispatchWithMiddleware||u;(0,r.transaction)(n.bind(null,e))}function u(e){var t=(0,i.X0)(e),n=(0,o.IL)().subscriptions[t];if(n){for(var r=[],a=0;a<n.length;a++){var s=(0,n[a])(e);s&&r.push(s)}if(r.length)return 1==r.length?r[0]:Promise.all(r)}}},556208:(e,t,n)=>{n.d(t,{IL:()=>o});var r=n(787012),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:n.g;function o(){return i.__satchelGlobalContext}i.__satchelGlobalContext?function(){if(3!=i.__satchelGlobalContext.schemaVersion)throw Error("Detected incompatible SatchelJS versions loaded.")}():i.__satchelGlobalContext={schemaVersion:3,rootStore:r.observable.map({}),nextActionId:0,subscriptions:{},dispatchWithMiddleware:null,currentMutator:null,legacyInDispatch:0,legacyDispatchWithMiddleware:null,legacyTestMode:!1}},795839:(e,t,n)=>{n.d(t,{aD:()=>i.aD,md:()=>s,MT:()=>c,k0:()=>u,ed:()=>f.Z,lr:()=>h.l,_F:()=>d});var r=n(787012),i=n(383422),o=n(882667),a=n(556208);function s(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var i=o.bh,s=n.length-1;s>=0;s--)e=n[s],t=i,i=e.bind(null,t);(0,a.IL)().dispatchWithMiddleware=i}function u(){return(0,a.IL)().rootStore}var l=(0,r.action)("createStore",function(e,t){if(u().get(e))throw Error("A store named "+e+" has already been created.");u().set(e,t)});function c(e,t){return l(e,t),function(){return u().get(e)}}var f=n(481585);function d(e,t){var n=(0,i.X0)(e);if(!n)throw Error("Orchestrators can only subscribe to action creators.");return(0,o.Ld)(n,t),t}var h=n(248490);(0,r.configure)({enforceActions:"observed"})},481585:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(787012),i=n(383422),o=n(882667),a=n(556208);function s(e,t){var n=(0,i.X0)(e);if(!n)throw Error("Mutators can only subscribe to action creators.");var s=(0,i.GT)(e),u=(0,r.action)(s,function(e){var n=(0,a.IL)();try{n.currentMutator=s,t(e),n.currentMutator=null}catch(e){throw n.currentMutator=null,e}});return(0,o.Ld)(n,u),t}},248490:(e,t,n)=>{n.d(t,{l:()=>o});var r,i=n(383422),o=(r=n(481585).Z,function(e,t){var n=(0,i.aD)(e,function(){return{args:arguments}});return r(n,function(e){return t.apply(null,e.args)}),n})}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r](o,o.exports,n),o.loaded=!0,o.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>"owa."+(50860===e?"Analytics":e)+"."+({6339:"20c89825",20323:"2fdb193c",34497:"1338f72a",38475:"a8c9ef4d",50860:"1bbdc2ec",57662:"a68801e2",64446:"d40bf27a",65145:"601015f7",85191:"1e4f121e",93785:"85b47c5e",93993:"c9da5c4a"})[e]+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="Owa:";n.l=(r,i,o,a)=>{if(e[r]){e[r].push(i);return}if(void 0!==o)for(var s,u,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous"),s.integrity=n.sriHashes[a],s.crossOrigin="anonymous"),e[r]=[i];var d=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach(e=>e(n)),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}})(),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="OwaPublicPath",n.sriHashes={6339:"sha256-2prcPJleZOP65+E/rb7pwC/ZT0am5U5afKLE3VFYnjA=",20323:"sha256-nEdzrMd9s/69XKhVoHDbngwdb+kM665sQXgu0c+gCv4=",34497:"sha256-mk97EJxM8pQcDX1BdqQVYBb8RmW2Y4E+I5NpC0FV4YU=",38475:"sha256-UWyShhsIEvJ3/xfKT+IA8H+3OwbJ+vUSrLMMZnPxfig=",50860:"sha256-lrDrPVPus5LFj3NPzKH0hs6dNtVuKrx7sK1MNRsORfU=",57662:"sha256-y8zsWwAZy7YcL0MASaH1sAtaJGvGL0ERJIJFLVhz5j4=",64446:"sha256-VTJ6CQpFoD+AKaOCAYLfh2N55P7vwV6UOci1jSBQJ/A=",65145:"sha256-5kZnC7x3HDsMbLfIGTLuk0gIiBVlHOPRWp31F1ymY0Y=",85191:"sha256-pDAJUc+jeqwUtoYhPh0qTpR7GbiLIr94dJ0F8FcNr6w=",93785:"sha256-rJA3Su2g+Jx4BrRRIY257X5bDxTqNDZR9TbOI/68LqY=",93993:"sha256-hOAIHpVFST46pv1iN+c/1CX6PWH0J0OsPoUf9aOuYQQ="},"undefined"!=typeof self&&self.bootstrapOptions&&self.bootstrapOptions.scriptBaseUrl&&(n.p=self.bootstrapOptions.scriptBaseUrl),(()=>{var e={46771:0,95839:0,85191:0,38475:0,6339:0};n.f.j=(t,r)=>{var i=n.o(e,t)?e[t]:void 0;if(0!==i){if(i)r.push(i[2]);else{var o=new Promise((n,r)=>i=e[t]=[n,r]);r.push(i[2]=o);var a=n.p+n.u(t),s=Error();n.l(a,r=>{if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}},"chunk-"+t,t)}}};var t=(t,r)=>{var i,o,[a,s,u]=r,l=0;if(a.some(t=>0!==e[t])){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);u&&u(n)}for(t&&t(r);l<a.length;l++)o=a[l],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunkOwa=globalThis.webpackChunkOwa||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var r={};(()=>{let e,t,i,o,a,s,u,l,c,f,d,h;n.r(r);let p="root_metadata_cache",v="https://metadata/version",m="https://metadata/preloadparams",g=["Failed to fetch","AutoCancel","The network connection was lost.","NetworkError when attempting to fetch resource.","cancelled","kCFErrorDomainCFNetwork","The request timed out.","Protocol error","SSL error has occurred","The internet connection appears to be offline.","A network error occurred","Load failed","La con"],y=["Unexpected internal error.","Entry already exists.","Failed writing data to the file system","Internal error","Quota exceeded."],b=["Unexpected internal error"];function _(e,t){return!!t&&e.some(e=>t.toLowerCase().indexOf(e.toLowerCase())>-1)}var w,S=((s=S||{})[s.Install=0]="Install",s[s.UnInstall=1]="UnInstall",s[s.Tracing=2]="Tracing",s[s.CleanUp=3]="CleanUp",s[s.SendDirectoryHandle=4]="SendDirectoryHandle",s),x=((u=x||{}).Updates="Updates",u.Resources="Resources",u),E=((l=E||{}).None="0",l.Logging="1",l.Telemetry="2",l.All="3",l),k=((c=k||{})[c.OnCacheInstall=2]="OnCacheInstall",c),C=((f=C||{})[f.CacheInstalled=0]="CacheInstalled",f[f.CacheFailed=1]="CacheFailed",f[f.CacheCleared=2]="CacheCleared",f);let A="owa_install_message",O={};function I(e){if(!O.hasOwnProperty(e)){let t=self.location.search;if(!t)return!1;O[e]=t.includes(`${e}=1`)}return O[e]}let P=/\/\/res(-sdf)?-(h3\.public|geo|\d)\.cdn\.office\.net\//,T=/-(h3\.public|geo|\d)\./;function R(e,t){return(I("cdn")||!0===t)&&!1!==t&&e?.match(P)?function(e){let t=new URL(e);return t.host=t.host.replace(T,"."),t.toString()}(e):e}var D=n(489994),M=n(829899);let L=!1;function N(e,t,n,r,i,o,a){let s={EventName:e,MiscData:JSON.stringify(t)};F(s,"Puid",r?.puid),F(s,"TenantGuid",r?.tenantGuid),F(s,"Session.Id",r?.sessionId),F(s,"Layout",r?.layout),F(s,"E2ETimeElapsed",i),F(s,"Status",o);let u={};return F(u,"source",n),a&&(F(s,"ErrorMessage",a.message),F(s,"ErrorDetails",a.stack),B(u,a)),U("client_event",s,u)}function j(e,t){let n="string"==typeof e?Error(e):e;if(_(g,n.message)||_(b,n.message))return Promise.resolve();let r={name:n.name,message:n.message},i={source:t||"unknown"};return F(r,"stack",n.stack),B(i,n),U("client_error",r,i)}function U(n,r,i){if(self.location.search?.indexOf("branch")!=-1)return;if(!L){L=!0,e=new D.F;let t=new M.Q,n={instrumentationKey:"56468f6991c348029c6bba403b444607-7f5d6cd1-7fbe-4ab1-be03-3b2b6aeb3eb4-7696",extensions:[t],extensionConfig:{[t.identifier]:{}},enableWParam:!0};e.initialize(n,[])}let o=Object.assign({},i,{search:self.location.search,swVersion:33,cacheVersion:3}),a=Object.assign({},r,{Host:"SW",Sampled:100,ClientId:t,diagnostics:JSON.stringify(o)});e.track({name:n,data:a})}function B(e,t){F(e,"status",t.status),F(e,"resource",t.resource)}function F(e,t,n){void 0!==n&&(e[t]=n)}let W=E.None;function q(e,t){Z("log",e,t)}function $(e,t){Z("warn",e,t)}function V(e){return Z("groupCollapsed",e),()=>Z("groupEnd",e)}let K=console;function Z(e,t,n){H()&&(K[e]("[SW] "+t),n&&K.log(n)),(W==E.Telemetry||W==E.All)&&U("client_trace",{EventName:e,message:t})}function H(){return W==E.Logging||W==E.All||I("tracelog")}async function z(e,t,n){try{return await e.put(t,n),!0}catch(e){if($(`Error putting ${"string"==typeof t?t:t.url} in cache`,e),e?.name=="QuotaExceededError"||_(y,e?.message))return!1;throw e}}function G(e,t,n){return z(e,t,new Response(JSON.stringify(n)))}async function J(e,t){try{let n=await Q(t,e);return await n?.json()}catch(e){$(`Error getting ${"string"==typeof t?t:t.url} from cache`,e);return}}async function Q(e,t){try{if(t)return await t.match(e);return await self.caches.match(e)}catch(t){$(`Error matching ${"string"==typeof e?e:e.url} from cache`,t);return}}async function Y(e){try{return await self.caches.open(e)}catch(t){return $(`Could not open cache ${e}`,t),null}}async function X(e){try{return await self.caches.delete(e)}catch(t){return $(`Could not delete cache ${e}`,t),!1}}async function ee(e){try{return await self.caches.has(e)}catch(t){return $(`Could not check if cache ${e} exists`,t),!1}}async function et(){try{return await self.caches.keys()}catch(e){return $("Could not get cache keys",e),[]}}let en="https://active/",er="x-normalized-cdn",ei="x-build-variant",eo="Default",ea={};async function es(e,t,n){let r=ea[e];r&&(q(`Deleting old wrapper ${r.name}`),X(r.name)),ea[e]=t;let i=await ed();if(i){let r=new Response(t.name);return r.headers.append("x-install-source",n),t.normalized&&r.headers.append(er,"1"),t.buildVariant&&r.headers.append(ei,t.buildVariant),z(i,en+e,r)}return!1}async function eu(e){let t=ea[e]?.name;return(t&&!await ee(t)&&(q(`Cache no longer exists so clean up memory:scope=${e},name=${t}`),ea[e]&&ea[e]?.name===t&&delete ea[e]),ea[e])?ea[e]:ec(e)}function el(e){for(let t of Object.keys(ea)){let n=ea[t];if(n?.requestMap?.[e])return n}}async function ec(e,t){let n=await ed();if(n){let r=await n.match(en+e),i=await r?.text();if(i&&await ee(i)){let n=await Y(i);if(n){let o;q(`Add cachewrapper from storage to memory: scope=${e},name=${i}`),t&&(o=(await n.keys()).reduce((e,t)=>(e[t.url]=!0,e),{}));let a=r?.headers.has(er)||!1,s=r?.headers.get(ei)??eo;return ea[e]={name:i,scope:e,version:i.split("_")[1],cache:n,requestMap:o,buildVariant:s,normalized:a}}}}}async function ef(e){let t=await ed();if(t){let n=[t.delete(en+e)],r=ea[e];return r&&(q(`Delete cache wrapper: scope=${e}, name=${r.name}`),n.push(X(r.name)),delete ea[e]),Promise.all(n)}return[]}function ed(){return Y("root_active")}async function eh(){try{q("PopulateMemoryFromStorage start");let e=await ed();if(e){let t=await e.keys();await Promise.all(t.map(e=>ec(e.url.split("/").pop(),!0)))}q("PopulateMemoryFromStorage end")}catch(e){$("populateMemoryFromStorage error",e)}}function ep(){return i||(i=Y(p).then(e=>e?J(e,v):void 0)),i}function ev(e,t){if(!e.ok){$(`Fetch failed for ${e.url}: m=${t},s=${e.status}`);let n=Error(t);throw n.status=e.status,n.resource=e.url,n}return e}async function em(e){if(0===(await e.clone().blob().catch(e=>{throw e.networkError=!0,e})).size){$(`Blob failed for ${e.url}`);let t=Error("BlobZeroLength");throw t.resource=e.url,t}return e}function eg(e){return"/root/"+e+"/"}let ey="x-sw-",eb=`${ey}version`,e_=`${ey}cache`,ew=`${ey}active-cache`,eS=`${ey}cache-result`,ex=`${ey}cache-age`,eE=`${ey}proxy-type`,ek={credentials:"same-origin",redirect:"manual",mode:"cors"};function eC(e,t,n,r=!1,i=0){var o,a;let s=(o=e=eO(e),a=n.rootUrl,0==o.indexOf("./")&&(o=`${a}${o.substring(2)}`),o),u=ek;if(r){let e=/^[0-9.]+$/.test(t.version)?"version":"branch",r=`${s.indexOf("?")>-1?"&":"?"}${e}`;s+=`${r}=${t.version}`,n.dynamicQueryString&&(s+=`&${n.dynamicQueryString}`);let i=new Headers(n.dynamicRequestHeaders);i.append(e_,"1"),u={credentials:"same-origin",redirect:"manual",headers:i}}return q("Fetching "+s),self.fetch(s,u).then(e=>ev(e,"CannotFetchResource")).then(em).then(async i=>{if(await eA(i.clone(),t,e,r,n.source),r){let e=i.headers.get("x-app-name");if(e&&n.expectedXAppNameHeader!=e){let t=n.expectedXAppNameHeader;q(`App mismatch:actual${e},expected${t}`),N("SwAppMismatch",{actual:e,expected:t},n.source,n.userInfo)}}return i}).catch(o=>{if(i<2)return eC(e,t,n,r,++i);if($("CouldNotCache:"+e),n.priorityStrategy==x.Resources)throw o;return Response.error()})}async function eA(e,t,n,r=!1,i="mail"){return await z(t.cache,r?eg(i):R(n,t?.normalized),e)&&(q(`Cached ${n} in ${t.name}`),r||(t.requestMap||(t.requestMap={}),t.requestMap[n]=!0)),e}function eO(e){return e.startsWith("//")&&(e="https:"+e),e}function eI(e,t){self.clients.matchAll().then(n=>{if(n)for(let r=0;r<n.length;++r)try{let i={targetClient:e,messageType:k.OnCacheInstall,cacheMessage:t};q("Sending message to clients",i),n[r].postMessage(i)}catch(e){$("[SW] Error while postMessage to clients",e)}})}async function eP(){try{let e=(await et()).reduce((e,t)=>{let n=t.split("_")[0];return e[n]||(e[n]=[]),e[n].push(t),e},{});delete e.root,delete e.shelluxlog;let t=Object.keys(e);return await eR(t.map(t=>eT(t,e[t]))),t.length>0}catch(e){return $("Error cleaning up caches",e),j(e,"cleanupOldCaches"),!1}}async function eT(e,t){let n=await eu(e);return n&&(t=t.filter(e=>e!=n.name)),eR(t.map(e=>(q(`Cleaning up cache ${e}`),X(e))))}function eR(e){return Promise.all(e).then(e=>e.every(Boolean))}function eD(e,t,n){let r=Date.now(),i={},o=!1;return{addData:(e,t)=>{i[e]=t},end:(a,s)=>{o||(o=!0,N(e,i,t,n,Date.now()-r,a,s))}}}async function eM(e,t,n){let r,i,o,a;let s=V("InstallCache"),u=e.source,l=await eP(),c=eD("SwInstall",u,e.userInfo);c.addData("installSource",n);let f="Success",d="Unknown";try{let r=await eu(u);o=r?.version||"NA",q(`Current installed version: ${o}`),c.addData("current",o);let s=t.cacheVersion||"NA";q(`Manifest version: ${s}`),c.addData("next",s);let f=t.buildVariant??eo,h=r?.buildVariant,p=r&&r.buildVariant===f;if(p&&r.version===t.cacheVersion){try{await Promise.all(t.dynamicFiles.map(t=>eC(t,r,e,!0)))}catch{}d="NoUpdate"}else{let o=new Date(t.date).getTime(),a=`${u}_${t.cacheVersion}_${o}`,s=await Y(a);if(s){let c=I("cdn"),h={name:a,scope:u,version:t.cacheVersion,requestMap:{},cache:s,buildVariant:f,normalized:c};await Promise.all(t.dynamicFiles.map(t=>eC(t,h,e,!0)));let v=t.staticFiles,m=v.length;if(p){let e=await eL(r,h,t.staticFiles);v=v.filter(t=>!e.has(t))}let g=0,y=e.successRatio??1,b=e.chunkSize??100;for(let t=0;t<v.length;t+=b){let n=v.slice(t,t+b),r=(await Promise.allSettled(n.map(t=>eC(t,h,e,!1)))).filter(e=>"rejected"===e.status);if(g+=r.length,(m-g)/m<y)throw r[0].reason}d=l?"UpdateReady":"Cached",await es(u,h,n)?i=o.toString():d="NoQuota"}else d="NoCache"}a=await eN(t,r?.cache),c.addData("FilesDiff",a),c.addData("FilesTotal",String(t.staticFiles.length)),c.addData("Variant",f),h&&c.addData("OldVariant",h),c.addData("ExistingCache",p?"true":"false")}catch(e){d=ea[u]?"Idle":"Uncached",f=_(g,e.message)||_(y,e.message)?"UserError":e.resource?e.status?"ServerError":"UserError":"ClientError",r=e}finally{q(`Status=${f},Result=${d},FilesDiff=${a},Resource=${i}`,r),eI(u,{status:"Success"==f?C.CacheInstalled:C.CacheFailed,resource:i,updateResult:d,cacheVersion:o}),c.addData("Result",d),c.end(f,r),s()}}async function eL(e,t,n){let r=new Set,i=n.map(async n=>{let i=eO(n),o=await Q(i,e.cache);o&&(await eA(o,t,i,!1),r.add(n))});return await Promise.allSettled(i),r}async function eN(e,t){if(!t)return""+e.staticFiles.length;let n=new Set(function*(e){for(let t of e)yield t.url}(await t.keys()));return""+e.staticFiles.filter(e=>!n.has(eO(e))).length}async function ej(){if(self.initialManifest){q("Found initial manifest",self.initialManifest);let e=await Y(A);if(e){let t=await e.match("/clientmessage").then(e=>e?.json());q("Install message from cache",t),t&&(await eM(t,self.initialManifest,"install"),q(`Trying to delete ${A} cache`),await X(A))}}else q("No initial manifest")}async function eU(){let e=await ep(),t=e?.cacheVersion===3,n=e?.swVersion===33;if(t&&n){q("No upgrade needed");return}if(!t){q("Upgrading cache schema");let e=await et();await Promise.all(e.map(e=>X(e)))}let r=await Y(p);r&&await G(r,v,{swVersion:33,cacheVersion:3})}async function eB(){let e=self.registration.navigationPreload;e&&(await e.getState()).enabled?(q("Trying to disable navigation preload"),await e.disable()):q("Navigation preload is not available")}let eF={mail:"mail",calendar:"mail",files:"mail",opx:"Opx",places:"places",semanticoverview:"immersivebizchat"},eW={outlookextension:"miniExtension",outlooklite:"miniNative"},eq={book:!0,bookwithme:!0,eventify:!0,findtime:!0,meet:!0,places:!0};function e$(e){return q(`Redirecting to ${e}`),Promise.resolve(new Response("",{status:302,headers:{"Content-Type":"text/html",Date:new Date().toUTCString(),Location:e}}))}function eV(e){return e.hostname.includes(".live.com")}let eK=["owa","mail","calendar"],eZ=["/myday","/calendarwidget","/insights"],eH="X-Message-Count",ez="X-Folder-Count",eG="X-Calendar-Folders",eJ=null;async function eQ(e){eJ=e;let t=await Y(p);t&&G(t,m,e)}async function eY(){if(eJ)return eJ;let e=await Y(p);if(e){let t=await J(e,m);return t&&(eJ=t),t||{}}return{}}let eX=[e=>1==e.length&&!isNaN(parseInt(e)),e=>/.+@.+/.test(e)];async function e0(e,t){let n=t.search.indexOf("nativeVersion=")>-1;if("mail"==e||n){q(`Calling PreloadSessionData with ${e}`);let r=new Headers;n&&r.append("x-native-host","true");let{windowHeight:i,initialFolders:o,hostApp:a,hostedUx:s,hostedScenario:u}=await eY();s&&(r.append("x-owa-hosted-ux",s),"true"==s&&(r.append("x-owa-host-app",a||"undefined"),u&&r.append("x-owa-hosted-scenario",u))),function(e,t,n){var r;e.append("X-Js-Experiment","5");let{initialFolders:i,windowHeight:o}=n;!t||t.toLowerCase().startsWith("/mail")?(o&&e.append(eH,`${function(e){let t=Math.ceil((e+250)/29);return t<10?10:t}(o)}`),i&&e.append(ez,i)):(e.append(ez,"0"),e.append(eH,"0"),((t=t.toLowerCase()).startsWith("/calendar")||t.startsWith("/hosted/calendar"))&&(e.append(eG,"1"),e.append("X-Calculate-Range-From-ViewType","1"),e.append("X-Calendar-View",(r=t).includes("/day")?"1":r.includes("/week")?"2":r.includes("/workweek")?"3":r.includes("/month")?"4":"0")),t.startsWith("/opx")&&eZ.some(e=>t.includes(e))&&e.append(eG,"1"))}(r,t.pathname,{windowHeight:i,initialFolders:o});let l="/owa/",c=t.pathname.split("/")[2];c&&eX.some(e=>e(c))&&(l+=c+"/"),fetch(l+"PreloadSessionData.ashx?app=mail",{method:"POST",headers:r}).catch(()=>{})}}let e1=RegExp(/.*iP(hone|od|ad)|Android|Mobile|KAIOS.*/,"i"),e2=e=>!!e&&e1.test(e);async function e3(e,t=!1){if("navigate"===e.request.mode&&!t)return e8(e);let n=e.request.url,r=el(n);return Q(R(n,r?.normalized),r?.cache)}async function e8(e){let t=new URL(e.request.url),n=t.pathname.toLowerCase();if("/"===n&&""===t.search)return e$(`/mail/${eV(t)?"0/":""}`);let r=function(e){let t=e.pathname.split("/"),n=t[1].toLowerCase(),r=eK.indexOf(n)>-1,i="owa"==n;if(eV(e)&&!i){let i=2==t.length,o=3==t.length&&""==t[2],a=t.length>=3&&("0"==t[2]||"1"==t[2]),s=3==t.length&&a,u=s?t[2]:"0";if(r&&(i||o||s))return"/"+n+"/"+u+"/"+e.search}return 2==t.length&&""==t[0]&&r?"/"+n+"/"+e.search:null}(t);if(r)return e$(r);let i=V(`Handle Navigation Fetch ${e.request.url}`),o=null;if(0!==n.indexOf("/owa")){let n=e.request.headers,r=e2(n?.get("user-agent"));o=(n?.get("x-application")==="EdgeHub"?"miniEdge":null)||function(e,t=!1){let n=e.pathname.toLowerCase();if(0==n.indexOf("/owa"))return null;let r=n.split("/").filter(e=>e),i="hosted"===r[0],o=i?r[1]:r[0];if(i&&"calendar"==o)return"hostedCalendar";let a=e.searchParams.get("hostApp");return a&&eW[a]?eW[a]:e.search.toLowerCase().indexOf("isextension")>-1?"miniEdge":r.length>0&&r[r.length-1].indexOf(".")>-1?null:!t||r.includes("opxdeeplink")||eq[o]?"opxdeeplink"==r[1]||"opxdeeplink"==r[2]?"calendar"==o?"calendarDeepOpx":null:("deeplink"==r[1]||"deeplink"==r[2])&&e.search?.indexOf("popoutv2")>-1&&eF[o]||"opx"==r[1]||"deeplink"==r[1]||-1!=n.indexOf("@")&&"semanticoverview"!==o?null:eF[o]||null:"miniApp"}(t,r)}if(o){I("presdv2")&&e0(o,t);let e=eg(o),n=ea[o],r=function(e){if("function"==typeof URLSearchParams){let t=new URLSearchParams(e.search);return t.get("version")||t.get("branch")}return null}(t);return r?(q(`Found version override ${r}`),n&&n.version==r)?(q(`Matching with ${n.name} cache`),i(),Q(e,n.cache)):(q("Version is not in cache"),void i()):(q(`Matching navigate on ${n?n.name:"global"} cache with ${e}`),i(),Q(e,n?.cache))}q(`No request found:scope=${o}`),i()}let e5=new Set(["oobe","auth","m365ChatSSO"]),e4={bo:1,authredirect:1,layout:1,animation:1,allow:1,offline:1,ispopout:1,debugjs:1,cvero:1,ae:1,gulp:1,branch:1,features:1,livepersonacardversionoverride:1,midgardtestendpoint:1,cspoff:1,bootflights:1,appendbootflights:1,removebootflights:1,login_hint:1,prompt:1,jitexp:1,popoutv2:1,version:1,variant:1,ori:1};function e6(e,t,n=!1){if(!t)return"Missing";if(!t.headers)return q(`No headers for ${e.url}`),"Headers";if(n)return"Valid";let r=t.headers.get("date");if(!r)return q(`No date header for ${e.url}`),"Headers";let i=new Date(r),o=i.setDate(i.getDate()+30);return Date.now()>o?(q(`Date header is expired for ${e.url}`),"Expired"):"Valid"}async function e9(e,t){let n=t,r=e6(e,t,!0),i="";if(!n)try{n=await self.fetch(e),await n.text();let t=self.performance?.getEntriesByName?.(e.url)[0];t?.transferSize!=void 0&&t.decodedBodySize>0&&(i=t.transferSize>0?"NoCache":"BrowserCache")}catch{i="Unknown",n=new Response("/* From Service Worker */",{status:200,statusText:"OK",headers:new Headers({"Content-Type":"application/javascript",Date:new Date().toUTCString()})})}let o=new Headers(n.headers??{});o.append(eb,"33"),"Valid"===r&&o.append(ew,"1"),o.append(eS,r);let a=t?.headers?.get("date")?Date.now()-Date.parse(t?.headers?.get("date")??""):0;return o.append(ex,a+""),o.append(eE,i),new Response("/* From Service Worker */",{status:n.status,statusText:n.statusText,headers:o})}async function e7(e,t,n=!1){let r=e.request;if(n&&r.url.includes("analytics-ping.js"))return e9(r,t);let i=e6(r,t,n);return t&&"Valid"===i?(q(`Cache hit ${r.mode} ${r.url} from cache.`),t):self.fetch(r)}let te=new RegExp(/\.(js|woff2?|ttf|css|json|graphql|svg)$/i),tt=new RegExp(/^\w+:\/\/[\w.-]*\/local/i),tn=!1,tr=self.navigator.connection;function ti(e){return e>=200&&e<300}tr&&(tr.onchange=()=>{self.navigator.onLine&&tn&&(q("Refreshing all clients"),self.clients.matchAll().then(e=>{for(let t=0;t<e.length;++t)try{e[t].navigate(".")}catch{}})),tn=!1});let to="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ta=Object.keys,ts=Array.isArray;function tu(e,t){return"object"!=typeof t||ta(t).forEach(function(n){e[n]=t[n]}),e}"undefined"==typeof Promise||to.Promise||(to.Promise=Promise);let tl=Object.getPrototypeOf,tc={}.hasOwnProperty;function tf(e,t){return tc.call(e,t)}function td(e,t){"function"==typeof t&&(t=t(tl(e))),("undefined"==typeof Reflect?ta:Reflect.ownKeys)(t).forEach(n=>{tp(e,n,t[n])})}let th=Object.defineProperty;function tp(e,t,n,r){th(e,t,tu(n&&tf(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function tv(e){return{from:function(t){return e.prototype=Object.create(t.prototype),tp(e.prototype,"constructor",e),{extend:td.bind(null,e.prototype)}}}}let tm=Object.getOwnPropertyDescriptor;function tg(e,t){let n;return tm(e,t)||(n=tl(e))&&tg(n,t)}let ty=[].slice;function tb(e,t,n){return ty.call(e,t,n)}function t_(e,t){return t(e)}function tw(e){if(!e)throw Error("Assertion Failed")}function tS(e){to.setImmediate?setImmediate(e):setTimeout(e,0)}function tx(e,t){if(tf(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var n=[],r=0,i=t.length;r<i;++r){var o=tx(e,t[r]);n.push(o)}return n}var a=t.indexOf(".");if(-1!==a){var s=e[t.substr(0,a)];return void 0===s?void 0:tx(s,t.substr(a+1))}}function tE(e,t,n){if(e&&void 0!==t&&(!("isFrozen"in Object)||!Object.isFrozen(e))){if("string"!=typeof t&&"length"in t){tw("string"!=typeof n&&"length"in n);for(var r=0,i=t.length;r<i;++r)tE(e,t[r],n[r])}else{var o=t.indexOf(".");if(-1!==o){var a=t.substr(0,o),s=t.substr(o+1);if(""===s)void 0===n?ts(e)&&!isNaN(parseInt(a))?e.splice(a,1):delete e[a]:e[a]=n;else{var u=e[a];u&&tf(e,a)||(u=e[a]={}),tE(u,s,n)}}else void 0===n?ts(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}}function tk(e){var t={};for(var n in e)tf(e,n)&&(t[n]=e[n]);return t}let tC=[].concat;function tA(e){return tC.apply([],e)}let tO=new Set("Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(tA([8,16,32,64].map(e=>["Int","Uint","Float"].map(t=>t+e+"Array")))).filter(e=>to[e]).map(e=>to[e])),tI=null;function tP(e){tI=new WeakMap;let t=function e(t){if(!t||"object"!=typeof t)return t;let n=tI.get(t);if(n)return n;if(ts(t)){n=[],tI.set(t,n);for(var r=0,i=t.length;r<i;++r)n.push(e(t[r]))}else if(tO.has(t.constructor))n=t;else{let r=tl(t);for(var o in n=r===Object.prototype?{}:Object.create(r),tI.set(t,n),t)tf(t,o)&&(n[o]=e(t[o]))}return n}(e);return tI=null,t}let{toString:tT}={};function tR(e){return tT.call(e).slice(8,-1)}let tD="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",tM="symbol"==typeof tD?function(e){var t;return null!=e&&(t=e[tD])&&t.apply(e)}:function(){return null};function tL(e,t){let n=e.indexOf(t);return n>=0&&e.splice(n,1),n>=0}let tN={};function tj(e){var t,n,r,i;if(1==arguments.length){if(ts(e))return e.slice();if(this===tN&&"string"==typeof e)return[e];if(i=tM(e)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return n}let tU="undefined"!=typeof Symbol?e=>"AsyncFunction"===e[Symbol.toStringTag]:()=>!1;var tB="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href),tF=()=>!0;let tW=!Error("").stack;function tq(){if(tW)try{throw tq.arguments,Error()}catch(e){return e}return Error()}function t$(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(tF).map(e=>"\n"+e).join("")):""}var tV=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],tK=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(tV),tZ={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function tH(e,t){this._e=tq(),this.name=e,this.message=t}function tz(e,t){return e+". Errors: "+Object.keys(t).map(e=>t[e].toString()).filter((e,t,n)=>n.indexOf(e)===t).join("\n")}function tG(e,t,n,r){this._e=tq(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=tz(e,t)}function tJ(e,t){this._e=tq(),this.name="BulkError",this.failures=Object.keys(t).map(e=>t[e]),this.failuresByPos=t,this.message=tz(e,this.failures)}tv(tH).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+t$(this._e,2))}},toString:function(){return this.name+": "+this.message}}),tv(tG).from(tH),tv(tJ).from(tH);var tQ=tK.reduce((e,t)=>(e[t]=t+"Error",e),{}),tY=tK.reduce((e,t)=>{var n=t+"Error";function r(e,r){this._e=tq(),this.name=n,e?"string"==typeof e?(this.message=`${e}${r?"\n "+r:""}`,this.inner=r||null):"object"==typeof e&&(this.message=`${e.name} ${e.message}`,this.inner=e):(this.message=tZ[t]||n,this.inner=null)}return tv(r).from(tH),e[t]=r,e},{});tY.Syntax=SyntaxError,tY.Type=TypeError,tY.Range=RangeError;var tX=tV.reduce((e,t)=>(e[t+"Error"]=tY[t],e),{}),t0=tK.reduce((e,t)=>(-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=tY[t]),e),{});function t1(){}function t2(e){return e}function t3(e,t){return null==e||e===t2?t:function(n){return t(e(n))}}function t8(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function t5(e,t){return e===t1?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?t8(r,this.onsuccess):r),i&&(this.onerror=this.onerror?t8(i,this.onerror):i),void 0!==o?o:n}}function t4(e,t){return e===t1?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?t8(n,this.onsuccess):n),r&&(this.onerror=this.onerror?t8(r,this.onerror):r)}}function t6(e,t){return e===t1?t:function(n){var r=e.apply(this,arguments);tu(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?t8(i,this.onsuccess):i),o&&(this.onerror=this.onerror?t8(o,this.onerror):o),void 0===r?void 0===a?void 0:a:tu(r,a)}}function t9(e,t){return e===t1?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function t7(e,t){return e===t1?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}t0.ModifyError=tG,t0.DexieError=tH,t0.BulkError=tJ;var ne={};let[nt,nn,nr]="undefined"==typeof Promise?[]:(()=>{let e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,tl(e),e];let t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,tl(t),e]})(),ni=nn&&nn.then,no=nt&&nt.constructor,na=!!nr;var ns=!1,nu=nr?()=>{nr.then(nI)}:to.setImmediate?setImmediate.bind(null,nI):to.MutationObserver?()=>{var e=document.createElement("div");new MutationObserver(()=>{nI(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:()=>{setTimeout(nI,0)},nl=function(e,t){ny.push([e,t]),nf&&(nu(),nf=!1)},nc=!0,nf=!0,nd=[],nh=[],np=null,nv=t2,nm={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:t1,pgp:!1,env:{},finalize:t1},ng=nm,ny=[],nb=0,n_=[];function nw(e){if("object"!=typeof this)throw TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var t=this._PSD=ng;if(tB&&(this._stackHolder=tq(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==ne)throw TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&nE(this,this._value))}this._state=null,this._value=null,++t.ref,function e(t,n){try{n(n=>{if(null===t._state){if(n===t)throw TypeError("A promise cannot be resolved with itself.");var r=t._lib&&nP();n&&"function"==typeof n.then?e(t,(e,t)=>{n instanceof nw?n._then(e,t):n.then(e,t)}):(t._state=!0,t._value=n,nk(t)),r&&nT()}},nE.bind(null,t))}catch(e){nE(t,e)}}(this,e)}let nS={get:function(){var e=ng,t=nB;function n(n,r){var i=!e.global&&(e!==ng||t!==nB);let o=i&&!n$();var a=new nw((t,a)=>{nC(this,new nx(nJ(n,e,i,o),nJ(r,e,i,o),t,a,e))});return tB&&nO(a,this),a}return n.prototype=ne,n},set:function(e){tp(this,"then",e&&e.prototype===ne?nS:{get:function(){return e},set:nS.set})}};function nx(e,t,n,r,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=i}function nE(e,t){if(nh.push(t),null===e._state){var n=e._lib&&nP();t=nv(t),e._state=!1,e._value=t,tB&&null!==t&&"object"==typeof t&&!t._promise&&function(e,t,n){try{e.apply(null,void 0)}catch(e){}}(()=>{var n=tg(t,"stack");t._promise=e,tp(t,"stack",{get:()=>ns?n&&(n.get?n.get.apply(t):n.value):e.stack})}),nd.some(t=>t._value===e._value)||nd.push(e),nk(e),n&&nT()}}function nk(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)nC(e,t[n]);var i=e._PSD;--i.ref||i.finalize(),0===nb&&(++nb,nl(()=>{0==--nb&&nR()},[]))}function nC(e,t){if(null!==e._state){var n=e._state?t.onFulfilled:t.onRejected;if(null===n)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++nb,nl(nA,[n,e,t])}else e._listeners.push(t)}function nA(e,t,n){try{np=t;var r,i=t._value;t._state?r=e(i):(nh.length&&(nh=[]),r=e(i),-1===nh.indexOf(i)&&function(e){for(var t=nd.length;t;)if(nd[--t]._value===e._value)return void nd.splice(t,1)}(t)),n.resolve(r)}catch(e){n.reject(e)}finally{np=null,0==--nb&&nR(),--n.psd.ref||n.psd.finalize()}}function nO(e,t){var n=t?t._numPrev+1:0;n<100&&(e._prev=t,e._numPrev=n)}function nI(){nP()&&nT()}function nP(){var e=nc;return nc=!1,nf=!1,e}function nT(){var e,t,n;do for(;ny.length>0;)for(e=ny,ny=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(ny.length>0)nc=!0,nf=!0}function nR(){var e=nd;nd=[],e.forEach(e=>{e._PSD.onunhandled.call(null,e._value,e)});for(var t=n_.slice(0),n=t.length;n;)t[--n]()}function nD(e){return new nw(ne,!1,e)}function nM(e,t){var n=ng;return function(){var r=nP(),i=ng;try{return nH(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{nH(i,!1),r&&nT()}}}td(nw.prototype,{then:nS,_then:function(e,t){nC(this,new nx(null,null,e,t,ng))},catch:function(e){if(1==arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,e=>e instanceof t?n(e):nD(e)):this.then(null,e=>e&&e.name===t?n(e):nD(e))},finally:function(e){return this.then(t=>(e(),t),t=>(e(),nD(t)))},stack:{get:function(){if(this._stack)return this._stack;try{ns=!0;var e=(function e(t,n,r){if(n.length===r)return n;var i="";if(!1===t._state){var o,a,s=t._value;null!=s?(o=s.name||"Error",a=s.message||s,i=t$(s,0)):(o=s,a=""),n.push(o+(a?": "+a:"")+i)}return tB&&((i=t$(t._stackHolder,2))&&-1===n.indexOf(i)&&n.push(i),t._prev&&e(t._prev,n,r)),n})(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{ns=!1}}},timeout:function(e,t){return e<1/0?new nw((n,r)=>{var i=setTimeout(()=>r(new tY.Timeout(t)),e);this.then(n,r).finally(clearTimeout.bind(null,i))}):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&tp(nw.prototype,Symbol.toStringTag,"Dexie.Promise"),nm.env=nz(),td(nw,{all:function(){var e=tj.apply(null,arguments).map(nV);return new nw(function(t,n){0===e.length&&t([]);var r=e.length;e.forEach((i,o)=>nw.resolve(i).then(n=>{e[o]=n,--r||t(e)},n))})},resolve:e=>{if(e instanceof nw)return e;if(e&&"function"==typeof e.then)return new nw((t,n)=>{e.then(t,n)});var t=new nw(ne,!0,e);return nO(t,np),t},reject:nD,race:function(){var e=tj.apply(null,arguments).map(nV);return new nw((t,n)=>{e.map(e=>nw.resolve(e).then(t,n))})},PSD:{get:()=>ng,set:e=>ng=e},totalEchoes:{get:()=>nB},newPSD:nW,usePSD:nG,scheduler:{get:()=>nl,set:e=>{nl=e}},rejectionMapper:{get:()=>nv,set:e=>{nv=e}},follow:(e,t)=>new nw((n,r)=>nW((t,n)=>{var r=ng;r.unhandleds=[],r.onunhandled=n,r.finalize=t8(function(){var e;e=()=>{0===this.unhandleds.length?t():n(this.unhandleds[0])},n_.push(function t(){e(),n_.splice(n_.indexOf(t),1)}),++nb,nl(()=>{0==--nb&&nR()},[])},r.finalize),e()},t,n,r))}),no&&(no.allSettled&&tp(nw,"allSettled",function(){let e=tj.apply(null,arguments).map(nV);return new nw(t=>{0===e.length&&t([]);let n=e.length,r=Array(n);e.forEach((e,i)=>nw.resolve(e).then(e=>r[i]={status:"fulfilled",value:e},e=>r[i]={status:"rejected",reason:e}).then(()=>--n||t(r)))})}),no.any&&"undefined"!=typeof AggregateError&&tp(nw,"any",function(){let e=tj.apply(null,arguments).map(nV);return new nw((t,n)=>{0===e.length&&n(AggregateError([]));let r=e.length,i=Array(r);e.forEach((e,o)=>nw.resolve(e).then(e=>t(e),e=>{i[o]=e,--r||n(AggregateError(i))}))})}));let nL={awaits:0,echoes:0,id:0};var nN=0,nj=[],nU=0,nB=0,nF=0;function nW(e,t,n,r){var i=ng,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++nF;var a=nm.env;o.env=na?{Promise:nw,PromiseProp:{value:nw,configurable:!0,writable:!0},all:nw.all,race:nw.race,allSettled:nw.allSettled,any:nw.any,resolve:nw.resolve,reject:nw.reject,nthen:nQ(a.nthen,o),gthen:nQ(a.gthen,o)}:{},t&&tu(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=nG(o,e,n,r);return 0===o.ref&&o.finalize(),s}function nq(){return nL.id||(nL.id=++nN),++nL.awaits,nL.echoes+=100,nL.id}function n$(){return!!nL.awaits&&(0==--nL.awaits&&(nL.id=0),nL.echoes=100*nL.awaits,!0)}function nV(e){return nL.echoes&&e&&e.constructor===no?(nq(),e.then(e=>(n$(),e),e=>(n$(),nY(e)))):e}function nK(e){++nB,nL.echoes&&0!=--nL.echoes||(nL.echoes=nL.id=0),nj.push(ng),nH(e,!0)}function nZ(){var e=nj[nj.length-1];nj.pop(),nH(e,!1)}function nH(e,t){var n,r=ng;if((t?!nL.echoes||nU++&&e===ng:!nU||--nU&&e===ng)||(n=t?nK.bind(null,e):nZ,ni.call(nt,n)),e!==ng&&(ng=e,r===nm&&(nm.env=nz()),na)){var i=nm.env.Promise,o=e.env;nn.then=o.nthen,i.prototype.then=o.gthen,(r.global||e.global)&&(Object.defineProperty(to,"Promise",o.PromiseProp),i.all=o.all,i.race=o.race,i.resolve=o.resolve,i.reject=o.reject,o.allSettled&&(i.allSettled=o.allSettled),o.any&&(i.any=o.any))}}function nz(){var e=to.Promise;return na?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(to,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:nn.then,gthen:e.prototype.then}:{}}function nG(e,t,n,r,i){var o=ng;try{return nH(e,!0),t(n,r,i)}finally{nH(o,!1)}}function nJ(e,t,n,r){return"function"!=typeof e?e:function(){var i,o=ng;n&&nq(),nH(t,!0);try{return e.apply(this,arguments)}finally{nH(o,!1),r&&(i=n$,ni.call(nt,i))}}}function nQ(e,t){return function(n,r){return e.call(this,nJ(n,t),nJ(r,t))}}-1===(""+ni).indexOf("[native code]")&&(nq=n$=t1);var nY=nw.reject;let nX=String.fromCharCode(65535),n0="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",n1=[],n2="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),n3=e=>!/(dexie\.js|dexie\.min\.js)/.test(e);function n8(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}let n5={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function n4(e){return"string"!=typeof e||/\./.test(e)?e=>e:t=>(void 0===t[e]&&e in t&&delete(t=tP(t))[e],t)}function n6(){throw tY.Type()}function n9(e,t){try{let n=n7(e),r=n7(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return e>t?1:e<t?-1:0;case"binary":return function(e,t){let n=e.length,r=t.length,i=n<r?n:r;for(let n=0;n<i;++n)if(e[n]!==t[n])return e[n]<t[n]?-1:1;return n===r?0:n<r?-1:1}(re(e),re(t));case"Array":return function(e,t){let n=e.length,r=t.length,i=n<r?n:r;for(let n=0;n<i;++n){let r=n9(e[n],t[n]);if(0!==r)return r}return n===r?0:n<r?-1:1}(e,t)}}catch(e){}return NaN}function n7(e){let t=typeof e;if("object"!==t)return t;if(ArrayBuffer.isView(e))return"binary";let n=tR(e);return"ArrayBuffer"===n?"binary":n}function re(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e)}class rt{_trans(e,t,n){let r=this._tx||ng.trans,i=this.name;function o(e,n,r){if(!r.schema[i])throw new tY.NotFound("Table "+i+" not part of transaction");return t(r.idbtrans,r)}let a=nP();try{return r&&r.db===this.db?r===ng.trans?r._promise(e,o,n):nW(()=>r._promise(e,o,n),{trans:r,transless:ng.transless||ng}):function e(t,n,r,i){if(t.idbdb&&(t._state.openComplete||ng.letThrough||t._vip)){var o=t._createTransaction(n,r,t._dbSchema);try{o.create(),t._state.PR1398_maxLoop=3}catch(o){return o.name===tQ.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(t._close(),t.open().then(()=>e(t,n,r,i))):nY(o)}return o._promise(n,(e,t)=>nW(()=>(ng.trans=o,i(e,t,o)))).then(e=>{if("readwrite"===n)try{o.idbtrans.commit()}catch(e){}return"readonly"===n?e:o._completion.then(()=>e)})}if(t._state.openComplete)return nY(new tY.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return nY(new tY.DatabaseClosed);t.open().catch(t1)}return t._state.dbReadyPromise.then(()=>e(t,n,r,i))}(this.db,e,[this.name],o)}finally{a&&nT()}}get(e,t){return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",t=>this.core.get({trans:t,key:e}).then(e=>this.hook.reading.fire(e))).then(t)}where(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(ts(e))return new this.db.WhereClause(this,`[${e.join("+")}]`);let t=ta(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);let n=this.schema.indexes.concat(this.schema.primKey).filter(e=>{if(e.compound&&t.every(t=>e.keyPath.indexOf(t)>=0)){for(let n=0;n<t.length;++n)if(-1===t.indexOf(e.keyPath[n]))return!1;return!0}return!1}).sort((e,t)=>e.keyPath.length-t.keyPath.length)[0];if(n&&this.db._maxKey!==nX){let r=n.keyPath.slice(0,t.length);return this.where(r).equals(r.map(t=>e[t]))}let{idxByName:r}=this.schema,i=this.db._deps.indexedDB;function o(e,t){return 0===i.cmp(e,t)}let[a,s]=t.reduce(([t,n],i)=>{let a=r[i],s=e[i];return[t||a,t||!a?n8(n,a&&a.multi?e=>{let t=tx(e,i);return ts(t)&&t.some(e=>o(s,e))}:e=>o(s,tx(e,i))):n]},[null,null]);return a?this.where(a.name).equals(e[a.keyPath]).filter(s):n?this.filter(s):this.where(t).equals("")}filter(e){return this.toCollection().and(e)}count(e){return this.toCollection().count(e)}offset(e){return this.toCollection().offset(e)}limit(e){return this.toCollection().limit(e)}each(e){return this.toCollection().each(e)}toArray(e){return this.toCollection().toArray(e)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(e){return new this.db.Collection(new this.db.WhereClause(this,ts(e)?`[${e.join("+")}]`:e))}reverse(){return this.toCollection().reverse()}mapToClass(e){let{db:t,name:n}=this;this.schema.mappedClass=e,e.prototype instanceof n6&&(e=class extends e{get db(){return t}table(){return n}});let r=new Set;for(let t=e.prototype;t;t=tl(t))Object.getOwnPropertyNames(t).forEach(e=>r.add(e));let i=t=>{if(!t)return t;let n=Object.create(e.prototype);for(let e in t)if(!r.has(e))try{n[e]=t[e]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=i,this.hook("reading",i),e}defineClass(){return this.mapToClass(function(e){tu(this,e)})}add(e,t){let{auto:n,keyPath:r}=this.schema.primKey,i=e;return r&&n&&(i=n4(r)(e)),this._trans("readwrite",e=>this.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[i]})).then(e=>e.numFailures?nw.reject(e.failures[0]):e.lastResult).then(t=>{if(r)try{tE(e,r,t)}catch(e){}return t})}update(e,t){if("object"!=typeof e||ts(e))return this.where(":id").equals(e).modify(t);{let n=tx(e,this.schema.primKey.keyPath);return void 0===n?nY(new tY.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(n).modify(t)}}put(e,t){let{auto:n,keyPath:r}=this.schema.primKey,i=e;return r&&n&&(i=n4(r)(e)),this._trans("readwrite",e=>this.core.mutate({trans:e,type:"put",values:[i],keys:null!=t?[t]:null})).then(e=>e.numFailures?nw.reject(e.failures[0]):e.lastResult).then(t=>{if(r)try{tE(e,r,t)}catch(e){}return t})}delete(e){return this._trans("readwrite",t=>this.core.mutate({trans:t,type:"delete",keys:[e]})).then(e=>e.numFailures?nw.reject(e.failures[0]):void 0)}clear(){return this._trans("readwrite",e=>this.core.mutate({trans:e,type:"deleteRange",range:n5})).then(e=>e.numFailures?nw.reject(e.failures[0]):void 0)}bulkGet(e){return this._trans("readonly",t=>this.core.getMany({keys:e,trans:t}).then(e=>e.map(e=>this.hook.reading.fire(e))))}bulkAdd(e,t,n){let r=Array.isArray(t)?t:void 0,i=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",t=>{let{auto:n,keyPath:o}=this.schema.primKey;if(o&&r)throw new tY.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new tY.InvalidArgument("Arguments objects and keys must have the same length");let a=e.length,s=o&&n?e.map(n4(o)):e;return this.core.mutate({trans:t,type:"add",keys:r,values:s,wantResults:i}).then(({numFailures:e,results:t,lastResult:n,failures:r})=>{if(0===e)return i?t:n;throw new tJ(`${this.name}.bulkAdd(): ${e} of ${a} operations failed`,r)})})}bulkPut(e,t,n){let r=Array.isArray(t)?t:void 0,i=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",t=>{let{auto:n,keyPath:o}=this.schema.primKey;if(o&&r)throw new tY.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new tY.InvalidArgument("Arguments objects and keys must have the same length");let a=e.length,s=o&&n?e.map(n4(o)):e;return this.core.mutate({trans:t,type:"put",keys:r,values:s,wantResults:i}).then(({numFailures:e,results:t,lastResult:n,failures:r})=>{if(0===e)return i?t:n;throw new tJ(`${this.name}.bulkPut(): ${e} of ${a} operations failed`,r)})})}bulkUpdate(e){let t=this.core,n=e.map(e=>e.key),r=e.map(e=>e.changes),i=[];return this._trans("readwrite",o=>t.getMany({trans:o,keys:n,cache:"clone"}).then(a=>{let s=[],u=[];e.forEach(({key:e,changes:t},n)=>{let r=a[n];if(r){for(let n of Object.keys(t)){let i=t[n];if(n===this.schema.primKey.keyPath){if(0!==n9(i,e))throw new tY.Constraint("Cannot update primary key in bulkUpdate()")}else tE(r,n,i)}i.push(n),s.push(e),u.push(r)}});let l=s.length;return t.mutate({trans:o,type:"put",keys:s,values:u,updates:{keys:n,changeSpecs:r}}).then(({numFailures:e,failures:t})=>{if(0===e)return l;for(let e of Object.keys(t)){let n=i[Number(e)];if(null!=n){let r=t[e];delete t[e],t[n]=r}}throw new tJ(`${this.name}.bulkUpdate(): ${e} of ${l} operations failed`,t)})}))}bulkDelete(e){let t=e.length;return this._trans("readwrite",t=>this.core.mutate({trans:t,type:"delete",keys:e})).then(({numFailures:e,lastResult:n,failures:r})=>{if(0===e)return n;throw new tJ(`${this.name}.bulkDelete(): ${e} of ${t} operations failed`,r)})}}function rn(e){var t={},n=function(n,r){if(r){for(var i=arguments.length,o=Array(i-1);--i;)o[i-1]=arguments[i];return t[n].subscribe.apply(null,o),e}if("string"==typeof n)return t[n]};n.addEventType=o;for(var r=1,i=arguments.length;r<i;++r)o(arguments[r]);return n;function o(e,r,i){if("object"==typeof e)return function(e){ta(e).forEach(function(t){var n=e[t];if(ts(n))o(t,e[t][0],e[t][1]);else{if("asap"!==n)throw new tY.InvalidArgument("Invalid event config");var r=o(t,t2,function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];r.subscribers.forEach(function(e){tS(function(){e.apply(null,t)})})})}})}(e);r||(r=t9),i||(i=t1);var a={subscribers:[],fire:i,subscribe:function(e){-1===a.subscribers.indexOf(e)&&(a.subscribers.push(e),a.fire=r(a.fire,e))},unsubscribe:function(e){a.subscribers=a.subscribers.filter(function(t){return t!==e}),a.fire=a.subscribers.reduce(r,i)}};return t[e]=n[e]=a,a}}function rr(e,t){return tv(t).from({prototype:e}),t}function ri(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function ro(e,t){e.filter=n8(e.filter,t)}function ra(e,t,n){var r=e.replayFilter;e.replayFilter=r?()=>n8(r(),t()):t,e.justLimit=n&&!r}function rs(e,t){if(e.isPrimKey)return t.primaryKey;let n=t.getIndexByKeyPath(e.index);if(!n)throw new tY.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function ru(e,t,n){let r=rs(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:"prev"===e.dir,unique:!!e.unique,query:{index:r,range:e.range}})}function rl(e,t,n,r){let i=e.replayFilter?n8(e.filter,e.replayFilter()):e.filter;if(e.or){let o={},a=(e,n,r)=>{if(!i||i(n,r,e=>n.stop(e),e=>n.fail(e))){var a=n.primaryKey,s=""+a;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(a)),tf(o,s)||(o[s]=!0,t(e,n,r))}};return Promise.all([e.or._iterate(a,n),rc(ru(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}return rc(ru(e,r,n),n8(e.algorithm,i),t,!e.keysOnly&&e.valueMapper)}function rc(e,t,n,r){var i=nM(r?(e,t,i)=>n(r(e),t,i):n);return e.then(e=>{if(e)return e.start(()=>{var n=()=>e.continue();t&&!t(e,e=>n=e,t=>{e.stop(t),n=t1},t=>{e.fail(t),n=t1})||i(e.value,e,e=>n=e),n()})})}class rf{_read(e,t){var n=this._ctx;return n.error?n.table._trans(null,nY.bind(null,n.error)):n.table._trans("readonly",e).then(t)}_write(e){var t=this._ctx;return t.error?t.table._trans(null,nY.bind(null,t.error)):t.table._trans("readwrite",e,"locked")}_addAlgorithm(e){var t=this._ctx;t.algorithm=n8(t.algorithm,e)}_iterate(e,t){return rl(this._ctx,e,t,this._ctx.table.core)}clone(e){var t=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return e&&tu(n,e),t._ctx=n,t}raw(){return this._ctx.valueMapper=null,this}each(e){var t=this._ctx;return this._read(n=>rl(t,e,n,t.table.core))}count(e){return this._read(e=>{let t=this._ctx,n=t.table.core;if(ri(t,!0))return n.count({trans:e,query:{index:rs(t,n.schema),range:t.range}}).then(e=>Math.min(e,t.limit));var r=0;return rl(t,()=>(++r,!1),e,n).then(()=>r)}).then(e)}sortBy(e,t){let n=e.split(".").reverse(),r=n[0],i=n.length-1;function o(e,t){return t?o(e[n[t]],t-1):e[r]}var a="next"===this._ctx.dir?1:-1;function s(e,t){var n=o(e,i),r=o(t,i);return n<r?-a:n>r?a:0}return this.toArray(function(e){return e.sort(s)}).then(t)}toArray(e){return this._read(e=>{var t=this._ctx;if("next"===t.dir&&ri(t,!0)&&t.limit>0){let{valueMapper:n}=t,r=rs(t,t.table.core.schema);return t.table.core.query({trans:e,limit:t.limit,values:!0,query:{index:r,range:t.range}}).then(({result:e})=>n?e.map(n):e)}{let n=[];return rl(t,e=>n.push(e),e,t.table.core).then(()=>n)}},e)}offset(e){var t=this._ctx;return e<=0||(t.offset+=e,ri(t)?ra(t,()=>{var t=e;return(e,n)=>0===t||(1===t?--t:n(()=>{e.advance(t),t=0}),!1)}):ra(t,()=>{var t=e;return()=>--t<0})),this}limit(e){return this._ctx.limit=Math.min(this._ctx.limit,e),ra(this._ctx,()=>{var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}},!0),this}until(e,t){return ro(this._ctx,function(n,r,i){return!e(n.value)||(r(i),t)}),this}first(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)}last(e){return this.reverse().first(e)}filter(e){var t;return ro(this._ctx,function(t){return e(t.value)}),(t=this._ctx).isMatch=n8(t.isMatch,e),this}and(e){return this.filter(e)}or(e){return new this.db.WhereClause(this._ctx.table,e,this)}reverse(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})}eachUniqueKey(e){return this._ctx.unique="unique",this.eachKey(e)}eachPrimaryKey(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})}keys(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)}primaryKeys(e){var t=this._ctx;if("next"===t.dir&&ri(t,!0)&&t.limit>0)return this._read(e=>{var n=rs(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(({result:e})=>e).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)}uniqueKeys(e){return this._ctx.unique="unique",this.keys(e)}firstKey(e){return this.limit(1).keys(function(e){return e[0]}).then(e)}lastKey(e){return this.reverse().firstKey(e)}distinct(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return ro(this._ctx,function(e){var t=e.primaryKey.toString(),r=tf(n,t);return n[t]=!0,!r}),this}modify(e){var t=this._ctx;return this._write(n=>{var r;if("function"==typeof e)r=e;else{var i=ta(e),o=i.length;r=function(t){for(var n=!1,r=0;r<o;++r){var a=i[r],s=e[a];tx(t,a)!==s&&(tE(t,a,s),n=!0)}return n}}let a=t.table.core,{outbound:s,extractKey:u}=a.schema.primaryKey,l=this.db._options.modifyChunkSize||200,c=[],f=0,d=[],h=(e,t)=>{let{failures:n,numFailures:r}=t;for(let t of(f+=e-r,ta(n)))c.push(n[t])};return this.clone().primaryKeys().then(i=>{let o=c=>{let f=Math.min(l,i.length-c);return a.getMany({trans:n,keys:i.slice(c,c+f),cache:"immutable"}).then(d=>{let p=[],v=[],m=s?[]:null,g=[];for(let e=0;e<f;++e){let t=d[e],n={value:tP(t),primKey:i[c+e]};!1!==r.call(n,n.value,n)&&(null==n.value?g.push(i[c+e]):s||0===n9(u(t),u(n.value))?(v.push(n.value),s&&m.push(i[c+e])):(g.push(i[c+e]),p.push(n.value)))}let y=ri(t)&&t.limit===1/0&&("function"!=typeof e||e===rd)&&{index:t.index,range:t.range};return Promise.resolve(p.length>0&&a.mutate({trans:n,type:"add",values:p}).then(e=>{for(let t in e.failures)g.splice(parseInt(t),1);h(p.length,e)})).then(()=>(v.length>0||y&&"object"==typeof e)&&a.mutate({trans:n,type:"put",keys:m,values:v,criteria:y,changeSpec:"function"!=typeof e&&e}).then(e=>h(v.length,e))).then(()=>(g.length>0||y&&e===rd)&&a.mutate({trans:n,type:"delete",keys:g,criteria:y}).then(e=>h(g.length,e))).then(()=>i.length>c+f&&o(c+l))})};return o(0).then(()=>{if(c.length>0)throw new tG("Error modifying one or more objects",c,f,d);return i.length})})})}delete(){var e=this._ctx,t=e.range;return ri(e)&&(e.isPrimKey&&!n2||3===t.type)?this._write(n=>{let{primaryKey:r}=e.table.core.schema;return e.table.core.count({trans:n,query:{index:r,range:t}}).then(r=>e.table.core.mutate({trans:n,type:"deleteRange",range:t}).then(({failures:e,lastResult:t,results:n,numFailures:i})=>{if(i)throw new tG("Could not delete some values",Object.keys(e).map(t=>e[t]),r-i);return r-i}))}):this.modify(rd)}}let rd=(e,t)=>t.value=null;function rh(e,t){return e<t?-1:e===t?0:1}function rp(e,t){return e>t?-1:e===t?0:1}function rv(e,t,n){var r=e instanceof r_?new e.Collection(e):e;return r._ctx.error=n?new n(t):TypeError(t),r}function rm(e){return new e.Collection(e,()=>rb("")).limit(0)}function rg(e,t,n,r){var i,o,a,s,u,l,c,f=n.length;if(!n.every(e=>"string"==typeof e))return rv(e,"String expected.");function d(e){i="next"===e?e=>e.toUpperCase():e=>e.toLowerCase(),o="next"===e?e=>e.toLowerCase():e=>e.toUpperCase(),a="next"===e?rh:rp;var t=n.map(function(e){return{lower:o(e),upper:i(e)}}).sort(function(e,t){return a(e.lower,t.lower)});s=t.map(function(e){return e.upper}),u=t.map(function(e){return e.lower}),l=e,c="next"===e?"":r}d("next");var h=new e.Collection(e,()=>ry(s[0],u[f-1]+r));h._ondirectionchange=function(e){d(e)};var p=0;return h._addAlgorithm(function(e,n,r){var i=e.key;if("string"!=typeof i)return!1;var d=o(i);if(t(d,u,p))return!0;for(var h=null,v=p;v<f;++v){var m=function(e,t,n,r,i,o){for(var a=Math.min(e.length,r.length),s=-1,u=0;u<a;++u){var l=t[u];if(l!==r[u])return 0>i(e[u],n[u])?e.substr(0,u)+n[u]+n.substr(u+1):0>i(e[u],r[u])?e.substr(0,u)+r[u]+n.substr(u+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;0>i(e[u],l)&&(s=u)}return a<r.length&&"next"===o?e+n.substr(e.length):a<e.length&&"prev"===o?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}(i,d,s[v],u[v],a,l);null===m&&null===h?p=v+1:(null===h||a(h,m)>0)&&(h=m)}return n(null!==h?function(){e.continue(h+c)}:r),!1}),h}function ry(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function rb(e){return{type:1,lower:e,upper:e}}class r_{get Collection(){return this._ctx.table.db.Collection}between(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?rm(this):new this.Collection(this,()=>ry(e,t,!n,!r))}catch(e){return rv(this,n0)}}equals(e){return null==e?rv(this,n0):new this.Collection(this,()=>rb(e))}above(e){return null==e?rv(this,n0):new this.Collection(this,()=>ry(e,void 0,!0))}aboveOrEqual(e){return null==e?rv(this,n0):new this.Collection(this,()=>ry(e,void 0,!1))}below(e){return null==e?rv(this,n0):new this.Collection(this,()=>ry(void 0,e,!1,!0))}belowOrEqual(e){return null==e?rv(this,n0):new this.Collection(this,()=>ry(void 0,e))}startsWith(e){return"string"!=typeof e?rv(this,"String expected."):this.between(e,e+nX,!0,!0)}startsWithIgnoreCase(e){return""===e?this.startsWith(e):rg(this,(e,t)=>0===e.indexOf(t[0]),[e],nX)}equalsIgnoreCase(e){return rg(this,(e,t)=>e===t[0],[e],"")}anyOfIgnoreCase(){var e=tj.apply(tN,arguments);return 0===e.length?rm(this):rg(this,(e,t)=>-1!==t.indexOf(e),e,"")}startsWithAnyOfIgnoreCase(){var e=tj.apply(tN,arguments);return 0===e.length?rm(this):rg(this,(e,t)=>t.some(t=>0===e.indexOf(t)),e,nX)}anyOf(){let e=tj.apply(tN,arguments),t=this._cmp;try{e.sort(t)}catch(e){return rv(this,n0)}if(0===e.length)return rm(this);let n=new this.Collection(this,()=>ry(e[0],e[e.length-1]));n._ondirectionchange=n=>{t="next"===n?this._ascending:this._descending,e.sort(t)};let r=0;return n._addAlgorithm((n,i,o)=>{let a=n.key;for(;t(a,e[r])>0;)if(++r===e.length)return i(o),!1;return 0===t(a,e[r])||(i(()=>{n.continue(e[r])}),!1)}),n}notEqual(e){return this.inAnyRange([[-1/0,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){let e=tj.apply(tN,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return rv(this,n0)}let t=e.reduce((e,t)=>e?e.concat([[e[e.length-1][1],t]]):[[-1/0,t]],null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})}inAnyRange(e,t){let n=this._cmp,r=this._ascending,i=this._descending,o=this._min,a=this._max;if(0===e.length)return rm(this);if(!e.every(e=>void 0!==e[0]&&void 0!==e[1]&&0>=r(e[0],e[1])))return rv(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",tY.InvalidArgument);let s=!t||!1!==t.includeLowers,u=t&&!0===t.includeUppers,l,c=r;function f(e,t){return c(e[0],t[0])}try{(l=e.reduce(function(e,t){let r=0,i=e.length;for(;r<i;++r){let i=e[r];if(0>n(t[0],i[1])&&n(t[1],i[0])>0){i[0]=o(i[0],t[0]),i[1]=a(i[1],t[1]);break}}return r===i&&e.push(t),e},[])).sort(f)}catch(e){return rv(this,n0)}let d=0,h=u?e=>r(e,l[d][1])>0:e=>r(e,l[d][1])>=0,p=s?e=>i(e,l[d][0])>0:e=>i(e,l[d][0])>=0,v=h,m=new this.Collection(this,()=>ry(l[0][0],l[l.length-1][1],!s,!u));return m._ondirectionchange=e=>{"next"===e?(v=h,c=r):(v=p,c=i),l.sort(f)},m._addAlgorithm((e,t,n)=>{for(var i=e.key;v(i);)if(++d===l.length)return t(n),!1;return!!(!h(i)&&!p(i))||(0===this._cmp(i,l[d][1])||0===this._cmp(i,l[d][0])||t(()=>{c===r?e.continue(l[d][0]):e.continue(l[d][1])}),!1)}),m}startsWithAnyOf(){let e=tj.apply(tN,arguments);return e.every(e=>"string"==typeof e)?0===e.length?rm(this):this.inAnyRange(e.map(e=>[e,e+nX])):rv(this,"startsWithAnyOf() only works with strings")}}function rw(e){return nM(function(t){return rS(t),e(t.target.error),!1})}function rS(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}let rx=rn(null,"storagemutated");class rE{_lock(){return tw(!ng.global),++this._reculock,1!==this._reculock||ng.global||(ng.lockOwnerFor=this),this}_unlock(){if(tw(!ng.global),0==--this._reculock)for(ng.global||(ng.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{nG(e[1],e[0])}catch(e){}}return this}_locked(){return this._reculock&&ng.lockOwnerFor!==this}create(e){if(!this.mode)return this;let t=this.db.idbdb,n=this.db._state.dbOpenError;if(tw(!this.idbtrans),!e&&!t)switch(n&&n.name){case"DatabaseClosedError":throw new tY.DatabaseClosed(n);case"MissingAPIError":throw new tY.MissingAPI(n.message,n);default:throw new tY.OpenFailed(n)}if(!this.active)throw new tY.TransactionInactive;return tw(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):t.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=nM(t=>{rS(t),this._reject(e.error)}),e.onabort=nM(t=>{rS(t),this.active&&this._reject(new tY.Abort(e.error)),this.active=!1,this.on("abort").fire(t)}),e.oncomplete=nM(()=>{this.active=!1,this._resolve(),"mutatedParts"in e&&rx.storagemutated.fire(e.mutatedParts)}),this}_promise(e,t,n){if("readwrite"===e&&"readwrite"!==this.mode)return nY(new tY.ReadOnly("Transaction is readonly"));if(!this.active)return nY(new tY.TransactionInactive);if(this._locked())return new nw((r,i)=>{this._blockedFuncs.push([()=>{this._promise(e,t,n).then(r,i)},ng])});if(n)return nW(()=>{var e=new nw((e,n)=>{this._lock();let r=t(e,n,this);r&&r.then&&r.then(e,n)});return e.finally(()=>this._unlock()),e._lib=!0,e});var r=new nw((e,n)=>{var r=t(e,n,this);r&&r.then&&r.then(e,n)});return r._lib=!0,r}_root(){return this.parent?this.parent._root():this}waitFor(e){var t=this._root();let n=nw.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(()=>n);else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new nw((e,r)=>{n.then(n=>t._waitingQueue.push(nM(e.bind(null,n))),e=>t._waitingQueue.push(nM(r.bind(null,e)))).finally(()=>{t._waitingFor===i&&(t._waitingFor=null)})})}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new tY.Abort))}table(e){let t=this._memoizedTables||(this._memoizedTables={});if(tf(t,e))return t[e];let n=this.schema[e];if(!n)throw new tY.NotFound("Table "+e+" not part of transaction");let r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r}}function rk(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+rC(t)}}function rC(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function rA(e,t,n){var r;return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:(r=e=>[e.name,e],n.reduce((e,t,n)=>{var i=r(t,n);return i&&(e[i[0]]=i[1]),e},{}))}}let rO=e=>{try{return e.only([[]]),rO=()=>[[]],[[]]}catch(e){return rO=()=>nX,nX}};function rI(e){return null==e?()=>{}:"string"==typeof e?1===e.split(".").length?t=>t[e]:t=>tx(t,e):t=>tx(t,e)}function rP(e){return[].slice.call(e)}let rT=0;function rR(e){return null==e?":id":"string"==typeof e?e:`[${e.join("+")}]`}function rD({_novip:e},t){let n=t.db,r=function(e,t,{IDBKeyRange:n,indexedDB:r},i){var o;return{dbcore:(o=function(e,t,n){function r(e){if(3===e.type)return null;if(4===e.type)throw Error("Cannot convert never type to IDBKeyRange");let{lower:n,upper:r,lowerOpen:i,upperOpen:o}=e;return void 0===n?void 0===r?null:t.upperBound(r,!!o):void 0===r?t.lowerBound(n,!!i):t.bound(n,r,!!i,!!o)}let{schema:i,hasGetAll:o}=function(e,t){let n=rP(e.objectStoreNames);return{schema:{name:e.name,tables:n.map(e=>t.objectStore(e)).map(e=>{let{keyPath:t,autoIncrement:n}=e,r=ts(t),i=null==t,o={},a={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:i,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:rI(t)},indexes:rP(e.indexNames).map(t=>e.index(t)).map(e=>{let{name:t,unique:n,multiEntry:r,keyPath:i}=e,a={name:t,compound:ts(i),keyPath:i,unique:n,multiEntry:r,extractKey:rI(i)};return o[rR(i)]=a,a}),getIndexByKeyPath:e=>o[rR(e)]};return o[":id"]=a.primaryKey,null!=t&&(o[rR(t)]=a.primaryKey),a})},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,n),a=i.tables.map(e=>(function(e){let t=e.name;return{name:t,schema:e,mutate:function({trans:e,type:n,keys:i,values:o,range:a}){return new Promise((s,u)=>{let l;s=nM(s);let c=e.objectStore(t),f=null==c.keyPath,d="put"===n||"add"===n;if(!d&&"delete"!==n&&"deleteRange"!==n)throw Error("Invalid operation type: "+n);let{length:h}=i||o||{length:1};if(i&&o&&i.length!==o.length)throw Error("Given keys array must have same length as given values array.");if(0===h)return s({numFailures:0,failures:{},results:[],lastResult:void 0});let p=[],v=[],m=0,g=e=>{++m,rS(e)};if("deleteRange"===n){if(4===a.type)return s({numFailures:m,failures:v,results:[],lastResult:void 0});3===a.type?p.push(l=c.clear()):p.push(l=c.delete(r(a)))}else{let[e,t]=d?f?[o,i]:[o,null]:[i,null];if(d)for(let r=0;r<h;++r)p.push(l=t&&void 0!==t[r]?c[n](e[r],t[r]):c[n](e[r])),l.onerror=g;else for(let t=0;t<h;++t)p.push(l=c[n](e[t])),l.onerror=g}let y=e=>{let t=e.target.result;p.forEach((e,t)=>null!=e.error&&(v[t]=e.error)),s({numFailures:m,failures:v,results:"delete"===n?i:p.map(e=>e.result),lastResult:t})};l.onerror=e=>{g(e),y(e)},l.onsuccess=y})},getMany:({trans:e,keys:n})=>new Promise((r,i)=>{r=nM(r);let o=e.objectStore(t),a=n.length,s=Array(a),u,l=0,c=0,f=e=>{let t=e.target;s[t._pos]=t.result,++c===l&&r(s)},d=rw(i);for(let e=0;e<a;++e)null!=n[e]&&((u=o.get(n[e]))._pos=e,u.onsuccess=f,u.onerror=d,++l);0===l&&r(s)}),get:({trans:e,key:n})=>new Promise((r,i)=>{r=nM(r);let o=e.objectStore(t).get(n);o.onsuccess=e=>r(e.target.result),o.onerror=rw(i)}),query:e=>new Promise((n,i)=>{n=nM(n);let{trans:a,values:s,limit:u,query:l}=e,c=u===1/0?void 0:u,{index:f,range:d}=l,h=a.objectStore(t),p=f.isPrimaryKey?h:h.index(f.name),v=r(d);if(0===u)return n({result:[]});if(o){let e=s?p.getAll(v,c):p.getAllKeys(v,c);e.onsuccess=e=>n({result:e.target.result}),e.onerror=rw(i)}else{let e=0,t=!s&&"openKeyCursor"in p?p.openKeyCursor(v):p.openCursor(v),r=[];t.onsuccess=i=>{let o=t.result;return o?(r.push(s?o.value:o.primaryKey),++e===u?n({result:r}):void o.continue()):n({result:r})},t.onerror=rw(i)}}),openCursor:function({trans:e,values:n,query:i,reverse:o,unique:a}){return new Promise((s,u)=>{s=nM(s);let{index:l,range:c}=i,f=e.objectStore(t),d=l.isPrimaryKey?f:f.index(l.name),h=o?a?"prevunique":"prev":a?"nextunique":"next",p=!n&&"openKeyCursor"in d?d.openKeyCursor(r(c),h):d.openCursor(r(c),h);p.onerror=rw(u),p.onsuccess=nM(t=>{let n=p.result;if(!n)return void s(null);n.___id=++rT,n.done=!1;let r=n.continue.bind(n),i=n.continuePrimaryKey;i&&(i=i.bind(n));let o=n.advance.bind(n),a=()=>{throw Error("Cursor not stopped")};n.trans=e,n.stop=n.continue=n.continuePrimaryKey=n.advance=()=>{throw Error("Cursor not started")},n.fail=nM(u),n.next=function(){let e=1;return this.start(()=>e--?this.continue():this.stop()).then(()=>this)},n.start=e=>{let t=new Promise((e,t)=>{e=nM(e),p.onerror=rw(t),n.fail=t,n.stop=t=>{n.stop=n.continue=n.continuePrimaryKey=n.advance=a,e(t)}}),s=()=>{if(p.result)try{e()}catch(e){n.fail(e)}else n.done=!0,n.start=()=>{throw Error("Cursor behind last entry")},n.stop()};return p.onsuccess=nM(e=>{p.onsuccess=s,s()}),n.continue=r,n.continuePrimaryKey=i,n.advance=o,s(),t},s(n)},u)})},count({query:e,trans:n}){let{index:i,range:o}=e;return new Promise((e,a)=>{let s=n.objectStore(t),u=i.isPrimaryKey?s:s.index(i.name),l=r(o),c=l?u.count(l):u.count();c.onsuccess=nM(t=>e(t.target.result)),c.onerror=rw(a)})}}})(e)),s={};return a.forEach(e=>s[e.name]=e),{stack:"dbcore",transaction:e.transaction.bind(e),table(e){if(!s[e])throw Error(`Table '${e}' not found`);return s[e]},MIN_KEY:-1/0,MAX_KEY:rO(t),schema:i}}(t,n,i),e.dbcore.reduce((e,{create:t})=>({...e,...t(e)}),o))}}(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(t=>{let n=t.name;e.core.schema.tables.some(e=>e.name===n)&&(t.core=e.core.table(n),e[n]instanceof e.Table&&(e[n].core=t.core))})}function rM({_novip:e},t,n,r){n.forEach(n=>{let i=r[n];t.forEach(t=>{let r=tg(t,n);(!r||"value"in r&&void 0===r.value)&&(t===e.Transaction.prototype||t instanceof e.Transaction?tp(t,n,{get(){return this.table(n)},set(e){th(this,n,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):t[n]=new e.Table(n,i))})})}function rL({_novip:e},t){t.forEach(t=>{for(let n in t)t[n]instanceof e.Table&&delete t[n]})}function rN(e,t){return e._cfg.version-t._cfg.version}function rj(e,t){let n;let r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){let i=e[n],o=t[n];if(i){let e={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")==""+(o.primKey.keyPath||"")&&(i.primKey.auto===o.primKey.auto||n2)){let t;let n=i.idxByName,a=o.idxByName;for(t in n)a[t]||e.del.push(t);for(t in a){let r=n[t],i=a[t];r?r.src!==i.src&&e.change.push(i):e.add.push(i)}(e.del.length>0||e.add.length>0||e.change.length>0)&&r.change.push(e)}else e.recreate=!0,r.change.push(e)}else r.add.push([n,o])}return r}function rU(e,t,n,r){let i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(e=>rB(i,e)),i}function rB(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function rF(e,t,n){let r={};return tb(t.objectStoreNames,0).forEach(e=>{let t=n.objectStore(e),i=t.keyPath,o=rk(rC(i),i||"",!1,!1,!!t.autoIncrement,i&&"string"!=typeof i,!0),a=[];for(let e=0;e<t.indexNames.length;++e){let n=t.index(t.indexNames[e]);i=n.keyPath;var s=rk(n.name,i,!!n.unique,!!n.multiEntry,!1,i&&"string"!=typeof i,!1);a.push(s)}r[e]=rA(e,o,a)}),r}function rW({_novip:e},t,n){let r=n.db.objectStoreNames;for(let i=0;i<r.length;++i){let o=r[i],a=n.objectStore(o);e._hasGetAll="getAll"in a;for(let e=0;e<a.indexNames.length;++e){let n=a.indexNames[e],r=a.index(n).keyPath,i="string"==typeof r?r:"["+tb(r).join("+")+"]";if(t[o]){let e=t[o].idxByName[i];e&&(e.name=n,delete t[o].idxByName[i],t[o].idxByName[n]=e)}}}"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&to.WorkerGlobalScope&&to instanceof to.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}class rq{_parseStoresSpec(e,t){ta(e).forEach(n=>{if(null!==e[n]){var r=e[n].split(",").map((e,t)=>{let n=(e=e.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return rk(n,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),ts(r),0===t)}),i=r.shift();if(i.multi)throw new tY.Schema("Primary key cannot be multi-valued");r.forEach(e=>{if(e.auto)throw new tY.Schema("Only primary key can be marked as autoIncrement (++)");if(!e.keyPath)throw new tY.Schema("Index must have a name and cannot be an empty string")}),t[n]=rA(n,i,r)}})}stores(e){let t=this.db;this._cfg.storesSource=this._cfg.storesSource?tu(this._cfg.storesSource,e):e;let n=t._versions,r={},i={};return n.forEach(e=>{tu(r,e._cfg.storesSource),i=e._cfg.dbschema={},e._parseStoresSpec(r,i)}),t._dbSchema=i,rL(t,[t._allTables,t,t.Transaction.prototype]),rM(t,[t._allTables,t,t.Transaction.prototype,this._cfg.tables],ta(i),i),t._storeNames=ta(i),this}upgrade(e){return this._cfg.contentUpgrade=t7(this._cfg.contentUpgrade||t1,e),this}}function r$(e,t){let n=e._dbNamesDB;return n||(n=e._dbNamesDB=new iv("__dbnames",{addons:[],indexedDB:e,IDBKeyRange:t})).version(1).stores({dbnames:"name"}),n.table("dbnames")}function rV(e){return e&&"function"==typeof e.databases}function rK(e){return nW(function(){return ng.letThrough=!0,e()})}function rZ(e){var t=t=>e.next(t),n=i(t),r=i(t=>e.throw(t));function i(e){return t=>{var i=e(t),o=i.value;return i.done?o:o&&"function"==typeof o.then?o.then(n,r):ts(o)?Promise.all(o).then(n,r):n(o)}}return i(t)()}function rH(e,t,n){var r=arguments.length;if(r<2)throw new tY.InvalidArgument("Too few arguments");for(var i=Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[e,tA(i),n]}function rz(e,t,n){let r=ts(e)?e.slice():[e];for(let e=0;e<n;++e)r.push(t);return r}let rG={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:function(e){return{...e,table(t){let n=e.table(t),{schema:r}=n,i={},o=[];function a(e,t,n){let r=rR(e),s=i[r]=i[r]||[],u=null==e?0:"string"==typeof e?1:e.length,l=t>0,c={...n,name:l?`${r}(virtual-from:${n.name})`:n.name,lowLevelIndex:n,isVirtual:l,keyTail:t,keyLength:u,extractKey:rI(e),unique:!l&&n.unique};return s.push(c),c.isPrimaryKey||o.push(c),u>1&&a(2===u?e[0]:e.slice(0,u-1),t+1,n),s.sort((e,t)=>e.keyTail-t.keyTail),c}let s=a(r.primaryKey.keyPath,0,r.primaryKey);for(let e of(i[":id"]=[s],r.indexes))a(e.keyPath,0,e);function u(t){var n,r;let i=t.query.index;return i.isVirtual?{...t,query:{index:i.lowLevelIndex,range:(n=t.query.range,r=i.keyTail,{type:1===n.type?2:n.type,lower:rz(n.lower,n.lowerOpen?e.MAX_KEY:e.MIN_KEY,r),lowerOpen:!0,upper:rz(n.upper,n.upperOpen?e.MIN_KEY:e.MAX_KEY,r),upperOpen:!0})}}:t}return{...n,schema:{...r,primaryKey:s,indexes:o,getIndexByKeyPath:function(e){let t=i[rR(e)];return t&&t[0]}},count:e=>n.count(u(e)),query:e=>n.query(u(e)),openCursor(t){let{keyTail:r,isVirtual:i,keyLength:o}=t.query.index;return i?n.openCursor(u(t)).then(n=>n&&Object.create(n,{continue:{value:function(i){null!=i?n.continue(rz(i,t.reverse?e.MAX_KEY:e.MIN_KEY,r)):t.unique?n.continue(n.key.slice(0,o).concat(t.reverse?e.MIN_KEY:e.MAX_KEY,r)):n.continue()}},continuePrimaryKey:{value(t,i){n.continuePrimaryKey(rz(t,e.MAX_KEY,r),i)}},primaryKey:{get:()=>n.primaryKey},key:{get(){let e=n.key;return 1===o?e[0]:e.slice(0,o)}},value:{get:()=>n.value}})):n.openCursor(t)}}}}}};function rJ(e,t,n,r){return n=n||{},r=r||"",ta(e).forEach(i=>{if(tf(t,i)){var o=e[i],a=t[i];if("object"==typeof o&&"object"==typeof a&&o&&a){let e=tR(o);e!==tR(a)?n[r+i]=t[i]:"Object"===e?rJ(o,a,n,r+i+"."):o!==a&&(n[r+i]=t[i])}else o!==a&&(n[r+i]=t[i])}else n[r+i]=void 0}),ta(t).forEach(i=>{tf(e,i)||(n[r+i]=t[i])}),n}function rQ(e,t){return"delete"===t.type?t.keys:t.keys||t.values.map(e.extractKey)}let rY={stack:"dbcore",name:"HooksMiddleware",level:2,create:e=>({...e,table(t){let n=e.table(t),{primaryKey:r}=n.schema;return{...n,mutate(e){let i=ng.trans,{deleting:o,creating:a,updating:s}=i.table(t).hook;switch(e.type){case"add":if(a.fire===t1)break;return i._promise("readwrite",()=>u(e),!0);case"put":if(a.fire===t1&&s.fire===t1)break;return i._promise("readwrite",()=>u(e),!0);case"delete":if(o.fire===t1)break;return i._promise("readwrite",()=>u(e),!0);case"deleteRange":if(o.fire===t1)break;return i._promise("readwrite",()=>(function e(t,i,o){return n.query({trans:t,values:!1,query:{index:r,range:i},limit:o}).then(({result:n})=>u({type:"delete",keys:n,trans:t}).then(r=>r.numFailures>0?Promise.reject(r.failures[0]):n.length<o?{failures:[],numFailures:0,lastResult:void 0}:e(t,{...i,lower:n[n.length-1],lowerOpen:!0},o)))})(e.trans,e.range,1e4),!0)}return n.mutate(e);function u(e){var t;let i=ng.trans,u=e.keys||rQ(r,e);if(!u)throw Error("Keys missing");return"delete"!==(e="add"===e.type||"put"===e.type?{...e,keys:u}:{...e}).type&&(e.values=[...e.values]),e.keys&&(e.keys=[...e.keys]),("add"===(t=e).type?Promise.resolve([]):n.getMany({trans:t.trans,keys:u,cache:"immutable"})).then(t=>{let l=u.map((n,u)=>{let l=t[u],c={onerror:null,onsuccess:null};if("delete"===e.type)o.fire.call(c,n,l,i);else if("add"===e.type||void 0===l){let t=a.fire.call(c,n,e.values[u],i);null==n&&null!=t&&(n=t,e.keys[u]=n,r.outbound||tE(e.values[u],r.keyPath,n))}else{let t=rJ(l,e.values[u]),r=s.fire.call(c,t,n,l,i);if(r){let t=e.values[u];Object.keys(r).forEach(e=>{tf(t,e)?t[e]=r[e]:tE(t,e,r[e])})}}return c});return n.mutate(e).then(({failures:n,results:r,numFailures:i,lastResult:o})=>{for(let i=0;i<u.length;++i){let o=r?r[i]:u[i],a=l[i];null==o?a.onerror&&a.onerror(n[i]):a.onsuccess&&a.onsuccess("put"===e.type&&t[i]?e.values[i]:o)}return{failures:n,results:r,numFailures:i,lastResult:o}}).catch(e=>(l.forEach(t=>t.onerror&&t.onerror(e)),Promise.reject(e)))})}}}}})};function rX(e,t,n){try{if(!t||t.keys.length<e.length)return null;let r=[];for(let i=0,o=0;i<t.keys.length&&o<e.length;++i)0===n9(t.keys[i],e[o])&&(r.push(n?tP(t.values[i]):t.values[i]),++o);return r.length===e.length?r:null}catch(e){return null}}let r0={stack:"dbcore",level:-1,create:e=>({table:t=>{let n=e.table(t);return{...n,getMany:e=>{if(!e.cache)return n.getMany(e);let t=rX(e.keys,e.trans._cache,"clone"===e.cache);return t?nw.resolve(t):n.getMany(e).then(t=>(e.trans._cache={keys:e.keys,values:"clone"===e.cache?tP(t):t},t))},mutate:e=>("add"!==e.type&&(e.trans._cache=null),n.mutate(e))}}})};function r1(e){return!("from"in e)}let r2=function(e,t){if(!this){let t=new r2;return e&&"d"in e&&tu(t,e),t}tu(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function r3(e,t,n){let r=n9(t,n);if(isNaN(r))return;if(r>0)throw RangeError();if(r1(e))return tu(e,{from:t,to:n,d:1});let i=e.l,o=e.r;if(0>n9(n,e.from))return i?r3(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},r6(e);if(n9(t,e.to)>0)return o?r3(o,t,n):e.r={from:t,to:n,d:1,l:null,r:null},r6(e);0>n9(t,e.from)&&(e.from=t,e.l=null,e.d=o?o.d+1:1),n9(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);let a=!e.r;i&&!e.l&&r8(e,i),o&&a&&r8(e,o)}function r8(e,t){r1(t)||function e(t,{from:n,to:r,l:i,r:o}){r3(t,n,r),i&&e(t,i),o&&e(t,o)}(e,t)}function r5(e,t){let n=r4(t),r=n.next();if(r.done)return!1;let i=r.value,o=r4(e),a=o.next(i.from),s=a.value;for(;!r.done&&!a.done;){if(0>=n9(s.from,i.to)&&n9(s.to,i.from)>=0)return!0;0>n9(i.from,s.from)?i=(r=n.next(s.from)).value:s=(a=o.next(i.from)).value}return!1}function r4(e){let t=r1(e)?null:{s:0,n:e};return{next(e){let n=arguments.length>0;for(;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&0>n9(e,t.n.from);)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||0>=n9(e,t.n.to))return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function r6(e){var t,n;let r=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(n=e.l)||void 0===n?void 0:n.d)||0),i=r>1?"r":r<-1?"l":"";if(i){let t="r"===i?"l":"r",n={...e},r=e[i];e.from=r.from,e.to=r.to,e[i]=r[i],n[i]=r[t],e[t]=n,n.d=r9(n)}e.d=r9(e)}function r9({r:e,l:t}){return(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}function r7(e,t){return"readonly"===e.trans.mode&&!!e.subscr&&!e.trans.explicit&&"disabled"!==e.trans.db._options.cache&&!t.schema.primaryKey.outbound}function ie(e,t){switch(e){case"query":return t.values&&!t.unique;case"get":case"getMany":case"count":case"openCursor":return!1}}function it(e,t){return ta(t).forEach(n=>{e[n]?r8(e[n],t[n]):e[n]=function e(t){let n={};for(let r in t)if(tf(t,r)){let i=t[r];n[r]=!i||"object"!=typeof i||tO.has(i.constructor)?i:e(i)}return n}(t[n])}),e}td(r2.prototype,{add(e){return r8(this,e),this},addKey(e){return r3(this,e,e),this},addKeys(e){return e.forEach(e=>r3(this,e,e)),this},[tD](){return r4(this)}});let ir={stack:"dbcore",level:0,name:"Observability",create:e=>{let t=e.schema.name,n=new r2(e.MIN_KEY,e.MAX_KEY);return{...e,transaction:(t,n,r)=>{if(!ng.subscr)return e.transaction(t,n,r);if("readonly"!==n)throw new tY.ReadOnly("write transaction not allowed within liveQueries");return e.transaction(t,n,r)},table:r=>{let i=e.table(r),{schema:o}=i,{primaryKey:a}=o,{extractKey:s,outbound:u}=a,l={...i,mutate:e=>{let s=e.trans,u=e.mutatedParts||(e.mutatedParts={}),l=e=>{let n=`idb://${t}/${r}/${e}`;return u[n]||(u[n]=new r2)},c=l(""),f=l(":dels"),{type:d}=e,[h,p]="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[rQ(a,e).filter(e=>e),e.values]:[],v=e.trans._cache;if(ts(h)){c.addKeys(h);let e="delete"===d||h.length===p.length?rX(h,v):null;e||"add"===d||f.addKeys(h),(e||p)&&function(e,t,n,r){t.indexes.forEach(function(t){let i=e(t.name||"");function o(e){return null!=e?t.extractKey(e):null}let a=e=>t.multiEntry&&ts(e)?e.forEach(e=>i.addKey(e)):i.addKey(e);(n||r).forEach((e,t)=>{let i=n&&o(n[t]),s=r&&o(r[t]);0!==n9(i,s)&&(null!=i&&a(i),null!=s&&a(s))})})}(l,o,e,p)}else if(h){let e={from:h.lower,to:h.upper};f.add(e),c.add(e)}else c.add(n),f.add(n),o.indexes.forEach(e=>l(e.name).add(n));return i.mutate(e).then(t=>(h&&("add"===e.type||"put"===e.type)&&c.addKeys(t.results),s.mutatedParts=it(s.mutatedParts||{},u),t))}},c=({query:{index:t,range:n}})=>{var r,i;return[t,new r2(null!==(r=n.lower)&&void 0!==r?r:e.MIN_KEY,null!==(i=n.upper)&&void 0!==i?i:e.MAX_KEY)]},f={get:e=>[a,new r2(e.key)],getMany:e=>[a,(new r2).addKeys(e.keys)],count:c,query:c,openCursor:c};return ta(f).forEach(e=>{l[e]=function(o){let{subscr:a}=ng,l=r7(ng,i)&&ie(e,o)?o.obsSet={}:a;if(a){let a=e=>{let n=`idb://${t}/${r}/${e}`;return l[n]||(l[n]=new r2)},c=a(""),d=a(":dels"),[h,p]=f[e](o);if(a(h.name||"").add(p),!h.isPrimaryKey){if("count"!==e){let t="query"===e&&u&&o.values&&i.query({...o,values:!1});return i[e].apply(this,arguments).then(n=>{if("query"===e){if(u&&o.values)return t.then(({result:e})=>(c.addKeys(e),n));let e=o.values?n.result.map(s):n.result;o.values?c.addKeys(e):d.addKeys(e)}else if("openCursor"===e){let e=o.values;return n&&Object.create(n,{key:{get:()=>(d.addKey(n.primaryKey),n.key)},primaryKey:{get(){let e=n.primaryKey;return d.addKey(e),e}},value:{get:()=>(e&&c.addKey(n.primaryKey),n.value)}})}return n})}d.add(n)}}return i[e].apply(this,arguments)}}),l}}}};function ii(e,t){return(void 0===t.lower||(t.lowerOpen?n9(e,t.lower)>0:n9(e,t.lower)>=0))&&(void 0===t.upper||(t.upperOpen?0>n9(e,t.upper):0>=n9(e,t.upper)))}function io(e,t,n,r,i,o){if(!n||0===n.length)return e;let a=t.query.index,s=r.schema.primaryKey.extractKey,u=a.extractKey,l=(a.lowLevelIndex||a).extractKey,c=n.reduce((e,n)=>{let r=e,i="add"===n.type||"put"===n.type?n.values.filter(e=>ii(u(e),t.query.range)).map(e=>(e=tP(e),o&&Object.freeze(e),e)):[];switch(n.type){case"add":r=e.concat(t.values?i:i.map(e=>s(e)));break;case"put":let a=(new r2).addKeys(n.values.map(e=>s(e)));r=e.filter(e=>!r5(new r2(t.values?s(e):e),a)).concat(t.values?i:i.map(e=>s(e)));break;case"delete":let l=(new r2).addKeys(n.keys);r=e.filter(e=>!r5(new r2(t.values?s(e):e),l));break;case"deleteRange":let c=n.range;r=e.filter(e=>!ii(s(e),c))}return r},e);return c===e?e:(c.sort((e,t)=>n9(l(e),l(t))||n9(s(e),s(t))),t.limit&&t.limit<1/0&&(c.length>t.limit?c.length=t.limit:e.length===t.limit&&c.length<t.limit&&(i.dirty=!0)),o?Object.freeze(c):c)}let ia={};function is(e,t){return 0===n9(e.lower,t.lower)&&0===n9(e.upper,t.upper)&&!!e.lowerOpen==!!t.lowerOpen&&!!e.upperOpen==!!t.upperOpen}function iu(e,t){return Object.keys(e).some(n=>t[n]&&r5(t[n],e[n]))}let il={},ic=!1;function id(e){it(il,e),ic||(ic=!0,queueMicrotask(()=>{ic=!1;let e=il;il={},ih(e)}))}function ih(e,t=!1){let n=new Set;for(let r in e){let i=/^idb\:\/\/(.*)\/(.*)\//.exec(r);if(i){let[,r,o]=i,a=ia[`idb://${r}/${o}`];a&&function(e,t,n,r){let i=r&&[];for(let[o,a]of Object.entries(e.queries.query)){let e=r&&[];for(let i of a)i.obsSet&&iu(t,i.obsSet)?i.subscribers.forEach(e=>n.add(e)):r&&e.push(i);r&&i.push([o,e])}if(r)for(let[t,n]of i)e.queries.query[t]=n}(a,e,n,t)}}n.forEach(e=>e())}let ip={stack:"dbcore",level:0,name:"Cache",create:e=>{let t=e.schema.name;return{...e,transaction:(n,r,i)=>{let o=e.transaction(n,r,i);if("readwrite"===r){let i=new AbortController,{signal:a}=i,s=a=>()=>{if(i.abort(),"readwrite"===r){let r=new Set;for(let i of n){let n=ia[`idb://${t}/${i}`],s=e.table(i);if(n){let e=n.optimisticOps.filter(e=>e.trans===o);if(e.length>0){for(let t of(n.optimisticOps=n.optimisticOps.filter(e=>e.trans!==o),Object.values(n.queries.query)))for(let n of t.slice())if(null!=n.res&&o.mutatedParts){if(a&&!n.dirty){let i=Object.isFrozen(n.res),o=io(n.res,n.req,e,s,n,i);n.dirty?(tL(t,n),n.subscribers.forEach(e=>r.add(e))):o!==n.res&&(n.res=o,n.promise=nw.resolve({result:o}))}else n.dirty&&tL(t,n),n.subscribers.forEach(e=>r.add(e))}}}}r.forEach(e=>e())}};o.addEventListener("abort",s(!1),{signal:a}),o.addEventListener("error",s(!1),{signal:a}),o.addEventListener("complete",s(!0),{signal:a})}return o},table(n){let r=e.table(n),i=r.schema.primaryKey;return{...r,mutate(e){if(i.outbound||"disabled"===ng.trans.db._options.cache)return r.mutate(e);let o=ia[`idb://${t}/${n}`];if(!o)return r.mutate(e);let a=r.mutate(e);return("add"===e.type||"put"===e.type)&&(e.values.length>=50||rQ(i,e).some(e=>null==e))?a.then(t=>{let n={...e,values:e.values.map((e,n)=>{let r=i.keyPath.includes(".")?tP(e):{...e};return tE(r,i.keyPath,t.results[n]),r})};o.optimisticOps.push(n),queueMicrotask(()=>id(e.mutatedParts))}):(o.optimisticOps.push(e),id(e.mutatedParts),a.catch(()=>{tL(o.optimisticOps,e),id(e.mutatedParts)})),a},query(e){var i,o;if(!r7(ng,r)||!ie("query",e))return r.query(e);let a="immutable"===ng.trans.db._options.cache,{requery:s,signal:u}=ng,[l,c,f,d]=function(e,t,n,r){let i=ia[`idb://${e}/${t}`];if(!i)return[];let o=i.queries[n];if(!o)return[null,!1,i,null];let a=o[(r.query?r.query.index.name:null)||""];if(!a)return[null,!1,i,null];switch(n){case"query":let s=a.find(e=>e.req.limit===r.limit&&e.req.values===r.values&&is(e.req.query.range,r.query.range));return s?[s,!0,i,a]:[a.find(e=>{var t,n;return("limit"in e.req?e.req.limit:1/0)>=r.limit&&(!r.values||e.req.values)&&(t=e.req.query.range,n=r.query.range,0>=function(e,t,n,r){if(void 0===e)return void 0!==t?-1:0;if(void 0===t)return 1;let i=n9(e,t);if(0===i){if(n&&r)return 0;if(n)return 1;if(r)return -1}return i}(t.lower,n.lower,t.lowerOpen,n.lowerOpen)&&function(e,t,n,r){if(void 0===e)return void 0!==t?1:0;if(void 0===t)return -1;let i=n9(e,t);if(0===i){if(n&&r)return 0;if(n)return -1;if(r)return 1}return i}(t.upper,n.upper,t.upperOpen,n.upperOpen)>=0)}),!1,i,a];case"count":let u=a.find(e=>is(e.req.query.range,r.query.range));return[u,!!u,i,a]}}(t,n,"query",e);if(l&&c)l.obsSet=e.obsSet;else{let i=r.query(e).then(e=>{let t=e.result;if(l.res=t,a){for(let e=0,n=t.length;e<n;++e)Object.freeze(t[e]);Object.freeze(t)}else e.result=tP(t);return e}).catch(e=>(d&&l&&tL(d,l),Promise.reject(e)));l={obsSet:e.obsSet,promise:i,subscribers:new Set,type:"query",req:e,dirty:!1},d?d.push(l):(d=[l],f||(f=ia[`idb://${t}/${n}`]={queries:{query:{},count:{}},objs:new Map,optimisticOps:[],unsignaledParts:{}}),f.queries.query[e.query.index.name||""]=d)}return i=l,o=d,i.subscribers.add(s),u.addEventListener("abort",()=>{i.subscribers.delete(s),0===i.subscribers.size&&setTimeout(()=>{0===i.subscribers.size&&tL(o,i)},3e3)}),l.promise.then(t=>({result:io(t.result,e,null==f?void 0:f.optimisticOps,r,l,a)}))}}}}}};class iv{constructor(e,t){var n,r,i;this._middlewares={},this.verno=0;let o=iv.dependencies;this._options=t={addons:iv.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange,cache:"cloned",...t},this._deps={indexedDB:t.indexedDB,IDBKeyRange:t.IDBKeyRange};let{addons:a}=t;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;let s={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:t1,dbReadyPromise:null,cancelOpen:t1,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};s.dbReadyPromise=new nw(e=>{s.dbReadyResolve=e}),s.openCanceller=new nw((e,t)=>{s.cancelOpen=t}),this._state=s,this.name=e,this.on=rn(this,"populate","blocked","versionchange","close",{ready:[t7,t1]}),this.on.ready.subscribe=t_(this.on.ready.subscribe,e=>(t,n)=>{iv.vip(()=>{let r=this._state;if(r.openComplete)r.dbOpenError||nw.resolve().then(t),n&&e(t);else if(r.onReadyBeingFired)r.onReadyBeingFired.push(t),n&&e(t);else{e(t);let r=this;n||e(function e(){r.on.ready.unsubscribe(t),r.on.ready.unsubscribe(e)})}})}),this.Collection=(n=this,rr(rf.prototype,function(e,t){this.db=n;let r=n5,i=null;if(t)try{r=t()}catch(e){i=e}let o=e._ctx,a=o.table,s=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:r,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:o.or,valueMapper:s!==t2?s:null}})),this.Table=function(e){return rr(rt.prototype,function(t,n,r){this.db=e,this._tx=r,this.name=t,this.schema=n,this.hook=e._allTables[t]?e._allTables[t].hook:rn(null,{creating:[t5,t1],reading:[t3,t2],updating:[t6,t1],deleting:[t4,t1]})})}(this),this.Transaction=(r=this,rr(rE.prototype,function(e,t,n,i,o){this.db=r,this.mode=e,this.storeNames=t,this.schema=n,this.chromeTransactionDurability=i,this.idbtrans=null,this.on=rn(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new nw((e,t)=>{this._resolve=e,this._reject=t}),this._completion.then(()=>{this.active=!1,this.on.complete.fire()},e=>{var t=this.active;return this.active=!1,this.on.error.fire(e),this.parent?this.parent._reject(e):t&&this.idbtrans&&this.idbtrans.abort(),nY(e)})})),this.Version=(i=this,rr(rq.prototype,function(e){this.db=i,this._cfg={version:e,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})),this.WhereClause=function(e){return rr(r_.prototype,function(t,n,r){if(this.db=e,this._ctx={table:t,index:":id"===n?null:n,or:r},this._cmp=this._ascending=n9,this._descending=(e,t)=>n9(t,e),this._max=(e,t)=>n9(e,t)>0?e:t,this._min=(e,t)=>0>n9(e,t)?e:t,this._IDBKeyRange=e._deps.IDBKeyRange,!this._IDBKeyRange)throw new tY.MissingAPI})}(this),this.on("versionchange",e=>{e.newVersion,this.close()}),this.on("blocked",e=>{e.newVersion&&(e.newVersion,e.oldVersion)}),this._maxKey=rO(t.IDBKeyRange),this._createTransaction=(e,t,n,r)=>new this.Transaction(e,t,n,this._options.chromeTransactionDurability,r),this._fireOnBlocked=e=>{this.on("blocked").fire(e),n1.filter(e=>e.name===this.name&&e!==this&&!e._state.vcFired).map(t=>t.on("versionchange").fire(e))},this.use(r0),this.use(ip),this.use(ir),this.use(rG),this.use(rY),this.vip=Object.create(this,{_vip:{value:!0}}),a.forEach(e=>e(this))}version(e){if(isNaN(e)||e<.1)throw new tY.Type("Given version is not a positive number");if(e=Math.round(10*e)/10,this.idbdb||this._state.isBeingOpened)throw new tY.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,e);let t=this._versions;var n=t.filter(t=>t._cfg.version===e)[0];return n||(n=new this.Version(e),t.push(n),t.sort(rN),n.stores({}),this._state.autoSchema=!1,n)}_whenReady(e){return this.idbdb&&(this._state.openComplete||ng.letThrough||this._vip)?e():new nw((e,t)=>{if(this._state.openComplete)return t(new tY.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void t(new tY.DatabaseClosed);this.open().catch(t1)}this._state.dbReadyPromise.then(e,t)}).then(e)}use({stack:e,create:t,level:n,name:r}){r&&this.unuse({stack:e,name:r});let i=this._middlewares[e]||(this._middlewares[e]=[]);return i.push({stack:e,create:t,level:null==n?10:n,name:r}),i.sort((e,t)=>e.level-t.level),this}unuse({stack:e,name:t,create:n}){return e&&this._middlewares[e]&&(this._middlewares[e]=this._middlewares[e].filter(e=>n?e.create!==n:!!t&&e.name!==t)),this}open(){return nG(nm,()=>(function(e){var t;let n=e._state,{indexedDB:r}=e._deps;if(n.isBeingOpened||e.idbdb)return n.dbReadyPromise.then(()=>n.dbOpenError?nY(n.dbOpenError):e);tB&&(n.openCanceller._stackHolder=tq()),n.isBeingOpened=!0,n.dbOpenError=null,n.openComplete=!1;let i=n.openCanceller;function o(){if(n.openCanceller!==i)throw new tY.DatabaseClosed("db.open() was cancelled")}let a=n.dbReadyResolve,s=null,u=!1;return nw.race([i,("undefined"==typeof navigator?nw.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(e){var n=function(){return indexedDB.databases().finally(e)};t=setInterval(n,100),n()}).finally(function(){return clearInterval(t)}):Promise.resolve()).then(()=>new nw((t,i)=>{if(o(),!r)throw new tY.MissingAPI;let a=e.name,l=n.autoSchema?r.open(a):r.open(a,Math.round(10*e.verno));if(!l)throw new tY.MissingAPI;l.onerror=rw(i),l.onblocked=nM(e._fireOnBlocked),l.onupgradeneeded=nM(t=>{if(s=l.transaction,n.autoSchema&&!e._options.allowEmptyDB){l.onerror=rS,s.abort(),l.result.close();let e=r.deleteDatabase(a);e.onsuccess=e.onerror=nM(()=>{i(new tY.NoSuchDatabase(`Database ${a} doesnt exist`))})}else{s.onerror=rw(i);var o=t.oldVersion>0x4000000000000000?0:t.oldVersion;u=o<1,e._novip.idbdb=l.result,function(e,t,n,r){let i=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,i);o.create(n),o._completion.catch(r);let a=o._reject.bind(o),s=ng.transless||ng;nW(()=>{ng.trans=o,ng.transless=s,0===t?(ta(i).forEach(e=>{rU(n,e,i[e].primKey,i[e].indexes)}),rD(e,n),nw.follow(()=>e.on.populate.fire(o)).catch(a)):(function({_novip:e},t,n,r){let i=[],o=e._versions,a=e._dbSchema=rF(e,e.idbdb,r),s=!1;return o.filter(e=>e._cfg.version>=t).forEach(o=>{i.push(()=>{let i=a,u=o._cfg.dbschema;rW(e,i,r),rW(e,u,r),a=e._dbSchema=u;let l=rj(i,u);l.add.forEach(e=>{rU(r,e[0],e[1].primKey,e[1].indexes)}),l.change.forEach(e=>{if(e.recreate)throw new tY.Upgrade("Not yet support for changing primary key");{let t=r.objectStore(e.name);e.add.forEach(e=>rB(t,e)),e.change.forEach(e=>{t.deleteIndex(e.name),rB(t,e)}),e.del.forEach(e=>t.deleteIndex(e))}});let c=o._cfg.contentUpgrade;if(c&&o._cfg.version>t){let t;rD(e,r),n._memoizedTables={},s=!0;let o=tk(u);l.del.forEach(e=>{o[e]=i[e]}),rL(e,[e.Transaction.prototype]),rM(e,[e.Transaction.prototype],ta(o),o),n.schema=o;let a=tU(c);a&&nq();let f=nw.follow(()=>{if((t=c(n))&&a){var e=n$.bind(null,null);t.then(e,e)}});return t&&"function"==typeof t.then?nw.resolve(t):f.then(()=>t)}}),i.push(t=>{s&&n2||function(e,t){[].slice.call(t.db.objectStoreNames).forEach(n=>null==e[n]&&t.db.deleteObjectStore(n))}(o._cfg.dbschema,t),rL(e,[e.Transaction.prototype]),rM(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})}),(function e(){return i.length?nw.resolve(i.shift()(n.idbtrans)).then(e):nw.resolve()})().then(()=>{var e;ta(e=a).forEach(t=>{r.db.objectStoreNames.contains(t)||rU(r,t,e[t].primKey,e[t].indexes)})})})(e,t,o,n).catch(a)})}(e,o/10,s,i)}},i),l.onsuccess=nM(()=>{s=null;let r=e._novip.idbdb=l.result,i=tb(r.objectStoreNames);if(i.length>0)try{let t=r.transaction(1===i.length?i[0]:i,"readonly");n.autoSchema?function({_novip:e},t,n){e.verno=t.version/10;let r=e._dbSchema=rF(0,t,n);e._storeNames=tb(t.objectStoreNames,0),rM(e,[e._allTables],ta(r),r)}(e,r,t):(rW(e,e._dbSchema,t),function(e,t){let n=rj(rF(0,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some(e=>e.add.length||e.change.length))}(e,t)),rD(e,t)}catch(e){}n1.push(e),r.onversionchange=nM(t=>{n.vcFired=!0,e.on("versionchange").fire(t)}),r.onclose=nM(t=>{e.on("close").fire(t)}),u&&function({indexedDB:e,IDBKeyRange:t},n){rV(e)||"__dbnames"===n||r$(e,t).put({name:n}).catch(t1)}(e._deps,a),t()},i)}))]).then(()=>(o(),n.onReadyBeingFired=[],nw.resolve(rK(()=>e.on.ready.fire(e.vip))).then(function t(){if(n.onReadyBeingFired.length>0){let r=n.onReadyBeingFired.reduce(t7,t1);return n.onReadyBeingFired=[],nw.resolve(rK(()=>r(e.vip))).then(t)}}))).finally(()=>{n.onReadyBeingFired=null,n.isBeingOpened=!1}).then(()=>e).catch(t=>{n.dbOpenError=t;try{s&&s.abort()}catch(e){}return i===n.openCanceller&&e._close(),nY(t)}).finally(()=>{n.openComplete=!0,a()})})(this))}_close(){let e=this._state,t=n1.indexOf(this);if(t>=0&&n1.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this._novip.idbdb=null}e.dbReadyPromise=new nw(t=>{e.dbReadyResolve=t}),e.openCanceller=new nw((t,n)=>{e.cancelOpen=n})}close(){this._close();let e=this._state;this._options.autoOpen=!1,e.dbOpenError=new tY.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)}delete(){let e=arguments.length>0,t=this._state;return new nw((n,r)=>{let i=()=>{this.close();var e=this._deps.indexedDB.deleteDatabase(this.name);e.onsuccess=nM(()=>{(function({indexedDB:e,IDBKeyRange:t},n){rV(e)||"__dbnames"===n||r$(e,t).delete(n).catch(t1)})(this._deps,this.name),n()}),e.onerror=rw(r),e.onblocked=this._fireOnBlocked};if(e)throw new tY.InvalidArgument("Arguments not allowed in db.delete()");t.isBeingOpened?t.dbReadyPromise.then(i):i()})}backendDB(){return this.idbdb}isOpen(){return null!==this.idbdb}hasBeenClosed(){let e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name}hasFailed(){return null!==this._state.dbOpenError}dynamicallyOpened(){return this._state.autoSchema}get tables(){return ta(this._allTables).map(e=>this._allTables[e])}transaction(){let e=rH.apply(this,arguments);return this._transaction.apply(this,e)}_transaction(e,t,n){let r,i,o=ng.trans;o&&o.db===this&&-1===e.indexOf("!")||(o=null);let a=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(i=t.map(e=>{var t=e instanceof this.Table?e.name:e;if("string"!=typeof t)throw TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}),"r"==e||"readonly"===e)r="readonly";else{if("rw"!=e&&"readwrite"!=e)throw new tY.InvalidArgument("Invalid transaction mode: "+e);r="readwrite"}if(o){if("readonly"===o.mode&&"readwrite"===r){if(!a)throw new tY.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o=null}o&&i.forEach(e=>{if(o&&-1===o.storeNames.indexOf(e)){if(!a)throw new tY.SubTransaction("Table "+e+" not included in parent transaction.");o=null}}),a&&o&&!o.active&&(o=null)}}catch(e){return o?o._promise(null,(t,n)=>{n(e)}):nY(e)}let s=(function e(t,n,r,i,o){return nw.resolve().then(()=>{let a;let s=ng.transless||ng,u=t._createTransaction(n,r,t._dbSchema,i);if(u.explicit=!0,i)u.idbtrans=i.idbtrans;else try{u.create(),t._state.PR1398_maxLoop=3}catch(i){return i.name===tQ.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(t._close(),t.open().then(()=>e(t,n,r,null,o))):nY(i)}let l=tU(o);l&&nq();let c=nw.follow(()=>{if(a=o.call(u,u)){if(l){var e=n$.bind(null,null);a.then(e,e)}else"function"==typeof a.next&&"function"==typeof a.throw&&(a=rZ(a))}},{trans:u,transless:s});return(a&&"function"==typeof a.then?nw.resolve(a).then(e=>u.active?e:nY(new tY.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))):c.then(()=>a)).then(e=>(i&&u._resolve(),u._completion.then(()=>e))).catch(e=>(u._reject(e),nY(e)))})}).bind(null,this,r,i,o,n);return o?o._promise(r,s,"lock"):ng.trans?nG(ng.transless,()=>this._whenReady(s)):this._whenReady(s)}table(e){if(!tf(this._allTables,e))throw new tY.InvalidTable(`Table ${e} does not exist`);return this._allTables[e]}}let im="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable";class ig{constructor(e){this._subscribe=e}subscribe(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})}[im](){return this}}try{o={indexedDB:to.indexedDB||to.mozIndexedDB||to.webkitIndexedDB||to.msIndexedDB,IDBKeyRange:to.IDBKeyRange||to.webkitIDBKeyRange}}catch(e){o={indexedDB:null,IDBKeyRange:null}}function iy(e){let t=ib;try{ib=!0,rx.storagemutated.fire(e),ih(e,!0)}finally{ib=t}}td(iv,{...t0,delete:e=>new iv(e,{addons:[]}).delete(),exists:e=>new iv(e,{addons:[]}).open().then(e=>(e.close(),!0)).catch("NoSuchDatabaseError",()=>!1),getDatabaseNames(e){try{return(function({indexedDB:e,IDBKeyRange:t}){return rV(e)?Promise.resolve(e.databases()).then(e=>e.map(e=>e.name).filter(e=>"__dbnames"!==e)):r$(e,t).toCollection().primaryKeys()})(iv.dependencies).then(e)}catch(e){return nY(new tY.MissingAPI)}},defineClass:()=>function(e){tu(this,e)},ignoreTransaction:e=>ng.trans?nG(ng.transless,e):e(),vip:rK,async:function(e){return function(){try{var t=rZ(e.apply(this,arguments));return t&&"function"==typeof t.then?t:nw.resolve(t)}catch(e){return nY(e)}}},spawn:function(e,t,n){try{var r=rZ(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:nw.resolve(r)}catch(e){return nY(e)}},currentTransaction:{get:()=>ng.trans||null},waitFor:function(e,t){let n=nw.resolve("function"==typeof e?iv.ignoreTransaction(e):e).timeout(t||6e4);return ng.trans?ng.trans.waitFor(n):n},Promise:nw,debug:{get:()=>tB,set:e=>{var t;t="dexie"===e?()=>!0:n3,tB=e,tF=t}},derive:tv,extend:tu,props:td,override:t_,Events:rn,on:rx,liveQuery:function(e){let t,n=!1,r=new ig(r=>{let i=tU(e),a,s=!1,u={},l={},c={get closed(){return s},unsubscribe:()=>{s||(s=!0,a&&a.abort(),f&&rx.storagemutated.unsubscribe(d))}};r.start&&r.start(c);let f=!1,d=e=>{it(u,e),iu(l,u)&&h()},h=()=>{if(s||!o.indexedDB)return;u={};let c={};a&&a.abort();let p={subscr:c,signal:(a=new AbortController).signal,requery:h,trans:null};Promise.resolve(function(t){i&&nq();let n=nW(e,t);return i&&n.finally(n$),n}(p)).then(e=>{n=!0,t=e,s||p.signal.aborted||(u={},function(e){for(let t in e)if(tf(e,t))return!1;return!0}(l=c)||f||(rx("storagemutated",d),f=!0),r.next&&r.next(e))},e=>{n=!1,["DatabaseClosedError","AbortError"].includes(null==e?void 0:e.name)||s||!r.error||r.error(e)})};return h(),c});return r.hasValue=()=>n,r.getValue=()=>t,r},extendObservabilitySet:it,getByKeyPath:tx,setByKeyPath:tE,delByKeyPath:function(e,t){"string"==typeof t?tE(e,t,void 0):"length"in t&&[].map.call(t,function(t){tE(e,t,void 0)})},shallowClone:tk,deepClone:tP,getObjectDiff:rJ,cmp:n9,asap:tS,minKey:-1/0,addons:[],connections:n1,errnames:tQ,dependencies:o,cache:ia,semVer:"4.0.1-alpha.22",version:"4.0.1-alpha.22".split(".").map(e=>parseInt(e)).reduce((e,t,n)=>e+t/Math.pow(10,2*n))}),iv.maxKey=rO(iv.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(rx("storagemutated",e=>{if(!ib){let t;n2?(t=document.createEvent("CustomEvent")).initCustomEvent("x-storagemutated-1",!0,!0,e):t=new CustomEvent("x-storagemutated-1",{detail:e}),ib=!0,dispatchEvent(t),ib=!1}}),addEventListener("x-storagemutated-1",({detail:e})=>{ib||iy(e)}));let ib=!1;if("undefined"!=typeof BroadcastChannel){let e=new BroadcastChannel("x-storagemutated-1");"function"==typeof e.unref&&e.unref(),rx("storagemutated",t=>{ib||e.postMessage(t)}),e.onmessage=e=>{e.data&&iy(e.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){rx("storagemutated",e=>{try{ib||("undefined"!=typeof localStorage&&localStorage.setItem("x-storagemutated-1",JSON.stringify({trig:Math.random(),changedParts:e})),"object"==typeof self.clients&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach(t=>t.postMessage({type:"x-storagemutated-1",changedParts:e})))}catch(e){}}),"undefined"!=typeof addEventListener&&addEventListener("storage",e=>{if("x-storagemutated-1"===e.key){let t=JSON.parse(e.newValue);t&&iy(t.changedParts)}});let e=self.document&&navigator.serviceWorker;e&&e.addEventListener("message",function({data:e}){e&&"x-storagemutated-1"===e.type&&iy(e.changedParts)})}async function i_(e){await iv.exists(e)&&iv.delete(e)}nw.rejectionMapper=function(e,t){if(!e||e instanceof tH||e instanceof TypeError||e instanceof SyntaxError||!e.name||!tX[e.name])return e;var n=new tX[e.name](t||e.message,e);return"stack"in e&&tp(n,"stack",{get:function(){return this.inner.stack}}),n},tF=n3;class iw{constructor(e,t){this.namePrefix=e,this.Database=t,this.databaseDeleteListeners=[],this.databases=new Map}getDatabase(e,t=""){let n=this.databases.get(t);return n||(n=this.initializeDatabase(t,e??void 0)),n}deleteDatabase(e=""){let t=this.getDatabaseName(e),n=this.databases.get(e);return n&&this.databaseDeleteListeners.forEach(e=>e(n)),this.databases.delete(e),i_(t)}async getPersistedDatabaseIds(e=!1){try{return(await iv.getDatabaseNames()).filter(t=>(!!e||t!==this.namePrefix)&&t.startsWith(this.namePrefix)).map(e=>e===this.namePrefix?"":e.replace(`${this.namePrefix}-`,""))}catch{return[]}}registerDatabaseDeleteListener(e){this.databaseDeleteListeners.push(e)}initializeDatabase(e="",t){e&&i_(this.namePrefix);let n=new this.Database(this.getDatabaseName(e),t);return this.databases.set(e,n),n}getDatabaseName(e){return e?`${this.namePrefix}-${e}`:this.namePrefix}}var iS=n(196571),ix=n(776372),iE=n(302618);let ik=0;void 0!==self.document&&self.document.addEventListener("visibilitychange",()=>{ik=self.document?.visibilityState=="visible"?new Date().getTime():Number.MAX_VALUE});var iC=n(636283),iA=n(696254),iO=n(150810),iI=n(114878),iP=n(961481),iT=n(568408),iR=n(797388);let iD={stack:[],queue:[],count:0};function iM(e,t){t&&"function"==typeof t.get&&(e.addCustomProperty("FEServer",t.get("x-feserver")),e.addCustomProperty("BEServer",t.get("x-beserver")),e.addCustomProperty("BEStatus",t.get("x-backendhttpstatus")),e.addCustomProperty("ServerVersion",t.get("x-owa-version")),e.addCustomProperty("ErrorRequestId",t.get("request-id")),e.addCustomProperty("ErrorAFDRef",t.get("x-msedge-ref")),e.addCustomProperty("ErrorMessageId",t.get("x-owaerrormessageid")))}function iL(e,t){return!!t&&e.some(e=>t.toLowerCase().indexOf(e.toLowerCase())>-1)}let iN=["out of memory","not enough storage","not enough memory resources","espacio de almacenamiento insuficiente","insuffisante pour cette","no hay suficiente espacio de pila","espace pile insuffisant","Memoria esaurita","Mémoire insuffisante","Memoria insuficiente","Memória insuficiente"],ij=["ConnectionFailedTransient","StorageTransient","OwaLockTrackableTimeout","MailboxInTransit","MailboxInfoStale","MailboxCrossSiteFailover","OwaLockTimeout","DCOverloaded","ErrorInternalServerTransientError","ErrorRightsManagementTransientException"],iU=["OverBudget","TooManyObjectsOpened","ErrorServerBusy","MailboxStoreUnavailable"],iB=["InvalidLicense","TenantAccessBlocked","UserHasNoMailbox","AccountDisabled","ErrorNonExistentMailbox","ErrorMessageSizeExceeded"],iF=[": Syntax error","SyntaxError:","A network error occurred","Failed to fetch","NetworkError","Network request failed","Internet connection appears to be","The network connection was lost.","Could not connect to the server","cancelled. URL:","ErrorSessionTimeout","Loading chunk ","Unexpected server response (0)","Unexpected end of JSON input","Unexpected token","Invalid character","Unexpected end of input","The operation was aborted","Failed to load javascript","disableAllRequests","The service worker navigation preload request failed due to a network error","TypeError: Load failed","Request failed to complete"],iW=["An internal server error occurred."],iq=["ErrorAccessDenied","AccessDeniedException","RemoteCalendarAccessDenied"],i$={RequestNotComplete:"network",AuthNeeded:"auth",RequestTimeout:"timeout",Expected:!0};function iV(e,t,n){let r=n?.isGreyError?"client_grey_error":void 0;return iS.Vi.importAndExecute(e,t,n,r)}let iK=["TOO_MANY_RERENDERS"];class iZ extends iE.D{constructor(e,t,n,r,i){super(e,n,r),this.options.isGreyError=!0,t&&(this.addData("message",(0,iR.$6)(t.message)),this.addData("stack",(0,iR.$6)(t.stack,!iK.includes(e??"")))),i&&(this.originalCustomData=i)}getOriginalCustomData(){return this.originalCustomData}}var iH=n(479);function iz(e,t,n,r){return(0,iH.y)(new iZ(e,t,n,r))}var iG=n(300011);let iJ="undefined"!=typeof self&&self.performance&&!!self.performance.mark,iQ=e=>!!iJ&&(0,iG.JI)("pm")&&(!(0,iG.JI)("pm")||i2(e).toLowerCase().indexOf((0,iG.mn)("pm").toLowerCase())>-1),iY=0,iX=(e,t)=>{if(e&&iQ(e)){if(void 0===e.markSetId&&(e.markSetId=iY++),performance.mark(i0(e,t)),e.prevMark){let n=i1(e,e.prevMark,t);try{performance.measure(n,i0(e,e.prevMark))}catch(e){}}e.prevMark=t}},i0=(e,t)=>`owa-${i2(e)}_${t}_${e.markSetId}`,i1=(e,t,n)=>`${i2(e)}_${t} to ${n}`,i2=e=>e.getEventName?.();function i3(e){return`WF_${e}`}function i8(e){return`Custom${e}`}var i5=n(654879),i4=n(516171);let i6=0,i9=!1,i7=Object.values(ix.SO),oe=class extends iE.D{constructor(e,t){super(e,void 0,t),this.startMemory=0,this.timeBeforePause=0,this.previousEndCalls=[],this.invalidated=!1,this.health={},this.pendingCallbacks=[],this.isEndPending=!1,this.endProfile=null,this.allRequestIds=[],this.responseCorrelationVectors=[],this.madeNetworkRequest=!1,this.didExecuteGqlQuery=!1,this.dataSource=null,this.isPerformanceDatapoint=!0,this.noMarking=!!t?.noMarking;let n=(0,iO.jP)();if(this.startTime=t?.customStartTime||n||Date.now(),this.startScore=-1,!this.options?.skipNonMetadataTasks){this.performanceMark("s");let e=t?.eventTimestamp;e&&this.setEventTimestamp(e)}if(n&&this.addData("BundleTime",Date.now()-n),this.startMemory=self?.performance?.memory?.usedJSHeapSize,this.startReactions=0,this.perfStartTime=self?.performance?.now(),!this.options?.skipNonMetadataTasks){this.timeoutId=setTimeout(this.endWithTimeout.bind(this),t&&"number"==typeof t.timeout?t.timeout:6e4);let n=(0,iP.Y)().capturePerfProfiles;n&&n.some(t=>t.name==e&&Date.now()<t.expire)&&(this.endProfile=function(e){if(!(0,i4.a4)("jsselfprofiler")||"function"!=typeof self.Profiler||"function"!=typeof performance?.now||i6>=10||i9)return null;i6++;try{let t=new self.Profiler({sampleInterval:10,maxBufferSize:1e3}),n=performance.now();return async()=>{let r=Math.floor(performance.now()-n),i=await t.stop();if(r>50&&!i9)try{let t=JSON.stringify(i);iS.eg.importAndExecute(e,r,t),i9=!0}catch{}}}catch{return null}}(e))}}addCheckmark(e,t){this.performanceMark(e);let n=this.timeFromStart(t);return this.addToWaterfall(e,n),n}addCheckpoint(e){this.addToWaterfall(e,1)}addToWaterfall(e,t){this.waterfallTimings||(this.waterfallTimings={});try{let n=(0,iI.d)(this.waterfallTimings,e,this.eventName);n&&!this.hasEnded&&(this.waterfallTimings[n]=t)}catch{}}addToPredefinedWaterfall(e,t,n,r){if(t&&this.isWaterfallCheckpointDefined(e)){iC.g4.warn(`Waterfall Timing Discarded. DP: ${this.eventName}. Checkpoint: ${e}`);return}let i=n||this.timeFromStart();this.addWaterfallColumn(e,i.toFixed(),r),n||this.performanceMark(i3(e))}addToCustomWaterfall(e,t,n,r){if(n&&this.isWaterfallCheckpointDefined(e)){iC.g4.warn(`Waterfall Timing Discarded. DP: ${this.eventName}. Index: ${e}`);return}let i=r||this.timeFromStart(),o=`${t}|${"number"==typeof i?Math.round(i):i}`;e<1||e>15?iz(`The custom waterfall (${t}) index must be between 1 and 15. Datapoint name: ${this.eventName}`):(this.addWaterfallColumn(i8(e),o),r||this.performanceMark(t))}addToPredefinedOrCustomWaterfall(e,t,n){if(this.getData(i3(e))){if(!t){iz("CustomCheckpointColumnIsAreadyUsed",Error(`addToPredefinedOrCustomWaterfall for the checkpoint ${e} (DP: ${this.eventName}) requires a custom index`));return}this.addToCustomWaterfall(t,e,n)}else this.addToPredefinedWaterfall(e,n)}setEventTimestamp(e){this.options.eventTimestamp=e,oe.EventTimeToDpMapping.set(e,this)}isWaterfallCheckpointDefined(e){return!!this.getWaterfallColumnData(e)}setEndPending(){this.hasEnded||(this.schedulePendingCallbackResolutionOnNextPaint(),this.isEndPending=!0)}addCallbackResolvedAfterNextPaint(e){this.hasEnded||(this.schedulePendingCallbackResolutionOnNextPaint(),this.pendingCallbacks.push(e))}resolvePendingCallbacks(){this.hasEnded||this.resolvePendingCallbacksInternal(!1)}schedulePendingCallbackResolutionOnNextPaint(){!1==this.isEndPending&&0==this.pendingCallbacks.length&&(0,i5.HG)(()=>this.resolvePendingCallbacks())}resolvePendingCallbacksInternal(e){for(let e of this.pendingCallbacks)e();this.pendingCallbacks=[],!e&&this.isEndPending&&this.end()}addWaterfallColumn(e,t,n){let r=i3(e);this.getData(r)&&!this.dataRetries?iz(`The waterfall checkpoint ${e} already exist. It can only be logged once. Datapoint name: ${this.eventName} . ActionName: ${n}`):this.addData(r,t)}endWithError(e,t,n,r){let i="function"==typeof e?e(n):e;if(!i7.includes(i)){let t=`Invalid call to "endWithError". Expected status to be of a "DatapointStatus" type but got ${e} for the datapoint named ${this.eventName}`;iC.g4.warn(t),iV("InvalidStatusForEndWithError",{message:t,datapoint:this.eventName})}return this.endInternal("endWithError",n,e,t,r)}endAfterAnimationFrame(){(0,iA.JY)(()=>{this.endInternal("endAfterAnimationFrame")})}end(e,t,n,r){this.endInternal("end",e,t,n,r)}markUserPerceivedTime(e){e?(0,iA.JY)(this.addUserPerceivedTime.bind(this)):this.addUserPerceivedTime()}invalidate(){this.hasEnded=!0,this.invalidated=!0}pause(){this.timeBeforePause+=this.timeFromStart(),this.startTime=void 0}resume(){this.startTime||(this.startTime=Date.now())}endAction(e,t){this.hasEnded||(this.invalidated=!0,this.addDataWithoutChecks("RequestIds",this.allRequestIds.join(";")),this.addDataWithoutChecks("cV",this.responseCorrelationVectors.join(";")),this.addDataWithoutChecks("Cache",this.madeNetworkRequest?"NoCache":"Cache"),this.endInternal("endAction",void 0,e,t))}addDataSource(e){this.dataSource=e,function(e){switch(e){case ix.o2.NETWORK:case ix.o2.NETWORK_GQL:case ix.o2.NETWORK_GATEWAY:return!0;default:return!1}}(e)&&(this.madeNetworkRequest=!0)}getWaterfallColumnData(e){return this.getData(i3("number"==typeof e?i8(e):e))}getDataSource(){return this.dataSource}getStartTime(){return this.startTime}calculateTotalDuration(e){return"number"==typeof e?Math.floor(e):this.timeFromStart()+this.timeBeforePause}getE2ETimeElapsed(){return this.getData("E2ETimeElapsed")}isSent(){return this.hasEnded}rehydrateFromJSObject(e,t){if(e.dataSource&&this.addDataSource(e.dataSource),e.properties){for(let[n,r]of Object.entries(e.properties))if(r&&n?.startsWith("WF_")&&!this.getData(n)){if(t){let t=this.getStartTime(),n=e.startTime;if(t&&n){let[e,i]=r.split("|");r=`${e}|${n-t+Number(i)}`}}this.getProperties()[n]=r}}if(e.propertyBag)for(let t of Object.keys(e.propertyBag))this.addCustomProperty(t,e.propertyBag[t]);this.didExecuteGqlQuery=!!(this.didExecuteGqlQuery||e.didExecuteGqlQuery)}toJSObject(){return JSON.parse(JSON.stringify(this))}static fromPerfDpJSObject(e){return Object.assign(new oe(e.eventName,{...e.options,skipNonMetadataTasks:!0}),e)}async endInternal(e,t,n,r,i){if(this.hasEnded)this.invalidated||iV("ActionCalledAfterPerfDatapointEndedV2",{event:this.eventName,type:e,endCalls:this.previousEndCalls.join(","),errMsg:(0,iR.$6)(r?.message),errorTypeIn:i});else{let e=this.calculateTotalDuration(t);void 0===t&&this.performanceMark("e"),this.addDataWithoutChecks("E2ETimeElapsed",e),this.endProfile?.(),this.endProfile=null,this.resolvePendingCallbacksInternal(!0),this.hasEnded=!0,this.endTime="function"==typeof performance.now?performance.now():void 0,clearTimeout(this.timeoutId),this.dataSource&&this.addDataWithoutChecks("DataSource",this.dataSource),this.dataRetries&&this.addDataWithoutChecks("DataRetries",this.dataRetries),this.addHealth();let o=(0,iT.W)(r),a=function(e,t){if(t)return function(e,t){var n;if(iL(iN,e))return{status:ix.SO.UserError,type:"memory"};if(iL(ij,e))return{status:ix.SO.ServerExpectedError,type:"transient"};if(iL(iU,e))return{status:ix.SO.ServerExpectedError,type:"throttle"};if(iL(iB,e))return{status:ix.SO.ServerExpectedError,type:"configuration"};if(iL(iF,e)||n?.code==="CSS_CHUNK_LOAD_FAILED")return{status:ix.SO.UserError,type:"network"};if(iL(iq,e))return{status:ix.SO.ServerExpectedError,type:"accessDenied"};if(t){let n=function(e){let t=e?.extensions?.code;if(null!=t)switch(t){case"BAD_REQUEST_ERROR":case"GraphqlClientError":return{status:ix.SO.ClientError};case"USER_ERROR":return{status:ix.SO.UserError};case"EXTERNAL_SERVICE_ERROR":return{status:ix.SO.ServerExpectedError,type:"external"};case"TRANSIENT_ERROR":return{status:ix.SO.ServerExpectedError,type:"transient"};case"GraphqlNetworkError":return{status:ix.SO.ServerExpectedError,type:"network"};default:return{status:ix.SO.ServerError}}}(t);if(n)return n;if(iL(iW,e))return{status:ix.SO.ServerError};if("number"==typeof t.httpStatus)return 0===t.httpStatus||4==Math.floor(t.httpStatus/100)?{status:ix.SO.UserError,type:"network"}:{status:ix.SO.ServerError};if(t.fetchErrorType){let e=i$[t.fetchErrorType];return{status:e?ix.SO.UserError:ix.SO.ServerError,type:"string"==typeof e?e:void 0}}}return{status:ix.SO.ClientError}}(function(e,t){let n;if(t){"string"==typeof t&&(t=Error(t)),n=t.message;let r=t.stack,i=t.response;if(i)n=(i?.headers&&(i.headers.get("x-owa-error")||i.headers.get("x-auth-error")||i.headers.get("x-redir-error")||i.headers.get("x-jit-error")))??void 0,r=`Server InnerException: ${i?.headers&&i.headers.get("x-innerexception")}; client stack: ${t.stack}`,iM(e,i.headers),e.getProperties().ErrorRequestUrl=(0,iR.$6)(i.url);else t.headers&&iM(e,t.headers);let o=t.responseCode;o&&e.addCustomProperty("ResponseCode",o),t.fetchErrorType&&e.addCustomProperty("FetchErrorType",t.fetchErrorType),"boolean"==typeof t.retriable&&e.addCustomProperty("Retriable",t.retriable);let a=t.diagnosticInfo||"",{stack:s}=iD;s.length>0&&(a+="|"+s),e.addCustomProperty("Diagnostics",(0,iR.$6)(a)),"number"==typeof t.httpStatus&&e.addCustomProperty("ErrorStatusCode",t.httpStatus),e.getProperties().ErrorMessage=(0,iR.$6)(n),r&&(e.getProperties().ErrorDetails=(0,iR.$6)(r))}return n}(e,t),t)}(this,o),s=("function"==typeof n?n(t):n)||a?.status||ix.SO.Success,u=i||a?.type||"general";o&&iC.g4.warn(`Datapoint ${this.eventName} ended with an error of ${o.message}`),this.options?.eventTimestamp?(this.lazyLogArugments={calculatedStatus:s,errorType:u},this.scenarioEventTimeoutId=self.setTimeout(()=>{this.logEvent(s,u),this.lazyLogArugments=void 0},5e3)):this.logEvent(s,u)}this.previousEndCalls.push(e)}addHealth(){let e="s";try{let t=self?.performance?.now();if(e="rc",this.startScore>-1&&(this.health.rc=0-this.startReactions),e="c",this.startScore>-1&&(this.health.ls=-1-this.startScore),e="m",this.startMemory){let e=self?.performance?.memory?.usedJSHeapSize,t=Math.floor((e-this.startMemory)/1024);t>0&&(this.health.md=t)}e="lm";let n=(0,iO.$e)(this.perfStartTime);if(n.length>0){let e=this.matchLazyLoadedModules(n,t);e.length>0&&(this.health.lm=e)}e="hc";let r=self.navigator?.hardwareConcurrency;"number"==typeof r&&(this.health.c=r)}catch(t){iV("DatapointHealthError",{error:t?.message,errorStep:e})}}matchLazyLoadedModules(e,t){let n=[];for(let{start:r,duration:i,attemps:o}of e)if(this.perfStartTime&&r>=this.perfStartTime&&r+i<=t){let e={d:Math.floor(i)};o>1&&(e.a=o),n.push(e)}return n}addUserPerceivedTime(){this.performanceMark("UserPerceivedTime"),this.addData("UserPerceivedTime",this.timeFromStart())}performanceMark(e){this.noMarking||iX(this,e)}endWithTimeout(){this.startTime&&this.startTime>=ik&&(this.invalidated=!0,this.options=this.options||{},this.options.logVerbose=!0,this.endInternal("endWithTimeout",void 0,ix.SO.Timeout))}logEvent(e,t){this.options?.eventTimestamp&&this.endTime&&this.addDataWithoutChecks("TrueDuration",Math.floor(this.endTime-this.options.eventTimestamp)),Object.keys(this.health).length>0&&this.addDataWithoutChecks("Health",JSON.stringify(this.health)),iS.Rm.importAndExecute(this,e,t)}timeFromStart(e){return this.startTime?(e||Date.now())-this.startTime:0}addScenarioEventTiming(e,t,n,r,i){if(self.clearTimeout(this.scenarioEventTimeoutId),this.health.loaf=t.join("|"),this.health.loafss=n.join("|"),this.health.idloaf=r.join("|"),this.health.idloafss=i.join("|"),this.health.inp=Math.floor(e.duration),this.health.id=Math.floor(e.processingStart-e.startTime),this.lazyLogArugments){let{calculatedStatus:e,errorType:t}=this.lazyLogArugments;this.logEvent(e,t)}else this.options.eventTimestamp=void 0}},ot=oe;ot.EventTimeToDpMapping=new Map;n(932965);var on=n(260487),or=n(698284);n(482202);let oi=[];function oo(e,t,n,r,i){var o=[][0];o&&iS.Hf.importAndExecute(o,e,t,i)}function oa(e){return{...e,transaction(t,n,r){let i=performance.now(),o=Error("Trace").stack,a=e.transaction(t,n,r),s=new AbortController,u={once:!0,signal:s.signal},l=r=>{s.abort();let a=performance.now()-i;a>500&&iV("slow_idb",{durationMs:Math.floor(a),db:e.schema.name,stores:t.join(","),mode:n,status:r,stack:o})};return a.addEventListener("complete",()=>l("complete"),u),a.addEventListener("error",()=>l("error"),u),a.addEventListener("abort",()=>l("abort"),u),a}}}(0,on.k)(oo),(0,or.k)(oo);var os=((d=os||{}).Small="0",d.Large="1",d.LargeOrOriginalFile="2",d);let ou=(w=["attachmentId","thumbnailType"],`[${w.join("+")}]`),ol={images:`${ou},timeCached,messageBodyId`},oc=new iw("owa-image-data",class extends iv{constructor(e){super(e),this.version(1).stores({...ol}),this.version(2).stores({...ol}),this.use({stack:"dbcore",name:oa.name,create:oa})}});function of(e){return oc.getDatabase(void 0,e??"")}function od(e){let t=new URLSearchParams(new URL(e).search),n=t.get("id")??"",r=os.Small,i=t.get("thumbnailType");return i&&(r=i),{primaryKey:{attachmentId:n,thumbnailType:r},persistenceId:t.get("persistenceId")}}async function oh(e){let t=od(e),n=of(t.persistenceId),r=await n.images.get(t.primaryKey);return r?.image}async function op(e){let t=await e.blob(),n=od(e.url),r=of(n.persistenceId),i=n.primaryKey;await r.images.put({attachmentId:i.attachmentId,thumbnailType:i.thumbnailType,image:t,timeCached:new Date})}let ov={credentials:"same-origin",redirect:"manual",mode:"cors"},om="Result";async function og(e){let t=e.request,n=t.url,r=eD("SwImages","SW");try{let e=await oh(n);if(e)return q("The attachment image exists in the IndexedDB"),r.addData(om,"CacheHit"),r.end("Success"),new Response(e)}catch(e){r.addData("CacheError",e?.message),q(`The call to getImageFromDatabase failed: ${e?.message}`)}return oy(t,r)}async function oy(e,t){let n;let r=await fetch(e,ov),i="Success";if(r&&ti(r.status)){let e=r.clone();try{await op(e),t.addData(om,"FetchAndCache"),q("The attachment image is saved to the IndexedDB")}catch(e){i="ClientError",n=e,q(`The call to saveImageToDatabase failed: ${e?.message}`)}}else i="ServerError",n=Error(`The call to fetch attachment image failed: ${r?.status}`);return t.end(i,n),r}var ob=((h=ob||{})[h.FileSystem=0]="FileSystem",h[h.PrivateFileSystem=1]="PrivateFileSystem",h[h.Database=2]="Database",h);let o_={attachments:"attachmentId,timeCached,messageBodyId"},ow={directoryHandles:"id"},oS=new iw("owa-attachment-data",class extends iv{constructor(e){super(e),this.version(1).stores({...o_}),this.version(2).stores({...ow})}});function ox(e){return oS.getDatabase(void 0,e??"")}async function oE(e){let t=ox(e.persistenceId);return await t.attachments.get(e.attachmentId)}async function ok(e,t){let n=ox(e.persistenceId);await n.attachments.put(t)}function oC(e){let t=new URLSearchParams(new URL(e).search);return{attachmentId:t.get("id"),persistenceId:t.get("persistenceId")}}async function oA(e){let t=ox(e.persistenceId);return await t.attachments.delete(e.attachmentId)}function oO(e){let t=decodeURIComponent(e);return(t=(t=(t=t.replace(/[<>:"/\\|?*\x00-\x1F]/g,"_")).replace(/\.$/,"_")).replace(/\s+$/,"_"),/^(con|prn|aux|nul|com[0-9]|lpt[0-9])$/i.test(t))?t+"_":t}async function oI(e){let t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(e=>e.toString(16).padStart(2,"0")).join("")}async function oP(e){let t=oO(e);return e.length>64&&(t=await oI(e)),t}function oT(e,t){let n=t?`ooa-${oO(t)}`:"ooa";return e.getDirectoryHandle(n,{create:!0})}let oR="Content-Disposition";class oD{constructor(e){this.rootDirectoryHandle=e}async getAttachmentResponse(e){let t=oC(e);if(!t.attachmentId)throw Error("No attachment id in the url.");let n=await oE(t);if(!n)return;let r=await oT(this.rootDirectoryHandle,t.persistenceId);if(!r)throw Error("Cannot get the persisted directory handle.");let i=await oP(t.attachmentId),o=await r.getDirectoryHandle(i);if(!o)throw Error("Cannot get the attachment directory handle.");let a=await o.getFileHandle(n.fileName),s=await a.getFile();if(!s)throw Error("Cannot get the file from the file handle.");let u=new Blob([s],{type:s.type}),l=new Headers;return l.append(oR,`attachment; filename="${n.fileName}"`),l.append("Content-Length",n.fileSize.toString()),new Response(u,{headers:l})}async saveAttachmentResponse(e,t){let n=oC(e.url);if(!n.attachmentId)throw Error("No attachment id in the url.");let r=await e.blob(),i=r.size,o=t?.fileName||"NONAME",a=e.headers.get(oR);if(a){let e=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(a);e&&e[1]&&(o=oO(o=e[1].replace(/['"]/g,"")))}await ok(n,{attachmentId:n.attachmentId,fileName:o,fileSize:i,timeCached:new Date,...t});try{let e=await oT(this.rootDirectoryHandle,n.persistenceId),t=await oP(n.attachmentId),i=await e.getDirectoryHandle(t,{create:!0}),a=await i.getFileHandle(o,{create:!0}),s=await a.createWritable();await s.write(r),await s.close()}catch(e){throw await oA(n),e}}async deleteAttachment(e){let{attachmentId:t,persistenceId:n}=e;if(!t)throw Error("No attachment id");let r=await oT(this.rootDirectoryHandle,n),i=await oP(t);if(!await r.getDirectoryHandle(i))throw Error("Cannot get the attachment directory handle.");return await r.removeEntry(i,{recursive:!0}),await oA(e),!0}async getAttachment(e){let{attachmentId:t,persistenceId:n}=oC(e);if(!t)throw Error("No attachment id in the url.");let r=await oE({attachmentId:t,persistenceId:n});if(!r)return;let i=await oT(this.rootDirectoryHandle,n),o=await oP(t),a=await i.getDirectoryHandle(o);if(!a)throw Error("Cannot get the attachment directory handle.");let s=await a.getFileHandle(r.fileName);if(!await s.getFile())throw Error("Cannot get the file from the file handle.");return{entry:r,fileHandle:s}}async updateAttachment(e,t){let n=await oE(e);if(!n)throw Error("Attachment not found");await ok(e,{...n,...t})}}class oM{createStorageStrategy(e,t){if(e===ob.FileSystem)return new oD(t);throw Error("Invalid storage type")}}n(837873);let oL={credentials:"same-origin",redirect:"manual",mode:"cors"},oN="Result";async function oj(e){let t=e.request,n=t.url,r=eD("SwAttachments","SW"),i=new oM,o=a,s=i.createStorageStrategy(ob.FileSystem,o);try{let e=await s.getAttachmentResponse(n);if(e)return q("The attachment exists in the IndexedDB"),r.addData(oN,"CacheHit"),r.end("Success"),e}catch(e){r.addData("CacheError",e?.message),q(`The call to getAttachmentResponse failed: ${e?.message}`)}return oU(t,s,r)}async function oU(e,t,n){let r;let i=await fetch(e,oL),o="Success";if(i&&ti(i.status)){let e=i.clone();try{await t.saveAttachmentResponse(e),n.addData(oN,"FetchAndCache"),q("The attachment is saved to the storage")}catch(e){o="ClientError",r=e,q(`The call to saveAttachmentResponse failed: ${e?.message}`)}}else o="ServerError",r=Error("The call to fetch attachment failed"),n.addData(oN,i?.status.toString());return n.end(o,r),i}async function oB(e){let t;let n=V("UninstallCache"),r=eD("SwUninstall",e.source,e.userInfo),i="Success";try{await ef(e.source),await eP()}catch(e){i="ClientError",t=e}finally{q(`Status=${i}`,t),eI(e.source,{status:"Success"==i?C.CacheInstalled:C.CacheFailed}),n(),r.end(i,t)}}async function oF({source:e}){let t;let n=V("ClaenupCache"),r="NA";q(`Start cache cleanup for ${e}`);try{let t=await eu(e);t&&(r=t.version,q(`Deleting cache for ${e}`),await t.cache.delete(eg(e)))}catch(e){t=e}finally{q(`Scope=${e},Version=${r}`,t),n()}}class oW{constructor(){this.DONE=4,this.HEADERS_RECEIVED=2,this.LOADING=3,this.OPENED=1,this.UNSENT=0,this.readyState=this.UNSENT,this.responseText="",this.responseType="",this.responseURL="",this.responseXML=null,this.status=-1,this.statusText="",this.timeout=-1,this.upload=null,this.withCredentials=!1}}class oq extends oW{constructor(){super(...arguments),this.events={abort:[],error:[],load:[],loadend:[],loadstart:[],progress:[],readystatechange:[],timeout:[]}}get onabort(){return this.dispatchEvent.bind(this)}set onabort(e){this.addEventListener("abort",e)}get onerror(){return this.dispatchEvent.bind(this)}set onerror(e){this.addEventListener("error",e)}get onload(){return this.dispatchEvent.bind(this)}set onload(e){this.addEventListener("load",e)}get onloadend(){return this.dispatchEvent.bind(this)}set onloadend(e){this.addEventListener("loadend",e)}get onloadstart(){return this.dispatchEvent.bind(this)}set onloadstart(e){this.addEventListener("loadstart",e)}get onprogress(){return this.dispatchEvent.bind(this)}set onprogress(e){this.addEventListener("progress",e)}get onreadystatechange(){return this.dispatchEvent.bind(this)}set onreadystatechange(e){this.addEventListener("readystatechange",e)}set ontimeout(e){this.addEventListener("timeout",e)}addEventListener(e,t){switch(e){case"readystatechange":this.events.readystatechange.push(t.bind(this));break;case"abort":this.events.abort.push(t.bind(this));break;case"error":this.events.error.push(t.bind(this));break;case"load":this.events.load.push(t.bind(this));break;case"loadend":this.events.loadend.push(t.bind(this));break;case"loadstart":this.events.loadstart.push(t.bind(this));break;case"progress":this.events.progress.push(t.bind(this));break;case"timeout":this.events.timeout.push(t.bind(this));break;default:throw Error(`Listener type ${e} is not supported.`)}}dispatchEvent(e){let t=e.type;return this.events[t].map(t=>t.call(this,e)),!0}removeEventListener(e,t){switch(e){case"readystatechange":this.events.readystatechange=this.events.readystatechange.filter(e=>e!==t);break;case"abort":this.events.abort=this.events.abort.filter(e=>e!==t);break;case"error":this.events.error=this.events.error.filter(e=>e!==t);break;case"load":this.events.load=this.events.load.filter(e=>e!==t);break;case"loadend":this.events.loadend=this.events.loadend.filter(e=>e!==t);break;case"loadstart":this.events.loadstart=this.events.loadstart.filter(e=>e!==t);break;case"progress":this.events.progress=this.events.progress.filter(e=>e!==t);break;case"timeout":this.events.timeout=this.events.timeout.filter(e=>e!==t);break;default:throw Error(`Listener type ${e} is not supported.`)}}}let o$={credentials:"same-origin",redirect:"manual",mode:"cors"};async function oV(e){let t=e.request,n=e.request.url,r=el(n),i=R(n,r?.normalized),o=await Y("timezone_offsets"),a=fetch(t,o$).then(e=>(e&&ti(e.status)&&o?.put(i,e.clone()),e));return await Q(i,r?.cache)||await a}self.XMLHttpRequest=class extends oq{constructor(){super(...arguments),this.aborted=!1}abort(){this.aborted=!0}getAllResponseHeaders(){let e="";return this.responseHeaders&&this.responseHeaders.forEach((t,n)=>{e+=`${n}: ${t}`}),e}getResponseHeader(e){return this.responseHeaders&&this.responseHeaders.has(e)?this.responseHeaders.get(e):null}msCachingEnabled(){throw Error("not implemented")}open(e,t,n,r,i){this.request=new Request(t,{method:e}),this.readyState=this.OPENED,this.onreadystatechange(new Event("readystatechange"))}overrideMimeType(e){throw Error("not implemented")}setRequestHeader(e,t){if(!this.request)throw Error("Webpush NoRequest setHeader");this.request.headers.append(e,t)}send(e){if(!this.request)throw Error("Webpush NoRequest send");e&&(this.request=new Request(this.request,{body:e})),this.readyState=this.LOADING,this.onreadystatechange(new Event("readystatechange")),fetch(this.request).then(e=>this.aborted?"":(this.readyState=this.HEADERS_RECEIVED,this.onreadystatechange(new Event("readystatechange")),this.status=e.status,this.statusText=e.statusText,this.responseHeaders=e.headers,e.text())).then(e=>{this.aborted||(this.responseText=e,this.readyState=this.DONE,this.onreadystatechange(new Event("readystatechange")))})}},self.addEventListener("install",function(e){let t=V("OnInstall");e.waitUntil(Promise.all([eh(),ep().then(e=>(q("Found version metadata",e),e?.swVersion!=33?self.skipWaiting():null)).catch(e=>{j(e,"Upgrade"),self.skipWaiting()})]).then(async()=>{t(),await ej().catch(e=>{j(e,"InstallFromManifest")}),q("Done caching on install")}))},!1),self.addEventListener("activate",function(e){let t=V("Activate");q("OnActivate"),e.waitUntil(Promise.all([self.clients.claim(),eU().catch(e=>{j(e,"Activate")}),eB().catch(()=>{})]).then(t))},!1),self.addEventListener("fetch",function(e){var t;let n=e.request,r=n.url;if("GET"!==n.method||!r.startsWith("https"))return;let i="navigate"===n.mode,o=te.test(r);if(!i&&!o){q("Only handle navigation or resource fetch.");return}if(tt.test(r)){q(`Skipping resource because it will be handled by local proxy: ${r}`);return}let a=!self.navigator.onLine&&I("offline"),s=(t=new URL(r),function(e){if(!e||0==e.length||"?"!=e.charAt(0))return;let t=e.substring(1).split("&").map(e=>e.split("=")[0].toLowerCase());return t.includes("forcesw")?void 0:t.includes("offlineboot")?t.includes("bo")?"bo":void 0:t.filter(e=>e4[e])[0]}(t?.search)||function(e){if(e)return e.split("/").filter(e=>e&&e5.has(e))[0]}(t?.pathname));if(!a&&s){q(`Skipping navigate because of qsp or path ${s}`);return}e.respondWith(e3(e,o).then(t=>e7(e,t,o)).catch(()=>{if(i){let e=function(e){for(let t of Object.keys(ea)){let n=ea[t]?.requestMap;if(n){for(let t of Object.keys(n))if(t.indexOf(e)>-1)return t}}}("offline_index_");if(e)return q(`Returning offline page for ${r}`),Q(e)}return Response.error()}))},!1),(I("image")||I("attachment"))&&self.addEventListener("fetch",function(e){let t=e.request,n=t.url;"GET"===t.method&&n.startsWith("https")&&(n?.indexOf("/GetAttachmentThumbnail?")>0&&I("image")&&(q("ServiceWorker Fetch for attachment image request."),e.respondWith(og(e))),n?.indexOf("/GetFileAttachment?")>0&&I("attachment")&&(q("ServiceWorker Fetch for attachment request."),e.respondWith(oj(e))))},!1),I("timezoneoffsetscache")&&self.addEventListener("fetch",function(e){let t=e.request,n=t.url;"POST"===t.method&&n.startsWith("https")&&n?.indexOf("action=GetTimeZoneOffsets")>0&&(q("ServiceWorker Fetch for timezoneOffset request."),e.respondWith(oV(e)))},!1),self.addEventListener("message",function(e){if(q("Message Received",e?.data),e.data){let n=e.data;if((n.action==S.Install||n.action==S.UnInstall)&&(t=n.clientId,"mail"===n.source&&eQ({windowHeight:n.windowHeight,hostApp:n.hostApp,hostedUx:n.hostedUx,hostedScenario:n.hostedScenario,initialFolders:n.initialFolders})),"string"==typeof n.tracingEnabled&&(W=n.tracingEnabled,H()&&q("Tracing enabled")),n.source)switch(n.action){case S.Install:(function e(t,n){q("Fetching manifest");let r=new Headers(t.dynamicRequestHeaders);return t.language&&r.append("x-user-language",t.language.toLowerCase()),t.manifestUrl.indexOf("owa/")>-1&&(t.manifestUrl=t.manifestUrl.replace("owa/","mail/")),self.fetch(t.manifestUrl,{credentials:"same-origin",redirect:"manual",headers:r}).then(e=>(ev(e,"CantFetchManifest"),e.json())).catch(r=>($(`Fetching manifest: ${r.message},retryCount:${n}`),n<3)?e(t,++n):Promise.reject(r))})(n,0).then(e=>{eM(n,e,"message")}).catch(e=>{$("Error fetching the manfiest",e)});break;case S.UnInstall:oB(n);break;case S.CleanUp:oF(n);break;case S.SendDirectoryHandle:a=n.directoryHandle}}},!1),self.addEventListener("error",function(e,t){j(e.error||{message:e.message,stack:e.filename+":colno="+e.colno+":lineno="+e.lineno},t)},!1),self.addEventListener("unhandledrejection",e=>j(e.reason,"unhandledrejection"))})(),(self.Owa=self.Owa||{}).serviceworkerv2=r})(),self.scriptsLoaded=self.scriptsLoaded||{},self.scriptsLoaded["owa.serviceworkerv2.js"]=1;