trilium/libraries/ckeditor/ckeditor.js

6 lines
553 KiB
JavaScript
Raw Normal View History

/*!
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
2017-12-02 23:37:12 +08:00
* For licensing, see LICENSE.md.
*/
2019-07-05 01:53:10 +08:00
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Paragraph",c:"Edit block",d:"Upload in progress",e:"Italic",f:"Superscript",g:"Subscript",h:"Bold",i:"Underline",j:"Code",k:"Strikethrough",l:"Insert image or file",m:"Choose heading",n:"Heading",o:"Heading 1",p:"Heading 2",q:"Heading 3",r:"Heading 4",s:"Heading 5",t:"Heading 6",u:"image widget",v:"Block quote",w:"Full size image",x:"Side image",y:"Left aligned image",z:"Centered image",aa:"Right aligned image",ab:"Numbered List",ac:"Bulleted List",ad:"Link",ae:"Enter image caption",af:"Upload failed",ag:"Insert image",ah:"Insert table",ai:"Header column",aj:"Insert column left",ak:"Insert column right",al:"Delete column",am:"Column",an:"Header row",ao:"Insert row below",ap:"Insert row above",aq:"Delete row",ar:"Row",as:"Merge cell up",at:"Merge cell right",au:"Merge cell down",av:"Merge cell left",aw:"Split cell vertically",ax:"Split cell horizontally",ay:"Merge cells",az:"Could not obtain resized image URL.",ba:"Selecting resized image failed",bb:"Could not insert image at the current position.",bc:"Inserting image failed",bd:"Change image text alternative",be:"%0 of %1",bf:"Previous",bg:"Next",bh:"Undo",bi:"Redo",bj:"Save",bk:"Cancel",bl:"Text alternative",bm:"Open in a new tab",bn:"Downloadable",bo:"Unlink",bp:"Edit link",bq:"Open link in new tab",br:"This link has no URL",bs:"Link URL",bt:"Rich Text Editor, %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BalloonEditor=e():t.BalloonEditor=e()}(window,function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)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(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=131)}([function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",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){t=r(t),n&&(t+=" "+JSON.stringify(n)),super(t),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}}function r(t){const e=t.match(/^([^:]+):/);return e?t+` Read more: ${o}#error-${e[1]}\n`:t}},function(t,e,n){"use strict";var o=n(0);const i={error(t,e){console.error(Object(o.a)(t),e)},warn(t,e){console.warn(Object(o.a)(t),e)}};e.a=i},function(t,e,n){var o={},i=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),r=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var o=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}}(),s=null,a=0,c=[],l=n(62);function d(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=o[i.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](i.parts[s]);for(;s<i.parts.length;s++)r.parts.push(g(i.parts[s],e))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(g(i.parts[s],e));o[i.id]={id:i.id,refs:1,parts:a}}}}function h(t,e){for(var n=[],o={},i=0;i<t.length;i++)
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map