{"version":3,"file":"ckeditor.js","sources":["webpack://ClassicEditor/ckeditor.js"],"sourcesContent":["/*!\n * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md.\n */\n(function(t){const e=t[\"en\"]=t[\"en\"]||{};e.dictionary=Object.assign(e.dictionary||{},{\"%0 of %1\":\"%0 of %1\",\"Align cell text to the bottom\":\"Align cell text to the bottom\",\"Align cell text to the center\":\"Align cell text to the center\",\"Align cell text to the left\":\"Align cell text to the left\",\"Align cell text to the middle\":\"Align cell text to the middle\",\"Align cell text to the right\":\"Align cell text to the right\",\"Align cell text to the top\":\"Align cell text to the top\",\"Align center\":\"Align center\",\"Align left\":\"Align left\",\"Align right\":\"Align right\",\"Align table to the left\":\"Align table to the left\",\"Align table to the right\":\"Align table to the right\",Alignment:\"Alignment\",\"Almost equal to\":\"Almost equal to\",Angle:\"Angle\",\"Approximately equal to\":\"Approximately equal to\",Aquamarine:\"Aquamarine\",\"Asterisk operator\":\"Asterisk operator\",\"Austral sign\":\"Austral sign\",\"back with leftwards arrow above\":\"back with leftwards arrow above\",Background:\"Background\",Big:\"Big\",\"Bitcoin sign\":\"Bitcoin sign\",Black:\"Black\",\"Block quote\":\"Block quote\",Blue:\"Blue\",\"Blue marker\":\"Blue marker\",Bold:\"Bold\",Border:\"Border\",\"Bulleted List\":\"Bulleted List\",\"Bulleted list styles toolbar\":\"Bulleted list styles toolbar\",Cancel:\"Cancel\",\"Cannot upload file:\":\"Cannot upload file:\",\"Cedi sign\":\"Cedi sign\",\"Cell properties\":\"Cell properties\",\"Cent sign\":\"Cent sign\",\"Center table\":\"Center table\",\"Centered image\":\"Centered image\",\"Change image text alternative\":\"Change image text alternative\",\"Character categories\":\"Character categories\",\"Characters: %0\":\"Characters: %0\",\"Choose heading\":\"Choose heading\",Circle:\"Circle\",Code:\"Code\",\"Colon sign\":\"Colon sign\",Color:\"Color\",\"Color picker\":\"Color picker\",Column:\"Column\",\"Contains as member\":\"Contains as member\",\"Copyright sign\":\"Copyright sign\",\"Could not insert image at the current position.\":\"Could not insert image at the current position.\",\"Could not obtain resized image URL.\":\"Could not obtain resized image URL.\",\"Cruzeiro sign\":\"Cruzeiro sign\",\"Currency sign\":\"Currency sign\",Dashed:\"Dashed\",Decimal:\"Decimal\",\"Decimal with leading zero\":\"Decimal with leading zero\",\"Decrease indent\":\"Decrease indent\",Default:\"Default\",\"Degree sign\":\"Degree sign\",\"Delete column\":\"Delete column\",\"Delete row\":\"Delete row\",\"Dim grey\":\"Dim grey\",Dimensions:\"Dimensions\",\"Disable editing\":\"Disable editing\",Disc:\"Disc\",\"Division sign\":\"Division sign\",\"Document colors\":\"Document colors\",\"Dollar sign\":\"Dollar sign\",\"Dong sign\":\"Dong sign\",Dotted:\"Dotted\",Double:\"Double\",\"Double dagger\":\"Double dagger\",\"Double exclamation mark\":\"Double exclamation mark\",\"Double low-9 quotation mark\":\"Double low-9 quotation mark\",\"Double question mark\":\"Double question mark\",Downloadable:\"Downloadable\",\"downwards arrow to bar\":\"downwards arrow to bar\",\"downwards dashed arrow\":\"downwards dashed arrow\",\"downwards double arrow\":\"downwards double arrow\",\"Drachma sign\":\"Drachma sign\",\"Dropdown toolbar\":\"Dropdown toolbar\",\"Edit link\":\"Edit link\",\"Edit source\":\"Edit source\",\"Editor toolbar\":\"Editor toolbar\",\"Element of\":\"Element of\",\"Em dash\":\"Em dash\",\"Empty set\":\"Empty set\",\"En dash\":\"En dash\",\"Enable editing\":\"Enable editing\",\"end with leftwards arrow above\":\"end with leftwards arrow above\",\"Enter image caption\":\"Enter image caption\",\"Euro sign\":\"Euro sign\",\"Euro-currency sign\":\"Euro-currency sign\",\"Exclamation question mark\":\"Exclamation question mark\",\"Font Background Color\":\"Font Background Color\",\"Font Color\":\"Font Color\",\"Font Family\":\"Font Family\",\"Font Size\":\"Font Size\",\"For all\":\"For all\",\"Fraction slash\":\"Fraction slash\",\"French franc sign\":\"French franc sign\",\"Full size image\":\"Full size image\",\"German penny sign\":\"German penny sign\",\"Greater-than or equal to\":\"Greater-than or equal to\",\"Greater-than sign\":\"Greater-than sign\",Green:\"Green\",\"Green marker\":\"Green marker\",\"Green pen\":\"Green pen\",Grey:\"Grey\",Groove:\"Groove\",\"Guarani sign\":\"Guarani sign\",\"Header column\":\"Header column\",\"Header row\":\"Header row\",Heading:\"Heading\",\"Heading 1\":\"Heading 1\",\"Heading 2\":\"Heading 2\",\"Heading 3\":\"Heading 3\",\"Heading 4\":\"Heading 4\",\"Heading 5\":\"Heading 5\",\"Heading 6\":\"Heading 6\",Height:\"Height\",Highlight:\"Highlight\",\"Horizontal ellipsis\":\"Horizontal ellipsis\",\"Horizontal line\":\"Horizontal line\",\"Horizontal text alignment toolbar\":\"Horizontal text alignment toolbar\",\"Hryvnia sign\":\"Hryvnia sign\",\"HTML snippet\":\"HTML snippet\",Huge:\"Huge\",\"Identical to\":\"Identical to\",\"Image resize list\":\"Image resize list\",\"Image toolbar\":\"Image toolbar\",\"image widget\":\"image widget\",\"Increase indent\":\"Increase indent\",\"Indian rupee sign\":\"Indian rupee sign\",Infinity:\"Infinity\",Insert:\"Insert\",\"Insert code block\":\"Insert code block\",\"Insert column left\":\"Insert column left\",\"Insert column right\":\"Insert column right\",\"Insert HTML\":\"Insert HTML\",\"Insert image\":\"Insert image\",\"Insert image or file\":\"Insert image or file\",\"Insert image via URL\":\"Insert image via URL\",\"Insert media\":\"Insert media\",\"Insert paragraph after block\":\"Insert paragraph after block\",\"Insert paragraph before block\":\"Insert paragraph before block\",\"Insert row above\":\"Insert row above\",\"Insert row below\":\"Insert row below\",\"Insert table\":\"Insert table\",\"Inserting image failed\":\"Inserting image failed\",Inset:\"Inset\",Integral:\"Integral\",Intersection:\"Intersection\",\"Inverted exclamation mark\":\"Inverted exclamation mark\",\"Inverted question mark\":\"Inverted question mark\",Italic:\"Italic\",Justify:\"Justify\",\"Justify cell text\":\"Justify cell text\",\"Kip sign\":\"Kip sign\",\"Latin capital letter a with breve\":\"Latin capital letter a with breve\",\"Latin capital letter a with macron\":\"Latin capital letter a with macron\",\"Latin capital letter a with ogonek\":\"Latin capital letter a with ogonek\",\"Latin capital letter c with acute\":\"Latin capital letter c with acute\",\"Latin capital letter c with caron\":\"Latin capital letter c with caron\",\"Latin capital letter c with circumflex\":\"Latin capital letter c with circumflex\",\"Latin capital letter c with dot above\":\"Latin capital letter c with dot above\",\"Latin capital letter d with caron\":\"Latin capital letter d with caron\",\"Latin capital letter d with stroke\":\"Latin capital letter d with stroke\",\"Latin capital letter e with breve\":\"Latin capital letter e with breve\",\"Latin capital letter e with caron\":\"Latin capital letter e with caron\",\"Latin capital letter e with dot above\":\"Latin capital letter e with dot above\",\"Latin capital letter e with macron\":\"Latin capital letter e with macron\",\"Latin capital letter e with ogonek\":\"Latin capital letter e with ogonek\",\"Latin capital letter eng\":\"Latin capital letter eng\",\"Latin capital letter g with breve\":\"Latin capital letter g with breve\",\"Latin capital letter g with cedilla\":\"Latin capital letter g with cedilla\",\"Latin capital letter g with circumflex\":\"Latin capital letter g with circumflex\",\"Latin capital letter g with dot above\":\"Latin capital letter g with dot above\",\"Latin capital letter h with circumflex\":\"Latin capital letter h with circumflex\",\"Latin capital letter h with stroke\":\"Latin capital letter h with stroke\",\"Latin capital letter i with breve\":\"Latin capital letter i with breve\",\"Latin capital letter i with dot above\":\"Latin capital letter i with dot above\",\"Latin capital letter i with macron\":\"Latin capital letter i with macron\",\"Latin capital letter i with ogonek\":\"Latin capital letter i with ogonek\",\"Latin capital letter i with tilde\":\"Latin capital letter i with tilde\",\"Latin capital letter j with circumflex\":\"Latin capital letter j with circumflex\",\"Latin capital letter k with cedilla\":\"Latin capital letter k with cedilla\",\"Latin capital letter l with acute\":\"Latin capital letter l with acute\",\"Latin capital letter l with caron\":\"Latin capital letter l with caron\",\"Latin capital letter l with cedilla\":\"Latin capital letter l with cedilla\",\"Latin capital letter l with middle dot\":\"Latin capital letter l with middle dot\",\"Latin capital letter l with stroke\":\"Latin capital letter l with stroke\",\"Latin capital letter n with acute\":\"Latin capital letter n with acute\",\"Latin capital letter n with caron\":\"Latin capital letter n with caron\",\"Latin capital letter n with cedilla\":\"Latin capital letter n with cedilla\",\"Latin capital letter o with breve\":\"Latin capital letter o with breve\",\"Latin capital letter o with double acute\":\"Latin capital letter o with double acute\",\"Latin capital letter o with macron\":\"Latin capital letter o with macron\",\"Latin capital letter r with acute\":\"Latin capital letter r with acute\",\"Latin capital letter r with caron\":\"Latin capital letter r with caron\",\"Latin capital letter r with cedilla\":\"Latin capital letter r with cedilla\",\"Latin capital letter s with acute\":\"Latin capital letter s with acute\",\"Latin capital letter s with caron\":\"Latin capital letter s with caron\",\"Latin capital letter s with cedilla\":\"Latin capital letter s with cedilla\",\"Latin capital letter s with circumflex\":\"Latin capital letter s with circumflex\",\"Latin capital letter t with caron\":\"Latin capital letter t with caron\",\"Latin capital letter t with cedilla\":\"Latin capital letter t with cedilla\",\"Latin capital letter t with stroke\":\"Latin capital letter t with stroke\",\"Latin capital letter u with breve\":\"Latin capital letter u with breve\",\"Latin capital letter u with double acute\":\"Latin capital letter u with double acute\",\"Latin capital letter u with macron\":\"Latin capital letter u with macron\",\"Latin capital letter u with ogonek\":\"Latin capital letter u with ogonek\",\"Latin capital letter u with ring above\":\"Latin capital letter u with ring above\",\"Latin capital letter u with tilde\":\"Latin capital letter u with tilde\",\"Latin capital letter w with circumflex\":\"Latin capital letter w with circumflex\",\"Latin capital letter y with circumflex\":\"Latin capital letter y with circumflex\",\"Latin capital letter y with diaeresis\":\"Latin capital letter y with diaeresis\",\"Latin capital letter z with acute\":\"Latin capital letter z with acute\",\"Latin capital letter z with caron\":\"Latin capital letter z with caron\",\"Latin capital letter z with dot above\":\"Latin capital letter z with dot above\",\"Latin capital ligature ij\":\"Latin capital ligature ij\",\"Latin capital ligature oe\":\"Latin capital ligature oe\",\"Latin small letter a with breve\":\"Latin small letter a with breve\",\"Latin small letter a with macron\":\"Latin small letter a with macron\",\"Latin small letter a with ogonek\":\"Latin small letter a with ogonek\",\"Latin small letter c with acute\":\"Latin small letter c with acute\",\"Latin small letter c with caron\":\"Latin small letter c with caron\",\"Latin small letter c with circumflex\":\"Latin small letter c with circumflex\",\"Latin small letter c with dot above\":\"Latin small letter c with dot above\",\"Latin small letter d with caron\":\"Latin small letter d with caron\",\"Latin small letter d with stroke\":\"Latin small letter d with stroke\",\"Latin small letter dotless i\":\"Latin small letter dotless i\",\"Latin small letter e with breve\":\"Latin small letter e with breve\",\"Latin small letter e with caron\":\"Latin small letter e with caron\",\"Latin small letter e with dot above\":\"Latin small letter e with dot above\",\"Latin small letter e with macron\":\"Latin small letter e with macron\",\"Latin small letter e with ogonek\":\"Latin small letter e with ogonek\",\"Latin small letter eng\":\"Latin small letter eng\",\"Latin small letter f with hook\":\"Latin small letter f with hook\",\"Latin small letter g with breve\":\"Latin small letter g with breve\",\"Latin small letter g with cedilla\":\"Latin small letter g with cedilla\",\"Latin small letter g with circumflex\":\"Latin small letter g with circumflex\",\"Latin small letter g with dot above\":\"Latin small letter g with dot above\",\"Latin small letter h with circumflex\":\"Latin small letter h with circumflex\",\"Latin small letter h with stroke\":\"Latin small letter h with stroke\",\"Latin small letter i with breve\":\"Latin small letter i with breve\",\"Latin small letter i with macron\":\"Latin small letter i with macron\",\"Latin small letter i with ogonek\":\"Latin small letter i with ogonek\",\"Latin small letter i with tilde\":\"Latin small letter i with tilde\",\"Latin small letter j with circumflex\":\"Latin small letter j with circumflex\",\"Latin small letter k with cedilla\":\"Latin small letter k with cedilla\",\"Latin small letter kra\":\"Latin small letter kra\",\"Latin small letter l with acute\":\"Latin small letter l with acute\",\"Latin small letter l with caron\":\"Latin small letter l with caron\",\"Latin small letter l with cedilla\":\"Latin small letter l with cedilla\",\"Latin small letter l with middle dot\":\"Latin small letter l with middle dot\",\"Latin small letter l with stroke\":\"Latin small letter l with stroke\",\"Latin small letter long s\":\"Latin small letter long s\",\"Latin small letter n preceded by apostrophe\":\"Latin small letter n preceded by apostrophe\",\"Latin small letter n with acute\":\"Latin small letter n with acute\",\"Latin small letter n with caron\":\"Latin small letter n with caron\",\"Latin small letter n with cedilla\":\"Latin small letter n with cedilla\",\"Latin small letter o with breve\":\"Latin small letter o with breve\",\"Latin small letter o with double acute\":\"Latin small letter o with double acute\",\"Latin small letter o with macron\":\"Latin small letter o with macron\",\"Latin small letter r with acute\":\"Latin small letter r with acute\",\"Latin small letter r with caron\":\"Latin small letter r with caron\",\"Latin small letter r with cedilla\":\"Latin small letter r with cedilla\",\"Latin small letter s with acute\":\"Latin small letter s with acute\",\"Latin small letter s with caron\":\"Latin small letter s with caron\",\"Latin small letter s with cedilla\":\"Latin small letter s with cedilla\",\"Latin small letter s with circumflex\":\"Latin small letter s with circumflex\",\"Latin small letter t with caron\":\"Latin small letter t with caron\",\"Latin small letter t with cedilla\":\"Latin small letter t with cedilla\",\"Latin small letter t with stroke\":\"Latin small letter t with stroke\",\"Latin small letter u with breve\":\"Latin small letter u with breve\",\"Latin small letter u with double acute\":\"Latin small letter u with double acute\",\"Latin small letter u with macron\":\"Latin small letter u with macron\",\"Latin small letter u with ogonek\":\"Latin small letter u with ogonek\",\"Latin small letter u with ring above\":\"Latin small letter u with ring above\",\"Latin small letter u with tilde\":\"Latin small letter u with tilde\",\"Latin small letter w with circumflex\":\"Latin small letter w with circumflex\",\"Latin small letter y with circumflex\":\"Latin small letter y with circumflex\",\"Latin small letter z with acute\":\"Latin small letter z with acute\",\"Latin small letter z with caron\":\"Latin small letter z with caron\",\"Latin small letter z with dot above\":\"Latin small letter z with dot above\",\"Latin small ligature ij\":\"Latin small ligature ij\",\"Latin small ligature oe\":\"Latin small ligature oe\",\"Left aligned image\":\"Left aligned image\",\"Left double quotation mark\":\"Left double quotation mark\",\"Left single quotation mark\":\"Left single quotation mark\",\"Left-pointing double angle quotation mark\":\"Left-pointing double angle quotation mark\",\"leftwards arrow to bar\":\"leftwards arrow to bar\",\"leftwards dashed arrow\":\"leftwards dashed arrow\",\"leftwards double arrow\":\"leftwards double arrow\",\"Less-than or equal to\":\"Less-than or equal to\",\"Less-than sign\":\"Less-than sign\",\"Light blue\":\"Light blue\",\"Light green\":\"Light green\",\"Light grey\":\"Light grey\",Link:\"Link\",\"Link image\":\"Link image\",\"Link URL\":\"Link URL\",\"Lira sign\":\"Lira sign\",\"Livre tournois sign\":\"Livre tournois sign\",\"Logical and\":\"Logical and\",\"Logical or\":\"Logical or\",\"Lower-latin\":\"Lower-latin\",\"Lower–roman\":\"Lower–roman\",Macron:\"Macron\",\"Manat sign\":\"Manat sign\",\"Media toolbar\":\"Media toolbar\",\"Media URL\":\"Media URL\",\"media widget\":\"media widget\",\"Merge cell down\":\"Merge cell down\",\"Merge cell left\":\"Merge cell left\",\"Merge cell right\":\"Merge cell right\",\"Merge cell up\":\"Merge cell up\",\"Merge cells\":\"Merge cells\",\"Mill sign\":\"Mill sign\",\"Minus sign\":\"Minus sign\",\"Multiplication sign\":\"Multiplication sign\",\"N-ary product\":\"N-ary product\",\"N-ary summation\":\"N-ary summation\",Nabla:\"Nabla\",\"Naira sign\":\"Naira sign\",\"New sheqel sign\":\"New sheqel sign\",Next:\"Next\",None:\"None\",\"Nordic mark sign\":\"Nordic mark sign\",\"Not an element of\":\"Not an element of\",\"Not equal to\":\"Not equal to\",\"Not sign\":\"Not sign\",\"Numbered List\":\"Numbered List\",\"Numbered list styles toolbar\":\"Numbered list styles toolbar\",\"on with exclamation mark with left right arrow above\":\"on with exclamation mark with left right arrow above\",\"Open in a new tab\":\"Open in a new tab\",\"Open link in new tab\":\"Open link in new tab\",Orange:\"Orange\",Original:\"Original\",Outset:\"Outset\",Overline:\"Overline\",Padding:\"Padding\",Paragraph:\"Paragraph\",\"Paragraph sign\":\"Paragraph sign\",\"Partial differential\":\"Partial differential\",\"Paste raw HTML here...\":\"Paste raw HTML here...\",\"Paste the image source URL.\":\"Paste the image source URL.\",\"Paste the media URL in the input.\":\"Paste the media URL in the input.\",\"Per mille sign\":\"Per mille sign\",\"Per ten thousand sign\":\"Per ten thousand sign\",\"Peseta sign\":\"Peseta sign\",\"Peso sign\":\"Peso sign\",\"Pink marker\":\"Pink marker\",\"Plain text\":\"Plain text\",\"Plus-minus sign\":\"Plus-minus sign\",\"Pound sign\":\"Pound sign\",Previous:\"Previous\",\"Proportional to\":\"Proportional to\",Purple:\"Purple\",\"Question exclamation mark\":\"Question exclamation mark\",Red:\"Red\",\"Red pen\":\"Red pen\",Redo:\"Redo\",\"Registered sign\":\"Registered sign\",\"Remove color\":\"Remove color\",\"Remove Format\":\"Remove Format\",\"Remove highlight\":\"Remove highlight\",\"Resize image\":\"Resize image\",\"Resize image to %0\":\"Resize image to %0\",\"Resize image to the original size\":\"Resize image to the original size\",\"Reversed paragraph sign\":\"Reversed paragraph sign\",\"Rich Text Editor\":\"Rich Text Editor\",\"Rich Text Editor, %0\":\"Rich Text Editor, %0\",Ridge:\"Ridge\",\"Right aligned image\":\"Right aligned image\",\"Right double quotation mark\":\"Right double quotation mark\",\"Right single quotation mark\":\"Right single quotation mark\",\"Right-pointing double angle quotation mark\":\"Right-pointing double angle quotation mark\",\"rightwards arrow to bar\":\"rightwards arrow to bar\",\"rightwards dashed arrow\":\"rightwards dashed arrow\",\"rightwards double arrow\":\"rightwards double arrow\",Row:\"Row\",\"Ruble sign\":\"Ruble sign\",\"Rupee sign\":\"Rupee sign\",Save:\"Save\",\"Save changes\":\"Save changes\",\"Section sign\":\"Section sign\",\"Select all\":\"Select all\",\"Select column\":\"Select column\",\"Select row\":\"Select row\",\"Selecting resized image failed\":\"Selecting resized image failed\",\"Show more items\":\"Show more items\",\"Side image\":\"Side image\",\"Single left-pointing angle quotation mark\":\"Single left-pointing angle quotation mark\",\"Single low-9 quotation mark\":\"Single low-9 quotation mark\",\"Single right-pointing angle quotation mark\":\"Single right-pointing angle quotation mark\",Small:\"Small\",Solid:\"Solid\",\"soon with rightwards arrow above\":\"soon with rightwards arrow above\",\"Special characters\":\"Special characters\",\"Spesmilo sign\":\"Spesmilo sign\",\"Split cell horizontally\":\"Split cell horizontally\",\"Split cell vertically\":\"Split cell vertically\",Square:\"Square\",\"Square root\":\"Square root\",Strikethrough:\"Strikethrough\",Style:\"Style\",\"Table alignment toolbar\":\"Table alignment toolbar\",\"Table cell text alignment\":\"Table cell text alignment\",\"Table properties\":\"Table properties\",\"Table toolbar\":\"Table toolbar\",\"Tenge sign\":\"Tenge sign\",\"Text alignment\":\"Text alignment\",\"Text alignment toolbar\":\"Text alignment toolbar\",\"Text alternative\":\"Text alternative\",\"Text highlight toolbar\":\"Text highlight toolbar\",'The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".':'The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".',\"The URL must not be empty.\":\"The URL must not be empty.\",'The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".':'The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".',\"There exists\":\"There exists\",\"This link has no URL\":\"This link has no URL\",\"This media URL is not supported.\":\"This media URL is not supported.\",\"Tilde operator\":\"Tilde operator\",Tiny:\"Tiny\",\"Tip: Paste the URL into the content to embed faster.\":\"Tip: Paste the URL into the content to embed faster.\",\"To-do List\":\"To-do List\",\"Toggle the circle list style\":\"Toggle the circle list style\",\"Toggle the decimal list style\":\"Toggle the decimal list style\",\"Toggle the decimal with leading zero list style\":\"Toggle the decimal with leading zero list style\",\"Toggle the disc list style\":\"Toggle the disc list style\",\"Toggle the lower–latin list style\":\"Toggle the lower–latin list style\",\"Toggle the lower–roman list style\":\"Toggle the lower–roman list style\",\"Toggle the square list style\":\"Toggle the square list style\",\"Toggle the upper–latin list style\":\"Toggle the upper–latin list style\",\"Toggle the upper–roman list style\":\"Toggle the upper–roman list style\",\"top with upwards arrow above\":\"top with upwards arrow above\",\"Trade mark sign\":\"Trade mark sign\",\"Tugrik sign\":\"Tugrik sign\",\"Turkish lira sign\":\"Turkish lira sign\",Turquoise:\"Turquoise\",\"Two dot leader\":\"Two dot leader\",Underline:\"Underline\",Undo:\"Undo\",Union:\"Union\",Unlink:\"Unlink\",\"up down arrow with base\":\"up down arrow with base\",Update:\"Update\",\"Update image URL\":\"Update image URL\",\"Upload failed\":\"Upload failed\",\"Upload in progress\":\"Upload in progress\",\"Upper-latin\":\"Upper-latin\",\"Upper-roman\":\"Upper-roman\",\"upwards arrow to bar\":\"upwards arrow to bar\",\"upwards dashed arrow\":\"upwards dashed arrow\",\"upwards double arrow\":\"upwards double arrow\",\"Vertical text alignment toolbar\":\"Vertical text alignment toolbar\",\"Vulgar fraction one half\":\"Vulgar fraction one half\",\"Vulgar fraction one quarter\":\"Vulgar fraction one quarter\",\"Vulgar fraction three quarters\":\"Vulgar fraction three quarters\",White:\"White\",\"Widget toolbar\":\"Widget toolbar\",Width:\"Width\",\"Won sign\":\"Won sign\",\"Words: %0\":\"Words: %0\",Yellow:\"Yellow\",\"Yellow marker\":\"Yellow marker\",\"Yen sign\":\"Yen sign\"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));(function t(e,n){if(typeof exports===\"object\"&&typeof module===\"object\")module.exports=n();else if(typeof define===\"function\"&&define.amd)define([],n);else if(typeof exports===\"object\")exports[\"ClassicEditor\"]=n();else e[\"ClassicEditor\"]=n()})(window,(function(){return function(t){var e={};function n(i){if(e[i]){return e[i].exports}var o=e[i]={i:i,l:false,exports:{}};t[i].call(o.exports,o,o.exports,n);o.l=true;return o.exports}n.m=t;n.c=e;n.d=function(t,e,i){if(!n.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:i})}};n.r=function(t){if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(t,\"__esModule\",{value:true})};n.t=function(t,e){if(e&1)t=n(t);if(e&8)return t;if(e&4&&typeof t===\"object\"&&t&&t.__esModule)return t;var i=Object.create(null);n.r(i);Object.defineProperty(i,\"default\",{enumerable:true,value:t});if(e&2&&typeof t!=\"string\")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 e(){return t[\"default\"]}:function e(){return t};n.d(e,\"a\",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p=\"\";return n(n.s=85)}([function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));n.d(e,\"c\",(function(){return r}));n.d(e,\"b\",(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){const i=`${t}${n?` ${JSON.stringify(n)}`:\"\"}${a(t)}`;super(i);this.name=\"CKEditorError\";this.context=e;this.data=n}is(t){return t===\"CKEditorError\"}static rethrowUnexpectedError(t,e){if(t.is&&t.is(\"CKEditorError\")){throw t}const n=new o(t.message,e);n.stack=t.stack;throw n}}function r(t,e){console.warn(...c(t,e))}function s(t,e){console.error(...c(t,e))}function a(t){return`\\nRead more: ${i}#error-${t}`}function c(t,e){const n=a(t);return e?[t,e,n]:[t,n]}},function(t,e,n){\"use strict\";var i=function t(){var e;return function t(){if(typeof e===\"undefined\"){e=Boolean(window&&document&&document.all&&!window.atob)}return e}}();var o=function t(){var e={};return function t(n){if(typeof e[n]===\"undefined\"){var i=document.querySelector(n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement){try{i=i.contentDocument.head}catch(t){i=null}}e[n]=i}return e[n]}}();var r=[];function s(t){var e=-1;for(var n=0;n
\").replace(/\\r?\\n/g,\"
\").replace(/^\\s/,\" \").replace(/\\s$/,\" \").replace(/\\s\\s/g,\" \");if(t.includes(\"
\")||t.includes(\"
\")){t=`
${t}
`}return t}function N_(t){return t.replace(/(\\s+)<\\/span>/g,((t,e)=>{if(e.length==1){return\" \"}return e}))}const z_=[\"figcaption\",\"li\"];function P_(t){let e=\"\";if(t.is(\"$text\")||t.is(\"$textProxy\")){e=t.data}else if(t.is(\"element\",\"img\")&&t.hasAttribute(\"alt\")){e=t.getAttribute(\"alt\")}else if(t.is(\"element\",\"br\")){e=\"\\n\"}else{let n=null;for(const i of t.getChildren()){const t=P_(i);if(n&&(n.is(\"containerElement\")||i.is(\"containerElement\"))){if(z_.includes(n.name)||z_.includes(i.name)){e+=\"\\n\"}else{e+=\"\\n\\n\"}}e+=t;n=i}}return e}class O_ extends tC{static get pluginName(){return\"Clipboard\"}static get requires(){return[B_]}init(){const t=this.editor;const e=t.model.document;const n=t.editing.view;const i=n.document;this._htmlDataProcessor=new Qp(i);n.addObserver(M_);this.listenTo(i,\"clipboardInput\",(e=>{if(t.isReadOnly){e.stop()}}),{priority:\"highest\"});this.listenTo(i,\"clipboardInput\",((t,e)=>{const i=e.dataTransfer;let o=\"\";if(i.getData(\"text/html\")){o=N_(i.getData(\"text/html\"))}else if(i.getData(\"text/plain\")){o=L_(i.getData(\"text/plain\"))}o=this._htmlDataProcessor.toView(o);const r=new ts(this,\"inputTransformation\");this.fire(r,{content:o,dataTransfer:i,asPlainText:e.asPlainText});if(r.stop.called){t.stop()}n.scrollToTheSelection()}),{priority:\"low\"});this.listenTo(this,\"inputTransformation\",((n,i)=>{if(!i.content.isEmpty){const o=this.editor.data;const r=this.editor.model;const s=o.toModel(i.content,\"$clipboardHolder\");if(s.childCount==0){return}if(i.asPlainText||R_(s)){const n=new Map(Array.from(e.selection.getAttributes()).filter((e=>t.model.schema.getAttributeProperties(e[0]).isFormatting)));r.change((t=>{const e=t.createRangeIn(s);for(const i of e.getItems()){if(i.is(\"$text\")||i.is(\"$textProxy\")){t.setAttributes(n,i)}}}))}r.insertContent(s);n.stop()}}),{priority:\"low\"});function o(n,o){const r=o.dataTransfer;o.preventDefault();const s=t.data.toView(t.model.getSelectedContent(e.selection));i.fire(\"clipboardOutput\",{dataTransfer:r,content:s,method:n.name})}this.listenTo(i,\"copy\",o,{priority:\"low\"});this.listenTo(i,\"cut\",((e,n)=>{if(t.isReadOnly){n.preventDefault()}else{o(e,n)}}),{priority:\"low\"});this.listenTo(i,\"clipboardOutput\",((n,i)=>{if(!i.content.isEmpty){i.dataTransfer.setData(\"text/html\",this._htmlDataProcessor.toData(i.content));i.dataTransfer.setData(\"text/plain\",P_(i.content))}if(i.method==\"cut\"){t.model.deleteContent(e.selection)}}),{priority:\"low\"})}}function R_(t){if(t.childCount>1){return false}const e=t.getChild(0);return[...e.getAttributeKeys()].length==0}class j_{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){if(Array.isArray(t)){t.forEach((t=>this._definitions.add(t)))}else{this._definitions.add(t)}}getDispatcher(){return t=>{t.on(\"attribute:linkHref\",((t,e,n)=>{if(!n.consumable.test(e.item,\"attribute:linkHref\")){return}const i=n.writer;const o=i.document.selection;for(const t of this._definitions){const r=i.createAttributeElement(\"a\",t.attributes,{priority:5});i.setCustomProperty(\"link\",true,r);if(t.callback(e.attributeNewValue)){if(e.item.is(\"selection\")){i.wrap(o.getFirstRange(),r)}else{i.wrap(n.mapper.toViewRange(e.range),r)}}else{i.unwrap(n.mapper.toViewRange(e.range),r)}}}),{priority:\"high\"})}}getDispatcherForLinkedImage(){return t=>{t.on(\"attribute:linkHref:image\",((t,e,n)=>{const i=n.mapper.toViewElement(e.item);const o=Array.from(i.getChildren()).find((t=>t.name===\"a\"));for(const t of this._definitions){const i=Us(t.attributes);if(t.callback(e.attributeNewValue)){for(const[t,e]of i){if(t===\"class\"){n.writer.addClass(e,o)}else{n.writer.setAttribute(t,e,o)}}}else{for(const[t,e]of i){if(t===\"class\"){n.writer.removeClass(e,o)}else{n.writer.removeAttribute(t,o)}}}}}))}}}class F_ extends nC{constructor(t){super(t);this.manualDecorators=new _s;this.automaticDecorators=new j_}restoreManualDecoratorStates(){for(const t of this.manualDecorators){t.value=this._getDecoratorStateFromModel(t.id)}}refresh(){const t=this.editor.model;const e=t.document;const n=oC(e.selection.getSelectedBlocks());if(TA(n,t.schema)){this.value=n.getAttribute(\"linkHref\");this.isEnabled=t.schema.checkAttribute(n,\"linkHref\")}else{this.value=e.selection.getAttribute(\"linkHref\");this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"linkHref\")}for(const t of this.manualDecorators){t.value=this._getDecoratorStateFromModel(t.id)}}execute(t,e={}){const n=this.editor.model;const i=n.document.selection;const o=[];const r=[];for(const t in e){if(e[t]){o.push(t)}else{r.push(t)}}n.change((e=>{if(i.isCollapsed){const s=i.getFirstPosition();if(i.hasAttribute(\"linkHref\")){const a=d_(s,\"linkHref\",i.getAttribute(\"linkHref\"),n);e.setAttribute(\"linkHref\",t,a);o.forEach((t=>{e.setAttribute(t,true,a)}));r.forEach((t=>{e.removeAttribute(t,a)}));e.setSelection(e.createPositionAfter(a.end.nodeBefore))}else if(t!==\"\"){const r=Us(i.getAttributes());r.set(\"linkHref\",t);o.forEach((t=>{r.set(t,true)}));const a=e.createText(t,r);n.insertContent(a,s);e.setSelection(e.createPositionAfter(a))}[\"linkHref\",...o,...r].forEach((t=>{e.removeSelectionAttribute(t)}))}else{const s=n.schema.getValidRanges(i.getRanges(),\"linkHref\");const a=[];for(const t of i.getSelectedBlocks()){if(n.schema.checkAttribute(t,\"linkHref\")){a.push(e.createRangeOn(t))}}const c=a.slice();for(const t of s){if(this._isRangeToUpdate(t,a)){c.push(t)}}for(const n of c){e.setAttribute(\"linkHref\",t,n);o.forEach((t=>{e.setAttribute(t,true,n)}));r.forEach((t=>{e.removeAttribute(t,n)}))}}}))}_getDecoratorStateFromModel(t){const e=this.editor.model;const n=e.document;const i=oC(n.selection.getSelectedBlocks());if(TA(i,e.schema)){return i.getAttribute(t)}return n.selection.getAttribute(t)}_isRangeToUpdate(t,e){for(const n of e){if(n.containsRange(t)){return false}}return true}}class V_ extends nC{refresh(){const t=this.editor.model;const e=t.document;const n=oC(e.selection.getSelectedBlocks());if(TA(n,t.schema)){this.isEnabled=t.schema.checkAttribute(n,\"linkHref\")}else{this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"linkHref\")}}execute(){const t=this.editor;const e=this.editor.model;const n=e.document.selection;const i=t.commands.get(\"link\");e.change((t=>{const o=n.isCollapsed?[d_(n.getFirstPosition(),\"linkHref\",n.getAttribute(\"linkHref\"),e)]:n.getRanges();for(const e of o){t.removeAttribute(\"linkHref\",e);if(i){for(const n of i.manualDecorators){t.removeAttribute(n.id,e)}}}}))}}class H_{constructor({id:t,label:e,attributes:n,defaultValue:i}){this.id=t;this.set(\"value\");this.defaultValue=i;this.label=e;this.attributes=n}}vs(H_,Qc);var U_=n(29);var q_={injectType:\"singletonStyleTag\",attributes:{\"data-cke\":true}};q_.insert=\"head\";q_.singleton=true;var K_=ob()(U_[\"a\"],q_);var G_=U_[\"a\"].locals||{};const W_=\"ck-link_selected\";const Y_=\"automatic\";const $_=\"manual\";const Q_=/^(https?:)?\\/\\//;class Z_ extends tC{static get pluginName(){return\"LinkEditing\"}static get requires(){return[o_,D_,O_]}constructor(t){super(t);t.config.define(\"link\",{addTargetToExternalLinks:false})}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:\"linkHref\"});t.conversion.for(\"dataDowncast\").attributeToElement({model:\"linkHref\",view:_A});t.conversion.for(\"editingDowncast\").attributeToElement({model:\"linkHref\",view:(t,e)=>_A(yA(t),e)});t.conversion.for(\"upcast\").elementToAttribute({view:{name:\"a\",attributes:{href:true}},model:{key:\"linkHref\",value:t=>t.getAttribute(\"href\")}});t.commands.add(\"link\",new F_(t));t.commands.add(\"unlink\",new V_(t));const e=EA(t.t,DA(t.config.get(\"link.decorators\")));this._enableAutomaticDecorators(e.filter((t=>t.mode===Y_)));this._enableManualDecorators(e.filter((t=>t.mode===$_)));const n=t.plugins.get(o_);n.registerAttribute(\"linkHref\");h_(t,\"linkHref\",\"a\",W_);this._enableInsertContentSelectionAttributesFixer();this._enableClickingAfterLink();this._enableTypingOverLink();this._handleDeleteContentAfterLink()}_enableAutomaticDecorators(t){const e=this.editor;const n=e.commands.get(\"link\");const i=n.automaticDecorators;if(e.config.get(\"link.addTargetToExternalLinks\")){i.add({id:\"linkIsExternal\",mode:Y_,callback:t=>Q_.test(t),attributes:{target:\"_blank\",rel:\"noopener noreferrer\"}})}i.add(t);if(i.length){e.conversion.for(\"downcast\").add(i.getDispatcher())}}_enableManualDecorators(t){if(!t.length){return}const e=this.editor;const n=e.commands.get(\"link\");const i=n.manualDecorators;t.forEach((t=>{e.model.schema.extend(\"$text\",{allowAttributes:t.id});i.add(new H_(t));e.conversion.for(\"downcast\").attributeToElement({model:t.id,view:(e,{writer:n})=>{if(e){const e=i.get(t.id).attributes;const o=n.createAttributeElement(\"a\",e,{priority:5});n.setCustomProperty(\"link\",true,o);return o}}});e.conversion.for(\"upcast\").elementToAttribute({view:{name:\"a\",attributes:i.get(t.id).attributes},model:{key:t.id}})}))}_enableInsertContentSelectionAttributesFixer(){const t=this.editor;const e=t.model;const n=e.document.selection;const i=t.commands.get(\"link\");this.listenTo(e,\"insertContent\",(()=>{const t=n.anchor.nodeBefore;const o=n.anchor.nodeAfter;if(!n.hasAttribute(\"linkHref\")){return}if(!t){return}if(!t.hasAttribute(\"linkHref\")){return}if(o&&o.hasAttribute(\"linkHref\")){return}e.change((t=>{J_(t,i.manualDecorators)}))}),{priority:\"low\"})}_enableClickingAfterLink(){const t=this.editor;const e=t.commands.get(\"link\");t.editing.view.addObserver(i_);let n=false;this.listenTo(t.editing.view.document,\"mousedown\",(()=>{n=true}));this.listenTo(t.editing.view.document,\"selectionChange\",(()=>{if(!n){return}n=false;const i=t.model.document.selection;if(!i.isCollapsed){return}if(!i.hasAttribute(\"linkHref\")){return}const o=i.getFirstPosition();const r=d_(o,\"linkHref\",i.getAttribute(\"linkHref\"),t.model);if(o.isTouching(r.start)||o.isTouching(r.end)){t.model.change((t=>{J_(t,e.manualDecorators)}))}}))}_enableTypingOverLink(){const t=this.editor;const e=t.editing.view;let n;let i;this.listenTo(e.document,\"delete\",(()=>{i=true}),{priority:\"high\"});this.listenTo(t.model,\"deleteContent\",(()=>{const e=t.model.document.selection;if(e.isCollapsed){return}if(i){i=false;return}if(!ty(t)){return}if(X_(t.model)){n=e.getAttributes()}}),{priority:\"high\"});this.listenTo(t.model,\"insertContent\",((e,[o])=>{i=false;if(!ty(t)){return}if(!n){return}t.model.change((t=>{for(const[e,i]of n){t.setAttribute(e,i,o)}}));n=null}),{priority:\"high\"})}_handleDeleteContentAfterLink(){const t=this.editor;const e=t.model;const n=e.document.selection;const i=t.editing.view;const o=t.commands.get(\"link\");let r=false;let s=false;this.listenTo(i.document,\"delete\",((t,e)=>{s=e.domEvent.keyCode===zl.backspace}),{priority:\"high\"});this.listenTo(e,\"deleteContent\",(()=>{r=false;const t=n.getFirstPosition();const i=n.getAttribute(\"linkHref\");if(!i){return}const o=d_(t,\"linkHref\",i,e);r=o.containsPosition(t)||o.end.isEqual(t)}),{priority:\"high\"});this.listenTo(e,\"deleteContent\",(()=>{if(!s){return}s=false;if(r){return}t.model.enqueueChange((t=>{J_(t,o.manualDecorators)}))}),{priority:\"low\"})}}function J_(t,e){t.removeSelectionAttribute(\"linkHref\");for(const n of e){t.removeSelectionAttribute(n.id)}}function X_(t){const e=t.document.selection;const n=e.getFirstPosition();const i=e.getLastPosition();const o=n.nodeAfter;if(!o){return false}if(!o.is(\"$text\")){return false}if(!o.hasAttribute(\"linkHref\")){return false}const r=i.textNode||i.nodeBefore;if(o===r){return true}const s=d_(n,\"linkHref\",o.getAttribute(\"linkHref\"),t);return s.containsRange(t.createRange(n,i),true)}function ty(t){const e=t.plugins.get(\"Input\");return e.isInput(t.model.change((t=>t.batch)))}class ey{constructor(t){this.context=t}destroy(){this.stopListening()}static get isContextPlugin(){return true}}vs(ey,Qc);class ny extends ey{static get pluginName(){return\"Notification\"}init(){this.on(\"show:warning\",((t,e)=>{window.alert(e.message)}),{priority:\"lowest\"})}showSuccess(t,e={}){this._showNotification({message:t,type:\"success\",namespace:e.namespace,title:e.title})}showInfo(t,e={}){this._showNotification({message:t,type:\"info\",namespace:e.namespace,title:e.title})}showWarning(t,e={}){this._showNotification({message:t,type:\"warning\",namespace:e.namespace,title:e.title})}_showNotification(t){const e=`show:${t.type}`+(t.namespace?`:${t.namespace}`:\"\");this.fire(e,{message:t.message,type:t.type,title:t.title||\"\"})}}class iy extends nC{constructor(t){super(t);this.stopListening(this.editor.model.document,\"change\");this.listenTo(this.editor.model.document,\"change\",(()=>this.refresh()),{priority:\"low\"})}refresh(){const t=this.editor.commands.get(\"imageInsert\");const e=this.editor.commands.get(\"link\");this.isEnabled=t.isEnabled||e.isEnabled}execute(){const t=this.editor;const e=this.editor.config.get(\"ckfinder.openerMethod\")||\"modal\";if(e!=\"popup\"&&e!=\"modal\"){throw new ss[\"a\"](\"ckfinder-unknown-openermethod\",t)}const n=this.editor.config.get(\"ckfinder.options\")||{};n.chooseFiles=true;const i=n.onInit;if(!n.language){n.language=t.locale.uiLanguage}n.onInit=e=>{if(i){i(e)}e.on(\"files:choose\",(n=>{const i=n.data.files.toArray();const o=i.filter((t=>!t.isImage()));const r=i.filter((t=>t.isImage()));for(const e of o){t.execute(\"link\",e.getUrl())}const s=[];for(const t of r){const n=t.getUrl();s.push(n?n:e.request(\"file:getProxyUrl\",{file:t}))}if(s.length){oy(t,s)}}));e.on(\"file:choose:resizedImage\",(e=>{const n=e.data.resizedUrl;if(!n){const e=t.plugins.get(\"Notification\");const n=t.locale.t;e.showWarning(n(\"Could not obtain resized image URL.\"),{title:n(\"Selecting resized image failed\"),namespace:\"ckfinder\"});return}oy(t,[n])}))};window.CKFinder[e](n)}}function oy(t,e){const n=t.commands.get(\"imageInsert\");if(!n.isEnabled){const e=t.plugins.get(\"Notification\");const n=t.locale.t;e.showWarning(n(\"Could not insert image at the current position.\"),{title:n(\"Inserting image failed\"),namespace:\"ckfinder\"});return}t.execute(\"imageInsert\",{source:e})}class ry extends tC{static get pluginName(){return\"CKFinderEditing\"}static get requires(){return[ny,e_,Z_]}init(){const t=this.editor;t.commands.add(\"ckfinder\",new iy(t))}}class sy extends ey{static get pluginName(){return\"PendingActions\"}init(){this.set(\"hasAny\",false);this._actions=new _s({idProperty:\"_id\"});this._actions.delegate(\"add\",\"remove\").to(this)}add(t){if(typeof t!==\"string\"){throw new ss[\"a\"](\"pendingactions-add-invalid-message\",this)}const e=Object.create(Qc);e.set(\"message\",t);this._actions.add(e);this.hasAny=true;return e}remove(t){this._actions.remove(t);this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}class ay{constructor(){const t=new window.FileReader;this._reader=t;this._data=undefined;this.set(\"loaded\",0);t.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(t){const e=this._reader;this.total=t.size;return new Promise(((n,i)=>{e.onload=()=>{const t=e.result;this._data=t;n(t)};e.onerror=()=>{i(\"error\")};e.onabort=()=>{i(\"aborted\")};this._reader.readAsDataURL(t)}))}abort(){this._reader.abort()}}vs(ay,Qc);class cy extends tC{static get pluginName(){return\"FileRepository\"}static get requires(){return[sy]}init(){this.loaders=new _s;this.loaders.on(\"add\",(()=>this._updatePendingAction()));this.loaders.on(\"remove\",(()=>this._updatePendingAction()));this._loadersMap=new Map;this._pendingAction=null;this.set(\"uploaded\",0);this.set(\"uploadTotal\",null);this.bind(\"uploadedPercent\").to(this,\"uploaded\",this,\"uploadTotal\",((t,e)=>e?t/e*100:0))}getLoader(t){return this._loadersMap.get(t)||null}createLoader(t){if(!this.createUploadAdapter){Object(ss[\"c\"])(\"filerepository-no-upload-adapter\");return null}const e=new ly(Promise.resolve(t),this.createUploadAdapter);this.loaders.add(e);this._loadersMap.set(t,e);if(t instanceof Promise){e.file.then((t=>{this._loadersMap.set(t,e)})).catch((()=>{}))}e.on(\"change:uploaded\",(()=>{let t=0;for(const e of this.loaders){t+=e.uploaded}this.uploaded=t}));e.on(\"change:uploadTotal\",(()=>{let t=0;for(const e of this.loaders){if(e.uploadTotal){t+=e.uploadTotal}}this.uploadTotal=t}));return e}destroyLoader(t){const e=t instanceof ly?t:this.getLoader(t);e._destroy();this.loaders.remove(e);this._loadersMap.forEach(((t,n)=>{if(t===e){this._loadersMap.delete(n)}}))}_updatePendingAction(){const t=this.editor.plugins.get(sy);if(this.loaders.length){if(!this._pendingAction){const e=this.editor.t;const n=t=>`${e(\"Upload in progress\")} ${parseInt(t)}%.`;this._pendingAction=t.add(n(this.uploadedPercent));this._pendingAction.bind(\"message\").to(this,\"uploadedPercent\",n)}}else{t.remove(this._pendingAction);this._pendingAction=null}}}vs(cy,Qc);class ly{constructor(t,e){this.id=ns();this._filePromiseWrapper=this._createFilePromiseWrapper(t);this._adapter=e(this);this._reader=new ay;this.set(\"status\",\"idle\");this.set(\"uploaded\",0);this.set(\"uploadTotal\",null);this.bind(\"uploadedPercent\").to(this,\"uploaded\",this,\"uploadTotal\",((t,e)=>e?t/e*100:0));this.set(\"uploadResponse\",null)}get file(){if(!this._filePromiseWrapper){return Promise.resolve(null)}else{return this._filePromiseWrapper.promise.then((t=>this._filePromiseWrapper?t:null))}}get data(){return this._reader.data}read(){if(this.status!=\"idle\"){throw new ss[\"a\"](\"filerepository-read-wrong-status\",this)}this.status=\"reading\";return this.file.then((t=>this._reader.read(t))).then((t=>{if(this.status!==\"reading\"){throw this.status}this.status=\"idle\";return t})).catch((t=>{if(t===\"aborted\"){this.status=\"aborted\";throw\"aborted\"}this.status=\"error\";throw this._reader.error?this._reader.error:t}))}upload(){if(this.status!=\"idle\"){throw new ss[\"a\"](\"filerepository-upload-wrong-status\",this)}this.status=\"uploading\";return this.file.then((()=>this._adapter.upload())).then((t=>{this.uploadResponse=t;this.status=\"idle\";return t})).catch((t=>{if(this.status===\"aborted\"){throw\"aborted\"}this.status=\"error\";throw t}))}abort(){const t=this.status;this.status=\"aborted\";if(!this._filePromiseWrapper.isFulfilled){this._filePromiseWrapper.promise.catch((()=>{}));this._filePromiseWrapper.rejecter(\"aborted\")}else if(t==\"reading\"){this._reader.abort()}else if(t==\"uploading\"&&this._adapter.abort){this._adapter.abort()}this._destroy()}_destroy(){this._filePromiseWrapper=undefined;this._reader=undefined;this._adapter=undefined;this.uploadResponse=undefined}_createFilePromiseWrapper(t){const e={};e.promise=new Promise(((n,i)=>{e.rejecter=i;e.isFulfilled=false;t.then((t=>{e.isFulfilled=true;n(t)})).catch((t=>{e.isFulfilled=true;i(t)}))}));return e}}vs(ly,Qc);const dy=\"ckCsrfToken\";const uy=40;const hy=\"abcdefghijklmnopqrstuvwxyz0123456789\";function my(){let t=gy(dy);if(!t||t.length!=uy){t=py(uy);fy(dy,t)}return t}function gy(t){t=t.toLowerCase();const e=document.cookie.split(\";\");for(const n of e){const e=n.split(\"=\");const i=decodeURIComponent(e[0].trim().toLowerCase());if(i===t){return decodeURIComponent(e[1])}}return null}function fy(t,e){document.cookie=encodeURIComponent(t)+\"=\"+encodeURIComponent(e)+\";path=/\"}function py(t){let e=\"\";const n=new Uint8Array(t);window.crypto.getRandomValues(n);for(let t=0;t