PageSourceSearch

https://app.reclaim.ai/_next/static/chunks/pages/dropbox/connect-calendar-0471805107443fea.js

js reclaim.ai collected 2026-09-24 08:37:23 UTC 109,339 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5826bcbb-26b5-44be-b12c-70680da8965b",e._sentryDebugIdIdentifier="sentry-dbid-5826bcbb-26b5-44be-b12c-70680da8965b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5795],{8155:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dropbox/connect-calendar",function(){return n(53609)}])},24982:function(e,t,n){"use strict";n.d(t,{c:function(){return r},u:function(){return i}});var a=n(14777);let r=(e,t)=>{var n,a;return(null==e?void 0:null===(a=e.capabilities)||void 0===a?void 0:null===(n=a[t])||void 0===n?void 0:n.status)==="GRANTED"},i=(e,t,n)=>{var r,i;let o=null==e?void 0:null===(i=e.capabilities)||void 0===i?void 0:null===(r=i[t])||void 0===r?void 0:r.oauthURI;if(!o)return;let s=new URL(o,window.location.href);s.searchParams.append("state",JSON.stringify((0,a.g)({redirect:n}))),window.location.href=s.toString()}},64871:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});let a=!0},14930:function(e,t,n){"use strict";n.d(t,{j:function(){return m}});var a=n(24246),r=n(36540),i=n(53504),o=n(30279),s=n(55950),l=n(35744),c=n(38944),d=n(14638),u=n.n(d);let m=e=>{let{className:t,classes:n,children:d,in:m,size:h="small",variant:p="default",onClose:_,closeButtonColor:v,...g}=e,x=(0,l.E)(u(),n||{});return(0,a.jsx)(i.Z,{in:m,className:(0,c.Z)(x.root,t),children:(0,a.jsxs)(o.Z,{...g,className:(0,c.Z)(x.content,{[x.big]:"big"===h,[x.small]:"small"===h,[x.dark]:"dark"===p,[x.success]:"success"===p,[x.info]:"info"===p,[x.warning]:"warning"===p,[x.error]:"error"===p,[x.closable]:!!_}),children:[(0,a.jsx)("div",{className:(0,c.Z)({[x.closableContent]:!!_}),children:d}),_&&(0,a.jsx)(s.Z,{"aria-label":"close",className:x.closeButton,color:v,onClick:()=>_(),size:"small",children:(0,a.jsx)(r.Z,{fontSize:"small"})})]})})}},87419:function(e,t,n){"use strict";n.d(t,{H:function(){return m}});var a=n(24246),r=n(93850),i=n(35744),o=n(76264),s=n(38944),l=n(27378),c=n(1699),d=n.n(c),u=n(73382);let m=e=>{let{className:t,classes:n,label:c,disableTooltip:m,title:h,forceShowTooltip:p,TooltipProps:_,...v}=e,g=(0,i.E)(d(),n||{}),x=(0,l.useRef)(null),[f,b]=(0,l.useState)(!1),j=(0,o.T)(()=>{b(!!x.current&&x.current.scrollWidth>x.current.clientWidth)});return(0,l.useEffect)(()=>(document.addEventListener("resize",j),j(),()=>document.removeEventListener("resize",j)),[j]),(0,l.useEffect)(()=>{j()},[c,j]),(0,a.jsx)(u.u,{className:(0,s.Z)(g.root,t),title:h||c||"",disabled:!p&&(!f||!!m),enterDelay:1e3,..._,children:(0,a.jsx)(r.Z,{ref:x,variant:"inherit",component:"div",...v,children:c})})}},90105:function(e,t,n){"use strict";n.d(t,{O:function(){return x}});var a=n(24246),r=n(70525),i=n(89057),o=n(55950),s=n(60189),l=n(72265),c=n(45175),d=n(35744),u=n(76264),m=n(15482),h=n(38944),p=n(27378),_=n(52991),v=n.n(_),g=n(73382);let x=(0,p.forwardRef)((e,t)=>{let{className:n,classes:_,PopoverProps:x,popoverChildren:f,asIconButton:b,hasIndicator:j,TooltipProps:y,children:C,startIcon:N,endIcon:w,onClick:Z,open:S,onOpenChange:I,onClose:M,...k}=e,L=(0,d.E)(v(),_||{}),R=(0,i.X)(),T=(0,p.useRef)(),A=(0,m.lq)(t,T),[E,D]=(0,p.useState)(!1),B="boolean"==typeof S?S:E,O=I||D,P=(0,u.T)(()=>{O(!1),null==M||M()}),U=(0,u.T)(e=>{null==Z||Z(e),B||setTimeout(()=>{R.current&&O(!0)},50)});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.u,{title:null==y?void 0:y.title,...y||{title:!1},disabled:(null==y?void 0:y.disabled)||B,children:(0,p.createElement)(b?o.Z:s.Z,{onClick:U,className:(0,h.Z)(L.root,n,{[L["root--indicator"]]:j}),...k,...b?{}:{endIcon:w,startIcon:N},ref:A},C)}),(0,a.jsx)(r.l,{children:e=>{let{zIndex:t}=e;return(0,a.jsx)(l.ZP,{onClose:P,open:B,anchorEl:T.current,style:{zIndex:t},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...x,children:(0,a.jsx)(c.Z,{className:L.paper,elevation:3,children:"function"==typeof f?f(P):f})})}})]})});x.displayName="PopoverButton;"},55695:function(e,t,n){"use strict";n.d(t,{I:function(){return m}});
1var a=n(24246),r=n(27378),i=n(14645),o=n(79101),s=n(38727),l=n(86922),c=n(6627),d=n(95054),u=n(92736);function m(e,t,n){return m=>{let h=(0,s.ED)(),p=(0,l.ec)();(0,i.ZC)();let{team:_}=(0,i.Oo)(!0),v=(0,o.x)(),g=(0,r.useMemo)(()=>(function(e,t,n,a){if(void 0===e)return!0;if("boolean"==typeof e)return e;if("string"==typeof e){var r;let n=(0,d._p)(e,null===(r=t.user)||void 0===r?void 0:r.features);return!!(null==n?void 0:n.enabled)}return"function"==typeof e&&e(t,n,a)})(t,p,h,_),[h,p,_]);return v?g?(0,a.jsx)(e,{...m}):n?(h.replace("function"==typeof n?n(p,h,_):n),(0,a.jsx)(u.g,{})):(0,a.jsx)(c.q,{code:404}):(0,a.jsx)(u.g,{})}}t.Z=m},99440:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var a=n(24246),r=n(30279),i=n(55950),o=n(69008),s=n(36641);let l=(0,o.Z)(e=>({root:{display:"block",margin:e.spacing(2,"auto",3),textAlign:"center",[e.breakpoints.up("sm")]:{margin:e.spacing(5,"auto")},"&&:hover":{background:"transparent"}},btn:{cursor:"default","&:hover":{background:"transparent"}},svg:{height:"auto",maxWidth:120,width:"100%",[e.breakpoints.up("sm")]:{marginLeft:e.spacing(-2),maxWidth:220}}})),c=()=>{let e=l();return(0,a.jsx)(r.Z,{className:e.root,children:(0,a.jsx)(i.Z,{className:e.btn,size:"medium","aria-label":"reclaim.ai",disableRipple:!0,disableFocusRipple:!0,disableTouchRipple:!0,children:(0,a.jsx)(s.Z,{className:e.svg,preserveAspectRatio:"xMidYMid meet"})})})}},26706:function(e,t,n){"use strict";n.d(t,{Y:function(){return d}});var a=n(24246),r=n(30016),i=n(69008),o=n(38944),s=n(27378),l=n(8783);let c=(0,i.Z)(e=>({root:{}}),{classNamePrefix:"ReclaimUserAvatar"}),d=(0,s.forwardRef)((e,t)=>{let{className:n,classes:i,user:s,...d}=e,u=c({classes:i}),m=(0,o.Z)(u.root,n);return s.avatarUrl?(0,a.jsx)(r.Z,{ref:t,className:m,src:s.avatarUrl,alt:s.email,title:s.email,...d}):(0,a.jsx)(l.K,{ref:t,className:m,email:s.email,name:s.name,...d})})},55436:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var a=n(24246),r=n(69008),i=n(66443),o=n(38944),s=n(25846);let l=(0,r.Z)(e=>({root:{display:"inline"},loading:{color:"transparent"}}),{classNamePrefix:"TextSkeleton"}),c=e=>{let{className:t,classes:n,text:r,textLength:c,placeholderText:d}=e,u=l({classes:n}),m=void 0===r;return void 0===(r=void 0===r?d:r)&&(r=(0,s.n)("number"==typeof c?c:10,()=>"a")),m?(0,a.jsx)(i.Z,{className:(0,o.Z)(u.root,t,u.loading),variant:"text",children:r}):(0,a.jsx)("span",{className:(0,o.Z)(u.root,t),children:r})}},41011:function(e,t,n){"use strict";n.d(t,{d:function(){return h}});var a=n(24246),r=n(5777),i=n(35744),o=n(27378),s=n(56695),l=n(38727),c=n(71774),d=n(43205),u=n(31117),m=n.n(u);let h=e=>{let{className:t,classes:n,errors:u}=e,h=(0,i.E)(m(),n||{}),p=(0,l.ED)(),_=(0,o.useMemo)(()=>{var e;let{op:t,mode:n,cid:a}=p.query||{},r=p.query.error||(null===(e=p.query.state)||void 0===e?void 0:e.error),i=[];return u&&i.push(...Array.isArray(u)?u:[u]),t&&(r&&i.push(...Array.isArray(r)?r:[r]),a||(i.push("missing_credential"),console.error("Response is missing cid",t,n))),i},[u,p.query]),v=(0,o.useMemo)(()=>_.map(e=>{if(e instanceof Error){let t=e.type,n=e.status,a=e.body||e.statusText||e.message;return"".concat(a||"Unexpected error"," (").concat(n||t,")")}
1if("string"==typeof e)switch(e){case"access_denied":return"User cancelled authentication (access denied).";case"auth_failed":return"Authentication failed.";case"credential_not_found":return"Credential not found.";case"not_a_google_calendar_user":return"Not a Google Calendar account. We're working to add more providers, but only support Google Calendar at this time.";case"wrong_account":return"Wrong account connected. Please make sure to select the correct email address when prompted.";case"invalid_scopes":return(0,a.jsxs)("span",{children:["Insufficient access. You need to allow all requested scopes to proceed."," ",(0,a.jsx)(d.r,{target:"reclaim-help",href:"//help.reclaim.ai/en/articles/3600703-what-does-lifework-do-with-my-data",children:"Learn more about how we use and protect your data."})]});case"missing_credential":return"Missing credential!";case"hosted_on_premise":return"The calendars associated with this account appear to be hosted / on-premise. Reclaim doesn't support this at this time.";case"access_token":return"Failed to get access token from provider. Please try again.";case"invalid_state":return"Authentication session expired or was invali
1d. Please try again.";case"invalid_id_token":return"Failed to verify account identity. Please try again.";default:return"Unexpected error. Please try again."}}),[_]);return _.length?(0,a.jsxs)("div",{className:h.root,children:[!!_.length&&(0,a.jsxs)(r.Z,{className:h.alert,severity:"info",children:["Please"," ",(0,a.jsx)(c.u,{href:"mailto:".concat(s.X,"?subject=").concat(encodeURIComponent("Error connecting calendar"),"&body=").concat(encodeURIComponent("Errors:\n\n"+v.join("\n")+"\n\n")),variant:"link",lead:"I'm having trouble connecting an account...",children:"contact support"})," ","for help connecting accounts."]}),v.map((e,t)=>(0,a.jsx)(r.Z,{className:h.alert,severity:"error",children:e},t))]}):null};h.displayName="AccountErrors"},24981:function(e,t,n){"use strict";n.d(t,{U:function(){return X}});var a=n(24246),r=n(46592),i=n(36540),o=n(81250),s=n(15855),l=n(55950),c=n(85007),d=n(41192),u=n(56773),m=n(99378),h=n(60258),p=n(1451),_=n(5777),v=n(60189),g=n(93850),x=n(35744),f=n(38944),b=n(27378),j=n(38727),y=n(9659),C=n(86922),N=n(5245),w=n(28238),Z=n(92736),S=n(99440),I=n(41011),M=n(28498),k=n(75265),L=n(30279),R=n(941),T=n(30016),A=n(55635),E=n(7358),D=n(73382),B=n(36535),O=n.n(B);let P=e=>{let{className:t,classes:n,account:r,onUseAsMain:i,onReconnect:l,onDelete:c,...d}=e,u=(0,x.E)(O(),n||{}),m=(0,o.Z)(),h=(0,s.Z)(m.breakpoints.down("md")),_=(0,b.useCallback)(e=>{null==i||i(e,r)},[r,i]),j=(0,b.useCallback)(e=>{null==l||l(e,r)},[r,l]),y=(0,b.useCallback)(e=>{null==c||c(e,r)},[r,c]),C=(0,b.useMemo)(()=>!r.valid&&(0,a.jsx)(L.Z,{children:(0,a.jsx)(v.Z,{color:"primary",component:"a",onClick:j,children:"Reconnect"},r.id)}),[r.id,r.valid,j]),N=(0,b.useMemo)(()=>!!r.switchToMainURI&&!!r.valid&&(0,a.jsx)(L.Z,{children:(0,a.jsx)(v.Z,{className:u.useAsMainBtn,color:"primary",component:"a",onClick:_,children:"Use as Main"},r.id)}),[r.id,r.valid,r.switchToMainURI,r.type,u.useAsMainBtn,_]),w=(0,b.useMemo)(()=>!!r.canDelete&&(0,a.jsx)(L.Z,{children:(0,a.jsx)(E.p,{className:u.deleteBtn,variant:"text",color:"inherit",onConfirm:y,title:"",message:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g.Z,{className:u.confirmTitle,variant:"h4",children:["Delete ",r.name,"?"]}),(0,a.jsxs)(g.Z,{children:["Are you sure you want to delete this account? Any Calendar Syncs you have set up with"," ",(0,a.jsx)("em",{children:r.name})," will also be deleted."]})]}),DialogProps:{maxWidth:!h&&"sm",fullScreen:h},children:"Delete"},r.id)}),[r.canDelete,r.id,r.name,u.confirmTitle,u.deleteBtn,y,h]);return(0,a.jsxs)(p.ZP,{className:(0,f.Z)(u.account,t,{[u.main]:!!r.main}),...d,children:[(0,a.jsx)(T.Z,{className:(0,f.Z)(r.main&&u.large,u.avatar),src:r.avatar}),(0,a.jsxs)(L.Z,{className:(0,f.Z)(u.accountName,!C&&!N&&!w&&u.noMaxWidth),children:[(0,a.jsx)(g.Z,{variant:"subtitle2",component:"h3",className:u.name,children:r.name}),(0,a.jsxs)("div",{className:u.chips,children:[!!r.main&&(0,a.jsx)(D.u,{title:"We use the calendar from your main account to see your availability so that we can block time for your tasks & habits",arrow:!0,placement:"bottom",children:(0,a.jsx)(R.Z,{classes:{label:u.chipLabel},className:(0,f.Z)(u.chip,u.mainChip),size:"small",label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(A.Z,{className:u.chipIcon}),"Main Account"]})})}),!r.valid&&(0,a.jsx)(R.Z,{classes:{label:u.chipLabel},className:(0,f.Z)(u.chip,u.errorChip),size:"small",label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.Z,{className:u.chipIcon}),"Disconnected"]})}),!r.unique&&(0,a.jsx)(D.u,{title:"Can't be used as main because it's connected to at least one other Reclaim account",arrow:!0,placement:"bottom",children:(0,a.jsx)(R.Z,{classes:{label:u.chipLabel},className:(0,f.Z)(u.chip,u.infoChip),size:"small",label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(M.Z,{className:u.chipIcon}),"Multiple connections"]})})})]})]}),(!!C||!!N||!!w)&&(0,a.jsxs)(L.Z,{className:u.buttonContainer,children:[C,N,w]})]})};P.displayName="AccountListItem";var U=n(36931),F=n.n(U);let z=e=>{var t,n,M,k,L,R;let{className:T,classes:A,onClose:E}=e,D=(0,x.E)(F(),A||{}),B=(0,o.Z)(),O=(0,s.Z)(B.breakpoints.down("md")),{user:U}=(0,C.ec)(),[z,H]=b.useState(null),G=(0,j.ED)(),{data:K,loading:W,load:Y}=(0,y.f)(w.T.accounts.list,[]),V=(0,b.useMemo)(()=>null==K?void 0:K.find(e=>!!e.main),[K]),X=(0,b.useCallback)(()=>
1{if((null==z?void 0:z.switchToMainURI)&&!z.main)return w.T.accounts.authRedirect(z.switchToMainURI,{redirect:G.asPath,accountId:z.id})},[z,G.asPath]),q=(0,b.useCallback)(async(e,t)=>{H(t)},[]),J=()=>{H(null)},Q=(0,b.useCallback)(async(e,t)=>w.T.accounts.authRedirect(t.repairURI,{redirect:G.asPath,accountId:t.id}),[G.asPath]),$=(0,b.useCallback)(async(e,t)=>{await w.T.accounts.delete(t.id),await Y()},[Y]);return(0,a.jsxs)("div",{className:(0,f.Z)(D.root,T),children:[!!E&&(0,a.jsx)(l.Z,{onClick:E,className:D.closeIcon,size:"large",children:(0,a.jsx)(i.Z,{})}),(0,a.jsx)(S.k,{}),(0,a.jsxs)("div",{className:D.title,children:[(0,a.jsx)(g.Z,{component:"h1",variant:"h3",children:"Invalid main account"}),(0,a.jsx)(g.Z,{variant:"subtitle1",className:D.title__sub,children:"Reclaim is unable to access your main calendar. Please reconnect the account or select a different main account."})]}),!!W&&(0,a.jsx)(Z.g,{}),!W&&!!K&&(0,a.jsxs)("div",{className:D.body,children:[(0,a.jsx)(I.d,{}),!!V&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z,{className:(0,f.Z)(D.accountList,D.main),children:(0,a.jsx)(P,{onReconnect:Q,onUseAsMain:q,onDelete:$,account:V},V.id)}),(0,a.jsx)(d.Z,{orientation:"horizontal"})]}),(0,a.jsxs)(c.Z,{className:D.accountList,children:[null==K?void 0:K.filter(e=>!e.main).map(e=>(0,a.jsx)(P,{onReconnect:Q,onUseAsMain:q,onDelete:$,account:e},e.id)),(0,a.jsx)(r.p,{component:u.Z,variant:"text",startIcon:(0,a.jsx)(N.Z,{className:D.addAccountIcon}),className:D.addAccountBtn,children:"Add another account"})]}),(0,a.jsx)(m.Z,{open:null!==z,onClose:J,fullScreen:O,children:(0,a.jsxs)(h.Z,{className:D.switchDialog,children:[(0,a.jsx)(l.Z,{className:D.closeModal,onClick:J,size:"large",children:(0,a.jsx)(i.Z,{color:"primary"})}),(0,a.jsx)(g.Z,{className:D.switchTitle,variant:"h4",children:"Switch Main Account"}),(0,a.jsxs)(g.Z,{className:D.subtext,children:["Ready to switch your main account from"," ",(0,a.jsx)("span",{className:D.enhance,children:null==K?void 0:null===(t=K.find(e=>!0===e.main))||void 0===t?void 0:t.name})," to"," ",(0,a.jsx)("span",{className:D.enhance,children:null==z?void 0:z.name}),"?"]}),(0,a.jsx)(g.Z,{variant:"h6",children:"What this means:"}),(0,a.jsxs)(c.Z,{className:D.modalList,children:[(0,a.jsx)(p.ZP,{children:(0,a.jsxs)(g.Z,{children:["Reclaim will stop scheduling events on"," ",(0,a.jsx)("span",{className:D.enhance,children:null==K?void 0:null===(n=K.find(e=>!0===e.main))||void 0===n?void 0:n.name})," and start scheduling on ",(0,a.jsx)("span",{className:D.enhance,children:null==z?void 0:z.name}),"."]})}),!!(null==U?void 0:null===(k=U.features)||void 0===k?void 0:null===(M=k.smartOneOnOnes)||void 0===M?void 0:M.enabled)&&(0,a.jsx)(p.ZP,{children:(0,a.jsxs)(g.Z,{children:["Any Smart 1:1s you've created with"," ",(0,a.jsx)("span",{className:D.enhance,children:null==K?void 0:null===(L=K.find(e=>!0===e.main))||void 0===L?void 0:L.name})," will be disabled. Any Smart 1:1s your"," ",(0,a.jsx)("span",{className:D.enhance,children:null==K?void 0:null===(R=K.find(e=>!0===e.main))||void 0===R?void 0:R.name})," email has been invited to will be declined."]})}),(0,a.jsx)(p.ZP,{children:(0,a.jsx)(g.Z,{children:"Syncs already set up will be unaffected."})})]}),(0,a.jsxs)(_.Z,{className:D.modalAlert,severity:"warning",children:["Switching your main account can take up to 1h. Please don't delete or revoke access to"," ",(0,a.jsx)("span",{className:D.enhance,children:null==z?void 0:z.name})," in the meantime."]}),(0,a.jsx)(v.Z,{className:D.switchBtn,variant:"contained",color:"primary",onClick:X,children:"Switch Main Account"})]})})]})]})};z.displayName="AccountRecovery";var H=n(25778),G=n(84446),K=n(900),W=n(76264),Y=n(82048);let V=(0,b.forwardRef)((e,t)=>(0,a.jsx)(K.Z,{direction:"up",ref:t,...e})),X=()=>{let{mainAccount:e,loading:t}=(0,G.v)(),{load:n}=(0,G.X)(),r=(0,Y.b9)(H.h),[i,o]=(0,b.useState)(!1),s=(0,W.T)(async()=>{await n()&&(o(!1),await r(void 0))});(0,b.useEffect)(()=>{t||!e||e.valid||(r(!1),o(!0))},[e,t,r]);let l=(0,W.T)(()=>(0,a.jsx)(m.Z,{fullScreen:!0,open:i,onClose:s,slots:{transition:V},slotProps:{transition:{timeout:250}},children:(0,a.jsx)(z,{onClose:s})}));return{isAccountRecoveryDialogOpen:i,renderAccountRecoveryDialog:l}}},35440:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});var a=n(47051),r=n(18761),i=n(82048),o=n(78050),s=n(20952);let l=()=>{let{activeTask:e}=(0,s.e)(),t=(0,i.Dv)(o.Xp),{activeDrawerRoute:n}=(0,r.r)(),l=(0,a.e5)(["chat"],n),c=(0,a.e5)(["tasks"],n);return(!l||t)&&!c&&!!e}},93261:function(e,t,n){"use strict";n.d(t,{c:function(){return tR}});
1var a=n(24246),r=n(69008),i=n(38944),o=n(14930),s=(n(24533),n(34931)),l=n(82048);let c=(0,s.cn)({ref:{current:null}}),d=()=>(0,l.Dv)(c).ref;var u=n(71774),m=n(86922),h=n(93850),p=n(35744),_=n(9802),v=n.n(_);let g=e=>{let{className:t,classes:n}=e,r=(0,p.E)(v(),n||{}),s=(0,m.aF)(),l=!!(null==s?void 0:s.features.assistant.enabled)&&s.features.assistant.disableBackgroundAutomation;return(0,a.jsx)(o.j,{className:(0,i.Z)(r.root,t),in:l,variant:"error",children:(0,a.jsx)("div",{className:r.container,children:(0,a.jsxs)(h.Z,{variant:"inherit",children:["Background scheduling is temporarily paused on your account. We're aware and working on it — please"," ",(0,a.jsx)(u.u,{variant:"link",lead:"Background automation is disabled on my account...",children:"contact support"})," ","if you'd like an update."]})})})};g.displayName="BackgroundAutomationDisabledBanner";var x=n(63701),f=n(76264);let b=e=>{let{className:t,onClose:n,storage:r,storageKey:i,initialShow:s=!0,...l}=e,[c,d]=(0,x.Dw)(i,!s,{storage:r}),u=(0,f.T)(()=>{d(!0),null==n||n()});return(0,a.jsx)(o.j,{className:t,onClose:u,in:!c,...l})};b.displayName="BannerOneTimeClosable";var j=n(57791),y=n(28238),C=n(56990),N=n(43205),w=n(81494),Z=n(83151),S=n(39447),I=n(87090),M=n(75699),k=n(71305),L=n(60189),R=n(63337),T=n(27378),A=n(76595),E=n.n(A);let D=(0,T.forwardRef)((e,t)=>{let{className:n,classes:r,ModalClasses:o,closeModal:s,open:l,onClose:c,...d}=e,h=(0,p.E)(E(),r||{}),{load:_}=(0,m._y)(),{sendNotification:v}=(0,k.z)(),[,g]=(0,x.Dw)("CalendarUIPipelineMigrationBanner.closed",!1),[,b]=(0,x.Dw)("CalendarUIPipelineMigrationInQueueBanner.closed",!1),[j,R]=(0,T.useState)(!1),A=(0,f.T)(async()=>{R(!0);try{await y.T.users.migrationToPipelineAsync(),await _(!0),null==c||c(),v({message:"You are in the queue to update to the latest version of Reclaim. Hang tight!"}),g(!0),b(!1)}catch(e){v({type:"error",message:(0,a.jsxs)(a.Fragment,{children:["There was an error while upgrading Reclaim. Please"," ",(0,a.jsx)(u.u,{variant:"link",lead:"I am having trouble upgrading to Outlook...",children:"contact support"}),"."]})})}finally{R(!1)}});return(0,a.jsxs)(w.u,{className:(0,i.Z)("CalendarUILearnMoreModal",n,h.root),ref:t,open:l,...d,children:[(0,a.jsxs)("div",{className:h.modalContentWrapper,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(I.x,{onClose:s,children:"Planning just got easier \uD83C\uDF89"}),(0,a.jsx)(Z.h,{children:(0,a.jsxs)(a.Fragment,{children:["You can now manage events directly in Planner - create, edit, RSVP, and update details in seconds. It's never been simpler to fine-tune your day or make space for focus time. Check out this"," ",(0,a.jsx)(N.r,{href:M._0,target:"_blank",rel:"noreferrer",children:"help doc"})," ","for more details.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"In order to get the new beta Planner experience with native calendar actions, you'll need to update to the latest version of Reclaim. This free update may take a few minutes to complete."]})})]}),(0,a.jsx)("div",{className:h.imgCont,children:(0,a.jsx)("img",{src:"/img/learn-more-modal-image-temp.svg",alt:"Learn more graphic"})})]}),(0,a.jsxs)(S.m,{className:h.footer,children:[(0,a.jsx)(C.Z,{disabled:j,onClick:A,color:"primary",variant:"contained",children:"Update Reclaim"}),(0,a.jsx)(L.Z,{onClick:c,variant:"text",children:"I'll do it later"})]})]})});D.displayName="CalendarUILearnMoreModal";let B=()=>{let{showModal:e}=(0,R.dd)();return(0,f.T)(t=>{let n=e(D,{closeModal:async()=>{var e;n(),null==t||null===(e=t.onClose)||void 0===e||e.call(t)},...t}).hide})};var O=n(61082),P=n(941),U=n(55045),F=n(88634),z=n.n(F);let H=e=>{let{className:t,classes:n}=e,r=(0,p.E)(z(),n||{}),o=(0,m.aF)(),s=(0,j.ye)("optInToCalendarUI"),l=(0,j.ye)("pipeline"),c=B(),d=(0,T.useMemo)(()=>(null==o?void 0:o.firstLogin)&&(0,U.Z)(o.firstLogin,30).getTime()<new Date().getTime(),[null==o?void 0:o.firstLogin]),u=(0,T.useMemo)(()=>null==o?void 0:o.features.calendarEntrySettings.autoMigrate,[null==o?void 0:o.features.calendarEntrySettings.autoMigrate]),h=(0,T.useMemo)(()=>s&&!u&&!l&&d,[s,l,d,u]),_=(0,T.useMemo)(()=>s&&!!u&&!l,[s,l,u]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b,{className:(0,i.Z)("RaiCalendarUIPipelineMigrationBanner",r.root,t),classes:{content:r.optInContentOverride},storageKey:"CalendarUIPipelineMigrationBanner.closed",variant:"info",initialShow:h,closeButtonColor:"inherit",children:[(0,a.jsx)(P.Z,{className:r.optInContentOverride__betaChip,label:"Beta",size:"small",color:"secondary"}),"Create and manage all events directly in the Planner.",(0,a.jsx)(L.Z,{endIcon:(0,a.jsx)(O.Z,{}),variant:"link",size:"small",className:r.optInContentOverride__btn,onClick:()=>c(),children:"Learn more"})]}),(0,a.jsx)(b,{className:(0,i.Z)("RaiCalendarUIPipelineMigrationBanner",r.root,t),classes:{content:r.inQueueContentOverride},storageKey:"CalendarUIPipelineMigrationInQueueBanner.closed",variant:"info",initialShow:_,closeButtonColor:"inherit",children:"Your Reclaim update is in the queue, we'll let you know 
1when it's complete..."})]})};H.displayName="CalendarUIPipelineMigrationBanner";var G=n(40207),K=n(52252),W=n(81250),Y=n(15855),V=n(29299),X=n.n(V);let q=e=>{let{className:t,classes:n}=e,r=(0,p.E)(X(),n||{}),o=(0,j.ye)("selfServiceMigrate"),s=(0,j.ye)("pipeline"),c=(0,j.ye)("assistant"),d=(0,G.v)(),u=(0,l.Dv)(K.l),m=(0,l.Dv)(K.E),h=(0,W.Z)(),_=(0,Y.Z)(h.breakpoints.down("sm")),v=o&&s&&!c;return v&&void 0===m?null:(0,a.jsxs)(b,{className:(0,i.Z)("RaiAssistantMigrationBanner",r.root,t),classes:{content:r.content},storageKey:"AssistantMigrationBanner.closed",variant:"info",initialShow:v&&!0===m,closeButtonColor:"inherit",children:[_?"Introducing Reclaim 2.0":"Introducing Reclaim 2.0 — the new unified calendar, AI assistant, and agentic automations",(0,a.jsx)(L.Z,{endIcon:(0,a.jsx)(O.Z,{}),variant:"link",size:"small",className:r.content__btn,onClick:()=>d({onStartMigration:null!=u?u:void 0}),children:"Upgrade now"})]})};q.displayName="AssistantMigrationBanner";var J=n(40236);let Q=e=>{let{className:t}=e,n=(0,m.aF)(),r=null==n?void 0:n.features.assistSettings.smartHabitGen2ToGen3MigrationDate,i=(0,T.useMemo)(()=>!!r&&(0,J.Z)(new Date,(0,U.Z)(new Date(r),14)),[r]);return(0,a.jsx)(b,{className:t,storageKey:"Habit2to3MigrationBanner.closed",variant:"info",initialShow:i,children:"You're now on the latest version of Reclaim! Habit performance is even faster & more reliable. No more conflicts around infinite scheduling. And, you can auto-reschedule a Habit to a better time by simply deleting it from the calendar."})};Q.displayName="Habit2to3MigrationBanner";var $=n(25778),ee=n(74260),et=n(58431),en=n(14645),ea=n(19304),er=n(80636),ei=n(61756),eo=n(785),es=n(85007),el=n(1451),ec=n(66443),ed=n(12223),eu=n(22741),em=n(94088),eh=n.n(em),ep=n(13274),e_=n(86874);let ev=e=>{let{className:t,classes:n,downgradeSnapshot:r}=e,o=(0,p.E)(eh(),n||{}),s=(0,T.useMemo)(()=>r?(0,eu.Fv)(r,"entitlement"):void 0,[r]),{userCurrentEdition:l}=(0,ed.Y)(),c=(0,j.ye)("assistant"),d=(0,T.useMemo)(()=>s&&l?e_.iG.filter(e=>(0,ep.bu)(e,{hasAssistant:c})).map(e=>{let t=s[e],n=e_.BX[e];if(!n)return;let{label:a,additionalContent:r}=n;if(a&&void 0!==t)return{label:a(t),children:r?r(t,l):void 0}}).filter(e=>!!(null==e?void 0:e.label)):[],[c,s,l]);return(0,a.jsx)(es.Z,{className:(0,i.Z)(o.root,t),children:s&&l?d.map((e,t)=>{var n;return!!(null==e?void 0:e.label)&&(0,a.jsxs)(el.ZP,{className:o.listItem,children:[(0,a.jsx)(eo.Z,{color:"error",fontSize:"small"}),e.label]},null!==(n=e.label.toString())&&void 0!==n?n:t)}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(el.ZP,{className:o.listItem,children:(0,a.jsx)(ec.Z,{width:80,variant:"text"})}),(0,a.jsx)(el.ZP,{className:o.listItem,children:(0,a.jsx)(ec.Z,{width:90,variant:"text"})}),(0,a.jsx)(el.ZP,{className:o.listItem,children:(0,a.jsx)(ec.Z,{width:70,variant:"text"})})]})})};ev.displayName="DowngradedList";var eg=n(62946),ex=n.n(eg);let ef=e=>{var t,n,a;let r="STARTER";return(null==e?void 0:e.restrictedToEditions)?null!==(t=er.rE.find(t=>{var n;return!!(null===(n=e.restrictedToEditions)||void 0===n?void 0:n[t])&&!ea.J[t].isNonPaid}))&&void 0!==t?t:r:(0,ei.Vz)(null!==(n=null==e?void 0:e.preDowngradeEditionUsage)&&void 0!==n?n:er.Ge)?r:null!==(a=null==e?void 0:e.preDowngradeEditionUsage)&&void 0!==a?a:r},eb=(0,T.forwardRef)((e,t)=>{let{className:n,classes:r,ModalClasses:o,closeModal:s,open:l,downgradeSnapshot:c,...d}=e,_=(0,p.E)(ex(),r||{}),v=(0,W.Z)(),g=(0,Y.Z)(v.breakpoints.down("sm")),x=(0,m.aF)(),{team:b}=(0,en.Oo)(),{sendNotification:j}=(0,k.z)(),N=(0,T.useMemo)(()=>(null==x?void 0:x.edition)&&ea.J[null==x?void 0:x.edition].label,[null==x?void 0:x.edition]),M=(0,f.T)(async()=>{let e;try{e=await y.T.team.getPromoCode("REACTIVATE")}catch(e){j({message:"Could not apply coupon. Please contact customer support."})}try{await y.T.team.startSubscription({edition:ef(x),seats:b.membershipSummary.activeCount<b.membershipSummary.paidCount?b.membershipSummary.paidCount:b.membershipSummary.activeCount,frequency:b.pricingSummary.subscriptionFrequency||"YEAR"},{currency:b.pricingSummary.currency||et.Pv,promoCode:null==e?void 0:e.code})}catch(e){j({message:"Could not complete checkout. Please contact customer support."})}});return(0,a.jsxs)(w.u,{className:(0,i.Z)(n,_.root),classes:{paper:_.paper},ref:t,maxWidth:"sm",fullScreen:g,open:l,...d,children:[(0,a.jsxs)(I.x,{onClose:s,className:_.section,children:["You've been downgraded to ",N]}),(0,a.jsxs)(Z.h,{className:_.section,children:["You've now been downgraded to Reclaim's ",N," plan."," ",!!(null==c?void 0:c.length)&&"These additional features outside of this plan have been automatically disabled:"]}),(0,a.jsx)(Z.h,{className:_.section,children:(0,a.jsx)(ev,{downgradeSnapshot:c,className:_.overageList})}),(0,a.jsxs)(S.m,{className:_.ctaContainer,children:[(0,a.jsx)(h.Z,{className:_.ctaContainer_buttonText,children:"If you'd like to get these features back, reactivate them &\xa0save!"}),(0,a.jsxs)("div",{className:_.ctaContainer__buttons,children:[(0,a.jsx)(C.Z,{variant:"contained",onClick:M,className:_.ctaContainer_button,children:"Reactivate & save 30%"}
1),(0,a.jsx)(u.u,{className:_.ctaContainer_contactUs,children:"Contact support"})]})]})]})}),ej=()=>{let{showModal:e}=(0,R.dd)();return(0,f.T)(t=>{let n=e(eb,{closeModal:()=>{var e;n(),null==t||null===(e=t.onClose)||void 0===e||e.call(t)},...t}).hide})};var ey=n(30425),eC=n(78067),eN=n(36497);let ew=()=>{let{team:e}=(0,en.Oo)(),{user:t}=(0,m.ec)(),n=(0,m._y)(),a=ej(),[r,i]=(0,T.useState)(!1),o=(0,T.useMemo)(()=>{var t;return(0,ey.Z)(new Date,(0,eC.Z)(new Date(e.hardDowngradeAt),2))&&!!(null===(t=e.teamEditionMeta)||void 0===t?void 0:t.isNonPaid)},[e]),s=(0,T.useMemo)(()=>{var n;return(null===(n=e.teamEditionMeta)||void 0===n?void 0:n.isNonPaid)&&(null==t?void 0:t.features.onboard.showDowngradeAcknowledgement)==!0&&!r},[e,null==t?void 0:t.features.onboard.showDowngradeAcknowledgement,r]),[l]=(0,eN.Z)(()=>s?y.T.users.getDowngradeSnapshot():Promise.resolve(void 0),[s]),c=(0,f.T)(()=>{s&&l&&a({onClose:()=>{i(!0),null==n||n.addTrait("ONBOARD_SHOW_DOWNGRADE_ACKNOWLEDGEMENT",!1)},downgradeSnapshot:l})});return{isLessThan2WeeksFromHardDowngrade:o,shouldShowHardDowngradeAcknowledgement:s&&l,showHardDowngradeAcknowledgement:c}};var eZ=n(41014),eS=n(54572),eI=n(38727),eM=n(36540),ek=n(55950),eL=n(90628),eR=n(23314),eT=n(97067),eA=n(75646),eE=n(67432),eD=n(24080),eB=n(52590),eO=n(31435),eP=n(22697),eU=n(97568),eF=n(67340),ez=n(3035),eH=n(59693),eG=n(94379),eK=n(40004),eW=n(55436),eY=n(29248),eV=n(53504),eX=n(91669),eq=n(1118),eJ=n.n(eq);let eQ=e=>{let{className:t,classes:n,items:r,showMoreBtn:o="default"}=e,s=(0,p.E)(eJ(),n||{}),[l,c]=(0,T.useState)({});return(0,a.jsx)("ul",{className:(0,i.Z)(s.root,t),children:(0,eX.SY)(r).map((e,t)=>{var n;let{label:r,mountOpen:d,...u}=e,m="boolean"==typeof l[t]?l[t]:!!d,h="items"in u&&!!(null===(n=u.items)||void 0===n?void 0:n.length),p="children"in u&&!!u.children;return(0,a.jsxs)("li",{className:s.listItem,children:[(0,a.jsxs)("div",{className:s.label,children:[r,"⁠",!m&&(h||p)&&(()=>{let e=()=>c({...l,[t]:!0});if("string"==typeof o)return"chevron"===o?(0,a.jsx)(ek.Z,{className:(0,i.Z)(s.showMore,s["showMore--chevron"]),onClick:e,size:"small",children:(0,a.jsx)(eT.Z,{})}):(0,a.jsx)(L.Z,{className:(0,i.Z)(s.showMore,s["showMore--default"]),variant:"link",onClick:e,children:"default"===o?"Show":o});{let t=o(e);return(0,T.cloneElement)(t,{className:(0,i.Z)(t.props.className,s.showMore,s["showMore--custom"])})}})()]}),(0,a.jsx)(eV.Z,{in:m,children:h?u.items&&(0,a.jsx)(eQ,{className:s.sub,items:u.items}):p?u.children:void 0})]},t)})})};eQ.displayName="CollapsableList";var e$=n(71026),e0=n.n(e$);let e2=e=>{let{className:t,classes:n,noLinks:r,keep:o}=e,s=(0,p.E)(e0(),n||{}),{usageData:l}=(0,eS.L)(),{userCurrentEdition:c}=(0,ed.Y)(),d=(0,j.ye)("assistant");return(0,a.jsx)(es.Z,{className:(0,i.Z)(s.root,t),children:l&&c?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(eQ,{classes:{listItem:s.listItem},showMoreBtn:"chevron",items:e_.iG.filter(e=>(0,ep.bu)(e,{hasAssistant:d})).map(e=>{let t=l.actuals[e],{comparator:n}=er.mm[e],a=e_.VR[e];if(!a)return;let{label:i,keepLabel:s,additionalContent:d}=a;if(!(void 0===t||n(t.allowedValueForCurrentEdition,t.actualValue)>=0))return{label:o?s(t,!!r):i(t,!!r),children:d?d(t,c):void 0}})})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(el.ZP,{className:s.listItem,children:(0,a.jsx)(ec.Z,{width:80,variant:"text"})}),(0,a.jsx)(el.ZP,{className:s.listItem,children:(0,a.jsx)(ec.Z,{width:90,variant:"text"})}),(0,a.jsx)(el.ZP,{className:s.listItem,children:(0,a.jsx)(ec.Z,{width:70,variant:"text"})})]})})};e2.displayName="OverageList";var e1=n(52066),e4=n.n(e1),e3=n(27521);let e5=e=>{var t;let{className:n,classes:r,onComplete:o,preventEscape:s}=e,l=(0,p.E)(e4(),r||{}),{team:c,userMembership:d}=(0,en.Oo)(),u=(0,eI.ED)(),{shouldShowTrialExtension:m,shouldShowAskSupport:_}=(0,eY.i)(),{showIntercom:v}=(0,eR.oG)(),{subscriptionOptions:g,editions:x}=(0,ez.g)(c.membershipSummary.paidCount),{recommendedEdition:b}=(0,eF.y)(c.membershipSummary.paidCount,x,g),[j,N]=(0,T.useState)("UPGRADE"),w=(0,T.useMemo)(()=>c.members.filter(e=>{let{membershipRole:t}=e;return t===eG.nJ.Admin}),[c.members]),Z=(null==d?void 0:d.membershipRole)===eG.nJ.Admin,S=(0,T.useMemo)(()=>c.hardDowngradeAt?Math.max((0,eU.Z)(new Date(c.hardDowngradeAt),new Date),0):void 0,[c.hardDowngradeAt]),I=(0,f.T)(()=>
1{if(!w)return;let e=w.map(e=>{let{email:t}=e;return t});window.open((0,eL.B$)(e))}),M=(0,f.T)(async e=>{e.stopPropagation(),await y.T.users.downgradeHardly(),null==o||o(),await (0,eP._)(2e3),window.location.reload()});return(0,a.jsxs)("div",{className:(0,i.Z)(l.root,n),children:[(0,a.jsx)(h.Z,{variant:"h3",children:"Unlock your account"}),(0,a.jsxs)(h.Z,{className:(0,i.Z)(void 0!==S&&l.mainParagraph),children:["All of your smart events are still scheduling, but your account is limited because you're using features outside of your plan limit."," ",void 0!==S?(0,a.jsxs)(a.Fragment,{children:["You have ",(0,a.jsxs)("b",{className:l.daysRemaining,children:[S," days"]})," before your account is automatically downgraded and those additional features are disabled."]}):(0,a.jsx)(a.Fragment,{children:"Your account may be downgraded at any time."})," ",(0,a.jsx)("strong",{children:"Here are your\xa0options:"})]}),(0,a.jsxs)("div",{className:l.accordions,children:[(0,a.jsxs)(eA.Z,{expanded:"UPGRADE"==j,onChange:()=>N("UPGRADE"),children:[(0,a.jsxs)(eE.Z,{expandIcon:(0,a.jsx)(eT.Z,{}),classes:{content:l.accordionSummary},children:["Upgrade your plan",Z?(0,a.jsx)(e3.u,{className:(0,i.Z)(l.actionButton,l.actionButton__main),referrer:"overage",onClick:o,children:"See plans"}):(0,a.jsx)(L.Z,{variant:"contained",className:(0,i.Z)(l.actionButton,l.actionButton__main),color:"primary",onClick:I,startIcon:(0,a.jsx)(eD.Z,{children:(0,a.jsx)(eH.Z,{})}),size:"small",children:"Request upgrade"})]}),(0,a.jsxs)(eB.Z,{children:[(0,a.jsx)(e2,{noLinks:s,keep:!0}),Z?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(h.Z,{variant:"caption",component:"p",className:l.subDescription,children:["Move to the"," ",(0,a.jsx)(eW.Q,{text:b&&ea.J[b].label,placeholderText:"Starter"})," ","plan to unlock more scheduling power."]})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h.Z,{variant:"body2",children:"Reclaim can send your team admin a note letting them know that you'd like to keep your paid features by upgrading your account."})})]})]}),m&&(0,a.jsxs)(eA.Z,{expanded:"TRIAL"==j,onChange:()=>N("TRIAL"),children:[(0,a.jsxs)(eE.Z,{expandIcon:(0,a.jsx)(eT.Z,{}),classes:{content:l.accordionSummary},children:["Restart your trial"," ",(0,a.jsx)(C.Z,{className:l.actionButton,variant:"contained",color:"primary",onClick:e=>{e.stopPropagation(),u.push("/billing?action=".concat(eK.Pt.StartTrialExtension)),null==o||o()},size:"small",children:"Restart trial now"})]}),(0,a.jsxs)(eB.Z,{children:[(0,a.jsx)(h.Z,{variant:"body2",className:l.description,children:"If you or your team need more time to explore, you can restart a free 14-day trial."}),(0,a.jsxs)(h.Z,{variant:"caption",component:"p",className:l.subDescription,children:["For teams of 5 or more, get even more time."," ",(0,a.jsx)(eO.Z,{onClick:()=>v("I'd like to request a 30-day trial of Reclaim for my team of 5 or more users."),className:l.trailButton,underline:"none",children:"Contact support"})]})]})]}),_&&(0,a.jsxs)(eA.Z,{expanded:"SUPPORT"==j,onChange:()=>N("SUPPORT"),children:[(0,a.jsxs)(eE.Z,{expandIcon:(0,a.jsx)(eT.Z,{}),classes:{content:l.accordionSummary},children:["Restart your trial",(0,a.jsx)(L.Z,{className:l.actionButton,variant:"contained",color:"primary",onClick:()=>{v("I'd like to request a 14-day trial for my account.")},size:"small",children:"Contact support"})]}),(0,a.jsx)(eB.Z,{children:(0,a.jsx)(h.Z,{className:l.description,variant:"body2",children:"Need more time to explore? Request another free 14-day trial for you and your team."})})]}),(0,a.jsxs)(eA.Z,{expanded:"DOWNGRADE"==j,onChange:()=>N("DOWNGRADE"),children:[(0,a.jsxs)(eE.Z,{expandIcon:(0,a.jsx)(eT.Z,{}),classes:{content:l.accordionSummary},children:["Disable premium features"," ",(0,a.jsx)(C.Z,{className:l.actionButton,variant:"contained",color:"primary",onClick:M,size:"small",children:"Disable for me"})]}),(0,a.jsxs)(eB.Z,{children:[!s&&(0,a.jsxs)(h.Z,{variant:"body2",className:l.description,children:["You can stay on Reclaim's ",c.teamEdition?null==c?void 0:null===(t=c.teamEditionMeta)||void 0===t?void 0:t.label:"free"," plan by disabling premium features, either manually or automatically."]}),(0,a.jsx)(e2,{noLinks:s}),(0,a.jsx)(h.Z,{variant:"caption",component:"p",className:l.subDescription,children:"Reclaim will automatically disable premium features using its best judgment."})]})]})]})]})};e5.displayName="OverageOMatic";var e7=n(90164),e6=n.n(e7),e8=n(57307);let e9=(0,T.forwardRef)((e,t)=>{let{className:n,classes:r,ModalClasses:o,closeModal:s,open:c,...d}=e,u=(0,p.E)(e6(),r||{}),m=(0,W.Z)(),h=(0,Y.Z)(m.breakpoints.down("sm")),{isLessThan2WeeksFromHardDowngrade:_}=ew(),v=(0,eI.ED)(),g=(0,l.Dv)(e8.aX),x=c&&v.pathname.toLowerCase()!==(0,eL.zL)().toLowerCase()&&!g;return(0,a.jsxs)(w.u,{className:(0,i.Z)(n,u.root),classes:{paper:u.paper},ref:t,fullWidth:!0,fullScreen:h,maxWidth:"sm",onClose:_?void 0:s,...d,open:x,children:[!_&&(0,a.jsx)(ek.Z,{className:u.closeBtn,onClick:s,size:"large",children:(0,a.jsx)(eM.Z,{})}),(0,a.jsx)(e5,{onComplete:s,preventEscape:_})]})});e9.displayName="OverageModal";var te=n(98895);let tt=()=>{let{team:e}=(0,en.Oo)(),{format:t}=(0,te.$0)();return e.hardDowngradeAt?(0,a.jsxs)("div",{children:["Your account will be automatically downgraded on"," ",(0,a.jsx)("b",{children:t(new Date(e.hardDowngradeAt),"DAY_MONTH_YEAR_FORMAT")})]}):(0,a.jsx)("div",{children:"Your account may be downgraded at any time."})},tn=(0,r.Z)(e=>({root:{},container:{display:"flex",flexWrap:"wrap",gap:e.spacing(),justifyContent:"center"},flexContainer:{alignItems:"center",display:"flex",gap:e.spacing(.5)},textContainer:{alignItems:"center",display:"flex",gap:e.spacing(.5)},errorIcon:{display:"none",height:18,width:18,[e.breakpoints.up("sm")]:{display:"block"}}}),{classNamePrefix:"HasOverageBanner"}),ta=e=>{let{className:t,classes:n}=e,r=tn({classes:n}),{usageData:s}=(0,eS.L)(),{user:c}=(0,m.ec)(),d=(0,m._y)(),{team:u}=(0,en.Oo)(),{isLessThan2WeeksFromHardDowngrade:h,showHardDowngradeAcknowledgement:p,shouldShowHardDowngradeAcknowledgement:_}=ew(),[v,g]=(0,l.KO)($.h),b=(0,ee.CR)(),[j,y]=(0,x.Dw)("HasOverageBanner__modalSeen",!1,{storage:sessionStorage}),C=u.newPricing&&(null==s?void 0:s.overage),N=!!((null==s?void 0:s.overage)&&(v||!j||h)),w=(0,f.T)(()=>{y(!0),g(!1)});return(0,T.useEffect)(()=>{_&&p()},[_,p]),(0,T.useEffect)(()=>{(null==c?void 0:c.features.onboard.showUpgradeRestoreModal)&&b()},[null==c?void 0:c.features.onboard.showUpgradeRestoreModal,b,d]),(0,a.jsxs)(o.j,{className:(0,i.Z)(r.root,t),in:C,variant:"error",children:[(0,a.jsxs)("div",{className:r.container,children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:r.textContainer,children:[(0,a.jsx)(eZ.Z,{className:r.errorIcon}),(0,a.jsx)("b",{children:"Your account is limited because you're using features outside of your plan."})]}),(0,a.jsx)(tt,{})]}),(0,a.jsxs)("div",{className:r.flexContainer,children:[(0,a.jsx)(L.Z,{variant:"contained",color:"primary",size:"small",onClick:()=>g(!0),children:"Fix it"}),(0,a.jsx)(e3.u,{variant:"outlined",referrer:"overage"})]})]}),(0,a.jsx)(e9,{open:N,onClose:w,closeModal:w})]})},tr=e=>{let{className:t}=e,n=(0,m.aF)(),r=null==n?void 0:n.features.assistSettings.smartMeetingGen2ToGen3MigrationDate,i=(0,T.useMemo)(()=>!!r&&(0,J.Z)(new Date,(0,U.Z)(new Date(r),14)),[r]);return(0,a.jsxs)(b,{className:t,storageKey:"SmartMeeting2to3MigrationBanner.closed",variant:"info",initialShow:i,children:["You're now on the latest version of Reclaim - now even faster & more reliability. Questions?"," ",(0,a.jsx)(u.u,{children:"Contact\xa0support"})]})};
1tr.displayName="SmartMeeting2to3MigrationBanner";var ti=n(32488),to=n(59432),ts=n.n(to);let tl=e=>{let{className:t,classes:n}=e,r=(0,p.E)(ts(),n||{}),{isMigrating:s,migrationFailed:l}=(0,ti.C)(!0);return(0,a.jsx)(o.j,{className:(0,i.Z)(r.root,t),in:s,variant:l?"error":"warning",children:(0,a.jsx)("div",{className:r.container,children:l?(0,a.jsxs)(h.Z,{variant:"inherit",children:["Something went wrong with your Smart Meetings migration. Please"," ",(0,a.jsx)(u.u,{variant:"link",lead:"There was a problem with my Smart Meetings migration...",children:"contact support"})," ","to let us know."]}):"You just activated Smart Meetings \uD83C\uDF89 Please allow ~30 minutes for your Smart 1:1s & Habits to fully migrate. We apologize if your calendar looks funky — it will look normal soon, we promise! This banner will disappear when the migration is complete."})})};tl.displayName="SmartSeriesMigrationBanner";var tc=n(7629),td=n(29286),tu=n(61030),tm=n.n(tu);let th=e=>{let{className:t,classes:n}=e,r=(0,p.E)(tm(),n||{}),{prePurchasedTrialsEnabled:s}=(0,td.j)("prePurchasedTrialsEnabled"),{userCurrentEdition:l,userIsAdmin:c,hasActiveSubscription:d}=(0,ed.Y)(),{team:u}=(0,en.Oo)(),{usageData:m}=(0,eS.L)(),_=(0,e8.ux)(),{trackBillingPageNavigation:v}=(0,tc.a)(),g=u.newPricing&&(null==m?void 0:m.overage),x=!!s&&c&&"LITE_V3"===l&&!d&&!g&&0===u.trialCount,b=(0,f.T)(()=>{v("start-trial-banner"),_({trialMode:!0})});return(0,a.jsx)(o.j,{className:(0,i.Z)("RaiStartTrialBanner",r.root,t),in:x,classes:{content:r.content},children:(0,a.jsxs)("div",{className:r.container,children:[(0,a.jsx)(h.Z,{variant:"body2",component:"span",children:"Try Reclaim Business free for a limited time — no charge until your trial ends."}),(0,a.jsx)(L.Z,{variant:"contained",color:"primary",size:"small",onClick:b,children:"Start free trial"})]})})};th.displayName="StartTrialBanner";var tp=n(48338),t_=n(92736),tv=n(58579),tg=n(30632),tx=n(98173),tf=n(20835),tb=n(77193),tj=n(71912),ty=n(83925),tC=n(98262);let tN=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},n=(0,m.aF)(),a=(null==n?void 0:n.created)?Math.max((0,ty.Z)((0,tC.Z)(n.created.getTime(),e),new Date),0):0,r=(0,tb.h)(a,t,[0===a]),{hours:i,minutes:o,seconds:s}=(0,tj.$)(r);return{hours:String(i).padStart(2,"0"),minutes:String(o).padStart(2,"0"),seconds:String(s).padStart(2,"0")}};var tw=n(23682),tZ=n.n(tw);let tS=e=>{let{classes:t,onEnd:n}=e,r=(0,p.E)(tZ(),t||{}),{hours:i,minutes:o,seconds:s}=tN(24,n);return(0,a.jsx)("span",{className:r.root,children:[i,o,s].map((e,t)=>(0,a.jsx)("span",{className:r["time".concat(t)],children:String(e).split("").map((e,n)=>(0,a.jsx)("span",{className:r.digit,children:e},"".concat(t,"-").concat(n)))},t))})};var tI=n(76048),tM=n.n(tI);let tk=e=>{var t;let{className:n,classes:r}=e,s=(0,p.E)(tM(),r||{}),{usageData:l}=(0,eS.L)(),{userDaysLeftInTrial:c,hasActiveSubscription:d,pendingClawback:u}=(0,ed.Y)(),{team:h}=(0,en.Oo)(),_=(0,m.aF)(),[v,g]=(0,T.useState)(!!(null==_?void 0:null===(t=_.editionMeta)||void 0===t?void 0:t.isTrial)&&!!(null==_?void 0:_.created)&&(0,tf.Z)((0,U.Z)(_.created.getTime(),1))),x=(0,e8.ux)(),{trackBillingPageNavigation:b}=(0,tc.a)(),j=(0,tv.Z)(),C=(0,Y.Z)(j.breakpoints.up("md")),[N,w]=(0,T.useState)(!1),{sendNotification:Z}=(0,k.z)(),S=(0,f.T)(async()=>{if(v){w(!0);try{var e;b("trial-banner-promo");let t=await y.T.team.getPromoCode("FIRST_24");x({discountPercent:(null!==(e=null==t?void 0:t.percentOff)&&void 0!==e?e:0)/100,couponCode:t.code})}catch(e){(0,tx.O7)(Error("Error applying promo code")),Z({message:"Error applying promo code",type:"error"})}finally{w(!1)}}}),I=h.newPricing&&(null==l?void 0:l.overage),M=(!!c&&c<=30&&!d||u)&&!I,R=!!c&&c>0;return l?(0,a.jsxs)(o.j,{className:(0,i.Z)(s.root,n,v&&s.promoBanner),in:M,onClick:v?S:void 0,classes:{content:s.content},children:[R&&(0,a.jsxs)("div",{className:(0,i.Z)(s.container,v&&s.container_promo),children:[v?(0,a.jsxs)("div",{children:[C&&(0,a.jsxs)(a.Fragment,{children:[c," ",(0,tg._6)(c||0,"day")," left in your trial –"," "]}),C?"upgrade":(0,a.jsx)(L.Z,{variant:"link",className:s.upgrade,children:"Upgrade"}
1)," ","in the next ",(0,a.jsx)(tS,{onEnd:()=>g(!1)})," to get ",(0,a.jsx)("b",{children:"30% off"})," your first year"]}):(0,a.jsxs)("span",{children:["Just",(0,a.jsxs)("strong",{children:[c," ",(0,tg._6)(c||0,"day")," left"]}),"with access to ",ea.J[l.currentEdition].label," features with your trial"]}),v&&C&&(0,a.jsx)(L.Z,{variant:"contained",color:"primary",size:"small",children:"Get the deal"}),!v&&(0,a.jsx)(e3.u,{referrer:"trial-banner",variant:"contained"}),N&&(0,a.jsx)(t_.g,{size:18})]}),!R&&u&&(0,a.jsxs)(a.Fragment,{children:["Your trial is over. Pro & Team features will be disabled soon -"," ",(0,a.jsx)(tp.r,{redirectAction:eK.Pt.StartPurchase,referrer:"trial-expiration",children:"Purchase now to avoid interruption!"})]})]}):(0,a.jsx)(a.Fragment,{})},tL=(0,r.Z)(e=>({root:{zIndex:1}}),{classNamePrefix:"Banners"}),tR=e=>{let{className:t,classes:n}=e,r=tL({classes:n}),o=d();return(0,a.jsxs)("div",{className:(0,i.Z)(r.root,t),ref:o,children:[(0,a.jsx)(tk,{}),(0,a.jsx)(th,{}),(0,a.jsx)(ta,{}),(0,a.jsx)(tl,{}),(0,a.jsx)(Q,{}),(0,a.jsx)(tr,{}),(0,a.jsx)(H,{}),(0,a.jsx)(q,{}),(0,a.jsx)(g,{})]})}},86874:function(e,t,n){"use strict";n.d(t,{BX:function(){return q},VR:function(){return X},iG:function(){return H},M0:function(){return V}});var a=n(24246),r=n(30632),i=n(21436),o=n(47528),s=n(90628),l=n(43205),c=n(23441),d=n(86922),u=n(85007),m=n(1451),h=n(66443),p=n(69008),_=n(38944),v=n(27378),g=n(36497),x=n(54572),f=n(28238),b=n(80636);let j=(0,p.Z)(e=>({root:{},skeleton:{width:"60%",height:"1.5em"},list:{listStyleType:"circle",margin:0,padding:0},listItem:{display:"list-item",marginLeft:e.spacing(2),padding:e.spacing(.5,0),"& .MuiMenuItem-root":{display:"list-item",marginLeft:e.spacing(2),padding:0}},subList:{marginTop:e.spacing(.5),padding:0},subListItem:{padding:0},subLink:{paddingRight:e.spacing(2),wordBreak:"break-word"}}),{classNamePrefix:"OverageListCustomBlockingSubList"}),y=(0,i.L5)()(["CUSTOM_BLOCKING_DECOMPRESSION","CUSTOM_BLOCKING_HABITS","CUSTOM_BLOCKING_CALENDAR_SYNC"]),C={CUSTOM_BLOCKING_DECOMPRESSION:{SubComp:()=>(0,a.jsxs)(a.Fragment,{children:["Decompression in\xa0",(0,a.jsx)(l.r,{href:(0,s.zg)(),children:"settings"})]})},CUSTOM_BLOCKING_HABITS:{SubComp:()=>{let[e]=(0,g.Z)(()=>f.T.habits.list(),[]),{user:t}=(0,d.ec)(),{smartHabits:n}=(0,c.j)(),r=j(),i=(0,v.useMemo)(()=>(null==t?void 0:t.features.assistSettings.smartSeries)?null==n?void 0:n.map(e=>{var t,n;return{alwaysPrivate:(null===(t=e.activeSeries)||void 0===t?void 0:t.visibility)!=="PUBLIC",id:e.lineageId,title:null===(n=e.activeSeries)||void 0===n?void 0:n.title,enabled:e.enabled}}):e,[e,n,null==t?void 0:t.features.assistSettings.smartSeries]);return(0,a.jsxs)(a.Fragment,{children:["Visibility in the following Habits:",i?(0,a.jsx)(u.Z,{className:r.subList,children:i.map(e=>{let{alwaysPrivate:t,id:n,title:i,enabled:o}=e;return o&&t&&(0,a.jsx)(m.ZP,{className:r.subListItem,children:(0,a.jsx)(l.r,{href:(0,s.L5)(n,"custom-visibility"),className:r.subLink,children:i})},n)})}):"..."]})}},CUSTOM_BLOCKING_CALENDAR_SYNC:{SubComp:()=>{let[e]=(0,g.Z)(()=>f.T.calendarSyncPolicies.list(),[]),t=j();return(0,a.jsxs)(a.Fragment,{children:["Visibility in the following Calendar Syncs:",e?(0,a.jsx)(u.Z,{className:t.subList,children:e.map(e=>{let{targetCalendarId:n,sourceCalendarId:r,sourceCalendar:i,targetCalendar:o,transparency:c,enabled:d}=e;return d&&i&&o&&"DEFAULT"!==c&&(0,a.jsx)(m.ZP,{className:t.subListItem,children:(0,a.jsxs)(l.r,{className:t.subLink,href:(0,s.YA)(r,n,{jumpTarget:"custom-visibility"}),children:[i.name," → ",o.name]})},(0,s.em)(r,n))})}):"..."]})}}},N=e=>{let{className:t,classes:n}=e,r=j({classes:n}),{usageData:i}=(0,x.L)();return(0,a.jsx)("div",{className:(0,_.Z)(r.root,t),children:i?(0,a.jsx)(u.Z,{className:r.list,children:y.map(e=>{let t=i.actuals[e];if(!t)return;let{actualValue:n,allowedValueForCurrentEdition:o}=t,{comparator:s}=b.mm[e];return s(n,o)>0&&(0,a.jsx)(m.ZP,{className:r.listItem,children:(0,v.createElement)(C[e].SubComp,{})},e)})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton})]})})};var w=n(91669),Z=n(22741),S=n(60876);let I=(0,p.Z)(e=>({root:{},skeleton:{width:"60%",height:"1.5em"},list:{},listItem:{display:"list-item",marginLeft:e.spacing(2),padding:e.spacing(.5,0),"&::before":{content:"'• '"}}}),{classNamePrefix:"OverageListIntegrationsSubList"}),M=e=>{let{className:t,classes:n}=e,r=I({classes:n}),{usageData:i}=(0,x.L)(),o=(0,v.useMemo)(()=>i&&(0,w.SY)((0,Z.Nw)(S.so).map(e=>{let t=S.so[e],n="entitlement"in t&&i.actuals[t.entitlement];return!!n&&n.actualValue&&!n.allowedValueForCurrentEdition&&e})),[i]);return(0,a.jsx)("div",{className:(0,_.Z)(r.root,t),children:i?(0,a.jsx)(u.Z,{className:r.list,children:null==o?void 0:o.map(e=>(0,a.jsx)(m.ZP,{className:r.listItem,children:S.so[e].label},e))}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton}),(0,a.jsx)(h.Z,{className:r.skeleton})]})})};var k=n(93850),L=n(35744),R=n(29574),T=n.n(R);let A=e=>{let{className:t,classes:n}=e,r=(0,L.E)(T(),n||{}),[i,o]=(0,g.Z)(async()=>(await f.T.schedulingLinks.list()).filter(e=>{let{brandingMode:t,enabled:n}=e;return n&&"NONE"===t}),[]),[c,d]=(0,g.Z)(async()=>(await f.T.schedulingLinks.listGroups()).filter(e=>{let{brandingMode:t}=e;return"RECLAIM"!==t}),[]);return(0,a.jsx)("ul",{className:(0,_.Z)(r.root,t),children:o||d?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})}),(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})})]}):(0,a.jsxs)(a.Fragment,{children:[!!(null==c?void 0:c.length)&&(0,a.jsxs)("li",{children:[(0,a.jsx)(k.Z,{variant:"body2",children:"Groups"}),(0,a.jsx)("ul",{children:c.map(e=>{let{id:t,name:n}=e;return(0,a.jsx)("li",{children:n},t)})})]}),!!(null==i?void 0:i.length)&&(0,a.jsxs)("li",{children:[(0,a.jsx)(k.Z,{variant:"body2",children:"Links"}),(0,a.jsx)("ul",{children:i.map(e=>{let{id:t,title:n}=e;return(0,a.jsx)("li",{children:(0,a.jsx)(l.r,{href:(0,s.Zm)(t,"branding"),children:n})},t)})})]})]})})};A.displayName="OverageListLinkBrandingSubList";var E=n(73726),D=n(77317),B=n.n(D);let O=e=>{let{className:t,classes:n}=e,r=(0,L.E)(B(),n||{}),{links:i,loading:o}=(0,E.I)(),c=(0,d.aF)(),u=(0,v.useMemo)(()=>null==i?void 0:i.filter(e=>{let{organizers:t,owner:n}=e;return!!t.find(e=>{let{attendanceType:t}=e;return"ANY_OF"===t&&n.userId===(null==c?void 0:c.id)})}),[i,c]);return(0,a.jsx)("ul",{className:(0,_.Z)(r.root,t),children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})}),(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})})]}):!!(null==u?void 0:u.length)&&u.map(e=>{let{id:t,title:n}=e;return(0,a.jsx)("li",{children:(0,a.jsx)(l.r,{href:(0,s.Zm)(t,"organizers"),children:n})},t)})})};O.displayName="OverageListLinkRoundRobinSubList";var P=n(44393),U=n(14014),F=n.n(U);let z=e=>{let{className:t,classes:n}=e,r=(0,L.E)(F(),n||{}),[i,o]=(0,P.dV)();return(0,a.jsx)("ul",{className:(0,_.Z)(r.root,t),children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})}),(0,a.jsx)("li",{children:(0,a.jsx)(h.Z,{})})]}):null==i?void 0:i.map(e=>{let{id:t,name:n,status:r}=e;return"ACTIVE"===r&&(0,a.jsx)("li",{children:(0,a.jsx)(l.r,{href:(0,s.id)({editOnLoadConfigId:t}),children:n})},t)})})};z.displayName="OverageListWebhooksSubList";let H=(0,i.L5)()(["MAX_SCHEDULING_LINKS","MAX_AGENTS","MAX_HABITS","MAX_SYNCS","MAX_CALENDARS","MAX_TASKS","MAX_CUSTOM_TIME_SCHEMES","CUSTOM_BLOCKING_HABITS","CUSTOM_BLOCKING","MAX_1_ON_1_ORGANIZE","MAX_1_ON_1_ATTEND","INTEGRATIONS","SC
1HEDULING_LINK_SURVEY","SCHEDULING_LINK_REDIRECT","DELEGATED_ACCESS","SCHEDULING_LINK_BRANDING","SCHEDULING_LINK_ROUND_ROBIN","SCHEDULER_WEEKS","WEBHOOKS","FOCUS_TIME"]),G=(e,t,n)=>{let{actualValue:i,allowedValueForCurrentEdition:o}=e,s=(0,r._6)(i-o,t);return(0,a.jsx)(a.Fragment,{children:n?(0,a.jsxs)(l.r,{href:n,children:[i-o,"\xa0",s]}):(0,a.jsxs)(a.Fragment,{children:[i-o,"\xa0",s]})})},K=(e,t)=>(n,r)=>(0,a.jsxs)(a.Fragment,{children:["Disable or remove ",G(n,e,r?void 0:t)]}),W=(e,t)=>(n,r)=>(0,a.jsxs)(a.Fragment,{children:["Remove ",G(n,e,r?void 0:t)]}),Y=(e,t)=>(n,r)=>(0,a.jsxs)(a.Fragment,{children:["Keep ",G(n,e,r?void 0:t)]}),V=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"".concat(t,"s"),a=arguments.length>3?arguments[3]:void 0;return"".concat(e," ").concat((0,r._6)(e,t,n,a))},X={MAX_SCHEDULING_LINKS:{label:K("Scheduling\xa0Link",(0,s.E5)()),keepLabel:Y("Scheduling\xa0Link",(0,s.E5)())},MAX_HABITS:{label:K("Habit",(0,s.MX)()),keepLabel:Y("Habit",(0,s.MX)())},MAX_AGENTS:{label:K("Agent"),keepLabel:Y("Agent")},MAX_CUSTOM_TIME_SCHEMES:{label:W("Custom\xa0Hour",(0,s.Lc)()),keepLabel:Y("Custom\xa0Hour",(0,s.Lc)())},MAX_SYNCS:{label:K("Calendar\xa0Sync",(0,s.ug)()),keepLabel:Y("Calendar\xa0Sync",(0,s.ug)())},MAX_CALENDARS:{label:W("Connected\xa0Calendar",(0,s.D$)()),keepLabel:Y("Connected\xa0Calendar",(0,s.D$)())},MAX_TASKS:{label:K("Task","/tasks"),keepLabel:Y("Task","/tasks")},CUSTOM_BLOCKING:{label:()=>"You have custom blocking enabled in the following places:",keepLabel:()=>"Keep the following items with custom blocking:",additionalContent:()=>(0,a.jsx)(N,{})},CUSTOM_BLOCKING_HABITS:{label:()=>"You have custom blocking enabled for 1 or more Habits",keepLabel:()=>"Keep custom blocking enabled for 1 or more Habits"},SCHEDULING_LINK_SURVEY:{label:()=>"You have surveys enabled for 1 or more Scheduling Links",keepLabel:()=>"Keep surveys for 1 or more Scheduling Links"},SCHEDULING_LINK_REDIRECT:{label:()=>"You have redirects enabled for 1 or more Scheduling Links",keepLabel:()=>"Keep redirects for 1 or more Scheduling Links"},MAX_1_ON_1_ORGANIZE:{label:K("Smart\xa0Meeting","/one-on-ones"),keepLabel:Y("Smart\xa0Meeting","/one-on-ones")},MAX_1_ON_1_ATTEND:{label:K("Smart\xa0Meeting","/one-on-ones"),keepLabel:Y("Smart\xa0Meeting","/one-on-ones")},INTEGRATIONS:{label:()=>"Disconnect the following integrations:",keepLabel:()=>"Keep the following integrations:",additionalContent:()=>(0,a.jsx)(M,{})},DELEGATED_ACCESS:{label:()=>"You have Delegated Access enabled for 1 or more users",keepLabel:()=>"Keep Delegated Access for 1 or more users"},SCHEDULING_LINK_BRANDING:{label:()=>"Custom branding is being used in the following places:",keepLabel:()=>"Keep custom branding in the following places:",additionalContent:()=>(0,a.jsx)(A,{})},SCHEDULING_LINK_ROUND_ROBIN:{label:()=>"Round Robin attendees are added to the following Scheduling Links:",keepLabel:()=>"Keep the following Round Robin Scheduling Links",additionalContent:()=>(0,a.jsx)(O,{})},SCHEDULER_WEEKS:{label:e=>"Reduce scheduler window to ".concat(V(e.allowedValueForCurrentEdition,"week")),keepLabel:e=>"Keep your scheduler window at ".concat(V(e.actualValue,"week"))},WEBHOOKS:{label:()=>"The following webhooks are active",keepLabel:()=>"Keep using the following webhooks",additionalContent:()=>(0,a.jsx)(z,{})},FOCUS_TIME:{label:e=>"Focus Time",keepLabel:e=>"Keep Focus Time"}},q={MAX_SCHEDULING_LINKS:{label:e=>V(e.count,"Scheduling Link")},MAX_HABITS:{label:e=>V(e.count,"Habit")},MAX_AGENTS:{label:e=>V(e.count,"Agent")},MAX_CUSTOM_TIME_SCHEMES:{label:e=>V(e.count,"Custom Time Scheme")},MAX_SYNCS:{label:e=>V(e.count,"Calendar Sync")},MAX_CALENDARS:{label:e=>V(e.count,"Connected Calendar")},MAX_TASKS:{label:e=>V(e.count,"Task")},CUSTOM_BLOCKING:{label:e=>"Custom time blocking"},CUSTOM_BLOCKING_HABITS:{label:e=>V(e.count,"Custom Time Blocking Habit")},SCHEDULING_LINK_SURVEY:{label:e=>V(e.count,"Scheduling Link Survey")},SCHEDULING_LINK_REDIRECT:{label:e=>V(e.count,"Scheduling Link Redirect")},MAX_1_ON_1_ORGANIZE:{label:e=>V(e.count,"Smart Meeting")},MAX_1_ON_1_ATTEND:{label:e=>V(e.count,"Smart Meeting")},INTEGRATIONS:{label:e=>V(e.count,"Integration")},DELEGATED_ACCESS:{label:e=>V(e.count,"Account Delegation")},SCHEDULING_LINK_BRANDING:{label:e=>(0,a.jsxs)(a.Fragment,{children:["Custom branding on ",V(e.count,"Scheduling Link")]})},SCHEDULING_LINK_ROUND_ROBIN:{label:e=>(0,a.jsxs)(a.Fragment,{children:["Round Robin enabled on ",V(e.count,"Scheduling Link")]})},SCHEDULER_WEEKS:{label:e=>{var t,n,r;return(0,a.jsxs)(a.Fragment,{children:["Scheduler window set to ",V(null!==(r=(0,o.Y3)(null!==(n=null===(t=e.disabledIds)||void 0===t?void 0:t[0])&&void 0!==n?n:"1"))&&void 0!==r?r:1,"week")]})},additionalContent:()=>""},WEBHOOKS:{label:e=>V(e.count,"Webhook")},FOCUS_TIME:{label:e=>"Focus Time"}}},36729:function(e,t,n){"use strict";n.d(t,{s:function(){return d}});var a=n(28238),r=n(61756),i=n(36497),o=n(86922),s=n(76264),l=n(22741),c=n(27378);let d=()=>{let{user:e}=(0,o.ec)(),[t,n,d,u]=(0,i.Z)(()=>(0,r.Vz)(null==e?void 0:e.edition)?Promise.resolve([]):a.T.users.getRestorableSnapshot(),[null==e?void 0:e.edition]),m=(0,s.T)(async e=>{await a.T.users.restoreSnapshot(e),await u()}),h=(0,c.useMemo)(()=>null==t?void 0:t.some(e=>e.count>0),[t]),[p,_]=(0,c.useState)();return(0,c.useEffect)(()=>
1{if(t){let e=t.map(e=>({...e,restore:!0}));_((0,l.Fv)(e,"entitlement"))}},[t]),{selectableSnapshotMap:(0,c.useMemo)(()=>{if(p)return p;if(t){let e=t.map(e=>({...e,restore:!0}));return(0,l.Fv)(e,"entitlement")}},[t,p]),setSelectableSnapshotMap:_,restoreSnapshot:m,shouldShowRestoreFeatures:h,loading:n,error:d}}},74260:function(e,t,n){"use strict";n.d(t,{V3:function(){return O},CR:function(){return B}});var a=n(24246),r=n(56990),i=n(93850),o=n(60189),s=n(35744),l=n(76264),c=n(38944),d=n(63337),u=n(27378),m=n(71305),h=n(86922),p=n(57791),_=n(81494),v=n(83151),g=n(39447),x=n(87090),f=n(36729),b=n(39498),j=n(66443),y=n(22019),C=n(75646),N=n(67432),w=n(76691),Z=n(52590),S=n(7226),I=n(12223),M=n(39580),k=n.n(M);let L=e=>{let{className:t,classes:n,selectableSnapshotMap:r,setSelectableSnapshotMap:o,loading:d,items:u}=e,m=(0,s.E)(k(),n||{}),{userCurrentEdition:h}=(0,I.Y)(),p=(0,l.T)((e,t)=>{e.stopPropagation(),r&&(r[t.entitlement].restore=e.target.checked,o({...r}))});return d||(null==u?void 0:u.length)?(0,a.jsx)("div",{className:(0,c.Z)(m.root,t),children:(!d||r)&&h?null==u?void 0:u.map((e,t)=>{var n;return!!(null==e?void 0:e.label)&&(0,a.jsx)(y.Z,{in:!!e.snapshot.restorableSnapshot.filter(e=>e.isRestorable).length,timeout:(0,S.m)(t,u.length,300),children:(0,a.jsxs)(C.Z,{className:(0,c.Z)(m.listItem),children:[(0,a.jsxs)(N.Z,{expandIcon:(0,a.jsx)(b.Z,{className:m.listItem__icon}),classes:{content:m.listItem__restoreRow,expanded:m.expandedListItem,root:m.listItem__root},children:[(0,a.jsx)(w.Z,{className:m.listItem__checkbox,checked:!!(null==r?void 0:r[e.entitlement].restore),onChange:t=>p(t,e.snapshot),onClick:e=>e.stopPropagation()}),(0,a.jsx)("div",{className:m.listItem__titleGroup,children:e.label})]}),(0,a.jsx)(Z.Z,{className:m.listItem__detailsRoot,children:(0,a.jsx)("ul",{className:m.listItem__featureList,children:e.snapshot.restorableSnapshot.filter(e=>e.isRestorable).map(e=>(0,a.jsx)("li",{className:(0,c.Z)(m.listItem__title),children:e.title},e.id))})})]})},null!==(n=e.label.toString())&&void 0!==n?n:t)}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:m.listItem,children:(0,a.jsx)(j.Z,{width:400,variant:"text"})}),(0,a.jsx)("div",{className:m.listItem,children:(0,a.jsx)(j.Z,{width:450,variant:"text"})}),(0,a.jsx)("div",{className:m.listItem,children:(0,a.jsx)(j.Z,{width:400,variant:"text"})})]})}):(0,a.jsx)(i.Z,{variant:"body2",className:m.emptyState,children:"There is nothing left to restore!"})};L.displayName="RestoreList";var R=n(57982),T=n.n(R),A=n(13274),E=n(86874);let D=(0,u.forwardRef)((e,t)=>{let{className:n,classes:o,ModalClasses:d,closeModal:b,open:j,...y}=e,C=(0,s.E)(T(),o||{}),{sendNotification:N}=(0,m.z)(),w=(0,h._y)(),{selectableSnapshotMap:Z,setSelectableSnapshotMap:S,restoreSnapshot:M,shouldShowRestoreFeatures:k,loading:R}=(0,f.s)(),D=Object.values(null!=Z?Z:{}).filter(e=>e.restore),B=(0,l.T)(async()=>{if(D.length){try{await M(D)}catch(e){N("Could not reactive features. Please reactive the remaining features manually or contact support.")}await (null==w?void 0:w.addTrait("ONBOARD_SHOW_UPGRADE_RESTORE_MODAL",!1)),window.location.reload()}}),{userCurrentEdition:O}=(0,I.Y)(),P=(0,p.ye)("assistant"),U=(0,u.useMemo)(()=>Z&&O?E.iG.filter(e=>(0,A.bu)(e,{hasAssistant:P})).map(e=>{let t=Z[e],n=E.BX[e];if(!n)return;let{label:a}=n;if(a&&void 0!==t)return{label:a(t),entitlement:t.entitlement,snapshot:t}}).filter(e=>!!(null==e?void 0:e.snapshot.count)):[],[P,Z,O]),F=j&&!R&&!!(null==U?void 0:U.length);return(0,u.useEffect)(()=>{F||R||b()},[F,b,R]),(0,a.jsxs)(_.u,{className:(0,c.Z)(n,C.root),classes:{paper:C.paper},ref:t,maxWidth:"sm",open:F,...y,children:[(0,a.jsx)(x.x,{onClose:b,className:C.title,children:(0,a.jsx)(i.Z,{variant:"h4",children:"Reactivate your disabled features"})}),(0,a.jsx)(v.h,{className:C.section,children:"Here are the overage features that were automatically disabled when you downgraded. Now that you've upgraded your plan, you can reactive specific features or get them all back in one click:"}),(0,a.jsx)(v.h,{className:C.section,children:(0,a.jsx)(L,{items:U,selectableSnapshotMap:Z,setSelectableSnapshotMap:S,className:C.overageList,loading:R})}),(0,a.jsx)(g.m,{className:C.ctaContainer,children:(0,a.jsx)(r.Z,{variant:"contained",color:"primary",className:C.ctaContainer_button,disabled:!k||!D.length,onClick:B,children:"Reactivate"})})]})});D.displayName="RestoreModal";let B=()=>{let{showModal:e}=(0,d.dd)(),t=(0,h._y)();return(0,l.T)(n=>{let a=e(D,{closeModal:async()=>{var e;await (null==t?void 0:t.addTrait("ONBOARD_SHOW_UPGRADE_RESTORE_MODAL",!1)),a(),null==n||null===(e=n.onClose)||void 0===e||e.call(n)},...n}).hide})},O=(0,u.forwardRef)((e,t)=>{let n=B();return(0,a.jsx)(o.Z,{onClick:()=>n(),variant:"outlined",size:"small",className:T().restoreButton,ref:t,...e,children:"Restore Features"})})},3149:function(e,t,n){"use strict";n.d(t,{QA:function(){return r},eK:function(){return a},gU:function(){return i}});let a=465,r=472,i=e=>"dark"===e?"/img/calendar-preview-dark.svg":"/img/calendar-preview-light.svg"},65386:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});let a={"connectCalendar.title":"Connect your calendar","connectCalendar.description":"Get started - it's free 30 day trial of Business edition. No credit card needed. Use your Dropbox account to work with your team.","connectCalendar.benefits.focusTime":"Protect focus time with AI-powered scheduling.","connectCalendar.benefits.schedulingLinks":"Book meetings faster with scheduling links.","connectCalendar.benefits.calendarSync":"Avoid double-booking with calendar sync.","connectCalendar.account.action":"Sign up and connect","connectCalendar.account.connectProvider":"Sign up and connect with {{provider}}","connectCalendar.status.failed":"We couldn't finish setting up your calendar.","connectCalendar.status.retry":"Try again","upgrade.title":"Connect Dropbox with Reclaim 2.0","upgrade.description":"You're currently using Reclaim 1.0. To connect your Dropbox account and access the integrated Dropbox experience, you'll need to switch to Reclaim 2.0—it's free and won't change your plan.","upgrade.benefits.heading":"With Reclaim 2.0, you'll get:","upgrade.benefits.planning":"The latest Reclaim planning and scheduling experience","upgrade.benefits.switching":"Seamless switching between Reclaim and other Dropbox products","upgrade.benefits.improvements":"The newest features and ongoing product improvements","upgrade.actions.switch":"Switch to Reclaim 2.0","upgrade.actions.stay":"Stay on 1.0 and return to Planner","upgrade.actions.disclaimer":"If you stay on Reclaim 1.0, your Dropbox account will not be linked."}},29929:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});
1var a=n(24246),r=n(96256),i=n(22677),o=n(88039),s=n(96504);let l=e=>{let{name:t,form:n,onChange:l,onBlur:c,error:d,helperText:u,rules:m,type:h,...p}=e;return n=(0,s.y)(n),(0,r.H)(t),(0,a.jsx)(o.Qr,{name:t,control:n.control,rules:m,render:e=>{let{field:{value:t,onChange:n,onBlur:r,ref:o,name:s},fieldState:{error:m}}=e;return(0,a.jsx)(i.Z,{inputRef:o,value:t,name:s,type:h,error:!!m||d,helperText:(null==m?void 0:m.message)?null==m?void 0:m.message:u,onChange:e=>{n("number"!==h||["",void 0,null].includes(e.target.value)?e.target.value:Number(e.target.value)),null==l||l(e)},onBlur:e=>{r(),null==c||c(e)},...p})}})}},87186:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var a=n(24246),r=n(43205),i=n(93850),o=n(35744),s=n(80729),l=n(38944),c=n(78886),d=n.n(c);let u=e=>{let{className:t,classes:n,actionText:c="Agree & sign up"}=e,u=(0,o.E)(d(),n||{});return(0,a.jsxs)(i.Z,{className:(0,l.Z)(u.root,t),variant:"body2",children:['By selecting "',c,'" below I\xa0agree to the'," ",(0,a.jsx)(r.r,{href:(0,s.Bv)("terms"),underline:"always",children:"Reclaim Terms"}),". Learn about how we use & protect your data in our"," ",(0,a.jsx)(r.r,{href:(0,s.Bv)("privacy"),underline:"always",children:"Privacy Policy"}),"."]})}},17776:function(e,t,n){"use strict";n.d(t,{V:function(){return f}});var a=n(24246),r=n(1688),i=n(43205),o=n(73382),s=n(93850),l=n(66443),c=n(60189),d=n(41192),u=n(35744),m=n(80729),h=n(38944),p=n(27378),_=n(90628),v=n(2050),g=n(46070),x=n.n(g);let f=e=>{let{className:t,classes:n,links:g,loading:f,onNavigate:b}=e,j=(0,u.E)(x(),n||{}),y=(0,p.useMemo)(()=>g?g.filter(e=>!!(0,_.b9)(e)):[],[g]);return(0,a.jsxs)("div",{className:(0,h.Z)(j.root,t,{[j["root--noLinks"]]:!(null==g?void 0:g.length)}),children:[f||(null==g?void 0:g.length)?(0,a.jsx)(s.Z,{variant:"caption",className:j.header,children:v._["schedulingLink.recentLinks.header"]}):null,f?(0,a.jsxs)("div",{className:j.skeletonLinkRow,children:[(0,a.jsx)(l.Z,{height:32}),(0,a.jsx)(l.Z,{height:32}),(0,a.jsx)(l.Z,{height:32})]}):(null==g?void 0:g.length)?(0,a.jsxs)(a.Fragment,{children:[y.map(e=>{let t=(0,_.b9)(e);return t?(0,a.jsxs)("div",{className:j.linkRow,children:[(0,a.jsx)(c.Z,{variant:"text",className:j.linkRow__button,href:(0,_.sr)(e.id),component:i.r,onClick:b,children:e.title}),(0,a.jsx)(o.u,{title:v._["schedulingLink.recentLinks.copyTooltip"],children:(0,a.jsx)(r.m,{classes:{defaultIcon:j.copyButton__defaultIcon},copyText:t,notify:!0,className:j.copyButton})})]},e.id):null}),(0,a.jsx)(d.Z,{className:j.divider})]}):null,(0,a.jsx)("div",{className:j.linkRow,children:(0,a.jsx)(c.Z,{className:j.linkRow__button,variant:"text",href:(0,m.Bv)("schedulingLinks"),component:i.r,onClick:b,children:v._["schedulingLink.recentLinks.goToSchedulingLinks"]})})]})}},46592:function(e,t,n){"use strict";n.d(t,{p:function(){return G}});var a,r,i=n(24246),o=n(44857),s=n(35744),l=n(38944),c=n(63337),d=n(81494),u=n(83151),m=n(39447),h=n(87090),p=n(76264),_=n(37967),v=n.n(_),g=n(28238),x=n(71774),f=n(56990
1),b=n(71305),j=n(86922),y=n(93850),C=n(60189),N=n(27378);let w=e=>{let{className:t,classes:n,onClose:a,title:r="Upgrade Reclaim",description:o="In order to get the best experience, we need to migrate your account to the new Reclaim platform. Stay on this page until the update is complete (it's quick and free).",buttonText:c="Upgrade Reclaim",cancelText:_="I'll do it later",icon:w,...Z}=e,S=(0,s.E)(v(),n||{}),{load:I}=(0,j._y)(),{sendNotification:M}=(0,b.z)(),[k,L]=(0,N.useState)(!1),R=(0,p.T)(async()=>{L(!0);try{await g.T.users.migrationToPipeline(),await I(!0),M({message:"Upgrade started..."}),a()}catch(e){M({type:"error",message:(0,i.jsxs)(i.Fragment,{children:["There was an error while upgrading Reclaim. Please"," ",(0,i.jsx)(x.u,{variant:"link",lead:"I am having trouble upgrading to Outlook...",children:"contact support"}),"."]})})}finally{L(!1)}});return(0,i.jsxs)(d.u,{className:(0,l.Z)(S.root,t),onClose:a,maxWidth:"sm",fullWidth:!0,...Z,children:[(0,i.jsxs)(h.x,{onClose:a,classes:{content:S.header},children:[w,(0,i.jsx)(y.Z,{variant:"inherit",children:r})]}),(0,i.jsx)(u.h,{children:(0,i.jsx)(y.Z,{children:o})}),(0,i.jsx)(m.m,{children:(0,i.jsxs)("div",{className:S.buttons,children:[(0,i.jsx)(f.Z,{disabled:k,onClick:R,color:"primary",variant:"contained",children:c}),(0,i.jsx)(C.Z,{onClick:a,variant:"text",children:_})]})})]})};w.displayName="MigrateToPipelineModal";var Z=n(72345);let S=e=>{let{...t}=e;return(0,i.jsx)(w,{icon:(0,i.jsx)(Z.Z,{}),title:"Add an Outlook account",description:"In order to add your Outlook account, you'll need to get on the latest version of Reclaim. Stay on this page until the update is complete (it's quick and free).",...t})};S.displayName="MigrateToPipelineForOutlookModal";var I=n(57755),M=n(91781),k=n(70556),L=n(57791);function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var T=N.forwardRef(function(e,t){return N.createElement("svg",R({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),a||(a=N.createElement("rect",{width:32,height:32,rx:16,fill:"currentColor",fillOpacity:.17})),r||(r=N.createElement("path",{d:"M20 14v2-2zm0 2v2-2zm0 0h2-2zm0 0h-2 2zm-3.333-3.333a2.667 2.667 0 11-5.334 0 2.667 2.667 0 015.334 0v0zM10 21.333a4 4 0 018 0V22h-8v-.667z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}),A=n(44346),E=n(68407),D=n(78259),B=n(2841),O=n(38727),P=n(69982),U=n(1115),F=n(16256),z=n(41042),H=n.n(z);let G=(0,N.forwardRef)((e,t)=>{let{className:n,classes:a,children:r,menuItem:d,redirectQueryParams:u,startIcon:m="plus",onClick:h,..._}=e,v=(0,s.E)(H(),a||{}),x=(0,O.ED)(),{acceptingNewOutlookUsers:f}=(0,M.BH)(),b=(0,L.ye)("pipeline"),{showModal:j}=(0,c.dd)(),w=(0,N.useMemo)(()=>{if(!u)return"";switch(typeof u){case"string":return(0,B.vO)(u);case"object":return u}},[u]),R=(0,N.useRef)(null),[z,G]=(0,N.useState)(!1),K=(0,p.T)(e=>{if(R.current=e,t)switch(typeof t){case"function":t(e);break;case"object":t.current=e}}),W=(0,p.T)(e=>{let{state:t,...n}=x.query,a={redirect:x.pathname+(0,B.uq)((0,B.MT)({...n,...w}))};g.T.credentials.save({mode:U.vB.ConnectCalendar,useType:"PERSONAL",state:a,provider:e})}),Y=(0,p.T)(e=>{null==h||h(e),f?G(!0):g.T.credentials.save({mode:U.vB.ConnectCalendar,state:{redirect:x.asPath},useType:"PERSONAL"})}),V=(0,p.T)(()=>{if(b)W("microsoft");else{let e=j(S,{onClose:()=>e.destroy()})}}),[X,q]=(0,N.useMemo)(()=>(0,k.H)([{test:o.Dj,message:"You cannot add another account while using delegated access"}]),[]);return(0,i.jsxs)(i.Fragment,{children:[d?(0,i.jsx)(I.v,{ref:K,className:(0,l.Z)(v.root,n),disabled:X,title:X?q:void 0,dense:!0,onClick:Y,children:null!=r?r:(0,i.jsxs)("div",{className:v.menuItemContent,children:[(0,i.jsx)(A.Z,{className:v.menuItemContent__icon,color:"primary",fontSize:"small"}),(0,i.jsx)(y.Z,{className:v.menuItemContent__label,color:"primary",children:"Add account"})]})}):(0,i.jsx)(E.Z,{title:q||void 0,children:(0,i.jsx)(C.Z,{ref:K,className:(0,l.Z)(v.root,n),startIcon:(()=>{switch(m){case"user":return(0,i.jsx)(T,{className:v.userIcon});case"plus":return(0,i.jsx)(A.Z,{fontSize:"small"});default:return m}})(),color:"primary",variant:"outlined",onClick:Y,..._,children:null!=r?r:"Add account"})}),(0,i.jsxs)(F.v,{classes:{paper:v.paper},open:z,anchorEl:R.current,onClose:()=>G(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:[(0,i.jsxs)(D.Z,{className:v.menuItem,onClick:()=>{W("google")},children:[(0,i.jsx)(P.Z,{className:v.menuItem__icon}),(0,i.jsx)(y.Z,{variant:"inherit",children:"Google"})]}),(0,i.jsxs)(D.Z,{className:v.menuItem,onClick:V,children:[(0,i.jsx)(Z.Z,{className:v.menuItem__icon}),(0,i.jsx)(y.Z,{variant:"inherit",children:"Outlook"})]})]})]})});G.displayName="AddAccountButton"},91935:function(e,t,n){"use strict";n.d(t,{u:function(){return v}});
1var a=n(24246),r=n(93850),i=n(69008),o=n(38944),s=n(19988),l=n(23647),c=n(27378),d=n(54541),u=n(53733),m=n(98895),h=n(3524),p=n(22741);let _=(0,i.Z)(e=>({root:{},dayRow:{display:"flex"},dayLabel:{fontWeight:e.typography.fontWeightLight,width:30,textAlign:"right",marginRight:e.spacing(1)},intervals:{display:"flex",flexDirection:"column"},interval:{fontWeight:e.typography.fontWeightBold},timeZone:{marginTop:e.spacing(1)}}),{classNamePrefix:"TimePolicyHoursDisplay"}),v=e=>{let{className:t,classes:n,policy:i,daysOverride:v,timezoneMessage:g}=e,x=_({classes:n}),{format:f,shortenTime:b}=(0,m.$0)(),j=(0,u.O)(i),y=(0,d.Z)(),C=(0,c.useMemo)(()=>{let e={},t=v||j,n=(0,s.Z)(new Date);return t.forEach(t=>{var a,r,o;(null===(r=i.dayHours[t])||void 0===r?void 0:null===(a=r.intervals)||void 0===a?void 0:a.length)&&(null===(o=i.dayHours[t])||void 0===o||o.intervals.forEach(a=>{let r=(0,l.Z)(a.start,"HH:mm:ss",n),i=(0,l.Z)(a.end,"HH:mm:ss",n);if(r&&i){var o;e[t]||(e[t]=[]);let n=f(r,"TIME_DISPLAY_FORMAT"),a=f(i,"TIME_DISPLAY_FORMAT");null===(o=e[t])||void 0===o||o.push(b?"".concat(b(n)," - ").concat(b(a)):"".concat(n," - ").concat(a))}}))}),e},[j,v,i,f,b]);return(0,a.jsxs)("div",{className:(0,o.Z)(x.root,t),children:[(0,p.FR)(C).map((e,t)=>{let[n,i]=e;return(0,a.jsxs)("div",{className:x.dayRow,children:[(0,a.jsx)(r.Z,{className:x.dayLabel,variant:"inherit",children:(0,h.D7)([n],y)}),(0,a.jsx)("div",{className:x.intervals,children:null==i?void 0:i.map((e,t)=>(0,a.jsx)(r.Z,{className:x.interval,variant:"inherit",children:e},t))})]},t)}),g&&(0,a.jsx)(r.Z,{variant:"inherit",className:x.timeZone,children:g})]})}},53733:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var a=n(27378),r=n(22741),i=n(54541);let o=e=>{let t=(0,i.Z)();return(0,a.useMemo)(()=>{if(!e)return[];let n=(0,r.Nw)(e.dayHours);return t.reduce((e,t)=>n.includes(t)?[...e,t]:e,[])},[t,e])}},77193:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var a=n(27378);function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},n=arguments.length>2?arguments[2]:void 0,[r,i]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let e=setInterval(()=>{i(n=>{let a=n-1;return a>0||(clearInterval(e),t()),a})},1e3);return()=>{clearInterval(e)}},n),r}},1222:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var a=n(76264),r=n(27378);let i=()=>{let[e,t]=(0,r.useState)(0),n=(0,a.T)(()=>t(e+1)),i=(0,a.T)(()=>t(e-1)),o=(0,a.T)(async e=>{n();try{await e()}finally{i()}}),s=(0,a.T)(e=>{n();try{e()}finally{i()}});return{thingsThinking:e,thinking:!!e,startThinking:n,stopThinking:i,thinkWhile:o,thinkWhileSync:s}}},53772:function(e,t,n){"use strict";n.d(t,{w:function(){return h}});var a=n(24246),r=n(39182),i=n(56449),o=n(86922),s=n(92024),l=n(9008),c=n.n(l),d=n(27378),u=n(19023);let m=e=>Array.isArray(e)?e[e.length-1]:"string"==typeof e?e:void 0,h=e=>{let{title:t}=e,{user:n}=(0,o.ec)(),l=(0,i.Z)(),h=(0,r.w)(),p=m(t),_=!p||/^Reclaim/.test(p)?p:"".concat(p," | Reclaim"),v=(0,d.useMemo)(()=>{if(h.now.length)return h.now[0]},[h.now]);return((0,d.useEffect)(()=>{let e,t,a;if(_){if((null==n?void 0:n.features.appNotifications.titleTagAlertEnabled)&&!l&&v&&v.eventStart.getTime()+3e4>new Date().getTime()){let n=async()=>{document.title=(null==v?void 0:v.title)?(0,s.SF)(v.title).textWithoutEmoji:"Event in progress",e=(0,u.iK)(()=>{document.title=_},2e3)};t=(0,u.Zi)(n,4e3),a=(0,u.iK)(()=>{(0,u.cv)(t),document.title=_},3e4)}else document.title=_;return()=>{(0,u.gr)(e),(0,u.cv)(t),(0,u.gr)(a)}}},[v,_,null==n?void 0:n.features.appNotifications.titleTagAlertEnabled,l]),_)?(0,a.jsx)(c(),{children:(0,a.jsx)("title",{children:_})}):null};h.displayName="AppLayoutHeader"},9979:function(e,t,n){"use strict";n.d(t,{D:function(){return G}});var a=n(24246),r=n(24981),i=n(57937),o=n(35440),s=n(77788),l=n(93261),c=n(2050),d=n(66478),u=n(2248),m=n(35744),h=n(38944),p=n(37798),_=n.n(p),v=n(17776);let g=e=>{let{classes:t,className:n,links:r}=e,i=(0,m.E)(_(),t||{});return(0,a.jsx)(d.O,{className:(0,h.Z)(i.root,n),asIconButton:!0,TooltipProps:{title:c._["schedulingLink.recentLinks.ariaLabel"]},"aria-label":c._["schedulingLink.recentLinks.ariaLabel"],PopperProps:{placement:"bottom-start"},popperChildren:e=>{let{close:t}=e;return(0,a.jsx)(v.V,{links:r,onNavigate:t})},children:(0,a.jsx)(u.Z,{fontSize:"small"})})};g.displayName="SchedulingNavMenuButton";var x=n(83657),f=n(38727),b=n(77882),j=n(64871),y=n(76264),C=n(80729),N=n(27378),w=n(53772),Z=n(47738),S=n(85778),I=n(43023),M=n(75699),k=n(14645),L=n(23314),R=n(86922),T=n(19304),A=n(17594),E=n(90628),D=n(17889),B=n(28238),O=n(91608),P=n(98173),U=n(21045);let F=()=>{let e=(0,R.aF)(),t=(null==e?void 0:e.provider)==="dropbox",{data:n}=(0,U.a)({queryKey:["dbxAppShell"],enabled:t,staleTime:O.Dv,queryFn:async()=>
1{let e=await B.T.dbx.getAppShell();return e.appSwitcherGroups||(0,P.O7)(Error("Dropbox app-shell returned null groups")),e}});return{appSwitcherGroups:null==n?void 0:n.appSwitcherGroups}},z=(0,N.lazy)(()=>Promise.all([n.e(4913),n.e(4600),n.e(6970),n.e(4324),n.e(6552)]).then(n.bind(n,26552)).then(e=>({default:e.ReclaimAppShellLayout}))),H={planner:(0,C.Bv)("planner"),meetings:(0,C.Bv)("meetings"),scheduling:(0,C.Bv)("schedulingLinks"),insights:(0,C.Bv)("stats","USER"),connectCalendars:(0,C.Bv)("calendars")},G=e=>{let{children:t,classes:n,className:d,title:u,withNavigation:m=j.t}=e,h=(0,f.ED)(),p=function(){var e;let{user:t}=(0,R.ec)(),{team:n,maxTeamEdition:a}=(0,k.Oo)(!0),r=null!==(e=(0,D.wY)(null==t?void 0:t.name,null==t?void 0:t.email))&&void 0!==e?e:"",i=function(e,t){let n=void 0!==t?"".concat(t," ").concat(1===t?c._["appShell.teamSubtitle.member"]:c._["appShell.teamSubtitle.members"]):void 0;return e&&n?"".concat(e," \xb7 ").concat(n):e||n}(a?T.J[a].label:void 0,null==n?void 0:n.members.length),o=(0,f.ED)(),s=(0,y.T)((e,t)=>{(0,b.IG)(t)&&(t.preventDefault(),o.push(e))}),l=!!(null==t?void 0:t.features.dropboxSettings.teamUser),[d,u]=(0,A.F)(),m=(0,y.T)(e=>{u(e)}),h=(0,I.F)(),p=(0,S.b)(),{showIntercom:_}=(0,L.oG)("I need help..."),v=(0,y.T)(()=>{h()}),g=(0,y.T)(()=>{p()}),x=(0,y.T)(()=>{_()}),j=(0,R._y)();return(0,N.useMemo)(()=>({user:{name:null==t?void 0:t.name,email:null==t?void 0:t.email,avatarInitials:r,avatarSrc:null==t?void 0:t.avatarUrl},team:n?{name:n.name,subtitle:i,imageSrc:n.logoUrl}:void 0,items:function(e){let{theme:t,isTeamUser:n,onThemeChange:a,onInternalLinkClick:r,onHelpChecklistClick:i,onHelpPauseSchedulingClick:o,onHelpContactSupportClick:s,onLogout:l}=e,d=(e,t,n)=>({type:"link",id:e,label:t,href:n,onClick:e=>r(n,e)}),u=(e,t,n)=>({type:"link",id:e,label:t,href:n,external:!0});return[{type:"submenu",id:"settings",label:c._["appShell.settings"],items:[u("dropboxAccountSettings",c._["appShell.accountSettings"],"https://www.dropbox.com/account"),...n?[u("dropboxMembersAndGroups",c._["appShell.membersAndGroups"],"https://www.dropbox.com/team")]:[],{type:"submenu",id:"theme",label:c._["appShell.theme"],items:[{type:"select",id:"theme-light",label:c._["appShell.theme.light"],selected:"light"===t,onClick:()=>a("light")},{type:"select",id:"theme-dark",label:c._["appShell.theme.dark"],selected:"dark"===t,onClick:()=>a("dark")},{type:"select",id:"theme-system",label:c._["appShell.theme.system"],selected:"system"===t,onClick:()=>a("system")}]},...Z.w.map(e=>{let{id:t,label:n,href:a}=e;return d(t,n,a)})]},d("team",c._["appShell.team"],(0,E.ET)()),d("billing",c._["appShell.billing"],(0,E.zL)()),{type:"submenu",id:"help",label:c._["appShell.help"],items:[{type:"action",id:"help-checklist",label:c._["appShell.onboardingChecklist"],onClick:i},u("webinars",c._["appShell.webinars"],M.RR),d("feedback",c._["appShell.feedback"],(0,E.hr)()),{type:"action",id:"help-pause-scheduling",label:c._["appShell.pauseScheduling"],onClick:o},u("helpDocs",c._["appShell.helpDocs"],M.TT),{type:"action",id:"help-contact-support",label:c._["appShell.contactSupport"],onClick:s},d("shareReclaim",c._["appShell.shareReclaim"],(0,E.u8)())]},{type:"action",id:"logout",label:c._["appShell.logout"],onClick:l}]}({theme:d,isTeamUser:l,onThemeChange:m,onInternalLinkClick:s,onHelpChecklistClick:v,onHelpPauseSchedulingClick:g,onHelpContactSupportClick:x,onLogout:j.logout})}),[null==t?void 0:t.name,null==t?void 0:t.email,null==t?void 0:t.avatarUrl,n,i,r,l,d,m,s,v,g,x,j.logout])}(),{isAccountRecoveryDialogOpen:_,renderAccountRecoveryDialog:v}=(0,r.U)(),{appSwitcherGroups:C}=F(),B=(0,o.d)(),{data:O}=(0,x.tg)(),P=(0,N.useMemo)(()=>{if(null==O?void 0:O.length)return{scheduling:(0,a.jsx)(g,{links:O})}},[O]),U=(0,N.useMemo)(()=>h.pathname.startsWith("/planner")?"planner":h.pathname.startsWith("/meetings")?"meetings":h.pathname.startsWith("/scheduling-links")?"scheduling":h.pathname.startsWith("/stats")?"insights":h.pathname.startsWith("/settings/accounts")?"connectCalendars":void 0,[h.pathname]),G=(0,y.T)((e,t)=>{(0,b.IG)(t)&&(t.preventDefault(),h.push(e))}),K=(0,y.T)((e,t)=>{G(H[e],t)}),W=(0,y.T)(e=>{G(H.planner,e)});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.w,{title:u}),(0,a.jsxs)(N.Suspense,{fallback:null,children:[(0,a.jsx)(z,{classes:n,className:d,bannerSlot:_?void 0:(0,a.jsx)(l.c,{}),accountMenuProps:p,withNavigation:m,selectedNavId:U,navHrefs:H,onNavItemClick:K,navItemAccessories:P,headerActions:m?(0,a.jsxs)(a.Fragment,{children:[B&&(0,a.jsx)(i.b,{}
1),(0,a.jsx)("div",{"data-intercom-target":"nav-create-menu",children:(0,a.jsx)(s.f,{})})]}):void 0,productHref:H.planner,onProductLogoClick:W,appSwitcherGroups:C,withAutoScrollbarGutter:"planner"===U,children:t}),v()]})]})};G.displayName="ReclaimAppShell"},53609:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return U}});var a=n(24246),r=n(1115),i=n(28238),o=n(47977),s=n(29902),l=n(92736),c=n(86391),d=n(19331),u=n(8783),m=n(84446),h=n(55538),p=n(86922),_=n(39910),v=(0,n(93540).Z)((0,a.jsx)("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"}),"LinkOutlined"),g=n(2047),x=n(93850),f=n(60189),b=n(94640),j=n(35744),y=n(76264),C=n(80729),N=n(38944),w=n(27378),Z=n(87186),S=n(17225),I=n.n(S),M=n(3149),k=n(65386),L=n(39940);let R=(e,t)=>e.replace("{{provider}}",t),T=[{Icon:_.Z,label:k.C["connectCalendar.benefits.focusTime"]},{Icon:v,label:k.C["connectCalendar.benefits.schedulingLinks"]},{Icon:g.Z,label:k.C["connectCalendar.benefits.calendarSync"]}],A=e=>{let{className:t,classes:n}=e,_=(0,j.E)(I(),n||{}),v=(0,p.aF)(),{load:g}=(0,p._y)(),{mainAccount:S,initialized:A}=(0,m.v)(),E=(0,s.g)(),D=(0,h.t)(),B=(0,L.C)(),[O,P]=(0,w.useState)(!1),U=(0,w.useRef)(!1),F=null==v?void 0:v.id,z=!!(null==v?void 0:v.onboarded),H=!!A&&!!S&&!O,G=(0,y.T)(e=>{i.T.credentials.save({mode:r.vB.Primary,useType:"WORK",state:{flow:"onboarding",redirect:(0,C.Bv)("dropboxConnectCalendar")},provider:e})}),K=(0,y.T)(async()=>{if(F){P(!1);try{z||(await i.T.users.onboardDropboxUser({userId:F}),await g(!0),await E()),await D(d.J,{genericLoadingMessages:!0},{minDuration:8e3,maxDuration:12e3,route:(0,C.Bv)("planner")})}catch(e){P(!0)}}});return(0,w.useEffect)(()=>{!U.current&&H&&F&&(U.current=!0,K())},[K,H,F]),(0,a.jsx)("div",{className:(0,N.Z)(_.root,t),children:H?(0,a.jsx)(l.g,{}):(0,a.jsxs)("div",{className:_.layout,children:[(0,a.jsxs)("div",{className:_.intro,children:[(0,a.jsx)(x.Z,{variant:"h1",children:k.C["connectCalendar.title"]}),(0,a.jsx)(x.Z,{className:_.intro__description,variant:"body1",children:k.C["connectCalendar.description"]})]}),(0,a.jsxs)("div",{className:_.body,children:[(0,a.jsx)("div",{className:_.preview,children:(0,a.jsx)("img",{className:_.preview__image,src:(0,M.gU)(B),width:M.eK,height:M.QA,alt:""})}),(0,a.jsxs)("div",{className:_.details,children:[(0,a.jsx)("ul",{className:_.benefits,children:T.map(e=>{let{Icon:t,label:n}=e;return(0,a.jsxs)("li",{className:_.benefits__item,children:[(0,a.jsx)("span",{className:_.benefits__item__icon,children:(0,a.jsx)(t,{fontSize:"inherit"})}),(0,a.jsx)(x.Z,{variant:"body2",children:n})]},n)})}),(0,a.jsx)("div",{className:_.account,children:O?(0,a.jsxs)("div",{className:_.account__status,children:[(0,a.jsx)(x.Z,{variant:"body1",children:k.C["connectCalendar.status.failed"]}),(0,a.jsx)(f.Z,{variant:"contained",onClick:()=>void K(),children:k.C["connectCalendar.status.retry"]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.K,{src:null==v?void 0:v.avatarUrl,name:null==v?void 0:v.name,email:null==v?void 0:v.email,sx:{width:64,height:64}}),(0,a.jsxs)("div",{className:_.account__identity,children:[!!(null==v?void 0:v.name)&&(0,a.jsx)(x.Z,{variant:"h4",component:"p",children:v.name}),!!(null==v?void 0:v.email)&&(0,a.jsx)(x.Z,{className:_.account__identity__email,variant:"body2",children:v.email})]}),(0,a.jsx)(Z.S,{className:_.policy,actionText:k.C["connectCalendar.account.action"]}),(0,a.jsx)("div",{className:_.account__providers,children:b.I.map(e=>(0,a.jsx)(c.Z,{className:_.account__providers__button,label:R(k.C["connectCalendar.account.connectProvider"],o.t[e].label),icon:o.t[e].getIcon(),onClick:()=>G(e)},e))})]})})]})]})]})})};A.displayName="DropboxConnectCalendar";var E=n(55695),D=n(9979),B=n(64472),O=n.n(B);let P=e=>{let{}=e;return(0,a.jsx)(D.D,{classes:{content:O().content},withNavigation:!1,children:(0,a.jsx)(A,{})})};P.displayName="DropboxConnectCalendarPage";var U=(0,E.Z)(P)},47977:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});
1var a=n(24246),r=n(66091),i=n(72345),o=n(77654);let s={google:{label:"Google",connectLabel:"Connect with Google",conferenceType:"MeetConferenceRequest",calAllowsVideoConference:e=>!!e.googleMeetAllowed,getIcon:()=>(0,a.jsx)(r.Z,{})},microsoft:{label:"Outlook",conferenceType:"TeamsConferenceRequest",connectLabel:"Connect with Outlook",calAllowsVideoConference:e=>!!e.microsoftTeamsAllowed,getIcon:()=>(0,a.jsx)(i.Z,{})},dropbox:{label:"Dropbox",connectLabel:"Connect with Dropbox",conferenceType:"TeamsConferenceRequest",calAllowsVideoConference:e=>"google"===e.provider?!!e.googleMeetAllowed:!!e.microsoftTeamsAllowed,getIcon:()=>(0,a.jsx)(o.Z,{})}}},7226:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let a=function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return n*(n/t*(e+1)/n)**a},r=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:600,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return a(e,t,n,r)}},8370:function(e,t,n){"use strict";n.d(t,{lr:function(){return i}}),n(77755);var a=n(62768),r=n.n(a);let i=e=>r()(e.map(e=>[...e]))},35974:function(e,t,n){"use strict";n.d(t,{CB:function(){return u},Rx:function(){return h},fP:function(){return d},zo:function(){return m}});var a=n(91669),r=n(22741),i=n(76264),o=n(27378),s=n(49579),l=n(8370),c=n(77755);function d(e){return e.split(/\s/g).filter(e=>!!e).map(e=>e.toLowerCase())}let u=(e,t)=>{let n=[],a=t.toLowerCase(),r=[];if(!e.every(e=>{if(0===e.length)return!1;let t=a.indexOf(e);return -1!==t&&(r.push([t,t+e.length]),!0)}))return[];let i=(0,l.lr)(r);return n.splice(0,n.length),i[0][0]&&n.push({type:"normal",value:t.slice(0,i[0][0])}
1),i.forEach((e,a)=>{let[r,o]=e;return n.push({type:"highlight",value:t.slice(r,o)},{type:"normal",value:t.slice(o,i[a+1]?i[a+1][0]:t.length)})}),n};function m(e,t,n){let l=void 0===n;(0,s.O)(l,e=>e?"useSearch switched from uncontrolled to controlled":"useSearch switched from controlled to uncontrolled");let m=(0,i.T)(t),h=(0,i.T)(()=>{throw Error("useSearch was set up in uncontrolled mode, please manage searchString state externally")});if(l){let[e,t]=(0,o.useState)("");n=e,h=t}let p=(0,o.useMemo)(()=>(function(e,t,n){let i=n||(e=>e),o=t.map(e=>i(e)),s=(0,a.SY)(t.map((t,n)=>{let a=o[n],i={original:t,highlighted:(0,r.Xc)(a,e=>{let[t,n]=e;return[t,[{type:"normal",value:n}]]})};if(e.length){let t=!1;if((0,r.FR)(a).forEach(n=>{let[a,r]=n,o=u(e,r),s=!!o.length;t=t||s,s&&(i={...i,highlighted:{...i.highlighted,[a]:o}})}),!t)return!1}return i}));return{nodes:s,hash:JSON.stringify({searchTerms:e,nodes:s.map(e=>{let{original:t}=e;return(0,r.FR)(i(t)).sort((e,t)=>{let[n]=e,[a]=t;return(0,c.um)(n,a)})})})}})(d(n),e,m),[e,n,m]);return[(0,o.useMemo)(()=>p.nodes,[p.hash,e]),n,h]}function h(e,t,n){let[a,...r]=m(e,e=>({field:t(e)}),n);return[(0,o.useMemo)(()=>a.map(e=>{let{highlighted:t,...n}=e;return{highlighted:t.field,...n}}),[a]),...r]}},65351:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M9.27 4.49c-1.63 7.54 3.75 12.41 7.66 13.8C15.54 19.38 13.81 20 12 20c-4.41 0-8-3.59-8-8 0-3.45 2.2-6.4 5.27-7.51m2.72-2.48C6.4 2.01 2 6.54 2 12c0 5.52 4.48 10 10 10 3.71 0 6.93-2.02 8.66-5.02-7.51-.25-12.09-8.43-8.32-14.97z"}),"BedtimeOutlined")},5330:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"BlockRounded")},45822:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M5 15H3v4c0 1.1.9 2 2 2h4v-2H5zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2zm7 3c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m7-11h-4v2h4v4h2V5c0-1.1-.9-2-2-2m0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2z"}),"CenterFocusWeakOutlined")},57564:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined")},80241:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1zm-4.17-7.14L12 10.59 9.17 7.76 7.76 9.17 10.59 12l-2.83 2.83 1.41 1.41L12 13.41l2.83 2.83 1.41-1.41L13.41 12l2.83-2.83z"}),"DangerousOutlined")},41014:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline")},84295:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1"}),"FilterListRounded")},44583:function(e,t,n){"use strict";var a=n(93540),r=n(24246);t.Z=(0,a.Z)((0,r.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined")},85371:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var a=n(27378),r=n(27794),i=n(82267),o=n(30572),s=n(63019),l=n(15832),c=n(44124),d=n(6749);function u(e){return(0,d.ZP)("MuiListItemAvatar",e)}
1(0,c.Z)("MuiListItemAvatar",["root","alignItemsFlexStart"]);var m=n(24246);let h=e=>{let{alignItems:t,classes:n}=e;return(0,i.Z)({root:["root","flex-start"===t&&"alignItemsFlexStart"]},u,n)},p=(0,s.ZP)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]});var _=a.forwardRef(function(e,t){let n=(0,l.i)({props:e,name:"MuiListItemAvatar"}),{className:i,...s}=n,c=a.useContext(o.Z),d={...n,alignItems:c.alignItems},u=h(d);return(0,m.jsx)(p,{className:(0,r.Z)(u.root,i),ownerState:d,ref:t,...s})})},83925:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(26109),r=n(2184);function i(e,t){(0,r.Z)(2,arguments);var n=(0,a.Z)(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},20835:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(70575),r=n(2184);function i(e){return(0,r.Z)(1,arguments),(0,a.Z)(e).getTime()>Date.now()}},78067:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var a=n(37684),r=n(77518),i=n(2184);function o(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(t);return(0,r.Z)(e,-n)}},14638:function(e){e.exports={content:"Banner_content__30KZ4",big:"Banner_big__zy17c",success:"Banner_success__eiHs2",info:"Banner_info__HYhHj",warning:"Banner_warning__qZq3l",error:"Banner_error__g1kfl",dark:"Banner_dark__Iuavh",closeButton:"Banner_closeButton__CWn94",closable:"Banner_closable__VnRX3",closableContent:"Banner_closableContent__o3dyt"}},1118:function(){},1699:function(e){e.exports={root:"EllipsisTooltip_root__jdW7P"}},52991:function(e){e.exports={root:"PopoverButton_root__0hAPO","root--indicator":"PopoverButton_root--indicator__5w85m",paper:"PopoverButton_paper__4bakq"}},31117:function(e){e.exports={root:"AccountErrors_root__3JkAb",alert:"AccountErrors_alert__lE6qJ"}},36535:function(e){e.exports={account:"AccountListItem_account__xVZUN",avatar:"AccountListItem_avatar__ki8BK",large:"AccountListItem_large___Ukxr",accountName:"AccountListItem_accountName__pEyn1",noMaxWidth:"AccountListItem_noMaxWidth__gjjCl",name:"AccountListItem_name__rYGv2",chips:"AccountListItem_chips__mWSxs",chip:"AccountListItem_chip__vqS_S",mainChip:"AccountListItem_mainChip__2G8oB",errorChip:"AccountListItem_errorChip__bkKag",infoChip:"AccountListItem_infoChip__5XjgX",chipIcon:"AccountListItem_chipIcon__jo0W3",chipLabel:"AccountListItem_chipLabel__JRisG",deleteBtn:"AccountListItem_deleteBtn__3K1M6",confirmTitle:"AccountListItem_confirmTitle__TQ8W5",buttonContainer:"AccountListItem_buttonContainer__KUKUy",useAsMainBtn:"AccountListItem_useAsMainBtn__D1sT6"}},36931:function(e){e.exports={root:"AccountRecovery_root__qDC_9",closeIcon:"AccountRecovery_closeIcon__fRUfe",body:"AccountRecovery_body__RAEcH",title:"AccountRecovery_title__hmHqF",title__sub:"AccountRecovery_title__sub__62kot",accountList:"AccountRecovery_accountList__GQhkC",main:"AccountRecovery_main__8JI5w",addAccountBtn:"AccountRecovery_addAccountBtn__1mty6",addAccountIcon:"AccountRecovery_addAccountIcon__8n7FK",subtext:"AccountRecovery_subtext__8UW_U",modalList:"AccountRecovery_modalList__WND3N",modalAlert:"AccountRecovery_modalAlert__pX7j5",switchBtn:"AccountRecovery_switchBtn__FcsUJ",switchDialog:"AccountRecovery_switchDialog__5nO8R",switchTitle:"AccountRecovery_switchTitle__ZAEH3",closeModal:"AccountRecovery_closeModal__9ytEo",enhance:"AccountRecovery_enhance__MLb9q"}},37967:function(e){e.exports={header:"MigrateToPipelineModal_header__oNE_M",header__icon:"MigrateToPipelineModal_header__icon__6JxKu",buttons:"MigrateToPipelineModal_buttons__F9Oeb",badge:"MigrateToPipelineModal_badge__4mEub"}},29299:function(e){e.exports={content:"AssistantMigrationBanner_content___FZeJ",content__btn:"AssistantMigrationBanner_content__btn__tJ7Za"}},9802:function(e){e.exports={container:"BackgroundAutomationDisabledBanner_container__sXvjg"}},88634:function(e){e.exports={optInContentOverride:"CalendarUIPipelineMigrationBanner_optInContentOverride__GnXyU",optInContentOverride__btn:"CalendarUIPipelineMigrationBanner_optInContentOverride__btn__myHRC",optInContentOverride__betaChip:"CalendarUIPipelineMigrationBanner_optInContentOverride__betaChip__iHhF7",inQueueContentOverride:"CalendarUIPipelineMigrationBanner_inQueueContentOverride__ZWS6i"}},23682:function(e){e.exports={root:"PromoCountdown_root__kZWJt",time0:"PromoCountdown_time0__ZJ28p",time1:"PromoCountdown_time1__ou9ff",time2:"PromoCountdown_time2__RKwAc",digit:"PromoCountdown_digit__Zxr__",colon:"PromoCountdown_colon__084Lh"}},59432:function(e){e.exports={container:"SmartSeriesMigrationBanner_container__MbEPH"}},61030:function(e){e.exports={root:"StartTrialBanner_root__M0Fd1",content:"StartTrialBanner_content__h1mv1",container:"StartTrialBanner_container__pRtI1"}},76048:function(e){e.exports={root:"TrialExpirationBanner_root__udCBo",promoBanner:"TrialExpirationBanner_promoBanner__H1zvw",container:"TrialExpirationBanner_container__krE3X",container_promo:"TrialExpirationBanner_container_promo___u3qO",promo:"TrialExpirationBanner_promo__GIBdM",upgrade:"TrialExpirationBanner_upgrade__P6noV",content:"TrialExpirationBanner_content__pnFor"}},94088:function(e){e.exports={listItem:"DowngradedList_listItem__6wguP"}},71026:function(e){e.exports={root:"OverageList_root__wUDo9",listItem:"OverageList_listItem___I963"}},29574:function(){},77317:function(){},14014:function(){},52066:function(e){e.exports={root:"OverageOMatic_root__UcZXy",accordions:"OverageOMatic_accordions__zn8FA",accordionSummary:"OverageOMatic_accordionSummary__Qlxmo",actionButton:"OverageOMatic_actionButton__UJnlP",actionButton__main:"OverageOMatic_actionButton__main__qjMOR",description:"OverageOMatic_description__d8
1s6z",subDescription:"OverageOMatic_subDescription__4FtmS",mainParagraph:"OverageOMatic_mainParagraph___i4n4",daysRemaining:"OverageOMatic_daysRemaining__yZ9Po"}},39580:function(e){e.exports={emptyState:"RestoreList_emptyState__IdShb",listItem:"RestoreList_listItem__QYlcR",listItem__disabled:"RestoreList_listItem__disabled__Jm_kw",listItem__icon:"RestoreList_listItem__icon__bI2iM",listItem__titleGroup:"RestoreList_listItem__titleGroup__0tWdJ",listItem__root:"RestoreList_listItem__root__CsuFX",listItem__checkbox:"RestoreList_listItem__checkbox__8vPIP",listItem__restoreRow:"RestoreList_listItem__restoreRow__kVbij",listItem__restoreButton:"RestoreList_listItem__restoreButton__kzdPe",listItem__title:"RestoreList_listItem__title__7J1xH",listItem__detailsRoot:"RestoreList_listItem__detailsRoot__5gJDy",listItem__featureList:"RestoreList_listItem__featureList___R4Cg",expandedListItem:"RestoreList_expandedListItem__wKTH3"}},62946:function(e){e.exports={root:"DowngradedModal_root__cCCjH",paper:"DowngradedModal_paper___PINQ",closeBtn:"DowngradedModal_closeBtn__WqJ2V",section:"DowngradedModal_section__7SNHK",overageList:"DowngradedModal_overageList__tvT_d",ctaContainer:"DowngradedModal_ctaContainer__a3LaP",ctaContainer_buttonText:"DowngradedModal_ctaContainer_buttonText__NIivX",ctaContainer__buttons:"DowngradedModal_ctaContainer__buttons__WcnPd",ctaContainer_button:"DowngradedModal_ctaContainer_button__pB7ho",ctaContainer_contactUs:"DowngradedModal_ctaContainer_contactUs__biAp1"}},90164:function(e){e.exports={root:"OverageModal_root__FaEAP",paper:"OverageModal_paper__AZjU2",closeBtn:"OverageModal_closeBtn__haJrJ"}},57982:function(e){e.exports={root:"RestoreModal_root__AL_Gl",paper:"RestoreModal_paper__n_8Fm",closeBtn:"RestoreModal_closeBtn__kyYdk",section:"RestoreModal_section__pWgEv",title:"RestoreModal_title__k9dJ9",overageList:"RestoreModal_overageList__lUSvc",ctaContainer:"RestoreModal_ctaContainer__HaGeV",ctaContainer_buttonText:"RestoreModal_ctaContainer_buttonText__pLX6N",ctaContainer_button:"RestoreModal_ctaContainer_button__8neRl",restoreButton:"RestoreModal_restoreButton__b6SVd"}},17225:function(e){e.exports={root:"DropboxConnectCalendar_root__RS1_i",layout:"DropboxConnectCalendar_layout___JJkr",intro:"DropboxConnectCalendar_intro__mW0pX",intro__description:"DropboxConnectCalendar_intro__description__UoF_D",body:"DropboxConnectCalendar_body__DPcG4",preview:"DropboxConnectCalendar_preview__itdfz",preview__image:"DropboxConnectCalendar_preview__image__GNOT1",details:"DropboxConnectCalendar_details__fVyLW",benefits:"DropboxConnectCalendar_benefits__JNgMC",benefits__item:"DropboxConnectCalendar_benefits__item__9cn5_",benefits__item__icon:"DropboxConnectCalendar_benefits__item__icon__0xEDx",account:"DropboxConnectCalendar_account__CroHB",account__identity:"DropboxConnectCalendar_account__identity__eZxjd",account__identity__email:"DropboxConnectCalendar_account__identity__email____nnj",policy:"DropboxConnectCalendar_policy__WU59N",account__status:"DropboxConnectCalendar_account__status__W8iBL",account__providers:"DropboxConnectCalendar_account__providers__Iagbn",account__providers__button:"DropboxConnectCalendar_account__providers__button__SFoP0"}},76595:function(e){e.exports={modalContentWrapper:"CalendarUILearnMoreModal_modalContentWrapper__fFYRE",imgCont:"CalendarUILearnMoreModal_imgCont__SIjqT",footer:"CalendarUILearnMoreModal_footer__t9NDJ"}},78886:function(e){e.exports={root:"ReclaimTOS_root__R3qa9"}},37798:function(e){e.exports={root:"SchedulingNavMenuButton_root__AIApy"}},46070:function(e){e.exports={root:"SchedulingTopNavPopperContent_root__xyQVF","root--noLinks":"SchedulingTopNavPopperContent_root--noLinks__slF9b",header:"SchedulingTopNavPopperContent_header__iUCjd",skeletonLinkRow:"SchedulingTopNavPopperContent_skeletonLinkRow__sftHs",linkRow:"SchedulingTopNavPopperContent_linkRow__4s_mA",linkRow__button:"SchedulingTopNavPopperContent_linkRow__button__no2N5",copyButton:"SchedulingTopNavPopperContent_copyButton__Lq0Pa",copyButton__defaultIcon:"SchedulingTopNavPopperContent_copyButton__defaultIcon___Olq7"}},41042:function(e){e.exports={paper:"AddAccountButton_paper__hRF_I",menuItem:"AddAccountButton_menuItem__i2Z_D",menuItem__icon:"AddAccountButton_menuItem__icon__xK69K",menuItemContent:"AddAccountButton_menuItemContent__Tx8Bf",menuItemContent__icon:"AddAccountButton_menuItemContent__icon__Gqa_5",menuItemContent__label:"AddAccountButton_menuItemContent__label___UYgv",userIcon:"AddAccountButton_userIcon__yzVLL"}},64472:function(e){e.exports={content:"connect-calendar_content__M_YCN"}},36641:function(e,t,n){"use strict";var a,r,i,o,s,l=n(27378);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var d=l.forwardRef(function(e,t){return l.createElement("svg",c({viewBox:"0 0 309 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),a||(a=l.createElement("path",{d:"M218.642 62.611h5.815c3.72 0 6.757 2.164 6.757 7.073v1.05c0 4.926-2.866 7.155-6.669 7.155h-5.904V62.612h.001zm3.248 2.767v9.707h2.501c2.093 0 3.526-1.392 3.526-4.456v-.792c0-3.063-1.473-4.456-3.635-4.456h-2.392v-.004.001zm11.052.15h2.585l.405 2.873c.493-1.97 1.754-2.979 4.04-2.979h.792v3.279h-1.324c-2.65 0-3.292.92-3.292 3.534v5.657h-3.206V65.528zm8.507 6.447v-.343c0-4.156 2.651-6.385 6.242-6.385 3.592 0 6.221 2.27 6.221 6.385v.343c0 4.071-2.501 6.236-6.221 6.236-3.974 0-6.242-2.164-6.242-6.236zm9.215-.044v-.3c0-2.313-1.156-3.662-2.971-3.662-1.816 0-2.994 1.265-2.994 3.662v.3c0 2.23 1.134 3.472 2.972 3.472s2.994-1.221 2.994-3.472h-.001zm4.936-6.403h2.695l.321 2.358c.663-1.587 2.03-2.636 4.061-2.636 3.143 0 5.196 2.27 5.196 6.428v.344c0 4.07-2.287 6.19-5.196 6.19-1.965 0-3.271-.877-3.933-2.312v6.235H255.6V65.527v.001zm9.021 6.424v-.277c0-2.463-1.262-3.684-2.95-3.684-1.794 0-2.993 1.37-2.993 3.662v.237c0 2.187 1.155 3.557 2.927 3.557 1.773 0 3.016-1.22 3.016-3.495zm7.975 3.69l-.255 2.25h-2.779V61.391h3.144v6.34c.685-1.607 2.052-2.485 3.996-2.485 2.928.022 5.108 2.058 5.108 
16.17v.365c0 4.115-2.052 6.429-5.195 6.429-2.031 0-3.355-.983-4.018-2.57l-.001.001zm5.987-3.861v-.3c0-2.27-1.24-3.512-2.951-3.512-1.71 0-2.993 1.437-2.993 3.557v.255c0 2.313 1.174 3.644 2.949 3.644s2.994-1.199 2.994-3.644h.001zm4.659.194v-.343c0-4.156 2.629-6.385 6.221-6.385 3.591 0 6.242 2.27 6.242 6.385v.343c0 4.071-2.523 6.236-6.242 6.236-3.979 0-6.221-2.164-6.221-6.236zm9.21-.044v-.3c0-2.313-1.155-3.662-2.971-3.662-1.817 0-2.994 1.265-2.994 3.662v.3c0 2.23 1.133 3.472 2.972 3.472 1.838 0 2.993-1.221 2.993-3.472zm7.442-.45l-4.317-5.957h3.697l2.501 3.706 2.523-3.706h3.675l-4.383 5.936 4.616 6.428h-3.635l-2.844-4.094-2.756 4.094h-3.763l4.685-6.407h.001zM171.941 68.126v9.585h-1.879v-9.585h-2.003v-1.444h2.003v-2.47c0-2.26 1.294-3.055 3.34-3.055.417 0 .835.042 1.168.105v1.548a5.322 5.322 0 00-1.022-.083c-1.086 0-1.607.398-1.607 1.716v2.24h2.629v1.443h-2.629zm4.644 9.585V66.682h1.774v2.072h.041c.501-1.151 1.879-2.281 3.486-2.281h.188v1.967h-.355c-1.962 0-3.256 1.13-3.256 3.265v6.006h-1.878zm11.455.272c-3.235 0-4.905-2.344-4.905-5.797 0-3.411 1.878-5.776 4.947-5.776 3.276 0 4.904 2.365 4.904 5.776 0 3.453-1.857 5.797-4.946 5.797zm.021-10.13c-2.004 0-2.985 1.654-2.985 4.333 0 2.7.897 4.331 3.026 4.331 2.046 0 2.943-1.632 2.943-4.331 0-2.679-.876-4.332-2.984-4.332zm7.479 9.858V66.682h1.774v1.862h.042c.501-1.13 1.774-2.134 3.527-2.134 1.67 0 2.922.753 3.319 2.281h.041c.418-1.151 1.775-2.28 3.59-2.28 2.067 0 3.486 1.004 3.486 3.62v7.68h-1.879v-6.823c0-.795 0-1.653-.396-2.197-.376-.523-.981-.711-1.711-.711-2.046 0-2.964 1.318-2.964 3.118v6.613h-1.879v-6.823c0-.795 0-1.632-.396-2.176-.376-.523-.981-.732-1.711-.732-2.046 0-2.964 1.318-2.964 3.076v6.655h-1.879z",fill:"#1E1919"})),r||(r=l.createElement("path",{d:"M78.794 17.92v6.877a6.718 6.718 0 00-2.794-.55c-4.308 0-7.461 3.41-7.461 8.697v15.398h-7.314V17.92h7.314v4.502c1.638-3.043 4.25-4.986 7.584-4.986a7.296 7.296 0 012.67.484zM109.418 34.469H85.282c.549 4.862 4.19 8.154 8.74 8.154a8.888 8.888 0 004.56-1.167 8.914 8.914 0 003.331-3.335l6.188 2.493c-2.429 5.046-7.709 8.33-13.896 8.33-10.138 0-16.325-6.996-16.325-15.817 0-8.822 6.678-15.817 16.142-15.817 8.777 0 15.411 6.328 15.535 15.574l-.138 1.584h-.001zM85.94 29.116h15.593a7.686 7.686 0 00-2.858-4.128 7.652 7.652 0 00-4.792-1.474 8.148 8.148 0 00-4.892 1.49 8.195 8.195 0 00-3.051 4.112zM110.543 33.127c0-9.063 7.218-15.817 16.383-15.817 6.583 0 12.258 3.527 14.746 9.532l-6.583 2.735a8.644 8.644 0 00-3.24-4.024 8.617 8.617 0 00-4.952-1.453c-5.281 0-9.04 3.776-9.04 9.005 0 5.229 3.76 9.005 9.04 9.005a8.617 8.617 0 004.952-1.452 8.644 8.644 0 003.24-4.025l6.583 2.742c-2.488 6.02-8.134 9.532-14.746 9.532-9.201.037-16.383-6.716-16.383-15.78zM143.823 2.711h7.313v45.625h-7.313V2.71zM186.609 17.92v30.416h-7.314v-3.667c-2.311 2.677-5.705 4.252-10.079 4.252-8.191 0-14.986-6.995-14.986-15.817 0-8.821 6.795-15.817 14.986-15.817 4.389 0 7.768 1.584 10.079 4.26v-3.666l7.314.036v.002zm-7.102 15.207c0-1.78-.526-3.521-1.513-5.002a8.99 8.99 0 00-4.03-3.317 8.961 8.961 0 00-9.787 1.948 9.018 9.018 0 001.354 13.853 8.972 8.972 0 004.987 1.522 8.915 8.915 0 006.356-2.627 8.968 8.968 0 002.611-6.377h.022zM295.814 17.92v30.416H288.5v-3.667c-2.311 2.677-5.705 4.252-10.078 4.252-8.191 0-14.986-6.995-14.986-15.817 0-8.821 6.795-15.817 14.986-15.817 4.388 0 7.767 1.584 10.078 4.26v-3.666l7.314.036v.002zm-7.101 15.207a9.02 9.02 0 00-1.514-5.002 8.964 8.964 0 00-13.816-1.369 9.01 9.01 0 00-2.46 4.609 9.027 9.027 0 00.509 5.202 8.987 8.987 0 0011.732 4.888 8.95 8.95 0 004.858-4.878 8.971 8.971 0 00.669-3.45h.022zM190.888 6.48a4.412 4.412 0 01.7-2.466 4.39 4.39 0 014.494-1.94 4.388 4.388 0 013.491 3.437 4.402 4.402 0 01-1.851 4.54 4.382 4.382 0 01-5.522-.513 4.412 4.412 0 01-1.314-3.06l.002.002zm.665 11.44h7.315v30.416h-7.315V17.919zM300.093 6.48a4.42 4.42 0 01.701-2.466 4.385 4.385 0 016.761-.754 4.411 4.411 0 01.987 4.803 4.396 4.396 0 01-1.615 1.988 4.376 4.376 0 01-5.522-.513 4.407 4.407 0 01-1.313-3.06l.001.002zm.666 11.44h7.314v30.416h-7.314V17.919zM247.315 29.05v19.285h-7.314V29.599a5.287 5.287 0 00-.361-2.11 5.282 5.282 0 00-5.043-3.368c-3.218 0-5.34 2.56-5.34 5.72v18.493h-7.314V29.598a5.294 5.294 0 00-3.296-5.093 5.27 5.27 0 00-2.101-.384c-3.277 0-5.339 2.56-5.339 5.72v18.493h-7.314V17.917h7.314v2.985a9.425 9.425 0 017.277-3.593c1.711.041 3.386.494 4.885 1.319 1.5.825 2.779 2 3.732 3.425a10.672 10.672 0 018.981-4.744c6.4 0 11.235 5.17 11.235 11.74h-.002zM253.239 42.02a4.42 4.42 0 00-.701 2.466h-.001a4.408 4.408 0 001.314 3.059 4.385 4.385 0 005.522.513 4.4 4.4 0 001.85-4.54 4.387 4.387 0 00-3.491-3.436 4.386 4.386 0 00-4.493 1.938zM35.407 23.895c5.926 0 10.73-4.816 10.73-10.757 0-5.94-4.804-10.757-10.73-10.757-5.925 0-10.73 4.817-10.73 10.757 0 5.94 4.805 10.757 10.73 10.757z",fill:"#171D26"})),i||(i=l.createElement("path",{d:"M21.467 2.337H0v21.522h21.467V2.337z",fill:"#EE9AB2"})),o||(o=l.createElement("path",{d:"M35.407 28.45l5.603 9.935 5.603 9.944H24.21l5.595-9.944 5.602-9.936z",fill:"#FFC550"})),s||(s=l.createElement("path",{d:"M10.73 48.481c5.925 0 10.729-4.816 10.729-10.757 0-5.94-4.804-10.756-10.73-10.756C4.804 26.968 0 31.784 0 37.724c0 5.941 4.804 10.758 10.73 10.758z",fill:"#5263F3"})))});t.Z=d},23545:function(e,t,n){var a=n(97141),r=n(72889);e.exports=function e(t,n,i,o,s){var l=-1,c=t.length;for(i||(i=r),s||(s=[]);++l<c;){var d=t[l];n>0&&i(d)?n>1?e(d,n-1,i,o,s):a(s,d):o||(s[s.length]=d)}return s}},79867:function(e,t,n){var a=n(76747),r=n(37948);e.exports=function(e,t){t=a(t,e);for(var n=0,i=t.length;null!=e&&n<i;)e=e[r(t[n++])];return n&&n==i?e:void 0}},75733:function(e){e.exports=function(e,t,n){var a=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++a<r;)i[a]=e[a+t];return i}},70830:function(e,t,n){var a=n(76747),r=n(31159),i=n(64373),o=n(37948),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){t=a(t,e);var n=-1,l=t.length;if(!l)return!0;for(;++n<l;){var c=o(t[n]);if("__proto__"===c&&!s.call(e,"__proto__")||("constructor"===c||"prototype"===c)&&n<l-1)return!1}var d=i(e,t);return null==d||delete d[o(r(t))]}},97820:function(e,t,n){var a=n(40861);e.exports=function(e){return a(e)?void 0:e}},24288:function(e,t,n){var a=n(89754),r=n(11871),i=n(63132);e.exports=function(e){return i(r(e,void 0,a),e+"")}},72889:function(e,t,n){var a=n(96539),r=n(2900),i=n(19785),o=a?a.isConcatSpreadable:void 0;
1e.exports=function(e){return i(e)||r(e)||!!(o&&e&&e[o])}},64373:function(e,t,n){var a=n(79867),r=n(75733);e.exports=function(e,t){return t.length<2?e:a(e,r(t,0,-1))}},89754:function(e,t,n){var a=n(23545);e.exports=function(e){return(null==e?0:e.length)?a(e,1):[]}},31159:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},48159:function(e,t,n){var a=n(66070),r=n(40699),i=n(70830),o=n(76747),s=n(35159),l=n(97820),c=n(24288),d=n(39759),u=c(function(e,t){var n={};if(null==e)return n;var c=!1;t=a(t,function(t){return t=o(t,e),c||(c=t.length>1),t}),s(e,d(e),n),c&&(n=r(n,7,l));for(var u=t.length;u--;)i(n,t[u]);return n});e.exports=u}},function(e){e.O(0,[9923,8017,2045,4564,3493,7916,2395,5240,714,3004,6436,2209,7788,1282,2888,9774,179],function(){return e(e.s=8155)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.