trilium/libraries/ckeditor/ckeditor.js

6 lines
645 KiB
JavaScript
Raw Normal View History

/*!
2020-01-02 05:59:51 +08:00
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
2017-12-02 23:37:12 +08:00
* For licensing, see LICENSE.md.
*/
2020-02-21 00:01:18 +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:"Upload in progress",g:"Bold",h:"Italic",i:"Superscript",j:"Subscript",k:"Underline",l:"Strikethrough",m:"Code",n:"Choose heading",o:"Heading",p:"Block quote",q:"Enter image caption",r:"Full size image",s:"Side image",t:"Left aligned image",u:"Centered image",v:"Right aligned image",w:"image widget",x:"Font Color",y:"Insert code block",z:"Font Background Color",aa:"To-do List",ab:"Numbered List",ac:"Bulleted List",ad:"Insert table",ae:"Header column",af:"Insert column left",ag:"Insert column right",ah:"Delete column",ai:"Column",aj:"Header row",ak:"Insert row below",al:"Insert row above",am:"Delete row",an:"Row",ao:"Merge cell up",ap:"Merge cell right",aq:"Merge cell down",ar:"Merge cell left",as:"Split cell vertically",at:"Split cell horizontally",au:"Merge cells",av:"Editor toolbar",aw:"Show more items",ax:"Widget toolbar",ay:"Link",az:"%0 of %1",ba:"Previous",bb:"Next",bc:"Heading 1",bd:"Heading 2",be:"Heading 3",bf:"Heading 4",bg:"Heading 5",bh:"Heading 6",bi:"Rich Text Editor, %0",bj:"Dropdown toolbar",bk:"Font Size",bl:"Default",bm:"Tiny",bn:"Small",bo:"Big",bp:"Huge",bq:"Font Family",br:"Remove color",bs:"Document colors",bt:"Undo",bu:"Redo",bv:"Unlink",bw:"Edit link",bx:"Open link in new tab",by:"This link has no URL",bz:"Plain text",ca:"Black",cb:"Dim grey",cc:"Grey",cd:"Light grey",ce:"White",cf:"Red",cg:"Orange",ch:"Yellow",ci:"Light green",cj:"Green",ck:"Aquamarine",cl:"Turquoise",cm:"Light blue",cn:"Blue",co:"Purple",cp:"Open in a new tab",cq:"Downloadable",cr:"Save",cs:"Cancel",ct:"Link URL",cu:"Upload failed",cv:"Insert image",cw:"Change image text alternative",cx:"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=104)}([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;const n=new o(t.message,e);throw n.stack=t.stack,n}}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={},s=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},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 a(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.push(i[r]={id:r,par
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map