!(function(t,e){var i=[],n=t.BABYLON||this.BABYLON;"object"==typeof exports&&"object"==typeof module?(n=n||require("babylonjs"),module.exports=e(n)):"function"==typeof define&&define.amd?(i.push("babylonjs"),define("babylonjs-post-process",i,e)):"object"==typeof exports?(n=n||require("babylonjs"),exports["babylonjs-post-process"]=e(n)):t.BABYLON=e(n)})(this,(function(t){t=t||this.BABYLON;var t,e=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a},i=this&&this.__extends||(function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}})();!(function(t){var n=(function(n){function o(e,i,o,r){void 0===r&&(r=null);var a=n.call(this,r)||this;if(!(r=a.getScene()))return a;a.name=e,a._text,a._font,a.wrapU=t.Texture.CLAMP_ADDRESSMODE,a.wrapV=t.Texture.CLAMP_ADDRESSMODE;var l=a.getFontHeight(i),c=a.getFontWidth(i);a._charSize=Math.max(l.height,c);var f=Math.ceil(a._charSize*o.length),s=a._charSize;a._texture=r.getEngine().createDynamicTexture(f,s,!1,t.Texture.NEAREST_SAMPLINGMODE);var g=a.getSize(),u=document.createElement("canvas");u.width=g.width,u.height=g.height;var h=u.getContext("2d");h.textBaseline="top",h.font=i,h.fillStyle="white",h.imageSmoothingEnabled=!1;for(var x=0;x