PageSourceSearch

https://archieapp.co/_next/static/chunks/pages/[spaceDomain]/accou…/integrations-98fdd269caa80948.js

js archieapp.co collected 2026-09-24 10:00:45 UTC 20,244 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1adf32ff-8587-42fe-8499-e868ce8f2405",e._sentryDebugIdIdentifier="sentry-dbid-1adf32ff-8587-42fe-8499-e868ce8f2405")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10639,91086],{8765:(e,t,o)=>{"use strict";o.d(t,{Q:()=>n});let n={BOOKING:"booking",VISIT:"visit"}},21416:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(90170),r=o(24789);let i={getForUser:e=>(t,o,r)=>new Promise((i,s)=>(t(n.Ay.delegatesGetForUserRequest()),r.get(`${e.href}/delegates`,{headers:{spaceUUIDOrDomain:o().spaces.spaceUUIDSelected},cache:{ttl:18e5}}).then(({data:o})=>{t(n.Ay.delegatesGetForUserSuccess(e.uuid,o)),i(o)}).catch(e=>{t(n.Ay.delegatesGetForUserFailure(e)),s(e)}))),getDelegatedForMe:(e,t)=>(o,n,i)=>new Promise((s,a)=>(o(r.Ay.getDelegatedUsersRequest({view:e})),i.get("/api/me/delegates/mine",{params:{type:t},headers:{spaceUUIDOrDomain:n().spaces.spaceUUIDSelected},cache:{ttl:18e5}}).then(({data:n})=>{o(r.Ay.getDelegatedUsersSuccess({users:n,delegateType:t},{view:e})),s(n)}).catch(t=>{o(r.Ay.getDelegatedUsersFailure(t,{view:e})),a(t)}))),create:(e,t,o)=>(r,i,s)=>new Promise((a,c)=>(r(n.Ay.delegatesAddForUserRequest()),s.post(`${e.href}/delegates`,null,{headers:{spaceUUIDOrDomain:i().spaces.spaceUUIDSelected},params:{delegateToUUID:t,type:o}}).then(({data:t})=>{r(n.Ay.delegatesAddForUserSuccess(e.uuid,t)),a(t)}).catch(e=>{r(n.Ay.delegatesAddForUserFailure(e)),c(e)}))),remove:e=>(t,o,r)=>new Promise((i,s)=>(t(n.Ay.delegatesDeleteForUserRequest()),r.delete(e.href,{headers:{spaceUUIDOrDomain:o().spaces.spaceUUIDSelected}}).then(({data:o})=>{t(n.Ay.delegatesDeleteForUserSuccess(e.uuid)),i(o)}).catch(e=>{t(n.Ay.delegatesDeleteForUserFailure(e)),s(e)})))}},33273:(e,t,o)=>{"use strict";o.d(t,{A:()=>L});var n=o(14836),r=o(49336),i=o(4492),s=o(97215);let a=i.default.div.withConfig({componentId:"sc-c7371dc9-0"})(["margin:",";width:400px;display:flex;flex-direction:column;position:relative;border-radius:16px;filter:blur(0px);overflow:hidden;border:1px solid ",";background-image:linear-gradient( 30deg,"," 80%,"," );"],e=>e.margin||0,e=>!e.isLoading&&(e.hasError||e.hasConfigurationIssues)?e.theme.color.orange:!e.isLoading&&e.isConnected?e.theme.color.green:e.theme.color.grayLighter,e=>e.theme.color.white,e=>(0,s.No)(.7,e.hasError||e.hasConfigurationIssues?e.theme.color.orange:e.color)),c=i.default.div.withConfig({componentId:"sc-c7371dc9-1"})(["display:flex;flex-direction:column;height:200px;width:100%;padding:32px 16px;backdrop-filter:blur(100px);"]),l=i.default.div.withConfig({componentId:"sc-c7371dc9-2"})(["display:flex;justify-content:space-between;align-items:center;"]),d=i.default.div.withConfig({componentId:"sc-c7371dc9-3"})(["display:flex;flex-direction:column;"]),p=i.default.div.withConfig({componentId:"sc-c7371dc9-4"})(["display:flex;"]),u=i.default.img.withConfig({componentId:"sc-c7371dc9-5"})(["max-height:50px;width:auto;max-width:100px;"]),h=i.default.div.withConfig({componentId:"sc-c7371dc9-6"})(["padding-top:32px;display:block;display:-webkit-box;max-width:400px;height:calc(32px + 1em * 1em * 2);-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"]),g=i.default.div.withConfig({componentId:"sc-c7371dc9-7"})(["display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 16px;border-top:1px solid ",";"],e=>e.theme.color.grayLighter),f=i.default.div.withConfig({componentId:"sc-c7371dc9-8"})(["background:",";position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:16px;z-index:10;"],e=>e.theme.overlay.white80);var m=o(74635),x=o.n(m),y=o(85838),w=o(36287),b=o.n(w),I=o(49597),C=o(73660),v=o(26374),A=o(80834),S=o(59160),U=o(38809),O=o(68190),D=o(31008),j=o(25041),_=o(37889),k=o(53394);class E extends r.Component{render(){let{i18n:e,isConnected:t,isLoading:o,hasError:r,hasConfigurationIssues:i,name:s,margin:m,isUserIntegration:x,profileDisplayName:y}=this.props,w=v.P9[s],b=x?e.t(w.user_description):e.t(w.description);return(0,n.jsxs)(a,{margin:m,isConnected:t,isLoading:o,hasError:r,hasConfigurationIssues:i,color:w.color,children:[(0,n.jsxs)(c,{children:[(0,n.jsxs)(l,{children:[(0,n.jsxs)(d,{children:[(0,n.jsx)(A.H2,{children:w.name}),(0,n.jsx)("a",{href:w.url,target:"_blank",children:(0,n.jsxs)(A.mH,{children:[(0,n.jsx)(A.nB,{children:w.display_url}),(0,n.jsx)(S.A,{id:U.T7.EXTERNAL_LINK,height:14,width:14,color:"black",margin:"0 0 0 4px",strokeWidth:1.5})]})})]}),(0,n.jsx)(p,{children:(0,n.jsx)(u,{src:w.logo})})]}),(0,n.jsx)(h,{title:b,children:b})]}),x?(0,n.jsxs)(g,{children:[t?(0,n.jsx)(j.Ay,{component:(0,n.jsx)(I.jn,{color:"black",background:"white",leftIcon:{id:U.T7.MORE_HORIZONTAL,colorHover:"brand.primaryColor",strokeWidth:2}}),children:(0,n.jsx)(_.A,{icon:{id:U.T7.DISCONNECT},color:"red",onClick:()=>this.props.onDisconnectUserIntegration?.(w.oauth_provider,s),children:e.t("components.cards.integration.disconnect-user-integration")})}):(0,n.jsx)(I.tA,{onClick:()=>this.props.onConnectUserIntegration?.(w.oauth_provider),children:e.t("components.cards.integration.connect-user-integration")}),t&&!o&&(r?(0,n.jsx)(C.Dc,{children:e.t("components.cards.integration.has-error")}):(0,n.jsx)(C.ue,{children:e.t("components.cards.integration.user-integration.connected",{displayName:y})}))]}):(0,n.jsxs)(g,{children:[(0,n.jsx)(I.tA,{onClick:this.openIntegration,children:e.t("components.cards.integration.view-integration")}),t&&!o&&(r?(0,n.jsx)(C.Dc,{children:e.t("components.cards.integration.has-error")}):i?(0,n.jsx)(C.Dc,{children:e.t("components.cards.integration.configuration-issues")}):(0,n.jsx)(C.ue,{children:e.t("components.cards.integration.connected")}))]}),o&&(0,n.jsx)(f,{children:(0,n.jsx)(k.a,{})})]})}constructor(...e){super(...e),this.openIntegration=()=>{let{router:e,name:t}=this.props,o=v.P9[t],n=(0,D.fB)(o.page,{spaceDomain:e.query.spaceDomain});b().push(n)}}}E.propTypes={margin:x().string,name:x().string.isRequired,isConnected:x().bool.isRequired,isLoading:x().bool,hasError:x().bool,hasConfigurationIssues:x().bool,isUserIntegration:x().bool,onConnectUserIntegration:x().func,onDisconnectUserIntegration:x().func,profileDisplayName:x().string};let L=(0,O.Zz)(w.withRouter,y.A)(E)},44123:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[spaceDomain]/account/[entityType]/[entityUUID]/integrations",function(){return o(97784)}])},45907:e=>{var t="u">typeof Element,o="function"==typeof Map,n="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;
1e.exports=function(e,i){try{return function e(i,s){if(i===s)return!0;if(i&&s&&"object"==typeof i&&"object"==typeof s){var a,c,l,d;if(i.constructor!==s.constructor)return!1;if(Array.isArray(i)){if((a=i.length)!=s.length)return!1;for(c=a;0!=c--;)if(!e(i[c],s[c]))return!1;return!0}if(o&&i instanceof Map&&s instanceof Map){if(i.size!==s.size)return!1;for(d=i.entries();!(c=d.next()).done;)if(!s.has(c.value[0]))return!1;for(d=i.entries();!(c=d.next()).done;)if(!e(c.value[1],s.get(c.value[0])))return!1;return!0}if(n&&i instanceof Set&&s instanceof Set){if(i.size!==s.size)return!1;for(d=i.entries();!(c=d.next()).done;)if(!s.has(c.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(s)){if((a=i.length)!=s.length)return!1;for(c=a;0!=c--;)if(i[c]!==s[c])return!1;return!0}if(i.constructor===RegExp)return i.source===s.source&&i.flags===s.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof s.valueOf)return i.valueOf()===s.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof s.toString)return i.toString()===s.toString();if((a=(l=Object.keys(i)).length)!==Object.keys(s).length)return!1;for(c=a;0!=c--;)if(!Object.prototype.hasOwnProperty.call(s,l[c]))return!1;if(t&&i instanceof Element)return!1;for(c=a;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!i.$$typeof)&&!e(i[l[c]],s[l[c]]))return!1;return!0}return i!=i&&s!=s}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},53394:(e,t,o)=>{"use strict";o.d(t,{Y:()=>r.A,a:()=>n.A});var n=o(8868),r=o(90832)},73660:(e,t,o)=>{"use strict";o.d(t,{Bu:()=>l,Dc:()=>h,Ew:()=>x,ah:()=>f,iL:()=>d,kI:()=>m,qA:()=>c,qc:()=>g,uP:()=>p,ue:()=>u});var n=o(4492),r=o(97215),i=o(66858),s=o(35787);let a=n.default.span.withConfig({componentId:"sc-c0243b87-0"})(["height:","px;padding:",";vertical-align:middle;font-size:","em;font-family:",";font-weight:700;line-height:26px;margin:",";text-transform:",";cursor:",";position:",";top:",";left:",";right:",";bottom:",";border-radius:4px;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;align-self:",";span svg{margin:",";height:16px;width:16px;vertical-align:middle;}use{stroke:currentColor;}"],e=>e.height||24,e=>e.padding||"0 10px",e=>e.theme.fontSize.smallSize,e=>e.theme.font,e=>e.margin||0,e=>e.textTransform||"none",e=>e.cursor||(e.onClick?"pointer":"default"),e=>e.position||"initial",e=>e.top||"initial",e=>e.left||"initial",e=>e.right||"initial",e=>e.bottom||"initial",e=>e.alignSelf||"unset",e=>e.iconMargin||"0 4px 0 0"),c=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-1"})(["color:",";background:",";backdrop-filter:blur(4px);"],e=>e.theme.color.white,e=>(0,r.No)(.5,e.theme.color.black)),l=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-2"})(["color:",";background:",";"],e=>(0,i.HQ)(e.theme.brand.primaryColor),e=>e.theme.brand.primaryColor);(0,n.default)(a).withConfig({componentId:"sc-c0243b87-3"})(["color:",";background:",";"],e=>e.theme.color.white,e=>(0,i.H)(e.theme.brand.primaryColor,e.theme.color.white));let d=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-4"})(["color:",";background:",";"],e=>e.theme.color.black,e=>(0,i.H)(e.theme.color.grayLighter,e.theme.color.white)),p=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-5"})(["color:",";background:",";"],e=>(0,s.r)(e.theme,(0,i.H)(e.theme.brand.primaryColorLighten,e.theme.color.white),e.theme.brand.primaryColor),e=>(0,i.H)(e.theme.brand.primaryColorLighten,e.theme.color.white)),u=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-6"})(["color:",";background:",";"],e=>e.theme.color.green,e=>(0,i.H)(e.theme.color.greenLighter,e.theme.color.white)),h=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-7"})(["color:",";background:",";"],e=>e.theme.color.orange,e=>(0,i.H)(e.theme.color.orangeLight,e.theme.color.white)),g=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-8"})(["color:",";background:",";"],e=>e.theme.color.red,e=>(0,i.H)(e.theme.color.redLight,e.theme.color.white)),f=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-9"})(["color:",";background:",";"],e=>e.theme.color.black,e=>(0,i.H)(e.theme.color.white,e.theme.color.white)),m=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-10"})(["background:",";height:",";width:",";"],e=>e.backgroundColor||"transparent",e=>e.height||"24px",e=>e.width||"24px"),x=(0,n.default)(a).withConfig({componentId:"sc-c0243b87-11"})(["color:",";background:",";"],e=>e.theme.color.black,e=>(0,i.H)(e.backgroundColor||e.theme.color.grayLighter,e.theme.color.white))},79133:(e,t,o)=>{"use strict";o.d(t,{A:()=>G});var n=o(14836),r=o(49336),i=o(80096),s=o(45907),a=o.n(s),c=o(56672),l=o(4492);let d=l.default.div.withConfig({componentId:"sc-23d9be18-0"})(["padding:0 8px 0 24px;margin-top:16px;min-height:56px;display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;"]),p=l.default.div.withConfig({componentId:"sc-23d9be18-1"})(["margin:",";border-bottom:1px solid ",";"],e=>e.margin||"0 8px 0 24px",e=>e.theme.color.grayLight),u=l.default.div.withConfig({componentId:"sc-23d9be18-2"})(["display:flex;align-items:center;justify-content:center;padding:16px 0 16px 0;margin:0 16px 0 0;cursor:pointer;height:",";transform:translateY(1px);border-bottom:",";"],e=>e.selected?"calc(100% - 1px)":"100%",e=>e.selected?`1px solid ${e.theme.color.black}`:"none");var h=o(74635),g=o.n(h),f=o(84668),m=o(23236),x=o(91997),y=o(90832),w=o(68190),b=o(36287),I=o.n(b),C=o(40883),v=o(97498),A=o(80834),S=o(21416),U=o(92416),O=o(77224),D=o(8765),j=o(33443),_=o(10535),k=o(31008),E=o(52297),L=o(55411),P=o(96736);let N=E.TI.MY_DELEGATES,G=({hideTabs:e=!1,showSpaceDropdown:t=!1})=>o=>{class s extends r.Component{componentDidMount(){this.props.spaceSelected&&this.props.getAllEntities(D.Q.BOOKING).then(()=>{this.setState({fetching:!1})})}UNSAFE_componentWillReceiveProps(e){let{me:t,router:o}=e,{query:n}=o;t&&n.entityType===C.wv.USER&&t.uuid!==n.entityUUID&&o.route!==O.PAGES.PERSONAL_BOOKINGS&&this.handleSelectEntity(o.route,C.wv.USER,t.uuid),(!this.props.spaceSelected&&e.spaceSelected||this.props.spaceSelected.domain!==e.spaceSelected.domain)&&this.props.getAllEntities(D.Q.BOOKING)}shouldComponentUpdate(e,t,o){return!a()(this.state,t)||!a()(this.props.router.query,e.router.query)||!a()(this.props.spaceSelected,e.spaceSelected)}handleSelectEntity(e,t,o){let n=(0,k.dH)(this.props.router.asPath),r=L.XG.map(e=>e.items).flat().find(e=>e.routeName===n||e.submenus?.some(e=>e.routeName===n));if(t===C.wv.GROUP){let e=this.props.myGroups.find(e=>e.uuid===o);(!e||r.groupRole&&r.groupRole!==e.role)&&(n=O.PAGES.PERSONAL_GENERAL)}let i=(0,k.fB)(n,{spaceDomain:this.props.router.query.spaceDomain,entityType:t,entityUUID:o});I().replace(i,null,{shallow:!0})}renderAvailableUsers(){let{i18n:e,router:t,me:o,myBookingDelegates:r,myGroups:i}=this.props,{entityUUID:s}=this.props.router.query,a=t.route;if(r.length>0&&a===O.PAGES.PERSONAL_BOOKINGS)return(0,n.jsx)(U.A,{inputProps:{placeholder:e.t("components.flow-form.flow-form-templates.conference-room.steps.customization.customization-template.select-customization-placeholder"),width:"100%",hideBackgroun
1d:!0},value:s,onSelect:e=>{this.handleSelectEntity(a,C.wv.USER,e)},groupElements:[{primaryKey:"fullname",valueKey:"uuid",items:[o].concat(r)}]});{let e=[];return i.map(t=>{e.push({name:t.name,type:C.wv.GROUP,uuid:t.uuid})}),e.push({name:o.fullname,type:C.wv.USER,uuid:o.uuid}),e.map(e=>(0,n.jsx)(u,{selected:s===e.uuid,onClick:()=>{this.handleSelectEntity(a,e.type,e.uuid)},children:e.name},e.uuid))}}render(){let{spaceSelected:r,spaces:i}=this.props,{fetching:s,rightComponent:a,sentenceStart:c}=this.state;return r&&!s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d,{children:[(0,n.jsx)(f.A,{spaces:i,spaceSelected:r,onSpaceChange:this.handleSpaceChange,withSpacesDropdown:t,sentenceStart:c}),a]}),!e&&(0,n.jsx)(p,{margin:t&&"16px 8px 0 24px",children:(0,n.jsx)(A.mH,{children:this.renderAvailableUsers()})}),(0,n.jsx)(o,{...this.props,onLoadComponent:this.initializeWithConfig})]}):(0,n.jsx)(y.A,{})}constructor(...e){super(...e),this.state={rightComponent:null,sentenceStart:"",fetching:!0},this.initializeWithConfig=({rightComponent:e,sentenceStart:t})=>{this.setState({sentenceStart:t||this.state.sentenceStart,rightComponent:e||this.state.rightComponent})},this.handleSpaceChange=e=>{P.A.set((0,w.jL)("spaceUUIDOrDomain"),e.domain,{path:"/",domain:(0,w.fx)(e.custom_domain),sameSite:"none",secure:!0}),this.props.setSpace(e)}}}return s.propTypes={onSpaceChange:g().func,me:g().object,spaceSelected:g().object,spaces:g().array},(0,w.Zz)(b.withRouter,(0,i.Ng)(e=>{let t=(0,c.OZ)(e.users.me),o=(0,m.AK)(e.spaces.entities,{UUID:e.spaces.spaceUUIDSelected});return{spaces:(0,m.JW)(e.spaces.entities),spaceSelected:o,me:t,myGroups:(0,v.Dk)({entities:e.groups.myGroups}),myBookingDelegates:(0,c.tA)({entities:e.users.entities,view:e.users.views[N]},{type:D.Q.BOOKING})}},e=>({getAllEntities:t=>Promise.all([e(_.A.getMe()),e(x.A.getMyGroups()),e(S.A.getDelegatedForMe(N,t))]),setSpace:t=>e(j.A.set(t))})))(s)}},97498:(e,t,o)=>{"use strict";o.d(t,{AK:()=>a,Dk:()=>d,JW:()=>s,Xk:()=>p,a6:()=>c,w:()=>l});var n=o(18534),r=o(56434),i=o(82103);let s=(0,n.Mz)(r.eu,({array:e,archived:t=!1})=>e.filter(e=>!t&&!e._.archived||t).map(e=>({...e._}))),a=(0,n.Mz)(r.eu,({array:e,groupUUID:t})=>{let o=e.find(e=>e._.uuid===t);return o?o._:null}),c=(0,n.Mz)(r.eu,({array:e,spaceUUID:t})=>e.filter(e=>!t||e.relations.space_uuid===t).map(e=>e._)),l=(0,n.Mz)(r.eu,({array:e,groupUUID:t})=>{let o=e.find(e=>e._.uuid===t);return o?.additional?.summary?{...o.additional.summary}:null}),d=(0,n.Mz)(r.eu,({array:e})=>e.map(e=>({...e._})));(0,n.Mz)(r.eu,({array:e,groupUUID:t})=>{let o=e.find(e=>e._.uuid===t);return o?o._:null}),(0,n.Mz)(r.eu,({array:e,spaceUUID:t})=>e.filter(e=>e.relations.space_uuid===t&&e._.role===i.gg.MANAGER).map(e=>({...e._})));let p=(0,n.Mz)(r.eu,({array:e,spaceUUID:t})=>e.filter(e=>e.relations.space_uuid===t).map(e=>e._))},97784:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>S});var n=o(14836),r=o(49336),i=o(74635),s=o.n(i),a=o(79133),c=o(68190),l=o(85838),d=o(80096),p=o(4492);let u=p.default.div.withConfig({componentId:"sc-215c7856-0"})(["display:flex;flex-direction:row;min-width:","px;width:100%;padding:0 24px;margin:16px 0 0 0;overflow-y:auto;overflow-x:hidden;flex-wrap:wrap;"],e=>e.theme.mediaQuery.landscapeTablet);p.default.img.withConfig({componentId:"sc-215c7856-1"})(["width:80px;margin-bottom:24px;"]),p.default.div.withConfig({componentId:"sc-215c7856-2"})(["width:calc(100% - 32px);border-top:1px solid ",";margin-bottom:40px;"],e=>e.theme.color.grayLight);var h=o(56672),g=o(91024),f=o(96748),m=o(10535),x=o(33273),y=o(26374),w=o(99153),b=o(17949),I=o(79871);class C extends r.Component{componentDidMount(){this.props.getProfiles([f.xq.GOOGLE,f.xq.OFFICE_365,f.xq.ZOOM]).finally(()=>{this.setState({isLoading:!1})})}render(){let{spaceSelected:e}=this.props;return(0,n.jsx)(u,{children:y.wf.filter(t=>e.user_integrations_enabled.includes(y.P9[t].oauth_provider)).map((e,t)=>this.renderIntegrationCard(e,t))})}constructor(...e){super(...e),this.state={isLoading:!0},this.handleConnect=e=>{this.props.connectAccount(e).then(({data:e})=>{window.location.href=e})},this.handleDisconnect=(e,t)=>
1{let{i18n:o}=this.props,n=y.P9[t];this.props.openDialog({title:o.t("pages.account.integrations.user-integration.disconnect-dialog.title",{providerName:n.name}),confirmAction:{callback:()=>{this.setState({isLoading:!0}),this.props.disconnectAccount(e).then(()=>{b.oR.success(o.t("pages.account.integrations.user-integration.disconnect-dialog.success",{providerName:n.name})),this.props.getMe()}).finally(()=>{this.setState({isLoading:!1})})}}})},this.getIntegrationProfile=e=>{let{googleProfile:t,office365Profile:o,zoomProfile:n}=this.props;switch(e){case y.o4.GOOGLE:return t;case y.o4.OFFICE_365:return o;case y.o4.ZOOM:return n;default:return null}},this.renderIntegrationCard=(e,t)=>{let{me:o}=this.props,{isLoading:r}=this.state,i=this.getIntegrationProfile(e),s=!!o&&(0,I.in)(o,e);return(0,n.jsx)(x.A,{margin:"0 24px 24px 0",name:e,isConnected:s,isLoading:r,hasError:s&&!r&&!i,isUserIntegration:!0,onConnectUserIntegration:this.handleConnect,onDisconnectUserIntegration:this.handleDisconnect,profileDisplayName:i?.profile_name},t)}}}C.contextType=g.x,C.propTypes={spaceSelected:s().object,me:s().object};let v=(0,c.Zz)(l.A,(0,d.Ng)(e=>({me:(0,h.OZ)(e.users.me),googleProfile:(0,h.te)(e.users.me,{provider:f.xq.GOOGLE}),office365Profile:(0,h.te)(e.users.me,{provider:f.xq.OFFICE_365}),zoomProfile:(0,h.te)(e.users.me,{provider:f.xq.ZOOM})}),e=>({getProfiles:t=>Promise.all(t.map(t=>e(m.A.getOauthProvider(t)).catch(()=>null))),getMe:()=>e(m.A.getMe()),connectAccount:t=>e(m.A.connectOauthProvider(t)),disconnectAccount:t=>e(m.A.disconnectOauthProvider(t)),openDialog:t=>e(w.A.push(t))})))(C);class A extends r.Component{componentDidMount(){let{i18n:e}=this.props;this.props.onLoadComponent({sentenceStart:e.t("pages.account.integrations.nav-title-integrations")})}render(){let{spaceSelected:e,me:t,router:o}=this.props;return(0,n.jsx)(v,{spaceSelected:e,me:t,router:o})}}A.propTypes={entityType:s().string,entityUUID:s().string,entity:s().string};let S=(0,c.Zz)(l.A,(0,a.A)({hideTabs:!0}))(A)}},e=>{e.O(0,[95871,35420,14320,32832,34940,78506,92416,9042,75837,25041,84668,90636,46593,38792],()=>e(e.s=44123)),_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.