"use strict";var e=Object.defineProperty;var d=(o,s,t)=>s in o?e(o,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[s]=t;var i=(o,s,t)=>(d(o,typeof s!="symbol"?s+"":s,t),t);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=class l{constructor(s,t){i(this,"modules",{});this.quill=s,this.options=t}init(){Object.keys(this.options.modules).forEach(s=>{this.modules[s]==null&&this.addModule(s)})}addModule(s){const t=this.quill.constructor.import(`modules/${s}`);return this.modules[s]=new t(this.quill,this.options.modules[s]||{}),this.modules[s]}};i(l,"DEFAULTS",{modules:{}}),i(l,"themes",{default:l});let u=l;exports.default=u;
