securityos/node_modules/next/dist/server/lib/squoosh/codecs.js.map

1 line
6.5 KiB
Plaintext
Raw Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../../src/server/lib/squoosh/codecs.ts"],"names":["preprocessors","codecs","mozEncWasm","path","resolve","__dirname","mozDecWasm","webpEncWasm","webpDecWasm","avifEncWasm","avifDecWasm","pngEncDecWasm","pngEncDecInit","pngEncDec","default","fsp","readFile","pathify","oxipngWasm","oxipngInit","oxipng","resizeWasm","resizeInit","resize","rotateWasm","globalThis","ImageData","resizeNameToIndex","name","Error","resizeWithAspect","input_width","input_height","target_width","target_height","width","height","Math","round","description","instantiate","buffer","method","premultiply","linearRGB","imageData","cleanup","defaultOptions","fitMethod","rotate","numRotations","degrees","sameDimensions","size","instance","WebAssembly","memory","exports","additionalPagesNeeded","ceil","byteLength","grow","view","Uint8ClampedArray","set","slice","mozjpeg","extension","detectors","dec","instantiateEmscriptenWasm","mozDec","enc","mozEnc","defaultEncoderOptions","quality","baseline","arithmetic","progressive","optimize_coding","smoothing","color_space","quant_table","trellis_multipass","trellis_opt_zero","trellis_opt_table","trellis_loops","auto_subsample","chroma_subsample","separate_chroma_quality","chroma_quality","autoOptimize","option","min","max","webp","webpDec","webpEnc","target_size","target_PSNR","sns_strength","filter_strength","filter_sharpness","filter_type","partitions","segments","pass","show_compressed","preprocessing","autofilter","partition_limit","alpha_compression","alpha_filtering","alpha_quality","lossless","exact","image_hint","emulate_jpeg_size","thread_level","low_memory","near_lossless","use_delta_palette","use_sharp_yuv","avif","avifDec","avifEnc","cqLevel","cqAlphaLevel","denoiseLevel","tileColsLog2","tileRowsLog2","speed","subsample","chromaDeltaQ","sharpness","tune","decode","encode","opts","simplePng","Uint8Array","optimise","level"],"mappings":";;;;;;;;;;;;;;;IAqIaA,aAAa;eAAbA;;IAkFAC,MAAM;eAANA;;;oBAvNmB;8DACV;iCAC6B;yEAqChC;yEAGA;sEAMC;sEAGA;sEAMA;sEAGA;qEAKO;wEAOH;wE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