define("discourse/plugins/discourse-details/initializers/apply-details",["exports","I18n","discourse/lib/plugin-api"],(function(e,t,i){"use strict";function s(e){e.decorateCooked((function(e){return $("details",e)}),{id:"discourse-details"}),e.addToolbarPopupMenuOptionsCallback((function(){return{action:"insertDetails",icon:"caret-right",label:"details.title"}})),e.modifyClass("controller:composer",{pluginId:"discourse-details",actions:{insertDetails:function(){this.toolbarEvent.applySurround("\n"+'[details="'.concat(t.default.t("composer.details_title"),'"]')+"\n","\n[/details]\n","details_text",{multiline:!1})}}})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l={name:"apply-details",initialize:function(){(0,i.withPluginApi)("0.8.7",s)}};e.default=l})),define("discourse/plugins/discourse-details/lib/discourse-markdown/details",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setup=function(e){e.allowList(["summary","summary[title]","details","details[open]","details.elided"]),e.registerPlugin((function(e){e.block.bbcode.ruler.push("details",t)}))};var t={tag:"details",before:function(e,t){var i=t.attrs;e.push("bbcode_open","details",1),e.push("bbcode_open","summary",1),e.push("text","",0).content=i._default||"",e.push("bbcode_close","summary",-1)},after:function(e){e.push("bbcode_close","details",-1)}}}));
//# sourceMappingURL=https://doy2mn9upadnk.cloudfront.net/assets/plugins/discourse-details-a5c71c75398c735e851440262e3c9ba43f9d8a2a7d81d8ecec16c8b2dbf452c3.js.map