1import{u as m,s as a,a as s,S as n,T as i,C as x}from"./index-a1sN8VY_.js";import"./vendor-react-CW0cBZaz.js";import"./pdf-engine-DkeLIkTF.js";const u=({parameters:o,onParameterChange:r,disabled:c=!1})=>{const{t}=m(),l=Object.keys(a).map(e=>({key:e,label:t(`sanitize.options.${e}.label`,e),description:t(`sanitize.options.${e}.desc`,`${e} from the PDF`),default:a[e]}));return s.jsxs(n,{gap:"md",children:[s.jsx(i,{size:"sm",fw:500,children:t("sanitize.options.title","Sanitization Options")}),s.jsx(n,{gap:"sm",children:l.map(e=>s.jsx(x,{checked:o[e.key],onChange:d=>r(e.key,d.currentTarget.checked),disabled:c,label:s.jsxs("div",{children:[s.jsx(i,{size:"sm",children:e.label}),s.jsx(i,{size:"xs",c:"dimmed",children:e.description})]})},e.key))}),s.jsx(i,{size:"xs",c:"dimmed",children:t("sanitize.options.note","Select the elements you want to remove from the PDF. At least one option must be selected.")})]})};export{u as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.