import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{Ar as s}from"./shared-0-C4kdVF7Y.js";import{Mi as a,ki as t}from"./vendor-frame-CwiylG4Y.js";import{Bf as l,Rf as i,ag as r,ng as n,nt as x,zf as d}from"./shared-1-3-6x7RKF.js";import{nn as c}from"./vendor-all-2-BJdkbLSj.js";import{n as m}from"./ce4250bb4-BXjkp2l5.js";import{Ln as h,u as o}from"./vendor-all-6-BsAVZMtu.js";var f=e(a(),1),j=new Map([["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm104,48H40a8,8,0,0,0,0,16H144a8,8,0,0,0,0-16Zm88,0H216V168a8,8,0,0,0-16,0v16H184a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V200h16a8,8,0,0,0,0-16Z"}))]]),u=f.forwardRef((e,s)=>f.createElement(h,{ref:s,...e,weights:j}));u.displayName="ListPlusIcon";var p=u,v=t();function g(){return(0,v.jsx)(c,{id:"0MRQfTjMgD",defaultMessage:"Thanks for trying the Pro plan"})}function N(){return(0,v.jsxs)("div",{className:"rounded-2xl border border-border-300 p-5",children:[(0,v.jsx)("p",{className:"text-text-200 mb-4",children:(0,v.jsx)(c,{id:"8/s2zJhdMh",defaultMessage:"Without Pro, you\u2019ll lose access to these advanced features:"})}),(0,v.jsxs)("div",{className:"flex flex-col items-start gap-2 self-stretch",children:[(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(n,{})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"TCanJ5xXAc",defaultMessage:"Research in real-time"})})]}),(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(r,{})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"gcQUk+viso",defaultMessage:"Unlimited Projects"})})]}),(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(m,{size:20})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"at6vFGB7KL",defaultMessage:"Google and MCP integrations"})})]}),(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(o,{size:20})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"Gohvo7uUA4",defaultMessage:"Code in the terminal with Claude Code"})})]}),(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(s,{})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"/7yQeRw73i",defaultMessage:"More messages than Free"})})]}),(0,v.jsxs)("div",{className:"flex items-center gap-2 self-stretch",children:[(0,v.jsx)("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:(0,v.jsx)(p,{size:20})}),(0,v.jsx)("span",{className:"text-text-200",children:(0,v.jsx)(c,{id:"PmfH1Lq1JZ",defaultMessage:"All Claude Models"})})]})]})]})}function M(){return(0,v.jsxs)("div",{className:"mb-4 mt-4 ml-4 mr-4",children:[(0,v.jsx)("p",{className:"text-text-100 mb-2",children:(0,v.jsx)(c,{id:"jr/8PlsiEP",defaultMessage:"What happens next:"})}),(0,v.jsxs)("div",{className:"space-y-2 ml-3",children:[(0,v.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,v.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-text-100 mt-2.5 flex-shrink-0"}),(0,v.jsx)("span",{className:"font-medium text-text-100",children:(0,v.jsx)(c,{id:"niC6Ubv3eQ",defaultMessage:"Choose a plan"})}),(0,v.jsx)("span",{className:"text-text-100 ml-1",children:(0,v.jsx)(c,{id:"okJJ6Q7c7E",defaultMessage:"to keep the features you have"})})]}),(0,v.jsxs)("div",{className:"flex items-start space-x-2",children:[(0,v.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-text-100 mt-2.5 flex-shrink-0"}),(0,v.jsx)("span",{className:"font-medium text-text-100",children:(0,v.jsx)(c,{id:"smbQvpBzeR",defaultMessage:"Revert to Free"})}),(0,v.jsx)("span",{className:"text-text-100 ml-1",children:(0,v.jsx)(c,{id:"6QUeO2c2wV",defaultMessage:"where some features will be unavailable"})})]})]})]})}function w(){const{mutate:e,isPending:s}=x();return(0,v.jsxs)(l,{children:[(0,v.jsx)(d,{variant:"primary",onClick:()=>{e(void 0),window.location.href="/upgrade"},size:"lg",children:(0,v.jsx)(c,{id:"niC6Ubv3eQ",defaultMessage:"Choose a plan"})}),(0,v.jsx)(d,{variant:"secondary",size:"lg",onClick:()=>e(void 0),loading:s,children:(0,v.jsx)(c,{id:"smbQvpBzeR",defaultMessage:"Revert to Free"})})]})}function b({isOpen:e}){return(0,v.jsx)(i,{isOpen:e,onClose:()=>{},modalSize:"2lg",hasCloseButton:!1,title:(0,v.jsx)("span",{className:"text-2xl font-medium",children:(0,v.jsx)(g,{})}),className:"md:!p-8",children:(0,v.jsxs)("div",{className:"flex w-full flex-col mt-6",children:[(0,v.jsx)(N,{}),(0,v.jsx)(M,{}),(0,v.jsx)(w,{})]})})}export{b as TrialEndedModal};