1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a0f88e97-0202-4e6a-8d62-b767f4c94bfa",e._sentryDebugIdIdentifier="sentry-dbid-a0f88e97-0202-4e6a-8d62-b767f4c94bfa")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9815],{1577:(e,i,n)=>{n.d(i,{A:()=>o});var s=n(37876);n(14232);var r=n(95062),t=n(29210),l=n(67922);let a=({children:e,bodyClassName:i="",...n})=>(0,s.jsxs)(t.A,{children:[(0,s.jsx)(t.A.Header,{children:(0,s.jsx)(l.A,{...n})}),(0,s.jsx)(t.A.Body,{className:i,children:e})]});a.propTypes={bodyClassName:r.string,children:r.node};let o=a},32419:(e,i,n)=>{n.d(i,{Af:()=>r,D:()=>s});let s=e=>"string"==typeof e&&e.length>=36,r=e=>"string"!=typeof e||s(e)?null:e},34786:(e,i,n)=>{n.d(i,{I6:()=>r,Sp:()=>l,z5:()=>t});var s=n(52233);let r=({status:e})=>"ACTIVE"===e,t=(e,i)=>{let n=e.map(e=>e.id);return i.filter(e=>!n.includes(+e.subscription.id)&&r(e)&&(!e.subscription.isExpired||!(0,s.tL)(e.subscription)))},l=2},62902:(e,i,n)=>{n.d(i,{A:()=>j});var s=n(37876),r=n(14232),t=n(1892),l=n(4769),a=n(56826),o=n(78624),c=n(37638),d=n(12007),A=n(95062),u=n(35144);function p({t:e,subscription:i,isAlone:n}){let{id:r,eventName:t,serialNumbers:l,expirationDate:a,planName:o,isTrial:c,isIsul:d,isSerialNumberGenerationFailed:A}=i;return(0,s.jsx)(u.A,{title:c?e("TRIAL_PLAN_NAME"):o,expiresOn:e(`EVENT_NAME_WITH_ID.${t}`,{expirationDate:a,id:r}),triangle:!n,triangleProps:{color:3},children:!d&&(A?e("REGCODE_FAILED"):l.join(", "))})}p.propTypes={t:A.func.isRequired,subscription:(0,A.shape)({id:(0,A.oneOfType)([A.string,A.number]),serialNumbers:(0,A.arrayOf)(A.string),expirationDate:(0,A.oneOfType)([A.string,(0,A.instanceOf)(Date)]),planName:A.string,eventName:A.string}),isAlone:A.bool};var h=n(46677);function b({t:e,subscription:i,link:n}){let{id:r,eventName:t,serialNumbers:l,expirationDate:o,planName:c,isTrial:d,isIsul:A,isSerialNumberGenerationFailed:u}=i;return(0,s.jsx)(a.A,{children:(0,s.jsx)(h.A,{Component:a.A.Link,title:d?e("TRIAL_PLAN_NAME"):c,href:n,expiresOn:e(`EVENT_NAME_WITH_ID.${t}`,{expirationDate:o,id:r}),children:!A&&(u?e("REGCODE_FAILED"):l.join(", "))})})}b.propTypes={t:A.func.isRequired,subscription:(0,A.shape)({id:(0,A.oneOfType)([A.string,A.number]),serialNumbers:(0,A.arrayOf)(A.string),expirationDate:(0,A.oneOfType)([A.string,(0,A.instanceOf)(Date)]),planName:A.string,eventName:A.string}),link:A.string.isRequired};var x=n(77288),g=n(25503),f=n(34786);let j=function(){let[e]=(0,d.Ym)("subscriptions"),{entitlementId:i,entitlements:n=[],subscriptions:A=[]}=(0,c.BV)(),[u,h,j]=(0,r.useMemo)(()=>{let e=f.z5(A,n),[s,...r]=A,[t,...l]=e;return i?[t.subscription,A,l]:[s,r,e]},[i,A,n]);return(0,s.jsx)(o.A.SubscriptionDropdown,{children:(0,s.jsxs)(t.A,{children:[(0,s.jsx)(p,{t:e,subscription:u,isAlone:h.length+j.length===0}),(0,s.jsxs)(l.A,{children:[h.length>0&&(0,s.jsx)(a.A,{sx:{fontWeight:"bold"},spacing:{px:4,py:2},children:e("MY_SUBSCRIPTIONS")}),h.map(i=>(0,s.jsx)(b,{t:e,subscription:i,link:(0,x.KR)(g.A.subscription.dashboard,{subscriptionId:i.id})},i.id)),j.length>0&&(0,s.jsx)(a.A,{sx:{fontWeight:"bold"},spacing:{px:4,py:2},children:e("MY_LICENSES")}),j.map(({id:i,subscription:n})=>(0,s.jsx)(b,{t:e,subscription:n,link:(0,x.KR)(g.A.account.entitlements.index,{entitlementId:i})},i))]})]})})}},64190:(e,i,n)=>{n.d(i,{e:()=>d,A:()=>A});var s=n(5137),r=n(40820),t=n(32419),l=n(52233),a=n(6993);let o=([e,i])=>[...e.sort((0,s.VE)(({id:e})=>e).reverse),...i.sort((0,s.VE)(({expirationDate:e})=>new Date(e).getTime()).reverse)],c=([e,i],n)=>(n.isExpired?i.push(n):e.push(n),[e,i]),d=e=>{let{id:i,expirationDate:n,status:s,serialNumbers:r,plan:o,isAutoBillingEnabled:c,isTrial:d,archiveBit:A,isulLicenseID:u}=e;return{id:+i,expirationDate:new Date(n),status:s,isExpired:(0,l.Jc)(e),serialNumbers:r.map(e=>(0,t.Af)(e.serialNumber)).filter(Boolean),planName:o.name,eventName:(0,l.iB)(e),isAutoBillingEnabled:c,isTrial:d,isSerialNumberGenerationFailed:(0,l.hK)(e),isIsul:(0,a.qQ)(o.planCode),licenseCreationFailed:(0,a.qQ)(o.planCode)&&!u,plan:o,archiveBit:A}},A=({gqlClient:e})=>i=>e("query getSubscriptions {\n getSubscriptions {\n id\n subscriptionID\n expirationDate\n allowedActivations\n isAutoBillingEnabled\n isulLicenseID\n isTrial\n status\n serialNumbers {\n serialNumber\n }\n plan {\n name\n planCode\n }\n lastOrder {\n isSerialNumberGenerationPending\n }\n }\n}\n").then(({getSubscriptions:e})=>(0,r.A)(e.map(d).reduce(c,[[],[]]),o,e=>{if(!i)return e;let n=(e,i)=>parseInt(e,10)===parseInt(i,10);return[e.find(({id:e})=>n(e,i)),...e.filter(({id:e})=>!n(e,i))]}))},64858:(e,i,n)=>{n.d(i,{A:()=>l});var s=n(37876);n(14232);var r=n(11605),t=n(64809);let l=e=>{let i=i=>(0,s.jsx)(e,{...i});return Object.assign(i,e),i.getInitialProps=async(i,...n)=>{let{authService:s}=(0,r.default)({globalContext:()=>i,...t.f}),{asPath:l}=i;if(!s.isAuthorized())return await s.signOut({localOnly:!0}),s.toAuth({redirectPath:l},{});let a={};return e.getInitialProps&&(a=await e.getInitialProps(i,...n)),a},i}},67922:(e,i,n)=>{n.d(i,{A:()=>f});var s=n(37876),r=n(14232),t=n(89302),l=n(70112),a=n(35143),o=n(69967),c=n(13552),d=n(33351),A=n(12007),u=n(37638),p=n(28894),h=n(25503),b=n(63491);let x=r.memo(e=>(0,s.jsx)(t.A,{...e})),g=e=>async({authService:i})=>(e.preventDefault(),i.toAuth({internalRedirectPath:"/account/preferences"},{withSessionId:!0,method:"push"})),f=()=>{let[e]=(0,A.Ym)("header"),i=(0,u.Xt)(g);return(0,s.jsx)(x,{logo:b.Ay,isBorderBottomNone:!0,children:(0,s.jsx)(p.A,{utility:{lg:{display:"flex",justify:"end"}},sizing:{lg:{w:"full"}},children:(0,s.jsx)(l.A,{nav:"secondary",type:1,children:(0,s.jsxs)(a.A,{isSecondaryNav:!0,children:[(0,s.jsx)(o.A,{children:e("MY_ACCOUNT")}),(0,s.jsxs)(c.A,{align:"right",children:[(0,s.jsx)(d.A,{children:(0,s.jsx)(d.A.Link,{href:h.A.myAccount,children:e("MY_LICENSES")})}),(0,s.jsx)(d.A,{children:(0,s.jsx)(d.A.Link,{onClick:i,href:"#",children:e("PREFERENCES")})}),(0,s.jsx)(d.A,{children:(0,s.jsx)(d.A.Link,{href:h.A.auth.logout,children:e("LOGOUT")})})]})]})})})})}},75554:(e,i,n)=>{n.d(i,{A:()=>c});var s=n(17878),r=n(64809),t=n(37876);n(14232);var l=n(33910),a=n(31287),o=n(6201);let c=(0,s.A)({MaintenanceComp:()=>(0,t.jsxs)(o.A,{children:[(0,t.jsx)(l.A,{Tag:"h1",sx:{fontSize:"xl",fontColor:"3",textAlign:"center"},spacing:{mb:6},children:"Weâre undergoing maintenance."}),(0,t.jsx)(a.A,{sx:{fontSize:"s",textAlign:"center"},children:"Weâre sorry. Weâre temporarily unavailable. Please come back later."})]}),serviceCore:r.f})},89817:(e,i,n)=>{n.d(i,{A:()=>m});var s=n(37876);n(14232);var r=n(95062),t=n(4626),l=n(80597),a=n(78624),o=n(12007),c=n(46677),d=n(70745),A=n(88079),u=n(80332),p=n(59947),h=n(74222),b=n(60210),x=n(58593),g=n(77288),f=n(25503);function j({active:e,isActivationManagementAllowed:i=!1,isSeatsManagementAllowed:n,isTrial:r=!1,isIsul:m=!1,isGroupPlan:v=!1,isSsoAllowed:y=!1,isScimEnabled:I=!1,shouldDisplayDomains:T=!1}){let[N]=(0,o.Ym)("subscriptions"),{subscriptionId:E}=(0,d.A)(),S=y||I||T;return(0,s.jsx)(a.A.Tabs,{children:(0,s.jsxs)(t.A,{children:[(0,s.jsx)(l.A,{Tag:c.A,active:"overview"===e,href:(0,g.KR)(f.A.subscription.dashboard,{subscriptionId:E}),children:N("DASHBOARD")}),!m&&i&&(0,s.jsx)(l.A,{Tag:c.A,active:"activations"===e,href:(0,g.KR)(f.A.subscription.activations,{subscriptionId:E}),children:N("ACTIVATIONS")}),m&&v&&n&&(0,s.jsx)(l.A,{Tag:c.A,active:"seats"===e,href:(0,g.KR)(f.A.subscription.entitlements.index,{subscriptionId:E}),children:N("SEATS")}
1),m&&!v&&n&&(0,s.jsx)(l.A,{Tag:c.A,active:"devices"===e,href:(0,g.KR)(f.A.subscription.entitlements.activations,{subscriptionId:E}),children:N("DEVICES")}),S?(0,s.jsx)(h.Q,{md:"shrink",children:(0,s.jsxs)(A.A,{children:[(0,s.jsx)(A.A.Title,{Tag:({...e})=>(0,s.jsx)(p.A,{children:(0,s.jsx)(u.A,{tabType:1,Tag:"span",...e})}),childrenProps:{utility:{display:"flex",align:{items:"center"}}},triangleProps:{color:"3",size:"s",isOpenColor:"3"},active:["settings","sso","scim","domains"].includes(e),children:N("SETTINGS")}),(0,s.jsx)(A.A.Body,{isPositionAbsolute:!0,children:(0,s.jsxs)(b.A,{children:[!r&&v&&(0,s.jsx)(x.A,{children:(0,s.jsx)(x.A.Link,{href:(0,g.KR)(f.A.subscription.settings,{subscriptionId:E}),active:"settings"===e,children:N("ADMINS")})}),y&&(0,s.jsx)(x.A,{children:(0,s.jsx)(x.A.Link,{href:(0,g.KR)(f.A.subscription.sso,{subscriptionId:E}),active:"sso"===e,children:N("AUTHENTICATION")})}),I&&(0,s.jsx)(x.A,{children:(0,s.jsx)(x.A.Link,{href:(0,g.KR)(f.A.subscription.scim,{subscriptionId:E}),active:"scim"===e,children:N("USER_PROVISIONING")})}),T&&(0,s.jsx)(x.A,{children:(0,s.jsx)(x.A.Link,{href:(0,g.KR)(f.A.subscription.domains,{subscriptionId:E}),active:"domains"===e,children:N("DOMAINS")})})]})})]})}):!r&&v&&(0,s.jsx)(l.A,{Tag:c.A,active:"settings"===e,href:(0,g.KR)(f.A.subscription.settings,{subscriptionId:E}),children:N("SETTINGS")}),!r&&(0,s.jsx)(l.A,{Tag:c.A,active:"billing"===e,href:(0,g.KR)(f.A.subscription.billing.index,{subscriptionId:E}),children:N("BILLING")})]})})}j.propTypes={active:r.string.isRequired,isAutoBillingEnabled:r.bool.isRequired,isActivationManagementAllowed:r.bool,isSeatsManagementAllowed:r.bool.isRequired,isTrial:r.bool,isIsul:r.bool,isGroupPlan:r.bool,isSsoAllowed:r.bool,isScimEnabled:r.bool,shouldDisplayDomains:r.bool};let m=j}}]); 2//# sourceMappingURL=9815-4ff0a9dcd8e7d3c0.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.