@pixerate/editor 0.116.0 → 0.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZYZGEILO.cjs → chunk-2J3LS7JZ.cjs} +203 -203
- package/dist/{chunk-ZYZGEILO.cjs.map → chunk-2J3LS7JZ.cjs.map} +1 -1
- package/dist/{chunk-TFOPHZ3U.cjs → chunk-7ISPWEJA.cjs} +302 -5
- package/dist/chunk-7ISPWEJA.cjs.map +1 -0
- package/dist/{chunk-2UT4GXYA.cjs → chunk-BYAWOAST.cjs} +109 -41
- package/dist/chunk-BYAWOAST.cjs.map +1 -0
- package/dist/{chunk-PAOWHJ5O.cjs → chunk-EBSYZRSW.cjs} +217 -400
- package/dist/chunk-EBSYZRSW.cjs.map +1 -0
- package/dist/{chunk-XK5LZKBD.js → chunk-HKDTM6VC.js} +298 -1
- package/dist/chunk-HKDTM6VC.js.map +1 -0
- package/dist/{chunk-D53VQGEJ.js → chunk-IVSNUXW7.js} +79 -2
- package/dist/chunk-IVSNUXW7.js.map +1 -0
- package/dist/{chunk-ARQ7PQ6Q.js → chunk-JHXMNOMF.js} +71 -3
- package/dist/chunk-JHXMNOMF.js.map +1 -0
- package/dist/{chunk-HOCPSFGA.cjs → chunk-L2T6EJ5S.cjs} +154 -77
- package/dist/chunk-L2T6EJ5S.cjs.map +1 -0
- package/dist/{chunk-SEBYNBHW.js → chunk-R2JE6SA7.js} +9 -9
- package/dist/{chunk-D53KSJUV.js → chunk-VD2UDVF7.js} +100 -283
- package/dist/chunk-VD2UDVF7.js.map +1 -0
- package/dist/{export-BXxSGBCq.d.cts → export-DMOuzgZZ.d.cts} +8 -3
- package/dist/{export-Dm44YUvS.d.ts → export-Dul1SbPv.d.ts} +8 -3
- package/dist/{flow-COCB42TP.d.cts → flow-4-OC-UkQ.d.cts} +22 -1
- package/dist/{flow-BMtHAmg4.d.ts → flow-Cb7lkPm8.d.ts} +22 -1
- package/dist/image-editor/index.cjs +1112 -1024
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +6 -6
- package/dist/image-editor/index.d.ts +6 -6
- package/dist/image-editor/index.js +124 -36
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +8 -4
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +7 -3
- package/dist/paint-editor/index.cjs +242 -242
- package/dist/paint-editor/index.d.cts +4 -4
- package/dist/paint-editor/index.d.ts +4 -4
- package/dist/paint-editor/index.js +4 -4
- package/dist/raster/index.cjs +6 -4
- package/dist/raster/index.cjs.map +1 -1
- package/dist/raster/index.d.cts +2 -2
- package/dist/raster/index.d.ts +2 -2
- package/dist/raster/index.js +27 -25
- package/dist/{render-CrmHOgpo.d.ts → render-B05K68_h.d.ts} +9 -1
- package/dist/{render-B1K_OoLy.d.cts → render-DnAbIKcs.d.cts} +9 -1
- package/dist/vector/index.cjs +11272 -10183
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +135 -1
- package/dist/vector/index.d.ts +135 -1
- package/dist/vector/index.js +11179 -10090
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2UT4GXYA.cjs.map +0 -1
- package/dist/chunk-ARQ7PQ6Q.js.map +0 -1
- package/dist/chunk-D53KSJUV.js.map +0 -1
- package/dist/chunk-D53VQGEJ.js.map +0 -1
- package/dist/chunk-HOCPSFGA.cjs.map +0 -1
- package/dist/chunk-PAOWHJ5O.cjs.map +0 -1
- package/dist/chunk-TFOPHZ3U.cjs.map +0 -1
- package/dist/chunk-XK5LZKBD.js.map +0 -1
- /package/dist/{chunk-SEBYNBHW.js.map → chunk-R2JE6SA7.js.map} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-
|
|
2
|
-
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-DMOuzgZZ.cjs';
|
|
2
|
+
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-DMOuzgZZ.cjs';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
|
|
4
4
|
import { a as BlendMode, c as PixelSurface, R as RasterRect } from '../surface-Cn30xIV6.cjs';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.cjs';
|
|
6
6
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
7
|
-
import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectPattern, M as Interpolation } from '../render-
|
|
8
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
7
|
+
import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectPattern, M as Interpolation } from '../render-DnAbIKcs.cjs';
|
|
8
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-DnAbIKcs.cjs';
|
|
9
9
|
import { b as CaptureSurface } from '../capture-DFEMFmVt.cjs';
|
|
10
10
|
export { D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.cjs';
|
|
11
11
|
export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, k as boxQuad, e as createCanvasTextShaper, f as createMetricTextShaper, g as createOutlineTextShaper, m as cssFont, h as cssFontFamily, n as homographyFromAffine, i as homographyFromPoints, q as invertHomography, l as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-Dpe75vL5.cjs';
|
|
12
12
|
import { C as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-B39VsOtd.cjs';
|
|
13
13
|
export { D as DEFAULT_AUTO_LEADING, E as DEFAULT_TEXT_STYLE, F as LaidChar, L as LaidFragment, f as LaidLine, P as ParagraphRun, G as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, g as WARP_STYLES, h as WARP_STYLE_LABELS, W as WarpPreset, H as caretAt, i as dragWarpMeshPoint, j as evalWarpMesh, I as fitParagraphRuns, J as fitRuns, K as fontOf, t as identityWarpMesh, M as layoutText, N as paragraphRanges, p as pullWarpMesh, o as resizeWarpMesh, O as restyleRange, Q as spliceRuns, R as styleAt, S as textIndexAt, v as warpMeshEditPoints, x as warpMeshGridCurves, y as warpMeshParamAt, B as warpPresetMesh } from '../warp-B39VsOtd.cjs';
|
|
14
14
|
import { B as BezierPath } from '../bezier-BfwIbVTl.cjs';
|
|
15
|
-
import { a as MixerLoad, M as MixerSettings } from '../flow-
|
|
16
|
-
export { F as BlenderScratch, i as BlenderSettings, B as BrushSettings, C as CoverageMap, G as DEFAULT_BLENDER, H as DEFAULT_BRUSH, s as DEFAULT_FLOW, I as DEFAULT_MIXER, J as DEFAULT_RETOUCH, K as DEFAULT_SMUDGE, L as DEFAULT_WET_PAPER, t as DEFAULT_WET_PARAMS, N as DRY_EPS, D as Dab, O as DabWalker, Q as EMPTY_MIXER_LOAD, U as EX, V as EY, X as ExchangeRates, Y as FLAG_ALIVE, Z as FLAG_BOTTOM, _ as FLAG_LEFT, $ as FLAG_RIGHT, a0 as FLAG_TOP, a1 as FLAG_WET, a2 as FLAT, a3 as FREE_INTERVAL, a4 as MAX_BATCH, u as MAX_BRUSH_SIZE, a5 as MAX_TILT_ACCEL, a6 as MAX_WET_LANES, a7 as MAX_WET_SLOTS, a8 as MIXER_DRAIN, a9 as MIXER_PICKUP_RATE, aa as MIXING_MODELS, c as MixerStroke, b as MixerTarget, h as MixingModel, ab as OPP, ac as PAPER_CAPACITY, ad as PARAM, ae as PARAM_FLOATS, af as PIGMENT_CHANNELS, ag as PLANE, ah as PLANE_BYTES, ai as P_D0, aj as P_EDGE, ak as P_FX, al as P_FY, am as P_H, an as P_P0, ao as P_RHO, ap as P_SW, aq as P_UX, ar as P_UY, as as PaintExchange, at as PaintMedium, au as PaintSample, P as PaintTileTarget, av as PixelSource, aw as RETOUCH_SAMPLES, ax as RegionPixelSource, d as RetouchApply, ay as RetouchDabEffect, az as RetouchDabStroke, f as RetouchPaint, aA as RetouchSample, R as RetouchSettings, n as RgbTriple, aB as SET_PLANES, aC as SLOT_BYTES, aD as SLOT_PLANES, aE as SLOT_SIDE, aF as SPOT_HEAL_TYPES, aG as STRIP, aH as SmudgeDab, j as SmudgeSettings, aI as SmudgeTip, aJ as SpotHealType, g as StrokeApply, S as StrokeCoverage, e as StrokePoint, aK as TONE_RANGES, T as TileMedium, aL as TileMediumOptions, aM as TilePixelSource, aN as ToneRange, aO as U_MAX, aP as W9, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, aQ as WET_TILE, p as WetBackendInfo, aR as WetFlowField, x as WetFlowKind, m as WetFlowSpec, aS as WetKernelKind, aT as WetLaneOptions, aU as WetLaneStats, aV as WetPaper, r as WetPaperInput, l as WetParams, q as WetSnapshot, y as WetSupport, k as WetTilt, aW as WetWorkerLayout, aX as WetWorkerPool, W as WetWorld, aY as WetWorldError, o as WetWorldOptions, aZ as applyRetouchToTile, a_ as
|
|
15
|
+
import { a as MixerLoad, M as MixerSettings } from '../flow-4-OC-UkQ.cjs';
|
|
16
|
+
export { F as BlenderScratch, i as BlenderSettings, B as BrushSettings, C as CoverageMap, G as DEFAULT_BLENDER, H as DEFAULT_BRUSH, s as DEFAULT_FLOW, I as DEFAULT_MIXER, J as DEFAULT_RETOUCH, K as DEFAULT_SMUDGE, L as DEFAULT_WET_PAPER, t as DEFAULT_WET_PARAMS, N as DRY_EPS, D as Dab, O as DabWalker, Q as EMPTY_MIXER_LOAD, U as EX, V as EY, X as ExchangeRates, Y as FLAG_ALIVE, Z as FLAG_BOTTOM, _ as FLAG_LEFT, $ as FLAG_RIGHT, a0 as FLAG_TOP, a1 as FLAG_WET, a2 as FLAT, a3 as FREE_INTERVAL, a4 as MAX_BATCH, u as MAX_BRUSH_SIZE, a5 as MAX_TILT_ACCEL, a6 as MAX_WET_LANES, a7 as MAX_WET_SLOTS, a8 as MIXER_DRAIN, a9 as MIXER_PICKUP_RATE, aa as MIXING_MODELS, c as MixerStroke, b as MixerTarget, h as MixingModel, ab as OPP, ac as PAPER_CAPACITY, ad as PARAM, ae as PARAM_FLOATS, af as PIGMENT_CHANNELS, ag as PLANE, ah as PLANE_BYTES, ai as P_D0, aj as P_EDGE, ak as P_FX, al as P_FY, am as P_H, an as P_P0, ao as P_RHO, ap as P_SW, aq as P_UX, ar as P_UY, as as PaintExchange, at as PaintMedium, au as PaintSample, P as PaintTileTarget, av as PixelSource, aw as RETOUCH_SAMPLES, ax as RegionPixelSource, d as RetouchApply, ay as RetouchDabEffect, az as RetouchDabStroke, f as RetouchPaint, aA as RetouchSample, R as RetouchSettings, n as RgbTriple, aB as SET_PLANES, aC as SLOT_BYTES, aD as SLOT_PLANES, aE as SLOT_SIDE, aF as SPOT_HEAL_TYPES, aG as STRIP, aH as SmudgeDab, j as SmudgeSettings, aI as SmudgeTip, aJ as SpotHealType, g as StrokeApply, S as StrokeCoverage, e as StrokePoint, aK as TONE_RANGES, T as TileMedium, aL as TileMediumOptions, aM as TilePixelSource, aN as ToneRange, aO as U_MAX, aP as W9, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, aQ as WET_TILE, p as WetBackendInfo, aR as WetFlowField, x as WetFlowKind, m as WetFlowSpec, aS as WetKernelKind, aT as WetLaneOptions, aU as WetLaneStats, aV as WetPaper, r as WetPaperInput, l as WetParams, q as WetSnapshot, y as WetSupport, k as WetTilt, aW as WetWorkerLayout, aX as WetWorkerPool, W as WetWorld, aY as WetWorldError, o as WetWorldOptions, aZ as applyRetouchToTile, a_ as applyStrokeToDeepTile, a$ as applyStrokeToTile, b0 as applyToneToDeepTile, b1 as blendRadius, b2 as blenderDab, b3 as canShareMemory, b4 as cleanMixer, b5 as coverageTileCoord, b6 as createBlenderScratch, b7 as dabCoverage, b8 as dabRect, b9 as dodgeBurn, ba as dodgeBurnCurve, bb as dsincos, bc as edgeBits, bd as exchangeRates, be as flowField, bf as healPixels, bg as latticeViscosity, bh as loadMixer, bi as loadWetKernel, bj as luma, bk as mixerRates, bl as normalizeBlender, bm as normalizeBrush, z as normalizeFlow, bn as normalizeMixer, bo as normalizeRetouch, bp as normalizeSmudge, bq as normalizeTilt, A as normalizeWetParams, br as packWetParams, bs as perDabStrength, bt as rasterizeDab, bu as readSourceRegion, bv as rgbaViewOfGrey, bw as saturationOf, bx as smoothPoints, by as smudgeEffect, bz as sponge, bA as spongeEffect, bB as spotHealPixels, bC as spotHealWindow, bD as tipFalloff, bE as tipReach, bF as tipShape, bG as toneOf, bH as walkDabs, bI as wetSimdSupported, E as wetSupport } from '../flow-4-OC-UkQ.cjs';
|
|
17
17
|
export { BODY_SCATTER, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, SRGB_TO_LINEAR, WetMedium, WetMediumOptions, bestOffset, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.cjs';
|
|
18
18
|
import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.cjs';
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.cjs';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-
|
|
2
|
-
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-Dul1SbPv.js';
|
|
2
|
+
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-Dul1SbPv.js';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.js';
|
|
4
4
|
import { a as BlendMode, c as PixelSurface, R as RasterRect } from '../surface-Cn30xIV6.js';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.js';
|
|
6
6
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
7
|
-
import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectPattern, M as Interpolation } from '../render-
|
|
8
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
7
|
+
import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectPattern, M as Interpolation } from '../render-B05K68_h.js';
|
|
8
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-B05K68_h.js';
|
|
9
9
|
import { b as CaptureSurface } from '../capture-wwNGaW05.js';
|
|
10
10
|
export { D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.js';
|
|
11
11
|
export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, k as boxQuad, e as createCanvasTextShaper, f as createMetricTextShaper, g as createOutlineTextShaper, m as cssFont, h as cssFontFamily, n as homographyFromAffine, i as homographyFromPoints, q as invertHomography, l as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-BZEOSOX3.js';
|
|
12
12
|
import { C as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-DMN30aY6.js';
|
|
13
13
|
export { D as DEFAULT_AUTO_LEADING, E as DEFAULT_TEXT_STYLE, F as LaidChar, L as LaidFragment, f as LaidLine, P as ParagraphRun, G as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, g as WARP_STYLES, h as WARP_STYLE_LABELS, W as WarpPreset, H as caretAt, i as dragWarpMeshPoint, j as evalWarpMesh, I as fitParagraphRuns, J as fitRuns, K as fontOf, t as identityWarpMesh, M as layoutText, N as paragraphRanges, p as pullWarpMesh, o as resizeWarpMesh, O as restyleRange, Q as spliceRuns, R as styleAt, S as textIndexAt, v as warpMeshEditPoints, x as warpMeshGridCurves, y as warpMeshParamAt, B as warpPresetMesh } from '../warp-DMN30aY6.js';
|
|
14
14
|
import { B as BezierPath } from '../bezier-DYBvLgUH.js';
|
|
15
|
-
import { a as MixerLoad, M as MixerSettings } from '../flow-
|
|
16
|
-
export { F as BlenderScratch, i as BlenderSettings, B as BrushSettings, C as CoverageMap, G as DEFAULT_BLENDER, H as DEFAULT_BRUSH, s as DEFAULT_FLOW, I as DEFAULT_MIXER, J as DEFAULT_RETOUCH, K as DEFAULT_SMUDGE, L as DEFAULT_WET_PAPER, t as DEFAULT_WET_PARAMS, N as DRY_EPS, D as Dab, O as DabWalker, Q as EMPTY_MIXER_LOAD, U as EX, V as EY, X as ExchangeRates, Y as FLAG_ALIVE, Z as FLAG_BOTTOM, _ as FLAG_LEFT, $ as FLAG_RIGHT, a0 as FLAG_TOP, a1 as FLAG_WET, a2 as FLAT, a3 as FREE_INTERVAL, a4 as MAX_BATCH, u as MAX_BRUSH_SIZE, a5 as MAX_TILT_ACCEL, a6 as MAX_WET_LANES, a7 as MAX_WET_SLOTS, a8 as MIXER_DRAIN, a9 as MIXER_PICKUP_RATE, aa as MIXING_MODELS, c as MixerStroke, b as MixerTarget, h as MixingModel, ab as OPP, ac as PAPER_CAPACITY, ad as PARAM, ae as PARAM_FLOATS, af as PIGMENT_CHANNELS, ag as PLANE, ah as PLANE_BYTES, ai as P_D0, aj as P_EDGE, ak as P_FX, al as P_FY, am as P_H, an as P_P0, ao as P_RHO, ap as P_SW, aq as P_UX, ar as P_UY, as as PaintExchange, at as PaintMedium, au as PaintSample, P as PaintTileTarget, av as PixelSource, aw as RETOUCH_SAMPLES, ax as RegionPixelSource, d as RetouchApply, ay as RetouchDabEffect, az as RetouchDabStroke, f as RetouchPaint, aA as RetouchSample, R as RetouchSettings, n as RgbTriple, aB as SET_PLANES, aC as SLOT_BYTES, aD as SLOT_PLANES, aE as SLOT_SIDE, aF as SPOT_HEAL_TYPES, aG as STRIP, aH as SmudgeDab, j as SmudgeSettings, aI as SmudgeTip, aJ as SpotHealType, g as StrokeApply, S as StrokeCoverage, e as StrokePoint, aK as TONE_RANGES, T as TileMedium, aL as TileMediumOptions, aM as TilePixelSource, aN as ToneRange, aO as U_MAX, aP as W9, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, aQ as WET_TILE, p as WetBackendInfo, aR as WetFlowField, x as WetFlowKind, m as WetFlowSpec, aS as WetKernelKind, aT as WetLaneOptions, aU as WetLaneStats, aV as WetPaper, r as WetPaperInput, l as WetParams, q as WetSnapshot, y as WetSupport, k as WetTilt, aW as WetWorkerLayout, aX as WetWorkerPool, W as WetWorld, aY as WetWorldError, o as WetWorldOptions, aZ as applyRetouchToTile, a_ as
|
|
15
|
+
import { a as MixerLoad, M as MixerSettings } from '../flow-Cb7lkPm8.js';
|
|
16
|
+
export { F as BlenderScratch, i as BlenderSettings, B as BrushSettings, C as CoverageMap, G as DEFAULT_BLENDER, H as DEFAULT_BRUSH, s as DEFAULT_FLOW, I as DEFAULT_MIXER, J as DEFAULT_RETOUCH, K as DEFAULT_SMUDGE, L as DEFAULT_WET_PAPER, t as DEFAULT_WET_PARAMS, N as DRY_EPS, D as Dab, O as DabWalker, Q as EMPTY_MIXER_LOAD, U as EX, V as EY, X as ExchangeRates, Y as FLAG_ALIVE, Z as FLAG_BOTTOM, _ as FLAG_LEFT, $ as FLAG_RIGHT, a0 as FLAG_TOP, a1 as FLAG_WET, a2 as FLAT, a3 as FREE_INTERVAL, a4 as MAX_BATCH, u as MAX_BRUSH_SIZE, a5 as MAX_TILT_ACCEL, a6 as MAX_WET_LANES, a7 as MAX_WET_SLOTS, a8 as MIXER_DRAIN, a9 as MIXER_PICKUP_RATE, aa as MIXING_MODELS, c as MixerStroke, b as MixerTarget, h as MixingModel, ab as OPP, ac as PAPER_CAPACITY, ad as PARAM, ae as PARAM_FLOATS, af as PIGMENT_CHANNELS, ag as PLANE, ah as PLANE_BYTES, ai as P_D0, aj as P_EDGE, ak as P_FX, al as P_FY, am as P_H, an as P_P0, ao as P_RHO, ap as P_SW, aq as P_UX, ar as P_UY, as as PaintExchange, at as PaintMedium, au as PaintSample, P as PaintTileTarget, av as PixelSource, aw as RETOUCH_SAMPLES, ax as RegionPixelSource, d as RetouchApply, ay as RetouchDabEffect, az as RetouchDabStroke, f as RetouchPaint, aA as RetouchSample, R as RetouchSettings, n as RgbTriple, aB as SET_PLANES, aC as SLOT_BYTES, aD as SLOT_PLANES, aE as SLOT_SIDE, aF as SPOT_HEAL_TYPES, aG as STRIP, aH as SmudgeDab, j as SmudgeSettings, aI as SmudgeTip, aJ as SpotHealType, g as StrokeApply, S as StrokeCoverage, e as StrokePoint, aK as TONE_RANGES, T as TileMedium, aL as TileMediumOptions, aM as TilePixelSource, aN as ToneRange, aO as U_MAX, aP as W9, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, aQ as WET_TILE, p as WetBackendInfo, aR as WetFlowField, x as WetFlowKind, m as WetFlowSpec, aS as WetKernelKind, aT as WetLaneOptions, aU as WetLaneStats, aV as WetPaper, r as WetPaperInput, l as WetParams, q as WetSnapshot, y as WetSupport, k as WetTilt, aW as WetWorkerLayout, aX as WetWorkerPool, W as WetWorld, aY as WetWorldError, o as WetWorldOptions, aZ as applyRetouchToTile, a_ as applyStrokeToDeepTile, a$ as applyStrokeToTile, b0 as applyToneToDeepTile, b1 as blendRadius, b2 as blenderDab, b3 as canShareMemory, b4 as cleanMixer, b5 as coverageTileCoord, b6 as createBlenderScratch, b7 as dabCoverage, b8 as dabRect, b9 as dodgeBurn, ba as dodgeBurnCurve, bb as dsincos, bc as edgeBits, bd as exchangeRates, be as flowField, bf as healPixels, bg as latticeViscosity, bh as loadMixer, bi as loadWetKernel, bj as luma, bk as mixerRates, bl as normalizeBlender, bm as normalizeBrush, z as normalizeFlow, bn as normalizeMixer, bo as normalizeRetouch, bp as normalizeSmudge, bq as normalizeTilt, A as normalizeWetParams, br as packWetParams, bs as perDabStrength, bt as rasterizeDab, bu as readSourceRegion, bv as rgbaViewOfGrey, bw as saturationOf, bx as smoothPoints, by as smudgeEffect, bz as sponge, bA as spongeEffect, bB as spotHealPixels, bC as spotHealWindow, bD as tipFalloff, bE as tipReach, bF as tipShape, bG as toneOf, bH as walkDabs, bI as wetSimdSupported, E as wetSupport } from '../flow-Cb7lkPm8.js';
|
|
17
17
|
export { BODY_SCATTER, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, SRGB_TO_LINEAR, WetMedium, WetMediumOptions, bestOffset, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.js';
|
|
18
18
|
import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.js';
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.js';
|
|
@@ -358,7 +358,7 @@ import {
|
|
|
358
358
|
writePsd,
|
|
359
359
|
xyToTempTint,
|
|
360
360
|
xyToUv
|
|
361
|
-
} from "../chunk-
|
|
361
|
+
} from "../chunk-R2JE6SA7.js";
|
|
362
362
|
import {
|
|
363
363
|
loadDocument
|
|
364
364
|
} from "../chunk-U5HZSFCS.js";
|
|
@@ -366,7 +366,6 @@ import {
|
|
|
366
366
|
createCaptureTool
|
|
367
367
|
} from "../chunk-REOJJIY3.js";
|
|
368
368
|
import {
|
|
369
|
-
BIT_DEPTHS,
|
|
370
369
|
DEFAULT_GLOBAL_LIGHT,
|
|
371
370
|
DIRECT_GAUSSIAN_MAX_SIGMA,
|
|
372
371
|
INTERPOLATIONS,
|
|
@@ -382,13 +381,9 @@ import {
|
|
|
382
381
|
builtinPatternIds,
|
|
383
382
|
changedTiles,
|
|
384
383
|
compositeSurfaceOver,
|
|
385
|
-
convertSurfaceDepth,
|
|
386
384
|
curveLut,
|
|
387
|
-
deepBytes,
|
|
388
|
-
deepTile,
|
|
389
385
|
defaultEffectGradient,
|
|
390
386
|
defaultLayerEffect,
|
|
391
|
-
depthOf,
|
|
392
387
|
effectColorHex,
|
|
393
388
|
effectReach,
|
|
394
389
|
effectsFingerprint,
|
|
@@ -400,7 +395,6 @@ import {
|
|
|
400
395
|
hasActiveEffects,
|
|
401
396
|
hashNoise,
|
|
402
397
|
insertLayer,
|
|
403
|
-
isBitDepth,
|
|
404
398
|
isInterpolation,
|
|
405
399
|
isLayerEffectKind,
|
|
406
400
|
isLayerLocked,
|
|
@@ -412,33 +406,17 @@ import {
|
|
|
412
406
|
newEffectId,
|
|
413
407
|
normalizeLayerEffects,
|
|
414
408
|
parseEffectColor,
|
|
415
|
-
proxyOf,
|
|
416
|
-
readDeepRegion,
|
|
417
409
|
reduceSurface,
|
|
418
410
|
renderLayerEffects,
|
|
419
411
|
scaleLayerEffect,
|
|
420
|
-
srgbDecode,
|
|
421
|
-
srgbEncode,
|
|
422
|
-
surfaceDepth,
|
|
423
|
-
surfaceFromDeepPixels,
|
|
424
|
-
tileSamples,
|
|
425
|
-
tileSamples16,
|
|
426
|
-
tileSamples32,
|
|
427
|
-
to16From32,
|
|
428
|
-
to16From8,
|
|
429
|
-
to32From16,
|
|
430
|
-
to32From8,
|
|
431
|
-
to8From16,
|
|
432
|
-
to8From32,
|
|
433
412
|
transformSurface,
|
|
434
413
|
transformedBounds,
|
|
435
414
|
validateEffectGradient,
|
|
436
415
|
validateLayerEffect,
|
|
437
416
|
validateLayerEffects,
|
|
438
417
|
warpSurface,
|
|
439
|
-
workingToSamples
|
|
440
|
-
|
|
441
|
-
} from "../chunk-D53KSJUV.js";
|
|
418
|
+
workingToSamples
|
|
419
|
+
} from "../chunk-VD2UDVF7.js";
|
|
442
420
|
import {
|
|
443
421
|
applyHomography,
|
|
444
422
|
base64ToBytes,
|
|
@@ -464,6 +442,7 @@ import {
|
|
|
464
442
|
TONE_RANGES,
|
|
465
443
|
TilePixelSource,
|
|
466
444
|
applyRetouchToTile,
|
|
445
|
+
applyToneToDeepTile,
|
|
467
446
|
bestOffset,
|
|
468
447
|
dilateMask,
|
|
469
448
|
dodgeBurn,
|
|
@@ -488,7 +467,7 @@ import {
|
|
|
488
467
|
spotHealPixels,
|
|
489
468
|
spotHealWindow,
|
|
490
469
|
toneOf
|
|
491
|
-
} from "../chunk-
|
|
470
|
+
} from "../chunk-JHXMNOMF.js";
|
|
492
471
|
import {
|
|
493
472
|
BODY_SCATTER,
|
|
494
473
|
CoverageMap,
|
|
@@ -559,6 +538,7 @@ import {
|
|
|
559
538
|
WetWorkerPool,
|
|
560
539
|
WetWorld,
|
|
561
540
|
WetWorldError,
|
|
541
|
+
applyStrokeToDeepTile,
|
|
562
542
|
applyStrokeToTile,
|
|
563
543
|
blendRadius,
|
|
564
544
|
blenderDab,
|
|
@@ -606,8 +586,9 @@ import {
|
|
|
606
586
|
walkDabs,
|
|
607
587
|
wetSimdSupported,
|
|
608
588
|
wetSupport
|
|
609
|
-
} from "../chunk-
|
|
589
|
+
} from "../chunk-IVSNUXW7.js";
|
|
610
590
|
import {
|
|
591
|
+
BIT_DEPTHS,
|
|
611
592
|
BLEND_MODES,
|
|
612
593
|
PAINTERLY_BLEND_MODES,
|
|
613
594
|
PIGMENT_BANDS,
|
|
@@ -627,13 +608,19 @@ import {
|
|
|
627
608
|
canvasCompositeOperation,
|
|
628
609
|
collectTiles,
|
|
629
610
|
contentBounds,
|
|
611
|
+
convertSurfaceDepth,
|
|
630
612
|
createPigment,
|
|
613
|
+
deepBytes,
|
|
614
|
+
deepTile,
|
|
615
|
+
depthOf,
|
|
631
616
|
emptySurface,
|
|
632
617
|
fillRect,
|
|
633
618
|
finishTile,
|
|
619
|
+
isBitDepth,
|
|
634
620
|
isBlendMode,
|
|
635
621
|
isPainterlyBlendMode,
|
|
636
622
|
isSeparableBlendMode,
|
|
623
|
+
keepDeepSamples,
|
|
637
624
|
lerpPigment,
|
|
638
625
|
lerpPigmentInto,
|
|
639
626
|
mixPigment8,
|
|
@@ -642,6 +629,8 @@ import {
|
|
|
642
629
|
normalizeBlendMode,
|
|
643
630
|
packRgba,
|
|
644
631
|
pigment8,
|
|
632
|
+
proxyOf,
|
|
633
|
+
readDeepRegion,
|
|
645
634
|
readPixel,
|
|
646
635
|
readRegion,
|
|
647
636
|
reflectanceToRgb,
|
|
@@ -649,18 +638,32 @@ import {
|
|
|
649
638
|
setLum,
|
|
650
639
|
setPigmentColor,
|
|
651
640
|
solidSurface,
|
|
641
|
+
srgbDecode,
|
|
642
|
+
srgbEncode,
|
|
652
643
|
standardBlendMode,
|
|
653
644
|
surfaceBytes,
|
|
645
|
+
surfaceDepth,
|
|
646
|
+
surfaceFromDeepPixels,
|
|
654
647
|
surfaceFromPixels,
|
|
655
648
|
surfacesEqual,
|
|
656
649
|
tileCoord,
|
|
657
650
|
tileKey,
|
|
658
651
|
tileRect,
|
|
652
|
+
tileSamples,
|
|
653
|
+
tileSamples16,
|
|
654
|
+
tileSamples32,
|
|
659
655
|
tilesInRect,
|
|
656
|
+
to16From32,
|
|
657
|
+
to16From8,
|
|
658
|
+
to32From16,
|
|
659
|
+
to32From8,
|
|
660
|
+
to8From16,
|
|
661
|
+
to8From32,
|
|
660
662
|
translateSurface,
|
|
661
663
|
uniformTile,
|
|
664
|
+
writeDeepRegion,
|
|
662
665
|
writeRegion
|
|
663
|
-
} from "../chunk-
|
|
666
|
+
} from "../chunk-HKDTM6VC.js";
|
|
664
667
|
import {
|
|
665
668
|
BUILTIN_PROFILES,
|
|
666
669
|
CmsError,
|
|
@@ -2716,6 +2719,28 @@ function selectionSurface(sel) {
|
|
|
2716
2719
|
function liftPixels(surface, sel, o) {
|
|
2717
2720
|
const sb = sel.bounds;
|
|
2718
2721
|
const area = { x: sb.x - o.x, y: sb.y - o.y, width: sb.width, height: sb.height };
|
|
2722
|
+
const depth = surfaceDepth(surface);
|
|
2723
|
+
if (depth !== 8) {
|
|
2724
|
+
const px3 = readDeepRegion(surface, area, depth);
|
|
2725
|
+
const kept2 = px3.slice();
|
|
2726
|
+
const r16 = depth === 16;
|
|
2727
|
+
for (let y = 0; y < area.height; y++) {
|
|
2728
|
+
for (let x = 0; x < area.width; x++) {
|
|
2729
|
+
const k = sel.data[(sb.y + y) * sel.width + sb.x + x] / 255;
|
|
2730
|
+
const i = (y * area.width + x) * 4;
|
|
2731
|
+
if (k <= 0) {
|
|
2732
|
+
px3[i] = px3[i + 1] = px3[i + 2] = px3[i + 3] = 0;
|
|
2733
|
+
continue;
|
|
2734
|
+
}
|
|
2735
|
+
px3[i + 3] = r16 ? Math.round(px3[i + 3] * k) : px3[i + 3] * k;
|
|
2736
|
+
if (!px3[i + 3]) px3[i] = px3[i + 1] = px3[i + 2] = 0;
|
|
2737
|
+
kept2[i + 3] = r16 ? Math.round(kept2[i + 3] * (1 - k)) : kept2[i + 3] * (1 - k);
|
|
2738
|
+
if (!kept2[i + 3]) kept2[i] = kept2[i + 1] = kept2[i + 2] = 0;
|
|
2739
|
+
}
|
|
2740
|
+
}
|
|
2741
|
+
const lifted = writeDeepRegion(new TiledSurface(4, /* @__PURE__ */ new Map(), 0), area, px3);
|
|
2742
|
+
return { lifted, rest: writeDeepRegion(surface, area, kept2) };
|
|
2743
|
+
}
|
|
2719
2744
|
const px2 = readRegion(surface, area);
|
|
2720
2745
|
const kept = new Uint8ClampedArray(px2);
|
|
2721
2746
|
for (let y = 0; y < area.height; y++) {
|
|
@@ -3355,7 +3380,7 @@ var IMAGE_EDITOR_SCHEMA_VERSION = LAYERED_SCHEMA_VERSION;
|
|
|
3355
3380
|
var RETOUCH_TOOLS = ["clone", "heal", "spot-heal", "smudge", "dodge", "burn", "sponge"];
|
|
3356
3381
|
var isRetouchTool = (tool) => RETOUCH_TOOLS.includes(tool);
|
|
3357
3382
|
var STROKE_TOOLS = ["brush", "eraser", "mixer", ...RETOUCH_TOOLS];
|
|
3358
|
-
function paintCoverageInto(base, coverage, apply, rects) {
|
|
3383
|
+
function paintCoverageInto(base, coverage, apply, rects, depth = null) {
|
|
3359
3384
|
const tiles = new Map(base.tiles);
|
|
3360
3385
|
const done = /* @__PURE__ */ new Set();
|
|
3361
3386
|
for (const r of rects) {
|
|
@@ -3363,6 +3388,13 @@ function paintCoverageInto(base, coverage, apply, rects) {
|
|
|
3363
3388
|
const key = tileKey(t.tx, t.ty);
|
|
3364
3389
|
if (done.has(key)) continue;
|
|
3365
3390
|
done.add(key);
|
|
3391
|
+
if (depth && base.channels === 4) {
|
|
3392
|
+
const d = applyStrokeToDeepTile(coverage, tileSamples(base.tiles.get(key), 4, depth, base.defaultValue), t.tx, t.ty, apply);
|
|
3393
|
+
const tile2 = deepTile(d, 4, base.defaultValue);
|
|
3394
|
+
if (tile2) tiles.set(key, tile2);
|
|
3395
|
+
else tiles.delete(key);
|
|
3396
|
+
continue;
|
|
3397
|
+
}
|
|
3366
3398
|
const src = base.tiles.get(key)?.data ?? defaultTile(base);
|
|
3367
3399
|
const data = applyStrokeToTile(coverage, src, base.channels, t.tx, t.ty, apply);
|
|
3368
3400
|
const tile = finishTile(data, base.channels, base.defaultValue);
|
|
@@ -3378,10 +3410,12 @@ function defaultTile(s) {
|
|
|
3378
3410
|
return d;
|
|
3379
3411
|
}
|
|
3380
3412
|
var PaintStrokeSession = class {
|
|
3381
|
-
constructor(controller, target, stroke, apply) {
|
|
3413
|
+
constructor(controller, target, stroke, apply, depth = null) {
|
|
3382
3414
|
this.controller = controller;
|
|
3383
3415
|
this.target = target;
|
|
3384
3416
|
this.apply = apply;
|
|
3417
|
+
const coverage = stroke instanceof StrokeCoverage || "kind" in stroke && stroke.kind === "coverage" && !stroke.finalPaint;
|
|
3418
|
+
this.deep = depth && coverage && target.surface.channels === 4 ? depth : null;
|
|
3385
3419
|
this.before = controller._captureForStroke();
|
|
3386
3420
|
this.base = target.surface;
|
|
3387
3421
|
this.live = new Map(this.base.tiles);
|
|
@@ -3424,6 +3458,9 @@ var PaintStrokeSession = class {
|
|
|
3424
3458
|
fresh = /* @__PURE__ */ new Set();
|
|
3425
3459
|
last = null;
|
|
3426
3460
|
closed = false;
|
|
3461
|
+
/** Brush and eraser strokes on a 16- or 32-bit document: the deep samples of each touched tile. */
|
|
3462
|
+
deep;
|
|
3463
|
+
liveDeep = /* @__PURE__ */ new Map();
|
|
3427
3464
|
/** The new tile of a coverage stroke over the pre-stroke tile `src`. */
|
|
3428
3465
|
compositeTile(src, tx, ty, options = {}, paint) {
|
|
3429
3466
|
const r = this.retouch;
|
|
@@ -3484,6 +3521,18 @@ var PaintStrokeSession = class {
|
|
|
3484
3521
|
}
|
|
3485
3522
|
}
|
|
3486
3523
|
for (const [key, { tx, ty, r }] of regions) {
|
|
3524
|
+
if (this.deep) {
|
|
3525
|
+
const src2 = tileSamples(this.base.tiles.get(key), 4, this.deep, this.base.defaultValue);
|
|
3526
|
+
const prev2 = this.touched.has(key) ? this.liveDeep.get(key) : void 0;
|
|
3527
|
+
this.touched.add(key);
|
|
3528
|
+
const opts = prev2 ? { into: prev2, region: r } : {};
|
|
3529
|
+
const rt = this.retouch;
|
|
3530
|
+
const paint = rt?.kind === "coverage" ? rt.paint() : null;
|
|
3531
|
+
const d = rt?.kind === "coverage" && paint?.kind === "tone" ? applyToneToDeepTile(stroke.coverage, src2, tx, ty, paint.tone, rt.apply, opts) : applyStrokeToDeepTile(stroke.coverage, src2, tx, ty, this.apply, opts);
|
|
3532
|
+
this.liveDeep.set(key, d);
|
|
3533
|
+
this.live.set(key, { data: proxyOf(d, 4), uniform: null, deep: d });
|
|
3534
|
+
continue;
|
|
3535
|
+
}
|
|
3487
3536
|
const src = this.base.tiles.get(key)?.data ?? defaultTile(this.base);
|
|
3488
3537
|
const prev = this.touched.has(key) ? this.live.get(key)?.data : void 0;
|
|
3489
3538
|
this.touched.add(key);
|
|
@@ -3516,7 +3565,8 @@ var PaintStrokeSession = class {
|
|
|
3516
3565
|
let changed = false;
|
|
3517
3566
|
for (const key of this.touched) {
|
|
3518
3567
|
const live = this.live.get(key);
|
|
3519
|
-
const
|
|
3568
|
+
const deep = this.liveDeep.get(key);
|
|
3569
|
+
const tile = deep ? deepTile(deep, 4, this.base.defaultValue) : finishTile(live.data, ch, this.base.defaultValue);
|
|
3520
3570
|
const prev = this.base.tiles.get(key);
|
|
3521
3571
|
if (tile) tiles.set(key, tile);
|
|
3522
3572
|
else tiles.delete(key);
|
|
@@ -3538,9 +3588,36 @@ var PaintStrokeSession = class {
|
|
|
3538
3588
|
this.controller._strokeCommit(this.before, this.target.id, this.target.channel, null);
|
|
3539
3589
|
}
|
|
3540
3590
|
};
|
|
3591
|
+
function keepDeepLayers(prev, next) {
|
|
3592
|
+
const before = /* @__PURE__ */ new Map();
|
|
3593
|
+
for (const l of flattenLayers(prev)) before.set(l.id, l);
|
|
3594
|
+
let out = next;
|
|
3595
|
+
for (const l of flattenLayers(next)) {
|
|
3596
|
+
const p = before.get(l.id);
|
|
3597
|
+
if (!p || p === l) continue;
|
|
3598
|
+
let layer = l;
|
|
3599
|
+
if (l.type === "pixel" && p.type === "pixel" && l.surface !== p.surface) {
|
|
3600
|
+
const surface = keepDeepSamples(p.surface, l.surface);
|
|
3601
|
+
if (surface !== l.surface) layer = { ...l, surface };
|
|
3602
|
+
}
|
|
3603
|
+
const m = layer.mask;
|
|
3604
|
+
const pm = p.mask;
|
|
3605
|
+
if (m && pm && m.surface !== pm.surface) {
|
|
3606
|
+
const surface = keepDeepSamples(pm.surface, m.surface);
|
|
3607
|
+
if (surface !== m.surface) layer = { ...layer, mask: { ...m, surface } };
|
|
3608
|
+
}
|
|
3609
|
+
if (layer !== l) out = mapLayer(out, l.id, () => layer);
|
|
3610
|
+
}
|
|
3611
|
+
return out;
|
|
3612
|
+
}
|
|
3541
3613
|
function sameTile(a, b) {
|
|
3542
3614
|
if (!a || !b) return !a && !b;
|
|
3543
3615
|
if (a === b) return true;
|
|
3616
|
+
if (a.deep || b.deep) {
|
|
3617
|
+
if (!a.deep || !b.deep || a.deep.constructor !== b.deep.constructor || a.deep.length !== b.deep.length) return false;
|
|
3618
|
+
for (let i = 0; i < a.deep.length; i++) if (a.deep[i] !== b.deep[i]) return false;
|
|
3619
|
+
return true;
|
|
3620
|
+
}
|
|
3544
3621
|
if (a.uniform !== null || b.uniform !== null) return a.uniform === b.uniform;
|
|
3545
3622
|
for (let i = 0; i < a.data.length; i++) if (a.data[i] !== b.data[i]) return false;
|
|
3546
3623
|
return true;
|
|
@@ -4167,8 +4244,11 @@ var ImageEditorController = class {
|
|
|
4167
4244
|
/** Records one undo step and applies a new stack (and any other state change in `extra`). */
|
|
4168
4245
|
commitLayers(next, extra, commitToHistory = true) {
|
|
4169
4246
|
if (commitToHistory) this.recordHistory();
|
|
4247
|
+
const prev = this.state.layers;
|
|
4248
|
+
const depth = this.bitDepth;
|
|
4170
4249
|
this.state.layers = next;
|
|
4171
4250
|
extra?.();
|
|
4251
|
+
if (depth !== 8 && this.bitDepth === depth) this.state.layers = keepDeepLayers(prev, this.state.layers);
|
|
4172
4252
|
if (this.state.activeLayerId && !findLayer(next, this.state.activeLayerId)) {
|
|
4173
4253
|
this.state.activeLayerId = null;
|
|
4174
4254
|
this.state.activeTarget = "pixels";
|
|
@@ -5431,8 +5511,9 @@ var ImageEditorController = class {
|
|
|
5431
5511
|
offset: target.offset
|
|
5432
5512
|
};
|
|
5433
5513
|
if (tool === "mixer") return new PaintStrokeSession(this, target, this.mixerStroke(init, brush), apply);
|
|
5434
|
-
|
|
5435
|
-
return new PaintStrokeSession(this, target,
|
|
5514
|
+
const depth = target.channel === "pixels" && this.bitDepth !== 8 ? this.bitDepth : null;
|
|
5515
|
+
if (isRetouchTool(tool)) return new PaintStrokeSession(this, target, this.retouchStroke(tool, init, brush, target, apply), apply, tool === "dodge" || tool === "burn" ? depth : null);
|
|
5516
|
+
return new PaintStrokeSession(this, target, new StrokeCoverage(brush), apply, depth);
|
|
5436
5517
|
}
|
|
5437
5518
|
/** A retouching stroke's start: its settings, what it samples and how it composites. */
|
|
5438
5519
|
retouchStroke(tool, init, brush, target, apply) {
|
|
@@ -5550,8 +5631,11 @@ var ImageEditorController = class {
|
|
|
5550
5631
|
}
|
|
5551
5632
|
/** @internal Commits a finished stroke as one undo step (`before` is the pre-stroke state). */
|
|
5552
5633
|
_strokeCommit(before, layerId, channel, surface) {
|
|
5553
|
-
if (surface)
|
|
5554
|
-
|
|
5634
|
+
if (surface) {
|
|
5635
|
+
const prev = before.layers;
|
|
5636
|
+
this.state.layers = mapLayer(this.state.layers, layerId, (l) => this.withSurface(l, channel, surface));
|
|
5637
|
+
if (this.bitDepth !== 8) this.state.layers = keepDeepLayers(prev, this.state.layers);
|
|
5638
|
+
} else this.state.layers = before.layers;
|
|
5555
5639
|
if (surface && !this.isApplyingHistory) {
|
|
5556
5640
|
this.undoStack.push(before);
|
|
5557
5641
|
if (this.undoStack.length > this.maxHistoryDepth) this.undoStack.shift();
|
|
@@ -5626,7 +5710,8 @@ var ImageEditorController = class {
|
|
|
5626
5710
|
selection: null,
|
|
5627
5711
|
offset: target.offset
|
|
5628
5712
|
};
|
|
5629
|
-
const
|
|
5713
|
+
const depth = target.channel === "pixels" && this.bitDepth !== 8 ? this.bitDepth : null;
|
|
5714
|
+
const surface = paintCoverageInto(target.surface, coverage, apply, [region], depth);
|
|
5630
5715
|
const next = mapLayer(this.state.layers, target.id, (l) => this.withSurface(l, target.channel, surface));
|
|
5631
5716
|
this.commitLayers(next);
|
|
5632
5717
|
return { layerId: target.id, channel: target.channel, bounds: region, dabs: 0 };
|
|
@@ -14202,7 +14287,9 @@ export {
|
|
|
14202
14287
|
applyRetouchToTile,
|
|
14203
14288
|
applyShapeOptions,
|
|
14204
14289
|
applySmartFilters,
|
|
14290
|
+
applyStrokeToDeepTile,
|
|
14205
14291
|
applyStrokeToTile,
|
|
14292
|
+
applyToneToDeepTile,
|
|
14206
14293
|
backgroundLayer,
|
|
14207
14294
|
base64ToBytes,
|
|
14208
14295
|
baseProjection,
|
|
@@ -14463,6 +14550,7 @@ export {
|
|
|
14463
14550
|
isSrgb,
|
|
14464
14551
|
isTransformAnchor,
|
|
14465
14552
|
isValidWarp,
|
|
14553
|
+
keepDeepSamples,
|
|
14466
14554
|
kelvinToTemperature,
|
|
14467
14555
|
keysWeight,
|
|
14468
14556
|
latticeViscosity,
|