PageSourceSearch

https://orthobridge.eu/assets/Compress-DyVDBURU.js

js orthobridge.eu collected 2026-10-08 05:44:15 UTC 2,762 bytes, 1 lines download raw bytes

1import{u as i,a as r,aY as a,aZ as l}from"./index-a1sN8VY_.js";import{c as n}from"./createToolFlow-BB8VivOj.js";import p from"./CompressSettings-D0V5hB97.js";import{u as m}from"./useBaseTool-CVpjH0lc.js";import"./vendor-react-CW0cBZaz.js";import"./pdf-engine-DkeLIkTF.js";import"./ToolStep-Curr4moQ.js";import"./Undo-HulwD6jH.js";import"./TextFields-DfF3ytsK.js";import"./SliderWithInput-BGmKzVdS.js";import"./Slider-DqqOO35z.js";import"./use-move-BtCjQEOr.js";import"./ButtonSelector-Cyy1FCc4.js";import"./useViewScopedFiles-B_R8NRBe.js";const c=()=>{const{t}=i();return{header:{title:t("compress.tooltip.header.title","Compress Settings Overview")},tips:[{title:t("compress.tooltip.description.title","Description"),description:t("compress.tooltip.description.text","Compression is an easy way to reduce your file size. Pick File Size to enter a target size and have us adjust quality for you. Pick Quality to set compression strength manually.")},{title:t("compress.tooltip.qualityAdjustment.title","Quality Adjustment"),description:t("compress.tooltip.qualityAdjustment.text","Drag the slider to adjust the compression strength. Lower values (1-3) preserve quality but result in larger files. Higher values (7-9) shrink the file more but reduce image clarity."),bullets:[t("compress.tooltip.qualityAdjustment.bullet1","Lower values preserve quality"),t("compress.tooltip.qualityAdjustment.bullet2","Higher values reduce file size")]},{title:t("compress.tooltip.grayscale.title","Grayscale"),description:t("compress.tooltip.grayscale.text","Select this option to convert all images to black and white, which can significantly reduce file size especially for scanned PDFs or image-heavy documents.")},{title:t("compress.tooltip.lineArt.title","Line Art"),description:t("compress.tooltip.lineArt.text","Convert pages to high-contrast black and white using ImageMagick. Use line thickness to control the threshold percentage and detection strength to choose how aggressively edges are outlined.")}]}},q=t=>{const{t:s}=i(),o=c(),e=m("compress",l,a,t);return n({files:{selectedFiles:e.selectedFiles,isCollapsed:e.hasResults},steps:[{title:"Settings",isCollapsed:e.settingsCollapsed,onCollapsedClick:e.settingsCollapsed?e.handleSettingsReset:void 0,tooltip:o,content:r.jsx(p,{parameters:e.params.parameters,onParameterChange:e.params.updateParameter,disabled:e.endpointLoading})}],executeButton:{text:s("compress.submit","Compress"),isVisible:!e.hasResults,loadingText:s("loading"),onClick:e.handleExecute,endpointEnabled:e.endpointEnabled,paramsValid:e.params.validateParameters()},review:{isVisible:e.hasResults,operation:e.operation,title:s("compress.title","Compression Results"),onFileClick:e.handleThumbnailClick,onUndo:e.handleUndo}})};export{q 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.