trilium/libraries/ckeditor/ckeditor.js

6 lines
561 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-08-27 02:34:50 +08:00
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Paragraph",c:"Table toolbar",d:"Image toolbar",e:"Edit block",f:"Upload in progress",g:"Bold",h:"Italic",i:"Superscript",j:"Underline",k:"Subscript",l:"Strikethrough",m:"Code",n:"Block quote",o:"Insert image or file",p:"Choose heading",q:"Heading",r:"Heading 1",s:"Heading 2",t:"Heading 3",u:"Heading 4",v:"Heading 5",w:"Heading 6",x:"Link",y:"Upload failed",z:"Insert image",aa:"Full size image",ab:"Side image",ac:"Left aligned image",ad:"Centered image",ae:"Right aligned image",af:"Enter image caption",ag:"image widget",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:"Numbered List",ba:"Bulleted List",bb:"Editor toolbar",bc:"Widget toolbar",bd:"Could not obtain resized image URL.",be:"Selecting resized image failed",bf:"Could not insert image at the current position.",bg:"Inserting image failed",bh:"%0 of %1",bi:"Previous",bj:"Next",bk:"Open in a new tab",bl:"Downloadable",bm:"Rich Text Editor, %0",bn:"Unlink",bo:"Edit link",bp:"Open link in new tab",bq:"This link has no URL",br:"Save",bs:"Cancel",bt:"Link URL",bu:"Change image text alternative",bv:"Dropdown toolbar",bw:"Undo",bx:"Redo",by:"Text alternative"})}(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(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},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=85)}([function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return r});const i="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class o 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: ${i}#error-${e[1]}\n`:t}},function(t,e,n){"use strict";var i={},o=function(){var t;return function(){return void 0===t&&(t=Boolean(window&&document&&document.all&&!window.atob)),t}}(),r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}();function s(t,e){for(var n=[],i={},o=0;o<t.length;o++){var r=t[o],s=e.base?r[0]+e.base:r[0],a={css:r[1],media:r[2],sourceMap:r[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}function a(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=i[o.id],s=0;if(r){for(r.refs++;s<r.parts.length;s++)r.parts[s](o.parts[s]);for(;s<o.parts.length;s++)r.parts.push(f(o.parts[s],e))}else{for(var a=[];s<o.parts.length;s++)a.push(f(o.parts[s],e));i[o.id]={id:o.id,refs:1,parts:a}}}}function c(t){var e=document.createElement("style");i
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map