trilium/libraries/ckeditor/ckeditor.js

6 lines
632 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-01-02 05:59:51 +08:00
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Paragraph",e:"Edit block",f:"Upload in progress",g:"Bold",h:"Italic",i:"Underline",j:"Superscript",k:"Choose heading",l:"Heading",m:"Strikethrough",n:"Subscript",o:"Heading 1",p:"Heading 2",q:"Heading 3",r:"Heading 4",s:"Heading 5",t:"Heading 6",u:"Font Background Color",v:"Font Color",w:"Insert code block",x:"Numbered List",y:"Bulleted List",z:"To-do List",aa:"Insert table",ab:"Header column",ac:"Insert column left",ad:"Insert column right",ae:"Delete column",af:"Column",ag:"Header row",ah:"Insert row below",ai:"Insert row above",aj:"Delete row",ak:"Row",al:"Merge cell up",am:"Merge cell right",an:"Merge cell down",ao:"Merge cell left",ap:"Split cell vertically",aq:"Split cell horizontally",ar:"Merge cells",as:"Editor toolbar",at:"Show more items",au:"Widget toolbar",av:"Link",aw:"Block quote",ax:"%0 of %1",ay:"Previous",az:"Next",ba:"Dropdown toolbar",bb:"Font Family",bc:"Default",bd:"Font Size",be:"Tiny",bf:"Small",bg:"Big",bh:"Huge",bi:"Remove color",bj:"Document colors",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:"Plain text",ca:"Undo",cb:"Redo",cc:"Open in a new tab",cd:"Downloadable",ce:"Unlink",cf:"Edit link",cg:"Open link in new tab",ch:"This link has no URL",ci:"Save",cj:"Cancel",ck:"Link URL",cl:"Rich Text Editor, %0",cm:"Upload failed",cn:"Insert image",co:"Full size image",cp:"Side image",cq:"Left aligned image",cr:"Centered image",cs:"Right aligned image",ct:"image widget",cu:"Enter image caption",cv:"Code",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(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=104)}([function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));const o="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class i 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 i(t.message,e);throw n.stack=t.stack,n}}function s(t){const e=t.match(/^([^:]+):/);return e?t+` Read more: ${o}#error-${e[1]}\n`:t}},function(t,e,n){"use strict";var o,i={},s=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},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=[],o={},i=0;i<t.length;i++){var s=t[i],r=e.base?s[0]+e.base:s[0],a={css:s[1],media:s[2],sourceMap:s[3]};o[r]?o[r].parts.push(a):n.push(o[r]={id:r,par
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map