Files
Testing/html5-chat/chatadmin/editors/tinymce/tinymce.min.min.min.js

1 line
457 KiB
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
!function(){var j={},i=function(a){for(var v=j[a],u=v.deps,t=v.defn,s=u.length,r=new Array(s),q=0;q<s;++q){r[q]=o(u[q])}var d=t.apply(null,r);if(void 0===d){throw"module ["+a+"] returned undefined"}v.instance=d},p=function(a,f,e){if("string"!=typeof a){throw"module id must be a string"}if(void 0===f){throw"no dependencies for "+a}if(void 0===e){throw"no definition function for "+a}j[a]={deps:f,defn:e,instance:void 0}},o=function(b){var a=j[b];if(void 0===a){throw"module ["+b+"] was undefined"}return void 0===a.instance&&i(b),a.instance},n=function(g,d){for(var r=g.length,q=new Array(r),h=0;h<r;++h){q.push(o(g[h]))}d.apply(null,d)},m={};m.bolt={module:{api:{define:p,require:n,demand:o}}};var l=p,k=function(d,c){l(d,[],function(){return c})};l("3",[],function(){function z(H,G,F){var E,D,C,B,A,f;return E=G.x,D=G.y,C=H.w,B=H.h,A=G.w,f=G.h,F=(F||"").split(""),"b"===F[0]&&(D+=f),"r"===F[1]&&(E+=A),"c"===F[0]&&(D+=q(f/2)),"c"===F[1]&&(E+=q(A/2)),"b"===F[3]&&(D-=B),"r"===F[4]&&(E-=C),"c"===F[3]&&(D-=q(B/2)),"c"===F[4]&&(E-=q(C/2)),u(E,D,C,B)}function y(a,D,C,B){var A,h;for(h=0;h<B.length;h++){if(A=z(a,D,B[h]),A.x>=C.x&&A.x+A.w<=C.w+C.x&&A.y>=C.y&&A.y+A.h<=C.h+C.y){return B[h]}}return null}function x(e,d,f){return u(e.x-d,e.y-f,e.w+2*d,e.h+2*f)}function w(h,f){var D,C,B,A;return D=r(h.x,f.x),C=r(h.y,f.y),B=s(h.x+h.w,f.x+f.w),A=s(h.y+h.h,f.y+f.h),B-D<0||A-C<0?null:u(D,C,B-D,A-C)}function v(L,K,J){var I,H,G,F,E,D,C,B,A,f;return E=L.x,D=L.y,C=L.x+L.w,B=L.y+L.h,A=K.x+K.w,f=K.y+K.h,I=r(0,K.x-E),H=r(0,K.y-D),G=r(0,C-A),F=r(0,B-f),E+=I,D+=H,J&&(C+=I,B+=H,E-=G,D-=F),C-=G,B-=F,u(E,D,C-E,B-D)}function u(f,e,h,g){return{x:f,y:e,w:h,h:g}}function t(b){return u(b.left,b.top,b.width,b.height)}var s=Math.min,r=Math.max,q=Math.round;return{inflate:x,relativePosition:z,findBestRelativePosition:y,intersect:w,clamp:v,create:u,fromClientRect:t}}),l("4",[],function(){function z(d,c){return function(){d.apply(c,arguments)}}function y(a){if("object"!=typeof this){throw new TypeError("Promises must be constructed via new")}if("function"!=typeof a){throw new TypeError("not a function")}this._state=null,this._value=null,this._deferreds=[],s(a,z(w,this),z(v,this))}function x(d){var c=this;return null===this._state?void this._deferreds.push(d):void r(function(){var f=a._state?d.onFulfilled:d.onRejected;if(null===f){return void(a._state?d.resolve:d.reject)(a._value)}var e;try{e=f(a._value)}catch(a){return void d.reject(a)}d.resolve(e)})}function w(d){try{if(d===this){throw new TypeError("A promise cannot be resolved with itself.")}if(d&&("object"==typeof d||"function"==typeof d)){var f=d.then;if("function"==typeof f){return void s(e(f,d),e(w,this),e(v,this))}}this._state=!0,this._value=d,u.call(this)}catch(e){v.call(this,e)}}function v(b){this._state=!1,this._value=b,u.call(this)}function u(){for(var d=0,c=this._deferreds.length;d<c;d++){x.call(this,this._deferreds[d])}this._deferreds=null}function t(f,e,h,g){this.onFulfilled="function"==typeof f?f:null,this.onRejected="function"==typeof e?e:null,this.resolve=h,this.reject=g}function s(f,e,h){var g=!1;try{f(function(b){g||(g=!0,e(b))},function(b){g||(g=!0,h(b))})}catch(f){if(g){return}g=!0,h(f)}}if(window.Promise){return window.Promise}var r=y.immediateFn||"function"==typeof setImmediate&&setImmediate||function(b){setTimeout(b,1)},q=Array.isArray||function(b){return"[object Array]"===Object.prototype.toString.call(b)};return y.prototype["catch"]=function(b){return this.then(null,b)},y.prototype.then=function(b,f){var c=this;return new y(function(a,d){x.call(c,new t(b,f,a,d))})},y.all=function(){var b=Array.prototype.slice.call(1===arguments.length&&q(arguments[0])?arguments[0]:arguments);return new y(function(a,B){function A(C,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var d=e.then;if("function"==typeof d){return void d.call(e,function(f){A(C,f)},B)}}c[C]=e,0===--h&&a(c)}catch(c){B(c)}}if(0===b.length){return a([])}for(var h=b.length,g=0;g<b.length;g++){A(g,b[g])}})},y.resolve=function(b){return b&&"object"==typeof b&&b.constructor===y?b:new y(function(a){a(b)})},y.reject=function(b){return ne