trilium/libraries/ckeditor/ckeditor.js

6 lines
621 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.
*/
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Paragraph",d:"Table toolbar",e:"Edit block",f:"Upload in progress",g:"Superscript",h:"Bold",i:"Italic",j:"Subscript",k:"Strikethrough",l:"Underline",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:"Font Background Color",y:"Font Color",z:"Insert table",aa:"Header column",ab:"Insert column left",ac:"Insert column right",ad:"Delete column",ae:"Column",af:"Header row",ag:"Insert row below",ah:"Insert row above",ai:"Delete row",aj:"Row",ak:"Merge cell up",al:"Merge cell right",am:"Merge cell down",an:"Merge cell left",ao:"Split cell vertically",ap:"Split cell horizontally",aq:"Merge cells",ar:"To-do List",as:"Link",at:"Editor toolbar",au:"Show more items",av:"Numbered List",aw:"Bulleted List",ax:"Upload failed",ay:"Insert image",az:"Widget toolbar",ba:"Could not obtain resized image URL.",bb:"Selecting resized image failed",bc:"Could not insert image at the current position.",bd:"Inserting image failed",be:"%0 of %1",bf:"Previous",bg:"Next",bh:"Dropdown toolbar",bi:"image widget",bj:"Font Size",bk:"Default",bl:"Tiny",bm:"Small",bn:"Big",bo:"Huge",bp:"Font Family",bq:"Remove color",br:"Document colors",bs:"Black",bt:"Dim grey",bu:"Grey",bv:"Light grey",bw:"White",bx:"Red",by:"Orange",bz:"Yellow",ca:"Light green",cb:"Green",cc:"Aquamarine",cd:"Turquoise",ce:"Light blue",cf:"Blue",cg:"Purple",ch:"Undo",ci:"Redo",cj:"Open in a new tab",ck:"Downloadable",cl:"Save",cm:"Cancel",cn:"Link URL",co:"Unlink",cp:"Edit link",cq:"Open link in new tab",cr:"This link has no URL",cs:"Rich Text Editor, %0",ct:"Full size image",cu:"Side image",cv:"Left aligned image",cw:"Centered image",cx:"Right aligned image",cy:"Enter image caption",cz:"Change image text alternative",da:"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=101)}([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}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;throw new o("unexpected-error",e,{originalError:{message:t.message,stack:t.stack,name:t.name}})}}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}catc
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map