1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7ecc1663-a2e1-4ec7-88cc-35edd2d17225",e._sentryDebugIdIdentifier="sentry-dbid-7ecc1663-a2e1-4ec7-88cc-35edd2d17225")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6634],{14788:(e,l,s)=>{s.d(l,{oe:()=>_,X$:()=>E,Rv:()=>h,RB:()=>R});var t=s(31046),n=s(91951),r=s(93834),i=s(39382),a=s(88499);let d=e=>({activationType:l,maxActivations:s})=>l===e&&s>0;var o=s(75827);let c=(e,l)=>null!=e&&null!=l&&e.length===l.length&&e.every((e,s)=>e===l[s]),p=(e,l=c)=>{let s,t=null;return(...n)=>(l(t,n)||(t=n,s=e(...n)),s)};var u=s(67948);p(e=>(({entitlementsPage:e})=>e.entitlements)(e).map(a.Rp));let h=p(({activeEntitlements:e,maxEntitlements:l})=>l-e);p(({grantingStatus:{current:e,limit:l}})=>l-e),p(({expirationDate:e})=>0>(0,i.z)(new Date,new Date(e)));let m=p(({allowedActivationTypes:e})=>e.some(d(o.Yc))),y=p(e=>m(e)||(({entitlementsPage:e})=>e.entitlements)(e).length>0),v=p(({allowedActivationTypes:e})=>e.some(d(o.QL))),g=p(e=>v(e)||(({nodeLockedEntitlementsPage:e})=>e.entitlements)(e).length>0),A=p(({allowedActivationTypes:e})=>e.some(d(o.QE))),N=p(e=>A(e)||(({serverBasedEntitlementsPage:e})=>e.entitlements)(e).length>0),f=p(({maxEntitlements:e,entitlementsPage:l,nodeLockedEntitlementsPage:s,serverBasedEntitlementsPage:t,grantingStatus:n})=>l.totalCount+s.totalCount+t.totalCount>=e?"ELIMIT_MAX_ENTITLEMENTS":n?.current>=n?.limit?"ELIMIT_GRANTING":null),x=p(({grantingStatus:e})=>e?.bypass?.node??!1),T=p(({grantingStatus:e})=>e?.bypass?.server??!1),E=e=>({...e,nodeLockedEntitlements:(({nodeLockedEntitlementsPage:e})=>e.entitlements)(e).map(a.X$),userBasedEntitlements:(({entitlementsPage:e})=>e.entitlements)(e).map(a.X$),serverBasedEntitlements:(({serverBasedEntitlementsPage:e})=>e.entitlements)(e),isUserBasedAllowed:m(e),shouldDisplayUserBased:y(e),isNodeLockedAllowed:v(e),shouldDisplayNodeLocked:g(e),isServerBasedAllowed:A(e),shouldDisplayServerBased:N(e),newEntitlementStatus:f(e),matchedEntitlements:(({entitlementsPage:e})=>e.totalCount)(e),bypassNode:x(e),bypassServer:T(e)}),R=e=>({...e,isUserBasedAllowed:m(e),shouldDisplayUserBased:y(e),isNodeLockedAllowed:v(e),shouldDisplayNodeLocked:g(e),isServerBasedAllowed:A(e),shouldDisplayServerBased:N(e)}),_=e=>{let[l,s]=(0,u.r)(e,n.TF),i=l.filter((0,n.AU)((0,r.A)())).filter((0,r.A)());return i.length>0||s.length>0?(0,t.MN)({errorCode:"EINVALID_EMAIL",invalid:s,duplicates:i}):(0,t.xe)(l)}},31169:(e,l,s)=>{s.d(l,{A:()=>c});var t=s(37876);s(14232);var n=s(95062),r=s(25342),i=s(44701);let a=({children:e,className:l="",...s})=>(0,t.jsx)(r.fI,{px:!0,className:(0,i.L)(l),...s,children:e});a.propTypes={className:n.string,children:n.node.isRequired};let d=({children:e,className:l="",...s})=>(0,t.jsx)(r.fv,{auto:!0,md:"auto",className:(0,i.L)(l),...s,children:e});d.propTypes={className:n.string,children:n.node.isRequired};let o=({children:e,isFieldLabel:l=!0,className:s="",...n})=>(0,t.jsxs)(r.fv,{shrink:!0,md:"auto",className:(0,i.L)(s),...n,children:[l&&(0,t.jsx)("div",{className:"field__label--empty"}),e]});o.propTypes={className:n.string,isFieldLabel:n.bool,children:n.node.isRequired},a.Field=d,a.Button=o;let c=a},34569:(e,l,s)=>{s.d(l,{A:()=>a});var t=s(90028),n=s(37638),r=s(81425),i=s(3070);let a=function(e,l){let[s,{error:a,result:d,reset:o}]=(0,i.A)((0,n.Xt)(e)),[c,p]=(0,t.Ay)(s,l);return[(0,r.A)(c),{error:a,result:d,isLoading:p,reset:o}]}},38697:(e,l,s)=>{s.d(l,{X:()=>n,e:()=>i});var t=s(39382);let n=e=>{let l;return{...e,nextReleaseDate:null!=(l=e.nextReleaseDate)?new Date(l):l,left:(({max:e,current:l})=>Math.max(0,e-l))(e),nextDays:(({nextReleaseDate:e})=>e&&(0,t.z)(new Date,new Date(e)))(e)}},r={date:30},i=e=>null!=e?new Date(e.getFullYear()+(r.year??0),e.getMonth()+(r.month??0),e.getDate()+(r.date??0),e.getHours()+(r.hours??0),e.getMinutes()+(r.minutes??0),e.getSeconds()+(r.seconds??0),e.getMilliseconds()+(r.ms??0)):null},39859:(e,l,s)=>{s.d(l,{A:()=>h});var t=s(37876);s(14232);var n=s(95062),r=(s(25342),s(31373)),i=s(44701);let a=({className:e="",children:l,...s})=>(0,t.jsx)("div",{className:(0,i.L)("panel-group__title",e),...s,children:l});a.propTypes={className:n.string,children:n.node.isRequired},{...r.A.propTypes};let d=({className:e="",children:l,...s})=>(0,t.jsx)("div",{className:(0,i.L)("panel-group__body",e),...s,children:l});d.propTypes={className:n.string,children:n.node.isRequired};let o=({className:e="",children:l,...s})=>(0,t.jsx)("div",{className:(0,i.L)("panel-group",e),...s,children:l});o.propTypes={className:n.string,children:n.node.isRequired},o.Title=a,o.Body=d;let c=({children:e})=>(0,t.jsx)(o.Title,{children:e});c.propTypes={children:n.node.isRequired};let p=({children:e})=>(0,t.jsx)(o.Body,{children:e});p.propTypes={children:n.node.isRequired},n.string.isRequired,n.node.isRequired;let u=({className:e="mt-10 mb-12",children:l})=>(0,t.jsx)("div",{className:(0,i.L)("table-alternate-admins",e),children:(0,t.jsx)(o,{children:l})});u.propTypes={className:n.string,children:n.node.isRequired},u.Head=c,u.Body=p;let h=u},53848:(e,l,s)=>{s.d(l,{A:()=>i});var t=s(14232),n=s(89099),r=s(70745);let i=function(e,{once:l=!1}={}){let s=(0,n.useRouter)(),{asPath:i}=s,a=(0,r.v)(i),d=(0,t.useMemo)(()=>{let l;return l=null,s=>l=s[e]||l},[e])(a);return(0,t.useEffect)(()=>
1{if(!d||!l)return;let t=((e,l)=>{let s=RegExp(`(?:^|&)${l}=[^$&]+`),[t,n]=e.split("?"),r=n.replace(s,"").replace(/^&/,"");return r?`${t}?${r}`:t})(i,e);i!==t&&s.replace(t,t,{shallow:!0})},[d,i]),d}},54080:(e,l,s)=>{s.d(l,{NP:()=>o,Vv:()=>d,X$:()=>u,_d:()=>a,cd:()=>c,pJ:()=>p,x:()=>i});var t=s(39382),n=s(14788);let r="expired",i=e=>e?.plan&&e.plan?.type&&"PERSONAL"===e.plan.type.toUpperCase(),a=({isAutoBillingEnabled:e,expirationDate:l,status:s})=>e?s===r:0>(0,t.z)(new Date,new Date(l))||s===r,d=({license:e})=>null!==e,o=({license:{isScimEnabled:e}})=>!0===e,c=e=>!0===e.isSsoAllowed,p=e=>c(e)||e.domains.length>0,u=e=>({...e,license:e.license?n.X$(e.license):null})},67948:(e,l,s)=>{s.d(l,{T:()=>n,r:()=>t});let t=(e,l)=>e.reduce(([s,t],n,r)=>(l(n,r,e)?s.push(n):t.push(n),[s,t]),[[],[]]),n=e=>l=>l.map(e)},75827:(e,l,s)=>{s.d(l,{Oz:()=>i,QE:()=>r,QL:()=>t,Yc:()=>n});let t="NODE_LOCKED",n="USER_BASED",r="SERVER_BASED",i=({status:e})=>"ACTIVE"===e},86340:(e,l,s)=>{s.d(l,{Ay:()=>x,Co:()=>u,Fv:()=>g,KY:()=>h,a7:()=>y,hd:()=>A,kx:()=>m,rE:()=>f,u3:()=>v});var t=s(37876);s(14232);var n=s(95062),r=s(9182),i=s(31373),a=s(25342),d=s(13432),o=s(44701),c=s(76595),p=s(32237);let u=({children:e,spacing:l={...c.E1}})=>(0,t.jsx)("div",{className:(0,o.L)("section-account-control-block__head",...(0,c.Pf)(l)),children:(0,t.jsx)(a.fI,{px:!0,middle:!0,children:e})});u.propTypes={children:n.node.isRequired,spacing:c.UP};let h=({children:e,spacing:l={...c.E1}})=>(0,t.jsx)(a.fv,{shrink:!0,children:(0,t.jsx)("div",{className:(0,o.L)("section-account-control-block__title",...(0,c.Pf)(l)),children:e})});h.propTypes={children:n.node.isRequired,spacing:c.UP};let m=({children:e})=>(0,t.jsx)(a.fv,{shrink:!0,md:"auto",children:e});m.propTypes={children:n.node.isRequired},n.node.isRequired;let y=({children:e,...l})=>(0,t.jsx)(d.A,{className:"section-account-control-block__button",...l,children:e});y.propTypes={children:n.node.isRequired};let v=({children:e})=>(0,t.jsx)("div",{className:"section-account-control-block__body",children:e});v.propTypes={children:n.node.isRequired};let g=({...e})=>(0,t.jsx)(a.fI,{px:!0,children:(0,t.jsx)(a.fv,{spacing:{mb:8},...e})});g.propTypes={...a.fv.propTypes};let A=({href:e,children:l,...s})=>(0,t.jsxs)(i.A,{href:e,...s,children:[(0,t.jsx)(r.A,{name:"chevron-left",spacing:{mr:3}}),l]});A.propTypes={...i.A.propTypes};let N=({className:e="",children:l,spacing:s={...c.E1}})=>(0,t.jsx)("div",{className:(0,o.L)("section-account-control-block",...(0,c.Pf)(s),e),children:l});N.propTypes={className:n.string,children:n.node.isRequired,spacing:c.UP};let f=({href:e,iconName:l,align:s="",children:n,...d})=>(0,t.jsx)("div",{className:"section-account-control-block__action-link",children:(0,t.jsx)(a.fI,{px:!0,children:(0,t.jsx)(a.fv,{sx:{textAlign:s},children:(0,t.jsxs)(i.A,{href:e,className:"section-account-control-block__link",...d,children:[l?(0,t.jsx)(r.A,{name:l}):null," ",n]})})})});f.propTypes={href:n.string.isRequired,iconName:r.A.propTypes.name,align:p.T6,children:n.node.isRequired};let x=N},88499:(e,l,s)=>{s.d(l,{Rp:()=>d,X$:()=>c,R2:()=>i,dC:()=>o});var t=s(75827),n=s(38697);let r=e=>(({status:e})=>"ACTIVE"===e)(e)||(({status:e})=>"ACCEPTED"===e)(e),i=({activations:e})=>(({activations:e})=>e.filter(t.Oz))({activations:e}).length>0,a=({invitations:e})=>e.find(r)??null,d=e=>(e.user??null)?.email??a(e)?.emailPattern??"",o=e=>(({activations:e})=>e.filter(t.Oz))(e).length,c=e=>{let l;return{...e,currentActivations:(({activations:e})=>e.filter(t.Oz))(e),isUserBased:(({activationType:e})=>e===t.Yc)(e),isNodeLocked:(({activationType:e})=>e===t.QL)(e),isActive:(({activations:e})=>e.length>0)(e),invitation:a(e),user:e.user??null,email:d(e),userName:(l=e,[(l.user??null)?.firstName,(l.user??null)?.lastName].filter(Boolean).join(" ")),usedActivations:o(e),activationDate:(({firstActivationDate:e})=>e)(e),hasCurrentActivations:i(e),deactivationStatus:n.X(e.deactivationStatus),createdAt:new Date(e.compareAt),updatedAt:new Date(e.updatedAt),isRevokeAllowed:(({directoryUser:e})=>null==e)(e)}}},93834:(e,l,s)=>{s.d(l,{A:()=>t});let t=(e=new Set)=>l=>!e.has(l)&&(e.add(l),!0)}}]);
2//# sourceMappingURL=6634-dca6f58ae6256a46.js.map
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.