import{Vi as e}from"./shared-0-C4kdVF7Y.js";import{ki as s}from"./vendor-frame-CwiylG4Y.js";import{Ih as a,Qf as l,Vf as d}from"./shared-1-3-6x7RKF.js";import{Ja as i}from"./shared-6-Cf_fMhRZ.js";import{nn as t,rn as r}from"./vendor-all-2-BJdkbLSj.js";import{j as n}from"./shared-18-C5QwAjwU.js";var c=s();function o({handleDismiss:s,handleAction:o}){const m=r(),{launchOfficeAddinInstall:x,fallbackMessage:f}=i("excel_spotlight");return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"absolute inset-0 flex -z-10",children:[(0,c.jsx)("div",{className:"w-full md:w-1/2 bg-bg-000 rounded-2xl md:rounded-e-none md:rounded-s-2xl"}),(0,c.jsx)("div",{className:"hidden md:block w-1/2 bg-[#1a5c3a] rounded-e-2xl"})]}),(0,c.jsx)("div",{className:"absolute top-4 right-4 md:hidden",children:(0,c.jsx)(d,{onClose:s})}),(0,c.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[(0,c.jsxs)("div",{className:"flex flex-col justify-between gap-6 p-6 md:pe-6",children:[(0,c.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,c.jsx)(e,{variant:"accent",className:"self-start",children:(0,c.jsx)(t,{defaultMessage:"New",id:"bW7B87wFFp"})}),(0,c.jsx)(n,{className:"font-title",children:(0,c.jsx)(t,{defaultMessage:"Supercharge your spreadsheets with Claude in Excel",id:"Bgq/bwbaHA"})}),(0,c.jsxs)("ul",{className:"space-y-3 list-disc pl-5 text-text-300 font-base",children:[(0,c.jsx)("li",{children:(0,c.jsx)(t,{defaultMessage:"Build financial models, analyze data, and create tables and charts with Claude directly in Excel",id:"PPodGH7K9+"})}),(0,c.jsx)("li",{children:(0,c.jsx)(t,{defaultMessage:"Transform complex data tasks or messy data clean-ups into simple conversations",id:"LLkoEQWph+"})}),(0,c.jsx)("li",{children:(0,c.jsx)(t,{defaultMessage:"Available with a Claude Pro, Max, Team, or Enterprise plan",id:"fz9aSrmAXj"})})]})]}),(0,c.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,c.jsx)(l,{variant:"primary",className:"font-base-bold w-full",onClick:()=>{x("excel"),o({actionName:"msft",keepOpen:!0})},children:(0,c.jsx)(t,{defaultMessage:"Get Claude in Excel",id:"XzBVVTZyf/"})}),(0,c.jsx)(l,{variant:"secondary",className:"font-base-bold w-full",onClick:s,children:(0,c.jsx)(t,{defaultMessage:"Maybe later",id:"2nz+k9xHZw"})}),f]})]}),(0,c.jsx)("div",{className:"relative hidden md:flex overflow-hidden md:-me-6 md:-mt-6 md:-mb-6",children:(0,c.jsx)("img",{loading:"lazy",src:"/images/spotlights/excel-upsell.png",alt:m.formatMessage({defaultMessage:"Claude in Excel",id:"cXJ/DmUVmm"}),width:768,height:1066,className:"w-full h-full object-cover object-top rounded-e-2xl"})})]}),(0,c.jsx)("button",{onClick:s,"aria-label":m.formatMessage({defaultMessage:"Close",id:"rbrahOGMC3"}),className:"absolute top-4 right-4 hidden md:flex items-center justify-center size-8 rounded-full bg-bg-000 text-text-500 hover:text-text-300 transition-colors",children:(0,c.jsx)(a,{size:16})})]})}export{o as t};