!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("wasm-imagemagick",["exports"],t):t(e["wasm-imagemagick"]={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function r(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;u;)try{if(i=1,o&&(a=2&n[0]?o.return:n[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return u.label++,{value:n[1],done:!1};case 5:u.label++,o=n[1],n=[0];continue;case 7:n=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){u=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]>1;return 1==(1&e)?-t:t}function Z(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function X(e,t){return Math.round(e+Math.random()*(t-e))}function Q(e,t,n,r){if(n=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `".concat(a,"` (").concat(t(a),")"));for(var s=[],u=e[Symbol.iterator](),l=!1,c=!1,p=0,d=0,m=0;m-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),r=this.extractLocation(n.pop()),i=n.join(" ")||void 0,o=["eval",""].indexOf(r[0])>-1?void 0:r[0];return new e({functionName:i,fileName:o,lineNumber:r[1],columnNumber:r[2],source:t})},this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter(function(e){return!e.match(/^(eval@)?(\[native code\])?$/)},this).map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=t.match(/((.*".+"[^@]*)?[^@]*)(?:@)/),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(t.replace(/((.*".+"[^@]*)?[^@]*)(?:@)/,""));return new e({functionName:r,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)}}}(we)}()}),Ie=Y(function(e,n){!function(n,r){e.exports=function(e){return{backtrace:function(n){var r=[],i=10;"object"===t(n)&&"number"==typeof n.maxStackSize&&(i=n.maxStackSize);for(var o=arguments.callee;o&&r.length=0;c--)"."===(a=u[c])?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(n=u.join("/"))&&(n=s?"/":"."),o?(o.path=n,i(o)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),i(n);if(n||t.match(v))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var s="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,i(a)):s}function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function u(e){return e}function l(e){return p(e)?"$"+e:e}function c(e){return p(e)?e.slice(1):e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name)}function m(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name)}function f(e,t){return e===t?0:e>t?1:-1}function h(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=f(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:f(e.name,t.name))}t.getArg=n;var g=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,v=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=i,t.normalize=o,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(g)},t.relative=s;var y=function(){return!("__proto__"in Object.create(null))}();t.toSetString=y?u:l,t.fromSetString=y?u:c,t.compareByOriginalPositions=d,t.compareByGeneratedPositionsDeflated=m,t.compareByGeneratedPositionsInflated=h}),xe=(Le.getArg,Le.urlParse,Le.urlGenerate,Le.normalize,Le.join,Le.isAbsolute,Le.relative,Le.toSetString,Le.fromSetString,Le.compareByOriginalPositions,Le.compareByGeneratedPositionsDeflated,Le.compareByGeneratedPositionsInflated,Y(function(e,t){function n(e,r,i,o,a,s){var u=Math.floor((r-e)/2)+e,l=a(i,o[u],!0);return 0===l?u:l>0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}})),Pe=(xe.GREATEST_LOWER_BOUND,xe.LEAST_UPPER_BOUND,xe.search,Object.prototype.hasOwnProperty);J.fromArray=function(e,t){for(var n=new J,r=0,i=e.length;r=0&&e>>=5)>0&&(t|=32),n+=Ee.encode(t)}while(r>0);return n},decode:function(e,t,n){var r,i,o=e.length,a=0,s=0;do{if(t>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=Ee.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&i),a+=(i&=31)<=0){var o=this._originalMappings[i];if(void 0===e.column)for(var a=o.originalLine;o&&o.originalLine===a;)r.push({line:Le.getArg(o,"generatedLine",null),column:Le.getArg(o,"generatedColumn",null),lastColumn:Le.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var s=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==s;)r.push({line:Le.getArg(o,"generatedLine",null),column:Le.getArg(o,"generatedColumn",null),lastColumn:Le.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return r};var De=K;ee.prototype=Object.create(K.prototype),ee.prototype.consumer=K,ee.fromSourceMap=function(e){var t=Object.create(ee.prototype),n=t._names=Be.fromArray(e._names.toArray(),!0),r=t._sources=Be.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var i=e._mappings.toArray().slice(),o=t.__generatedMappings=[],a=t.__originalMappings=[],s=0,u=i.length;s1&&(n.source=p+i[1],p+=i[1],n.originalLine=l+i[2],l=n.originalLine,n.originalLine+=1,n.originalColumn=c+i[3],c=n.originalColumn,i.length>4&&(n.name=d+i[4],d+=i[4])),y.push(n),"number"==typeof n.originalLine&&v.push(n)}ke(y,Le.compareByGeneratedPositionsDeflated),this.__generatedMappings=y,ke(v,Le.compareByOriginalPositions),this.__originalMappings=v},ee.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return xe.search(e,t,i,o)},ee.prototype.computeColumnSpans=function(){for(var e=0;e=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var i=Le.getArg(r,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=Le.join(this.sourceRoot,i)));var o=Le.getArg(r,"name",null);return null!==o&&(o=this._names.at(o)),{source:i,line:Le.getArg(r,"originalLine",null),column:Le.getArg(r,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}},ee.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},ee.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=Le.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=Le.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},ee.prototype.generatedPositionFor=function(e){var t=Le.getArg(e,"source");if(null!=this.sourceRoot&&(t=Le.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:Le.getArg(e,"line"),originalColumn:Le.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Le.compareByOriginalPositions,Le.getArg(e,"bias",K.GREATEST_LOWER_BOUND));if(r>=0){var i=this._originalMappings[r];if(i.source===n.source)return{line:Le.getArg(i,"generatedLine",null),column:Le.getArg(i,"generatedColumn",null),lastColumn:Le.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Ne=ee;ne.prototype=Object.create(K.prototype),ne.prototype.constructor=K,ne.prototype._version=3,Object.defineProperty(ne.prototype,"sources",{get:function(){for(var e=[],t=0;t=200&&r.status<300||"file://"===e.substr(0,7)&&r.responseText?t(r.responseText):n(new Error("HTTP status: "+r.status+" retrieving "+e)))},r.send()})}function i(e){if("undefined"!=typeof window&&window.atob)return window.atob(e);throw new Error("You must supply a polyfill for window.atob in this environment")}function o(e){if("undefined"!=typeof JSON&&JSON.parse)return JSON.parse(e);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function a(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],r=e.split("\n"),i="",o=Math.min(t,20),a=0;a=0&&(s=s.substr(0,u)),s){i=s+i;for(var l=n.length,c=0;c=200&&s.status<400?o(s.responseText):a(new Error("POST to "+n+" failed with status: "+s.status)))},s.open("post",n),s.setRequestHeader("Content-Type","application/json"),i&&"object"===t(i.headers)){var u=i.headers;for(var l in u)u.hasOwnProperty(l)&&s.setRequestHeader(l,u[l])}var c={stack:e};void 0!==r&&null!==r&&(c.message=r),s.send(JSON.stringify(c))})}}}(Se,Ie,Ge)}()}),je="./magickApi.js",He=function(e,t){return ae(e,t)}(je=function(){return ce()}(),"magick.js"),Ue={},qe=1;(Te=je.startsWith("http")?new Worker(window.URL.createObjectURL(new Blob([function(e){return"var magickJsCurrentPath = '"+e+"';\nimportScripts(magickJsCurrentPath);"}(He)]))):new Worker(He)).onmessage=function(e){var t=e.data,n=Ue[t.requestNumber];delete Ue[t.requestNumber];var r={outputFiles:t.outputFiles,stdout:t.stdout,stderr:t.stderr,exitCode:t.exitCode||0};n.resolve(r)},function(e){e.Center="Center",e.End="End",e.Left="Left",e.Middle="Middle",e.Right="Right",e.Start="Start"}(e.IMAlign||(e.IMAlign={})),function(e){e.Activate="Activate",e.Associate="Associate",e.Background="Background",e.Copy="Copy",e.Deactivate="Deactivate",e.Discrete="Discrete",e.Disassociate="Disassociate",e.Extract="Extract",e.Off="Off",e.On="On",e.Opaque="Opaque",e.Remove="Remove",e.Set="Set",e.Shape="Shape",e.Transparent="Transparent"}(e.IMAlpha||(e.IMAlpha={})),function(e){e.Kapur="Kapur",e.OTSU="OTSU",e.Triangle="Triangle"}(e.IMAutoThreshold||(e.IMAutoThreshold={})),function(e){e.False="False",e.True="True",e["0_"]="0",e["1_"]="1"}(e.IMBoolean||(e.IMBoolean={})),function(e){e.Disk="Disk",e.Distributed="Distributed",e.Map="Map",e.Memory="Memory",e.Ping="Ping"}(e.IMCache||(e.IMCache={})),function(e){e.All="All",e.Sync="Sync",e.Default="Default",e.A="A",e.Alpha="Alpha",e.Black="Black",e.B="B",e.Blue="Blue",e.C="C",e.Chroma="Chroma",e.Cyan="Cyan",e.Gray="Gray",e.G="G",e.Green="Green",e.H="H",e.Hue="Hue",e.K="K",e.L="L",e.Lightness="Lightness",e.Luminance="Luminance",e.M="M",e.Magenta="Magenta",e.Meta="Meta",e.R="R",e.Red="Red",e.S="S",e.Saturation="Saturation",e.Y="Y",e.Yellow="Yellow",e["0_"]="0",e["1_"]="1",e["2_"]="2",e["3_"]="3",e["4_"]="4",e["5_"]="5",e["6_"]="6",e["7_"]="7",e["8_"]="8",e["9_"]="9",e["10_"]="10",e["11_"]="11",e["12_"]="12",e["13_"]="13",e["14_"]="14",e["15_"]="15",e["16_"]="16",e["17_"]="17",e["18_"]="18",e["19_"]="19",e["20_"]="20",e["21_"]="21",e["22_"]="22",e["23_"]="23",e["24_"]="24",e["25_"]="25",e["26_"]="26",e["27_"]="27",e["28_"]="28",e["29_"]="29",e["30_"]="30",e["31_"]="31"}(e.IMChannel||(e.IMChannel={})),function(e){e.DirectClass="DirectClass",e.PseudoClass="PseudoClass"}(e.IMClass||(e.IMClass={})),function(e){e.ObjectBoundingBox="ObjectBoundingBox",e.UserSpace="UserSpace",e.UserSpaceOnUse="UserSpaceOnUse"}(e.IMClipPath||(e.IMClipPath={})),function(e){e.CIELab="CIELab",e.CMY="CMY",e.CMYK="CMYK",e.Gray="Gray",e.HCL="HCL",e.HCLp="HCLp",e.HSB="HSB",e.HSI="HSI",e.HSL="HSL",e.HSV="HSV",e.HWB="HWB",e.Lab="Lab",e.LCH="LCH",e.LCHab="LCHab",e.LCHuv="LCHuv",e.LinearGray="LinearGray",e.LMS="LMS",e.Log="Log",e.Luv="Luv",e.OHTA="OHTA",e.Rec601YCbCr="Rec601YCbCr",e.Rec709YCbCr="Rec709YCbCr",e.RGB="RGB",e.scRGB="scRGB",e.sRGB="sRGB",e.Transparent="Transparent",e.xyY="xyY",e.XYZ="XYZ",e.YCbCr="YCbCr",e.YDbDr="YDbDr",e.YCC="YCC",e.YIQ="YIQ",e.YPbPr="YPbPr",e.YUV="YUV"}(e.IMColorspace||(e.IMColorspace={})),function(e){e["-alpha"]="-alpha",e["+background"]="+background",e["-background"]="-background",e["+format"]="+format",e["-format"]="-format",e["-quiet"]="-quiet",e["+quiet"]="+quiet",e["-regard-warnings"]="-regard-warnings",e["+regard-warnings"]="+regard-warnings",e["+repage"]="+repage",e["-repage"]="-repage",e["+size"]="+size",e["-size"]="-size",e["+virtual-pixel"]="+virtual-pixel",e["-virtual-pixel"]="-virtual-pixel",e["-blur"]="-blur",e["-resize"]="-resize",e["-adaptive-blur"]="-adaptive-blur",e["-adaptive-resize"]="-adaptive-resize",e["-adaptive-sharpen"]="-adaptive-sharpen",e["-adjoin"]="-adjoin",e["+adjoin"]="+adjoin",e["+mattecolor"]="+mattecolor",e["-mattecolor"]="-mattecolor",e["-annotate"]="-annotate",e["-antialias"]="-antialias",e["+antialias"]="+antialias",e["-append"]="-append",e["+append"]="+append",e["+attenuate"]="+attenuate",e["-attenuate"]="-attenuate",e["+authenticate"]="+authenticate",e["-authenticate"]="-authenticate",e["-auto-gamma"]="-auto-gamma",e["-auto-level"]="-auto-level",e["-auto-orient"]="-auto-orient",e["-auto-threshold"]="-auto-threshold",e["+backdrop"]="+backdrop",e["-backdrop"]="-backdrop",e["-bench"]="-bench",e["+bias"]="+bias",e["-bias"]="-bias",e["-black-point-compensation"]="-black-point-compensation",e["+black-point-compensation"]="+black-point-compensation",e["-black-threshold"]="-black-threshold",e["+blend"]="+blend",e["-blend"]="-blend",e["+blue-primary"]="+blue-primary",e["-blue-primary"]="-blue-primary",e["-blue-shift"]="-blue-shift",e["+blue-shift"]="+blue-shift",e["-border"]="-border",e["+bordercolor"]="+bordercolor",e["-bordercolor"]="-bordercolor",e["+borderwidth"]="+borderwidth",e["-borderwidth"]="-borderwidth",e["-brightness-contrast"]="-brightness-contrast",e["+cache"]="+cache",e["-cache"]="-cache",e["+caption"]="+caption",e["-caption"]="-caption",e["-cdl"]="-cdl",e["+channel"]="+channel",e["-channel"]="-channel",e["-channel-fx"]="-channel-fx",e["-charcoal"]="-charcoal",e["-chop"]="-chop",e["-clamp"]="-clamp",e["-clip"]="-clip",e["+clip"]="+clip",e["+clip-mask"]="+clip-mask",e["-clip-mask"]="-clip-mask",e["-clip-path"]="-clip-path",e["+clip-path"]="+clip-path",e["+clone"]="+clone",e["-clone"]="-clone",e["-clut"]="-clut",e["-coalesce"]="-coalesce",e["-colorize"]="-colorize",e["+colormap"]="+colormap",e["-colormap"]="-colormap",e["-color-matrix"]="-color-matrix",e["-colors"]="-colors",e["+colorspace"]="+colorspace",e["-colorspace"]="-colorspace",e["-combine"]="-combine",e["+combine"]="+combine",e["+comment"]="+comment",e["-comment"]="-comment",e["-compare"]="-compare",e["-complex"]="-complex",e["+compose"]="+compose",e["-compose"]="-compose",e["-composite"]="-composite",e["+compress"]="+compress",e["-compress"]="-compress",e["-concurrent"]="-concurrent",e["-connected-components"]="-connected-components",e["-contrast-stretch"]="-contrast-stretch",e["-convolve"]="-convolve",e["-copy"]="-copy",e["-crop"]="-crop",e["-cycle"]="-cycle",e["+debug"]="+debug",e["-debug"]="-debug",e["-decipher"]="-decipher",e["-define"]="-define",e["+define"]="+define",e["+delay"]="+delay",e["-delay"]="-delay",e["+delete"]="+delete",e["-delete"]="-delete",e["+density"]="+density",e["-density"]="-density",e["+depth"]="+depth",e["-depth"]="-depth",e["+descend"]="+descend",e["-descend"]="-descend",e["+deskew"]="+deskew",e["-deskew"]="-deskew",e["-despeckle"]="-despeckle",e["+direction"]="+direction",e["-direction"]="-direction",e["+displace"]="+displace",e["-displace"]="-displace",e["-display"]="-display",e["+display"]="+display",e["+dispose"]="+dispose",e["-dispose"]="-dispose",e["+dissimilarity-threshold"]="+dissimilarity-threshold",e["-dissimilarity-threshold"]="-dissimilarity-threshold",e["+dissolve"]="+dissolve",e["-dissolve"]="-dissolve",e["-distort"]="-distort",e["+distort"]="+distort",e["+dither"]="+dither",e["-dither"]="-dither",e["-draw"]="-draw",e["+duplicate"]="+duplicate",e["-duplicate"]="-duplicate",e["-duration"]="-duration",e["+duration"]="+duration",e["-edge"]="-edge",e["-emboss"]="-emboss",e["-encipher"]="-encipher",e["+encoding"]="+encoding",e["-encoding"]="-encoding",e["+endian"]="+endian",e["-endian"]="-endian",e["-enhance"]="-enhance",e["-equalize"]="-equalize",e["-evaluate"]="-evaluate",e["-evaluate-sequence"]="-evaluate-sequence",e["-exit"]="-exit",e["-extent"]="-extent",e["+extract"]="+extract",e["-extract"]="-extract",e["-family"]="-family",e["+features"]="+features",e["-features"]="-features",e["-fft"]="-fft",e["+fft"]="+fft",e["+fill"]="+fill",e["-fill"]="-fill",e["+filter"]="+filter",e["-filter"]="-filter",e["-flatten"]="-flatten",e["-flip"]="-flip",e["-floodfill"]="-floodfill",e["+floodfill"]="+floodfill",e["-flop"]="-flop",e["+font"]="+font",e["-font"]="-font",e["+foreground"]="+foreground",e["-foreground"]="-foreground",e["-frame"]="-frame",e["-function"]="-function",e["+fuzz"]="+fuzz",e["-fuzz"]="-fuzz",e["-fx"]="-fx",e["-gamma"]="-gamma",e["+gamma"]="+gamma",e["-gaussian-blur"]="-gaussian-blur",e["+geometry"]="+geometry",e["-geometry"]="-geometry",e["+gravity"]="+gravity",e["-gravity"]="-gravity",e["-grayscale"]="-grayscale",e["+green-primary"]="+green-primary",e["-green-primary"]="-green-primary",e["-hald-clut"]="-hald-clut",e["+highlight-color"]="+highlight-color",e["-highlight-color"]="-highlight-color",e["+iconGeometry"]="+iconGeometry",e["-iconGeometry"]="-iconGeometry",e["-iconic"]="-iconic",e["+iconic"]="+iconic",e["-identify"]="-identify",e["-ift"]="-ift",e["+ift"]="+ift",e["-immutable"]="-immutable",e["+immutable"]="+immutable",e["-implode"]="-implode",e["+insert"]="+insert",e["-insert"]="-insert",e["+intensity"]="+intensity",e["-intensity"]="-intensity",e["+intent"]="+intent",e["-intent"]="-intent",e["+interlace"]="+interlace",e["-interlace"]="-interlace",e["+interline-spacing"]="+interline-spacing",e["-interline-spacing"]="-interline-spacing",e["+interpolate"]="+interpolate",e["-interpolate"]="-interpolate",e["-interpolative-resize"]="-interpolative-resize",e["+interword-spacing"]="+interword-spacing",e["-interword-spacing"]="-interword-spacing",e["+kerning"]="+kerning",e["-kerning"]="-kerning",e["-kuwahara"]="-kuwahara",e["+label"]="+label",e["-label"]="-label",e["-lat"]="-lat",e["-layers"]="-layers",e["-level"]="-level",e["+level"]="+level",e["-level-colors"]="-level-colors",e["+level-colors"]="+level-colors",e["-limit"]="-limit",e["-linear-stretch"]="-linear-stretch",e["-liquid-rescale"]="-liquid-rescale",e["-list"]="-list",e["-local-contrast"]="-local-contrast",e["+log"]="+log",e["-log"]="-log",e["+loop"]="+loop",e["-loop"]="-loop",e["+lowlight-color"]="+lowlight-color",e["-lowlight-color"]="-lowlight-color",e["-magnify"]="-magnify",e["+mask"]="+mask",e["-mask"]="-mask",e["+metric"]="+metric",e["-metric"]="-metric",e["+mode"]="+mode",e["-modulate"]="-modulate",e["-moments"]="-moments",e["+moments"]="+moments",e["-monitor"]="-monitor",e["+monitor"]="+monitor",e["+monochrome"]="+monochrome",e["-monochrome"]="-monochrome",e["-morph"]="-morph",e["-morphology"]="-morphology",e["-mosaic"]="-mosaic",e["-motion-blur"]="-motion-blur",e["+name"]="+name",e["-name"]="-name",e["+negate"]="+negate",e["-negate"]="-negate",e["-noise"]="-noise",e["+noise"]="+noise",e["-noop"]="-noop",e["-normalize"]="-normalize",e["-opaque"]="-opaque",e["+opaque"]="+opaque",e["-ordered-dither"]="-ordered-dither",e["+orient"]="+orient",e["-orient"]="-orient",e["+page"]="+page",e["-page"]="-page",e["-paint"]="-paint",e["+path"]="+path",e["-path"]="-path",e["+pause"]="+pause",e["-pause"]="-pause",e["-ping"]="-ping",e["+ping"]="+ping",e["+pointsize"]="+pointsize",e["-pointsize"]="-pointsize",e["+polaroid"]="+polaroid",e["-polaroid"]="-polaroid",e["-poly"]="-poly",e["-posterize"]="-posterize",e["+precision"]="+precision",e["-precision"]="-precision",e["-preview"]="-preview",e["-print"]="-print",e["-process"]="-process",e["+profile"]="+profile",e["-profile"]="-profile",e["+quality"]="+quality",e["-quality"]="-quality",e["+quantize"]="+quantize",e["-quantize"]="-quantize",e["-raise"]="-raise",e["+raise"]="+raise",e["-random-threshold"]="-random-threshold",e["-range-threshold"]="-range-threshold",e["-read"]="-read",e["+read-mask"]="+read-mask",e["-read-mask"]="-read-mask",e["+red-primary"]="+red-primary",e["-red-primary"]="-red-primary",e["+region"]="+region",e["-region"]="-region",e["+remap"]="+remap",e["-remap"]="-remap",e["+remote"]="+remote",e["-remote"]="-remote",e["-render"]="-render",e["+render"]="+render",e["-resample"]="-resample",e["-respect-parenthesis"]="-respect-parenthesis",e["+respect-parenthesis"]="+respect-parenthesis",e["-reverse"]="-reverse",e["-roll"]="-roll",e["-rotate"]="-rotate",e["-rotational-blur"]="-rotational-blur",e["-sample"]="-sample",e["+sampling-factor"]="+sampling-factor",e["-sampling-factor"]="-sampling-factor",e["-scale"]="-scale",e["+scene"]="+scene",e["-scene"]="-scene",e["+scenes"]="+scenes",e["-scenes"]="-scenes",e["+screen"]="+screen",e["-screen"]="-screen",e["-script"]="-script",e["+seed"]="+seed",e["-seed"]="-seed",e["-segment"]="-segment",e["-selective-blur"]="-selective-blur",e["-separate"]="-separate",e["-sepia-tone"]="-sepia-tone",e["+set"]="+set",e["-set"]="-set",e["-shade"]="-shade",e["-shadow"]="-shadow",e["+shared-memory"]="+shared-memory",e["-shared-memory"]="-shared-memory",e["-sharpen"]="-sharpen",e["-shave"]="-shave",e["-shear"]="-shear",e["-sigmoidal-contrast"]="-sigmoidal-contrast",e["+sigmoidal-contrast"]="+sigmoidal-contrast",e["+silent"]="+silent",e["-silent"]="-silent",e["+similarity-threshold"]="+similarity-threshold",e["-similarity-threshold"]="-similarity-threshold",e["-sketch"]="-sketch",e["-smush"]="-smush",e["+smush"]="+smush",e["+snaps"]="+snaps",e["-snaps"]="-snaps",e["-solarize"]="-solarize",e["-sparse-color"]="-sparse-color",e["-splice"]="-splice",e["-spread"]="-spread",e["-statistic"]="-statistic",e["+stegano"]="+stegano",e["-stegano"]="-stegano",e["-stereo"]="-stereo",e["-stretch"]="-stretch",e["-strip"]="-strip",e["+stroke"]="+stroke",e["-stroke"]="-stroke",e["-strokewidth"]="-strokewidth",e["+strokewidth"]="+strokewidth",e["+style"]="+style",e["-style"]="-style",e["-subimage"]="-subimage",e["-subimage-search"]="-subimage-search",e["+subimage-search"]="+subimage-search",e["+swap"]="+swap",e["-swap"]="-swap",e["-swirl"]="-swirl",e["-synchronize"]="-synchronize",e["+synchronize"]="+synchronize",e["-taint"]="-taint",e["+taint"]="+taint",e["+text-font"]="+text-font",e["-text-font"]="-text-font",e["+texture"]="+texture",e["-texture"]="-texture",e["+threshold"]="+threshold",e["-threshold"]="-threshold",e["-thumbnail"]="-thumbnail",e["+tile"]="+tile",e["-tile"]="-tile",e["+tile-offset"]="+tile-offset",e["-tile-offset"]="-tile-offset",e["-tint"]="-tint",e["+tint"]="+tint",e["+title"]="+title",e["-title"]="-title",e["-transparent"]="-transparent",e["+transparent"]="+transparent",e["+transparent-color"]="+transparent-color",e["-transparent-color"]="-transparent-color",e["-transpose"]="-transpose",e["-transverse"]="-transverse",e["-treedepth"]="-treedepth",e["-trim"]="-trim",e["+type"]="+type",e["-type"]="-type",e["+undercolor"]="+undercolor",e["-undercolor"]="-undercolor",e["-unique"]="-unique",e["+unique"]="+unique",e["-unique-colors"]="-unique-colors",e["+units"]="+units",e["-units"]="-units",e["-unsharp"]="-unsharp",e["+update"]="+update",e["-update"]="-update",e["+use-pixmap"]="+use-pixmap",e["-use-pixmap"]="-use-pixmap",e["-verbose"]="-verbose",e["+verbose"]="+verbose",e["-version"]="-version",e["+view"]="+view",e["-view"]="-view",e["-vignette"]="-vignette",e["+visual"]="+visual",e["-visual"]="-visual",e["+watermark"]="+watermark",e["-watermark"]="-watermark",e["-wave"]="-wave",e["-wavelet-denoise"]="-wavelet-denoise",e["-weight"]="-weight",e["+white-point"]="+white-point",e["-white-point"]="-white-point",e["-white-threshold"]="-white-threshold",e["+window"]="+window",e["-window"]="-window",e["+window-group"]="+window-group",e["-window-group"]="-window-group",e["-write"]="-write",e["+write"]="+write",e["+write-mask"]="+write-mask",e["-write-mask"]="-write-mask"}(e.IMCommand||(e.IMCommand={})),function(e){e.CSS="CSS",e.MVG="MVG",e.No="No",e.SVG="SVG",e.X11="X11",e.XPM="XPM"}(e.IMCompliance||(e.IMCompliance={})),function(e){e.Add="Add",e.Conjugate="Conjugate",e.Divide="Divide",e.MagnitudePhase="MagnitudePhase",e.Multiply="Multiply",e.RealImaginary="RealImaginary",e.Subtract="Subtract"}(e.IMComplex||(e.IMComplex={})),function(e){e.Atop="Atop",e.Blend="Blend",e.Blur="Blur",e.Bumpmap="Bumpmap",e.ChangeMask="ChangeMask",e.Clear="Clear",e.ColorBurn="ColorBurn",e.ColorDodge="ColorDodge",e.Colorize="Colorize",e.CopyAlpha="CopyAlpha",e.CopyBlack="CopyBlack",e.CopyBlue="CopyBlue",e.CopyCyan="CopyCyan",e.CopyGreen="CopyGreen",e.Copy="Copy",e.CopyMagenta="CopyMagenta",e.CopyRed="CopyRed",e.CopyYellow="CopyYellow",e.Darken="Darken",e.DarkenIntensity="DarkenIntensity",e.DivideDst="DivideDst",e.DivideSrc="DivideSrc",e.Dst="Dst",e.Difference="Difference",e.Displace="Displace",e.Dissolve="Dissolve",e.Distort="Distort",e.DstAtop="DstAtop",e.DstIn="DstIn",e.DstOut="DstOut",e.DstOver="DstOver",e.Exclusion="Exclusion",e.HardLight="HardLight",e.HardMix="HardMix",e.Hue="Hue",e.In="In",e.Intensity="Intensity",e.Lighten="Lighten",e.LightenIntensity="LightenIntensity",e.LinearBurn="LinearBurn",e.LinearDodge="LinearDodge",e.LinearLight="LinearLight",e.Luminize="Luminize",e.Mathematics="Mathematics",e.MinusDst="MinusDst",e.MinusSrc="MinusSrc",e.Modulate="Modulate",e.ModulusAdd="ModulusAdd",e.ModulusSubtract="ModulusSubtract",e.Multiply="Multiply",e.None="None",e.Out="Out",e.Overlay="Overlay",e.Over="Over",e.PegtopLight="PegtopLight",e.PinLight="PinLight",e.Plus="Plus",e.Replace="Replace",e.Saturate="Saturate",e.Screen="Screen",e.SoftLight="SoftLight",e.Src="Src",e.SrcAtop="SrcAtop",e.SrcIn="SrcIn",e.SrcOut="SrcOut",e.SrcOver="SrcOver",e.Stereo="Stereo",e.VividLight="VividLight",e.Xor="Xor"}(e.IMCompose||(e.IMCompose={})),function(e){e.B44A="B44A",e.B44="B44",e.BZip="BZip",e.DXT1="DXT1",e.DXT3="DXT3",e.DXT5="DXT5",e.Fax="Fax",e.Group4="Group4",e.JBIG1="JBIG1",e.JBIG2="JBIG2",e.JPEG2000="JPEG2000",e.JPEG="JPEG",e.LosslessJPEG="LosslessJPEG",e.Lossless="Lossless",e.LZMA="LZMA",e.LZW="LZW",e.None="None",e.Piz="Piz",e.Pxr24="Pxr24",e.RLE="RLE",e.RunlengthEncoded="RunlengthEncoded",e.WebP="WebP",e.ZipS="ZipS",e.Zip="Zip",e.Zstd="Zstd"}(e.IMCompress||(e.IMCompress={})),function(e){e.Byte="Byte",e.Long="Long",e.Short="Short",e.String="String"}(e.IMDataType||(e.IMDataType={})),function(e){e.All="All",e.Accelerate="Accelerate",e.Annotate="Annotate",e.Blob="Blob",e.Cache="Cache",e.Coder="Coder",e.Command="Command",e.Configure="Configure",e.Deprecate="Deprecate",e.Draw="Draw",e.Exception="Exception",e.Locale="Locale",e.Module="Module",e.None="None",e.Pixel="Pixel",e.Policy="Policy",e.Resource="Resource",e.Trace="Trace",e.Transform="Transform",e.User="User",e.Wand="Wand",e.X11="X11"}(e.IMDebug||(e.IMDebug={})),function(e){e.LineThrough="LineThrough",e.None="None",e.Overline="Overline",e.Underline="Underline"}(e.IMDecoration||(e.IMDecoration={})),function(e){e["right-to-left"]="right-to-left",e["left-to-right"]="left-to-right"}(e.IMDirection||(e.IMDirection={})),function(e){e.Undefined="Undefined",e.Background="Background",e.None="None",e.Previous="Previous",e["0_"]="0",e["1_"]="1",e["2_"]="2",e["3_"]="3"}(e.IMDispose||(e.IMDispose={})),function(e){e.Affine="Affine",e.AffineProjection="AffineProjection",e.ScaleRotateTranslate="ScaleRotateTranslate",e.SRT="SRT",e.Perspective="Perspective",e.PerspectiveProjection="PerspectiveProjection",e.BilinearForward="BilinearForward",e.BilinearReverse="BilinearReverse",e.Polynomial="Polynomial",e.Arc="Arc",e.Polar="Polar",e.DePolar="DePolar",e.Barrel="Barrel",e.BarrelInverse="BarrelInverse",e.Shepards="Shepards",e.Resize="Resize"}(e.IMDistort||(e.IMDistort={})),function(e){e.None="None",e.FloydSteinberg="FloydSteinberg",e.Riemersma="Riemersma"}(e.IMDither||(e.IMDither={})),function(e){e.LSB="LSB",e.MSB="MSB"}(e.IMEndian||(e.IMEndian={})),function(e){e.Abs="Abs",e.Add="Add",e.AddModulus="AddModulus",e.And="And",e.Cos="Cos",e.Cosine="Cosine",e.Divide="Divide",e.Exp="Exp",e.Exponential="Exponential",e.GaussianNoise="GaussianNoise",e.ImpulseNoise="ImpulseNoise",e.LaplacianNoise="LaplacianNoise",e.LeftShift="LeftShift",e.Log="Log",e.Max="Max",e.Mean="Mean",e.Median="Median",e.Min="Min",e.MultiplicativeNoise="MultiplicativeNoise",e.Multiply="Multiply",e.Or="Or",e.PoissonNoise="PoissonNoise",e.Pow="Pow",e.RightShift="RightShift",e.RMS="RMS",e.RootMeanSquare="RootMeanSquare",e.Set="Set",e.Sin="Sin",e.Sine="Sine",e.Subtract="Subtract",e.Sum="Sum",e.Threshold="Threshold",e.ThresholdBlack="ThresholdBlack",e.ThresholdWhite="ThresholdWhite",e.UniformNoise="UniformNoise",e.Xor="Xor"}(e.IMEvaluate||(e.IMEvaluate={})),function(e){e.Evenodd="Evenodd",e.NonZero="NonZero"}(e.IMFillRule||(e.IMFillRule={})),function(e){e.Bartlett="Bartlett",e.Blackman="Blackman",e.Bohman="Bohman",e.Box="Box",e.Catrom="Catrom",e.Cosine="Cosine",e.Cubic="Cubic",e.Gaussian="Gaussian",e.Hamming="Hamming",e.Hann="Hann",e.Hermite="Hermite",e.Jinc="Jinc",e.Kaiser="Kaiser",e.Lagrange="Lagrange",e.Lanczos="Lanczos",e.Lanczos2="Lanczos2",e.Lanczos2Sharp="Lanczos2Sharp",e.LanczosRadius="LanczosRadius",e.LanczosSharp="LanczosSharp",e.Mitchell="Mitchell",e.Parzen="Parzen",e.Point="Point",e.Quadratic="Quadratic",e.Robidoux="Robidoux",e.RobidouxSharp="RobidouxSharp",e.Sinc="Sinc",e.SincFast="SincFast",e.Spline="Spline",e.CubicSpline="CubicSpline",e.Triangle="Triangle",e.Welch="Welch"}(e.IMFilter||(e.IMFilter={})),function(e){e.Polynomial="Polynomial",e.Sinusoid="Sinusoid",e.ArcSin="ArcSin",e.ArcTan="ArcTan"}(e.IMFunction||(e.IMFunction={})),function(e){e.Linear="Linear",e.Radial="Radial"}(e.IMGradient||(e.IMGradient={})),function(e){e.None="None",e.Center="Center",e.East="East",e.Forget="Forget",e.NorthEast="NorthEast",e.North="North",e.NorthWest="NorthWest",e.SouthEast="SouthEast",e.South="South",e.SouthWest="SouthWest",e.West="West"}(e.IMGravity||(e.IMGravity={})),function(e){e.Average="Average",e.Brightness="Brightness",e.Lightness="Lightness",e.Mean="Mean",e.MS="MS",e.Rec601Luma="Rec601Luma",e.Rec601Luminance="Rec601Luminance",e.Rec709Luma="Rec709Luma",e.Rec709Luminance="Rec709Luminance",e.RMS="RMS"}(e.IMIntensity||(e.IMIntensity={})),function(e){e.Absolute="Absolute",e.Perceptual="Perceptual",e.Relative="Relative",e.Saturation="Saturation"}(e.IMIntent||(e.IMIntent={})),function(e){e.Line="Line",e.None="None",e.Plane="Plane",e.Partition="Partition",e.GIF="GIF",e.JPEG="JPEG",e.PNG="PNG"}(e.IMInterlace||(e.IMInterlace={})),function(e){e.Average="Average",e.Average4="Average4",e.Average9="Average9",e.Average16="Average16",e.Background="Background",e.Bilinear="Bilinear",e.Blend="Blend",e.Catrom="Catrom",e.Integer="Integer",e.Mesh="Mesh",e.Nearest="Nearest",e.Spline="Spline"}(e.IMInterpolate||(e.IMInterpolate={})),function(e){e.Unity="Unity",e.Gaussian="Gaussian",e.DoG="DoG",e.LoG="LoG",e.Blur="Blur",e.Comet="Comet",e.Binomial="Binomial",e.Laplacian="Laplacian",e.Sobel="Sobel",e.FreiChen="FreiChen",e.Roberts="Roberts",e.Prewitt="Prewitt",e.Compass="Compass",e.Kirsch="Kirsch",e.Diamond="Diamond",e.Square="Square",e.Rectangle="Rectangle",e.Disk="Disk",e.Octagon="Octagon",e.Plus="Plus",e.Cross="Cross",e.Ring="Ring",e.Peaks="Peaks",e.Edges="Edges",e.Corners="Corners",e.Diagonals="Diagonals",e.LineEnds="LineEnds",e.LineJunctions="LineJunctions",e.Ridges="Ridges",e.ConvexHull="ConvexHull",e.ThinSe="ThinSe",e.Skeleton="Skeleton",e.Chebyshev="Chebyshev",e.Manhattan="Manhattan",e.Octagonal="Octagonal",e.Euclidean="Euclidean"}(e.IMKernel||(e.IMKernel={})),function(e){e.Coalesce="Coalesce",e.CompareAny="CompareAny",e.CompareClear="CompareClear",e.CompareOverlay="CompareOverlay",e.Dispose="Dispose",e.Optimize="Optimize",e.OptimizeFrame="OptimizeFrame",e.OptimizePlus="OptimizePlus",e.OptimizeTransparency="OptimizeTransparency",e.RemoveDups="RemoveDups",e.RemoveZero="RemoveZero",e.Composite="Composite",e.Merge="Merge",e.Flatten="Flatten",e.Mosaic="Mosaic",e.TrimBounds="TrimBounds"}(e.IMLayers||(e.IMLayers={})),function(e){e.Butt="Butt",e.Round="Round",e.Square="Square"}(e.IMLineCap||(e.IMLineCap={})),function(e){e.Bevel="Bevel",e.Miter="Miter",e.Round="Round"}(e.IMLineJoin||(e.IMLineJoin={})),function(e){e.Align="Align",e.Alpha="Alpha",e.AutoThreshold="AutoThreshold",e.Boolean="Boolean",e.Cache="Cache",e.Channel="Channel",e.Class="Class",e.CLI="CLI",e.ClipPath="ClipPath",e.Coder="Coder",e.Color="Color",e.Colorspace="Colorspace",e.Command="Command",e.Compliance="Compliance",e.Complex="Complex",e.Compose="Compose",e.Compress="Compress",e.Configure="Configure",e.DataType="DataType",e.Debug="Debug",e.Decoration="Decoration",e.Delegate="Delegate",e.Direction="Direction",e.Dispose="Dispose",e.Distort="Distort",e.Dither="Dither",e.Endian="Endian",e.Evaluate="Evaluate",e.FillRule="FillRule",e.Filter="Filter",e.Font="Font",e.Format="Format",e.Function="Function",e.Gradient="Gradient",e.Gravity="Gravity",e.Intensity="Intensity",e.Intent="Intent",e.Interlace="Interlace",e.Interpolate="Interpolate",e.Kernel="Kernel",e.Layers="Layers",e.LineCap="LineCap",e.LineJoin="LineJoin",e.List="List",e.Locale="Locale",e.LogEvent="LogEvent",e.Log="Log",e.Magic="Magic",e.Method="Method",e.Metric="Metric",e.Mime="Mime",e.Mode="Mode",e.Morphology="Morphology",e.Module="Module",e.Noise="Noise",e.Orientation="Orientation",e.PixelChannel="PixelChannel",e.PixelIntensity="PixelIntensity",e.PixelMask="PixelMask",e.PixelTrait="PixelTrait",e.Policy="Policy",e.PolicyDomain="PolicyDomain",e.PolicyRights="PolicyRights",e.Preview="Preview",e.Primitive="Primitive",e.QuantumFormat="QuantumFormat",e.Resource="Resource",e.SparseColor="SparseColor",e.Statistic="Statistic",e.Storage="Storage",e.Stretch="Stretch",e.Style="Style",e.Threshold="Threshold",e.Tool="Tool",e.Type="Type",e.Units="Units",e.Validate="Validate",e.VirtualPixel="VirtualPixel",e.Weight="Weight"}(e.IMList||(e.IMList={})),function(e){e.All="All",e.Accelerate="Accelerate",e.Annotate="Annotate",e.Blob="Blob",e.Cache="Cache",e.Coder="Coder",e.Command="Command",e.Configure="Configure",e.Deprecate="Deprecate",e.Draw="Draw",e.Exception="Exception",e.Locale="Locale",e.Module="Module",e.None="None",e.Pixel="Pixel",e.Policy="Policy",e.Resource="Resource",e.Trace="Trace",e.Transform="Transform",e.User="User",e.Wand="Wand",e.X11="X11"}(e.IMLogEvent||(e.IMLogEvent={})),function(e){e["Path: /etc/ImageMagick-7/log.xml"]="Path: /etc/ImageMagick-7/log.xml",e["Console Generations Limit Format"]="Console Generations Limit Format",e["-------------------------------------------------------------------------------"]="-------------------------------------------------------------------------------",e["Magick-%g.log 3 2000 %t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"]="Magick-%g.log 3 2000 %t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e",e["Path: [built-in]"]="Path: [built-in]",e["Magick-%g.log 0 0 %t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"]="Magick-%g.log 0 0 %t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"}(e.IMLog||(e.IMLog={})),function(e){e.FillToBorder="FillToBorder",e.Floodfill="Floodfill",e.Point="Point",e.Replace="Replace",e.Reset="Reset"}(e.IMMethod||(e.IMMethod={})),function(e){e.AE="AE",e.DSSIM="DSSIM",e.Fuzz="Fuzz",e.MAE="MAE",e.MEPP="MEPP",e.MSE="MSE",e.NCC="NCC",e.PAE="PAE",e.PHASH="PHASH",e.PSNR="PSNR",e.RMSE="RMSE",e.SSIM="SSIM"}(e.IMMetric||(e.IMMetric={})),function(e){e.Concatenate="Concatenate",e.Frame="Frame",e.Unframe="Unframe"}(e.IMMode||(e.IMMode={})),function(e){e.Correlate="Correlate",e.Convolve="Convolve",e.Dilate="Dilate",e.Erode="Erode",e.Close="Close",e.Open="Open",e.DilateIntensity="DilateIntensity",e.ErodeIntensity="ErodeIntensity",e.CloseIntensity="CloseIntensity",e.OpenIntensity="OpenIntensity",e.DilateI="DilateI",e.ErodeI="ErodeI",e.CloseI="CloseI",e.OpenI="OpenI",e.Smooth="Smooth",e.EdgeOut="EdgeOut",e.EdgeIn="EdgeIn",e.Edge="Edge",e.TopHat="TopHat",e.BottomHat="BottomHat",e.Hmt="Hmt",e.HitNMiss="HitNMiss",e.HitAndMiss="HitAndMiss",e.Thinning="Thinning",e.Thicken="Thicken",e.Distance="Distance",e.IterativeDistance="IterativeDistance"}(e.IMMorphology||(e.IMMorphology={})),function(e){e["Path: /usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/coders"]="Path: /usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/coders",e["Image Coder"]="Image Coder",e["-------------------------------------------------------------------------------"]="-------------------------------------------------------------------------------",e.aai="aai",e.art="art",e.avs="avs",e.bgr="bgr",e.bmp="bmp",e.braille="braille",e.cals="cals",e.caption="caption",e.cin="cin",e.cip="cip",e.clip="clip",e.cmyk="cmyk",e.cut="cut",e.dcm="dcm",e.dds="dds",e.debug="debug",e.dib="dib",e.dng="dng",e.dot="dot",e.dpx="dpx",e.ept="ept",e.exr="exr",e.fax="fax",e.fits="fits",e.gif="gif",e.gradient="gradient",e.gray="gray",e.hald="hald",e.hdr="hdr",e.heic="heic",e.histogram="histogram",e.hrz="hrz",e.html="html",e.icon="icon",e.info="info",e.inline="inline",e.ipl="ipl",e.jbig="jbig",e.jnx="jnx",e.jp2="jp2",e.jpeg="jpeg",e.json="json",e.label="label",e.mac="mac",e.magick="magick",e.map="map",e.mask="mask",e.mat="mat",e.matte="matte",e.meta="meta",e.miff="miff",e.mono="mono",e.mpc="mpc",e.mpeg="mpeg",e.mpr="mpr",e.msl="msl",e.mtv="mtv",e.mvg="mvg",e.null="null",e.otb="otb",e.palm="palm",e.pango="pango",e.pattern="pattern",e.pcd="pcd",e.pcl="pcl",e.pcx="pcx",e.pdb="pdb",e.pdf="pdf",e.pes="pes",e.pgx="pgx",e.pict="pict",e.pix="pix",e.plasma="plasma",e.png="png",e.pnm="pnm",e.ps="ps",e.ps2="ps2",e.ps3="ps3",e.psd="psd",e.pwp="pwp",e.raw="raw",e.rgb="rgb",e.rgf="rgf",e.rla="rla",e.rle="rle",e.scr="scr",e.sct="sct",e.sfw="sfw",e.sgi="sgi",e.sixel="sixel",e.stegano="stegano",e.sun="sun",e.svg="svg",e.tga="tga",e.thumbnail="thumbnail",e.tiff="tiff",e.tile="tile",e.tim="tim",e.ttf="ttf",e.txt="txt",e.uil="uil",e.url="url",e.uyvy="uyvy",e.vicar="vicar",e.vid="vid",e.viff="viff",e.vips="vips",e.wbmp="wbmp",e.webp="webp",e.wmf="wmf",e.wpg="wpg",e.x="x",e.xbm="xbm",e.xc="xc",e.xcf="xcf",e.xpm="xpm",e.xps="xps",e.xtrn="xtrn",e.xwd="xwd",e.ycbcr="ycbcr",e.yuv="yuv",e["Path: /usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/filters"]="Path: /usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/filters",e["Image Filter"]="Image Filter",e.analyze="analyze"}(e.IMModule||(e.IMModule={})),function(e){e.Gaussian="Gaussian",e.Impulse="Impulse",e.Laplacian="Laplacian",e.Multiplicative="Multiplicative",e.Poisson="Poisson",e.Random="Random",e.Uniform="Uniform"}(e.IMNoise||(e.IMNoise={})),function(e){e.TopLeft="TopLeft",e.TopRight="TopRight",e.BottomRight="BottomRight",e.BottomLeft="BottomLeft",e.LeftTop="LeftTop",e.RightTop="RightTop",e.RightBottom="RightBottom",e.LeftBottom="LeftBottom"}(e.IMOrientation||(e.IMOrientation={})),function(e){e.Undefined="Undefined",e.A="A",e.Alpha="Alpha",e.B="B",e.Bk="Bk",e.Black="Black",e.Blue="Blue",e.Cb="Cb",e.Composite="Composite",e.CompositeMask="CompositeMask",e.C="C",e.Cr="Cr",e.Cyan="Cyan",e.Gray="Gray",e.G="G",e.Green="Green",e.Index="Index",e.Intensity="Intensity",e.K="K",e.M="M",e.Magenta="Magenta",e.Meta="Meta",e.O="O",e.R="R",e.ReadMask="ReadMask",e.Red="Red",e.Sync="Sync",e.WriteMask="WriteMask",e.Y="Y",e.Yellow="Yellow"}(e.IMPixelChannel||(e.IMPixelChannel={})),function(e){e.Average="Average",e.Brightness="Brightness",e.Lightness="Lightness",e.Mean="Mean",e.MS="MS",e.Rec601Luma="Rec601Luma",e.Rec601Luminance="Rec601Luminance",e.Rec709Luma="Rec709Luma",e.Rec709Luminance="Rec709Luminance",e.RMS="RMS"}(e.IMPixelIntensity||(e.IMPixelIntensity={})),function(e){e.R="R",e.Read="Read",e.W="W",e.Write="Write"}(e.IMPixelMask||(e.IMPixelMask={})),function(e){e.Blend="Blend",e.Copy="Copy",e.Update="Update"}(e.IMPixelTrait||(e.IMPixelTrait={})),function(e){e.Cache="Cache",e.Coder="Coder",e.Delegate="Delegate",e.Filter="Filter",e.Module="Module",e.Path="Path",e.Resource="Resource",e.System="System"}(e.IMPolicyDomain||(e.IMPolicyDomain={})),function(e){e.All="All",e.Execute="Execute",e.None="None",e.Read="Read",e.Write="Write"}(e.IMPolicyRights||(e.IMPolicyRights={})),function(e){e.AddNoise="AddNoise",e.Blur="Blur",e.Brightness="Brightness",e.Charcoal="Charcoal",e.Despeckle="Despeckle",e.Dull="Dull",e.EdgeDetect="EdgeDetect",e.Gamma="Gamma",e.Grayscale="Grayscale",e.Hue="Hue",e.Implode="Implode",e.JPEG="JPEG",e.OilPaint="OilPaint",e.Quantize="Quantize",e.Raise="Raise",e.ReduceNoise="ReduceNoise",e.Roll="Roll",e.Rotate="Rotate",e.Saturation="Saturation",e.Segment="Segment",e.Shade="Shade",e.Sharpen="Sharpen",e.Shear="Shear",e.Solarize="Solarize",e.Spiff="Spiff",e.Spread="Spread",e.Swirl="Swirl",e.Threshold="Threshold",e.Wave="Wave"}(e.IMPreview||(e.IMPreview={})),function(e){e.Alpha="Alpha",e.Arc="Arc",e.Bezier="Bezier",e.Circle="Circle",e.Color="Color",e.Ellipse="Ellipse",e.Image="Image",e.Line="Line",e.Matte="Matte",e.Path="Path",e.Point="Point",e.Polygon="Polygon",e.Polyline="Polyline",e.Rectangle="Rectangle",e.RoundRectangle="RoundRectangle",e.Text="Text"}(e.IMPrimitive||(e.IMPrimitive={})),function(e){e.FloatingPoint="FloatingPoint",e.Signed="Signed",e.Unsigned="Unsigned"}(e.IMQuantumFormat||(e.IMQuantumFormat={})),function(e){e.Barycentric="Barycentric",e.Bilinear="Bilinear",e.Inverse="Inverse",e.Shepards="Shepards",e.Voronoi="Voronoi",e.Manhattan="Manhattan"}(e.IMSparseColor||(e.IMSparseColor={})),function(e){e.Gradient="Gradient",e.Maximum="Maximum",e.Mean="Mean",e.Median="Median",e.Minimum="Minimum",e.Mode="Mode",e.NonPeak="NonPeak",e.RootMeanSquare="RootMeanSquare",e.RMS="RMS",e.StandardDeviation="StandardDeviation"}(e.IMStatistic||(e.IMStatistic={})),function(e){e.Char="Char",e.Double="Double",e.Float="Float",e.Long="Long",e.LongLong="LongLong",e.Quantum="Quantum",e.Short="Short"}(e.IMStorage||(e.IMStorage={})),function(e){e.Any="Any",e.Condensed="Condensed",e.Expanded="Expanded",e.ExtraCondensed="ExtraCondensed",e.ExtraExpanded="ExtraExpanded",e.Normal="Normal",e.SemiCondensed="SemiCondensed",e.SemiExpanded="SemiExpanded",e.UltraCondensed="UltraCondensed",e.UltraExpanded="UltraExpanded"}(e.IMStretch||(e.IMStretch={})),function(e){e.Any="Any",e.Bold="Bold",e.Italic="Italic",e.Normal="Normal",e.Oblique="Oblique"}(e.IMStyle||(e.IMStyle={})),function(e){e.animate="animate",e.compare="compare",e.composite="composite",e.conjure="conjure",e.convert="convert",e.display="display",e.identify="identify",e.import="import",e.mogrify="mogrify",e.montage="montage",e.stream="stream"}(e.IMTool||(e.IMTool={})),function(e){e.Bilevel="Bilevel",e.ColorSeparation="ColorSeparation",e.ColorSeparationAlpha="ColorSeparationAlpha",e.ColorSeparationMatte="ColorSeparationMatte",e.Grayscale="Grayscale",e.GrayscaleAlpha="GrayscaleAlpha",e.GrayscaleMatte="GrayscaleMatte",e.Optimize="Optimize",e.Palette="Palette",e.PaletteBilevelAlpha="PaletteBilevelAlpha",e.PaletteBilevelMatte="PaletteBilevelMatte",e.PaletteAlpha="PaletteAlpha",e.PaletteMatte="PaletteMatte",e.TrueColorAlpha="TrueColorAlpha",e.TrueColorMatte="TrueColorMatte",e.TrueColor="TrueColor"}(e.IMType||(e.IMType={})),function(e){e.PixelsPerInch="PixelsPerInch",e.PixelsPerCentimeter="PixelsPerCentimeter",e["1_"]="1",e["2_"]="2",e["3_"]="3"}(e.IMUnits||(e.IMUnits={})),function(e){e.All="All",e.Colorspace="Colorspace",e.Compare="Compare",e.Composite="Composite",e.Convert="Convert",e.FormatsDisk="FormatsDisk",e.FormatsMap="FormatsMap",e.FormatsMemory="FormatsMemory",e.Identify="Identify",e.ImportExport="ImportExport",e.Montage="Montage",e.Stream="Stream",e.None="None"}(e.IMValidate||(e.IMValidate={})),function(e){e.Background="Background",e.Black="Black",e.CheckerTile="CheckerTile",e.Dither="Dither",e.Edge="Edge",e.Gray="Gray",e.HorizontalTile="HorizontalTile",e.HorizontalTileEdge="HorizontalTileEdge",e.Mirror="Mirror",e.None="None",e.Random="Random",e.Tile="Tile",e.Transparent="Transparent",e.VerticalTile="VerticalTile",e.VerticalTileEdge="VerticalTileEdge",e.White="White"}(e.IMVirtualPixel||(e.IMVirtualPixel={})),function(e){e.Thin="Thin",e.ExtraLight="ExtraLight",e.UltraLight="UltraLight",e.Normal="Normal",e.Regular="Regular",e.Medium="Medium",e.DemiBold="DemiBold",e.SemiBold="SemiBold",e.Bold="Bold",e.ExtraBold="ExtraBold",e.UltraBold="UltraBold",e.Heavy="Heavy",e.Black="Black"}(e.IMWeight||(e.IMWeight={})),e.executeOne=F,e.isExecuteCommand=G,e.asExecuteConfig=z,e.executeAndReturnOutputFile=j,e.addExecuteListener=H,e.execute=U,e.createImageHome=q,e.newExecutionContext=W,e.Call=re,e.call=ie,e.CreatePromiseEvent=oe,e.arrayToCli=s,e.cliToArray=l,e.asCommand=c,e.blobToString=d,e.isInputFile=m,e.isOutputFile=f,e.readFileAsText=g,e.isImage=v,e.buildInputFile=y,e.asInputFile=w,e.asOutputFile=S,e.getFileName=I,e.getFileNameExtension=L,e.loadImageElement=x,e.buildImageSrc=P,e.getInputFilesFromHtmlInputElement=A,e.getPixelColor=_,e.builtInImageNames=ve,e.getBuiltInImages=O,e.getBuiltInImage=B,e.compare=k,e.compareNumber=D,e.extractInfo=N,e.getConfigureFolders=T,e.knownSupportedReadWriteImageFormats=ye,Object.defineProperty(e,"__esModule",{value:!0})});