(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{1014:function(t,e,o){"use strict";o.r(e);var r=o(0),n=(o(11),o(32),o(304)),c=o.n(n),d=(o(938),o(638),o(942),o(640)),l=(o(634),{components:{Editor:d.Editor},layout:"project",validate:function(t){var e=t.params;return/^\d+$/.test(e.id)},data:function(){return{editorOptions:{language:this.$t("toastui.localeCode")},project:{},mounted:!1}},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.$route.params.id,e.next=3,t.$services.project.findById(o);case 3:t.project=e.sent,t.$refs.toastuiEditor.invoke("setMarkdown",t.project.guideline),t.mounted=!0;case 6:case"end":return e.stop()}}),e)})))()},methods:{updateProject:c.a.debounce((function(){this.mounted&&(this.project.guideline=this.$refs.toastuiEditor.invoke("getMarkdown"),this.$services.project.update(this.project))}),1e3)}}),h=(o(944),o(84)),component=Object(h.a)(l,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("editor",{ref:"toastuiEditor",attrs:{"initial-value":t.project.guideline,options:t.editorOptions,"preview-style":"vertical",height:"inherit"},on:{change:t.updateProject}})}),[],!1,null,null,null);e.default=component.exports},634:function(t,e,o){var content=o(635);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(34).default)("a638c6ec",content,!0,{sourceMap:!1})},635:function(t,e,o){var r=o(33)(!1);r.push([t.i,".theme--dark .tui-editor-contents h1{color:#fff}.theme--dark .tui-editor-contents code span,.theme--dark .tui-editor-contents h2,.theme--dark .tui-editor-contents h3,.theme--dark .tui-editor-contents h4,.theme--dark .tui-editor-contents h5,.theme--dark .tui-editor-contents h6{color:#ccc}.theme--dark .tui-editor-contents blockquote{color:#888}.theme--dark .tui-editor-contents dir,.theme--dark .tui-editor-contents menu,.theme--dark .tui-editor-contents ol,.theme--dark .tui-editor-contents p,.theme--dark .tui-editor-contents table,.theme--dark .tui-editor-contents ul{color:#aaa}.theme--dark .tui-editor-contents table td{border:#151515}.theme--dark .tui-editor-contents table th{border:#8d8884;background-color:#847e7b}.theme--dark .tui-editor-contents pre{background-color:#0a0807}.theme--dark .tui-editor-contents code{color:#3e8774}",""]),t.exports=r},758:function(t,e,o){var content=o(945);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(34).default)("10ecfcfc",content,!0,{sourceMap:!1})},944:function(t,e,o){"use strict";o(758)},945:function(t,e,o){var r=o(33)(!1);r.push([t.i,".te-md-container .CodeMirror,.tui-editor-contents{font-size:20px}",""]),t.exports=r}}]);