PageSourceSearch

https://flightcast.com/_next/static/chunks/5817.5549899349262445.js

js flightcast.com collected 2026-10-02 02:27:02 UTC 22,885 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5817],{1866:(e,a,s)=>{s.d(a,{Q:()=>n});var l=s(73295),t=s(59537);function n(e){return(0,l.jsx)("section",{"aria-labelledby":e["aria-labelledby"],className:(0,t.cn)("border border-border/50 bg-card shadow-black/5 shadow-xl dark:border-border/60 dark:shadow-none",e.className),children:e.children})}},21028:(e,a,s)=>{s.d(a,{Cf:()=>d,PV:()=>u,Xx:()=>o,ae:()=>c});var l=s(73295),t=s(44821),n=s(17819),r=s(59537);let i={md:"size-8",sm:"size-6"};function o(e){var a;return(0,l.jsxs)(t.eu,{className:(0,r.cn)(i[null!=(a=e.size)?a:"md"],e.className),children:[e.identity.avatarUrl?(0,l.jsx)(t.BK,{alt:"",src:e.identity.avatarUrl}):null,(0,l.jsx)(t.q5,{children:e.identity.userAccountId})]})}function d(e){var a;return null!=(a=e.displayName)?a:e.email}function c(e){return e.displayName?e.email:void 0}function u(e){let a=e.preview.totalCount-e.preview.members.length;return 0===e.preview.members.length?(0,l.jsx)("span",{className:"text-muted-foreground text-sm",children:"No members"}):(0,l.jsxs)("span",{className:(0,r.cn)("flex items-center",e.className),children:[(0,l.jsx)("span",{className:"flex items-center -space-x-2",children:e.preview.members.map(e=>(0,l.jsxs)(n.m_,{children:[(0,l.jsx)(n.k$,{asChild:!0,children:(0,l.jsx)("span",{className:"rounded-full ring-2 ring-background",children:(0,l.jsx)(o,{identity:e,size:"sm"})})}),(0,l.jsx)(n.ZI,{children:d(e)})]},e.userAccountId))}),a>0?(0,l.jsxs)("span",{className:"pl-2 text-muted-foreground text-xs",children:["+",a]}):null]})}},22473:(e,a,s)=>{s.d(a,{BE:()=>p,I6:()=>h,Uz:()=>o,_s:()=>i,cp:()=>c,gk:()=>x,zj:()=>m});var l=s(73295),t=s(42983),n=s(21200),r=s(59537);let i=e=>{let{shouldScaleBackground:a=!0,...s}=e;return(0,l.jsx)(n._s.Root,{shouldScaleBackground:a,...s})};i.displayName="Drawer";let o=n._s.Trigger,d=n._s.Portal,c=n._s.Close,u=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,l.jsx)(n._s.Overlay,{ref:a,className:(0,r.cn)("!duration-700 fixed inset-0 z-50 bg-black/80",s),...t})});u.displayName=n._s.Overlay.displayName;let m=t.forwardRef((e,a)=>{let{className:s,children:t,overlayClassName:i,...o}=e;return(0,l.jsxs)(d,{children:[(0,l.jsx)(u,{className:i}),(0,l.jsx)(n._s.Content,{ref:a,className:(0,r.cn)("!duration-[400ms] fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background outline-none focus:outline-none focus-visible:outline-none",s),...o,children:t})]})});m.displayName="DrawerContent";let p=e=>{let{className:a,...s}=e;return(0,l.jsx)("div",{className:(0,r.cn)("grid gap-1.5 p-4 text-center sm:text-left",a),...s})};p.displayName="DrawerHeader";let x=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,l.jsx)(n._s.Title,{ref:a,className:(0,r.cn)("font-semibold text-lg leading-none tracking-tight",s),...t})});x.displayName=n._s.Title.displayName;let h=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,l.jsx)(n._s.Description,{ref:a,className:(0,r.cn)("text-muted-foreground text-sm",s),...t})});h.displayName=n._s.Description.displayName},27892:(e,a,s)=>{s.d(a,{AY:()=>z,F9:()=>A,Ks:()=>w,Ly:()=>S,RO:()=>O,SU:()=>v,ZI:()=>k,_K:()=>y,ay:()=>N,mK:()=>P,pb:()=>C});var l=s(73295),t=s(63521),n=s(50850),r=s(30867),i=s.n(r),o=s(64571),d=s(5858),c=s(1866),u=s(20895),m=s(73907),p=s(17290),x=s(42738),h=s(17819),g=s(5328),f=s(93793);let b=["billing","lifecycle","onboarding","freshness"];function w(e){return(0,l.jsx)(h.TooltipProvider,{children:(0,l.jsxs)("div",{className:"@container fade-in-0 flex w-full animate-in flex-col gap-1.5 duration-500",children:[(0,l.jsxs)("div",{className:"flex min-h-8 items-center justify-between gap-4 pb-1.5",children:[(0,l.jsx)(d.Button,{asChild:!0,className:"gap-1.5",size:"xs",variant:"outline",children:(0,l.jsxs)(i(),{href:e.backHref,children:[(0,l.jsx)(n.A,{className:"size-3.5"}),e.backLabel]})}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,l.jsx)(o._,{}),e.freshness]})]}),(0,l.jsx)(c.Q,{className:"@container w-full rounded-[14px]",children:(0,l.jsxs)("header",{className:"aside"===e.avatarPlacement?"grid @3xl:grid-cols-[minmax(0,1fr)_auto] grid-cols-1 gap-6 p-8":"p-8",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:"font-medium text-muted-foreground text-xs uppercase leading-none tracking-widest",children:e.eyebrow}),(0,l.jsx)(p.h,{className:"h-3"}),(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:["aside"===e.avatarPlacement?null:e.avatar,(0,l.jsx)("h1",{className:"min-w-0 truncate font-medium text-3xl text-foreground leading-none tracking-tight",children:e.title})]}),(0,l.jsx)(p.h,{className:"h-3"}),(0,l.jsx)("div",{className:"max-w-2xl text-pretty text-muted-foreground text-sm",children:e.subt
1itle}),e.pills&&e.pills.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.h,{className:"h-4"}),(0,l.jsx)("div",{className:"flex flex-wrap gap-2",children:e.pills.map(e=>(0,l.jsx)(f.qs,{label:e.label,tone:e.tone},e.id))})]}):null]}),"aside"===e.avatarPlacement?(0,l.jsx)("div",{className:"flex items-start justify-end",children:e.avatar}):null]})}),e.children]})})}function j(e){return(0,l.jsxs)(c.Q,{className:"@container w-full rounded-[14px]",children:[(0,l.jsx)("header",{className:"px-6 pt-6 pb-4",children:(0,l.jsx)("h2",{className:"font-medium text-base text-foreground leading-none",children:e.title})}),(0,l.jsx)("div",{className:"p-2 pt-0",children:e.children})]})}let N=[{label:"Lifecycle",width:"w-[150px] min-w-[150px]"},{label:"Billing",width:"w-[130px] min-w-[130px]"},{align:"right",label:"Shows",width:"w-[90px] min-w-[90px]"}],v=[{label:"Billing",width:"w-[130px] min-w-[130px]"},{label:"Trial",width:"w-[130px] min-w-[130px]"},{align:"right",label:"Episodes",width:"w-[110px] min-w-[110px]"},{label:"Last published",width:"w-[140px] min-w-[140px]"}],y=[{label:"Stage",width:"w-[180px] min-w-[180px]"},{label:"Converted",tooltip:t.oP,width:"w-[130px] min-w-[130px]"},{align:"right",label:"Shows",width:"w-[90px] min-w-[90px]"}],k=[{label:"Occurred",width:"w-[140px] min-w-[140px]"},{label:"Attached to",width:"w-[120px] min-w-[120px]"}],C=[{label:"Lifecycle",width:"w-[150px] min-w-[150px]"},{label:"Billing",width:"w-[130px] min-w-[130px]"},{align:"right",label:"Charged MRR",width:"w-[130px] min-w-[130px]"}],S=[{label:"Billing",width:"w-[130px] min-w-[130px]"},{label:"Trial end",width:"w-[140px] min-w-[140px]"},{align:"right",label:"Charged MRR",width:"w-[130px] min-w-[130px]"}];function P(e){return(0,l.jsx)(j,{title:e.title,children:0===e.rows.length?(0,l.jsx)("p",{className:"px-4 py-8 text-muted-foreground text-sm",children:e.empty}):(0,l.jsx)(g.h_,{head:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g.wm,{className:"w-[320px] min-w-[320px]",children:e.nameLabel}),e.columns.map(e=>(0,l.jsx)(g.wm,{align:e.align,className:e.width,children:(0,l.jsxs)("span",{className:"inline-flex items-center gap-1",children:[e.label,e.tooltip?(0,l.jsx)(m.AH,{ariaLabel:"".concat(e.label," definition"),description:e.tooltip,title:e.label}):null]})},e.label))]}),children:e.rows.map(a=>(0,l.jsxs)(x.Hj,{className:g.C,children:[(0,l.jsx)(g.dR,{href:a.href,leading:a.leading,linkLabel:a.title,secondary:a.secondary,title:a.title}),a.cells.map((a,s)=>{var t,n,r;return(0,l.jsx)(g.Un,{align:null==(t=e.columns[s])?void 0:t.align,children:a},null!=(r=null==(n=e.columns[s])?void 0:n.label)?r:s)})]},a.id))})})}function z(e){return(0,l.jsx)(c.Q,{className:"@container w-full rounded-[14px]",children:(0,l.jsx)("section",{"aria-label":"Key customer metrics",className:"grid @2xl:grid-cols-3 @5xl:grid-cols-5 grid-cols-1 gap-2 p-2",children:e.children})})}function A(e){return(0,l.jsx)(c.Q,{className:"@container w-full rounded-[14px]",children:(0,l.jsxs)("div",{className:"flex flex-col items-start p-8",children:[(0,l.jsx)("p",{className:"font-medium text-base text-foreground leading-none",children:"Unable to load customer data"}),(0,l.jsx)(p.h,{className:"h-2"}),(0,l.jsx)("p",{className:"text-muted-foreground text-sm",children:e.message}),(0,l.jsx)(p.h,{className:"h-5"}),(0,l.jsx)(d.Button,{onClick:e.onRetry,size:"sm",variant:"outline",children:"Try again"})]})})}function O(e){return(0,l.jsxs)("div",{className:"@container flex w-full flex-col gap-1.5",children:[(0,l.jsx)("div",{className:"pb-1.5",children:(0,l.jsx)(d.Button,{asChild:!0,className:"gap-1.5",size:"xs",variant:"outline",children:(0,l.jsxs)(i(),{href:e.backHref,children:[(0,l.jsx)(n.A,{className:"size-3.5"}),e.backLabel]})})}),(0,l.jsx)(c.Q,{className:"w-full rounded-[14px]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-3 p-8",children:[(0,l.jsx)(u.E,{className:"h-3 w-20",fade:"right"}),(0,l.jsx)(u.E,{className:"h-8 w-64 max-w-full",fade:"right"}),(0,l.jsx)(u.E,{className:"h-4 w-96 max-w-full",fade:"right"})]})}),(0,l.jsx)(c.Q,{className:"w-full rounded-[14px]",children:(0,l.jsx)("div",{className:"grid @2xl:grid-cols-2 @5xl:grid-cols-4 grid-cols-1 gap-2 p-2",children:b.map(e=>(0,l.jsx)(u.E,{className:"h-28 w-full rounded-md",fade:"right"},e))})})]})}},29606:(e,a,s)=>{s.d(a,{O:()=>P});var l=s(73295),t=s(41897),n=s(81638),r=s(22276),i=s(83955),o=s(92815),d=s(72024),c=s(41785),u=s(80880),m=s(42983),p=s(27858),x=s(53477),h=s(5858),g=s(40642),f=s(42106),b=s(47801),w=s(17290),j=s(17819),N=s(41805),v=s(59537);let y=[.25,.46,.45,.94];function k(e){return(0,n.I)()?(0,l.jsx)("span",{className:"inline-flex size-4 items-center justify-center",children:e.children}):(0,l.jsx)("span",{className:"relative inline-flex size-4 items-center justify-center",children:(0,l.jsx)(r.N,{mode:"popLayout",initial:!1,children:(0,l.jsx)(i.P.span,{className:"absolute inset-0 inline-flex items-center justify-center will-change-[op
1acity,filter,transform]",initial:{opacity:0,filter:"blur(2px)",rotate:"-180deg",scale:.5},animate:{opacity:1,filter:"blur(0px)",rotate:"0deg",scale:1},exit:{opacity:0,filter:"blur(2px)",rotate:"180deg",scale:.5},transition:{duration:.2,ease:y},children:e.children},e.stateKey)})})}function C(e){return(0,l.jsxs)(j.m_,{delayDuration:0,children:[(0,l.jsx)(j.k$,{asChild:!0,children:(0,l.jsx)("span",{className:"inline-flex",children:(0,l.jsx)(h.Button,{type:"button",variant:"ghost",size:"xs","aria-label":e.label,"aria-busy":e.busy||void 0,onClick:e.onClick,disabled:e.disabled,className:"h-7 w-7 rounded-full px-0 text-muted-foreground hover:text-foreground",children:(0,l.jsx)(k,{stateKey:e.stateKey,children:e.children})})})}),(0,l.jsx)(j.ZI,{side:"top",children:e.label})]})}function S(e){var a;let[s,n]=(0,m.useState)(!1),[r,i]=(0,m.useState)(String(e.page)),[o,d]=(0,m.useState)(e.page),c=(0,N.a)(),u=e.disabled||e.totalPages<=1;function x(a){let s=z(a,e.totalPages);return i(String(s)),d(s),s}function j(a){if(e.disabled)return;let s=z(a,e.totalPages);s!==e.page&&e.onPageChange(s)}let y=(0,p.YQ)(j,e.pageChangeDebounceMs,{flushOnExit:!0});function k(){y.cancel();let a=Number.parseInt(r,10);if(Number.isNaN(a))return void x(e.page);j(x(a))}return(0,m.useEffect)(()=>{if(!s)return;let a=z(e.page,e.totalPages);i(String(a)),d(a)},[s,e.page,e.totalPages]),(0,m.useEffect)(()=>{e.disabled&&y.cancel()},[e.disabled,y]),(0,l.jsx)(f.$,{useDrawer:c,open:s,popoverAlign:null!=(a=e.popoverAlign)?a:"center",popoverContentClassName:"w-96 min-w-96 md:w-96 md:min-w-96",popoverSideOffset:8,drawerTitle:"Go to page",onOpenChangeAction:function(e){u&&e||(s&&!e&&k(),n(e))},trigger:(0,l.jsxs)(h.Button,{type:"button",variant:"ghost",size:"xs",disabled:u,"aria-label":"Page ".concat(e.page," of ").concat(e.totalPages,". Go to page."),"aria-haspopup":"dialog",className:"h-7 gap-1 rounded-md px-1.5 font-medium text-muted-foreground tabular-nums leading-none hover:text-foreground disabled:opacity-100",children:[(0,l.jsx)(t.Q,{variant:"number",children:function(e,a){let s=String(Math.max(1,a)).length;return String(e).padStart(s,"0")}(e.page,e.totalPages)})," ",(0,l.jsx)("span",{children:"of"}),(0,l.jsx)(t.Q,{variant:"number",children:e.totalPages})]}),srOnlySummary:"Page ".concat(e.page," of ").concat(e.totalPages,". Enter a page number or use the slider."),children:(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsxs)("section",{className:"flex flex-col gap-2",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(w.h,{className:"h-1"}),(0,l.jsx)("p",{className:"font-medium text-muted-foreground text-xs uppercase tracking-widest",children:"Page"}),(0,l.jsx)(w.h,{className:"h-2"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(g.p,{type:"number",inputMode:"numeric",min:1,max:e.totalPages,value:r,"aria-label":"Page number",className:(0,v.cn)("h-9 w-32 shrink-0 border-0 bg-muted ring-0"),inputClassName:"tabular-nums",onChange:e=>{i(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),k(),n(!1))}}),(0,l.jsxs)("span",{className:"shrink-0 font-medium text-muted-foreground text-sm tabular-nums leading-none",children:["of ",e.totalPages]})]})]}),(0,l.jsx)(b.A,{value:[o],min:1,max:e.totalPages,step:1,"aria-label":"Page slider",tone:"foreground",size:"thin",alwaysShowThumb:!0,disabled:e.disabled,className:"w-full",onValueChange:a=>{var s;!function(a){let s=x(a);if(0===e.pageChangeDebounceMs)return j(s);y(s)}(null!=(s=a[0])?s:1)}})]})})}function P(e){var a;let s=null!=(a=e.pageChangeDebounceMs)?a:300,t=void 0!==e.loading,n=(0,m.useRef)(null),r=(0,m.useRef)(null),i=(0,m.useRef)(!1),[p,h]=(0,m.useState)(null),g=e.disabled||!0===e.loading||null!==p;function f(a,s){p||(t&&(n.current=a,r.current=e.page,i.current=!1,h(a)),e.onPageChange(s))}function b(e,a){return p===e?(0,l.jsx)(x.u,{className:"size-4"}):a}return(0,m.useEffect)(()=>{if(!t)return;if(e.loading&&n.current){i.current=!0,h(n.current);return}if(e.loading||!p)return;let a=null!==r.current&&e.page!==r.current;if(!i.current&&!a)return;let s=window.setTimeout(()=>{n.current=null,r.current=null,i.current=!1,h(null)},400);return()=>{window.clearTimeout(s)}},[e.loading,e.page,p,t]),(0,l.jsxs)("div",{className:(0,v.cn)("flex h-9 shrink-0 items-center justify-center gap-0.5 rounded-md bg-muted/70 px-1",e.className),children:[(0,l.jsx)(C,{label:"First page",disabled:g||1===e.page,busy:"first"===p,onClick:()=>f("first",1),stateKey:"first"===p?"loading":"idle",children:b("first",(0,l.jsx)(o.A,{"aria-hidden":!0,
1className:"size-4"}))}),(0,l.jsx)(C,{label:"Previous page",disabled:g||1===e.page,busy:"prev"===p,onClick:()=>f("prev",e.page-1),stateKey:"prev"===p?"loading":"idle",children:b("prev",(0,l.jsx)(d.A,{"aria-hidden":!0,className:"size-4"}))}),(0,l.jsx)(S,{page:e.page,totalPages:e.totalPages,disabled:g,onPageChange:function(a){if(p)return;let s=z(a,e.totalPages);s!==e.page&&e.onPageChange(s)},pageChangeDebounceMs:s,popoverAlign:e.pagePickerAlign}),(0,l.jsx)(C,{label:"Next page",disabled:g||e.page===e.totalPages,busy:"next"===p,onClick:()=>f("next",e.page+1),stateKey:"next"===p?"loading":"idle",children:b("next",(0,l.jsx)(c.A,{"aria-hidden":!0,className:"size-4"}))}),(0,l.jsx)(C,{label:"Last page",disabled:g||e.page===e.totalPages,busy:"last"===p,onClick:()=>f("last",e.totalPages),stateKey:"last"===p?"loading":"idle",children:b("last",(0,l.jsx)(u.A,{"aria-hidden":!0,className:"size-4"}))})]})}function z(e,a){return Math.min(Math.max(1,e),Math.max(1,a))}},40642:(e,a,s)=>{s.d(a,{p:()=>r});var l=s(73295),t=s(42983),n=s(59537);let r=t.forwardRef((e,a)=>{let{className:s,disabled:r,inputClassName:i,isLoading:o,leftSlot:d,rightSlot:c,type:u,...m}=e,p=t.useRef(null);return(0,l.jsxs)("div",{className:(0,n.cn)("group flex h-10 w-full items-center gap-2 rounded-md border border-input bg-background px-3 text-foreground ring-offset-background transition-colors has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-ring has-[:focus-visible]:ring-offset-2",{"animate-pulse":o,"cursor-not-allowed opacity-50":r||o},s),onPointerDown:()=>{let e=p.current;e&&requestAnimationFrame(()=>{e.focus()})},children:[null!=d?d:null,(0,l.jsx)("input",{className:(0,n.cn)("w-full rounded-md bg-transparent text-base file:border-0 file:bg-transparent file:font-medium file:text-sm placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 sm:text-sm",i),disabled:r||o,ref:(0,n.tE)(p,a),spellCheck:"false",type:u,...m}),null!=c?c:null]})});r.displayName="Input"},41805:(e,a,s)=>{s.d(a,{a:()=>t});var l=s(42983);function t(){let[e,a]=l.useState(void 0);return l.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),s=()=>{a(window.innerWidth<768)};return e.addEventListener("change",s),a(window.innerWidth<768),()=>e.removeEventListener("change",s)},[]),!!e}},42106:(e,a,s)=>{s.d(a,{$:()=>o});var l=s(73295),t=s(22473),n=s(79953),r=s(17290),i=s(59537);function o(e){var a,s,o;return e.useDrawer?(0,l.jsxs)(t._s,{open:e.open,onOpenChange:e.onOpenChangeAction,children:[(0,l.jsx)(t.Uz,{asChild:!0,children:e.trigger}),(0,l.jsxs)(t.zj,{overlayClassName:"bg-black/50",className:(0,i.cn)("rounded-t-[14px] border-border/30 bg-popover px-0 pb-0",e.drawerContentClassName),children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"mx-auto mt-3 h-1 w-10 shrink-0 rounded-full bg-muted-foreground/25"}),(0,l.jsx)(t.BE,{className:"px-5 pt-4 pb-0 text-left",children:(0,l.jsx)(t.gk,{className:"font-medium text-base text-foreground leading-none tracking-normal",children:null!=(a=e.drawerTitle)?a:"Display"})}),(0,l.jsx)(r.h,{className:"h-4"}),(0,l.jsxs)("div",{className:(0,i.cn)("overflow-y-auto px-5",e.drawerContentClassName?"min-h-0 flex-1":"max-h-[min(75vh,36rem)]"),children:[e.children,(0,l.jsx)(r.h,{className:"h-6"})]}),e.srOnlySummary?(0,l.jsx)("p",{className:"sr-only",children:e.srOnlySummary}):null]})]}):(0,l.jsxs)(n.AM,{open:e.open,onOpenChange:e.onOpenChangeAction,children:[(0,l.jsx)(n.Wv,{asChild:!0,children:e.trigger}),(0,l.jsxs)(n.hl,{align:null!=(s=e.popoverAlign)?s:"end",sideOffset:null!=(o=e.popoverSideOffset)?o:8,className:(0,i.cn)("w-52 overflow-hidden rounded-lg border border-border/30 p-6 shadow-xl md:w-auto md:min-w-[40rem]",e.popoverContentClassName),onInteractOutside:e=>{let a=e.target;a instanceof Element&&a.closest("[data-radix-popper-content-wrapper]")&&e.preventDefault()},children:[e.children,e.srOnlySummary?(0,l.jsx)("p",{className:"sr-only",children:e.srOnlySummary}):null]})]})}},79953:(e,a,s)=>{s.d(a,{AM:()=>i,Wv:()=>o,dT:()=>d,hl:()=>c});var l=s(73295),t=s(25434),n=s(42983),r=s(59537);let i=t.bL,o=t.l9,d=t.Mz,c=n.forwardRef((e,a)=>{let{className:s,align:n="center",sideOffset:i=4,...o}=e;return(0,l.jsx)(t.ZL,{children:(0,l.jsx)(t.UC,{ref:a,align:n,sideOffset:i,className:(0,r.cn)("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-[var(--radix-popover-content-transform-origin)] rounded-lg border border-border/50 bg-popover p-4 text-popover-foreground shadow-lg outline-none data-[state=closed]:animate-out data-[state=open]:animate-in","duration-200 ease-out",s),...o})})});c.displayName=t.UC.displayName},90662:(e,a,s)=>{s.r(a),s.d(a,{default:()=>p});var l=s(73295),t=s(70628),n=s(94800),r=s(90277),i=s(14935),o=s(69352),d=s(93793),c=s(12600),u=s(21028),m=s(27892);function p(){var e;let a=(0,t.useParams)(),s=(0,t.useSearchParams)(),p=(0,o.K9)("teams",s.get("from")),x=n.i.v2.admin.getCustomerWorkspace.useQuery({workspaceId:a.workspaceId});if(x.isLoading)return(0,l.jsx)(m.RO,{backHref:p,backLabel:"Back to teams"});if(x.isError)return(0,l.jsx)(m.F9,{message:x.error.message,onRetry:()=>{x.refetch()}});if(!x.data)return(0,l.jsx)("p",{className:"text-muted-foreground text-sm",children:"This team is not in the customer-intelligence current state."});let h=x.data;return(0,l.jsxs)(m.Ks,{avatar:(0,l.jsx)(u.PV,{preview:h.memberPreview}),backHref:p,backLabel:"Back to teams",eyebrow:"Team",freshness:(0,l.jsx)(c.Xm,{sources:[h.freshness.postgres,h.freshness.stripe,h.freshness.posthog]}),pills:[{id:"lifecycle",label:h.lifecycleStage,tone:(0,i.fk)(h.lifecycleStage)},{id:"billing",label:h.billingState,tone:(0,i.iI)(h.billingState)},{id:"churn",label:h.churnScope?"".concat(h.churnScope," churn"):"No churn"},...h.riskFlags.map(e=>({id:"risk-".concat(e),label:e,tone:"caution"}))],subtitle:"".concat(h.showsCount," shows. Silence ").concat(null!=(e=h.silenceDays)?e:"unknown"," days. Last published ").concat((0,i.im)(h.lastPublishedAt),"."),title:h.name,children:[(0,l.jsxs)(m.AY,{children:[(0,l.jsx)(d.$5,{label:"Charged MRR",tone:(0,i.$5)(h.chargedMrrCents).tone,value:(0,i.$5)(h.chargedMrrCents).label}),(0,l.jsx)(d.$5,{label:"List MRR",tone:(0,i.$5)(h.listMrrCents).tone,value:(0,i.$5)(h.listMrrCents).label}),(0,l.jsx)(d.$5,{label:"Checkout failures",tone:null===h.checkoutFailures?"unknown":"known",value:null===h.checkoutFailures?"Unknown":String(h.checkoutFailures)}),(0,l.jsx)(d.$5,{label:"Active trials",tone:h.shows.some(e=>"unknown"===e.trialOutcome)?"unknown":"known",value:h.shows.some(e=>"unknown"===e.trialOutcome)?"Unknown":String(h.shows.filter(e=>"active"===e.trialOutcome).length)}),(0,l.jsx)(d.$5,{label:"Support chats 30d",tone:null===h.supportChatOpens30d?"unknown":"known",value:null===h.supportChatOpens30d?"Unknown":String(h.supportChatOpens30d)})]}),(0,l.jsx)(m.mK,{columns:m._K,empty:"No people on this team.",nameLabel:"Person",rows:h.people.map(e=>({cells:[(0,l.jsx)(d.qs,{label:e.leadStage.replaceAll("_"," ")},"stage"),(0,l.jsx)(d.qs,{label:e.hasConverted?"Converted":"Not yet",tone:e.hasConverted?"positive":"neutral"},"converted"),e.showCount],href:(0,o.Z2)("people",e.userAccountId,s),id:e.userAccountId,leading:(0,l.jsx)(u.Xx,{identity:e.identity}),secondary:(0,u.ae)(e.identity),title:(0,u.Cf)(e.identity)})),title:"People"}),(0,l.jsx)(m.mK,{columns:m.SU,empty:"No shows on this team.",nameLabel:"Show",rows:h.shows.map(e=>({cells:[(0,l.jsx)(d.qs,{label:e.billingState,tone:(0,i.iI)(e.billingState)},"billing"),"none"===e.trialOutcome?"—":(0,l.jsx)(d.qs,{label:(0,i.j$)(e),tone:(0,i.Z2)(e.trialOutcome)},"trial"),e.catalogSize,(0,i.im)(e.lastPublishedAt)],href:(0,o.Z2)("shows",e.podcastId,s),id:e.podcastId,leading:(0,l.jsx)(r.W,{artworkUrl:e.artworkUrl,size:"md",title:e.title}),secondary:e.podcastId,title:e.title})),title:"Shows"}),(0,l.jsx)(m.mK,{columns:m.ZI,empty:"No conversion classifications for this team.",nameLabel:"Classification",rows:h.conversions.map(e=>({cells:[(0,i.im)(e.occurredAt),e.podcastId?"Show":"Team"],href:e.podcastId?(0,o.Z2)("shows",e.podcastId,s):(0,o.Z2)("teams",h.workspaceId,s),id:e.sourceEventId,secondary:e.sourceEventId,title:e.classification})),title:"Conversions"}),(0,l.jsx)(m.mK,{columns:m.pb,empty:"No history snapshots yet.",nameLabel:"Snapshot",rows:h.history.map(e=>{var a;return{cells:[null!=(a=e.lifecycleStage)?a:"Unknown",e.billingState,(0,i.$5)(e.chargedMrrCents).label],id:e.snapshotDate,title:e.snapshotDate}}),title:"History"})]})}}}]);

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.