From 02e1965d0bb12b4254a4a5bf61d2c3d89ba24ce6 Mon Sep 17 00:00:00 2001
From: Diego Nascimento
Date: Mon, 24 Jan 2022 12:11:20 -0300
Subject: [PATCH] chore: update ckeditor build artifacts
This commit autogenerated with "./ck.sh".
---
ckeditor/CHANGES.md | 72 +
ckeditor/SECURITY.md | 10 +
ckeditor/ckeditor.js | 2371 +--
ckeditor/lang/af.js | 2 +-
ckeditor/lang/ar.js | 2 +-
ckeditor/lang/az.js | 2 +-
ckeditor/lang/bg.js | 2 +-
ckeditor/lang/bn.js | 2 +-
ckeditor/lang/bs.js | 2 +-
ckeditor/lang/ca.js | 2 +-
ckeditor/lang/cs.js | 2 +-
ckeditor/lang/cy.js | 2 +-
ckeditor/lang/da.js | 2 +-
ckeditor/lang/de-ch.js | 2 +-
ckeditor/lang/de.js | 2 +-
ckeditor/lang/el.js | 2 +-
ckeditor/lang/en-au.js | 2 +-
ckeditor/lang/en-ca.js | 2 +-
ckeditor/lang/en-gb.js | 2 +-
ckeditor/lang/en.js | 2 +-
ckeditor/lang/eo.js | 2 +-
ckeditor/lang/es-mx.js | 2 +-
ckeditor/lang/es.js | 2 +-
ckeditor/lang/et.js | 2 +-
ckeditor/lang/eu.js | 2 +-
ckeditor/lang/fa.js | 2 +-
ckeditor/lang/fi.js | 2 +-
ckeditor/lang/fo.js | 2 +-
ckeditor/lang/fr-ca.js | 2 +-
ckeditor/lang/fr.js | 2 +-
ckeditor/lang/gl.js | 2 +-
ckeditor/lang/gu.js | 2 +-
ckeditor/lang/he.js | 2 +-
ckeditor/lang/hi.js | 2 +-
ckeditor/lang/hr.js | 2 +-
ckeditor/lang/hu.js | 2 +-
ckeditor/lang/id.js | 2 +-
ckeditor/lang/is.js | 2 +-
ckeditor/lang/it.js | 2 +-
ckeditor/lang/ja.js | 2 +-
ckeditor/lang/ka.js | 2 +-
ckeditor/lang/km.js | 2 +-
ckeditor/lang/ko.js | 2 +-
ckeditor/lang/ku.js | 2 +-
ckeditor/lang/lt.js | 2 +-
ckeditor/lang/lv.js | 2 +-
ckeditor/lang/mk.js | 2 +-
ckeditor/lang/mn.js | 2 +-
ckeditor/lang/ms.js | 2 +-
ckeditor/lang/nb.js | 2 +-
ckeditor/lang/nl.js | 2 +-
ckeditor/lang/no.js | 2 +-
ckeditor/lang/oc.js | 2 +-
ckeditor/lang/pl.js | 2 +-
ckeditor/lang/pt-br.js | 2 +-
ckeditor/lang/pt.js | 2 +-
ckeditor/lang/ro.js | 2 +-
ckeditor/lang/ru.js | 2 +-
ckeditor/lang/si.js | 2 +-
ckeditor/lang/sk.js | 2 +-
ckeditor/lang/sl.js | 2 +-
ckeditor/lang/sq.js | 2 +-
ckeditor/lang/sr-latn.js | 2 +-
ckeditor/lang/sr.js | 2 +-
ckeditor/lang/sv.js | 2 +-
ckeditor/lang/th.js | 2 +-
ckeditor/lang/tr.js | 2 +-
ckeditor/lang/tt.js | 2 +-
ckeditor/lang/ug.js | 2 +-
ckeditor/lang/uk.js | 2 +-
ckeditor/lang/vi.js | 2 +-
ckeditor/lang/zh-cn.js | 2 +-
ckeditor/lang/zh.js | 2 +-
ckeditor/package-lock.json | 15149 +++++++++++++++-
ckeditor/plugins/a11yhelp/dialogs/lang/ar.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/bg.js | 4 +-
.../plugins/a11yhelp/dialogs/lang/en-gb.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/en.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/fo.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/gu.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/hi.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/km.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/lt.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/mk.js | 4 +-
ckeditor/plugins/a11yhelp/dialogs/lang/mn.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/th.js | 14 +-
ckeditor/plugins/a11yhelp/dialogs/lang/tt.js | 14 +-
ckeditor/plugins/autoembed/lang/id.js | 1 +
ckeditor/plugins/autoembed/plugin.js | 2 +-
ckeditor/plugins/autogrow/plugin.js | 8 +-
ckeditor/plugins/autolink/plugin.js | 8 +-
ckeditor/plugins/emoji/lang/fa.js | 1 +
ckeditor/plugins/emoji/plugin.js | 2 +-
ckeditor/plugins/flash/dialogs/flash.js | 24 -
ckeditor/plugins/flash/icons/flash.png | Bin 633 -> 0 bytes
ckeditor/plugins/flash/icons/hidpi/flash.png | Bin 1385 -> 0 bytes
ckeditor/plugins/flash/images/placeholder.png | Bin 256 -> 0 bytes
ckeditor/plugins/flash/lang/af.js | 2 -
ckeditor/plugins/flash/lang/ar.js | 2 -
ckeditor/plugins/flash/lang/az.js | 3 -
ckeditor/plugins/flash/lang/bg.js | 3 -
ckeditor/plugins/flash/lang/bn.js | 2 -
ckeditor/plugins/flash/lang/bs.js | 2 -
ckeditor/plugins/flash/lang/ca.js | 3 -
ckeditor/plugins/flash/lang/cs.js | 3 -
ckeditor/plugins/flash/lang/cy.js | 2 -
ckeditor/plugins/flash/lang/da.js | 3 -
ckeditor/plugins/flash/lang/de-ch.js | 3 -
ckeditor/plugins/flash/lang/de.js | 3 -
ckeditor/plugins/flash/lang/el.js | 3 -
ckeditor/plugins/flash/lang/en-au.js | 2 -
ckeditor/plugins/flash/lang/en-ca.js | 2 -
ckeditor/plugins/flash/lang/en-gb.js | 2 -
ckeditor/plugins/flash/lang/en.js | 2 -
ckeditor/plugins/flash/lang/eo.js | 3 -
ckeditor/plugins/flash/lang/es-mx.js | 3 -
ckeditor/plugins/flash/lang/es.js | 2 -
ckeditor/plugins/flash/lang/et.js | 3 -
ckeditor/plugins/flash/lang/eu.js | 3 -
ckeditor/plugins/flash/lang/fa.js | 2 -
ckeditor/plugins/flash/lang/fi.js | 3 -
ckeditor/plugins/flash/lang/fo.js | 3 -
ckeditor/plugins/flash/lang/fr-ca.js | 3 -
ckeditor/plugins/flash/lang/fr.js | 3 -
ckeditor/plugins/flash/lang/gl.js | 3 -
ckeditor/plugins/flash/lang/gu.js | 2 -
ckeditor/plugins/flash/lang/he.js | 2 -
ckeditor/plugins/flash/lang/hi.js | 2 -
ckeditor/plugins/flash/lang/hr.js | 2 -
ckeditor/plugins/flash/lang/hu.js | 3 -
ckeditor/plugins/flash/lang/id.js | 2 -
ckeditor/plugins/flash/lang/is.js | 2 -
ckeditor/plugins/flash/lang/it.js | 3 -
ckeditor/plugins/flash/lang/ja.js | 2 -
ckeditor/plugins/flash/lang/ka.js | 3 -
ckeditor/plugins/flash/lang/km.js | 2 -
ckeditor/plugins/flash/lang/ko.js | 2 -
ckeditor/plugins/flash/lang/ku.js | 3 -
ckeditor/plugins/flash/lang/lt.js | 3 -
ckeditor/plugins/flash/lang/lv.js | 3 -
ckeditor/plugins/flash/lang/mk.js | 2 -
ckeditor/plugins/flash/lang/mn.js | 2 -
ckeditor/plugins/flash/lang/ms.js | 2 -
ckeditor/plugins/flash/lang/nb.js | 2 -
ckeditor/plugins/flash/lang/nl.js | 3 -
ckeditor/plugins/flash/lang/no.js | 2 -
ckeditor/plugins/flash/lang/oc.js | 3 -
ckeditor/plugins/flash/lang/pl.js | 3 -
ckeditor/plugins/flash/lang/pt-br.js | 3 -
ckeditor/plugins/flash/lang/pt.js | 3 -
ckeditor/plugins/flash/lang/ro.js | 3 -
ckeditor/plugins/flash/lang/ru.js | 3 -
ckeditor/plugins/flash/lang/si.js | 2 -
ckeditor/plugins/flash/lang/sk.js | 3 -
ckeditor/plugins/flash/lang/sl.js | 3 -
ckeditor/plugins/flash/lang/sq.js | 3 -
ckeditor/plugins/flash/lang/sr-latn.js | 3 -
ckeditor/plugins/flash/lang/sr.js | 3 -
ckeditor/plugins/flash/lang/sv.js | 3 -
ckeditor/plugins/flash/lang/th.js | 3 -
ckeditor/plugins/flash/lang/tr.js | 2 -
ckeditor/plugins/flash/lang/tt.js | 2 -
ckeditor/plugins/flash/lang/ug.js | 3 -
ckeditor/plugins/flash/lang/uk.js | 3 -
ckeditor/plugins/flash/lang/vi.js | 3 -
ckeditor/plugins/flash/lang/zh-cn.js | 2 -
ckeditor/plugins/flash/lang/zh.js | 2 -
ckeditor/plugins/flash/plugin.js | 6 +-
ckeditor/plugins/icons.png | Bin 10175 -> 10020 bytes
ckeditor/plugins/icons_hidpi.png | Bin 33431 -> 32954 bytes
ckeditor/plugins/maximize/plugin.js | 18 +-
ckeditor/plugins/preview/plugin.js | 11 +-
ckeditor/plugins/print/plugin.js | 2 +-
.../plugins/specialchar/dialogs/lang/id.js | 18 +-
ckeditor/plugins/table/dialogs/table.js | 7 +-
.../plugins/templates/dialogs/templates.js | 13 +-
ckeditor/plugins/templates/plugin.js | 2 +-
.../plugins/templates/templatedefinition.js | 4 +
ckeditor/samples/old/bbcode/bbcode.html | 2 +-
ckeditor/samples/old/datafiltering.html | 6 +-
ckeditor/samples/old/emoji/emoji.html | 2 +-
.../assets/outputforflash/outputforflash.fla | Bin 85504 -> 0 bytes
.../assets/outputforflash/outputforflash.swf | Bin 15571 -> 0 bytes
.../assets/outputforflash/swfobject.js | 19 -
.../old/htmlwriter/outputforflash.html | 284 -
ckeditor/samples/old/index.html | 3 -
ckeditor/samples/old/inlineall.html | 2 +-
ckeditor/skins/kama/dialog.css | 2 +-
ckeditor/skins/kama/dialog_ie.css | 2 +-
ckeditor/skins/kama/dialog_ie7.css | 2 +-
ckeditor/skins/kama/dialog_ie8.css | 2 +-
ckeditor/skins/kama/dialog_iequirks.css | 2 +-
ckeditor/skins/kama/editor.css | 2 +-
ckeditor/skins/kama/editor_ie.css | 2 +-
ckeditor/skins/kama/editor_ie7.css | 2 +-
ckeditor/skins/kama/editor_ie8.css | 2 +-
ckeditor/skins/kama/editor_iequirks.css | 2 +-
ckeditor/skins/kama/icons.png | Bin 10139 -> 9953 bytes
ckeditor/skins/kama/icons_hidpi.png | Bin 15924 -> 15718 bytes
ckeditor/skins/moono-lexicon/editor.css | 2 +-
ckeditor/skins/moono-lexicon/editor_gecko.css | 2 +-
ckeditor/skins/moono-lexicon/editor_ie.css | 2 +-
ckeditor/skins/moono-lexicon/editor_ie8.css | 2 +-
.../skins/moono-lexicon/editor_iequirks.css | 2 +-
ckeditor/skins/moono-lexicon/icons.png | Bin 10175 -> 10020 bytes
ckeditor/skins/moono-lexicon/icons_hidpi.png | Bin 33431 -> 32954 bytes
ckeditor/skins/moono-lisa/dialog.css | 2 +-
ckeditor/skins/moono-lisa/dialog_ie.css | 2 +-
ckeditor/skins/moono-lisa/dialog_ie8.css | 2 +-
ckeditor/skins/moono-lisa/dialog_iequirks.css | 2 +-
ckeditor/skins/moono-lisa/editor.css | 2 +-
ckeditor/skins/moono-lisa/editor_gecko.css | 2 +-
ckeditor/skins/moono-lisa/editor_ie.css | 2 +-
ckeditor/skins/moono-lisa/editor_ie8.css | 2 +-
ckeditor/skins/moono-lisa/editor_iequirks.css | 2 +-
ckeditor/skins/moono-lisa/icons.png | Bin 10175 -> 10020 bytes
ckeditor/skins/moono-lisa/icons_hidpi.png | Bin 33431 -> 32954 bytes
ckeditor/skins/moono/dialog.css | 2 +-
ckeditor/skins/moono/dialog_ie.css | 2 +-
ckeditor/skins/moono/dialog_ie7.css | 2 +-
ckeditor/skins/moono/dialog_ie8.css | 2 +-
ckeditor/skins/moono/dialog_iequirks.css | 2 +-
ckeditor/skins/moono/editor.css | 2 +-
ckeditor/skins/moono/editor_gecko.css | 2 +-
ckeditor/skins/moono/editor_ie.css | 2 +-
ckeditor/skins/moono/editor_ie7.css | 2 +-
ckeditor/skins/moono/editor_ie8.css | 2 +-
ckeditor/skins/moono/editor_iequirks.css | 2 +-
ckeditor/skins/moono/icons.png | Bin 18983 -> 18574 bytes
ckeditor/skins/moono/icons_hidpi.png | Bin 56095 -> 55004 bytes
230 files changed, 16577 insertions(+), 2022 deletions(-)
create mode 100644 ckeditor/SECURITY.md
create mode 100644 ckeditor/plugins/autoembed/lang/id.js
create mode 100644 ckeditor/plugins/emoji/lang/fa.js
delete mode 100644 ckeditor/plugins/flash/dialogs/flash.js
delete mode 100644 ckeditor/plugins/flash/icons/flash.png
delete mode 100644 ckeditor/plugins/flash/icons/hidpi/flash.png
delete mode 100644 ckeditor/plugins/flash/images/placeholder.png
delete mode 100644 ckeditor/plugins/flash/lang/af.js
delete mode 100644 ckeditor/plugins/flash/lang/ar.js
delete mode 100644 ckeditor/plugins/flash/lang/az.js
delete mode 100644 ckeditor/plugins/flash/lang/bg.js
delete mode 100644 ckeditor/plugins/flash/lang/bn.js
delete mode 100644 ckeditor/plugins/flash/lang/bs.js
delete mode 100644 ckeditor/plugins/flash/lang/ca.js
delete mode 100644 ckeditor/plugins/flash/lang/cs.js
delete mode 100644 ckeditor/plugins/flash/lang/cy.js
delete mode 100644 ckeditor/plugins/flash/lang/da.js
delete mode 100644 ckeditor/plugins/flash/lang/de-ch.js
delete mode 100644 ckeditor/plugins/flash/lang/de.js
delete mode 100644 ckeditor/plugins/flash/lang/el.js
delete mode 100644 ckeditor/plugins/flash/lang/en-au.js
delete mode 100644 ckeditor/plugins/flash/lang/en-ca.js
delete mode 100644 ckeditor/plugins/flash/lang/en-gb.js
delete mode 100644 ckeditor/plugins/flash/lang/en.js
delete mode 100644 ckeditor/plugins/flash/lang/eo.js
delete mode 100644 ckeditor/plugins/flash/lang/es-mx.js
delete mode 100644 ckeditor/plugins/flash/lang/es.js
delete mode 100644 ckeditor/plugins/flash/lang/et.js
delete mode 100644 ckeditor/plugins/flash/lang/eu.js
delete mode 100644 ckeditor/plugins/flash/lang/fa.js
delete mode 100644 ckeditor/plugins/flash/lang/fi.js
delete mode 100644 ckeditor/plugins/flash/lang/fo.js
delete mode 100644 ckeditor/plugins/flash/lang/fr-ca.js
delete mode 100644 ckeditor/plugins/flash/lang/fr.js
delete mode 100644 ckeditor/plugins/flash/lang/gl.js
delete mode 100644 ckeditor/plugins/flash/lang/gu.js
delete mode 100644 ckeditor/plugins/flash/lang/he.js
delete mode 100644 ckeditor/plugins/flash/lang/hi.js
delete mode 100644 ckeditor/plugins/flash/lang/hr.js
delete mode 100644 ckeditor/plugins/flash/lang/hu.js
delete mode 100644 ckeditor/plugins/flash/lang/id.js
delete mode 100644 ckeditor/plugins/flash/lang/is.js
delete mode 100644 ckeditor/plugins/flash/lang/it.js
delete mode 100644 ckeditor/plugins/flash/lang/ja.js
delete mode 100644 ckeditor/plugins/flash/lang/ka.js
delete mode 100644 ckeditor/plugins/flash/lang/km.js
delete mode 100644 ckeditor/plugins/flash/lang/ko.js
delete mode 100644 ckeditor/plugins/flash/lang/ku.js
delete mode 100644 ckeditor/plugins/flash/lang/lt.js
delete mode 100644 ckeditor/plugins/flash/lang/lv.js
delete mode 100644 ckeditor/plugins/flash/lang/mk.js
delete mode 100644 ckeditor/plugins/flash/lang/mn.js
delete mode 100644 ckeditor/plugins/flash/lang/ms.js
delete mode 100644 ckeditor/plugins/flash/lang/nb.js
delete mode 100644 ckeditor/plugins/flash/lang/nl.js
delete mode 100644 ckeditor/plugins/flash/lang/no.js
delete mode 100644 ckeditor/plugins/flash/lang/oc.js
delete mode 100644 ckeditor/plugins/flash/lang/pl.js
delete mode 100644 ckeditor/plugins/flash/lang/pt-br.js
delete mode 100644 ckeditor/plugins/flash/lang/pt.js
delete mode 100644 ckeditor/plugins/flash/lang/ro.js
delete mode 100644 ckeditor/plugins/flash/lang/ru.js
delete mode 100644 ckeditor/plugins/flash/lang/si.js
delete mode 100644 ckeditor/plugins/flash/lang/sk.js
delete mode 100644 ckeditor/plugins/flash/lang/sl.js
delete mode 100644 ckeditor/plugins/flash/lang/sq.js
delete mode 100644 ckeditor/plugins/flash/lang/sr-latn.js
delete mode 100644 ckeditor/plugins/flash/lang/sr.js
delete mode 100644 ckeditor/plugins/flash/lang/sv.js
delete mode 100644 ckeditor/plugins/flash/lang/th.js
delete mode 100644 ckeditor/plugins/flash/lang/tr.js
delete mode 100644 ckeditor/plugins/flash/lang/tt.js
delete mode 100644 ckeditor/plugins/flash/lang/ug.js
delete mode 100644 ckeditor/plugins/flash/lang/uk.js
delete mode 100644 ckeditor/plugins/flash/lang/vi.js
delete mode 100644 ckeditor/plugins/flash/lang/zh-cn.js
delete mode 100644 ckeditor/plugins/flash/lang/zh.js
create mode 100644 ckeditor/plugins/templates/templatedefinition.js
delete mode 100644 ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla
delete mode 100644 ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf
delete mode 100644 ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js
delete mode 100644 ckeditor/samples/old/htmlwriter/outputforflash.html
diff --git a/ckeditor/CHANGES.md b/ckeditor/CHANGES.md
index 9359580b07..1e7b8e8d89 100644
--- a/ckeditor/CHANGES.md
+++ b/ckeditor/CHANGES.md
@@ -1,6 +1,78 @@
CKEditor 4 Changelog
====================
+## CKEditor 4.17.1
+
+Fixed issues:
+
+* [#4979](https://github.com/ckeditor/ckeditor4/issues/3757): Added cache key in [#4761](https://github.com/ckeditor/ckeditor4/issues/4761) started to breaking relative links for external CSS resources. The fix had been reverted and will be corrected in the upcoming release.
+
+## CKEditor 4.17
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the core module reported by [William Bowling](https://github.com/wbowling).
+
+ Issue summary: The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. See [security advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2) for more details.
+
+* Fixed XSS vulnerability in the core module reported by [Maurice Dauer](https://twitter.com/laytonctf).
+
+ Issue summary: The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code. See [security advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-pvmx-g8h5-cprj) for more details.
+
+You can read more details in the relevant security advisory and [contact us](security@cksource.com) if you have more questions.
+
+**An upgrade is highly recommended!**
+
+**Highlights:**
+
+Adobe [ended support of Flash Player](https://www.adobe.com/products/flashplayer/end-of-life.html) on December 31, 2020 and blocked Flash content from running in Flash Player beginning January 12, 2021.
+We have decided to deprecate and remove the [Flash](https://ckeditor.com/cke4/addon/flash) plugin from CKEditor 4 to help protect users' systems and discourage using insecure software.
+
+New Features:
+
+* [#3433](https://github.com/ckeditor/ckeditor4/issues/3433): Marked required fields in dialogs with asterisk (`*`) symbol.
+* [#4374](https://github.com/ckeditor/ckeditor4/issues/4374): Integrated the [Maximize](https://ckeditor.com/cke4/addon/maximize) plugin with browser's History API.
+* [#4461](https://github.com/ckeditor/ckeditor4/issues/4461): Introduced the possibility to delay editor initialization while it is in a detached DOM element.
+* [#4462](https://github.com/ckeditor/ckeditor4/issues/4462): Introduced support for reattaching editor container element to DOM.
+* [#4612](https://github.com/ckeditor/ckeditor4/issues/4612): Allow pasting images as Base64 from [clipboard](https://ckeditor.com/cke4/addon/clipboard) in all browsers except IE.
+* [#4681](https://github.com/ckeditor/ckeditor4/issues/4681): Allow drag and drop images as Base64.
+* [#4750](https://github.com/ckeditor/ckeditor4/issues/4750): Added notification for pasting and dropping unsupported file types into the editor.
+* [#4807](https://github.com/ckeditor/ckeditor4/issues/4807): [Chrome] Improved the performance of pasting large images. Thanks to [FlowIT-JIT](https://github.com/FlowIT-JIT)!
+* [#4850](https://github.com/ckeditor/ckeditor4/issues/4850): Added support for loading [content templates](https://ckeditor.com/cke4/addon/templates) from HTML files. Thanks to [Fynn96](https://github.com/Fynn96)!
+* [#4874](https://github.com/ckeditor/ckeditor4/issues/4874): Added the [`config.clipboard_handleImages`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-clipboard_handleImages) configuration option for enabling and disabling built-in support for pasting and dropping images in the [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin. Thanks to [FlowIT-JIT](https://github.com/FlowIT-JIT)!
+* [#4026](https://github.com/ckeditor/ckeditor4/issues/4026): [Preview](https://ckeditor.com/cke4/addon/preview) plugin now uses the [`editor#title`](http://localhost/ckeditor4-docs/build/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-title) property for the title of the preview window. Thanks to [Ely](https://github.com/Elyasin)!
+* [#4467](https://github.com/ckeditor/ckeditor4/issues/4467): Added support for inserting content next to a block [widgets](https://ckeditor.com/cke4/addon/widget) using keyboard navigation. Thanks to [bunglegrind](https://github.com/bunglegrind)!
+
+Fixed Issues:
+
+* [#3757](https://github.com/ckeditor/ckeditor4/issues/3757): [Firefox] Fixed: images pasted from [clipboard](https://ckeditor.com/cke4/addon/clipboard) are not inserted as Base64-encoded images.
+* [#3876](https://github.com/ckeditor/ckeditor4/issues/3876): Fixed: The [Print](https://ckeditor.com/cke4/addon/print) plugin incorrectly prints links and images.
+* [#4444](https://github.com/ckeditor/ckeditor4/issues/4444): [Firefox] Fixed: Print preview is incorrectly loaded from CDN.
+* [#4596](https://github.com/ckeditor/ckeditor4/issues/4596): Fixed: Incorrect handling of HSL/HSLA values in [`CKEDITOR.tools.color`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_color.html).
+* [#4597](https://github.com/ckeditor/ckeditor4/issues/4597): Fixed: Incorrect color conversion for HSL/HSLA values in [`CKEDITOR.tools.color`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_color.html).
+* [#4604](https://github.com/ckeditor/ckeditor4/issues/4604): Fixed: [`CKEDITOR.plugins.clipboard.dataTransfer#getTypes()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard_dataTransfer.html#method-getTypes) returns no types.
+* [#4761](https://github.com/ckeditor/ckeditor4/issues/4761): Fixed: Not all resources loaded by the editor respect the cache key.
+* [#4783](https://github.com/ckeditor/ckeditor4/issues/4783): Fixed: The [Accessibility Help](https://ckeditor.com/cke4/addon/a11yhelp) dialog does not contain info about focus being moved back to the editing area upon activating a toolbar button.
+* [#4790](https://github.com/ckeditor/ckeditor4/issues/4790): Fixed: Printing page is invoked before the printed page is fully loaded.
+* [#4874](https://github.com/ckeditor/ckeditor4/issues/4874): Fixed: Built-in support for pasting and dropping images in the [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin restricts third party plugins from handling image pasting. Thanks to [FlowIT-JIT](https://github.com/FlowIT-JIT)!
+* [#4888](https://github.com/ckeditor/ckeditor4/issues/4888): Fixed: The [`CKEDITOR.dialog#setState()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html#method-setState) method throws error when there is no "OK" button in the dialog.
+* [#4858](https://github.com/ckeditor/ckeditor4/issues/4858): Fixed: The [Autolink](https://ckeditor.com/cke4/addon/autolink) plugin incorrectly escapes the `&` characters when pasting links into the editor.
+* [#4892](https://github.com/ckeditor/ckeditor4/issues/4892): Fixed: Focus of buttons in dialogs is not visible enough in High Contrast mode.
+* [#3858](https://github.com/ckeditor/ckeditor4/issues/3858): Fixed: Pasting content in `ENTER_BR` [enter mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) crashes the editor.
+* [#4891](https://github.com/ckeditor/ckeditor4/issues/4891): Fixed: The [Autogrow](https://ckeditor.com/cke4/addon/autogrow) plugin applies fixed width to the editor.
+
+API Changes:
+
+* [#4462](https://github.com/ckeditor/ckeditor4/issues/4462): [`CKEDITOR.editor#getSelection()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelection) now returns `null` if the editor is in recreating state.
+* [#4583](https://github.com/ckeditor/ckeditor4/issues/4583): Added support for new, comma-less color syntax to [`CKEDITOR.tools.color`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_color.html).
+* [#4604](https://github.com/ckeditor/ckeditor4/issues/4604): Added the [`CKEDITOR.plugins.clipboard.dataTransfer#isFileTransfer()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard_dataTransfer.html#method-isFileTransfer) method.
+* [#4790](https://github.com/ckeditor/ckeditor4/issues/4790): Added `callback` parameter to [`CKEDITOR.plugins.preview#createPreview()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_preview.html#method-createPreview) method.
+
+Other Changes:
+
+* [#4866](https://github.com/ckeditor/ckeditor4/issues/#4866): The [Flash](https://ckeditor.com/cke4/addon/flash) plugin is now deprecated and has been removed from CKEditor 4.
+* [#4901](https://github.com/ckeditor/ckeditor4/issues/4901): Redesigned buttons placement in the [Content templates](https://ckeditor.com/cke4/addon/templates) dialog to make it more UX friendly. Thanks to [Fynn96](https://github.com/Fynn96)!
+
## CKEditor 4.16.2
**Security Updates:**
diff --git a/ckeditor/SECURITY.md b/ckeditor/SECURITY.md
new file mode 100644
index 0000000000..147ddbdd2d
--- /dev/null
+++ b/ckeditor/SECURITY.md
@@ -0,0 +1,10 @@
+# Reporting a security issues
+
+If you believe you have found a security issue in the CKEditor 4 software, please contact us immediately.
+
+When reporting a potential security problem, please bear this in mind:
+
+* Make sure to provide as many details as possible about the vulnerability.
+* Please do not disclose publicly any security issues until we fix them and publish security releases.
+
+Contact the security team at security@cksource.com. As soon as we receive the security report, we will work promptly to confirm the issue and then to provide a security fix.
diff --git a/ckeditor/ckeditor.js b/ckeditor/ckeditor.js
index f825c801cd..83e1706ccd 100644
--- a/ckeditor/ckeditor.js
+++ b/ckeditor/ckeditor.js
@@ -2,1216 +2,1229 @@
Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
-(function(){window.CKEDITOR&&window.CKEDITOR.dom||(window.CKEDITOR||(window.CKEDITOR=function(){var b=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"M04M",version:"4.16.2",revision:"4e64f67219",rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:b},status:"unloaded",basePath:function(){var a=window.CKEDITOR_BASEPATH||"";if(!a)for(var f=document.getElementsByTagName("script"),l=0;lw.getListenerIndex(f)){w=w.listeners;l||(l=this);isNaN(c)&&(c=10);d.fn=f;d.priority=c;for(var x=w.length-1;0<=x;x--)if(w[x].priority<=c)return w.splice(x+1,0,d),{removeListener:e};w.unshift(d)}return{removeListener:e}},once:function(){var a=
-Array.prototype.slice.call(arguments),b=a[1];a[1]=function(a){a.removeListener();return b.apply(this,arguments)};return this.on.apply(this,a)},capture:function(){CKEDITOR.event.useCapture=1;var a=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return a},fire:function(){var a=0,m=function(){a=1},l=0,k=function(){l=1};return function(c,d,e){var n=f(this)[c];c=a;var w=l;a=l=0;if(n){var x=n.listeners;if(x.length)for(var x=x.slice(0),h,t=0;tdocument.documentMode),mobile:-1a||f.quirks);f.gecko&&(h=b.match(/rv:([\d\.]+)/))&&(h=h[1].split("."),a=1E4*h[0]+100*(h[1]||0)+1*(h[2]||0));f.air&&(a=parseFloat(b.match(/ adobeair\/(\d+)/)[1]));
-f.webkit&&(a=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]));f.version=a;f.isCompatible=!(f.ie&&7>a)&&!(f.gecko&&4E4>a)&&!(f.webkit&&534>a);f.hidpi=2<=window.devicePixelRatio;f.needsBrFiller=f.gecko||f.webkit||f.ie&&10a;f.cssClass="cke_browser_"+(f.ie?"ie":f.gecko?"gecko":f.webkit?"webkit":"unknown");f.quirks&&(f.cssClass+=" cke_browser_quirks");f.ie&&(f.cssClass+=" cke_browser_ie"+(f.quirks?"6 cke_browser_iequirks":f.version));f.air&&(f.cssClass+=" cke_browser_air");
-f.iOS&&(f.cssClass+=" cke_browser_ios");f.hidpi&&(f.cssClass+=" cke_hidpi");return f}()),"unloaded"==CKEDITOR.status&&function(){CKEDITOR.event.implementOn(CKEDITOR);CKEDITOR.loadFullCore=function(){if("basic_ready"!=CKEDITOR.status)CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var b=document.createElement("script");b.type="text/javascript";b.src=CKEDITOR.basePath+"ckeditor.js";document.getElementsByTagName("head")[0].appendChild(b)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=
-function(b){(this._.pending||(this._.pending=[])).push(b)};(function(){CKEDITOR.domReady(function(){var b=CKEDITOR.loadFullCore,h=CKEDITOR.loadFullCoreTimeout;b&&(CKEDITOR.status="basic_ready",b&&b._load?b():h&&setTimeout(function(){CKEDITOR.loadFullCore&&CKEDITOR.loadFullCore()},1E3*h))})})();CKEDITOR.status="basic_loaded"}(),"use strict",CKEDITOR.VERBOSITY_WARN=1,CKEDITOR.VERBOSITY_ERROR=2,CKEDITOR.verbosity=CKEDITOR.VERBOSITY_WARN|CKEDITOR.VERBOSITY_ERROR,CKEDITOR.warn=function(b,h){CKEDITOR.verbosity&
-CKEDITOR.VERBOSITY_WARN&&CKEDITOR.fire("log",{type:"warn",errorCode:b,additionalData:h})},CKEDITOR.error=function(b,h){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_ERROR&&CKEDITOR.fire("log",{type:"error",errorCode:b,additionalData:h})},CKEDITOR.on("log",function(b){if(window.console&&window.console.log){var h=console[b.data.type]?b.data.type:"log",f=b.data.errorCode;if(b=b.data.additionalData)console[h]("[CKEDITOR] Error code: "+f+".",b);else console[h]("[CKEDITOR] Error code: "+f+".");console[h]("[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#"+
-f)}},null,null,999),CKEDITOR.dom={},function(){function b(n,e,c){this._minInterval=n;this._context=c;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(e,c||{});var a=this;this.input=function(){function n(){a._lastOutput=(new Date).getTime();a._scheduledTimer=0;a._call()}if(!a._scheduledTimer||!1!==a._reschedule()){var e=(new Date).getTime()-a._lastOutput;e /g,l=/|\s) /g,function(e,c){return c+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var e=0;return function(){return++e}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var e="e",c=0;8>c;c++)e+=Math.floor(65536*
-(1+Math.random())).toString(16).substring(1);return e},override:function(e,c){var a=c(e);a.prototype=e.prototype;return a},setTimeout:function(e,c,a,d,k){k||(k=window);a||(a=k);return k.setTimeout(function(){d?e.apply(a,[].concat(d)):e.apply(a)},c||0)},throttle:function(e,c,a){return new this.buffers.throttle(e,c,a)},trim:function(){var e=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(c){return c.replace(e,"")}}(),ltrim:function(){var e=/^[ \t\n\r]+/g;return function(c){return c.replace(e,"")}}(),
-rtrim:function(){var e=/[ \t\n\r]+$/g;return function(c){return c.replace(e,"")}}(),indexOf:function(e,c){if("function"==typeof c)for(var a=0,d=e.length;aparseFloat(c);a&&(c=c.replace("-",""));e.setStyle("width",c);c=e.$.clientWidth;return a?-c:c}return c}}(),repeat:function(e,c){return Array(c+1).join(e)},tryThese:function(){for(var e,c=0,a=arguments.length;cc;c++)e[c]=("0"+parseInt(e[c],10).toString(16)).slice(-2);return"#"+e.join("")})},normalizeHex:function(e){return e.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(e,c,a,d){e=c.toLowerCase();3==e.length&&
-(e=e.split(""),e=[e[0],e[0],e[1],e[1],e[2],e[2]].join(""));return"#"+e+d})},_isValidColorFormat:function(e){if(!e)return!1;e=e.replace(/\s+/g,"");return/^[a-z0-9()#%,./]+$/i.test(e)},parseCssText:function(e,c,a){var d={};a&&(e=(new CKEDITOR.dom.element("span")).setAttribute("style",e).getAttribute("style")||"");e&&(e=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(e)));if(!e||";"==e)return d;e.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(e,a,n){c&&(a=
-a.toLowerCase(),"font-family"==a&&(n=n.replace(/\s*,\s*/g,",")),n=CKEDITOR.tools.trim(n));d[a]=n});return d},writeCssText:function(e,c){var a,d=[];for(a in e)d.push(a+":"+e[a]);c&&d.sort();return d.join("; ")},objectCompare:function(e,c,a){var d;if(!e&&!c)return!0;if(!e||!c)return!1;for(d in e)if(e[d]!=c[d])return!1;if(!a)for(d in c)if(e[d]!=c[d])return!1;return!0},objectKeys:function(e){return CKEDITOR.tools.object.keys(e)},convertArrayToObject:function(e,c){var a={};1==arguments.length&&(c=!0);
-for(var d=0,k=e.length;da;a++)e.push(Math.floor(256*Math.random()));for(a=0;a=d||0==a&&48<=
-d&&57>=d||1==a&&48<=d&&57>=d&&45==b?k+("\\"+d.toString(16)+" "):0==a&&1==c&&45==d?k+("\\"+e.charAt(a)):128<=d||45==d||95==d||48<=d&&57>=d||65<=d&&90>=d||97<=d&&122>=d?k+e.charAt(a):k+("\\"+e.charAt(a));e=k}else e="";return e},getMouseButton:function(e){return(e=e&&e.data?e.data.$:e)?CKEDITOR.tools.normalizeMouseButton(e.button):!1},normalizeMouseButton:function(e,c){if(!CKEDITOR.env.ie||9<=CKEDITOR.env.version&&!CKEDITOR.env.ie6Compat)return e;for(var a=[[CKEDITOR.MOUSE_BUTTON_LEFT,1],[CKEDITOR.MOUSE_BUTTON_MIDDLE,
-4],[CKEDITOR.MOUSE_BUTTON_RIGHT,2]],d=0;db)for(f=b;3>f;f++)k[f]=0;g[0]=(k[0]&252)>>2;g[1]=(k[0]&3)<<4|k[1]>>4;g[2]=(k[1]&15)<<2|(k[2]&192)>>6;g[3]=k[2]&63;for(f=0;4>f;f++)c=f<=b?
-c+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g[f]):c+"\x3d"}return c},style:{parse:{_borderStyle:"none hidden dotted dashed solid double groove ridge inset outset".split(" "),_widthRegExp:/^(thin|medium|thick|[\+-]?\d+(\.\d+)?[a-z%]+|[\+-]?0+(\.0+)?|\.\d+[a-z%]+)$/,_rgbaRegExp:/rgba?\(\s*\d+%?\s*,\s*\d+%?\s*,\s*\d+%?\s*(?:,\s*[0-9.]+\s*)?\)/gi,_hslaRegExp:/hsla?\(\s*[0-9.]+\s*,\s*\d+%\s*,\s*\d+%\s*(?:,\s*[0-9.]+\s*)?\)/gi,background:function(e){var c={},a=this._findColor(e);
-a.length&&(c.color=a[0],CKEDITOR.tools.array.forEach(a,function(c){e=e.replace(c,"")}));if(e=CKEDITOR.tools.trim(e))c.unprocessed=e;return c},margin:function(e){return CKEDITOR.tools.style.parse.sideShorthand(e,function(e){return e.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||["0px"]})},sideShorthand:function(e,c){function a(e){d.top=k[e[0]];d.right=k[e[1]];d.bottom=k[e[2]];d.left=k[e[3]]}var d={},k=c?c(e):e.split(/\s+/);switch(k.length){case 1:a([0,0,0,0]);break;case 2:a([0,
-1,0,1]);break;case 3:a([0,1,2,1]);break;case 4:a([0,1,2,3])}return d},border:function(e){return CKEDITOR.tools.style.border.fromCssRule(e)},_findColor:function(e){var c=[],a=CKEDITOR.tools.array,c=c.concat(e.match(this._rgbaRegExp)||[]),c=c.concat(e.match(this._hslaRegExp)||[]);return c=c.concat(a.filter(e.split(/\s+/),function(e){return e.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:e.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(e,c,a){var d=[];this.forEach(e,
-function(k,b){c.call(a,k,b,e)&&d.push(k)});return d},find:function(e,c,a){for(var d=e.length,k=0;kCKEDITOR.env.version&&(!e||"object"!==typeof e)){c=[];if("string"===typeof e)for(a=0;aCKEDITOR.env.version)for(k=0;kCKEDITOR.env.version&&(this.type==CKEDITOR.NODE_ELEMENT||this.type==
-CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&a(g);return g},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(b){b.$.parentNode.insertBefore(this.$,b.$.nextSibling);return b},insertBefore:function(b){b.$.parentNode.insertBefore(this.$,b.$);return b},insertBeforeMe:function(b){this.$.parentNode.insertBefore(b.$,this.$);return b},getAddress:function(b){for(var h=[],f=this.getDocument().$.documentElement,a=this;a&&a!=f;){var g=a.getParent();
-g&&h.unshift(this.getIndex.call(a,b));a=g}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(b){function h(a,b){var k=b?a.getNext():a.getPrevious();return k&&k.type==CKEDITOR.NODE_TEXT?k.isEmpty()?h(k,b):k:null}var f=this,a=-1,g;if(!this.getParent()||b&&f.type==CKEDITOR.NODE_TEXT&&f.isEmpty()&&!h(f)&&!h(f,!0))return-1;do if(!b||f.equals(this)||f.type!=CKEDITOR.NODE_TEXT||!g&&!f.isEmpty())a++,g=f.type==CKEDITOR.NODE_TEXT;
-while(f=f.getPrevious());return a},getNextSourceNode:function(b,h,f){if(f&&!f.call){var a=f;f=function(b){return!b.equals(a)}}b=!b&&this.getFirst&&this.getFirst();var g;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&f&&!1===f(this,!0))return null;b=this.getNext()}for(;!b&&(g=(g||this).getParent());){if(f&&!1===f(g,!0))return null;b=g.getNext()}return!b||f&&!1===f(b)?null:h&&h!=b.type?b.getNextSourceNode(!1,h,f):b},getPreviousSourceNode:function(b,h,f){if(f&&!f.call){var a=f;f=function(b){return!b.equals(a)}}b=
-!b&&this.getLast&&this.getLast();var g;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&f&&!1===f(this,!0))return null;b=this.getPrevious()}for(;!b&&(g=(g||this).getParent());){if(f&&!1===f(g,!0))return null;b=g.getPrevious()}return!b||f&&!1===f(b)?null:h&&b.type!=h?b.getPreviousSourceNode(!1,h,f):b},getPrevious:function(b){var h=this.$,f;do f=(h=h.previousSibling)&&10!=h.nodeType&&new CKEDITOR.dom.node(h);while(f&&b&&!b(f));return f},getNext:function(b){var h=this.$,f;do f=(h=h.nextSibling)&&new CKEDITOR.dom.node(h);
-while(f&&b&&!b(f));return f},getParent:function(b){var h=this.$.parentNode;return h&&(h.nodeType==CKEDITOR.NODE_ELEMENT||b&&h.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(h):null},getParents:function(b){var h=this,f=[];do f[b?"push":"unshift"](h);while(h=h.getParent());return f},getCommonAncestor:function(b){if(b.equals(this))return this;if(b.contains&&b.contains(this))return b;var h=this.contains?this:this.getParent();do if(h.contains(b))return h;while(h=h.getParent());return null},
-getPosition:function(b){var h=this.$,f=b.$;if(h.compareDocumentPosition)return h.compareDocumentPosition(f);if(h==f)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&&b.type==CKEDITOR.NODE_ELEMENT){if(h.contains){if(h.contains(f))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(f.contains(h))return CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||0>f.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndex<
-f.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}h=this.getAddress();b=b.getAddress();for(var f=Math.min(h.length,b.length),a=0;a=document.documentMode||!h||(b=h+":"+b);return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(b))},getHead:function(){var b=
-this.$.getElementsByTagName("head")[0];return b=b?new CKEDITOR.dom.element(b):this.getDocumentElement().append(new CKEDITOR.dom.element("head"),!0)},getBody:function(){return new CKEDITOR.dom.element(this.$.body)},getDocumentElement:function(){return new CKEDITOR.dom.element(this.$.documentElement)},getWindow:function(){return new CKEDITOR.dom.window(this.$.parentWindow||this.$.defaultView)},write:function(b){this.$.open("text/html","replace");CKEDITOR.env.ie&&(b=b.replace(/(?:^\s*]*?>)|^/i,
-'$\x26\n\x3cscript data-cke-temp\x3d"1"\x3e('+CKEDITOR.tools.fixDomain+")();\x3c/script\x3e"));this.$.write(b);this.$.close()},find:function(b){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(b))},findOne:function(b){return(b=this.$.querySelector(b))?new CKEDITOR.dom.element(b):null},_getHtml5ShivFrag:function(){var b=this.getCustomData("html5ShivFrag");b||(b=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(b,!0),this.setCustomData("html5ShivFrag",b));return b}}),CKEDITOR.dom.nodeList=
-function(b){this.$=b},CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(b){return 0>b||b>=this.$.length?null:(b=this.$[b])?new CKEDITOR.dom.node(b):null},toArray:function(){return CKEDITOR.tools.array.map(this.$,function(b){return new CKEDITOR.dom.node(b)})}},CKEDITOR.dom.element=function(b,h){"string"==typeof b&&(b=(h?h.$:document).createElement(b));CKEDITOR.dom.domObject.call(this,b)},CKEDITOR.dom.element.get=function(b){return(b="string"==typeof b?document.getElementById(b)||
-document.getElementsByName(b)[0]:b)&&(b.$?b:new CKEDITOR.dom.element(b))},CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node,CKEDITOR.dom.element.createFromHtml=function(b,h){var f=new CKEDITOR.dom.element("div",h);f.setHtml(b);return f.getFirst().remove()},CKEDITOR.dom.element.setMarker=function(b,h,f,a){var g=h.getCustomData("list_marker_id")||h.setCustomData("list_marker_id",CKEDITOR.tools.getNextNumber()).getCustomData("list_marker_id"),m=h.getCustomData("list_marker_names")||h.setCustomData("list_marker_names",
-{}).getCustomData("list_marker_names");b[g]=h;m[f]=1;return h.setCustomData(f,a)},CKEDITOR.dom.element.clearAllMarkers=function(b){for(var h in b)CKEDITOR.dom.element.clearMarkers(b,b[h],1)},CKEDITOR.dom.element.clearMarkers=function(b,h,f){var a=h.getCustomData("list_marker_names"),g=h.getCustomData("list_marker_id"),m;for(m in a)h.removeCustomData(m);h.removeCustomData("list_marker_names");f&&(h.removeCustomData("list_marker_id"),delete b[g])},function(){function b(a,c){return-1<(" "+a+" ").replace(m,
-" ").indexOf(" "+c+" ")}function h(a){var c=!0;a.$.id||(a.$.id="cke_tmp_"+CKEDITOR.tools.getNextNumber(),c=!1);return function(){c||a.removeAttribute("id")}}function f(a,c){var d=CKEDITOR.tools.escapeCss(a.$.id);return"#"+d+" "+c.split(/,\s*/).join(", #"+d+" ")}function a(a){for(var c=0,d=0,e=l[a].length;dCKEDITOR.env.version?
-this.$.text+=a:this.append(new CKEDITOR.dom.text(a))},appendBogus:function(a){if(a||CKEDITOR.env.needsBrFiller){for(a=this.getLast();a&&a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&&a.is&&a.is("br")||(a=this.getDocument().createElement("br"),CKEDITOR.env.gecko&&a.setAttribute("type","_moz"),this.append(a))}},breakParent:function(a,c){var d=new CKEDITOR.dom.range(this.getDocument());d.setStartAfter(this);d.setEndAfter(a);var e=d.extractContents(!1,c||!1),b;d.insertNode(this.remove());
-if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(d=new CKEDITOR.dom.element("div");b=e.getFirst();)b.$.style.backgroundColor&&(b.$.style.backgroundColor=b.$.style.backgroundColor),d.append(b);d.insertAfter(this);d.remove(!0)}else e.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&16)}:function(a){var c=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?c.contains(a.getParent().$):c!=a.$&&c.contains(a.$)},focus:function(){function a(){try{this.$.focus()}catch(c){}}
-return function(c){c?CKEDITOR.tools.setTimeout(a,100,this):a.call(this)}}(),getHtml:function(){var a=this.$.innerHTML;return CKEDITOR.env.ie?a.replace(/<\?[^>]*>/g,""):a},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/<\?[^>]*>/,"");var a=this.$.ownerDocument.createElement("div");a.appendChild(this.$.cloneNode(!0));return a.innerHTML},getClientRect:function(a){var c=CKEDITOR.tools.extend({},this.$.getBoundingClientRect());!c.width&&(c.width=c.right-c.left);!c.height&&
-(c.height=c.bottom-c.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),c):c},setHtml:CKEDITOR.env.ie&&9>CKEDITOR.env.version?function(a){try{var c=this.$;if(this.getParent())return c.innerHTML=a;var d=this.getDocument()._getHtml5ShivFrag();d.appendChild(c);c.innerHTML=a;d.removeChild(c);return a}catch(e){this.$.innerHTML="";c=new CKEDITOR.dom.element("body",this.getDocument());c.$.innerHTML=a;for(c=c.getChildren();c.count();)this.append(c.getItem(0));return a}}:function(a){return this.$.innerHTML=
-a},setText:function(){var a=document.createElement("p");a.innerHTML="x";a=a.textContent;return function(c){this.$[a?"textContent":"innerText"]=c}}(),getAttribute:function(){var a=function(a){return this.$.getAttribute(a,2)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){switch(a){case "class":a="className";break;case "http-equiv":a="httpEquiv";break;case "name":return this.$.name;case "tabindex":return a=this.$.getAttribute(a,2),0!==a&&0===this.$.tabIndex&&(a=null),
-a;case "checked":return a=this.$.attributes.getNamedItem(a),(a.specified?a.nodeValue:this.$.checked)?"checked":null;case "hspace":case "value":return this.$[a];case "style":return this.$.style.cssText;case "contenteditable":case "contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(a,2)}:a}(),getAttributes:function(a){var c={},d=this.$.attributes,e;a=CKEDITOR.tools.isArray(a)?a:[];for(e=0;e=document.documentMode){var c=this.$.scopeName;"HTML"!=c&&(a=c.toLowerCase()+":"+a)}this.getName=function(){return a};return this.getName()},getValue:function(){return this.$.value},getFirst:function(a){var c=this.$.firstChild;(c=c&&new CKEDITOR.dom.node(c))&&a&&!a(c)&&(c=c.getNext(a));return c},getLast:function(a){var c=this.$.lastChild;(c=c&&new CKEDITOR.dom.node(c))&&a&&!a(c)&&(c=c.getPrevious(a));return c},getStyle:function(a){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]},
-is:function(){var a=this.getName();if("object"==typeof arguments[0])return!!arguments[0][a];for(var c=0;cCKEDITOR.env.version&&this.is("a")){var d=this.getParent();d.type==CKEDITOR.NODE_ELEMENT&&(d=d.clone(),d.setHtml(c),c=d.getHtml(),d.setHtml(a),a=d.getHtml())}return c==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),c,d;a&&CKEDITOR.env.webkit&&(c=this.getWindow(),!c.equals(CKEDITOR.document.getWindow())&&(d=c.$.frameElement)&&(a=(new CKEDITOR.dom.element(d)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1;
-for(var a=this.getChildren(),c=0,d=a.count();cCKEDITOR.env.version?function(c){return"name"==c?!!this.$.name:a.call(this,c)}:a:function(a){return!!this.$.attributes.getNamedItem(a)}}(),hide:function(){this.setStyle("display","none")},moveChildren:function(a,c){var d=this.$;a=a.$;if(d!=a){var e;if(c)for(;e=d.lastChild;)a.insertBefore(d.removeChild(e),a.firstChild);else for(;e=d.firstChild;)a.appendChild(d.removeChild(e))}},mergeSiblings:function(){function a(c,d,e){if(d&&d.type==CKEDITOR.NODE_ELEMENT){for(var b=
-[];d.data("cke-bookmark")||d.isEmptyInlineRemoveable();)if(b.push(d),d=e?d.getNext():d.getPrevious(),!d||d.type!=CKEDITOR.NODE_ELEMENT)return;if(c.isIdentical(d)){for(var g=e?c.getLast():c.getFirst();b.length;)b.shift().move(c,!e);d.moveChildren(c,!e);d.remove();g&&g.type==CKEDITOR.NODE_ELEMENT&&g.mergeSiblings()}}}return function(c){if(!1===c||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is("a"))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:"",
-visibility:""})},setAttribute:function(){var a=function(a,d){this.$.setAttribute(a,d);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(c,d){"class"==c?this.$.className=d:"style"==c?this.$.style.cssText=d:"tabindex"==c?this.$.tabIndex=d:"checked"==c?this.$.checked=d:"contenteditable"==c?a.call(this,"contentEditable",d):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(c,d){if("src"==c&&d.match(/^http:\/\//))try{a.apply(this,
-arguments)}catch(e){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var c in a)this.setAttribute(c,a[c]);return this},setValue:function(a){this.$.value=a;return this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){"class"==a?a="className":"tabindex"==a?a="tabIndex":"contenteditable"==a&&(a="contentEditable");this.$.removeAttribute(a)}:a}(),removeAttributes:function(a){if(CKEDITOR.tools.isArray(a))for(var c=
-0;cCKEDITOR.env.version?(a=Math.round(100*a),this.setStyle("filter",100<=a?"":"progid:DXImageTransform.Microsoft.Alpha(opacity\x3d"+a+")")):this.setStyle("opacity",a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select",
-"none"));if(CKEDITOR.env.ie){this.setAttribute("unselectable","on");for(var a,c=this.getElementsByTag("*"),d=0,e=c.count();df||0f?f:b);d&&(0>g||0g?g:e,0)},setState:function(a,c,d){c=c||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(c+"_on");this.removeClass(c+
-"_off");this.removeClass(c+"_disabled");d&&this.setAttribute("aria-pressed",!0);d&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(c+"_disabled");this.removeClass(c+"_off");this.removeClass(c+"_on");d&&this.setAttribute("aria-disabled",!0);d&&this.removeAttribute("aria-pressed");break;default:this.addClass(c+"_off"),this.removeClass(c+"_on"),this.removeClass(c+"_disabled"),d&&this.removeAttribute("aria-pressed"),d&&this.removeAttribute("aria-disabled")}},
-getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(c){a.src=a.src}return a&&new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,c){var d=this.$.attributes;c=c||{};for(var e=0;eCKEDITOR.env.version){var b=e.ownerDocument.createEventObject(),g;for(g in c)b[g]=c[g];e.fireEvent(d,
-b)}else e[e[a]?a:d](c)},isDetached:function(){var a=this.getDocument(),c=a.getDocumentElement();return c.equals(this)||c.contains(this)?!CKEDITOR.env.ie||8=B.getChildCount()?(B=B.getChild(C-1),F=!0):B=B.getChild(C):L=F=!0;u.type==
-CKEDITOR.NODE_TEXT?q?D=!0:u.split(A):0da)for(;X;)X=f(X,P,!0);P=Y}q||k()}}function f(){var a=!1,c=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!0),b=CKEDITOR.dom.walker.bogus();return function(g){return d(g)||c(g)?!0:b(g)&&!a?a=!0:g.type==CKEDITOR.NODE_TEXT&&(g.hasAscendant("pre")||CKEDITOR.tools.trim(g.getText()).length)||g.type==CKEDITOR.NODE_ELEMENT&&!g.is(m)?!1:!0}}function a(a){var c=CKEDITOR.dom.walker.whitespaces(),
-d=CKEDITOR.dom.walker.bookmark(1);return function(b){return d(b)||c(b)?!0:!a&&l(b)||b.type==CKEDITOR.NODE_ELEMENT&&b.is(CKEDITOR.dtd.$removeEmpty)}}function g(a){return function(){var b;return this[a?"getPreviousNode":"getNextNode"](function(a){!b&&d(a)&&(b=a);return c(a)&&!(l(a)&&a.equals(b))})}}var m={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,"var":1},l=CKEDITOR.dom.walker.bogus(),
-k=/^[\t\r\n ]*(?: |\xa0)$/,c=CKEDITOR.dom.walker.editable(),d=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var a=new CKEDITOR.dom.range(this.root);a._setStartContainer(this.startContainer);a.startOffset=this.startOffset;a._setEndContainer(this.endContainer);a.endOffset=this.endOffset;a.collapsed=this.collapsed;return a},collapse:function(a){a?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer),
-this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(a){var c=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,2,c,!1,"undefined"==typeof a?!0:a);return c},deleteContents:function(a){this.collapsed||h(this,0,null,a)},extractContents:function(a,c){var d=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,1,d,a,"undefined"==typeof c?!0:c);return d},equals:function(a){return this.startOffset===a.startOffset&&this.endOffset===a.endOffset&&
-this.startContainer.equals(a.startContainer)&&this.endContainer.equals(a.endContainer)},createBookmark:function(a){function c(a){return a.getAscendant(function(a){var e;if(e=a.data&&a.data("cke-temp"))e=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],a.getAttribute("id"));return e},!0)}var d=this.startContainer,b=this.endContainer,g=this.collapsed,f,m,k,l;f=this.document.createElement("span");f.data("cke-bookmark",1);f.setStyle("display","none");f.setHtml("\x26nbsp;");a&&(k="cke_bm_"+
-CKEDITOR.tools.getNextNumber(),f.setAttribute("id",k+(g?"C":"S")));g||(m=f.clone(),m.setHtml("\x26nbsp;"),a&&m.setAttribute("id",k+"E"),l=this.clone(),c(b)&&(b=c(b),l.moveToPosition(b,CKEDITOR.POSITION_AFTER_END)),l.collapse(),l.insertNode(m));l=this.clone();c(d)&&(b=c(d),l.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START));l.collapse(!0);l.insertNode(f);m?(this.setStartAfter(f),this.setEndBefore(m)):this.moveToPosition(f,CKEDITOR.POSITION_AFTER_END);return{startNode:a?k+(g?"C":"S"):f,endNode:a?k+
-"E":m,serializable:a,collapsed:g}},createBookmark2:function(){function a(e){var c=e.container,b=e.offset,g;g=c;var f=b;g=g.type!=CKEDITOR.NODE_ELEMENT||0===f||f==g.getChildCount()?0:g.getChild(f-1).type==CKEDITOR.NODE_TEXT&&g.getChild(f).type==CKEDITOR.NODE_TEXT;g&&(c=c.getChild(b-1),b=c.getLength());if(c.type==CKEDITOR.NODE_ELEMENT&&0=a.offset&&(a.offset=b.getIndex(),a.container=b.getParent()))}}var d=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT,
-!0);return function(d){var b=this.collapsed,g={container:this.startContainer,offset:this.startOffset},f={container:this.endContainer,offset:this.endOffset};d&&(a(g),c(g,this.root),b||(a(f),c(f,this.root)));return{start:g.container.getAddress(d),end:b?null:f.container.getAddress(d),startOffset:g.offset,endOffset:f.offset,normalized:d,collapsed:b,is2:!0}}}(),moveToBookmark:function(a){if(a.is2){var c=this.document.getByAddress(a.start,a.normalized),d=a.startOffset,b=a.end&&this.document.getByAddress(a.end,
-a.normalized);a=a.endOffset;this.setStart(c,d);b?this.setEnd(b,a):this.collapse(!0)}else c=(d=a.serializable)?this.document.getById(a.startNode):a.startNode,a=d?this.document.getById(a.endNode):a.endNode,this.setStartBefore(c),c.remove(),a?(this.setEndBefore(a),a.remove()):this.collapse(!0)},getBoundaryNodes:function(){var a=this.startContainer,c=this.endContainer,d=this.startOffset,b=this.endOffset,g;if(a.type==CKEDITOR.NODE_ELEMENT)if(g=a.getChildCount(),g>d)a=a.getChild(d);else if(1>g)a=a.getPreviousSourceNode();
-else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a);a=a.getNextSourceNode()||a}if(c.type==CKEDITOR.NODE_ELEMENT)if(g=c.getChildCount(),g>b)c=c.getChild(b).getPreviousSourceNode(!0);else if(1>g)c=c.getPreviousSourceNode();else{for(c=c.$;c.lastChild;)c=c.lastChild;c=new CKEDITOR.dom.node(c)}a.getPosition(c)&CKEDITOR.POSITION_FOLLOWING&&(a=c);return{startNode:a,endNode:c}},getCommonAncestor:function(a,c){var d=this.startContainer,b=this.endContainer,d=d.equals(b)?a&&d.type==CKEDITOR.NODE_ELEMENT&&
-this.startOffset==this.endOffset-1?d.getChild(this.startOffset):d:d.getCommonAncestor(b);return c&&!d.is?d.getParent():d},optimize:function(){var a=this.startContainer,c=this.startOffset;a.type!=CKEDITOR.NODE_ELEMENT&&(c?c>=a.getLength()&&this.setStartAfter(a):this.setStartBefore(a));a=this.endContainer;c=this.endOffset;a.type!=CKEDITOR.NODE_ELEMENT&&(c?c>=a.getLength()&&this.setEndAfter(a):this.setEndBefore(a))},optimizeBookmark:function(){var a=this.startContainer,c=this.endContainer;a.is&&a.is("span")&&
-a.data("cke-bookmark")&&this.setStartAt(a,CKEDITOR.POSITION_BEFORE_START);c&&c.is&&c.is("span")&&c.data("cke-bookmark")&&this.setEndAt(c,CKEDITOR.POSITION_AFTER_END)},trim:function(a,c){var d=this.startContainer,b=this.startOffset,g=this.collapsed;if((!a||g)&&d&&d.type==CKEDITOR.NODE_TEXT){if(b)if(b>=d.getLength())b=d.getIndex()+1,d=d.getParent();else{var f=d.split(b),b=d.getIndex()+1,d=d.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(f,this.endOffset-this.startOffset):d.equals(this.endContainer)&&
-(this.endOffset+=1)}else b=d.getIndex(),d=d.getParent();this.setStart(d,b);if(g){this.collapse(!0);return}}d=this.endContainer;b=this.endOffset;c||g||!d||d.type!=CKEDITOR.NODE_TEXT||(b?(b>=d.getLength()||d.split(b),b=d.getIndex()+1):b=d.getIndex(),d=d.getParent(),this.setEnd(d,b))},enlarge:function(a,c){function d(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")?null:a}var b=new RegExp(/[^\s\ufeff]/);switch(a){case CKEDITOR.ENLARGE_INLINE:var g=1;case CKEDITOR.ENLARGE_ELEMENT:var f=
-function(a,e){var c=new CKEDITOR.dom.range(k);c.setStart(a,e);c.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),d;for(c.guard=function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary())};d=c.next();){if(d.type!=CKEDITOR.NODE_TEXT)return!1;E=d!=a?d.getText():d.substring(e);if(b.test(E))return!1}return!0};if(this.collapsed)break;var m=this.getCommonAncestor(),k=this.root,l,h,q,u,B,A=!1,C,E;C=this.startContainer;var F=this.startOffset;C.type==CKEDITOR.NODE_TEXT?
-(F&&(C=!CKEDITOR.tools.trim(C.substring(0,F)).length&&C,A=!!C),C&&((u=C.getPrevious())||(q=C.getParent()))):(F&&(u=C.getChild(F-1)||C.getLast()),u||(q=C));for(q=d(q);q||u;){if(q&&!u){!B&&q.equals(m)&&(B=!0);if(g?q.isBlockBoundary():!k.contains(q))break;A&&"inline"==q.getComputedStyle("display")||(A=!1,B?l=q:this.setStartBefore(q));u=q.getPrevious()}for(;u;)if(C=!1,u.type==CKEDITOR.NODE_COMMENT)u=u.getPrevious();else{if(u.type==CKEDITOR.NODE_TEXT)E=u.getText(),b.test(E)&&(u=null),C=/[\s\ufeff]$/.test(E);
-else if((u.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||c&&u.is("br"))&&!u.data("cke-bookmark"))if(A&&CKEDITOR.dtd.$removeEmpty[u.getName()]){E=u.getText();if(b.test(E))u=null;else for(var F=u.$.getElementsByTagName("*"),G=0,L;L=F[G++];)if(!CKEDITOR.dtd.$removeEmpty[L.nodeName.toLowerCase()]){u=null;break}u&&(C=!!E.length)}else u=null;C&&(A?B?l=q:q&&this.setStartBefore(q):A=!0);if(u){C=u.getPrevious();if(!q&&!C){q=u;u=null;break}u=C}else q=null}q&&(q=d(q.getParent()))}C=this.endContainer;F=this.endOffset;
-q=u=null;B=A=!1;C.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(C.substring(F)).length?A=!0:(A=!C.getLength(),F==C.getLength()?(u=C.getNext())||(q=C.getParent()):f(C,F)&&(q=C.getParent())):(u=C.getChild(F))||(q=C);for(;q||u;){if(q&&!u){!B&&q.equals(m)&&(B=!0);if(g?q.isBlockBoundary():!k.contains(q))break;A&&"inline"==q.getComputedStyle("display")||(A=!1,B?h=q:q&&this.setEndAfter(q));u=q.getNext()}for(;u;){C=!1;if(u.type==CKEDITOR.NODE_TEXT)E=u.getText(),f(u,0)||(u=null),C=/^[\s\ufeff]/.test(E);else if(u.type==
-CKEDITOR.NODE_ELEMENT){if((0=m.getLength()?f.setStartAfter(m):(f.setStartBefore(m),d=0):f.setStartBefore(m));k&&k.type==CKEDITOR.NODE_TEXT&&(h?h>=k.getLength()?f.setEndAfter(k):(f.setEndAfter(k),q=0):f.setEndBefore(k));var f=new CKEDITOR.dom.walker(f),u=CKEDITOR.dom.walker.bookmark(),B=CKEDITOR.dom.walker.bogus();f.evaluator=
-function(c){return c.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var A;f.guard=function(c,d){if(g&&B(c)||u(c))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&&c.type==CKEDITOR.NODE_TEXT||d&&c.equals(A)||!1===b&&c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()||c.type==CKEDITOR.NODE_ELEMENT&&c.hasAttribute("contenteditable"))return!1;d||c.type!=CKEDITOR.NODE_ELEMENT||(A=c);return!0};d&&(m=f[a==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(m,c?CKEDITOR.POSITION_AFTER_START:
-CKEDITOR.POSITION_BEFORE_START);q&&(f.reset(),(f=f[a==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(f,c?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!d&&!q)}},insertNode:function(a){this.optimizeBookmark();this.trim(!1,!0);var c=this.startContainer,d=c.getChild(this.startOffset);d?a.insertBefore(d):c.append(a);a.getParent()&&a.getParent().equals(this.endContainer)&&this.endOffset++;this.setStartBefore(a)},moveToPosition:function(a,c){this.setStartAt(a,
-c);this.collapse(!0)},moveToRange:function(a){this.setStart(a.startContainer,a.startOffset);this.setEnd(a.endContainer,a.endOffset)},selectNodeContents:function(a){this.setStart(a,0);this.setEnd(a,a.type==CKEDITOR.NODE_TEXT?a.getLength():a.getChildCount())},setStart:function(a,c){a.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[a.getName()]&&(c=a.getIndex(),a=a.getParent());this._setStartContainer(a);this.startOffset=c;this.endContainer||(this._setEndContainer(a),this.endOffset=c);b(this)},setEnd:function(a,
-c){a.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[a.getName()]&&(c=a.getIndex()+1,a=a.getParent());this._setEndContainer(a);this.endOffset=c;this.startContainer||(this._setStartContainer(a),this.startOffset=c);b(this)},setStartAfter:function(a){this.setStart(a.getParent(),a.getIndex()+1)},setStartBefore:function(a){this.setStart(a.getParent(),a.getIndex())},setEndAfter:function(a){this.setEnd(a.getParent(),a.getIndex()+1)},setEndBefore:function(a){this.setEnd(a.getParent(),a.getIndex())},setStartAt:function(a,
-c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setStart(a,0);break;case CKEDITOR.POSITION_BEFORE_END:a.type==CKEDITOR.NODE_TEXT?this.setStart(a,a.getLength()):this.setStart(a,a.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(a);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(a)}b(this)},setEndAt:function(a,c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setEnd(a,0);break;case CKEDITOR.POSITION_BEFORE_END:a.type==CKEDITOR.NODE_TEXT?this.setEnd(a,
-a.getLength()):this.setEnd(a,a.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(a);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(a)}b(this)},fixBlock:function(a,c){var d=this.createBookmark(),b=this.document.createElement(c);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(b);b.trim();this.insertNode(b);var g=b.getBogus();g&&g.remove();b.appendBogus();this.moveToBookmark(d);return b},splitBlock:function(a,c){var d=
-new CKEDITOR.dom.elementPath(this.startContainer,this.root),b=new CKEDITOR.dom.elementPath(this.endContainer,this.root),g=d.block,f=b.block,m=null;if(!d.blockLimit.equals(b.blockLimit))return null;"br"!=a&&(g||(g=this.fixBlock(!0,a),f=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),f||(f=this.fixBlock(!1,a)));d=g&&this.checkStartOfBlock();b=f&&this.checkEndOfBlock();this.deleteContents();g&&g.equals(f)&&(b?(m=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(f,
-CKEDITOR.POSITION_AFTER_END),f=null):d?(m=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g,CKEDITOR.POSITION_BEFORE_START),g=null):(f=this.splitElement(g,c||!1),g.is("ul","ol")||g.appendBogus()));return{previousBlock:g,nextBlock:f,wasStartOfBlock:d,wasEndOfBlock:b,elementPath:m}},splitElement:function(a,c){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var d=this.extractContents(!1,c||!1),b=a.clone(!1,c||!1);d.appendTo(b);b.insertAfter(a);
-this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return b},removeEmptyBlocksAtEnd:function(){function a(e){return function(a){return c(a)||d(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.isEmptyInlineRemoveable()||e.is("table")&&a.is("caption")?!1:!0}}var c=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!1);return function(c){for(var d=this.createBookmark(),b=this[c?"endPath":"startPath"](),g=b.block||b.blockLimit,f;g&&!g.equals(b.root)&&!g.getFirst(a(g));)f=g.getParent(),this[c?"setEndAt":
-"setStartAt"](g,CKEDITOR.POSITION_AFTER_END),g.remove(1),g=f;this.moveToBookmark(d)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(c,d){var b=d==CKEDITOR.START,g=this.clone();g.collapse(b);g[b?"setStartAt":"setEndAt"](c,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);g=new CKEDITOR.dom.walker(g);g.evaluator=a(b);return g[b?
-"checkBackward":"checkForward"]()},checkStartOfBlock:function(a){var c=this.startContainer,d=this.startOffset;CKEDITOR.env.ie&&d&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.ltrim(c.substring(0,d)),k.test(c)&&this.trim(0,1));a||this.trim();a=new CKEDITOR.dom.elementPath(this.startContainer,this.root);c=this.clone();c.collapse(!0);c.setStartAt(a.block||a.blockLimit,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(c);a.evaluator=f();return a.checkBackward()},checkEndOfBlock:function(a){var c=
-this.endContainer,d=this.endOffset;CKEDITOR.env.ie&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.rtrim(c.substring(d)),k.test(c)&&this.trim(1,0));a||this.trim();a=new CKEDITOR.dom.elementPath(this.endContainer,this.root);c=this.clone();c.collapse(!1);c.setEndAt(a.block||a.blockLimit,CKEDITOR.POSITION_BEFORE_END);a=new CKEDITOR.dom.walker(c);a.evaluator=f();return a.checkForward()},getPreviousNode:function(a,c,d){var b=this.clone();b.collapse(1);b.setStartAt(d||this.root,CKEDITOR.POSITION_AFTER_START);
-d=new CKEDITOR.dom.walker(b);d.evaluator=a;d.guard=c;return d.previous()},getNextNode:function(a,c,d){var b=this.clone();b.collapse();b.setEndAt(d||this.root,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(b);d.evaluator=a;d.guard=c;return d.next()},checkReadOnly:function(){function a(c,e){for(;c;){if(c.type==CKEDITOR.NODE_ELEMENT){if("false"==c.getAttribute("contentEditable")&&!c.data("cke-editable"))return 0;if(c.is("html")||"true"==c.getAttribute("contentEditable")&&(c.contains(e)||c.equals(e)))break}c=
-c.getParent()}return 1}return function(){var c=this.startContainer,d=this.endContainer;return!(a(c,d)&&a(d,c))}}(),moveToElementEditablePosition:function(a,c){if(a.type==CKEDITOR.NODE_ELEMENT&&!a.isEditable(!1))return this.moveToPosition(a,c?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),!0;for(var b=0;a;){if(a.type==CKEDITOR.NODE_TEXT){c&&this.endContainer&&this.checkEndOfBlock()&&k.test(a.getText())?this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(a,c?CKEDITOR.POSITION_AFTER_END:
-CKEDITOR.POSITION_BEFORE_START);b=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,c?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),b=1;else if(c&&a.is("br")&&this.endContainer&&this.checkEndOfBlock())this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);else if("false"==a.getAttribute("contenteditable")&&a.is(CKEDITOR.dtd.$block))return this.setStartBefore(a),this.setEndAfter(a),!0;var g=a,f=b,m=void 0;g.type==CKEDITOR.NODE_ELEMENT&&g.isEditable(!1)&&
-(m=g[c?"getLast":"getFirst"](d));f||m||(m=g[c?"getPrevious":"getNext"](d));a=m}return!!b},moveToClosestEditablePosition:function(a,c){var d,b=0,g,f,m=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(d=new CKEDITOR.dom.range(this.root),d.moveToPosition(a,m[c?0:1])):d=this.clone();if(a&&!a.is(CKEDITOR.dtd.$block))b=1;else if(g=d[c?"getNextEditableNode":"getPreviousEditableNode"]())b=1,(f=g.type==CKEDITOR.NODE_ELEMENT)&&g.is(CKEDITOR.dtd.$block)&&"false"==g.getAttribute("contenteditable")?
-(d.setStartAt(g,CKEDITOR.POSITION_BEFORE_START),d.setEndAt(g,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&f&&g.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(d.setEnd(g,0),d.collapse()):d.moveToPosition(g,m[c?1:0]);b&&this.moveToRange(d);return!!b},moveToElementEditStart:function(a){return this.moveToElementEditablePosition(a)},moveToElementEditEnd:function(a){return this.moveToElementEditablePosition(a,!0)},getEnclosedNode:function(){var a=this.clone();a.optimize();if(a.startContainer.type!=
-CKEDITOR.NODE_ELEMENT||a.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var a=new CKEDITOR.dom.walker(a),c=CKEDITOR.dom.walker.bookmark(!1,!0),d=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return d(a)&&c(a)};var b=a.next();a.reset();return b&&b.equals(a.previous())?b:null},getTouchedStartNode:function(){var a=this.startContainer;return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.startOffset)||a},getTouchedEndNode:function(){var a=this.endContainer;return this.collapsed||
-a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.endOffset-1)||a},getNextEditableNode:g(),getPreviousEditableNode:g(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var c=this.getTouchedStartNode(),d=this.getTouchedEndNode(),b=c.getAscendant("table",!0),d=d.getAscendant("table",!0);return b&&!this.root.contains(b)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):b&&d&&(b.equals(d)||b.contains(d)||d.contains(b))?c.getAscendant(a,!0):null},scrollIntoView:function(){var a=
-new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),c,d,b,g=this.clone();g.optimize();(b=g.startContainer.type==CKEDITOR.NODE_TEXT)?(d=g.startContainer.getText(),c=g.startContainer.split(g.startOffset),a.insertAfter(g.startContainer)):g.insertNode(a);a.scrollIntoView();b&&(g.startContainer.setText(d),c.remove());a.remove()},getClientRects:function(){function a(c,d){var e=CKEDITOR.tools.array.map(c,function(a){return a}),b=new CKEDITOR.dom.range(d.root),g,f,
-m;d.startContainer instanceof CKEDITOR.dom.element&&(f=0===d.startOffset&&d.startContainer.hasAttribute("data-widget"));d.endContainer instanceof CKEDITOR.dom.element&&(m=(m=d.endOffset===(d.endContainer.getChildCount?d.endContainer.getChildCount():d.endContainer.length))&&d.endContainer.hasAttribute("data-widget"));f&&b.setStart(d.startContainer.getParent(),d.startContainer.getIndex());m&&b.setEnd(d.endContainer.getParent(),d.endContainer.getIndex()+1);if(f||m)d=b;b=d.cloneContents().find("[data-cke-widget-id]").toArray();
-if(b=CKEDITOR.tools.array.map(b,function(a){var c=d.root.editor;a=a.getAttribute("data-cke-widget-id");return c.widgets.instances[a].element}))return b=CKEDITOR.tools.array.map(b,function(a){var c;c=a.getParent().hasClass("cke_widget_wrapper")?a.getParent():a;g=this.root.getDocument().$.createRange();g.setStart(c.getParent().$,c.getIndex());g.setEnd(c.getParent().$,c.getIndex()+1);c=g.getClientRects();c.widgetRect=a.getClientRect();return c},d),CKEDITOR.tools.array.forEach(b,function(a){function c(b){CKEDITOR.tools.array.forEach(e,
-function(c,g){var f=CKEDITOR.tools.objectCompare(a[b],c);f||(f=CKEDITOR.tools.objectCompare(a.widgetRect,c));f&&(Array.prototype.splice.call(e,g,a.length-b,a.widgetRect),d=!0)});d||(barguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function h(a){var c=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return c.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return c}function f(a,c,b,g){a:{null==
-g&&(g=h(b));for(var m;m=g.shift();)if(m.getDtd().p){g={element:m,remaining:g};break a}g=null}if(!g)return 0;if((m=CKEDITOR.filter.instances[g.element.data("cke-filter")])&&!m.check(c))return f(a,c,b,g.remaining);c=new CKEDITOR.dom.range(g.element);c.selectNodeContents(g.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=m;a._.nestedEditable={element:g.element,container:b,remaining:g.remaining,iterator:c};return 1}function a(a,c,b){if(!c)return!1;
-a=a.clone();a.collapse(!b);return a.checkBoundaryOfElement(c,b?CKEDITOR.START:CKEDITOR.END)}var g=/^[\r\n\t ]+$/,m=CKEDITOR.dom.walker.bookmark(!1,!0),l=CKEDITOR.dom.walker.whitespaces(!0),k=function(a){return m(a)&&l(a)},c={dd:1,dt:1,li:1};b.prototype={getNextParagraph:function(d){var e,b,l,h,r;d=d||"p";if(this._.nestedEditable){if(e=this._.nestedEditable.iterator.getNextParagraph(d))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,e;this.activeFilter=this.filter;if(f(this,d,
-this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(d);this._.nestedEditable=null}if(!this.range.root.getDtd()[d])return null;if(!this._.started){var t=this.range.clone();b=t.startPath();var v=t.endPath(),z=!t.collapsed&&a(t,b.block),p=!t.collapsed&&a(t,v.block,1);t.shrink(CKEDITOR.SHRINK_ELEMENT,!0);z&&t.setStartAt(b.block,CKEDITOR.POSITION_BEFORE_END);p&&t.setEndAt(v.block,
-CKEDITOR.POSITION_AFTER_START);b=t.endContainer.hasAscendant("pre",!0)||t.startContainer.hasAscendant("pre",!0);t.enlarge(this.forceBrBreak&&!b||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);t.collapsed||(b=new CKEDITOR.dom.walker(t.clone()),v=CKEDITOR.dom.walker.bookmark(!0,!0),b.evaluator=v,this._.nextNode=b.next(),b=new CKEDITOR.dom.walker(t.clone()),b.evaluator=v,b=b.previous(),this._.lastNode=b.getNextSourceNode(!0,null,t.root),this._.lastNode&&this._.lastNode.type==
-CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(v=this.range.clone(),v.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),v.checkEndOfBlock()&&(v=new CKEDITOR.dom.elementPath(v.endContainer,v.root),this._.lastNode=(v.block||v.blockLimit).getNextSourceNode(!0))),this._.lastNode&&t.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=t.document.createText(""),this._.lastNode.insertAfter(b)),t=null);this._.started=
-1;b=t}v=this._.nextNode;t=this._.lastNode;for(this._.nextNode=null;v;){var z=0,p=v.hasAscendant("pre"),y=v.type!=CKEDITOR.NODE_ELEMENT,q=0;if(y)v.type==CKEDITOR.NODE_TEXT&&g.test(v.getText())&&(y=0);else{var u=v.getName();if(CKEDITOR.dtd.$block[u]&&"false"==v.getAttribute("contenteditable")){e=v;f(this,d,e);break}else if(v.isBlockBoundary(this.forceBrBreak&&!p&&{br:1})){if("br"==u)y=1;else if(!b&&!v.getChildCount()&&"hr"!=u){e=v;l=v.equals(t);break}b&&(b.setEndAt(v,CKEDITOR.POSITION_BEFORE_START),
-"br"!=u&&(this._.nextNode=v));z=1}else{if(v.getFirst()){b||(b=this.range.clone(),b.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));v=v.getFirst();continue}y=1}}y&&!b&&(b=this.range.clone(),b.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));l=(!z||y)&&v.equals(t);if(b&&!z)for(;!v.getNext(k)&&!l;){u=v.getParent();if(u.isBlockBoundary(this.forceBrBreak&&!p&&{br:1})){z=1;y=0;l||u.equals(t);b.setEndAt(u,CKEDITOR.POSITION_BEFORE_END);break}v=u;y=1;l=v.equals(t);q=1}y&&b.setEndAt(v,CKEDITOR.POSITION_AFTER_END);
-v=this._getNextSourceNode(v,q,t);if((l=!v)||z&&b)break}if(!e){if(!b)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;e=new CKEDITOR.dom.elementPath(b.startContainer,b.root);v=e.blockLimit;z={div:1,th:1,td:1};e=e.block;!e&&v&&!this.enforceRealBlocks&&z[v.getName()]&&b.checkStartOfBlock()&&b.checkEndOfBlock()&&!v.equals(b.root)?e=v:!e||this.enforceRealBlocks&&e.is(c)?(e=this.range.document.createElement(d),b.extractContents().appendTo(e),e.trim(),b.insertNode(e),h=r=!0):
-"li"!=e.getName()?b.checkStartOfBlock()&&b.checkEndOfBlock()||(e=e.clone(!1),b.extractContents().appendTo(e),e.trim(),r=b.splitBlock(),h=!r.wasStartOfBlock,r=!r.wasEndOfBlock,b.insertNode(e)):l||(this._.nextNode=e.equals(t)?null:this._getNextSourceNode(b.getBoundaryNodes().endNode,1,t))}h&&(h=e.getPrevious())&&h.type==CKEDITOR.NODE_ELEMENT&&("br"==h.getName()?h.remove():h.getLast()&&"br"==h.getLast().$.nodeName.toLowerCase()&&h.getLast().remove());r&&(h=e.getLast())&&h.type==CKEDITOR.NODE_ELEMENT&&
-"br"==h.getName()&&(!CKEDITOR.env.needsBrFiller||h.getPrevious(m)||h.getNext(m))&&h.remove();this._.nextNode||(this._.nextNode=l||e.equals(t)||!t?null:this._getNextSourceNode(e,1,t));return e},_getNextSourceNode:function(a,c,b){function g(a){return!(a.equals(b)||a.equals(f))}var f=this.range.root;for(a=a.getNextSourceNode(c,null,g);!m(a);)a=a.getNextSourceNode(c,null,g);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new b(this)}}(),CKEDITOR.command=function(b,h){this.uiItems=
-[];this.exec=function(a){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&&b.focus();return!1===this.fire("exec")?!0:!1!==h.exec.call(this,b,a)};this.refresh=function(a,b){if(!this.readOnly&&a.readOnly)return!0;if(this.context&&!b.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[a.mode]&&this.disable();return!1===this.fire("refresh",{editor:a,path:b})?!0:h.refresh&&!1!==h.refresh.apply(this,
-arguments)};var f;this.checkAllowed=function(a){return a||"boolean"!=typeof f?f=b.activeFilter.checkFeature(this):f};CKEDITOR.tools.extend(this,h,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!h.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)},CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&&this.checkAllowed()&&this.setState(this.preserveState&&"undefined"!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)},
-setState:function(b){if(this.state==b||b!=CKEDITOR.TRISTATE_DISABLED&&!this.checkAllowed())return!1;this.previousState=this.state;this.state=b;this.fire("state");return!0},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&&this.setState(CKEDITOR.TRISTATE_OFF)}},CKEDITOR.event.implementOn(CKEDITOR.command.prototype),CKEDITOR.ENTER_P=1,CKEDITOR.ENTER_BR=2,CKEDITOR.ENTER_DIV=3,CKEDITOR.config={customConfig:"config.js",autoUpdateElement:!0,
-language:"",defaultLanguage:"en",contentsLangDirection:"",enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:"\x3c!DOCTYPE html\x3e",bodyId:"",bodyClass:"",fullPage:!1,height:200,contentsCss:CKEDITOR.getUrl("contents.css"),extraPlugins:"",removePlugins:"",protectedSource:[],tabIndex:0,width:"",baseFloatZIndex:1E4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]},function(){function b(a,c,d,e,b){var g,f;a=[];for(g in c){f=c[g];f="boolean"==typeof f?
-{}:"function"==typeof f?{match:f}:G(f);"$"!=g.charAt(0)&&(f.elements=g);d&&(f.featureName=d.toLowerCase());var m=f;m.elements=l(m.elements,/\s+/)||null;m.propertiesOnly=m.propertiesOnly||!0===m.elements;var k=/\s*,\s*/,h=void 0;for(h in O){m[h]=l(m[h],k)||null;var u=m,v=I[h],n=l(m[I[h]],k),H=m[h],p=[],w=!0,K=void 0;n?w=!1:n={};for(K in H)"!"==K.charAt(0)&&(K=K.slice(1),p.push(K),n[K]=!0,w=!1);for(;K=p.pop();)H[K]=H["!"+K],delete H["!"+K];u[v]=(w?!1:n)||null}m.match=m.match||null;e.push(f);a.push(f)}c=
-b.elements;b=b.generic;var B;d=0;for(e=a.length;d=--c&&(m&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"),n(b))},x=function(a,c){b[a]=1;var d=h[a];delete h[a];for(var e=0;e=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?e.$.onreadystatechange=function(){if("loaded"==e.$.readyState||"complete"==
-e.$.readyState)e.$.onreadystatechange=null,x(c,!0)}:(e.$.onload=function(){setTimeout(function(){e.$.onload=null;e.$.onerror=null;x(c,!0)},0)},e.$.onerror=function(){e.$.onload=null;e.$.onerror=null;x(c,!1)}));e.appendTo(CKEDITOR.document.getHead())}}};m&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var t=0;t]+)>)|(?:!--([\S|\s]*?)--!?>)|(?:([^\/\s>]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:"[^"]*")|(?:'[^']*')|[^\s"'\/>]+))?)*)[\S\s]*?(\/?)>))/g}},
-function(){var b=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,h={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(f){for(var a,g,m=0,l;a=this._.htmlPartsRegex.exec(f);){g=a.index;if(g>m)if(m=f.substring(m,g),l)l.push(m);else this.onText(m);
-m=this._.htmlPartsRegex.lastIndex;if(g=a[1])if(g=g.toLowerCase(),l&&CKEDITOR.dtd.$cdata[g]&&(this.onCDATA(l.join("")),l=null),!l){this.onTagClose(g);continue}if(l)l.push(a[0]);else if(g=a[3]){if(g=g.toLowerCase(),!/="/.test(g)){var k={},c,d=a[4];a=!!a[5];if(d)for(;c=b.exec(d);){var e=c[1].toLowerCase();c=c[2]||c[3]||c[4]||"";k[e]=!c&&h[e]?e:CKEDITOR.tools.htmlDecodeAttr(c)}this.onTagOpen(g,k,a);!l&&CKEDITOR.dtd.$cdata[g]&&(l=[])}}else if(g=a[2])this.onComment(g)}if(f.length>m)this.onText(f.substring(m,
-f.length))}}}(),CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(b){this._.output.push("\x3c",b)},openTagClose:function(b,h){h?this._.output.push(" /\x3e"):this._.output.push("\x3e")},attribute:function(b,h){"string"==typeof h&&(h=CKEDITOR.tools.htmlEncodeAttr(h));this._.output.push(" ",b,'\x3d"',h,'"')},closeTag:function(b){this._.output.push("\x3c/",b,"\x3e")},text:function(b){this._.output.push(b)},comment:function(b){this._.output.push("\x3c!--",
-b,"--\x3e")},write:function(b){this._.output.push(b)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(b){var h=this._.output.join("");b&&this.reset();return h}}}),"use strict",function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var b=this.parent.children,h=CKEDITOR.tools.indexOf(b,this),f=this.previous,a=this.next;f&&(f.next=a);a&&(a.previous=f);b.splice(h,1);this.parent=null},replaceWith:function(b){var h=this.parent.children,
-f=CKEDITOR.tools.indexOf(h,this),a=b.previous=this.previous,g=b.next=this.next;a&&(a.next=b);g&&(g.previous=b);h[f]=b;b.parent=this.parent;this.parent=null},insertAfter:function(b){var h=b.parent.children,f=CKEDITOR.tools.indexOf(h,b),a=b.next;h.splice(f+1,0,this);this.next=b.next;this.previous=b;b.next=this;a&&(a.previous=this);this.parent=b.parent},insertBefore:function(b){var h=b.parent.children,f=CKEDITOR.tools.indexOf(h,b);h.splice(f,0,this);this.next=b;(this.previous=b.previous)&&(b.previous.next=
-this);b.previous=this;this.parent=b.parent},getAscendant:function(b){var h="function"==typeof b?b:"string"==typeof b?function(a){return a.name==b}:function(a){return a.name in b},f=this.parent;for(;f&&f.type==CKEDITOR.NODE_ELEMENT;){if(h(f))return f;f=f.parent}return null},wrapWith:function(b){this.replaceWith(b);b.add(this);return b},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(b){return b||{}}}}(),"use strict",CKEDITOR.htmlParser.comment=
-function(b){this.value=b;this._={isBlockLike:!1}},CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(b,h){var f=this.value;if(!(f=b.onComment(h,f,this)))return this.remove(),!1;if("string"!=typeof f)return this.replaceWith(f),!1;this.value=f;return!0},writeHtml:function(b,h){h&&this.filter(h);b.comment(this.value)}}),"use strict",function(){CKEDITOR.htmlParser.text=function(b){this.value=b;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=
-CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(b,h){if(!(this.value=b.onText(h,this.value,this)))return this.remove(),!1},writeHtml:function(b,h){h&&this.filter(h);b.text(this.value)}})}(),"use strict",function(){CKEDITOR.htmlParser.cdata=function(b){this.value=b};CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(){},writeHtml:function(b){b.write(this.value)}})}(),"use strict",
-CKEDITOR.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:!0,hasInlineStarted:!1}},function(){function b(a){return a.attributes["data-cke-survive"]?!1:"a"==a.name&&a.attributes.href||CKEDITOR.dtd.$removeEmpty[a.name]}var h=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),f={ol:1,ul:1},a=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),g={ul:"li",
-ol:"li",dl:"dd",table:"tbody",tbody:"tr",thead:"tr",tfoot:"tr",tr:"td"};CKEDITOR.htmlParser.fragment.fromHtml=function(m,l,k){function c(a){var c;if(0l;l++)if(m=g[l]){m=
-m.exec(b,a,this);if(!1===m)return null;if(m&&m!=a)return this.onNode(b,m);if(a.parent&&!a.name)break}return a},onNode:function(b,a){var g=a.type;return g==CKEDITOR.NODE_ELEMENT?this.onElement(b,a):g==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(b,a.value,a)):g==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(b,a.value,a)):null},onAttribute:function(b,a,g,m){return(g=this.attributesRules[g])?g.exec(b,m,a,this):m}}});CKEDITOR.htmlParser.filterRulesGroup=b;b.prototype=
-{add:function(b,a,g){this.rules.splice(this.findIndex(a),0,{value:b,priority:a,options:g})},addMany:function(b,a,g){for(var m=[this.findIndex(a),0],l=0,k=b.length;l /g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function n(a){return a.replace(I,function(a,c){return decodeURIComponent(c)})}function w(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,
-function(a){return"\x3c!--"+p+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\x3e"})}function x(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)})}function r(a,c){var d=c._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)}).replace(/\{cke_protected_(\d+)\}/g,function(a,c){return d&&d[c]||""})}function t(a,c){var d=[],e=c.config.protectedSource,b=c._.dataStore||(c._.dataStore=
-{id:1}),g=/<\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,e=[/
@@ -334,7 +334,7 @@ Sample configurations
CKEDITOR.replace( 'editor4', {
- removePlugins: 'bidi,font,forms,flash,horizontalrule,iframe,justify,table,tabletools,smiley',
+ removePlugins: 'bidi,font,forms,horizontalrule,iframe,justify,table,tabletools,smiley',
removeButtons: 'Anchor,Underline,Strike,Subscript,Superscript,Image',
format_tags: 'p;h1;h2;h3;pre;address'
} );
@@ -356,7 +356,7 @@ Sample configurations
-
-
-
-
-
-
-
-
-
-
-
-
- CKEditor Samples » Producing Flash Compliant HTML Output
-
-
-
-
- This sample shows how to configure CKEditor to output
- HTML code that can be used with
-
- Adobe Flash .
- The code will contain a subset of standard HTML elements like <b>
,
- <i>
, and <p>
as well as HTML attributes.
-
-
- To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard
- JavaScript call, and define CKEditor features to use HTML elements and attributes.
-
-
- For details on how to create this setup check the source code of this sample page.
-
-
-
- To see how it works, create some content in the editing area of CKEditor on the left
- and send it to the Flash object on the right side of the page by using the
- Send to Flash button.
-
-
-
-
-