securityos/public/Program Files/imagemagick/wasm-imagemagick.umd-es5.mi...

1 line
79 KiB
JavaScript

!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]<a[3])){u.label=n[1];break}if(6===n[0]&&u.label<a[1]){u.label=a[1],a=n;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(n);break}a[2]&&u.ops.pop(),u.trys.pop();continue}n=t.call(e,u)}catch(e){n=[6,e],o=0}finally{i=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i,o,a,s,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function i(e){return Object.keys(e).map(function(t){return e[t]})}function o(e){return e.reduce(function(e,t){return e.concat(t)})}function a(e){return e.map(function(e){return e+""}).map(function(e){return e.trim().match(/\s/)?"'"+e+"'":e}).map(function(e){return"("===e.trim()?"\\(":")"===e.trim()?"\\)":e}).join(" ")}function s(e){return("string"==typeof e[0]?[e]:e).map(a).join("\n")}function u(e){for(var t=!1,n=[0],r=0;r<e.length;r++){var i=e[r];i.match(/[\s]/im)&&!t&&n.push(r),"'"===i&&(t=!t)}return n.push(e.length),n.map(function(t,r){return e.substring(0===r?0:n[r-1],n[r]).trim()}).filter(function(e){return!!e}).map(function(e){return e.startsWith("'")?e.substring(1,e.length):e}).map(function(e){return e.endsWith("'")?e.substring(0,e.length-1):e}).map(function(e){return"\\("===e?"(":"\\)"===e?")":e})}function l(e){for(var t=e.split("\n").map(function(e){return e.trim()}).map(u).filter(function(e){return e&&e.length}),n=[],r=[],i=0;i<t.length;i++){var o=t[i];"\\"!==o[o.length-1]?(r=r.concat(o),n.push(r),r=[]):r=r.concat(o.slice(0,o.length-1))}return n}function c(e){return"string"==typeof e?c([e]):e[0]?"string"==typeof e[0]?o(e.map(function(e){return l(e)})):e:[]}function p(e){return new Promise(function(t){var n=new FileReader;n.onload=function(e){var n=e.target.result;t(new Uint8Array(n))},n.readAsArrayBuffer(e)})}function d(e){return new Promise(function(t){var n=new FileReader;n.addEventListener("loadend",function(e){var n=e.srcElement.result;t(n)}),n.readAsText(e)})}function m(e){return!!e.content}function f(e){return!!e.blob}function h(e,t){return void 0===t&&(t="utf-8"),new TextDecoder(t).decode(e)}function g(e){return n(this,void 0,void 0,function(){return r(this,function(t){switch(t.label){case 0:return m(e)?[2,h(e.content)]:f(e)?[4,d(e.blob)]:[3,2];case 1:return[2,t.sent()];case 2:return[2]}})})}function v(e){return n(this,void 0,void 0,function(){var t,n,i;return r(this,function(r){switch(r.label){case 0:return n=U,i={},[4,w(e)];case 1:return[4,n.apply(void 0,[(i.inputFiles=[r.sent()],i.commands="identify "+e.name,i)])];case 2:return t=r.sent().exitCode,[2,0===t]}})})}function y(e,t){return void 0===t&&(t=I(e)),n(this,void 0,void 0,function(){var n,i,o;return r(this,function(r){switch(r.label){case 0:return[4,fetch(e)];case 1:return n=r.sent(),[4,n.arrayBuffer()];case 2:return i=r.sent(),o=new Uint8Array(i),[2,{name:t,content:o}]}})})}function C(e){return new Blob([e])}function b(e,t){return void 0===t&&(t=e.name),n(this,void 0,void 0,function(){var n;return r(this,function(r){switch(r.label){case 0:return n={name:t},[4,p(e.blob)];case 1:return[2,(n.content=r.sent(),n)]}})})}function M(e,t){return void 0===t&&(t=e.name),{name:t,blob:C(e.content)}}function w(e,t){return void 0===t&&(t=e.name),n(this,void 0,void 0,function(){var n;return r(this,function(r){switch(r.label){case 0:return f(e)?[4,b(e)]:[3,2];case 1:return n=r.sent(),[3,3];case 2:n=e,r.label=3;case 3:return n.name=t,[2,n]}})})}function S(e,t){return void 0===t&&(t=e.name),n(this,void 0,void 0,function(){var n;return r(this,function(r){return n=m(e)?M(e):e,n.name=t,[2,n]})})}function I(e){try{return decodeURIComponent(new URL(e).pathname.split("/").pop())}catch(n){var t="http://foo.com/"+e;try{return decodeURIComponent(new URL(t).pathname.split("/").pop())}catch(t){return e}}}function L(e){var t=I(e);return t.substring(t.lastIndexOf(".")+1,t.length)}function x(e,t,i){return void 0===i&&(i=!1),n(this,void 0,void 0,function(){var n;return r(this,function(r){switch(r.label){case 0:return n=t,[4,P(e,i)];case 1:return n.src=r.sent(),[2]}})})}function P(e,t){return void 0===t&&(t=!1),n(this,void 0,void 0,function(){var n,i,o,a,s,u;return r(this,function(r){switch(r.label){case 0:return n=e,!(i=L(e.name))||t&&-1===ge.indexOf(i)?(a=U,s={},[4,w(e)]):[3,3];case 1:return[4,a.apply(void 0,[(s.inputFiles=[r.sent()],s.commands="convert "+e.name+" output.png",s)])];case 2:(o=r.sent().outputFiles)[0].name=e.name,n=o[0],r.label=3;case 3:return[4,S(n)];case 4:return u=r.sent(),[2,URL.createObjectURL(u.blob)]}})})}function A(e){return n(this,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return[4,E(e)];case 1:return t=n.sent(),[2,t.map(function(e){return{name:e.file.name,content:e.content}})]}})})}function R(e){for(var t=[],n=0;n<e.files.length;n++){var r=e.files.item(n);t.push(r)}return t}function E(e){return n(this,void 0,void 0,function(){var t=this;return r(this,function(i){return[2,Promise.all(R(e).map(function(e){return n(t,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return[4,new Promise(function(t){var n=new FileReader;n.addEventListener("loadend",function(e){t(new Uint8Array(n.result))}),n.readAsArrayBuffer(e)})];case 1:return t=n.sent(),[2,{file:e,content:t}]}})})}))]})})}function _(e,t,i){return n(this,void 0,void 0,function(){var n,o,a;return r(this,function(r){switch(r.label){case 0:return o=j,a={},[4,w(e)];case 1:return[4,o.apply(void 0,[(a.inputFiles=[r.sent()],a.commands="convert "+e.name+" -format '%[pixel:p{"+t+","+i+"}]' info:info.txt",a)])];case 2:return n=r.sent(),[4,g(n)];case 3:return[2,r.sent()]}})})}function O(){return n(this,void 0,void 0,function(){var e=this;return r(this,function(t){switch(t.label){case 0:return he?[3,2]:[4,me(ve,function(t){return n(e,void 0,void 0,function(){var e,n;return r(this,function(r){switch(r.label){case 0:return[4,N(t)];case 1:return e=r.sent(),[4,U({commands:"convert "+t+" output1."+e[0].image.format.toLowerCase()})];case 2:return n=r.sent().outputFiles,n[0].name=t,[4,w(n[0])];case 3:return[2,r.sent()]}})})})];case 1:he=t.sent(),t.label=2;case 2:return[2,he]}})})}function B(e){return n(this,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return[4,O()];case 1:return t=n.sent(),[2,t.find(function(t){return t.name===e})]}})})}function k(e,t,i){return void 0===i&&(i=.015),n(this,void 0,void 0,function(){var n;return r(this,function(r){switch(r.label){case 0:return[4,D(e,t)];case 1:return n=r.sent(),[2,n<=i]}})})}function D(e,t){return n(this,void 0,void 0,function(){var n,i,o,a,s,u;return r(this,function(r){switch(r.label){case 0:return n=[],"string"==typeof e?[3,2]:[4,w(e)];case 1:return a=r.sent(),n.push(a),i=a.name,[3,3];case 2:i=e,r.label=3;case 3:return"string"==typeof t?[3,5]:[4,w(t)];case 4:return a=r.sent(),n.push(a),o=a.name,[3,6];case 5:o=t,r.label=6;case 6:return[4,re(n,["convert",i,o,"-resize","256x256^!","-metric","RMSE","-format","%[distortion]","-compare","info:info.txt"])];case 7:return s=r.sent(),[4,d(s[0].blob)];case 8:return u=r.sent(),[2,parseFloat(u)]}})})}function N(e){return n(this,void 0,void 0,function(){var t,n,i,o,a,s;return r(this,function(r){switch(r.label){case 0:return"string"==typeof e?[3,2]:[4,w(e)];case 1:return n=[r.sent()],t=n[0].name,[3,3];case 2:t=e,n=[],r.label=3;case 3:return[4,re(n,["convert",t,"info.json"])];case 4:i=r.sent(),r.label=5;case 5:return r.trys.push([5,7,,8]),a=(o=JSON).parse,[4,d(i[0].blob)];case 6:return[2,a.apply(o,[r.sent()])];case 7:return s=r.sent(),[2,[{error:s}]];case 8:return[2]}})})}function T(){return n(this,void 0,void 0,function(){var e,t,n;return r(this,function(r){switch(r.label){case 0:return[4,U("convert -debug configure rose: info:")];case 1:return e=r.sent(),t="Searching for configure file:",n=e.stderr.filter(function(e){return e.includes(t)}).map(function(e){return e.substring(e.indexOf(t)+t.length,e.length)}).map(function(e){return e.replace(/\/\//g,"/")}).map(function(e){return e.substring(0,e.lastIndexOf("/"))}).map(function(e){return e.replace(/"/g,"").trim()}),[2,n]}})})}function F(e){return n(this,void 0,void 0,function(){var t,n,i,o,a;return r(this,function(r){switch(r.label){case 0:t=z(e),n={stderr:[],stdout:[],outputFiles:[],exitCode:1},r.label=1;case 1:return r.trys.push([1,3,,4]),t.inputFiles=t.inputFiles||[],i=c(t.commands)[0],o=performance.now(),Ce.forEach(function(e){return e.beforeExecute({command:i,took:performance.now()-o,id:o})}),[4,ie(t.inputFiles,i.map(function(e){return e+""}))];case 2:return n=r.sent(),Ce.forEach(function(e){return e.afterExecute({command:i,took:performance.now()-o,id:o})}),n.exitCode?[2,pe({},n,{errors:["exit code: "+n.exitCode+" stderr: "+n.stderr.join("\n")]})]:[2,pe({},n,{errors:[void 0]})];case 3:return a=r.sent(),[2,pe({},n,{errors:[a+", exit code: "+n.exitCode+", stderr: "+n.stderr.join("\n")]})];case 4:return[2]}})})}function G(e){return!!e.commands}function z(e){return G(e)?e:{inputFiles:[],commands:e}}function j(e,t){return n(this,void 0,void 0,function(){var n,i;return r(this,function(r){switch(r.label){case 0:return n=z(e),[4,U(n)];case 1:return i=r.sent(),[2,t?i.outputFiles.find(function(e){return e.name===t}):i.outputFiles.length&&i.outputFiles[0]||void 0]}})})}function H(e){Ce.push(e)}function U(e){return n(this,void 0,void 0,function(){function t(e){return n(this,void 0,void 0,function(){var t,o,c=this;return r(this,function(m){switch(m.label){case 0:return t={inputFiles:i(s),commands:[e]},[4,F(t)];case 1:return o=m.sent(),l.push(o),u=u.concat(o.errors||[]),p=p.concat(o.stdout||[]),d=d.concat(o.stderr||[]),[4,me(o.outputFiles,function(e){return n(c,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return a[e.name]=e,[4,w(e)];case 1:return t=n.sent(),s[t.name]=t,[2]}})})})];case 2:return m.sent(),[2]}})})}var o,a,s,u,l,p,d,m,f;return r(this,function(n){switch(n.label){case 0:return o=z(e),o.inputFiles=o.inputFiles||[],a={},s={},o.inputFiles.forEach(function(e){s[e.name]=e}),u=[],l=[],p=[],d=[],m=c(o.commands),[4,me(m,t,{concurrency:1})];case 1:return n.sent(),f=l.find(function(e){return 0!==e.exitCode}),[2,{outputFiles:i(a),errors:u,results:l,stdout:p,stderr:d,exitCode:f?f.exitCode:0}]}})})}function q(){return new be}function W(e){return Me.create(e)}function Y(e,t){return t={exports:{}},e(t,t.exports),t.exports}function J(){this._array=[],this._set=Object.create(null)}function $(e){return e<0?1+(-e<<1):0+(e<<1)}function V(e){var t=e>>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<r){var i=n-1;Z(e,X(n,r),r);for(var o=e[r],a=n;a<r;a++)t(e[a],o)<=0&&Z(e,i+=1,a);Z(e,i+1,a);var s=i+1;Q(e,t,n,s-1),Q(e,t,s+1,r)}}function K(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new ne(t):new ee(t)}function ee(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=Le.getArg(t,"version"),r=Le.getArg(t,"sources"),i=Le.getArg(t,"names",[]),o=Le.getArg(t,"sourceRoot",null),a=Le.getArg(t,"sourcesContent",null),s=Le.getArg(t,"mappings"),u=Le.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(Le.normalize).map(function(e){return o&&Le.isAbsolute(o)&&Le.isAbsolute(e)?Le.relative(o,e):e}),this._names=Be.fromArray(i.map(String),!0),this._sources=Be.fromArray(r,!0),this.sourceRoot=o,this.sourcesContent=a,this._mappings=s,this.file=u}function te(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function ne(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=Le.getArg(t,"version"),r=Le.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Be,this._names=new Be;var i={line:-1,column:0};this._sections=r.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=Le.getArg(e,"offset"),n=Le.getArg(t,"line"),r=Le.getArg(t,"column");if(n<i.line||n===i.line&&r<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:r+1},consumer:new K(Le.getArg(e,"map"))}})}function re(e,t){return n(this,void 0,void 0,function(){var n,i,o,a;return r(this,function(r){switch(r.label){case 0:return[4,ie(e,t)];case 1:for(n=r.sent(),i=0,o=n.outputFiles;i<o.length;i++)(a=o[i]).blob=new Blob([a.buffer]);return[2,n.outputFiles]}})})}function ie(e,t){var n={files:e,args:t,requestNumber:qe},r=oe();return Ue[qe]=r,Te.postMessage(n),qe++,r}function oe(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function ae(e,t){var n=e.split("/");return n[n.length-1]=t,n.join("/")}function se(e){try{var t=ze.getSync()[e].fileName;if(void 0!==t&&-1===t.indexOf("/")&&-1===t.indexOf("\\"))return;return t}catch(e){return}}function ue(){var e=se(0);return void 0===e&&(e=se(2)),void 0===e&&(e="./magickApi.js"),e}function le(){return ue()}function ce(){return le()}var pe=function(){return(pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},de=function(e,n,r){return new Promise(function(i,o){if(r=Object.assign({concurrency:1/0},r),"function"!=typeof n)throw new TypeError("Mapper function is required");var a=r.concurrency;if(!("number"==typeof a&&a>=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<a&&(function e(){if(!l){var t=u.next(),r=d;if(d++,t.done)return c=!0,void(0===p&&i(s));p++,Promise.resolve(t.value).then(function(e){return n(e,r)}).then(function(t){s[r]=t,p--,e()},function(e){l=!0,o(e)})}}(),!c);m++);})},me=de,fe=de;me.default=fe;var he,ge=["gif","png","jpg","webp"],ve=["rose:","logo:","wizard:","granite:","netscape:"],ye=["jpg","png","psd","tiff","xcf","gif","bmp","tga","miff","ico","dcm","xpm","pcx","fits","ppm","pgm","pfm","mng","hdr","dds","otb","txt"],Ce=[],be=function(){function e(){this.images={},this.builtInImagesAdded=!1}return e.prototype.get=function(e){return this.images[e]},e.prototype.remove=function(e){var t=this,n=[];return Object.keys(this.images).forEach(function(r){-1!==e.indexOf(r)&&(n.push(t.images[r]),delete t.images[r])}),n},e.prototype.getAll=function(){return n(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return[4,Promise.all(i(this.images))];case 1:return[2,e.sent()]}})})},e.prototype.register=function(e,t){void 0===t&&(t=e.name);var n=w(e);return this.images[t]=n,this.images[t].then(function(){n.resolved=!0}),n},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!0),this.images[e]&&t&&this.images[e].resolved},e.prototype.addBuiltInImages=function(){return n(this,void 0,void 0,function(){var e,t=this;return r(this,function(n){switch(n.label){case 0:return this.builtInImagesAdded?[3,3]:(e=me,[4,O()]);case 1:return[4,e.apply(void 0,[n.sent(),function(e){return t.register(e)}])];case 2:n.sent(),this.builtInImagesAdded=!0,n.label=3;case 3:return[2]}})})},e}(),Me=function(){function e(e){void 0===e&&(e=q()),this.imageHome=e}return e.prototype.execute=function(e){return n(this,void 0,void 0,function(){var t,n,i,o=this;return r(this,function(r){switch(r.label){case 0:return(t=z(e)).inputFiles.forEach(function(e){o.imageHome.register(e)}),[4,this.imageHome.getAll()];case 1:return n=r.sent(),[4,U(pe({},t,{inputFiles:n}))];case 2:return(i=r.sent()).outputFiles.forEach(function(e){o.imageHome.register(e)}),[2,i]}})})},e.prototype.addFiles=function(e){var t=this;e.forEach(function(e){return t.imageHome.register(e)})},e.prototype.getAllFiles=function(){return n(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return[4,this.imageHome.getAll()];case 1:return[2,e.sent()]}})})},e.prototype.getFile=function(e){return n(this,void 0,void 0,function(){return r(this,function(t){switch(t.label){case 0:return[4,this.imageHome.get(e)];case 1:return[2,t.sent()]}})})},e.prototype.addBuiltInImages=function(){return n(this,void 0,void 0,function(){return r(this,function(e){return[2,this.imageHome.addBuiltInImages()]})})},e.prototype.removeFiles=function(e){return this.imageHome.remove(e)},e.create=function(t){if(t&&!t.imageHome)throw new Error("Dont know how to inherit from other ExecutionContext implementation than this one");return new e(t&&t.imageHome)},e}(),we=("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,Y(function(e,t){!function(t,n){e.exports=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}function r(e){if(e instanceof Object)for(var n=0;n<u.length;n++)e.hasOwnProperty(u[n])&&void 0!==e[u[n]]&&this["set"+t(u[n])](e[u[n]])}var i=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],a=["fileName","functionName","source"],s=["args"],u=i.concat(o,a,s);r.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof r)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new r(e)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+("("+(this.getArgs()||[]).join(",")+")")+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var l=0;l<i.length;l++)r.prototype["get"+t(i[l])]=n(i[l]),r.prototype["set"+t(i[l])]=function(e){return function(t){this[e]=Boolean(t)}}(i[l]);for(var c=0;c<o.length;c++)r.prototype["get"+t(o[c])]=n(o[c]),r.prototype["set"+t(o[c])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(o[c]);for(var p=0;p<a.length;p++)r.prototype["get"+t(a[p])]=n(a[p]),r.prototype["set"+t(a[p])]=function(e){return function(t){this[e]=String(t)}}(a[p]);return r}()}()})),Se=Y(function(e,t){!function(t,n){e.exports=function(e){return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(/^\s*at .*(\S+\:\d+|\(native\))/m))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter(function(e){return!!e.match(/^\s*at .*(\S+\:\d+|\(native\))/m)},this).map(function(t){t.indexOf("(eval ")>-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","<anonymous>"].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<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,a=r.length;o<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera11:function(t){return t.stack.split("\n").filter(function(e){return!!e.match(/(^|@)\S+\:\d+/)&&!e.match(/^Error created at/)},this).map(function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$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<i&&o.arguments;){for(var a=new Array(o.arguments.length),s=0;s<a.length;++s)a[s]=o.arguments[s];/function(?:\s+([\w$]+))+\s*\(/.test(o.toString())?r.push(new e({functionName:RegExp.$1||void 0,args:a})):r.push(new e({args:a}));try{o=o.caller}catch(e){break}}return r}}}(we)}()}),Le=Y(function(e,t){function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(g);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var n=e,o=r(e);if(o){if(!o.path)return e;n=o.path}for(var a,s=t.isAbsolute(n),u=n.split(/\/+/),l=0,c=u.length-1;c>=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?r<o.length?r:-1:u:u-e>1?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<i;r++)n.add(e[r],t);return n},J.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},J.prototype.add=function(e,t){var n=Le.toSetString(e),r=Pe.call(this._set,n),i=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=i)},J.prototype.has=function(e){var t=Le.toSetString(e);return Pe.call(this._set,t)},J.prototype.indexOf=function(e){var t=Le.toSetString(e);if(Pe.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},J.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},J.prototype.toArray=function(){return this._array.slice()};var Ae={ArraySet:J},Re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ee={encode:function(e){if(0<=e&&e<Re.length)return Re[e];throw new TypeError("Must be between 0 and 63: "+e)},decode:function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},_e={encode:function(e){var t,n="",r=$(e);do{t=31&r,(r>>>=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)<<s,s+=5}while(r);n.value=V(a),n.rest=t}},Oe={quickSort:function(e,t){Q(e,t,0,e.length-1)}},Be=Ae.ArraySet,ke=Oe.quickSort;K.fromSourceMap=function(e){return ee.fromSourceMap(e)},K.prototype._version=3,K.prototype.__generatedMappings=null,Object.defineProperty(K.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),K.prototype.__originalMappings=null,Object.defineProperty(K.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),K.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},K.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},K.GENERATED_ORDER=1,K.ORIGINAL_ORDER=2,K.GREATEST_LOWER_BOUND=1,K.LEAST_UPPER_BOUND=2,K.prototype.eachMapping=function(e,t,n){var r,i=t||null;switch(n||K.GENERATED_ORDER){case K.GENERATED_ORDER:r=this._generatedMappings;break;case K.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;r.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=o&&(t=Le.join(o,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},K.prototype.allGeneratedPositionsFor=function(e){var t=Le.getArg(e,"line"),n={source:Le.getArg(e,"source"),originalLine:t,originalColumn:Le.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=Le.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Le.compareByOriginalPositions,xe.LEAST_UPPER_BOUND);if(i>=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;s<u;s++){var l=i[s],c=new te;c.generatedLine=l.generatedLine,c.generatedColumn=l.generatedColumn,l.source&&(c.source=r.indexOf(l.source),c.originalLine=l.originalLine,c.originalColumn=l.originalColumn,l.name&&(c.name=n.indexOf(l.name)),a.push(c)),o.push(c)}return ke(t.__originalMappings,Le.compareByOriginalPositions),t},ee.prototype._version=3,Object.defineProperty(ee.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?Le.join(this.sourceRoot,e):e},this)}}),ee.prototype._parseMappings=function(e,t){for(var n,r,i,o,a,s=1,u=0,l=0,c=0,p=0,d=0,m=e.length,f=0,h={},g={},v=[],y=[];f<m;)if(";"===e.charAt(f))s++,f++,u=0;else if(","===e.charAt(f))f++;else{for((n=new te).generatedLine=s,o=f;o<m&&!this._charIsMappingSeparator(e,o);o++);if(r=e.slice(f,o),i=h[r])f+=r.length;else{for(i=[];f<o;)_e.decode(e,f,g),a=g.value,f=g.rest,i.push(a);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");h[r]=i}n.generatedColumn=u+i[0],u=n.generatedColumn,i.length>1&&(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<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},ee.prototype.originalPositionFor=function(e){var t={generatedLine:Le.getArg(e,"line"),generatedColumn:Le.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Le.compareByGeneratedPositionsDeflated,Le.getArg(e,"bias",K.GREATEST_LOWER_BOUND));if(n>=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<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),ne.prototype.originalPositionFor=function(e){var t={generatedLine:Le.getArg(e,"line"),generatedColumn:Le.getArg(e,"column")},n=xe.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},ne.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},ne.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},ne.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(Le.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},ne.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],i=r.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],s=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(s=Le.join(r.consumer.sourceRoot,s)),this._sources.add(s),s=this._sources.indexOf(s);var u=r.consumer._names.at(a.name);this._names.add(u),u=this._names.indexOf(u);var l={source:s,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}ke(this.__generatedMappings,Le.compareByGeneratedPositionsDeflated),ke(this.__originalMappings,Le.compareByOriginalPositions)};var Te,Fe={SourceMapConsumer:De,BasicSourceMapConsumer:Ne,IndexedSourceMapConsumer:ne},Ge=Y(function(e,n){!function(n,r){e.exports=function(e,n){function r(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("get",e),r.onerror=n,r.onreadystatechange=function(){4===r.readyState&&(r.status>=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<o;++a){var s=r[t-a-1],u=s.indexOf("//");if(u>=0&&(s=s.substr(0,u)),s){i=s+i;for(var l=n.length,c=0;c<l;c++){var p=n[c].exec(i);if(p&&p[1])return p[1]}}}}function s(){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.create)throw new Error("Unable to consume source maps in older browsers")}function u(e){if("object"!==t(e))throw new TypeError("Given StackFrame is not an object");if("string"!=typeof e.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof e.lineNumber||e.lineNumber%1!=0||e.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof e.columnNumber||e.columnNumber%1!=0||e.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function l(e){for(var t,n,r=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;n=r.exec(e);)t=n[1];if(t)return t;throw new Error("sourceMappingURL not found")}function c(e,t,r){return new Promise(function(i,o){var a=t.originalPositionFor({line:e.lineNumber,column:e.columnNumber});if(a.source){var s=t.sourceContentFor(a.source);s&&(r[a.source]=s),i(new n({functionName:a.name||e.functionName,args:e.args,fileName:a.source,lineNumber:a.line,columnNumber:a.column}))}else o(new Error("Could not get original source for given stackframe and source map"))})}return function t(p){if(!(this instanceof t))return new t(p);p=p||{},this.sourceCache=p.sourceCache||{},this.sourceMapConsumerCache=p.sourceMapConsumerCache||{},this.ajax=p.ajax||r,this._atob=p.atob||i,this._get=function(e){return new Promise(function(t,n){var r="data:"===e.substr(0,5);if(this.sourceCache[e])t(this.sourceCache[e]);else if(p.offline&&!r)n(new Error("Cannot make network requests in offline mode"));else if(r){var i=e.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(i){var o=i[0].length,a=e.substr(o),s=this._atob(a);this.sourceCache[e]=s,t(s)}else n(new Error("The encoding of the inline sourcemap is not supported"))}else{var u=this.ajax(e,{method:"get"});this.sourceCache[e]=u,u.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(r,i){if(this.sourceMapConsumerCache[t])r(this.sourceMapConsumerCache[t]);else{var a=new Promise(function(r,i){return this._get(t).then(function(t){"string"==typeof t&&(t=o(t.replace(/^\)\]\}'/,""))),void 0===t.sourceRoot&&(t.sourceRoot=n),r(new e.SourceMapConsumer(t))},i)}.bind(this));this.sourceMapConsumerCache[t]=a,r(a)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n).catch(n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(t,r){u(e),this._get(e.fileName).then(function(r){var i=e.lineNumber,o=e.columnNumber,s=a(r,i);t(s?new n({functionName:s,args:e.args,fileName:e.fileName,lineNumber:i,columnNumber:o}):e)},r).catch(r)}.bind(this))},this.getMappedLocation=function(e){return new Promise(function(t,n){s(),u(e);var r=this.sourceCache,i=e.fileName;this._get(i).then(function(n){var o=l(n),a="data:"===o.substr(0,5),s=i.substring(0,i.lastIndexOf("/")+1);return"/"===o[0]||a||/^https?:\/\/|^\/\//i.test(o)||(o=s+o),this._getSourceMapConsumer(o,s).then(function(n){return c(e,n,r).then(t).catch(function(){t(e)})})}.bind(this),n).catch(n)}.bind(this))}}}(Fe,we)}()}),ze=Y(function(e,n){!function(n,r){e.exports=function(e,n,r){function i(e,t){var n={};return[e,t].forEach(function(e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}),n}function o(e){return e.stack||e["opera#sourceloc"]}function a(e,t){return"function"==typeof t?e.filter(t):e}var s={filter:function(e){return-1===(e.functionName||"").indexOf("StackTrace$$")&&-1===(e.functionName||"").indexOf("ErrorStackParser$$")&&-1===(e.functionName||"").indexOf("StackTraceGPS$$")&&-1===(e.functionName||"").indexOf("StackGenerator$$")},sourceCache:{}},u=function(){try{throw new Error}catch(e){return e}};return{get:function(e){var t=u();return o(t)?this.fromError(t,e):this.generateArtificially(e)},getSync:function(t){t=i(s,t);var r=u();return a(o(r)?e.parse(r):n.backtrace(t),t.filter)},fromError:function(t,n){n=i(s,n);var o=new r(n);return new Promise(function(r){var i=a(e.parse(t),n.filter);r(Promise.all(i.map(function(e){return new Promise(function(t){function n(){t(e)}o.pinpoint(e).then(t,n).catch(n)})})))}.bind(this))},generateArtificially:function(e){e=i(s,e);var t=n.backtrace(e);return"function"==typeof e.filter&&(t=t.filter(e.filter)),Promise.resolve(t)},instrument:function(e,t,n,r){if("function"!=typeof e)throw new Error("Cannot instrument non-function object");if("function"==typeof e.__stacktraceOriginalFn)return e;var i=function(){try{return this.get().then(t,n).catch(n),e.apply(r||this,arguments)}catch(e){throw o(e)&&this.fromError(e).then(t,n).catch(n),e}}.bind(this);return i.__stacktraceOriginalFn=e,i},deinstrument:function(e){if("function"!=typeof e)throw new Error("Cannot de-instrument non-function object");return"function"==typeof e.__stacktraceOriginalFn?e.__stacktraceOriginalFn:e},report:function(e,n,r,i){return new Promise(function(o,a){var s=new XMLHttpRequest;if(s.onerror=a,s.onreadystatechange=function(){4===s.readyState&&(s.status>=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})});