define(["require","exports","tslib","comments2/components/comment_editor/types","comments2/components/comment_editor/layers/text","comments2/components/comment_editor/layers/update","comments2/components/comment_editor/layers/style","comments2/components/comment_editor/core/editor_container_component","comments2/components/comment_editor/layers/scaffold","comments2/components/comment_editor/layers/mentions_entity","comments2/components/comment_editor/layers/stickers"],(function(e,t,n,o,r,m,s,c,a,i,p){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u={draft:o.DraftNames,comment:o.CommentNames},y=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"scopeNames",{get:function(){return u},enumerable:!0,configurable:!0}),t.prototype.mapPropsToLayers=function(){return[new r.TextLayer,new s.StyleLayer,new i.MentionsEntityLayer,new p.StickerLayer,new m.UpdateLayer]},t.prototype.createDefaultStatus=function(){return a.createDefaultStatus(this.scopeNames)},t.prototype.mapPropsToUpdates=function(e,t){var o={};return e.content!==t.comment.content&&(o=n.__assign({},o,{comment:n.__assign({},t.comment,{content:e.content})})),o},t})(c.EditorContainer);t.ReadonlyEditorContainer=y})); //# sourceMappingURL=readonly_editor_container.min.js-vfl5nwjtk.map