agenda-libre-ruby/public/assets/tinymce/plugins/table/plugin-b11c6cd37f6d5badf46a9d96e452118b81881beb07fe41d2c0a3f7b405902234.js

11 lines
118 KiB
JavaScript
Raw Normal View History

2019-05-11 17:19:15 +02:00
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.0.5 (2019-05-09)
*/
!function(m){"use strict";var p=function(e){var t=e,n=function(){return t};return{get:n,set:function(e){t=e},clone:function(){return p(n())}}},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},C=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(r.apply(null,e))}},S=function(e){return function(){return e}},o=function(e){return e};function b(r){for(var o=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e];return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.concat(e);return r.apply(null,n)}}var e,t,n,r,i,d=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}},u=function(e){return function(){throw new Error(e)}},a=function(e){return e()},c=S(!1),l=S(!0),f=c,s=l,g=function(){return h},h=(r={fold:function(e,t){return e()},is:f,isSome:f,isNone:s,getOr:n=function(e){return e},getOrThunk:t=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:function(){return null},getOrUndefined:function(){return undefined},or:n,orThunk:t,map:g,ap:g,each:function(){},bind:g,flatten:g,exists:f,forall:s,filter:g,equals:e=function(e){return e.isNone()},equals_:e,toArray:function(){return[]},toString:S("none()")},Object.freeze&&Object.freeze(r),r),v=function(n){var e=function(){return n},t=function(){return o},r=function(e){return e(n)},o={fold:function(e,t){return t(n)},is:function(e){return n===e},isSome:s,isNone:f,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){return v(e(n))},ap:function(e){return e.fold(g,function(e){return v(e(n))})},each:function(e){e(n)},bind:r,flatten:e,exists:r,forall:r,filter:function(e){return e(n)?o:h},equals:function(e){return e.is(n)},equals_:function(e,t){return e.fold(f,function(e){return t(n,e)})},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};return o},x={some:v,none:g,from:function(e){return null===e||e===undefined?h:v(e)}},w=tinymce.util.Tools.resolve("tinymce.PluginManager"),R=function(t){return function(e){return function(e){if(null===e)return"null";var t=typeof e;return"object"===t&&Array.prototype.isPrototypeOf(e)?"array":"object"===t&&String.prototype.isPrototypeOf(e)?"string":t}(e)===t}},T=R("string"),O=R("array"),D=R("boolean"),A=R("function"),E=R("number"),N=(i=Array.prototype.indexOf)===undefined?function(e,t){return H(e,t)}:function(e,t){return i.call(e,t)},I=function(e,t){return-1<N(e,t)},k=function(e,t){return z(e,t).isSome()},B=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o,e)}return r},P=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n,e)},M=function(e,t){for(var n=e.length-1;0<=n;n--)t(e[n],n,e)},W=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r,e)&&n.push(i)}return n},_=function(e,t,n){return M(e,function(e){n=t(n,e)}),n},L=function(e,t,n){return P(e,function(e){n=t(n,e)}),n},j=function(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(t(o,n,e))return x.some(o)}return x.none()},z=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n],n,e))return x.some(n);return x.none()},H=function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return n;return-1},F=Array.prototype.push,U=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!Array.prototype.isPrototypeOf(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);F.apply(t,e[n])}return t},q=function(e,t){var n=B(e,t);return U(n)},V=function(e,t){for(var n=0,r=e.length;n<r;++n)if(!0!==t(e[n],n,e))return!1;return!0},G=Array.prototype.slice,Y=function(e){var t=G.call(e,0);return t.reverse(),t},K=function(e){return 0===e.length?x.none():x.some(e[e.length-1])},X=(A(Array.from)&&Array.from,Object.keys),$=Object.hasOwnProperty,J=function(e,t){for(var n=X(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i,e)}},Q=function(e,r){return Z(e,function(e,t,n){return{k:t,v:r(e,t,n)}})},Z=function(r,o){var i={};return J(r,function(e,t){var n=o(e,t,r);i[n.k]=n.v}),i},ee=function(e,t){return te(e,t)?x.from(e[t]