agenda-libre-ruby/public/assets/tinymce/tinymce-c34044666f0c63798d74e00fbf9f187156da82a87e1f59db5778d92f0e2eeecf.js

10 lines
435 KiB
JavaScript
Raw Normal View History

2020-02-24 22:44:14 +01: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.2.0 (2020-02-13)
*/
!function(j){"use strict";function i(){}var q=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(r.apply(null,e))}},$=function(e){return function(){return e}},W=function(e){return e};function d(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)}}function c(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}}function e(){return u}var t,s=$(!1),a=$(!0),u=(t={fold:function(e,t){return e()},is:s,isSome:s,isNone:a,getOr:o,getOrThunk:r,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:$(null),getOrUndefined:$(undefined),or:o,orThunk:r,map:e,each:i,bind:e,exists:s,forall:a,filter:e,equals:n,equals_:n,toArray:function(){return[]},toString:$("none()")},Object.freeze&&Object.freeze(t),t);function n(e){return e.isNone()}function r(e){return e()}function o(e){return e}function l(t){return function(e){return function(e){if(null===e)return"null";var t=typeof e;return"object"==t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"==t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t}(e)===t}}function f(e,t){return V.call(e,t)}function h(e,t){return-1<f(e,t)}function C(e,t){for(var n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1}function m(e,t,n){return function(e,t){for(var n=e.length-1;0<=n;n--){t(e[n],n)}}(e,function(e){n=t(n,e)}),n}function y(e,t,n){return F(e,function(e){n=t(n,e)}),n}function g(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(t(o,n))return R.some(o)}return R.none()}function p(e,t){for(var n=0,r=e.length;n<r;n++){if(t(e[n],n))return R.some(n)}return R.none()}function v(e,t){return function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!D(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);I.apply(t,e[n])}return t}(X(e,t))}function b(e,t){for(var n=0,r=e.length;n<r;++n){if(!0!==t(e[n],n))return!1}return!0}function w(e){var t=L.call(e,0);return t.reverse(),t}function x(e,t){return U(e,function(e){return!h(t,e)})}function z(e){return 0===e.length?R.none():R.some(e[0])}function E(e){return 0===e.length?R.none():R.some(e[e.length-1])}function N(e,t){for(var n=Z(e),r=0,o=n.length;r<o;r++){var i=n[r];t(e[i],i)}}function S(e,n){return Q(e,function(e,t){return{k:t,v:n(e,t)}})}function k(n){return function(e,t){n[t]=e}}function T(e,t){var n={},r={};return function(e,n,r,o){N(e,function(e,t){(n(e,t)?r:o)(e,t)})}(e,t,k(n),k(r)),{t:n,f:r}}function A(e,t){return ee(e,t)?R.from(e[t]):R.none()}var M=function(n){function e(){return o}function t(e){return e(n)}var r=$(n),o={fold:function(e,t){return t(n)},is:function(e){return n===e},isSome:a,isNone:s,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:e,orThunk:e,map:function(e){return M(e(n))},each:function(e){e(n)},bind:t,exists:t,forall:t,filter:function(e){return e(n)?o:u},toArray:function(){return[n]},toString:function(){return"some("+n+")"},equals:function(e){return e.is(n)},equals_:function(e,t){return e.fold(s,function(e){return t(n,e)})}};return o},R={some:M,none:e,from:function(e){return null===e||e===undefined?u:M(e)}},K=l("string"),_=l("object"),D=l("array"),O=l("null"),H=l("boolean"),B=l("function"),P=l("number"),L=Array.prototype.slice,V=Array.prototype.indexOf,I=Array.prototype.push,X=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)}return r},F=function(e,t){for(var n=0,r=e.length;n<r;n++){t(e[n],n)}},Y=function(e,t){for(var n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o];(t(a,o)?n:r).push(a)}return{pass:n,fail:r}},U=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},G=B(Array.from)?Array.from:function(e){return L.call(e)},Z=Object.keys,J=Object.hasOwnProperty,Q=function(e,r){var o={};return N(e,function(e,t){var n=r(e,t);o[n.k]=n.v}),o},ee=function(e,t){return J.call(e,t)},te=function(){return(te=Object.assig