trilium/libraries/ckeditor/ckeditor.js

6 lines
600 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-10-01 01:35:00 +08:00
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Paragraph",d:"Table toolbar",e:"Edit block",f:"Block quote",g:"Bold",h:"Italic",i:"Superscript",j:"Underline",k:"Subscript",l:"Code",m:"Strikethrough",n:"Insert image or file",o:"image widget",p:"Upload in progress",q:"Enter image caption",r:"Full size image",s:"Side image",t:"Left aligned image",u:"Centered image",v:"Right aligned image",w:"Font Background Color",x:"Font Color",y:"Insert table",z:"Header column",aa:"Insert column left",ab:"Insert column right",ac:"Delete column",ad:"Column",ae:"Header row",af:"Insert row below",ag:"Insert row above",ah:"Delete row",ai:"Row",aj:"Merge cell up",ak:"Merge cell right",al:"Merge cell down",am:"Merge cell left",an:"Split cell vertically",ao:"Split cell horizontally",ap:"Merge cells",aq:"To-do List",ar:"Numbered List",as:"Bulleted List",at:"Editor toolbar",au:"Heading 1",av:"Heading 2",aw:"Heading 3",ax:"Heading 4",ay:"Heading 5",az:"Heading 6",ba:"Link",bb:"Widget toolbar",bc:"Could not obtain resized image URL.",bd:"Selecting resized image failed",be:"Could not insert image at the current position.",bf:"Inserting image failed",bg:"Change image text alternative",bh:"%0 of %1",bi:"Previous",bj:"Next",bk:"Black",bl:"Dim grey",bm:"Grey",bn:"Light grey",bo:"White",bp:"Red",bq:"Orange",br:"Yellow",bs:"Light green",bt:"Green",bu:"Aquamarine",bv:"Turquoise",bw:"Light blue",bx:"Blue",by:"Purple",bz:"Font Family",ca:"Default",cb:"Font Size",cc:"Tiny",cd:"Small",ce:"Big",cf:"Huge",cg:"Remove color",ch:"Document colors",ci:"Save",cj:"Cancel",ck:"Text alternative",cl:"Dropdown toolbar",cm:"Open in a new tab",cn:"Downloadable",co:"Undo",cp:"Redo",cq:"Link URL",cr:"Unlink",cs:"Edit link",ct:"Open link in new tab",cu:"This link has no URL",cv:"Rich Text Editor, %0",cw:"Choose heading",cx:"Heading",cy:"Insert image",cz:"Upload failed"})}(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=95)}([function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});const i="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class o extends Error{constructor(t,e,n){t=s(t),n&&(t+=" "+JSON.stringify(n)),super(t),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}}function s(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}}(),s=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 r(t,e){for(var n=[],i={},o=0;o<t.length;o++){var s=t[o],r=e.base?s[0]+e.base:s[0],a={css:s[1],media:s[2],sourceMap:s[3]};i[r]?i[r].parts.push(a):n.p
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map