1"use strict";(self.webpackChunkunimage=self.webpackChunkunimage||[]).push([[626],{1917:(e,a,n)=>{n.d(a,{_H:()=>o,l$:()=>t,xu:()=>u});n(5043);var s=n(6575),l=n(579);function o(e){let{name:a,label:n,value:o,disabled:t=!1,onChange:u}=e;const r=t?"cursor-not-allowed text-body-md text-on-surface opacity-60":"cursor-pointer text-body-md text-on-surface";return(0,l.jsxs)("div",{className:"flex items-center justify-between gap-4 py-2",children:[(0,l.jsx)("label",{htmlFor:`option-${a}`,className:r,children:n}),(0,l.jsx)(s.A,{id:`option-${a}`,defaultChecked:o,disabled:t,onChange:e=>u(a,e.target.checked)},o)]})}function t(e){let{name:a,min:n,max:s,value:o,label:t,className:u="",onMouseDown:r,onMouseUp:i,onChange:c}=e;const p=t||a.replace(/\./g," ").replace(/^\w/,(e=>e.toUpperCase()));return(0,l.jsxs)("div",{className:`space-y-2 py-2 ${u}`,children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsx)("label",{htmlFor:`option-${a}`,className:"text-body-md text-on-surface",children:p}),(0,l.jsx)("span",{className:"font-mono text-label-md tabular-nums text-secondary",children:o})]}),(0,l.jsx)("input",{type:"range",className:"picinez-range",min:n,max:s,value:o,id:`option-${a}`,onMouseDown:r,onMouseUp:i,onChange:e=>c(a,parseInt(e.target.value,10))})]})}function u(e){let{name:a,groupOptions:n,value:s,onMouseDown:o,onMouseUp:t,onChange:u}=e;return(0,l.jsxs)("div",{className:"space-y-3 py-2",children:[(0,l.jsx)("label",{className:"text-body-md font-medium text-on-surface",children:n.label||a}),(0,l.jsx)("div",{className:"space-y-3 pl-1",children:Object.keys(n.values).map((e=>(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsx)("label",{htmlFor:`option-${a}-${e}`,className:"text-label-md capitalize text-secondary",children:e}),(0,l.jsx)("span",{className:"font-mono text-label-md tabular-nums text-secondary",children:s[e]})]}),(0,l.jsx)("input",{type:"range",className:"picinez-range",min:n.values[e][0],max:n.values[e][1],value:s[e],id:`option-${a}-${e}`,onMouseDown:o,onMouseUp:t,onChange:n=>u(`${a}.${e}`,parseInt(n.target.value,10))})]},e)))})]})}},2064:(e,a,n)=>{n.r(a),n.d(a,{default:()=>o});n(5043);var s=n(1917),l=n(579);function o(e){let{options:a,onMouseDown:n,onMouseUp:o,updateOption:t}=e;return(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsx)(s.l$,{name:"blur",min:0,max:100,value:a.blur,onMouseDown:n,onMouseUp:o,onChange:t}),(0,l.jsx)(s.xu,{name:"unsharpMask",groupOptions:{label:"Unsharp Mask",values:{radius:[0,100],strength:[0,100]}},value:a.unsharpMask,onMouseDown:n,onMouseUp:o,onChange:t}),(0,l.jsx)(s.xu,{name:"lensBlur",groupOptions:{label:"Lens Blur",values:{radius:[0,100],brightness:[-100,100],angle:[-180,180]}},value:a.lensBlur,onMouseDown:n,onMouseUp:o,onChange:t})]})}}}]); 2//# sourceMappingURL=tab-blur.89c80c16.chunk.js.map
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.