import{r as s,j as i}from"./vendor-react-Dp9pL_Wn.js";import{r as o}from"./c62933a29-BTmwOnJk.js";import{u as r}from"./ccc72bfa9-CXjeK5Ji.js";import{u as t,C as e,B as n}from"./vendor-ant-cds-BLsR_p72.js";import{m as a}from"./vendor-motion-EDlUw66k.js";import{B as m,P as c}from"./c2ee0272b-DPDuX889.js";import"./c9a5287df-D_Z7ffFR.js";import"./vendor-zod-B8MhECV7.js";import"./caf7c7e06-DiSIOZ2Y.js";import"./vendor-base-5_f7mmWg.js";import"./ca4e68303-2GEI1XEE.js";import"./ce5824dc6-DCrxq2nV.js";import"./cb3073067-VsOwq8wi.js";import"./c1e35bcba-VJ15EpPv.js";import"./c80791b3a-C9RrC3yS.js";import"./c7d6fc21a-XgEBZrGw.js";import"./vendor-intl-D2wGIp4M.js";import"./c86a1b907-DGD2pwio.js";import"./vendor-luxon-CZxT8ieM.js";import"./c33b2042a-BXM4oh1L.js";import"./index-XoaBlZfC.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-CRl6sF7K.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-DGChWNxR.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-radix-Dv3qPI0v.js";import"./vendor-base-ui-N1VQ4ctE.js";import"./c51e217b4-CQax1dv1.js";import"./c627fcdb6-1_bsVTpt.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-growthbook-HDTqppl-.js";import"./vendor-zod-v3-CZy0YPWu.js";const d=s.memo(({content:s,isResume:r,onCtaClick:d,onDismiss:j})=>{const p=t(50),l=r?s.resumeTitle:s.title,v=r?s.resumeMessage:s.message,u=r?s.resumeButtonText:s.buttonText,b=`/interviewer/${s.interviewType}`,x=o(s.pictogramName);return i.jsx(a.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.3},className:"fixed bottom-10 right-10",style:{zIndex:p},children:i.jsx(e,{children:i.jsx("div",{style:{maxWidth:580},children:i.jsx(m,{variant:"neutral",icon:x?i.jsx(c,{asset:x,size:"sm"}):null,action:i.jsx(n,{variant:"primary",href:b,target:"_blank",onClick:d,children:u}),onDismiss:j,children:i.jsxs("div",{children:[i.jsx("div",{className:"font-medium",children:l}),i.jsx("div",{children:v})]})})})})})}),j=s.memo(({content:o,enabled:t,onDismiss:e,onAction:n})=>{const a=o,{data:m,isLoading:c}=r(a.interviewType),j=s.useCallback(()=>{n()},[n]),p=s.useCallback(()=>{e()},[e]),l="in_progress"===m?.status;return c?null:t?i.jsx(d,{content:a,isResume:l,onCtaClick:j,onDismiss:p}):null});export{j as ClintInterviewV1,d as ClintInterviewV1Content};
