!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.EditorJS=e():t.EditorJS=e()}(window,(function(){returnfunction(t){vare={};functionn(o){if(e[o])returne[o].exports;varr=e[o]={i:o,l:!1,exports:{}};returnt[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}returnn.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varo=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varrint)n.d(o,r,function(e){returnt[e]}.bind(null,r));returno},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=183)}([function(t,e,n){varo=n(9),r=n(17),i=n(27),a=n(23),s=n(30),c=function(t,e,n){varl,u,f,d,p=t&c.F,h=t&c.G,v=t&c.S,y=t&c.P,g=t&c.B,b=h?o:v?o[e]||(o[e]={}):(o[e]||{}).prototype,m=h?r:r[e]||(r[e]={}),k=m.prototype||(m.prototype={});for(linh&&(n=e),n)f=((u=!p&&b&&void0!==b[l])?b:n)[l],d=g&&u?s(f,o):y&&"function"==typeoff?s(Function.call,f):f,b&&a(b,l,f,t&c.U),m[l]!=f&&i(m,l,d),y&&k[l]!=f&&(k[l]=f)};o.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t){returnt&&t.__esModule?t:{default:t}}},function(t,e){t.exports=function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}},function(t,e){functionn(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}t.exports=function(t,e,o){returne&&n(t.prototype,e),o&&n(t,o),t}},function(t,e){functionn(e){returnt.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){varo=n(108);t.exports=function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}},function(t,e,n){varo=n(52),r=n(368);t.exports=function(t,e){return!e||"object"!==o(e)&&"function"!=typeofe?r(t):e}},function(t,e,n){varo,r,i;"undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofself&&self,r=[e,n(2),n(3)],void0===(i="function"==typeof(o=function(o,r,i){"use strict";vara=n(1);functions(t){if("undefined"==typeofSymbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(t){if("string"==typeoft)returnc(t,e);varn=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void0}}(t))){vare=0,n=function(){};return{s:n,n:function(){returne>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throwt},f:n}}thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}varo,r,i=!0,a=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){vart=o.next();returni=t.done,t},e:function(t){a=!0,r=t},f:function(){try{i||null==o.return||o.return()}finally{if(a)throwr}}}}functionc(t,e){(null==e||e>t.length)&&(e=t.length);for(varn=0,o=newArray(e);n<e;n++)o[n]=t[n];returno}Object.defineProperty(o,"__esModule",{value:!0}),o.default=void0,r=a(r),i=a(i);varl=function(){functiont(e){varn=this,o=e.config;if((0,r.default)(this,t),this.nodes={},this.readOnlyMutableListeners={on:function(t,e,o){varr=arguments.length>3&&void0!==arguments[3]&&arguments[3],i=n.Editor.Listeners;n.mutableLi