import{r as i,j as s}from"./vendor-react-Dp9pL_Wn.js";import{r as o}from"./c62933a29-Bny4k5NF.js";import{u as t}from"./c8a5da52e-btIE7cnb.js";import{u as r,C as e,B as m}from"./vendor-ant-cds-DvTmcYA1.js";import{m as c}from"./vendor-motion-D7Z1qgzM.js";import{B as a,P as n}from"./c4b350ac1-KLFM4jkb.js";import"./ca8998c31-P9hjFFxa.js";import"./vendor-zod-DIcz3Rbr.js";import"./cdabaac79-3sBTRaya.js";import"./ca4e68303-2GEI1XEE.js";import"./ce5824dc6-DCrxq2nV.js";import"./c5decd681-BZUxtT_J.js";import"./ca9bd5d1a-BwvQdQH8.js";import"./c1f96d614-CNpmgQ8l.js";import"./c393cb7f5-HUvLXarC.js";import"./ccca85712-CxU_jF8g.js";import"./c0f96d0e0-DGUPaEDS.js";import"./index-CSvjYuL_.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-intl-BDR1NhN_.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-query-DgCRID2b.js";import"./vendor-zustand-CI9omAwJ.js";import"./c40b9b8f5-CcFpJKg-.js";import"./vendor-lodash-CIro4mst.js";import"./vendor-radix-D3USJ4lr.js";import"./vendor-base-ui-CdQU4JQh.js";import"./vendor-icons-BBStP_8q.js";import"./cbf215181-Bsdk_iVX.js";import"./c82022b5f-v1T93ITZ.js";import"./c627fcdb6-v1yU0Z6G.js";import"./c85adc124-DaXgLnIc.js";import"./c4b43b0ae-CSVSIKUp.js";import"./ce61829b3-0upsP-GZ.js";import"./c0632795f-DFHAnV4h.js";import"./c2591c98b-B0JYd9Jp.js";import"./vendor-luxon-Y8l99kBI.js";import"./c9bba154c-Bw59591Y.js";import"./c2a658aad-Db1B4w67.js";import"./c0e977562-B_Zbx8nl.js";import"./c9f4bb49e-CrIVzJHt.js";import"./cc2dfdfd3-BrnuP9el.js";import"./c6a992d55-BgxzHrh5.js";import"./c9e81e7b9-CQ79hI5E.js";import"./cdd5b9598-DXIbe6ku.js";import"./cf57f6351-BOW8NPIt.js";import"./c5669b8e4-B4xCGVen.js";import"./c93f725a0-BmtJGQGk.js";import"./c26148d62-Db4ihZzY.js";import"./vendor-virtual-DRz8lJfQ.js";import"./c3a36db6f-BVEOyI7C.js";import"./cc2e285cb-ERZJd0nP.js";import"./vendor-growthbook-C66YtMMX.js";import"./c4526f334-DmmtJSHf.js";import"./cb59e2e62-DU7B8aps.js";import"./c009a87a0-BdYPxNaw.js";import"./c8c15d455-BRkvbsON.js";const j=i.memo(({content:i,isResume:t,onCtaClick:j,onDismiss:p})=>{const d=r(50),l=t?i.resumeTitle:i.title,b=t?i.resumeMessage:i.message,v=t?i.resumeButtonText:i.buttonText,f=`/interviewer/${i.interviewType}`,u=o(i.pictogramName);return s.jsx(c.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:d},children:s.jsx(e,{children:s.jsx("div",{style:{maxWidth:580},children:s.jsx(a,{variant:"neutral",icon:u?s.jsx(n,{asset:u,size:"sm"}):null,action:s.jsx(m,{variant:"primary",href:f,target:"_blank",onClick:j,children:v}),onDismiss:p,children:s.jsxs("div",{children:[s.jsx("div",{className:"font-medium",children:l}),s.jsx("div",{children:b})]})})})})})});j.displayName="ClintInterviewV1Content";const p=i.memo(({content:o,enabled:r,onDismiss:e,onAction:m})=>{const c=o,{data:a,isLoading:n}=t(c.interviewType),p=i.useCallback(()=>{m()},[m]),d=i.useCallback(()=>{e()},[e]),l="in_progress"===a?.status;return n?null:r?s.jsx(j,{content:c,isResume:l,onCtaClick:p,onDismiss:d}):null});p.displayName="ClintInterviewV1";export{p as ClintInterviewV1,j as ClintInterviewV1Content};
