var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0ffd9bcf.js';
var lib = createCommonjsModule(function (module, exports) {
    Object.defineProperty(exports, "__esModule", { value: true });
    var ModelUpdatedEvent = /** @class */ (function (_super) {
        __extends(ModelUpdatedEvent, _super);
        function ModelUpdatedEvent(update, reset) {
            if (reset === void 0) { reset = false; }
            var _this = _super.call(this, ModelUpdatedEvent.TYPE, { bubbles: true, detail: { update: update, reset: reset } }) || this;
            _this.update = update;
            _this.reset = reset;
            return _this;
        }
        return ModelUpdatedEvent;
    }(CustomEvent));
    ModelUpdatedEvent.TYPE = 'model.updated';
    exports.ModelUpdatedEvent = ModelUpdatedEvent;
    var DeleteImageEvent = /** @class */ (function (_super) {
        __extends(DeleteImageEvent, _super);
        function DeleteImageEvent(src, done) {
            var _this = _super.call(this, DeleteImageEvent.TYPE, { bubbles: true, detail: { src: src, done: done } }) || this;
            _this.src = src;
            _this.done = done;
            return _this;
        }
        return DeleteImageEvent;
    }(CustomEvent));
    DeleteImageEvent.TYPE = 'delete.image';
    exports.DeleteImageEvent = DeleteImageEvent;
    var InsertImageEvent = /** @class */ (function (_super) {
        __extends(InsertImageEvent, _super);
        function InsertImageEvent(handler) {
            var _this = _super.call(this, InsertImageEvent.TYPE, { bubbles: true, detail: handler }) || this;
            _this.handler = handler;
            return _this;
        }
        return InsertImageEvent;
    }(CustomEvent));
    InsertImageEvent.TYPE = 'insert.image';
    exports.InsertImageEvent = InsertImageEvent;
});
unwrapExports(lib);
var lib_1 = lib.ModelUpdatedEvent;
var lib_2 = lib.DeleteImageEvent;
var lib_3 = lib.InsertImageEvent;
export { lib_2 as a, lib_1 as b, lib_3 as l };
