import{R as s,j as t,S as l}from"./vendor-ClLR6ncd.js";import{O as u}from"./OptionallyDenseCodeMirror-S3gxMpRM.js";import"./lodash-ZyeDnt0e.js";import"./index-OtVJl4GC.js";import"./configs-Cm_sEDXb.js";import"./pluralize-BF8NJH6e.js";import{A as c}from"./useDefaultMutationOptions-CUrzq21a.js";import"./highlightSearch-BTHB3jgf.js";import"./model-Dfrorm_S.js";import{a as d,L as x}from"./LoadOptions-2iH81lnL.js";import{u as f}from"./useImportFileMutation-Cn0DFUwF.js";import"./ui-BOPU8Yl4.js";import"./ui-DKzyPIqx.js";import"./useNamespaces-B-2wwTCG.js";import"./model-DgFcCvKB.js";import"./WithMeasure-BDk9QPMF.js";import"./Autocomplete-Cjt7Q9VV.js";import"./Chip-DoCs8Smb.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./Messages-BRmQDxrZ.js";import"./index-BpKmttxq.js";import"./model-mC-LLJuv.js";import"./DialogContent-DR8Wx7Lo.js";import"./DialogTitle-i0lt2jWQ.js";import"./DialogContentText-5YOBSelz.js";import"./Link-BLwKPJFF.js";import"./TableRow-CGDSOtFZ.js";import"./TableSortLabel-BJFq2axQ.js";import"./Box-Co2WcNPC.js";import"./TypographyWithTooltip-BFAG3Va9.js";import"./SmallStandardSelect-7k6-Wr8Q.js";import"./MenuItem-CCerWMyq.js";import"./dividerClasses-DvO85-mA.js";import"./CheckboxWithLabel-D5KtBcIx.js";import"./RadioButtons-DZChRzLE.js";import"./AccordionDetails-Bqc4B-Ut.js";import"./usePrevious-BP64N3hu.js";const y={flexGrow:1,height:0};function tt(){const{text:o,setText:m,trackOption:a,options:i,invalid:r}=d(),n=s.useMemo(()=>[o],[o]),{mutation:p}=f({files:n,options:i}),e=p.isLoading;return t.jsx(c,{toIncludeVerify:!0,toConfirmLoadAgain:!0,description:"Type or paste data into the input area. The text format must be syntactically valid for the format selected in the Format box. If the Format is Autodetect then various formats are tried until one works.",action:t.jsx(l,{spacing:2,height:1,children:t.jsx("div",{style:y,children:t.jsx(u,{readOnly:e,value:o,onChange:m})})}),options:t.jsx(x,{readOnly:e,options:i,trackOption:a}),applyButtonLabel:"Verify & Import text",applyButtonDisabled:r,applyButtonTooltip:r?"Text is empty or options are invalid":"",mutation:p,actionTitle:"Input RDF text to import"})}export{tt as default};
