{"version":3,"file":"ckeditor.js","sources":["webpack://DecoupledDocumentEditor/ckeditor.js"],"sourcesContent":["/*!\n * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md.\n */\n(function(t){const e=t[\"zh-cn\"]=t[\"zh-cn\"]||{};e.dictionary=Object.assign(e.dictionary||{},{\"%0 of %1\":\"第 %0 步,共 %1 步\",\"Align center\":\"居中对齐\",\"Align left\":\"左对齐\",\"Align right\":\"右对齐\",Aquamarine:\"海蓝色\",Big:\"大\",Black:\"黑色\",\"Block quote\":\"块引用\",Blue:\"蓝色\",Bold:\"加粗\",\"Bulleted List\":\"项目符号列表\",\"Bulleted list styles toolbar\":\"项目符号列表样式工具条\",Cancel:\"取消\",\"Cannot upload file:\":\"无法上传的文件:\",Circle:\"空心圆点\",Decimal:\"阿拉伯数字\",\"Decimal with leading zero\":\"前导零阿拉伯数字\",\"Decrease indent\":\"减少缩进\",Default:\"默认\",\"Dim grey\":\"暗灰色\",Disc:\"实心圆点\",\"Document colors\":\"文档中的颜色\",Downloadable:\"可下载\",\"Dropdown toolbar\":\"下拉工具栏\",\"Edit block\":\"编辑框\",\"Edit link\":\"修改链接\",\"Editor toolbar\":\"编辑器工具栏\",\"Font Background Color\":\"字体背景色\",\"Font Color\":\"字体颜色\",\"Font Size\":\"字体大小\",Green:\"绿色\",Grey:\"灰色\",Huge:\"极大\",\"Increase indent\":\"增加缩进\",\"Insert media\":\"插入媒体\",\"Insert paragraph after block\":\"在后面插入段落\",\"Insert paragraph before block\":\"在前面插入段落\",Italic:\"倾斜\",Justify:\"两端对齐\",\"Light blue\":\"浅蓝色\",\"Light green\":\"浅绿色\",\"Light grey\":\"浅灰色\",Link:\"超链接\",\"Link URL\":\"链接网址\",\"Lower-latin\":\"小写拉丁字母\",\"Lower–roman\":\"小写罗马数字\",\"Media URL\":\"媒体URL\",\"media widget\":\"媒体小部件\",Next:\"下一步\",\"Numbered List\":\"项目编号列表\",\"Numbered list styles toolbar\":\"项目编号列表样式工具条\",\"Open in a new tab\":\"在新标签页中打开\",\"Open link in new tab\":\"在新标签页中打开链接\",Orange:\"橙色\",\"Paste the media URL in the input.\":\"在输入中粘贴媒体URL\",Previous:\"上一步\",Purple:\"紫色\",Red:\"红色\",Redo:\"重做\",\"Remove color\":\"移除颜色\",\"Rich Text Editor\":\"富文本编辑器\",\"Rich Text Editor, %0\":\"富文本编辑器, %0\",Save:\"保存\",\"Select all\":\"全选\",\"Show more items\":\"显示更多\",Small:\"小\",Square:\"实心方块\",Strikethrough:\"删除线\",\"Text alignment\":\"对齐\",\"Text alignment toolbar\":\"对齐工具栏\",\"The URL must not be empty.\":\"URL不可以为空。\",\"This link has no URL\":\"此链接没有设置网址\",\"This media URL is not supported.\":\"不支持此媒体URL。\",Tiny:\"极小\",\"Tip: Paste the URL into the content to embed faster.\":\"提示:将URL粘贴到内容中可更快地嵌入\",\"To-do List\":\"待办列表\",\"Toggle the circle list style\":\"切换空心原点列表样式\",\"Toggle the decimal list style\":\"切换阿拉伯数字列表样式\",\"Toggle the decimal with leading zero list style\":\"切换前导零阿拉伯数字列表样式\",\"Toggle the disc list style\":\"切换实心原点列表样式\",\"Toggle the lower–latin list style\":\"切换小写拉丁字母列表样式\",\"Toggle the lower–roman list style\":\"切换小写罗马数字列表样式\",\"Toggle the square list style\":\"切换实心方块列表样式\",\"Toggle the upper–latin list style\":\"切换大写拉丁字母列表样式\",\"Toggle the upper–roman list style\":\"切换大写罗马数字列表样式\",Turquoise:\"青色\",Underline:\"下划线\",Undo:\"撤销\",Unlink:\"取消超链接\",\"Upload in progress\":\"正在上传\",\"Upper-latin\":\"大写拉丁字母\",\"Upper-roman\":\"大写罗马数字\",White:\"白色\",\"Widget toolbar\":\"小部件工具栏\",Yellow:\"黄色\"});e.getPluralForm=function(t){return 0}})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));(function t(e,n){if(typeof exports===\"object\"&&typeof module===\"object\")module.exports=n();else if(typeof define===\"function\"&&define.amd)define([],n);else if(typeof exports===\"object\")exports[\"DecoupledDocumentEditor\"]=n();else e[\"DecoupledDocumentEditor\"]=n()})(window,(function(){return function(t){var e={};function n(o){if(e[o]){return e[o].exports}var i=e[o]={i:o,l:false,exports:{}};t[o].call(i.exports,i,i.exports,n);i.l=true;return i.exports}n.m=t;n.c=e;n.d=function(t,e,o){if(!n.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:o})}};n.r=function(t){if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(t,\"__esModule\",{value:true})};n.t=function(t,e){if(e&1)t=n(t);if(e&8)return t;if(e&4&&typeof t===\"object\"&&t&&t.__esModule)return t;var o=Object.create(null);n.r(o);Object.defineProperty(o,\"default\",{enumerable:true,value:t});if(e&2&&typeof t!=\"string\")for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o};n.n=function(t){var e=t&&t.__esModule?function e(){return t[\"default\"]}:function e(){return t};n.d(e,\"a\",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p=\"\";return n(n.s=53)}([function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return i}));n.d(e,\"b\",(function(){return r}));const o=\"https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html\";class i extends Error{constructor(t,e,n){const o=`${t}${n?` ${JSON.stringify(n)}`:\"\"}${a(t)}`;super(o);this.name=\"CKEditorError\";this.context=e;this.data=n}is(t){return t===\"CKEditorError\"}static rethrowUnexpectedError(t,e){if(t.is&&t.is(\"CKEditorError\")){throw t}const n=new i(t.message,e);n.stack=t.stack;throw n}}function r(t,e){console.warn(...c(t,e))}function s(t,e){console.error(...c(t,e))}function a(t){return`\\nRead more: ${o}#error-${t}`}function c(t,e){const n=a(t);return e?[t,e,n]:[t,n]}},function(t,e,n){\"use strict\";var o=function t(){var e;return function t(){if(typeof e===\"undefined\"){e=Boolean(window&&document&&document.all&&!window.atob)}return e}}();var i=function t(){var e={};return function t(n){if(typeof e[n]===\"undefined\"){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement){try{o=o.contentDocument.head}catch(t){o=null}}e[n]=o}return e[n]}}();var r=[];function s(t){var e=-1;for(var n=0;nt.length)e=t.length;for(var n=0,o=new Array(e);n