import{j as a}from"./document_model_editor-B0b9iLkL.js";import"./sentry_react-cODD7zWc.js";import{u as n}from"./index-Zdob0kL_.js";import{L as d}from"./design_system_connect-CyoiT4fi.js";import{a3 as s,aP as t}from"./reactor_browser-CqcNBhxi.js";import"./graphql-AKTCpY7l.js";import"./drive_explorer-C9ZlHrfH.js";import"./react/jsx-runtime-DldvXD6N.js";import"./document_model-BhnxVUEi.js";import"./zod-9j67vCAu.js";import"./react-DQSxOgtG.js";import"./design_system-D3L2kJJ3.js";import"./tailwind_merge-Dr4f9Rms.js";import"./react-dom-D6zQJsh6.js";import"./sentry_browser-B4YoBIIG.js";import"./react-dom/client-BVPiT_FE.js";import"./document_drive-CacD9AxC.js";import"./config-CU-aFfVJ.js";import"./graphql_request-BJtmW2JS.js";import"./design_system_ui-cfMsqDx9.js";const O=()=>{const r=s(),e=r?.type==="upgradeDrive",i=e?r.driveId:void 0,{t:o}=n(),p=()=>{console.log("Upgrade drive: ",i),t()};return a.jsx(d,{open:e,onContinue:p,header:o("modals.upgradeDrive.header"),body:o("modals.upgradeDrive.body"),cancelLabel:o("common.cancel"),continueLabel:o("common.continue"),onOpenChange:m=>{if(!m)return t()}})};export{O as UpgradeDriveModal};
