OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/assets/javascripts/vendor/ckeditor/ckeditor.js

6 lines
672 KiB

/*!
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/
!function(e){e.en=Object.assign(e.en||{},{a:"Cannot upload file:",b:"Bold",c:"Code",d:"Upload in progress",e:"Block quote",f:"Insert table",g:"Header column",h:"Insert column left",i:"Insert column right",j:"Delete column",k:"Column",l:"Header row",m:"Insert row below",n:"Insert row above",o:"Delete row",p:"Row",q:"Merge cell up",r:"Merge cell right",s:"Merge cell down",t:"Merge cell left",u:"Split cell vertically",v:"Split cell horizontally",w:"Merge cells",x:"Rich Text Editor",y:"Full size image",z:"Side image",aa:"Left aligned image",ab:"Centered image",ac:"Right aligned image",ad:"Rich Text Editor, %0",ae:"Undo",af:"Redo",ag:"Upload failed",ah:"Insert image",ai:"Enter image caption",aj:"image widget",ak:"Link",al:"Numbered List",am:"Bulleted List",an:"Choose heading",ao:"Heading",ap:"Italic",aq:"Strikethrough",ar:"Change image text alternative",as:"Paragraph",at:"Heading 1",au:"Heading 2",av:"Heading 3",aw:"Heading 4",ax:"Heading 5",ay:"Heading 6",az:"Save",ba:"Cancel",bb:"Link URL",bc:"Unlink",bd:"Edit link",be:"Open link in new tab",bf:"This link has no URL",bg:"Text alternative"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.OPEditor=t():e.OPEditor=t()}(window,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=193)}([function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r});const o="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class i extends Error{constructor(e,t){e=r(e),t&&(e+=" "+JSON.stringify(t)),super(e),this.name="CKEditorError",this.data=t}static isCKEditorError(e){return e instanceof i}}function r(e){const t=e.match(/^([^:]+):/);return t?e+` Read more: ${o}#error-${t[1]}\n`:e}},function(e,t,n){var o={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),r=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var o=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),s=null,a=0,c=[],l=n(65);function d(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=o[i.id];if(r){r.refs++;for(var s=0;s<r.parts.length;s++)r.parts[s](i.parts[s]);for(;s<i.parts.length;s++)r.parts.push(g(i.parts[s],t))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(g(i.parts[s],t));o[i.id]={id:i.id,refs:1,parts:a}}}}function u(e,t){for(var n=[],o={},i=0;i<e.length;i++){var r=e[i],s=t.base?r[0]+t.base:r[0],a={css:r[1],media:r[2],sourceMap:r[3]};o[s]?o[s].parts.push(a):n.push(o[s]={id:s,parts:[a]})}return n}function h(e,t){var n=r(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=c[c.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),c.push(t)
//# sourceMappingURL=ckeditor.js.map