7 lines
1.1 MiB
JavaScript
7 lines
1.1 MiB
JavaScript
|
|
/*!
|
||
|
|
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
|
||
|
|
* License https://froala.com/wysiwyg-editor/terms/
|
||
|
|
* Copyright 2014-2024 Froala Labs
|
||
|
|
*/
|
||
|
|
|
||
|
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function E(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function He(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function I(){I=function(){return i};var d,i={},e=Object.prototype,f=e.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(d){a=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof b?t:b,o=Object.create(a.prototype),i=new x(r||[]);return s(o,"_invoke",{value:function c(o,i,s){var l=u;return function(e,t){if(l===g)throw Error("Generator is already running");if(l===m){if("throw"===e)throw t;return{value:d,done:!0}}for(s.method=e,s.arg=t;;){var n=s.delegate;if(n){var r=_(n,s);if(r){if(r===v)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===u)throw l=m,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=g;var a=p(o,i,s);if("normal"===a.type){if(l=s.done?m:h,a.arg===v)continue;return{value:a.arg,done:s.done}}"throw"===a.type&&(l=m,s.method="throw",s.arg=a.arg)}}}(e,n,i)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=l;var u="suspendedStart",h="suspendedYield",g="executing",m="completed",v={};function b(){}function c(){}function C(){}var E={};a(E,o,function(){return this});var y=Object.getPrototypeOf,L=y&&y(y(R([])));L&&L!==e&&f.call(L,o)&&(E=L);var T=C.prototype=b.prototype=Object.create(E);function w(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function A(l,c){var t;s(this,"_invoke",{value:function(n,r){function e(){return new c(function(e,t){!function s(e,t,n,r){var a=p(l[e],l,t);if("throw"!==a.type){var o=a.arg,i=o.value;return i&&"object"==typeof i&&f.call(i,"__await")?c.resolve(i.__await).then(function(e){s("next",e,n,r)},function(e){s("throw",e,n,r)}):c.resolve(i).then(function(e){o.value=e,n(o)},function(e){return s("throw",e,n,r)})}r(a.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function _(e,t){var n=t.method,r=e.iterator[n];if(r===d)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=d,_(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=p(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,v;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=d),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function R(e){if(e||""===e){v
|